/* ==========================================================================
   Thank You Page
   Used by templates/template-thank-you.php — generic post-form-submission
   landing screen. Layout follows the rest of the theme (Lexend headlines,
   Lexend body, orange accent, blue CTA pill) so this page doesn't feel
   like a system page.
   ========================================================================== */

.qw-thanks {
    /* Stretch to fill the gap between the sticky header and the footer
       so the message lands centred regardless of viewport height. */
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 80px;
    background: var(--light-bg-qwp, #fdfbf9);
}

.qw-thanks__inner {
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Kicker — small orange-dot label above the headline */
.qw-thanks__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #fef0e6;
    color: var(--orange-main, #b04e04);
    font-family: "Lexend", "Lexend Fallback", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.qw-thanks__kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--orange-main, #b04e04);
    flex-shrink: 0;
}

/* Headline — Lexend matches every other hero / section title in the theme */
.qw-thanks__title {
    font-family: "Lexend", "Lexend Fallback", sans-serif;
    font-weight: 700;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--dark-qwp, #181d27);
    margin: 0 0 20px;
}

.qw-thanks__title-accent {
    color: var(--orange-main, #b04e04);
}

.qw-thanks__subtitle {
    font-family: "Lexend", "Lexend Fallback", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted-qwp, #414651);
    max-width: 640px;
    margin: 0 auto 28px;
}

.qw-thanks__meta {
    font-family: "Lexend", "Lexend Fallback", sans-serif;
    font-size: 14px;
    color: var(--muted-qwp, #414651);
    opacity: 0.75;
    margin: 0 0 36px;
    letter-spacing: 0.02em;
}

.qw-thanks__meta strong {
    color: var(--dark-qwp, #181d27);
    font-weight: 600;
}

/* CTA — reuses .main-btn .qw-hero-btn so the look matches every other
   primary action on the site (orange-on-blue pill, hover-grow + arrow
   rotation). The wrapper centres it without breaking that base style. */
.qw-thanks__actions {
    display: flex;
    justify-content: center;
}

.qw-thanks__btn {
    /* No overrides needed — .main-btn / .qw-hero-btn / .cta-text / .cta-icon
       already provide the full pill+arrow treatment. This selector is a
       hook in case the design wants to fine-tune just the 404 CTA later. */
}

/* ── Tablet ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .qw-thanks {
        min-height: 60vh;
        padding-top: 56px;
        padding-bottom: 56px;
    }
    .qw-thanks__subtitle {
        font-size: 16px;
    }
}

/* ── Mobile ───────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .qw-thanks__kicker {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 20px;
    }
    .qw-thanks__title {
        font-size: 36px;
    }
    .qw-thanks__subtitle {
        font-size: 15px;
    }
    .qw-thanks__btn .cta-text {
        padding: 14px 22px;
        font-size: 15px;
    }
    .qw-thanks__btn .cta-icon {
        width: 48px;
        height: 48px;
    }
}
