/* Funnel pages (ACIS) — private opt-in / VSL / walkthrough flow */

.funnel-hero {
    background: #FFFFFF;
    padding: 60px 20px 80px;
    min-height: 60vh;
}

.funnel-container {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.funnel-title {
    color: #1E3A5F;
    font-size: 2.4rem;
    line-height: 1.2;
    margin: 0 auto 16px;
    max-width: 620px;
    text-wrap: balance; /* even 2-line wraps, no orphan words */
}

.funnel-subtitle {
    color: #43576b;
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0 auto 36px;
    max-width: 680px;
    text-wrap: balance; /* even wraps, no orphan words */
}

/* Responsive 16:9 video wrapper — forces any embed (incl. YouTube unlisted) to scale */
.funnel-video {
    margin: 0 auto 36px;
    max-width: 760px;
}

.funnel-video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(30, 58, 95, 0.18);
}

.funnel-video-frame iframe,
.funnel-video-frame video,
.funnel-video-frame embed,
.funnel-video-frame object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.funnel-video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-bottom: 56.25%;
    position: relative;
    background: #DFE2E6;
    border: 2px dashed #9aa7b4;
    border-radius: 10px;
    color: #5a6b7b;
}

.funnel-video-placeholder span {
    position: absolute;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Opt-in form slot */
.funnel-form {
    margin: 0 auto 36px;
    max-width: 420px;
}

.funnel-form-placeholder {
    padding: 40px 20px;
    background: #DFE2E6;
    border: 2px dashed #9aa7b4;
    border-radius: 10px;
    color: #5a6b7b;
    font-weight: 600;
}

/* On-screen guide access (thank-you page) — secondary/outline button */
.funnel-guide-access {
    margin: 0 auto 30px;
}
.funnel-guide-note {
    color: #43576b;
    font-size: 1rem;
    margin-bottom: 12px;
}
.funnel-guide-button {
    color: #1E3A5F;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: underline;
}
.funnel-guide-button:hover {
    color: #14283f;
}

/* CTA button — large, high-contrast, impossible to miss */
.funnel-cta-button {
    display: inline-block;
    background: #00A651;
    color: #FFFFFF;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    padding: 20px 48px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 166, 81, 0.35);
    transition: transform 0.15s ease, background 0.15s ease;
}

.funnel-cta-button:hover {
    background: #008f45;
    transform: translateY(-2px);
}

.funnel-body {
    margin-top: 36px;
    color: #43576b;
    /* Body reads like a personal note: left-aligned text in a centered 600px block. The headline +
       subtext above it stay centered (they're outside .funnel-body). Booked page is the only user. */
    text-align: left;
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
/* Every paragraph fills the SAME 600px block. text-wrap:pretty prevents a lone orphan word on
   the last line WITHOUT narrowing the paragraph the way balance did (degrades to normal wrap
   on older browsers). */
.funnel-body p { margin: 0 0 1.4em; text-wrap: pretty; }
.funnel-body p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
    .funnel-title { font-size: 1.8rem; }
    .funnel-subtitle { font-size: 1.05rem; }
    .funnel-cta-button { font-size: 1.2rem; padding: 18px 32px; width: 100%; box-sizing: border-box; }
}
