/* 1. BRAND & THEME VARIABLES */
:root {
    /* AITCOH Brand Colors - Clean Palette */
    --trust-blue: #255ea0;       /* canonical BRAND.md Trust Blue */
    --trust-blue-dark: #1b477e;
    --trust-blue-light: #d9ecff; /* canonical BRAND.md Trust Blue Light */
    --radiant-gold: #fdd841;     /* canonical BRAND.md Radiant Gold (fills/highlights) */
    --deep-navy: #0e2a47; 
    --text-grey: #4a5568; /* Softer than charcoal */
    --cream-white: #fffdf5; /* More subtle cream */
    --pure-white: #ffffff;
    --accent-gold: #d69e2e;

    /* Modern Crystal Theme Specifics */
    --glass-bg-light: rgba(255, 255, 255, 0.92); /* Higher opacity for cleaner look */
    --glass-bg-dark: rgba(27, 71, 126, 0.97);
    --glass-border: 1px solid rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 20px 40px -5px rgba(38, 95, 161, 0.08); /* Colored, diffuse shadow */
    --blur-amount: 30px;
    --border-radius: 24px;
}

/* 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; /* Increased line height for airy feel */
    min-height: 100vh;
    /* Ultra-Clean Background: Very subtle gradient */
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--deep-navy);
    letter-spacing: -0.03em; /* Slightly tighter for a modern feel */
    /* A subtle, multi-layered text shadow for that elevated flair */
    text-shadow: 2px 4px 8px rgba(38, 95, 161, 0.1), 0 1px 2px rgba(14, 42, 71, 0.05);
}

h1 { font-weight: 800; font-size: 3.5rem; }
h2 { font-weight: 800; font-size: 2.8rem; margin-bottom: 1.5rem; line-height: 1.2; }
h3 { font-weight: 800; font-size: 2rem; }
h4 { font-weight: 800; font-size: 1.35rem; }

p { margin-bottom: 1.5rem; font-weight: 300; }

/* Anchor scroll offset so in-page links land below the ~106px sticky nav (offer bar + header) */
section[id] { scroll-margin-top: 120px; }

/* Sticky Navigation Container */
.sticky-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 1100;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Scrolling Offer Bar Styles */
/* Scrolling highlight deal bar */
.offer-bar {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: linear-gradient(180deg, #ffe98a 0%, var(--radiant-gold) 48%, #f2c623 100%);
    border-bottom: 2px solid var(--accent-gold);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        inset 0 -1px 0 rgba(214, 158, 46, 0.5),
        0 4px 14px -4px rgba(214, 158, 46, 0.6);
}
/* Sweeping glass highlight (sits under the text) */
.offer-bar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 45%;
    z-index: 0;
    pointer-events: none;
    transform: skewX(-20deg);
    background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    animation: offer-shine 7s ease-in-out infinite;
}
@keyframes offer-shine {
    0%   { left: -60%; }
    55%  { left: 120%; }
    100% { left: 120%; }
}

/* Brand tagline gold seal (top-right of hero) */
.hero-seal {
    position: absolute;
    top: 1.25rem;
    left: calc(50% - 536px);
    right: auto;
    z-index: 6;
    width: 176px;
    height: 176px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem;
    transform: rotate(-8deg);
    background: radial-gradient(circle at 50% 30%, #ffe98a 0%, var(--radiant-gold) 52%, #ecba1f 100%);
    border: 2px solid var(--accent-gold);
    box-shadow:
        0 12px 26px -8px rgba(214, 158, 46, 0.75),
        inset 0 2px 5px rgba(255, 255, 255, 0.65);
}
.hero-seal::before {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    border: 1.5px solid rgba(120, 86, 16, 0.4);
    pointer-events: none;
}
.hero-seal__ring {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--trust-blue-dark);
}
.hero-seal__main {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.12;
    color: var(--deep-navy);
    margin: 0.28rem 0;
    position: relative;
    top: -4px;
}
@media (max-width: 1080px) {
    /* switch off the desktop calc-anchor before it clips; sit high in the corner */
    .hero-seal { width: 112px; height: 112px; top: 0.7rem; left: 1rem; right: auto; }
    .hero-seal__main { font-size: 0.8rem; margin: 0.14rem 0; }
    .hero-seal__ring { font-size: 0.5rem; letter-spacing: 1px; }
    .hero-seal::before { inset: 6px; }
}
@media (max-width: 768px) {
    .hero-seal { width: 96px; height: 96px; top: 0.6rem; left: 0.75rem; }
    .hero-seal__main { font-size: 0.68rem; margin: 0.1rem 0; }
    .hero-seal__ring { font-size: 0.44rem; letter-spacing: 0.8px; }
    .hero-seal::before { inset: 5px; }
}
@media (max-width: 600px) {
    .hero-seal { width: 80px; height: 80px; top: 0.5rem; left: 0.5rem; transform: rotate(-6deg); border-width: 1.5px; }
    .hero-seal__main { font-size: 0.58rem; margin: 0.05rem 0; }
    .hero-seal__ring { font-size: 0.37rem; letter-spacing: 0.4px; }
    .hero-seal::before { inset: 4px; }
}
@media (max-width: 400px) {
    .hero-seal { width: 70px; height: 70px; }
    .hero-seal__main { font-size: 0.51rem; }
    .hero-seal__ring { font-size: 0.32rem; letter-spacing: 0.3px; }
}
.offer-track {
    display: inline-flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    will-change: transform;
    position: relative;
    z-index: 1;
    animation: offer-scroll 55s linear infinite;
}
.offer-bar:hover .offer-track,
.offer-bar:focus-within .offer-track { animation-play-state: paused; }
.offer-group {
    display: inline-flex;
    align-items: center;
    padding: 11px 0;
}
.offer-item {
    color: var(--deep-navy);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.offer-item--title {
    color: var(--deep-navy);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}
.offer-item--call {
    color: var(--deep-navy);
    font-weight: 800;
    text-decoration: underline;
}
.offer-item--call:hover { text-decoration: underline; }
.offer-sep {
    color: var(--deep-navy);
    font-size: 0.65rem;
    margin: 0 1.15rem;
    opacity: 0.55;
}
@keyframes offer-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .offer-item { font-size: 0.8rem; }
    .offer-sep { margin: 0 0.85rem; }
    .offer-track { animation-duration: 38s; }
}
@media (prefers-reduced-motion: reduce) {
    .offer-track { animation: none; }
    .offer-bar::after { display: none; }
    .offer-bar { overflow-x: auto; }
    .offer-bar .offer-group[aria-hidden="true"] { display: none; }
}

/* Subtle Navbar Animation */
@keyframes subtlePan {
    0% { background-position: 0 0, 0 0, 0% 50%; }
    50% { background-position: 0 0, 0 0, 100% 50%; }
    100% { background-position: 0 0, 0 0, 0% 50%; }
}

/* Header */
header {
    width: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, var(--trust-blue-dark), var(--trust-blue), var(--trust-blue-dark));
    background-size: 40px 40px, 40px 40px, 200% 200%;
    animation: subtlePan 12s ease-in-out infinite;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Comparison Table Styles */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin-top: 2rem;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.comparison-table th, .comparison-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #edf2f7;
}
.comparison-table th {
    background: #f8fbff;
    color: var(--deep-navy);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.comparison-table td {
    font-size: 1rem;
    color: var(--text-grey);
}
.comparison-table .feature-col {
    font-weight: 600;
    color: var(--deep-navy);
    width: 30%;
}
.comparison-table i.fa-circle-check { color: var(--trust-blue); margin-right: 8px; }
.comparison-table i.fa-circle-xmark { color: #cbd5e0; margin-right: 8px; }

/* Elevated Highlight Column */
.comparison-table .highlight-col {
    background: #eaf4fe; /* Pronounced soft blue */
    font-weight: 700;
    color: var(--trust-blue-dark);
    border-left: 3px solid var(--trust-blue);
    border-right: 3px solid var(--trust-blue);
}
.comparison-table th.highlight-col {
    background: var(--trust-blue);
    color: var(--pure-white);
    font-size: 1.05rem;
    border-top: 3px solid var(--trust-blue);
}
.comparison-table tbody tr:last-child td.highlight-col {
    border-bottom: 3px solid var(--trust-blue);
}

@media (max-width: 768px) {
    /* Re-flow the comparison table into stacked comparison cards on mobile.
       Each <tr> becomes a card with the feature name as the title, and the
       two options shown as labeled rows below using the data-label attribute
       added to non-feature td cells. The AITCOH highlighted column gets the
       blue background treatment so the eye lands on it. */

    .comparison-table {
        display: block;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        font-size: 1rem;
        overflow: visible;
    }
    .comparison-table thead { display: none; }
    .comparison-table tbody { display: block; }
    .comparison-table tr {
        display: block;
        background: #ffffff;
        border: 1px solid rgba(38, 95, 161, 0.12);
        border-radius: 16px;
        margin-bottom: 1rem;
        overflow: hidden;
        box-shadow: 0 6px 18px -10px rgba(38, 95, 161, 0.18);
    }
    .comparison-table tr:last-child { margin-bottom: 0; }

    .comparison-table td {
        display: block;
        width: 100%;
        border: none;
        padding: 0.85rem 1rem;
        text-align: left;
    }

    /* Feature name = card title */
    .comparison-table td.feature-col {
        background: #f4f9ff;
        font-size: 1rem;
        font-weight: 700;
        color: var(--deep-navy);
        letter-spacing: -0.01em;
        border-bottom: 1px solid rgba(38, 95, 161, 0.08);
        padding: 0.85rem 1rem;
    }

    /* Standard Contractors row */
    .comparison-table td:not(.feature-col):not(.highlight-col) {
        font-size: 0.92rem;
        color: var(--text-grey);
        padding: 0.85rem 1rem;
    }

    /* Caption above each option using the data-label attribute */
    .comparison-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.1px;
        color: rgba(38, 95, 161, 0.55);
        margin-bottom: 0.3rem;
    }

    /* AITCOH highlight cell gets the blue treatment + bold copy */
    .comparison-table td.highlight-col {
        background: #eaf4fe;
        color: var(--trust-blue-dark);
        font-weight: 700;
        font-size: 0.95rem;
        border: none;
        border-top: 1px solid rgba(38, 95, 161, 0.10);
    }
    .comparison-table td.highlight-col[data-label]::before {
        color: var(--trust-blue);
    }
    /* Reset desktop-only border decorations on the highlight cells */
    .comparison-table tr td.highlight-col {
        border-left: none;
        border-right: none;
    }
    .comparison-table tbody tr:last-child td.highlight-col {
        border-bottom: none;
    }

    /* Disable the diagonal sheen sweep on mobile for clarity */
    .comparison-table th.highlight-col::after,
    .comparison-table td.highlight-col::after {
        display: none;
    }
}

/* 3. GLASSMORPHISM UTILITIES - SLEEK VERSION */
.glass-panel {
    background: var(--glass-bg-light);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    padding: 3.5rem; /* More padding for whitespace */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.glass-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px -10px rgba(38, 95, 161, 0.12);
}

.glass-panel-dark {
    background: var(--glass-bg-dark);
    color: var(--pure-white);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px -10px rgba(14, 42, 71, 0.25);
    padding: 3.5rem;
}

.glass-panel-dark h2, .glass-panel-dark h3, .glass-panel-dark h4 {
    color: var(--pure-white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); /* Dark panel specific shadow */
}
.glass-panel-dark p { color: rgba(255,255,255,0.9); }

/* 4. LAYOUT COMPONENTS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0; /* Reduced padding to make navbar less tall */
}

.logo img {
    height: 66px;
    width: auto;
}

.nav-links a {
    color: var(--cream-white);
    text-decoration: none;
    font-weight: 600;
    margin-left: 2.5rem; /* Increased spacing */
    transition: color 0.3s;
    font-size: 0.95rem;
}
.nav-links a:hover { color: var(--pure-white); }

/* Highlight Style for Financing Nav Link */
.nav-links .btn-financing {
    background-color: #fffce8;
    color: #975a16 !important;
    border: 1px solid rgba(214, 158, 46, 0.4);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    margin-left: 1.5rem;
    transition: all 0.2s ease;
}
.nav-links .btn-financing:hover {
    background-color: #fefcbf;
    color: #744210;
    box-shadow: 0 4px 12px rgba(214, 158, 46, 0.15);
    transform: translateY(-1px);
}

/* Ensure nav button keeps white text despite nav-link styles */
.nav-links .btn {
    color: #ffffff;
}
.nav-links .btn:hover {
    color: #ffffff;
}

/* Hero */
.hero {
    text-align: center;
    padding: 6rem 0 3rem; /* Increased top padding */
    position: relative;
    overflow: hidden; 
}

/* Subtle Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* Softer blur */
    z-index: -1;
    opacity: 0.4; /* Reduced opacity */
    animation: float 15s infinite ease-in-out; /* Slower animation */
}
.blob-1 { top: -20%; left: -10%; width: 600px; height: 600px; background: var(--trust-blue-light); }
.blob-2 { bottom: 0%; right: -15%; width: 500px; height: 500px; background: #fffce5; animation-delay: -5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

/* Subtle Wave Graphic */
.wave-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08; /* Very subtle background presence */
    z-index: -1;
    pointer-events: none;
}

.hero h1 { font-size: 4.2rem; margin-bottom: 1.5rem; line-height: 1.1; color: var(--deep-navy); letter-spacing: -2px; }
.hero p { font-size: 1.25rem; max-width: 700px; margin: 0 auto 2rem; color: var(--text-grey); }
.hero-support-line { font-weight: 600; color: var(--trust-blue); margin-bottom: 0.5rem; display: block; letter-spacing: 0.5px; text-transform: uppercase; font-size: 0.9rem; }
.hero-concrete-line { font-weight: 600; color: var(--deep-navy); margin-bottom: 3rem; display: block; font-size: 1.1rem; }

/* Flow Cue */
.flow-cue {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0 auto 4rem;
    max-width: 800px;
    flex-wrap: wrap;
}
.flow-step {
    font-weight: 600;
    color: var(--deep-navy);
    opacity: 1;
    font-size: 1rem;
    white-space: nowrap;
    background: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}
.flow-connector {
    flex-grow: 1;
    height: 2px;
    background: #f0f0f0;
    min-width: 30px;
    max-width: 60px;
}

@media (max-width: 600px) {
    .flow-connector { display: none; }
    .flow-cue { flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
}


/* Sections */
.section-spacer { padding: 6rem 0; } /* More vertical space */

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

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

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

/* Lists styled for "Right Fit" */
.check-list, .cross-list { list-style: none; margin-top: 1.5rem; padding-left: 0;}
.check-list li, .cross-list li { margin-bottom: 1rem; padding-left: 2.5rem; position: relative; font-size: 1.05rem; }

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute; left: 0; top: 4px;
    color: var(--trust-blue);
    font-size: 1.1rem;
}

.cross-list li::before {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute; left: 0; top: 4px;
    color: #a0aec0; /* Soft grey/blue for negative */
    font-size: 1.1rem;
}

/* 5. INTERACTIVE ELEMENTS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700; /* Increased from 600 for better legibility */
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--trust-blue-dark); /* Darker blue for high contrast against light backgrounds */
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(27, 71, 126, 0.15); /* Cleaner, more subtle shadow */
}
.btn-primary:hover {
    background: var(--trust-blue); /* Brighter brand blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(38, 95, 161, 0.25);
}

/* Form */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--deep-navy); font-size: 0.9rem; }
.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}
.form-input:focus {
    outline: none;
    border-color: var(--trust-blue);
    box-shadow: 0 0 0 4px rgba(38, 95, 161, 0.1);
}

.qualifier-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #f0f0f0;
}
.qualifier-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    display: block;
    letter-spacing: -0.5px;
}
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.radio-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-pill span {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600; /* Slightly bolder */
    color: var(--text-grey);
    cursor: pointer;
    transition: all 0.2s ease;
}
.radio-pill input:checked + span {
    background: var(--trust-blue-dark); /* Matches primary button */
    color: white;
    border-color: var(--trust-blue-dark);
    box-shadow: 0 4px 12px rgba(27, 71, 126, 0.2);
}
.radio-pill span:hover { border-color: var(--trust-blue); color: var(--trust-blue-dark); }

/* Modal */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(14, 42, 71, 0.5); /* Navy tint overlay */
    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: 450px;
    width: 90%;
    text-align: center;
    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); }

/* Footer */
footer {
    background-color: var(--trust-blue-dark);
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    color: var(--cream-white);
    padding: 4rem 0;
    text-align: center;
    margin-top: 6rem;
}
footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
footer a:hover { color: white; }

/* Footer structure: contact + explore links + social */
.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: var(--trust-blue-light);
    margin-bottom: 0.9rem;
}
.footer-col p { margin-bottom: 0.4rem; font-size: 0.92rem; opacity: 0.85; }
.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; }
/* Animated social icons */
.footer-social a,
.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.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.3s ease, border-color 0.3s ease,
                box-shadow 0.35s ease, color 0.3s ease;
}
.social-link svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    animation: social-float 3.6s ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
}
.social-link:nth-child(2) { --float-delay: 0.45s; }
.social-link:nth-child(3) { --float-delay: 0.9s; }
.social-link:nth-child(4) { --float-delay: 1.35s; }
.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(-6px) scale(1.12) rotate(-6deg);
    background: var(--brand);
    border-color: var(--brand);
    color: var(--ink);
    box-shadow: 0 12px 24px -8px var(--brand), 0 0 0 4px rgba(255, 255, 255, 0.06);
}
.social-link:hover svg { animation: social-pop 0.45s ease; }
@keyframes social-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
@keyframes social-pop {
    0% { transform: scale(1) rotate(0); }
    45% { transform: scale(1.22) rotate(8deg); }
    100% { transform: scale(1) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
    .social-link svg { animation: none; }
    .social-link:hover,
    .social-link:focus-visible { transform: none; }
    .social-link:hover svg { animation: none; }
}
.footer-social-note { font-size: 0.78rem; opacity: 0.6; }
@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 1.75rem; }
    .footer-social { justify-content: center; }
}

.process-time {
    display: block;
    font-size: 0.8rem;
    color: var(--trust-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile */
@media (max-width: 900px) {
    .hero h1 { font-size: 3.2rem; letter-spacing: -1px; }
    h2 { font-size: 2.2rem; }
    .nav-links { display: none; } 
    .nav-container { justify-content: center; }
    .glass-panel { padding: 2rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 2rem; }
}

/* ==========================================================================
   PREMIUM ANIMATION SYSTEM (added by animation pass)
   --------------------------------------------------------------------------
   Subtle, water-inspired motion overlay for AITCOH landing page.
   Sections:
     A. Hero ambient particle canvas styling
     B. Scroll reveal targets (class is added by JS, not present in HTML)
     C. Liquid glass shine on .glass-panel / .glass-panel-dark
     D. Premium CTA effects (hover lift, soft glow, gentle pulse)
     E. Process section sequential reveal + active-state number glow
     F. Highlighted comparison column soft top-to-bottom sheen
     G. Form micro-interactions (radio pills, focus, submit loading)
     H. prefers-reduced-motion + tab-visibility safeguards
   Tune by adjusting the keyframe durations / transition values below.
   ========================================================================== */

/* --- A. Hero ambient particle canvas --- */
.hero-particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}
/* Keep hero content stacked above the canvas */
.hero .container {
    position: relative;
    z-index: 1;
}

/* --- B. Scroll reveal targets --- */
.reveal-target {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
                transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: opacity, transform;
}
.reveal-target.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- C. Liquid glass shine on glass panels --- */
.glass-panel,
.glass-panel-dark {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.glass-panel::before,
.glass-panel-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 55%;
    height: 100%;
    background: linear-gradient(115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 35%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0) 65%,
        rgba(255, 255, 255, 0) 100%);
    transform: skewX(-18deg);
    pointer-events: none;
    z-index: 2;
    animation: glassShine 13s ease-in-out infinite;
    animation-delay: 3s;
}
.glass-panel-dark::before {
    background: linear-gradient(115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(218, 235, 249, 0) 35%,
        rgba(218, 235, 249, 0.10) 50%,
        rgba(255, 255, 255, 0) 65%,
        rgba(255, 255, 255, 0) 100%);
}
@keyframes glassShine {
    0%   { left: -75%; opacity: 0; }
    8%   { opacity: 1; }
    55%  { left: 130%; opacity: 1; }
    60%  { opacity: 0; }
    100% { left: 130%; opacity: 0; }
}
/* Disable shine on small screens for performance */
@media (max-width: 768px) {
    .glass-panel::before,
    .glass-panel-dark::before {
        display: none;
    }
}

/* --- D. Premium CTA effects ---
   Pulse is opt-in via .btn-pulse (applied only to the final form submit
   button). All other .btn-primary CTAs keep hover lift + halo without
   pulsing, so multiple primary CTAs no longer compete for attention. */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(38, 95, 161, 0);
    transition: box-shadow 0.5s ease;
    pointer-events: none;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(38, 95, 161, 0.30),
                0 0 0 1px rgba(38, 95, 161, 0.05);
}
.btn-primary:hover::after {
    box-shadow: 0 0 0 6px rgba(38, 95, 161, 0.10);
}

/* Pulse opt-in: applied only to the form submit button via the .btn-pulse class */
.btn-pulse {
    animation: ctaPulse 4.5s ease-in-out infinite;
}
.btn-pulse:hover {
    /* Hover takes over from the pulse for a clean glow */
    animation: none;
}
.btn-pulse.is-loading {
    animation: none;
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(27, 71, 126, 0.15); }
    50%      { box-shadow: 0 6px 20px rgba(38, 95, 161, 0.28); }
}

/* --- E. Process section: sequential reveal + active number glow --- */
/* Process cards are reveal-targets via JS; stagger comes from inline transition-delay.
   When a card becomes visible, the big numeral (first child span) gets a soft glow. */
#process .grid-4 > .glass-panel > span:first-child {
    transition: text-shadow 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
#process .grid-4 > .glass-panel.is-visible > span:first-child {
    text-shadow: 0 6px 24px rgba(38, 95, 161, 0.28);
}
#process .grid-4 > .glass-panel:hover > span:first-child {
    transform: translateY(-2px);
}

/* --- F. Highlighted comparison column soft sheen --- */
.comparison-table th.highlight-col,
.comparison-table td.highlight-col {
    position: relative;
    overflow: hidden;
}
.comparison-table th.highlight-col::after,
.comparison-table td.highlight-col::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(110deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    animation: tableSheen 9s ease-in-out infinite;
}
/* Header cell sweep is more subtle since text is white-on-blue */
.comparison-table th.highlight-col::after {
    background: linear-gradient(110deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0) 100%);
}
/* Stagger delays create a top-to-bottom flow down the column */
.comparison-table thead .highlight-col::after                  { animation-delay: 0s; }
.comparison-table tbody tr:nth-child(1) .highlight-col::after  { animation-delay: 0.4s; }
.comparison-table tbody tr:nth-child(2) .highlight-col::after  { animation-delay: 0.8s; }
.comparison-table tbody tr:nth-child(3) .highlight-col::after  { animation-delay: 1.2s; }
.comparison-table tbody tr:nth-child(4) .highlight-col::after  { animation-delay: 1.6s; }
.comparison-table tbody tr:nth-child(5) .highlight-col::after  { animation-delay: 2.0s; }
@keyframes tableSheen {
    0%   { left: -120%; }
    55%  { left: 160%; }
    100% { left: 160%; }
}
@media (max-width: 768px) {
    .comparison-table th.highlight-col::after,
    .comparison-table td.highlight-col::after {
        display: none;
    }
}

/* --- G. Form micro-interactions --- */
.radio-pill span {
    transition: background-color 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease,
                transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.radio-pill input:checked + span {
    transform: translateY(-1px);
    animation: radioSelect 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes radioSelect {
    0%   { transform: scale(0.96) translateY(0); }
    55%  { transform: scale(1.06) translateY(-2px); }
    100% { transform: scale(1) translateY(-1px); }
}
.form-input {
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease,
                transform 0.25s ease;
}
.form-input:focus {
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(38, 95, 161, 0.10),
                0 8px 24px -8px rgba(38, 95, 161, 0.18);
}
.form-input:hover:not(:focus) {
    border-color: rgba(38, 95, 161, 0.4);
}
/* Submit button loading state, applied by JS on form submit */
.btn-primary.is-loading {
    pointer-events: none;
    opacity: 0.85;
    animation: none;
}
.btn-primary.is-loading::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 0.65rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    vertical-align: -2px;
    animation: btnSpin 0.8s linear infinite;
}
@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* --- H. prefers-reduced-motion safeguards --- */
@media (prefers-reduced-motion: reduce) {
    .hero-particle-canvas { display: none; }
    .glass-panel::before,
    .glass-panel-dark::before,
    .comparison-table th.highlight-col::after,
    .comparison-table td.highlight-col::after { display: none; }
    .btn-pulse { animation: none; }
    .reveal-target {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .radio-pill input:checked + span { animation: none; }
    .btn-primary.is-loading::before { animation: none; }
    header { animation: none; }
}

/* ==========================================================================
   SERVICE AREA CALLOUT
   Used by the #service-area section. Sits inside .glass-panel-dark so it
   inherits the existing dark glass styling, shine, and reveal animation.
   ========================================================================== */
.service-area-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--trust-blue-light);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 1.25rem;
}
.service-area-eyebrow i { font-size: 1rem; }

.service-area-cities {
    max-width: 820px;
    margin: 2.25rem auto 2.75rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.4px;
    line-height: 2.2;
    color: rgba(255, 253, 245, 0.92);
}
.service-area-cities span { white-space: nowrap; }
.service-area-cities .sep {
    color: var(--trust-blue-light);
    opacity: 0.45;
    margin: 0 0.55rem;
    font-weight: 400;
}

/* Light CTA: high-contrast cream button for use on the dark navy panel */
.btn-cta-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.05rem 2.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    background: var(--cream-white);
    color: var(--deep-navy);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28),
                0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.35s ease;
    border: none;
    cursor: pointer;
}
.btn-cta-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36),
                0 0 0 1px rgba(255, 255, 255, 0.18);
    color: var(--deep-navy);
}

@media (max-width: 600px) {
    .service-area-cities { font-size: 0.92rem; line-height: 2.1; }
    .service-area-cities .sep { margin: 0 0.35rem; }
}
@media (prefers-reduced-motion: reduce) {
    .btn-cta-light { transition: none; }
}

/* ==========================================================================
   HERO ZIP QUICK-CHECK
   --------------------------------------------------------------------------
   Compact secondary conversion card inside the hero glass panel.
   On submit, scrolls the user to #availability and prefills #quoteZip.
   Uses .btn .btn-primary for the button so it inherits the brand pulse,
   hover lift, and color tokens defined elsewhere.
   ========================================================================== */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* Honeypot field — invisible to humans, present in DOM for naive bots.
   Avoids display:none / visibility:hidden so simple bot detectors are
   less likely to skip it. */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.zip-check {
    max-width: 560px;
    margin: 2.25rem auto 0;
    padding: 1.75rem 1.5rem;
    background: linear-gradient(180deg, rgba(218, 235, 249, 0.75) 0%, rgba(255, 253, 245, 0.55) 100%);
    border: 1px solid rgba(38, 95, 161, 0.18);
    border-radius: 20px;
    box-shadow: 0 10px 28px -14px rgba(38, 95, 161, 0.25);
    text-align: left;
}
.zip-check .zip-check-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
    text-shadow: none; /* override the global h3 shadow */
    line-height: 1.3;
}
.zip-check > p {
    font-size: 0.92rem;
    color: var(--text-grey);
    line-height: 1.55;
    margin: 0 0 1.25rem;
    font-weight: 400;
}
.zip-check-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: stretch;
}
.zip-check-input {
    flex: 1 1 180px;
    min-width: 0;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid rgba(38, 95, 161, 0.25);
    background: var(--pure-white);
    border-radius: 50px;
    color: var(--deep-navy);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.zip-check-input::placeholder { color: #94a3b8; }
.zip-check-input:focus {
    outline: none;
    border-color: var(--trust-blue);
    box-shadow: 0 0 0 4px rgba(38, 95, 161, 0.14),
                0 6px 18px -8px rgba(38, 95, 161, 0.2);
    transform: translateY(-1px);
}
.zip-check-form .btn-primary {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.9rem 1.6rem;
}
/* Brief flash so users see their ZIP land in the main form after handoff */
.zip-check-prefilled {
    animation: zipPrefillFlash 1.2s ease-out;
}
@keyframes zipPrefillFlash {
    0%   { box-shadow: 0 0 0 0   rgba(38, 95, 161, 0.0); }
    30%  { box-shadow: 0 0 0 6px rgba(38, 95, 161, 0.18); }
    100% { box-shadow: 0 0 0 0   rgba(38, 95, 161, 0.0); }
}

/* Result region — populated after the user submits a ZIP */
.zip-check-result {
    margin-top: 1.1rem;
    padding: 0.95rem 1.1rem;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.55;
    animation: zipResultIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.zip-check-result[hidden] { display: none; }
.zip-check-result strong { font-weight: 800; }
.zip-check-result a {
    color: var(--trust-blue-dark);
    font-weight: 700;
    text-decoration: underline;
}
.zip-check-result a:hover { color: var(--trust-blue); }
.zip-check-result .result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    margin-right: 0.55rem;
    font-size: 0.8rem;
    vertical-align: -7px;
    color: #fff;
    flex-shrink: 0;
}
/* Positive: brand blue */
.zip-check-result.is-positive {
    background: rgba(38, 95, 161, 0.07);
    border: 1px solid rgba(38, 95, 161, 0.25);
    color: var(--deep-navy);
}
.zip-check-result.is-positive .result-icon {
    background: var(--trust-blue);
}
/* Negative: warm gold (informative, not alarming) */
.zip-check-result.is-negative {
    background: rgba(214, 158, 46, 0.10);
    border: 1px solid rgba(214, 158, 46, 0.35);
    color: #744210;
}
.zip-check-result.is-negative .result-icon {
    background: var(--accent-gold);
}
@keyframes zipResultIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .zip-check {
        padding: 1.5rem 1.25rem;
        margin-top: 2rem;
        border-radius: 16px;
    }
    .zip-check-form { flex-direction: column; }
    .zip-check-form .btn-primary { width: 100%; }
    /* Without this override, flex: 1 1 180px gets interpreted as height
       once the form switches to column flow, ballooning the input. */
    .zip-check-input { flex: 0 0 auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .zip-check-input { transition: none; }
    .zip-check-prefilled { animation: none; }
    .zip-check-result { animation: none; }
}

/* ==========================================================================
   PHONE CTAs — desktop nav + mobile sticky bottom bar
   --------------------------------------------------------------------------
   Desktop:  .nav-phone is a quiet pill in the nav, secondary to .btn-financing.
   Mobile:   .mobile-cta-bar is a fixed full-width Call Now bar at the bottom
             of the viewport. Always visible below 768px and respects iPhone
             safe-area insets.
   ========================================================================== */

/* --- Desktop: quiet phone pill in the navbar --- */
.nav-links .nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.15rem;
    /* Inherits .nav-links a margin-left: 2.5rem */
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    color: var(--cream-white);
    font-size: 0.85rem;
    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 i { font-size: 0.8rem; opacity: 0.9; }
.nav-links .nav-phone:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--pure-white);
    transform: translateY(-1px);
}
/* Trim a touch of horizontal margin on mid-desktop widths so the row fits */
@media (max-width: 1080px) {
    .nav-links .nav-phone { margin-left: 1.25rem; padding: 0.45rem 0.95rem; }
}

/* --- Mobile sticky bottom CTA bar --- */
.mobile-cta-bar { display: none; }

@media (max-width: 768px) {
    .mobile-cta-bar {
        /* Always visible, anchored to the bottom of the viewport */
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1200; /* above sticky nav (1100), below modals (2000) */
        padding: 0.7rem 0.85rem;
        /* Account for iPhone home indicator / Android gesture bar */
        padding-bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(38, 95, 161, 0.12);
        box-shadow: 0 -8px 24px -8px rgba(38, 95, 161, 0.18);
    }
    /* Single-button layout: span the full bar width, centered */
    .mobile-cta-bar__btn {
        flex: 1 1 100%;
        width: 100%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        padding: 1rem 1rem;
        border-radius: 50px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 1rem;
        letter-spacing: 0.3px;
        text-decoration: none;
        white-space: nowrap;
        transition: transform 0.15s ease, box-shadow 0.2s ease;
    }
    .mobile-cta-bar__btn i { font-size: 1rem; }
    /* Now the dominant single action: filled trust-blue */
    .mobile-cta-bar__btn--call {
        background: var(--trust-blue-dark);
        color: var(--pure-white);
        box-shadow: 0 6px 16px rgba(27, 71, 126, 0.30);
    }
    .mobile-cta-bar__btn--call:hover,
    .mobile-cta-bar__btn--call:focus {
        background: var(--trust-blue);
        color: var(--pure-white);
    }
    .mobile-cta-bar__btn:active { transform: translateY(1px); }

    /* Reserve room at the bottom of the page so the bar never covers the form,
       footer copy, or other content. ~84px bar + iPhone safe-area inset. */
    body {
        padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }
    /* When the mobile keyboard pushes a focused field upward, the browser
       scrolls it into view. scroll-padding-bottom keeps the field sitting
       comfortably above the fixed Call Now bar instead of behind it. */
    html {
        scroll-padding-bottom: 110px;
    }
}

/* --- Even narrower phones: tighten padding a hair --- */
@media (max-width: 360px) {
    .mobile-cta-bar { padding: 0.6rem 0.65rem; }
    .mobile-cta-bar__btn {
        padding: 0.9rem 0.6rem;
        font-size: 0.95rem;
        letter-spacing: 0.2px;
    }
}

/* ==========================================================================
   MOBILE FORMAT POLISH PASS
   --------------------------------------------------------------------------
   Layered on top of existing 900/768/600/360 breakpoints. Tightens spacing,
   sizes type for thumbs and small viewports, and overrides inline styles
   that previously locked desktop dimensions onto phones.
     - 768px: tablet/phone boundary — section rhythm + container padding tighten
     - 600px: small phones — typography scales, grids stack, touch targets grow
     - 380px: ultra-narrow phones — final headline + padding compaction
   !important is used only to defeat inline style attributes that can't be
   reached otherwise (process cards, name-grid, #availability bottom padding).
   ========================================================================== */

@media (max-width: 768px) {
    /* Section rhythm: cut the giant 6rem vertical padding nearly in half */
    .section-spacer { padding: 3.5rem 0; }

    /* Container hugs the viewport more on phones */
    .container { padding: 0 1.25rem; }

    /* Hero: less air above the headline so it lives above the fold */
    .hero { padding: 3rem 0 2rem; }

    /* Hero typography pacing for phone reading */
    .hero h1 { font-size: 2.6rem; letter-spacing: -0.5px; line-height: 1.12; }
    .hero p { font-size: 1.05rem; }
    .hero-concrete-line { font-size: 0.95rem; margin-bottom: 2rem; }

    /* Override the inline padding-bottom: 8rem on the qualification section
       so the new mobile bar's 80px reserved padding isn't doubled up */
    #availability.section-spacer { padding-bottom: 3rem !important; }

    /* Process cards (inline padding: 2.5rem) lose a touch on mobile */
    #process .grid-4 > .glass-panel { padding: 1.75rem !important; }
    #process .grid-4 > .glass-panel > span:first-child {
        font-size: 2.6rem !important; /* override inline 3.5rem numerals */
    }

    /* FAQ + Senior Savings + similar h2 hairline reduction */
    h2 { font-size: 2rem; line-height: 1.2; }
    h3 { font-size: 1.55rem; }

    /* Footer breathing room reduced */
    footer { padding: 3rem 0; margin-top: 3rem; }
    footer img { height: 100px !important; }
}

@media (max-width: 600px) {
    /* Even tighter container for sub-iPhone-Pro widths */
    .container { padding: 0 1rem; }

    /* Glass panel inner padding compresses (existing 900px rule sets 2rem;
       at 600 we drop to 1.5rem so cards have more usable text width) */
    .glass-panel { padding: 1.75rem 1.5rem; }
    .glass-panel-dark { padding: 1.75rem 1.5rem; }

    /* Hero: final size step for narrow phones */
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; line-height: 1.6; }
    .hero-support-line { font-size: 0.78rem; letter-spacing: 0.4px; }

    /* Stack the inline 1fr 1fr name grid into a single column.
       Targets the inline style attribute since the wrapper has no class. */
    #quoteForm div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Radio pills: meet 44px touch target minimum + a hair more breathing */
    .radio-pill span {
        padding: 0.95rem 1.35rem;
        font-size: 0.95rem;
    }
    .radio-group { gap: 0.65rem; }

    /* Form inputs: bump tap height; keep typography readable */
    .form-input {
        padding: 1rem 1.1rem;
        font-size: 1rem;
    }

    /* Comparison table: a bit more density for narrow viewports */
    .comparison-table th, .comparison-table td {
        padding: 0.85rem 0.6rem;
        font-size: 0.82rem;
    }

    /* Trim the 2.5rem section margins on inline lists/cards a little */
    .qualifier-section { margin-bottom: 2rem; padding-bottom: 2rem; }

    /* Section spacing compresses one more notch */
    .section-spacer { padding: 2.75rem 0; }

    /* Process numerals one more step down */
    #process .grid-4 > .glass-panel > span:first-child {
        font-size: 2.25rem !important;
    }

    /* Service-area city row: shrink and tighten so it doesn't dominate */
    .service-area-cities { font-size: 0.88rem; line-height: 1.95; }

    /* Hero ZIP card padding aligns with the new card padding */
    .zip-check { padding: 1.35rem 1.1rem; }
    .zip-check .zip-check-title { font-size: 1.05rem; }
    .zip-check > p { font-size: 0.88rem; }
}

@media (max-width: 380px) {
    /* Ultra-narrow phones (iPhone SE 1st gen, older Androids) */
    .container { padding: 0 0.85rem; }
    .hero h1 { font-size: 2rem; letter-spacing: 0; }
    h2 { font-size: 1.7rem; }
    .glass-panel,
    .glass-panel-dark { padding: 1.5rem 1.15rem; }
    .btn { padding: 0.95rem 1.5rem; font-size: 0.95rem; }
    /* Form qualifier titles smaller so they don't wrap mid-word */
    .qualifier-title { font-size: 1rem; }
}

/* ==========================================================================
   TRUST STRIP — visual proof points below the partner trust bar
   --------------------------------------------------------------------------
   Six icon cards: Licensed GC, Aging-in-Place, [Service Option], Safety
   Packages, Financing, Local Consultation. Single horizontal row on
   desktop, 3 cols on tablet, stacked on mobile (icon-left layout).
   ========================================================================== */

.trust-strip {
    padding: 2.5rem 0 3.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-bottom: 1px solid rgba(38, 95, 161, 0.06);
}
.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.trust-strip-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--cream-white);
    border: 1px solid rgba(38, 95, 161, 0.12);
    border-radius: 16px;
    padding: 1.5rem 0.85rem;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}
.trust-strip-card:hover {
    transform: translateY(-3px);
    border-color: rgba(38, 95, 161, 0.28);
    box-shadow: 0 10px 24px -10px rgba(38, 95, 161, 0.20);
}
.trust-strip-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--trust-blue-light);
    color: var(--trust-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.85rem;
    flex-shrink: 0;
}
.trust-strip-icon img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    display: block;
}

/* ===== Branded photo placeholders (real photography drops in later) ===== */
.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    text-align: center;
    padding: 1.5rem;
    background:
        radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,0.65), rgba(255,255,255,0) 60%),
        linear-gradient(135deg, var(--trust-blue-light) 0%, #ffffff 100%);
    border: 1px solid rgba(38, 95, 161, 0.12);
    border-radius: 16px;
    color: var(--trust-blue-dark);
}
.photo-placeholder--feature { min-height: 180px; }
.photo-placeholder--tall { min-height: 200px; }
.service-card-media .photo-placeholder { width: 100%; height: 100%; border: none; border-radius: 12px; }

/* ===== Shared product-media utilities (sync one place across product pages) ===== */
.hero-product-media {
    display: block;
    width: 80%;
    max-width: 640px;
    min-height: 320px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(38, 95, 161, 0.15);
}
.section-product-media {
    display: block;
    width: 100%;
    max-width: 600px;
    min-height: 320px;
    margin: 0 auto 4rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(38, 95, 161, 0.1);
}
.section-product-media--sm {
    max-width: 300px;
    min-height: 180px;
    margin-bottom: 1.5rem;
    box-shadow: none;
}
.card-product-media {
    width: 100%;
    min-height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
}

/* ===== Visible keyboard focus state (WCAG 2.4.7) ===== */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-cta-light:focus-visible,
.btn-financing:focus-visible,
.service-card-cta:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--radiant-gold);
    outline-offset: 3px;
    border-radius: 4px;
}
.radio-pill input:focus-visible + span {
    outline: 3px solid var(--radiant-gold);
    outline-offset: 3px;
}
.glass-panel-dark .photo-placeholder {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--cream-white);
}

/* ===== Standard icon placeholder (stands in for every icon) ===== */
.icon-ph {
    display: inline-block;
    line-height: 1;
    vertical-align: -0.05em;
}
.icon-ph::before {
    content: "\2605"; /* solid star placeholder — marks each spot that still needs a real icon */
    color: #d69e2e;
}
.trust-strip-icon .icon-ph { font-size: 1.6rem; }
.trust-strip-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--deep-navy);
    line-height: 1.35;
    letter-spacing: -0.1px;
    margin: 0;
}

/* Tablet: 3 columns × 2 rows */
@media (max-width: 1080px) {
    .trust-strip-grid { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
}
/* Mobile: stacked single column with horizontal icon-left card layout */
@media (max-width: 600px) {
    .trust-strip { padding: 2rem 0 2.5rem; }
    .trust-strip-grid { grid-template-columns: 1fr; gap: 0.65rem; }
    .trust-strip-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 1rem 1.15rem;
        gap: 1rem;
    }
    .trust-strip-icon {
        width: 44px;
        height: 44px;
        font-size: 1.05rem;
        margin-bottom: 0;
    }
    .trust-strip-label { font-size: 0.95rem; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
    .trust-strip-card { transition: none; }
}

/* ==========================================================================
   SERVICE SELECTOR — four-card row that funnels into the qualification form
   --------------------------------------------------------------------------
   Cards reuse .glass-panel for the brand glass look (shine, top gloss,
   reveal animation), then override padding for card-appropriate sizing.
   Each CTA carries data-service so the form's hidden #quoteService input
   can be prefilled before the smooth-scroll anchors to #availability.
   ========================================================================== */

.brand-name { font-style: italic; }

.services-header { margin-bottom: 2.75rem; }
.services-header h2 { margin-bottom: 0.85rem; }
.services-header p {
    max-width: 740px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-grey);
}

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

/* Card itself — applied alongside .glass-panel; overrides its 3.5rem padding
   and reshapes the layout so media + copy + CTA align cleanly. */
.service-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.service-card:hover {
    /* Glass-panel already lifts on hover; we only adjust subtleties */
    border-color: rgba(38, 95, 161, 0.18);
}

/* Placeholder media area — replace inner contents with <img> when ready. */
.service-card-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--trust-blue-light); /* fallback while image loads */
    border-radius: 12px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    position: relative;
}
.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.service-card:hover .service-card-media img {
    transform: scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
    .service-card-media img,
    .service-card:hover .service-card-media img { transition: none; transform: none; }
}

.service-card-title {
    font-size: 1.25rem;
    margin: 0 0 0.6rem;
    color: var(--deep-navy);
    line-height: 1.25;
    text-shadow: none;
}
.service-card-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-grey);
    margin: 0 0 1.4rem;
    flex-grow: 1; /* push the CTA to the bottom for even card heights */
    font-weight: 400;
}
.service-card-cta {
    align-self: stretch;
    text-align: center;
    padding: 0.9rem 1.1rem;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    animation: none; /* no pulse on these — keep the hero CTA the loudest */
}

/* Tablet: 2 columns × 2 rows */
@media (max-width: 1080px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
/* Mobile: stacked single column */
@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; gap: 1.15rem; }
    .service-card { padding: 1.25rem; }
    .service-card-title { font-size: 1.15rem; }
    .service-card-desc { font-size: 0.9rem; margin-bottom: 1.15rem; }
    .services-header { margin-bottom: 2rem; }
    .services-header p { font-size: 1rem; }
}

/* ==========================================================================
   CURRENT OFFERS — voucher-strip layout (intentionally NOT another card grid)
   --------------------------------------------------------------------------
   Three offers stack vertically inside one bordered "ticket book" with
   dashed-line dividers between them. Each row pairs a left value badge
   (gold for the discount, soft blue for the others) with a title +
   description on the right. Distinct visual rhythm from the .glass-panel
   grids elsewhere on the page.
   ========================================================================== */

.offers-section {
    /* Soft warm-cream background distinguishes this section from the
       blue/white sections above and below. */
    background: linear-gradient(180deg, #fffaf0 0%, #fffdf5 100%);
}

.offers-header { margin-bottom: 3rem; }
.offers-header h2 { margin-bottom: 0.85rem; }
.offers-header p {
    max-width: 740px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-grey);
}

/* The "ticket book" wrapper — single bordered card holding all three offers */
.offers-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 920px;
    background: var(--cream-white);
    border: 1px solid rgba(38, 95, 161, 0.14);
    border-radius: 20px;
    box-shadow: 0 14px 36px -18px rgba(38, 95, 161, 0.20);
    overflow: hidden;
}

.offer-row {
    display: flex;
    align-items: stretch;
    gap: 1.75rem;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px dashed rgba(38, 95, 161, 0.20);
    background: transparent;
    transition: background 0.3s ease;
}
.offer-row:last-child { border-bottom: none; }
.offer-row:hover { background: rgba(218, 235, 249, 0.28); }

/* Left value badge — like a coupon stub */
.offer-row-badge {
    flex: 0 0 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0.85rem 0.5rem;
    text-align: center;
    background: var(--trust-blue-light);
    color: var(--trust-blue);
    border: 1.5px solid rgba(38, 95, 161, 0.20);
}
.offer-row-badge-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}
.offer-row-badge-icon {
    font-size: 1.55rem;
    margin-bottom: 0.35rem;
}
.offer-row-badge-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 0.2rem;
    opacity: 0.85;
}

/* Gold variant — only for the headline discount offer */
.offer-row--gold .offer-row-badge {
    background: #fff8e1;
    color: #975a16;
    border-color: rgba(214, 158, 46, 0.45);
}

/* Right body — title + description */
.offer-row-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.offer-row-title {
    font-size: 1.25rem;
    margin: 0 0 0.45rem;
    color: var(--deep-navy);
    line-height: 1.25;
    text-shadow: none;
}
.offer-row-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-grey);
    margin: 0;
    font-weight: 400;
}

/* CTA + disclaimer below the ticket book */
.offers-cta-wrapper { margin-top: 2.5rem; }
.offers-cta { padding: 1.05rem 2.75rem; font-size: 1rem; }
.offers-disclaimer {
    margin: 1rem auto 0;
    font-size: 0.78rem;
    color: var(--text-grey);
    opacity: 0.7;
    max-width: 620px;
    line-height: 1.55;
}

/* Mobile: badge sits on top of the body, dividers shrink, padding tightens */
@media (max-width: 600px) {
    .offers-list { border-radius: 16px; }
    .offer-row {
        flex-direction: column;
        gap: 0.85rem;
        padding: 1.25rem;
        align-items: flex-start;
    }
    .offer-row-badge {
        flex: 0 0 auto;
        flex-direction: row;
        gap: 0.55rem;
        padding: 0.45rem 0.85rem;
        align-self: flex-start;
    }
    .offer-row-badge-value { font-size: 1.35rem; }
    .offer-row-badge-icon { font-size: 1.15rem; margin-bottom: 0; }
    .offer-row-badge-label { margin-top: 0; font-size: 0.68rem; }
    .offer-row-title { font-size: 1.1rem; }
    .offer-row-text { font-size: 0.9rem; }
    .offers-header { margin-bottom: 2.25rem; }
    .offers-header p { font-size: 1rem; }
    .offers-cta-wrapper { margin-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
    .offer-row { transition: none; }
}

/* ==========================================================================
   WORKMANSHIP CLARIFICATION — sits below the comparison table, supports
   the "1-Year Workmanship Warranty" row with documented context. Two-column
   editorial layout (text + small certified card) so it reads differently
   from the surrounding card grids.
   ========================================================================== */

.workmanship-section {
    /* Soft blue tint, slightly different from the #advantage section above
       so the eye registers a section change without a hard visual break. */
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.workmanship-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
}

.workmanship-text h2 {
    margin: 0 0 1rem;
    font-size: 2.2rem;
    line-height: 1.2;
}
.workmanship-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-grey);
    margin: 0;
}

/* Supporting "documented" card — feels like a small certificate/seal */
.workmanship-card {
    position: relative;
    background: var(--cream-white);
    border: 1px solid rgba(38, 95, 161, 0.18);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    box-shadow: 0 14px 36px -18px rgba(38, 95, 161, 0.22);
    text-align: left;
}
/* Quiet trust-blue accent stripe along the top, like a document header */
.workmanship-card::before {
    content: '';
    position: absolute;
    top: 0; left: 1.75rem; right: 1.75rem;
    height: 3px;
    background: linear-gradient(90deg,
        rgba(38, 95, 161, 0) 0%,
        rgba(38, 95, 161, 0.55) 50%,
        rgba(38, 95, 161, 0) 100%);
    border-radius: 0 0 3px 3px;
}
.workmanship-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--trust-blue-light);
    color: var(--trust-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.workmanship-card-title {
    font-size: 1.15rem;
    margin: 0 0 0.6rem;
    color: var(--deep-navy);
    line-height: 1.25;
    text-shadow: none;
    letter-spacing: -0.01em;
}
.workmanship-card-text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-grey);
    margin: 0;
    font-weight: 400;
}

/* Tablet: stacked, but text + card still feel paired */
@media (max-width: 900px) {
    .workmanship-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 640px;
    }
    .workmanship-text h2 { font-size: 1.85rem; }
}
@media (max-width: 600px) {
    .workmanship-text h2 { font-size: 1.6rem; }
    .workmanship-text p { font-size: 0.98rem; line-height: 1.6; }
    .workmanship-card { padding: 1.5rem 1.25rem; }
    .workmanship-card::before { left: 1.25rem; right: 1.25rem; }
}


/* ==========================================================================
   FUNDING FINDER PAGE (funding.aitcoh.com) — additions on top of the
   shared AITCOH landing foundation. Everything below is scoped to the
   finder page's own classes.
   ========================================================================== */

/* ----- C-Easy™ CTA rule (portable class, Radiant Gold, never blue) ----- */
.btn--ceasy{background:linear-gradient(135deg,#ffe56a 0%,#fdd841 100%);color:var(--deep-navy)}
.btn--ceasy:hover{background:linear-gradient(135deg,#ffe56a 0%,#fdd841 100%);color:var(--deep-navy);box-shadow:0 12px 28px rgba(252,215,64,0.55), inset 0 1px 0 rgba(255,255,255,0.9)}
.btn--compact{padding:10px 18px;font-size:.85rem;width:auto;min-height:0}
/* Nav links set white text at higher specificity; the C-Easy button must stay charcoal. */
.nav-links a.btn--ceasy, .nav-links a.btn--ceasy:hover{color:var(--deep-navy)}

/* ----- Secondary buttons ----- */
.btn-ghost{
    background:transparent;
    color:var(--trust-blue-dark);
    border:2px solid rgba(37,94,160,0.35);
    box-shadow:none;
}
.btn-ghost:hover{border-color:var(--trust-blue);color:var(--trust-blue);transform:translateY(-2px)}
.btn-outline-light{
    background:transparent;
    color:#fff;
    border:2px solid rgba(255,255,255,0.55);
    box-shadow:none;
}
.btn-outline-light:hover{border-color:#fff;color:#fff;transform:translateY(-2px)}

/* ----- Hero ----- */
.hero--funding{
    position:relative;
    padding:5.5rem 0 4.5rem;
    overflow:hidden;
}
.hero--funding .hero-panel{
    max-width:920px;
    margin:0 auto;
    padding:3.5rem 3rem;
    position:relative;
    z-index:2;
}
.hero-eyebrow{
    display:inline-block;
    font-family:'Montserrat',sans-serif;
    font-weight:700;
    font-size:.85rem;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--trust-blue);
    background:var(--trust-blue-light);
    padding:.45rem 1.1rem;
    border-radius:999px;
    margin-bottom:1.5rem;
}
.hero--funding h1{font-size:3rem;margin-bottom:1.25rem}
.hero--funding .hero-support-line{font-size:1.15rem;max-width:680px;margin:0 auto 1rem;text-transform:none;letter-spacing:normal}
.hero--funding .hero-concrete-line{
    font-weight:600;color:var(--trust-blue-dark);
    font-size:1rem;margin-bottom:2rem;
}
.hero-cta-row{
    display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-bottom:2rem;
}
.hero-cta-row .btn{min-width:220px}
.trust-chips{
    list-style:none;display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;
    margin:0 0 1.75rem;padding:0;
}
.trust-chips li{
    font-size:.85rem;font-weight:600;color:var(--trust-blue-dark);
    background:rgba(217,236,255,0.55);
    border:1px solid rgba(37,94,160,0.18);
    padding:.4rem 1rem;border-radius:999px;
}
.hero-brand-line{font-size:.95rem;opacity:.85;margin-bottom:0}

/* ----- Generic section helpers ----- */
.section-intro{max-width:720px;margin:0 auto 3rem}
.section-intro p{font-size:1.1rem}
.section-tint{
    background:#f4f9ff;
    border-top:1px solid #eef2f6;
    border-bottom:1px solid #eef2f6;
}

/* ----- Finder panel ----- */
.finder-panel{max-width:860px;margin:0 auto;padding:3rem 2.75rem}
.finder-head h2{font-size:2.2rem}
.finder-head-note{max-width:640px;margin:0 auto 2.5rem;font-size:.98rem}
.finder-progress{margin-bottom:2rem}
.finder-progress__meta{
    display:flex;justify-content:space-between;align-items:center;
    font-family:'Montserrat',sans-serif;font-weight:700;font-size:.85rem;
    color:var(--trust-blue-dark);margin-bottom:.6rem;letter-spacing:.02em;
}
.finder-progress__bar{
    height:10px;border-radius:999px;background:rgba(37,94,160,0.12);overflow:hidden;
}
.finder-progress__fill{
    height:100%;width:11%;border-radius:999px;
    background:linear-gradient(90deg,var(--trust-blue) 0%,#3f7fc4 100%);
    transition:width .35s ease;
}
.finder-link-btn{
    background:none;border:none;cursor:pointer;
    font-family:'Source Sans Pro',sans-serif;font-size:.9rem;font-weight:600;
    color:var(--trust-blue);text-decoration:underline;text-underline-offset:3px;
    padding:.25rem .25rem;
}
.finder-link-btn:hover{color:var(--trust-blue-dark)}

.finder-step{border:none;padding:0;margin:0}
.finder-question{
    font-family:'Montserrat',sans-serif;font-weight:800;font-size:1.5rem;
    color:var(--deep-navy);margin-bottom:.5rem;display:block;width:100%;
    letter-spacing:-0.02em;outline:none;
}
.finder-question:focus,.finder-question:focus-visible{outline:none;box-shadow:none}
.finder-help{font-size:.95rem;color:#718096;margin-bottom:1.5rem}
.finder-options{display:grid;grid-template-columns:1fr 1fr;gap:.85rem;margin-bottom:.5rem}
.finder-option{
    display:flex;align-items:center;gap:.8rem;text-align:left;
    font-family:'Source Sans Pro',sans-serif;font-size:1rem;font-weight:600;
    color:var(--text-grey);
    background:#fff;border:2px solid #e2e8f0;border-radius:14px;
    padding:1rem 1.15rem;cursor:pointer;
    transition:border-color .15s ease, box-shadow .15s ease, color .15s ease;
    min-height:58px;
}
.finder-option:hover{border-color:var(--trust-blue);color:var(--trust-blue-dark)}
.finder-option:focus-visible{outline:3px solid var(--radiant-gold);outline-offset:2px}
.finder-option.is-selected{
    border-color:var(--trust-blue);
    color:var(--trust-blue-dark);
    box-shadow:0 6px 18px rgba(38,95,161,0.15);
    background:linear-gradient(180deg,#f5faff 0%,#ffffff 100%);
}
.finder-option__dot{
    flex:none;width:18px;height:18px;border-radius:50%;
    border:2px solid #cbd5e0;position:relative;
}
.finder-option.is-selected .finder-option__dot{border-color:var(--trust-blue)}
.finder-option.is-selected .finder-option__dot::after{
    content:"";position:absolute;inset:3px;border-radius:50%;
    background:var(--trust-blue);
}
.finder-option__check{
    flex:none;width:18px;height:18px;border-radius:5px;
    border:2px solid #cbd5e0;position:relative;
}
.finder-option.is-selected .finder-option__check{
    border-color:var(--trust-blue);background:var(--trust-blue);
}
.finder-option.is-selected .finder-option__check::after{
    content:"";position:absolute;left:4px;top:0px;width:5px;height:10px;
    border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);
}
.finder-select-wrap{max-width:420px}
.finder-select{appearance:auto;cursor:pointer}
.finder-nav{
    display:flex;justify-content:space-between;align-items:center;
    margin-top:1.75rem;gap:1rem;
}
.finder-nav .btn-continue{width:auto;min-width:180px;margin-left:auto}
.finder-nav .btn-continue:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}

/* ----- Results ----- */
.results-summary{margin-bottom:2rem}
.results-title{font-size:1.8rem;outline:none;margin-bottom:1rem}
.results-note{
    background:var(--trust-blue-light);
    border-left:4px solid var(--trust-blue);
    padding:.9rem 1.1rem;border-radius:0 10px 10px 0;
    font-size:.95rem;
}
.tier-group{margin-bottom:2.5rem}
.tier-title{
    font-size:1.25rem;margin-bottom:.35rem;
    padding-left:.9rem;border-left:5px solid var(--trust-blue);
}
.tier-group--strong .tier-title{border-left-color:#2f855a}
.tier-group--explore .tier-title{border-left-color:var(--accent-gold)}
.tier-group--info .tier-title{border-left-color:#a0aec0}
.tier-note{font-size:.9rem;color:#718096;margin-bottom:1.25rem;padding-left:1.2rem}
.prog-card{
    background:#fff;border:1px solid #e2e8f0;border-radius:16px;
    padding:1.4rem 1.5rem;margin-bottom:1rem;
    box-shadow:0 8px 20px -12px rgba(38,95,161,0.18);
}
.prog-card__head{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:.6rem}
.prog-card__badge{
    flex:none;font-family:'Montserrat',sans-serif;font-weight:700;
    font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;
    color:var(--trust-blue-dark);background:var(--trust-blue-light);
    padding:.3rem .7rem;border-radius:999px;
}
.tier-group--strong .prog-card__badge{color:#22543d;background:#e6f4ea}
.prog-card__name{font-size:1.05rem;margin:0}
.prog-card__body{font-size:.95rem;margin-bottom:.75rem}
.prog-card__why,.prog-card__next{font-size:.9rem;margin-bottom:.4rem}
.prog-card__why strong,.prog-card__next strong{color:var(--deep-navy)}
.results-actions{
    display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;
    margin:2rem 0;
}
.results-actions .btn-ghost{display:inline-flex;align-items:center;gap:.5rem;width:auto}
.results-disclaimer{
    font-size:.85rem;color:#718096;border-top:1px solid #edf2f7;
    padding-top:1.25rem;margin-bottom:0;
}

/* ----- Guidance form ----- */
.guidance-block{
    background:linear-gradient(180deg,#f5faff 0%,#ffffff 100%);
    border:1px solid rgba(37,94,160,0.18);border-radius:18px;
    padding:2rem 2rem 1.5rem;margin-bottom:2rem;
}
.guidance-block h3{font-size:1.35rem;margin-bottom:.5rem}
.guidance-block > p{font-size:.98rem;margin-bottom:1.5rem}
.guidance-grid{
    display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.5rem;margin-bottom:1.5rem;
}
.guidance-grid .form-group{margin-bottom:0}
.btn-guidance{width:100%}
.guidance-note{font-size:.85rem;opacity:.7;text-align:center;margin:1rem 0 0}
.guidance-success h3{color:#2f855a;font-size:1.35rem;margin-bottom:.5rem}
.guidance-success p{margin-bottom:0}

.noscript-note{
    text-align:center;background:#fff8e6;border:1px solid var(--radiant-gold);
    border-radius:12px;padding:1rem 1.25rem;margin-top:1.5rem;
}

/* ----- How it works ----- */
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.step-card{padding:2.25rem 1.75rem;text-align:left}
.step-num{
    display:inline-flex;align-items:center;justify-content:center;
    width:48px;height:48px;border-radius:50%;
    background:linear-gradient(135deg,#ffe56a 0%,#fdd841 100%);
    color:var(--deep-navy);font-family:'Montserrat',sans-serif;font-weight:800;
    font-size:1.25rem;margin-bottom:1.25rem;
    box-shadow:0 6px 14px -6px rgba(214,158,46,0.6);
}
.step-card h3{font-size:1.25rem;margin-bottom:.65rem}
.step-card p{font-size:.95rem;margin-bottom:0}

/* ----- Programs overview ----- */
.programs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.program-cat{padding:1.9rem 1.6rem}
.program-cat h3{font-size:1.1rem;margin-bottom:.6rem}
.program-cat p{font-size:.92rem;margin-bottom:0}

/* ----- Medicare + next step panels ----- */
.medicare-panel{max-width:860px;margin:0 auto;padding:2.75rem 2.75rem}
.medicare-panel h2{font-size:1.9rem}
.medicare-panel p:last-child{margin-bottom:0}
.next-step-panel{max-width:860px;margin:0 auto;padding:3.25rem 2.75rem}
.next-step-panel p{max-width:640px;margin-left:auto;margin-right:auto}
.next-step-panel .hero-cta-row{margin-top:2rem;margin-bottom:1.5rem}
.next-step-links{font-size:.95rem;margin-bottom:0}
.next-step-links a{color:var(--radiant-gold);font-weight:600}

/* ----- FAQ ----- */
.faq-list{max-width:780px;margin:0 auto}
.faq-item{padding:0;margin-bottom:1rem;overflow:hidden}
.faq-item summary{
    cursor:pointer;list-style:none;
    font-family:'Montserrat',sans-serif;font-weight:700;font-size:1.05rem;
    color:var(--deep-navy);padding:1.4rem 3rem 1.4rem 1.75rem;
    position:relative;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
    content:"+";position:absolute;right:1.5rem;top:50%;transform:translateY(-50%);
    font-size:1.5rem;font-weight:400;color:var(--trust-blue);
}
.faq-item[open] summary::after{content:"\2212"}
.faq-item summary:focus-visible{outline:3px solid var(--radiant-gold);outline-offset:-3px}
.faq-item p{padding:0 1.75rem 1.5rem;margin:0;font-size:.97rem}

/* ----- Disclaimer band ----- */
.disclaimer-band{
    background:#eef4fb;border-top:1px solid #e2e8f0;
    padding:2rem 0 6rem;
}
.disclaimer-band p{
    max-width:860px;margin:0 auto;font-size:.85rem;color:#5a6a7e;line-height:1.7;
}

/* ----- Print: results become the document ----- */
@media print{
    .sticky-nav-wrapper, .hero--funding, #how, #programs, #medicare,
    #next-step, #faq, .disclaimer-band, footer, .mobile-cta-bar,
    .finder-head-note, .no-print, .modal-overlay, .blob{display:none !important}
    body{background:#fff !important}
    .glass-panel{box-shadow:none !important;border:none !important;padding:0 !important}
    .prog-card{box-shadow:none;border:1px solid #cbd5e0;break-inside:avoid}
    .section-spacer{padding:0 !important}
    #finder .finder-head h2{font-size:1.5rem}
    .results-disclaimer{display:block}
}

/* ----- Responsive ----- */
@media (max-width: 900px){
    .steps-grid,.programs-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 768px){
    .hero--funding{padding:3.5rem 0 3rem}
    .hero--funding .hero-panel{padding:2.5rem 1.5rem}
    .hero--funding h1{font-size:2.1rem}
    .finder-panel{padding:2.25rem 1.4rem}
    .finder-options{grid-template-columns:1fr}
    .guidance-grid{grid-template-columns:1fr}
    .steps-grid,.programs-grid{grid-template-columns:1fr}
    .hero-cta-row .btn{width:100%;min-width:0}
    .results-actions{flex-direction:column;align-items:stretch;text-align:center}
    .finder-question{font-size:1.25rem}
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce){
    .finder-progress__fill{transition:none}
    .btn-ghost:hover,.btn-outline-light:hover{transform:none}
}

/* ==========================================================================
   PATRIOTIC ACCENT LAYER (2026-07-13) — dignified red/white/blue on top of
   the AITCOH foundation. Trust Blue and Radiant Gold stay dominant; flag
   red is an accent reserved for the ribbon, VA badges, and the veterans band.
   ========================================================================== */

:root{
    --flag-red:#b22234;
    --flag-red-dark:#8f1b29;
    --flag-navy:#12233f;
}

/* Tricolor ribbon (top of page + reusable edge) */
.flag-ribbon{
    height:6px;
    background:linear-gradient(180deg,
        var(--flag-navy) 0 2px,
        #ffffff 2px 4px,
        var(--flag-red) 4px 6px);
}

/* ----- Hero split layout ----- */
.hero-split{
    display:grid;grid-template-columns:1.06fr .94fr;gap:2.75rem;
    align-items:center;text-align:left;margin-bottom:2.25rem;
}
.hero-split__copy .hero-cta-row{justify-content:flex-start;margin-bottom:0}
.hero--funding .hero-split h1{font-size:2.6rem}
.hero-split__copy .hero-support-line{margin:0 0 1rem}
.hero-eyebrow .fa-flag-usa{margin-right:.45rem;font-size:.9em}
.hero-split__media{position:relative}
.hero-split__media::after{
    content:"";position:absolute;inset:0;
    transform:translate(14px,14px);
    border:2px solid var(--flag-red);border-radius:18px;
    opacity:.55;z-index:0;pointer-events:none;
}
.hero-split__media img{
    position:relative;z-index:1;display:block;width:100%;
    aspect-ratio:5/5.4;height:auto;object-fit:cover;object-position:36% center;
    border-radius:18px;
    box-shadow:0 24px 48px -18px rgba(14,42,71,0.45);
    border:4px solid #fff;
}
@supports not (aspect-ratio: 1){
    .hero-split__media img{height:520px}
}
.media-flag-chip{
    position:absolute;z-index:2;left:14px;bottom:14px;
    display:inline-flex;align-items:center;gap:.5rem;
    font-family:'Montserrat',sans-serif;font-weight:700;font-size:.78rem;
    letter-spacing:.03em;color:#fff;
    background:linear-gradient(135deg,var(--flag-navy) 0%,#1e3a66 100%);
    border:1px solid rgba(255,255,255,0.35);
    padding:.5rem .9rem;border-radius:999px;
    box-shadow:0 8px 18px -8px rgba(0,0,0,0.6);
}
.media-flag-chip .fa-flag-usa{color:var(--radiant-gold)}

/* ----- Star divider under section headings ----- */
.star-divider{
    display:flex;justify-content:center;align-items:center;gap:.9rem;
    margin:0 0 1.1rem;color:var(--flag-navy);font-size:.8rem;line-height:1;
}
.star-divider span:nth-child(2){color:var(--flag-red);font-size:1rem}
.star-divider::before,.star-divider::after{
    content:"";height:1px;width:64px;
    background:linear-gradient(90deg,transparent,rgba(18,35,63,0.35));
}
.star-divider::after{transform:scaleX(-1)}

/* ----- How It Works: media + stacked steps ----- */
.how-grid{
    display:grid;grid-template-columns:.95fr 1.05fr;gap:2.5rem;align-items:center;
}
.how-media img{
    display:block;width:100%;height:auto;border-radius:18px;
    border:4px solid #fff;
    box-shadow:0 24px 48px -18px rgba(14,42,71,0.35);
}
.how-media__caption{
    font-size:.9rem;color:#718096;text-align:center;
    margin:1rem auto 0;max-width:420px;
}
.how-steps{display:flex;flex-direction:column;gap:1.1rem}
.how-steps .step-card{
    display:flex;gap:1.25rem;align-items:flex-start;
    padding:1.5rem 1.6rem;text-align:left;
}
.how-steps .step-num{flex:none;margin-bottom:0;width:44px;height:44px;font-size:1.15rem}
.how-steps .step-card h3{font-size:1.15rem;margin-bottom:.4rem}
.how-steps .step-card p{margin-bottom:0}

/* ----- Veterans band ----- */
.veterans-band{
    position:relative;color:#fff;
    padding:5.5rem 0;
    background:
        linear-gradient(180deg,rgba(9,18,35,0.82) 0%,rgba(9,18,35,0.9) 100%),
        url('../images/veterans-salute.jpg') center/cover no-repeat;
}
.veterans-band::before,.veterans-band::after{
    content:"";position:absolute;left:0;right:0;height:6px;
    background:linear-gradient(180deg,
        var(--flag-navy) 0 2px,
        #ffffff 2px 4px,
        var(--flag-red) 4px 6px);
}
.veterans-band::before{top:0}
.veterans-band::after{bottom:0}
.veterans-band__content{max-width:760px;margin:0 auto;text-align:center}
.veterans-band__stars{
    letter-spacing:.6rem;color:#fff;font-size:1.05rem;margin-bottom:1rem;opacity:.95;
}
.veterans-band__stars .star-red{color:#e05a68}
.veterans-band h2{color:#fff;text-shadow:0 2px 12px rgba(0,0,0,0.45);font-size:2.3rem}
.veterans-band__lead{color:rgba(255,255,255,0.92);font-size:1.08rem}
.veterans-band .hero-cta-row{margin:2rem 0 1.5rem}
.veterans-band__note{
    font-size:.92rem;color:rgba(255,255,255,0.85);margin-bottom:0;
}
.veterans-band__note .fa-medal{color:var(--radiant-gold);margin-right:.4rem}

/* Flag CTA button (veterans band only) */
.btn--flag{
    background:linear-gradient(135deg,#c62b3f 0%,var(--flag-red) 100%);
    color:#fff;
}
.btn--flag:hover{
    background:linear-gradient(135deg,#d33a4e 0%,var(--flag-red) 100%);
    color:#fff;
    box-shadow:0 12px 28px rgba(178,34,52,0.5), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn--flag .fa-flag-usa{margin-right:.45rem}

/* ----- VA badges in results ----- */
.prog-card__badge--va{
    color:var(--flag-red-dark);
    background:rgba(178,34,52,0.1);
    border:1px solid rgba(178,34,52,0.22);
}
.prog-card__badge--va .fa-flag-usa{margin-right:.3rem}
.tier-group--strong .prog-card__badge--va{
    color:var(--flag-red-dark);background:rgba(178,34,52,0.1);
}

/* ----- Footer flag edge ----- */
footer{position:relative}
footer::before{
    content:"";position:absolute;top:0;left:0;right:0;height:6px;
    background:linear-gradient(180deg,
        var(--flag-navy) 0 2px,
        #ffffff 2px 4px,
        var(--flag-red) 4px 6px);
}

/* ----- Patriotic layer: responsive ----- */
@media (max-width: 900px){
    .hero-split{grid-template-columns:1fr;gap:2rem}
    .hero-split__media{max-width:560px;margin:0 auto}
    .how-grid{grid-template-columns:1fr}
    .how-media{max-width:560px;margin:0 auto}
}
@media (max-width: 768px){
    .hero--funding .hero-split h1{font-size:2.1rem}
    .hero-split__copy .hero-cta-row .btn{width:100%}
    .veterans-band{padding:4rem 0}
    .veterans-band h2{font-size:1.8rem}
}

/* ----- Patriotic layer: print ----- */
@media print{
    .veterans-band,.flag-ribbon,.how-media,.media-flag-chip{display:none !important}
}
