/* ==========================================================================
   ELLA'S BUBBLES × AITCOH — CO-BRANDED CONSUMER LANDING PAGE
   --------------------------------------------------------------------------
   Look: matches the ella co-brand ad creative. White marble-light foundation,
   bright cyan accents, deep navy serif display headlines (Playfair Display),
   glossy cyan CTA buttons, soft glassy pills. Intentionally lighter and
   simpler than both the dark partner-strategy page and the teal bathrooms
   campaign page (separate campaign, separate look).
   Sections:
     1.  Brand & theme variables (co-brand cyan)
     2.  Reset & base
     3.  Accessibility: skip link + focus states
     4.  Header / co-brand lockup / navigation
     5.  Buttons
     6.  Hero
     7.  Section headers + cards
     8.  Proposition grid + pull quote
     9.  How-it-works flow cards
     10. Live campaign highlight band
     11. Pilot region strip
     12. Closing CTA panel
     13. Footer
     14. Modals (privacy / terms)
     15. Mobile sticky CTA bar
     16. Scroll reveal system
     17. Reduced motion safeguards
     18. Responsive refinements
   ========================================================================== */

/* ==========================================================================
   1. BRAND & THEME VARIABLES (CO-BRAND CYAN)
   ========================================================================== */
:root {
    /* Co-brand cyan family, sampled from the ella ad creative */
    --cyan: #1cb5d6;              /* primary accent */
    --cyan-bright: #4fd0e8;       /* button gradient top */
    --cyan-deep: #1096b4;         /* button gradient bottom */
    --cyan-ink: #0c7f96;          /* AA-safe cyan text on white */
    --cyan-soft: #e9f8fc;         /* soft wash */
    --cyan-rgb: 28, 181, 214;

    /* AITCOH canonical palette (BRAND.md) */
    --deep-navy: #0e2a47;
    --navy-rgb: 14, 42, 71;
    --cream-white: #fffdf5;
    --pure-white: #ffffff;
    --text-grey: #4a5568;

    /* Light foundation */
    --wash: #f6fcfe;
    --border-soft: rgba(var(--navy-rgb), 0.08);
    --border-cyan: rgba(var(--cyan-rgb), 0.35);
    --shadow-soft: 0 18px 40px -18px rgba(var(--navy-rgb), 0.14);
    --radius: 22px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-grey);
    line-height: 1.8;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--wash) 0%, #ffffff 45%);
    overflow-x: hidden;
}

/* Display headlines: serif, deep navy (the ad's "Premium Walk-In Tubs" look) */
h1, h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--deep-navy);
    letter-spacing: -0.01em;
}
h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--deep-navy);
    letter-spacing: -0.02em;
}

h1 { font-size: 3.2rem; line-height: 1.14; }
h2 { font-size: 2.4rem; line-height: 1.2; margin-bottom: 1.25rem; }
h3 { font-size: 1.3rem; }

p { margin-bottom: 1.5rem; }

.brand-name { font-style: italic; }
.text-center { text-align: center; }

/* Anchor scroll offset below the ~80px sticky header */
section[id] { scroll-margin-top: 96px; }

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-spacer { padding: 5rem 0; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.svg-icon { display: block; width: 24px; height: 24px; }

.fine-print { font-size: 0.85rem; color: #718096; }

/* ==========================================================================
   3. ACCESSIBILITY: SKIP LINK + FOCUS STATES
   ========================================================================== */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 3000;
    padding: 0.7rem 1.4rem;
    border-radius: 0 0 12px 12px;
    background: var(--deep-navy);
    color: var(--cream-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--cyan-deep);
    outline-offset: 2px;
    border-radius: 4px;
}
.btn:focus-visible { border-radius: 50px; }
.btn-cyan:focus-visible { outline-color: var(--deep-navy); }

/* ==========================================================================
   4. HEADER / CO-BRAND LOCKUP / NAVIGATION
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 4px 18px -12px rgba(var(--navy-rgb), 0.18);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
}

/* Co-brand lockup: ella wordmark | divider | AITCOH logo */
.cobrand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}
.ella-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}
.ella-mark__name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 2rem;
    letter-spacing: 0.02em;
    color: #1a1a1a;
}
.ella-mark__by {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    color: #4a4a4a;
    margin-top: 0.2rem;
}
.cobrand__divider {
    width: 1px;
    height: 44px;
    background: rgba(var(--navy-rgb), 0.18);
}
.cobrand__aitcoh { height: 54px; width: auto; display: block; }

.nav-links {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.nav-links a {
    color: var(--deep-navy);
    text-decoration: none;
    font-weight: 600;
    margin-left: 1.6rem;
    transition: color 0.2s;
    font-size: 0.95rem;
}
.nav-links a:hover { color: var(--cyan-ink); }

.nav-links .nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    background: var(--cyan-soft);
    border: 1px solid var(--border-cyan);
    border-radius: 50px;
    color: var(--deep-navy);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.nav-links .nav-phone .svg-icon { width: 14px; height: 14px; color: var(--cyan-ink); }
.nav-links .nav-phone:hover {
    background: #dcf3f9;
    border-color: rgba(var(--cyan-rgb), 0.6);
    transform: translateY(-1px);
}
.nav-links .btn-nav { margin-left: 1.25rem; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.4px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

/* Glossy cyan CTA, matching the ad's "Book Free Consultation" button */
.btn-cyan {
    background: linear-gradient(180deg, var(--cyan-bright) 0%, var(--cyan) 48%, var(--cyan-deep) 100%);
    color: var(--pure-white);
    box-shadow:
        0 6px 18px -6px rgba(var(--cyan-rgb), 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-cyan:hover {
    background: linear-gradient(180deg, #66d9ee 0%, #2cc0de 48%, #14a2c2 100%);
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow:
        0 10px 26px -8px rgba(var(--cyan-rgb), 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-nav { padding: 0.6rem 1.35rem; font-size: 0.88rem; }
.btn-lg { padding: 1.05rem 2.6rem; font-size: 1.05rem; }

/* Quiet secondary: white with navy outline */
.btn-outline {
    background: var(--pure-white);
    color: var(--deep-navy);
    border: 1.5px solid rgba(var(--navy-rgb), 0.3);
    box-shadow: var(--shadow-soft);
}
.btn-outline:hover {
    border-color: rgba(var(--navy-rgb), 0.55);
    color: var(--deep-navy);
    transform: translateY(-2px);
}

/* Navy button (modal close) */
.btn-navy {
    background: var(--deep-navy);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(var(--navy-rgb), 0.2);
}
.btn-navy:hover {
    background: #16395d;
    transform: translateY(-2px);
}

/* ==========================================================================
   6. HERO
   ========================================================================== */
.hero {
    position: relative;
    padding: 4.5rem 0 5rem;
    overflow: hidden;
}
/* Soft cyan atmosphere, kept faint for the light look */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(640px 420px at 85% 18%, rgba(var(--cyan-rgb), 0.12), transparent 70%),
        radial-gradient(520px 380px at 8% 85%, rgba(var(--cyan-rgb), 0.08), transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    background: var(--pure-white);
    border: 1px solid var(--border-cyan);
    box-shadow: 0 6px 16px -8px rgba(var(--cyan-rgb), 0.4);
    color: var(--deep-navy);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}
.hero-pill .svg-icon { width: 17px; height: 17px; color: var(--cyan-ink); }

.hero h1 { margin-bottom: 1.25rem; }

.hero-lede {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--cyan-ink);
    margin-bottom: 1.25rem;
}
.hero-copy > p { max-width: 560px; }

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.75rem 0 1.9rem;
}

/* Mini trust row, from the ad's bottom chips */
.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hero-trust-row li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--deep-navy);
}
.hero-trust-row .svg-icon { width: 17px; height: 17px; color: var(--cyan-ink); }

.hero-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 6px solid var(--pure-white);
    box-shadow:
        0 30px 60px -24px rgba(var(--navy-rgb), 0.3),
        0 0 0 1px var(--border-soft);
}

/* ==========================================================================
   7. SECTION HEADERS + CARDS
   ========================================================================== */
.section-header { margin-bottom: 3rem; }
.section-header p {
    max-width: 780px;
    margin: 0 auto 1rem;
    font-size: 1.08rem;
}
.section-header__note {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--cyan-ink);
}
/* Simple cyan marker under section titles */
.section-header h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 2px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, var(--cyan-bright), var(--cyan-deep));
}

.card {
    background: var(--pure-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-cyan);
    box-shadow: 0 26px 50px -20px rgba(var(--navy-rgb), 0.2);
}
.card h3 { margin-bottom: 0.6rem; }
.card p:last-child { margin-bottom: 0; }

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    background: var(--cyan-soft);
    border: 1px solid var(--border-cyan);
    color: var(--cyan-ink);
}
.icon-circle .svg-icon { width: 26px; height: 26px; }

/* ==========================================================================
   8. PROPOSITION GRID + PULL QUOTE
   ========================================================================== */
.prop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 980px;
    margin: 0 auto;
    align-items: stretch;
}
.prop-card { padding: 2.25rem 2.25rem 2rem; }
.prop-card .check-list { margin-bottom: 0; }
.prop-card--aitcoh {
    background: linear-gradient(180deg, var(--cyan-soft) 0%, var(--pure-white) 55%);
    border-color: var(--border-cyan);
    box-shadow:
        var(--shadow-soft),
        inset 0 3px 0 rgba(var(--cyan-rgb), 0.55);
}
.prop-chip {
    display: inline-block;
    padding: 0.32rem 1.1rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.74rem;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.prop-chip--ella {
    color: var(--deep-navy);
    background: var(--pure-white);
    border: 1.5px solid rgba(var(--navy-rgb), 0.3);
}
.prop-chip--aitcoh {
    color: var(--pure-white);
    background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep));
    box-shadow: 0 6px 14px -6px rgba(var(--cyan-rgb), 0.7);
}

.pull-quote {
    max-width: 700px;
    margin: 2.5rem auto 0;
    padding: 2rem 2.4rem;
    border-radius: 20px;
    text-align: center;
    background: linear-gradient(180deg, var(--pure-white) 0%, var(--cyan-soft) 100%);
    border: 1px solid var(--border-cyan);
    border-left: 6px solid var(--cyan);
    box-shadow: var(--shadow-soft);
}
.pull-quote p {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1.45rem;
    line-height: 1.5;
    color: var(--deep-navy);
    margin: 0;
}

/* ==========================================================================
   9. HOW-IT-WORKS FLOW CARDS
   ========================================================================== */
.flow-section {
    background: linear-gradient(180deg, var(--cyan-soft) 0%, rgba(255, 255, 255, 0) 40%);
    border-top: 1px solid var(--border-soft);
}
.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: stretch;
}
.flow-card { padding: 1.9rem 1.6rem 1.75rem; }
.flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-deep));
    color: var(--pure-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 8px 18px -8px rgba(var(--cyan-rgb), 0.7);
    margin-bottom: 1rem;
}
.flow-card h3 { font-size: 1.05rem; line-height: 1.35; margin-bottom: 0.4rem; }
.flow-card p { font-size: 0.92rem; line-height: 1.6; margin: 0; }

/* ==========================================================================
   10. LIVE CAMPAIGN HIGHLIGHT BAND (deep navy focal moment)
   ========================================================================== */
.live-band {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
    border-radius: 28px;
    padding: 3.25rem 3.25rem;
    background:
        radial-gradient(560px 300px at 85% 10%, rgba(var(--cyan-rgb), 0.22), transparent 70%),
        linear-gradient(160deg, #123458, var(--deep-navy) 65%);
    box-shadow: 0 34px 70px -30px rgba(var(--navy-rgb), 0.55);
}
.live-band h2 { color: var(--pure-white); margin-bottom: 1rem; }
.live-band p { color: rgba(255, 255, 255, 0.85); }
.live-chip {
    display: inline-block;
    padding: 0.32rem 1.1rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.74rem;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--deep-navy);
    background: linear-gradient(180deg, #7ce0f2, var(--cyan-bright));
    margin-bottom: 1.25rem;
}
.live-copy .btn { margin-top: 0.35rem; }
.live-copy .btn .svg-icon { width: 17px; height: 17px; }

/* Browser-frame mockup linking to the live page */
.live-frame {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: var(--pure-white);
    box-shadow: 0 26px 55px -22px rgba(0, 0, 0, 0.55);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}
.live-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 34px 66px -24px rgba(0, 0, 0, 0.6);
}
.live-frame__bar {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem 0.95rem;
    background: #eef2f6;
    border-bottom: 1px solid rgba(var(--navy-rgb), 0.1);
}
.live-frame__dots { display: inline-flex; gap: 0.35rem; }
.live-frame__dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(var(--navy-rgb), 0.18);
}
.live-frame__url {
    flex: 1;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--deep-navy);
    background: var(--pure-white);
    border: 1px solid rgba(var(--navy-rgb), 0.12);
    border-radius: 999px;
    padding: 0.18rem 0.9rem;
    margin-right: 2rem;
}
.live-frame img {
    display: block;
    width: 100%;
    height: auto; /* release the HTML height attr so aspect-ratio applies */
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ==========================================================================
   11. PILOT REGION STRIP
   ========================================================================== */
.region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1020px;
    margin: 0 auto;
}
.region-item { text-align: center; }
.region-item .icon-circle { margin-left: auto; margin-right: auto; }
.region-item h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.region-item p {
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 300px;
    margin: 0 auto;
}
.region-close {
    max-width: 640px;
    margin: 2.75rem auto 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--deep-navy);
}

/* Check lists (packages, maintenance) */
.check-list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
}
.check-list li {
    position: relative;
    padding-left: 1.9rem;
    margin-bottom: 0.5rem;
    font-size: 0.97rem;
    line-height: 1.55;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.22em;
    width: 1.1em;
    height: 1.1em;
    background-color: var(--cyan-ink);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><path d="M9 11l3 3L22 4"/></svg>') center / contain no-repeat;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><path d="M9 11l3 3L22 4"/></svg>') center / contain no-repeat;
}

/* ==========================================================================
   12. CLOSING CTA PANEL
   ========================================================================== */
.consultation-section {
    background: linear-gradient(180deg, var(--wash) 0%, var(--cyan-soft) 100%);
    border-top: 1px solid var(--border-soft);
}
.consult-panel {
    max-width: 760px;
    margin: 0 auto;
    background: var(--pure-white);
    border: 1px solid var(--border-cyan);
    border-top: 5px solid var(--cyan);
    border-radius: 26px;
    padding: 3rem 3rem 2.5rem;
    box-shadow: 0 30px 60px -28px rgba(var(--navy-rgb), 0.25);
}
.consult-panel .section-header { margin-bottom: 2rem; }
.consult-panel .section-header p { font-size: 1rem; }

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 0.75rem;
}
.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--deep-navy);
    text-decoration: none;
    border-bottom: 3px solid rgba(var(--cyan-rgb), 0.6);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.cta-phone .svg-icon { width: 19px; height: 19px; color: var(--cyan-ink); }
.cta-phone:hover { color: var(--cyan-ink); border-bottom-color: var(--cyan-deep); }
.cta-fine {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--deep-navy);
    text-align: center;
    margin: 1.75rem auto 0;
    max-width: 480px;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
footer {
    background-color: var(--deep-navy);
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    color: var(--cream-white);
    padding: 4rem 0;
    text-align: center;
}
footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; transition: color 0.3s; }
footer a:hover { color: white; }

.footer-logo { height: 92px; margin-bottom: 1.75rem; }
.footer-tag {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #9fdcea;
    letter-spacing: 0.5px;
}
.footer-mission { opacity: 0.85; max-width: 600px; margin: 0 auto 2rem; }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 820px;
    margin: 0 auto 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
}
.footer-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9fdcea;
    margin-bottom: 0.9rem;
}
.footer-col p { margin-bottom: 0.4rem; font-size: 0.92rem; opacity: 0.9; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; font-size: 0.92rem; }
.footer-social { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; }
.social-link {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.82);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.social-link svg { width: 19px; height: 19px; fill: currentColor; }
.social-link--facebook { --brand: #1877f2; --ink: #ffffff; }
.social-link--medium   { --brand: #ffffff; --ink: #0f0f0f; }
.social-link--x        { --brand: #ffffff; --ink: #0f0f0f; }
.social-link--youtube  { --brand: #ff0000; --ink: #ffffff; }
.social-link:hover,
.social-link:focus-visible {
    transform: translateY(-4px);
    background: var(--brand);
    border-color: var(--brand);
    color: var(--ink);
}
.footer-social-note { font-size: 0.78rem; opacity: 0.6; }
.footer-legal { font-size: 0.9rem; opacity: 0.75; margin-bottom: 0.75rem; }
.footer-legal-links { display: inline-block; margin-top: 0.5rem; }
@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 1.75rem; }
    .footer-social { justify-content: center; }
}

/* ==========================================================================
   14. MODALS (PRIVACY / TERMS)
   ========================================================================== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(var(--navy-rgb), 0.55);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: all 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    max-width: 650px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    text-align: left;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95); transition: transform 0.3s;
}
.modal-overlay.active .modal-card { transform: scale(1); }
.modal-card h3 {
    color: var(--cyan-ink);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}
.modal-updated {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 2rem;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 1rem;
}
.modal-body-copy { font-size: 0.95rem; color: var(--text-grey); line-height: 1.7; }
.modal-body-copy h4 {
    margin-bottom: 0.5rem;
    color: var(--deep-navy);
    font-size: 1.05rem;
}
.modal-body-copy p { margin-bottom: 1.5rem; }
.modal-close-row {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #edf2f7;
}
@media (max-width: 600px) {
    .modal-card { padding: 2rem 1.4rem; }
}

/* ==========================================================================
   15. MOBILE STICKY CTA BAR
   ========================================================================== */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
        gap: 0.6rem;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1200;
        padding: 0.7rem 0.85rem;
        padding-bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-cyan);
        box-shadow: 0 -8px 24px -8px rgba(var(--navy-rgb), 0.2);
    }
    .mobile-cta-bar__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.95rem 0.75rem;
        border-radius: 50px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 0.95rem;
        letter-spacing: 0.3px;
        text-decoration: none;
        white-space: nowrap;
        transition: transform 0.15s ease;
    }
    .mobile-cta-bar__btn .svg-icon { width: 17px; height: 17px; }
    .mobile-cta-bar__btn--call {
        flex: 0 0 auto;
        min-width: 108px;
        background: var(--pure-white);
        color: var(--deep-navy);
        border: 1.5px solid rgba(var(--navy-rgb), 0.3);
    }
    .mobile-cta-bar__btn--consult {
        flex: 1 1 auto;
        background: linear-gradient(180deg, var(--cyan-bright) 0%, var(--cyan) 48%, var(--cyan-deep) 100%);
        color: var(--pure-white);
        box-shadow: 0 6px 16px -6px rgba(var(--cyan-rgb), 0.7);
    }
    .mobile-cta-bar__btn:active { transform: translateY(1px); }

    /* Reserve room so the bar never covers the footer or form content */
    body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
    html { scroll-padding-bottom: 110px; }
}

/* ==========================================================================
   16. SCROLL REVEAL SYSTEM
   Hidden state applies only when JS is running (html.js set in <head>),
   so content is never lost without JavaScript.
   ========================================================================== */
html.js .reveal-target {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
                transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}
html.js .reveal-target.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   17. REDUCED MOTION SAFEGUARDS
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .card:hover,
    .btn:hover,
    .package-card:hover .package-media img,
    .social-link:hover,
    .social-link:focus-visible { transform: none; }
    html.js .reveal-target {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   18. RESPONSIVE REFINEMENTS
   ========================================================================== */
@media (max-width: 1080px) {
    .nav-links a { margin-left: 1.2rem; font-size: 0.9rem; }
    .nav-links .nav-phone { display: none; }
    .hero-grid { gap: 2.25rem; }
    h1 { font-size: 2.7rem; }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-container { justify-content: center; }
    .hero { padding: 3rem 0; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { max-width: 520px; margin: 0 auto; }
    .grid-3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .prop-grid { grid-template-columns: 1fr; max-width: 560px; }
    .flow-grid { grid-template-columns: repeat(2, 1fr); }
    .live-band { grid-template-columns: 1fr; gap: 2.25rem; padding: 2.5rem 2rem; }
    .region-grid { grid-template-columns: 1fr; gap: 2.25rem; max-width: 480px; }
    h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .section-spacer { padding: 3.25rem 0; }
    .container { padding: 0 1.25rem; }
    h1 { font-size: 2.3rem; }
    .statement-band { padding: 3.25rem 0; }
    footer { padding: 3rem 0; }
    .footer-logo { height: 84px; }
}

@media (max-width: 600px) {
    .container { padding: 0 1rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    .hero-cta-row .btn { width: 100%; }
    .consult-panel { padding: 2rem 1.4rem; }
    .flow-grid { grid-template-columns: 1fr; }
    .live-band { padding: 2rem 1.4rem; }
    .live-copy .btn { width: 100%; }
    .pull-quote { padding: 1.5rem 1.3rem; }
    .pull-quote p { font-size: 1.15rem; }
    .ella-mark__name { font-size: 1.6rem; }
    .cobrand__aitcoh { height: 44px; }
    .cobrand__divider { height: 36px; }
}
