/* Jacuzzi Bath Remodel — Stylesheet
   Colors, type, and pairings per JBR Brand Expressions (Edition 1.25):
   - Palette: Luxe Navy, Serene Blue, Fresh Turquoise, Oasis Teal, Classic Gold, Cascade White, Tranquil Onyx
   - Type: Post Grotesk (Roboto = approved web-safe substitute); hero headlines uppercase, tracking -20;
     titles/eyebrows tracking +150; body sentence case
   - Text/background combos follow the "Font System in Color" pairing charts + ADA page */

:root {
    --navy: #122B3E;        /* Luxe Navy */
    --serene: #5B95B0;      /* Serene Blue */
    --turquoise: #AFE0E0;   /* Fresh Turquoise */
    --oasis: #65AB9C;       /* Oasis Teal */
    --gold: #C09832;        /* Classic Gold */
    --cascade: #F4F3EF;     /* Cascade White */
    --onyx: #141414;        /* Tranquil Onyx */

    --ink-soft: rgba(20, 20, 20, 0.72);   /* Tranquil Onyx tint for secondary copy */
    --muted: rgba(20, 20, 20, 0.55);
    --line: rgba(18, 43, 62, 0.14);       /* Luxe Navy tint for hairlines/borders */
    --surface: #ffffff;

    --error: #d64545;

    --radius: 14px;
    --radius-lg: 22px;
    --radius-pill: 100px;

    --shadow-card: 0 2px 6px rgba(18, 43, 62, 0.05), 0 14px 34px -14px rgba(18, 43, 62, 0.14);

    --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

/* Senior-first base scale: larger type, looser leading than the generic lander */
body {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--onyx);
    background: var(--cascade);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
a:hover { color: var(--serene); }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-sans); font-weight: 700; color: var(--navy); }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   BRAND
   ========================================= */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: auto; }

/* Plain-text brand name (footer, modal) — the logo art itself appears once per page, in the header */
.brand-text {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .01em;
    color: var(--navy);
    text-decoration: none;
    white-space: nowrap;
}

.brand-text--light { color: #ffffff; }

/* =========================================
   HEADER (interior pages)
   ========================================= */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
}

.site-header .brand img { height: 48px; }

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid var(--navy);
    border-radius: var(--radius-pill);
    color: var(--navy);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.header-phone svg { width: 17px; height: 17px; color: var(--navy); }

.header-phone:hover { background: var(--navy); color: #fff; }
.header-phone:hover svg { color: #fff; }

/* =========================================
   HERO
   ========================================= */
.hero {
    position: relative;
    min-height: 94svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Three scrims keep the logo band, the copy column, and the trust line readable
       while leaving the right side of the photo visible. */
    background-image:
        linear-gradient(180deg, rgba(18, 43, 62, .74) 0%, rgba(18, 43, 62, .28) 16%, rgba(18, 43, 62, 0) 30%),
        linear-gradient(90deg, rgba(18, 43, 62, .84) 0%, rgba(18, 43, 62, .66) 36%, rgba(18, 43, 62, .34) 62%, rgba(18, 43, 62, 0) 82%),
        linear-gradient(180deg, rgba(18, 43, 62, 0) 52%, rgba(18, 43, 62, .42) 78%, rgba(18, 43, 62, .68) 100%),
        url('/1/images/hero.jpg');
    background-size: auto, auto, auto, cover;
    background-position: center, center, center, center 35%;
    background-repeat: no-repeat;
    color: #ffffff;
    overflow: hidden;
}

.topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 20px 0;
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
}

.topbar .brand img { height: 56px; }

.topbar-phone {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1.5px solid rgba(255, 255, 255, .5);
    border-radius: var(--radius-pill);
    text-decoration: none;
    background: rgba(18, 43, 62, .38);
    transition: background .2s, border-color .2s;
}

.topbar-phone svg { width: 16px; height: 16px; }

.topbar-phone:hover { color: #ffffff; background: rgba(18, 43, 62, .5); border-color: rgba(255, 255, 255, .75); }

.hero-content {
    position: relative;
    z-index: 1;
    padding: 56px 20px 52px;
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
}

/* Fresh Turquoise on Luxe Navy — 10.1:1 per the brand ADA chart */
.promo-badge {
    display: inline-block;
    background: var(--navy);
    color: var(--turquoise);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .02em;
    line-height: 1.45;
    padding: 9px 16px;
    border-radius: 18px;
    margin-bottom: 22px;
    max-width: 560px;
}

.promo-badge sup { font-size: 9px; }

/* Hero headline: bold uppercase, tracking -20 (per Font System) */
.hero h1 {
    font-size: clamp(30px, 5.6vw, 54px);
    line-height: 1.06;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(18, 43, 62, .55), 0 4px 28px rgba(18, 43, 62, .6);
    max-width: 820px;
}

.hero h1 sup { font-size: .45em; }

.hero .sub {
    margin-top: 16px;
    font-size: clamp(17px, 3vw, 21px);
    max-width: 560px;
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(18, 43, 62, .55), 0 2px 16px rgba(18, 43, 62, .55);
}

.hero .sub strong { font-weight: 700; }

.hero-cta-row {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.trust-line {
    font-size: 15px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-line svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--turquoise); }

/* =========================================
   BUTTONS
   Oasis Teal + Luxe Navy — 5.4:1 per the brand ADA chart.
   Hover swaps to Luxe Navy + Cascade White (13.1:1).
   ========================================= */
.btn-primary {
    background: var(--oasis);
    color: var(--navy);
    border: none;
    font-weight: 700;
    font-size: 18px;
    padding: 18px 34px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 26px rgba(18, 43, 62, .22);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    min-height: 56px;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--navy);
    color: var(--cascade);
    box-shadow: 0 14px 30px rgba(18, 43, 62, .3);
}

.btn-primary:active { transform: translateY(0); }

.btn-block { width: 100%; }

/* =========================================
   SECTION SHELL
   ========================================= */
section.band { padding: 88px 0; }
.band--white { background: var(--surface); }

/* Title style: uppercase, tracking +150, Classic Gold (headline-permitted on white) */
.eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.section-head {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.section-head .section-sub {
    margin-top: 14px;
    font-size: 17.5px;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* =========================================
   STYLE GALLERY
   ========================================= */
.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.style-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, box-shadow .2s ease;
}

.style-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(18, 43, 62, 0.06), 0 22px 44px -16px rgba(18, 43, 62, 0.22);
}

.style-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.style-caption { padding: 16px 18px 18px; }

.style-caption h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3px;
}

.style-caption p {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.5;
}

.gallery-note {
    margin-top: 26px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

/* =========================================
   BENEFITS
   ========================================= */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 32px;
}

.benefit { padding: 8px; }

/* Luxe Navy icon on Fresh Turquoise chip — permitted pairing */
.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--turquoise);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--navy);
}

.benefit-icon svg { width: 26px; height: 26px; }

.benefit h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy);
}

.benefit h3 sup { font-size: 11px; font-weight: 700; }

.benefit p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

.trust-badges {
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 14px 36px;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .02em;
}

.trust-badges span { display: inline-flex; align-items: center; gap: 8px; }
.trust-badges svg { width: 17px; height: 17px; color: var(--oasis); }

/* =========================================
   HOW IT WORKS
   ========================================= */
.steps-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.step-item { position: relative; }

.step-photo {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
}

.step-photo img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}

.step-num {
    font-size: 38px;
    color: var(--serene);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.step-item h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy);
}

.step-item h3 sup { font-size: 11px; font-weight: 700; }

.step-item p { font-size: 16px; color: var(--ink-soft); line-height: 1.6; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.t-card {
    background: var(--cascade);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.band--white .t-card { background: var(--surface); }

.stars {
    color: var(--gold);
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.t-quote {
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--onyx);
    margin-bottom: 16px;
    flex: 1;
}

.t-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

/* =========================================
   REPEAT CTA BAND — flat Luxe Navy
   ========================================= */
.cta-band {
    background: var(--navy);
    color: var(--cascade);
    text-align: center;
    border-radius: var(--radius-lg);
    padding: 64px 28px;
}

.cta-band h2 {
    color: var(--cascade);
    font-size: clamp(24px, 3.6vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.18;
}

.cta-band .sub {
    color: var(--turquoise);
    max-width: 480px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.5;
}

.cta-band .phone-line {
    margin-top: 22px;
    font-size: 14px;
    color: var(--cascade);
}

.cta-band .phone-line a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
}

.cta-band .phone-line a:hover { color: var(--turquoise); }

/* =========================================
   FOOTER — flat Luxe Navy
   (body copy on navy: Cascade White / Fresh Turquoise only)
   ========================================= */
.footer {
    background: var(--navy);
    color: var(--cascade);
    padding: 44px 0 30px;
    font-size: 13px;
    line-height: 1.6;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(244, 243, 239, .2);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 8px 22px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--cascade);
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover { color: var(--turquoise); }

.footer-fine {
    color: var(--cascade);
    opacity: .88;
    font-size: 11px;
    line-height: 1.55;
    margin-bottom: 14px;
    text-align: left;
}

.footer-fine strong { color: var(--cascade); opacity: 1; }

.footer-company {
    font-size: 12.5px;
    color: var(--cascade);
    margin-bottom: 12px;
}

.footer-copyright {
    font-size: 13px;
    color: var(--cascade);
    opacity: .75;
    padding-top: 16px;
    margin-top: 4px;
    border-top: 1px solid rgba(244, 243, 239, .15);
}

/* =========================================
   FORM FIELDS (shared: modal + quote page)
   ========================================= */
.form-field { margin-bottom: 14px; }

.form-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 7px;
}

.field-wrap { position: relative; }

.form-field input {
    width: 100%;
    font-family: inherit;
    font-size: 17px;
    font-weight: 400;
    color: var(--onyx);
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    transition: border-color .2s ease, box-shadow .25s ease, background-color .2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-field input::placeholder { color: var(--muted); }

.form-field input:hover { border-color: var(--serene); }

.form-field input:focus {
    outline: none;
    border-color: var(--serene);
    box-shadow: 0 0 0 4px rgba(91, 149, 176, 0.2);
}

.field-check {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    width: 20px;
    height: 20px;
    color: var(--oasis);
    opacity: 0;
    transition: opacity .2s, transform .2s;
    pointer-events: none;
}

.form-field.valid input {
    border-color: var(--oasis);
    padding-right: 40px;
}

.form-field.valid .field-check {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.form-field.invalid input { border-color: var(--error); }

.field-spinner {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    color: var(--serene);
    opacity: 0;
    transform: translateY(-50%);
    pointer-events: none;
    animation: field-spin 0.9s linear infinite;
}

.form-field.checking .field-spinner { opacity: 1; }
.form-field.checking .field-check { opacity: 0 !important; }
.form-field.checking input { border-color: var(--serene); padding-right: 40px; }

@keyframes field-spin {
    from { transform: translateY(-50%) rotate(0deg); }
    to   { transform: translateY(-50%) rotate(360deg); }
}

.field-error {
    display: none;
    color: var(--error);
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500;
}

.form-field.invalid .field-error { display: block; }

.quote-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.quote-row .form-field { margin-bottom: 14px; }

.form-consent {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.55;
    margin-top: 14px;
    text-align: center;
}

.form-consent a { color: var(--navy); }

.lead-submit { margin-top: 6px; }

/* =========================================
   QUIZ / LEAD FORM MODAL
   ========================================= */
.quiz-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 43, 62, .66);
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
}

.quiz-overlay.open { display: flex; }

body.quiz-locked { overflow: hidden; }

.quiz-panel {
    background: var(--cascade);
    width: 100%;
    max-width: 560px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 92vh;
    overflow-y: auto;
    padding: 24px 22px 32px;
    position: relative;
    animation: slideUp .28s ease;
}

@media (min-width: 640px) {
    .quiz-overlay { align-items: center; padding: 24px; }
    .quiz-panel { border-radius: var(--radius-lg); max-height: 88vh; padding: 28px 30px 34px; }
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.quiz-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.quiz-close {
    background: none;
    border: 1px solid var(--line);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    color: var(--ink-soft);
    line-height: 1;
    transition: background .15s, color .15s;
}

.quiz-close:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.quiz-question {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    line-height: 1.2;
    color: var(--navy);
}

.quiz-sub {
    font-size: 15px;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

/* =========================================
   QUOTE PAGE
   ========================================= */
.quote-page {
    padding: 52px 0 80px;
}

.quote-page-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
}

.quote-page-head h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 14px;
}

.quote-page-head p {
    font-size: 16.5px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0 auto;
}

.quote-layout {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 28px;
    align-items: start;
}

.plan-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.plan-card-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.plan-card-body { padding: 24px 26px 26px; }

.plan-card-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 4px;
}

.plan-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .15em;
    margin-bottom: 16px;
}

.plan-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}

.plan-list li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    font-size: 14.5px;
    font-weight: 400;
    color: var(--ink-soft);
    line-height: 1.5;
}

.plan-list li > svg {
    width: 17px;
    height: 17px;
    color: var(--oasis);
    margin-top: 3px;
    flex-shrink: 0;
}

.plan-list sup { font-size: 10px; }

.quote-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px 34px 30px;
    box-shadow: var(--shadow-card);
}

.quote-card-header {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--line);
}

.quote-card-header h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.15;
}

.quote-card-header p {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.5;
}

.or-call {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.or-call::before,
.or-call::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.call-link {
    display: block;
    text-align: center;
    color: var(--navy);
    font-size: 24px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    transition: color .2s;
}

.call-link:hover { color: var(--serene); }

/* =========================================
   THANK YOU PAGE
   ========================================= */
.thankyou {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 90px 20px 110px;
}

.thankyou-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--turquoise);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.thankyou-icon svg { width: 40px; height: 40px; color: var(--navy); }

.thankyou h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 14px;
}

.thankyou p {
    color: var(--ink-soft);
    font-size: 17px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.thankyou .call-cta {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--navy);
    color: var(--cascade);
    padding: 15px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    transition: background .2s, transform .15s;
}

.thankyou .call-cta:hover { background: var(--serene); color: var(--navy); transform: translateY(-1px); }

.thankyou .call-cta svg { width: 18px; height: 18px; }

/* =========================================
   LEGAL / SIMPLE PAGES
   ========================================= */
.legal-page { padding: 56px 0 72px; background: var(--surface); }
.legal-content { max-width: 1000px; margin: 0 auto; }

.legal-content h1 {
    font-size: clamp(26px, 3.6vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 8px;
}

.legal-content .last-updated { color: var(--muted); margin-bottom: 24px; font-size: 13px; }

.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin: 32px 0 12px;
}

.legal-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin: 20px 0 8px;
}

.legal-content p, .legal-content li {
    color: var(--ink-soft);
    line-height: 1.75;
    font-size: 14px;
}

.legal-content ul, .legal-content ol { padding-left: 24px; margin: 12px 0; }
.legal-content li { margin-bottom: 6px; }

.legal-content .highlight-box {
    background: var(--turquoise);
    border-left: 4px solid var(--navy);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.legal-content .highlight-box p {
    margin: 0;
    color: var(--navy);
    font-size: 14.5px;
    line-height: 1.65;
}

.legal-content .legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 13px;
    line-height: 1.5;
}

.legal-content .legal-table td,
.legal-content .legal-table th {
    border: 1px solid var(--line);
    padding: 10px 12px;
    vertical-align: top;
}

.legal-content .legal-table tr:first-child td,
.legal-content .legal-table th {
    background: var(--turquoise);
    color: var(--navy);
    font-weight: 700;
}

.legal-content .legal-table p { margin: 0 0 6px; font-size: 13px; }
.legal-content .legal-table p:last-child { margin-bottom: 0; }

.legal-content .legal-form-embed { margin: 20px 0; }

.legal-content .legal-form-embed iframe {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 960px) {
    .quote-layout { grid-template-columns: 1fr; }
    .plan-card { max-width: 480px; margin: 0 auto; order: 2; width: 100%; }
    section.band { padding: 64px 0; }
}

@media (max-width: 640px) {
    .hero {
        background-image:
            linear-gradient(180deg, rgba(18, 43, 62, .74) 0%, rgba(18, 43, 62, .3) 14%, rgba(18, 43, 62, 0) 26%),
            linear-gradient(180deg, rgba(18, 43, 62, 0) 30%, rgba(18, 43, 62, .52) 55%, rgba(18, 43, 62, .9) 86%),
            url('/1/images/hero-mobile.jpg');
        background-size: auto, auto, cover;
        background-position: center, center, center top;
    }

    section.band { padding: 56px 0; }
    .section-head { margin-bottom: 32px; }
    .hero-content { padding: 60px 20px 42px; }
    .promo-badge { font-size: 12px; padding: 8px 14px; }
    .btn-primary { width: 100%; }
    .hero-cta-row { width: 100%; }
    .cta-band { padding: 48px 22px; }
    .cta-band .btn-primary { width: auto; }

    .quote-row { grid-template-columns: 1fr; gap: 0; }
    .quote-card { padding: 26px 20px 24px; }
    .quote-page { padding: 36px 0 60px; }

    .footer-top { flex-direction: column; align-items: flex-start; }

    .legal-page { padding: 32px 0 48px; }
    .legal-content h2 { font-size: 18px; margin-top: 24px; }
    .legal-content p, .legal-content li { font-size: 13px; line-height: 1.7; }

    .thankyou { padding: 60px 20px 80px; }
}

@media (max-width: 420px) {
    .site-header .container { padding: 10px 16px; }
    .site-header .brand img { height: 40px; }
    .topbar .brand img { height: 46px; }
    .header-phone { padding: 8px 13px; font-size: 13px; }
    .header-phone svg { width: 14px; height: 14px; }
    .topbar-phone { font-size: 13px; padding: 8px 13px; }
    .quiz-panel { padding: 20px 18px 28px; }
}

/* =========================================
   CATEGORY EXPLORER (homepage tabs)
   ========================================= */
.explore {
    display: grid;
    grid-template-columns: 320px 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.explore-tabs {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
}

.explore-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: var(--surface);
    border: none;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
    cursor: pointer;
    min-height: 68px;
    flex: 1;
    transition: background .15s ease;
}

.explore-tab:last-child { border-bottom: none; }

.explore-tab svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--serene); }

.explore-tab:hover { background: var(--cascade); }

.explore-tab.is-active { background: var(--navy); color: #ffffff; }
.explore-tab.is-active svg { color: var(--turquoise); }
.explore-tab.is-active:hover { background: var(--navy); }

.explore-panels { position: relative; }

.explore-panel {
    position: relative;
    min-height: 460px;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.explore-panel[hidden] { display: none; }

.explore-panel > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.explore-card {
    position: relative;
    z-index: 1;
    background: var(--navy);
    color: var(--cascade);
    padding: 28px 30px;
    max-width: 440px;
    margin: 26px;
    margin-left: auto; /* keep the shower in the photo visible on desktop */
    border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(18, 43, 62, .3);
}

.explore-card h3 { color: #ffffff; font-size: 22px; margin-bottom: 10px; }

.explore-card p { font-size: 16px; line-height: 1.6; color: var(--cascade); margin-bottom: 20px; }

.explore-card .explore-cta { padding: 14px 26px; font-size: 16px; min-height: 50px; box-shadow: none; }

/* =========================================
   REALITY BAND — the one dark, quiet moment
   (Fresh Turquoise + Cascade White on Luxe Navy per ADA chart)
   ========================================= */
.reality-band { background: var(--navy); }

.reality-inner { max-width: 780px; text-align: center; }

.eyebrow--on-navy { color: var(--turquoise); }

.reality-band h2 {
    color: #ffffff;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.reality-body {
    margin: 20px auto 40px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--cascade);
    max-width: 660px;
}

.stat-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(175, 224, 224, .35);
    border-radius: var(--radius-lg);
    padding: 30px 52px;
    background: rgba(244, 243, 239, .05);
}

.stat-num {
    font-size: clamp(52px, 8vw, 68px);
    font-weight: 700;
    color: var(--turquoise);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label { font-size: 15.5px; color: var(--cascade); line-height: 1.45; }

.stat-source { margin-top: 18px; font-size: 12.5px; color: rgba(244, 243, 239, .62); }

/* =========================================
   BUILT-IN SAFETY — annotated photo + feature list.
   Marker numbers pair 1:1 with the numbered list items.
   ========================================= */
.anno-layout {
    display: grid;
    grid-template-columns: minmax(300px, 430px) 1fr;
    gap: 56px;
    align-items: center;
}

.anno-figure {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--surface);
}

.anno-photo { position: relative; }

.anno-photo img { width: 100%; display: block; }

.anno-marker {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cascade);
    color: var(--navy);
    border: 2px solid var(--navy);
    font-family: inherit;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(18, 43, 62, .4);
    cursor: pointer;
    padding: 0;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.anno-marker:hover,
.anno-marker:focus-visible,
.anno-marker.lit {
    background: var(--navy);
    color: var(--turquoise);
    border-color: var(--turquoise);
}

.anno-caption {
    background: var(--navy);
    color: var(--cascade);
    font-size: 14px;
    line-height: 1.5;
    padding: 13px 18px;
    text-align: center;
}

.anno-content .eyebrow { margin-bottom: 12px; }

.anno-content h2 {
    font-size: clamp(26px, 3.6vw, 36px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.16;
    color: var(--navy);
}

.anno-intro {
    margin-top: 14px;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 560px;
}

.feature-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
}

.feature-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    align-items: start;
    padding: 10px 12px;
    margin-left: -12px;
    border-radius: var(--radius);
    transition: background .15s ease;
}

.feature-item p { max-width: 52ch; }

.feature-item.lit { background: var(--turquoise); }

.feature-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--cascade);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.feature-num--plus { background: var(--turquoise); color: var(--navy); }

.feature-num--plus svg { width: 18px; height: 18px; }

.feature-item.lit .feature-num--plus { background: var(--surface); }

.feature-item h3 { font-size: 17.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }

.feature-item h3 sup { font-size: 11px; }

.feature-item p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }

.anno-badges {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .02em;
}

.anno-badges span { display: inline-flex; align-items: center; gap: 8px; }

.anno-badges svg { width: 17px; height: 17px; color: var(--oasis); flex-shrink: 0; }

/* =========================================
   HOW IT WORKS — "we come to you" callout
   ========================================= */
.visit-callout {
    margin-top: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    background: var(--turquoise);
    color: var(--navy);
    border-radius: var(--radius);
    padding: 18px 22px;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
}

.visit-callout svg { width: 22px; height: 22px; flex-shrink: 0; }

/* =========================================
   DUAL-AUDIENCE CTA
   ========================================= */
.dual-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.btn-ghost {
    background: transparent;
    color: var(--cascade);
    border: 2px solid rgba(244, 243, 239, .7);
    font-family: inherit;
    font-weight: 700;
    font-size: 17px;
    padding: 16px 30px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.btn-ghost:hover {
    background: var(--cascade);
    color: var(--navy);
    border-color: var(--cascade);
}

/* =========================================
   MOBILE STICKY CALL BAR
   (phone-first audience: call + quote always in reach)
   ========================================= */
.stickybar { display: none; }

@media (max-width: 767px) {
    .stickybar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        display: grid;
        grid-template-columns: 2fr 3fr;
        background: var(--navy);
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -6px 24px rgba(18, 43, 62, .3);
    }

    .stickybar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 62px;
        font-weight: 700;
        font-size: 16.5px;
        text-decoration: none;
    }

    .stickybar svg { width: 18px; height: 18px; }

    .stickybar-call { background: var(--navy); color: #ffffff; }

    .stickybar-quote { background: var(--oasis); color: var(--navy); }

    body.has-stickybar { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}

/* =========================================
   RESPONSIVE — new sections
   ========================================= */
@media (max-width: 1024px) {
    .anno-layout { grid-template-columns: 1fr; gap: 36px; }
    .anno-figure { max-width: 460px; margin: 0 auto; width: 100%; }
}

@media (max-width: 860px) {
    .explore { grid-template-columns: 1fr; }

    .explore-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .explore-tab {
        flex: 1 1 50%;
        padding: 14px 16px;
        font-size: 15px;
        min-height: 60px;
        gap: 10px;
        border-bottom: 1px solid var(--line);
    }

    .explore-tab svg { width: 20px; height: 20px; }

    .explore-panel { flex-direction: column; align-items: stretch; min-height: 0; }

    .explore-panel > img {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .explore-card {
        margin: 0;
        max-width: none;
        border-radius: 0;
        padding: 24px 20px 28px;
        box-shadow: none;
    }
}

@media (max-width: 640px) {
    .anno-marker { width: 40px; height: 40px; font-size: 16px; }
    .stat-box { padding: 26px 34px; }
    .dual-cta-row { flex-direction: column; }
    .cta-band .dual-cta-row .btn-primary,
    .cta-band .dual-cta-row .btn-ghost { width: 100%; max-width: 400px; }
    .visit-callout { font-size: 16px; }
}

/* On dark surfaces, the navy focus ring is invisible — switch to turquoise */
.hero :focus-visible,
.reality-band :focus-visible,
.cta-band :focus-visible,
.footer :focus-visible,
.explore-card :focus-visible,
.explore-tab.is-active:focus-visible,
.stickybar :focus-visible {
    outline-color: var(--turquoise);
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Horizontal-scroll safety net */
html, body { overflow-x: hidden; }
