/* CIRCL consultation funnel: the components introduced with the
   "CIRCL Consultation Funnel" mockup (welcome split, /eligible, /program,
   booking checklist, payment checks, the "you're in" confirmation).
   Everything is prefixed cf- so it can't collide with questionnaire.css. */

.cf-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 8px 20px 64px;
}

.cf-narrow {
    max-width: 600px;
    margin: 0 auto;
}

.cf-h1 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
    text-wrap: balance;
}

.cf-h2 {
    font-size: clamp(24px, 3.4vw, 32px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0;
}

.cf-sub {
    color: var(--circl-ink-muted, #4c5c64);
    font-size: 16px;
    line-height: 1.55;
    margin: 14px 0 0;
    text-wrap: pretty;
}

/* ---- Promo code strip (top of every funnel page) ---------------------- */
.promo-banner {
    background: var(--circl-light-blue, #e4f0f6);
    color: var(--circl-black, #081417);
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    padding: 11px 16px;
}
.promo-banner strong { font-weight: 700; }

.cf-caps {
    display: block;
    text-transform: uppercase;
    letter-spacing: var(--circl-tracking-caps, 0.1em);
    font-size: 11px;
    font-weight: 600;
    color: var(--circl-ink-muted, #4c5c64);
    margin-bottom: 12px;
}

.cf-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 14px 26px;
    border: none;
    border-radius: 999px;
    background: var(--circl-lemon, #fffcab);
    color: var(--circl-black, #081417) !important;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .16s;
}
.cf-cta:hover { background: var(--circl-lemon-hover, #f7f39a); }
.cf-cta--dark {
    background: var(--circl-black, #081417);
    color: #fff !important;
}
.cf-cta--dark:hover { background: var(--circl-black-hover, #22323a); }
.cf-cta--ghost {
    background: transparent;
    border: 1.5px solid var(--circl-line, rgba(8, 20, 23, .14));
}
.cf-cta--ghost:hover { background: rgba(8, 20, 23, .04); }

.cf-cta-note {
    text-align: center;
    font-size: 13.5px;
    color: var(--circl-ink-muted, #4c5c64);
    margin-top: 12px;
}

/* Round tick used in every checklist. */
.cf-tick {
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--circl-light-blue, #e4f0f6);
    display: grid;
    place-items: center;
}
.cf-tick::after {
    content: '';
    width: 8px;
    height: 4.5px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-top: -2px;
}
.cf-tick--lemon { background: var(--circl-lemon, #fffcab); }

.cf-checks {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 12px;
}
.cf-checks li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.45;
}
.cf-checks--ruled { gap: 0; }
.cf-checks--ruled li {
    padding: 13px 0;
    border-top: 1px solid var(--circl-line, rgba(8, 20, 23, .08));
}
.cf-checks--ruled li:last-child { border-bottom: 1px solid var(--circl-line, rgba(8, 20, 23, .08)); }
.cf-checks--bold li { font-weight: 600; }

/* ---- Welcome (/1) ---------------------------------------------------- */
.cf-welcome {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
    padding-top: 24px;
}
.cf-welcome-copy { max-width: 470px; }
.cf-welcome-copy .cf-sub { margin-bottom: 28px; }
.cf-welcome-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.2 / 1;
    object-fit: cover;
    border-radius: 24px;
    background: var(--circl-light-blue, #e4f0f6);
}
.cf-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.cf-trust-sep {
    width: 1px;
    height: 18px;
    background: var(--circl-line, rgba(8, 20, 23, .14));
}
@media (max-width: 767.98px) {
    .cf-welcome {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 0;
        max-width: 560px;
    }
    /* Mobile leads with the trust row, then the image, then the pitch. */
    .cf-welcome-copy { display: contents; }
    .cf-trust { order: -2; margin-bottom: 0; }
    .cf-welcome-media { order: -1; }
    .cf-welcome-img { aspect-ratio: 1.45 / 1; }
    .cf-welcome .cf-h1 { font-size: 28px; line-height: 1.12; }
    .cf-welcome .cf-sub { margin: -8px 0 4px; }
}

/* ---- Health questions (/2) answered counter -------------------------- */
.cf-qcount {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--circl-light-blue, #e4f0f6);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 13.5px;
    margin: 4px 0 20px;
    width: max-content;
}
.cf-qcount::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--circl-black, #081417);
}

/* ---- /eligible ------------------------------------------------------- */
.cf-approved {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--circl-black, #081417);
    color: #fff;
    border-radius: 20px;
    padding: 20px 22px;
}
.cf-approved .cf-tick {
    width: 36px;
    height: 36px;
    color: var(--circl-black, #081417);
    background: var(--circl-lemon, #fffcab);
}
.cf-approved-title {
    display: block;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.cf-approved-sub {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, .72);
    margin-top: 2px;
}
/* Flat light-blue panel with white icon tiles, per the CIRCL mobile
   prototype: no shadow, the tint alone separates it from the white page. */
.cf-benefits {
    background: var(--circl-light-blue, #e4f0f6);
    border-radius: 20px;
    padding: 6px 20px;
    margin: 16px 0 24px;
}
.cf-benefit {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
}
.cf-benefit + .cf-benefit { border-top: 1px solid rgba(8, 20, 23, .1); }
.cf-benefit-icon {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #fff;
    display: grid;
    place-items: center;
}
.cf-benefit-title {
    display: block;
    font-weight: 600;
    font-size: 16px;
}
.cf-benefit-desc {
    display: block;
    font-size: 14px;
    color: var(--circl-ink-muted, #4c5c64);
    margin-top: 2px;
    line-height: 1.45;
}

/* ---- /program -------------------------------------------------------- */
.cf-program {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
    padding-top: 16px;
}
.cf-program .cf-checks { margin: 24px 0 28px; }
.cf-team {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
/* Each practitioner is a card. The photos are studio shots on a near-white
   ground, and the page itself is a pale wash, so a bare photo had no edge:
   the white face, hairline and soft shadow (the funnel's card treatment)
   give it one, and the tinted photo tile reads as a photo inside it. */
.cf-doc {
    background: #fff;
    border: 1.5px solid var(--circl-line, rgba(8, 20, 23, .14));
    border-radius: 20px;
    padding: 10px 12px 14px;
    box-shadow: var(--circl-shadow-card, 0 8px 24px rgba(8, 20, 23, .05));
}
.cf-doc img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    object-position: top;
    border-radius: 14px;
    background: var(--circl-light-blue, #e4f0f6);
}
.cf-doc-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-top: 12px;
}
.cf-doc-role {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--circl-burgundy, #371815);
    margin-top: 2px;
}
.cf-doc-reg {
    display: block;
    font-size: 12px;
    color: var(--circl-ink-subtle, #6e7d85);
    margin-top: 2px;
}
@media (max-width: 767.98px) {
    /* The progress row sits on the page itself (no band), so the content
       needs only a modest gap under it. The welcome page has no bar. */
    .cf-page:not(.cf-welcome) { padding-top: 12px; }
    .cf-program {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 0;
        max-width: 560px;
    }
    /* Mobile: list, team, then the CTA last. */
    .cf-program-copy { display: contents; }
    .cf-program-sub, .cf-program .cf-caps { display: none; }
    .cf-program .cf-checks { margin: 0; }
    .cf-program-team { order: 1; }
    .cf-program-cta { order: 2; }
    .cf-program .cf-h1 { font-size: 28px; line-height: 1.12; }
    .cf-doc img { aspect-ratio: 1 / 0.8; }
    .cf-doc-reg { display: none; }
}

/* ---- Booking (/4) checklist ------------------------------------------ */
.booking-info .cf-checks { margin: 18px 0 24px; }
.booking-info .cf-checks li { font-size: 14.5px; color: var(--circl-black, #081417); }

/* ---- Payment -------------------------------------------------------- */
.pay-head .cf-checks { margin-top: 16px; }
.pay-head .cf-checks li { font-size: 14.5px; }
.cf-guarantee {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--circl-grey, #f1f2f0);
    border-radius: 14px;
    padding: 16px;
    margin: 18px 0;
}
.cf-guarantee .cf-tick {
    background: var(--circl-black, #081417);
    color: #fff;
}
.cf-guarantee strong { display: block; font-size: 15px; }
.cf-guarantee p { margin: 4px 0 0; font-size: 13.5px; color: var(--circl-ink-muted, #4c5c64); line-height: 1.5; }

/* ---- "You're in" (/5) ------------------------------------------------ */
.cf-in-hero {
    background: var(--circl-lemon, #fffcab);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
}
.cf-in-mark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--circl-black, #081417);
    color: var(--circl-lemon, #fffcab);
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
}
.cf-in-mark::after {
    content: '';
    width: 18px;
    height: 9px;
    border-left: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(-45deg);
    margin-top: -4px;
}
.cf-in-hero .cf-sub { margin-top: 8px; }
.cf-summary {
    background: #fff;
    border: 1px solid var(--circl-line, rgba(8, 20, 23, .08));
    border-radius: 16px;
    padding: 4px 18px;
    margin: 12px 0 16px;
}
.cf-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    font-size: 14px;
}
.cf-summary-row + .cf-summary-row { border-top: 1px solid var(--circl-line, rgba(8, 20, 23, .08)); }
.cf-summary-row span:first-child { color: var(--circl-ink-subtle, #6e7d85); }
.cf-summary-row span:last-child { font-weight: 600; text-align: right; }
.cf-summary-note { display: block; font-size: 12px; font-weight: 400; color: var(--circl-ink-subtle, #6e7d85); margin-top: 2px; }
.cf-in-note {
    font-size: 14px;
    color: var(--circl-ink-muted, #4c5c64);
    line-height: 1.5;
    margin: 0 0 18px;
}
/* Same outline as the summary card above it: a hairline, no shadow. */
.cf-in-final {
    background: #fff;
    border: 1px solid var(--circl-line, rgba(8, 20, 23, .08));
    border-radius: 16px;
    padding: 20px 18px;
    margin-bottom: 12px;
}
.cf-in-final h2 { font-size: 19px; font-weight: 600; margin: 0 0 6px; }
.cf-in-final p { font-size: 14px; color: var(--circl-ink-muted, #4c5c64); margin: 0 0 16px; line-height: 1.5; }
.cf-stack { display: grid; gap: 10px; }
.cf-policy {
    font-size: 12.5px;
    color: var(--circl-ink-subtle, #6e7d85);
    text-align: center;
    margin-top: 18px;
    line-height: 1.5;
}
