/* ============================================================
   CARE CLAIMS ADJUSTING — SHARED STYLESHEET
   Common styles used across all pages.
   Individual pages should only contain page-specific overrides.
   ============================================================ */

/* ===== SKIP LINK (Accessibility) ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--brand-blue, #0170B9);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    font-size: 14px;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* ===== PAGE TRANSITIONS ===== */
body { animation: pageIn 0.4s ease-out; }
body.page-exit { animation: pageOut 0.25s ease-in forwards; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pageOut { from { opacity: 1; } to { opacity: 0; } }

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

/* ===== ROOT VARIABLES ===== */
:root {
    /* Backgrounds (light theme) */
    --bg-deep: #FFFFFF;
    --bg-primary: #F5F5F5;
    --bg-secondary: #F0F0F0;
    --bg-tertiary: #E5E5E5;
    --bg-card: #FFFFFF;

    /* Brand blue — primary brand color */
    --brand-blue: #0170B9;
    --brand-blue-dim: rgba(1,112,185,0.08);
    --brand-blue-glow: rgba(1,112,185,0.25);

    /* CTA orange — call-to-action buttons only */
    --cta-orange: #F38229;
    --cta-orange-hover: #D06A1A;

    /* Legacy aliases kept for backward compatibility */
    --brand-orange: var(--cta-orange);
    --brand-orange-dim: rgba(243,130,41,0.08);
    --brand-orange-glow: rgba(243,130,41,0.20);
    --accent: var(--brand-blue);
    --accent-dim: var(--brand-blue-dim);
    --accent-glow: rgba(1,112,185,0.20);
    --accent-gold: var(--brand-blue);
    --accent-gold-dim: var(--brand-blue-dim);
    --accent-gold-glow: var(--brand-blue-glow);
    --trust-blue: var(--brand-blue);

    /* Neutrals */
    --dark-navy: #072744;
    --text-primary: #3a3a3a;
    --text-secondary: #7A7A7A;
    --text-muted: #999999;

    /* Borders */
    --border-subtle: rgba(7,39,68,0.08);
    --border-accent: rgba(1,112,185,0.2);

    /* Radii & transitions */
    --radius: 15px;
    --radius-sm: 3px;
    --radius-xs: 0px;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== HTML / BODY ===== */
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2 { text-wrap: balance; }

::selection {
    background: rgba(1, 112, 185, 0.3);
    color: var(--text-primary);
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-blue), #3B9FD9, var(--brand-blue));
    z-index: 9999;
    transition: none;
}

/* ===== AMBIENT BACKGROUND ===== */
.ambient-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    will-change: transform;
    animation: orbFloat 20s ease-in-out infinite;
}
.ambient-orb:nth-child(1) {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(1,112,185,0.08), transparent 70%);
    top: -10%; right: -5%;
}
.ambient-orb:nth-child(2) {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(1,112,185,0.05), transparent 70%);
    bottom: 10%; left: -10%;
    animation-delay: -7s;
    animation-duration: 25s;
}
.ambient-orb:nth-child(3) {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(1,112,185,0.04), transparent 70%);
    top: 40%; right: 20%;
    animation-delay: -12s;
    animation-duration: 30s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(15px, 15px) scale(1.02); }
}

/* ===== UTILITY ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.label {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-gold);
}
.gradient-text {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #3B9FD9 50%, var(--brand-blue) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s ease-in-out infinite;
    will-change: background-position;
    text-shadow: 0 0 40px rgba(1,112,185,0.15);
}
@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

/* ===== MARQUEE BANNER ===== */
.marquee-strip {
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 0;
    position: relative;
    z-index: 1;
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
    will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 0 32px;
}
.marquee-item .marquee-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-blue);
    box-shadow: 0 0 8px rgba(1,112,185,0.4);
    flex-shrink: 0;
}
.marquee-item strong { color: var(--text-secondary); font-weight: 600; }
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== MICRO-ANIMATIONS ===== */
.hover-lift {
    transition: transform 0.35s var(--transition), box-shadow 0.35s var(--transition), border-color 0.35s var(--transition);
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08), 0 0 30px rgba(1,112,185,0.06);
}
.stat-item, .eden-feature, .contractor-highlight {
    transition: transform 0.35s var(--transition), box-shadow 0.35s var(--transition), border-color 0.35s var(--transition);
}
.stat-item:hover, .eden-feature:hover, .contractor-highlight:hover {
    transform: translateY(-4px);
    border-color: rgba(1,112,185,0.25) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05), 0 0 20px rgba(1,112,185,0.08);
}
.faq-item:hover {
    border-color: rgba(1,112,185,0.2);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04), 0 0 12px rgba(1,112,185,0.06);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(1,112,185,0.25), 0 0 0 0 rgba(1,112,185,0); }
    50% { box-shadow: 0 4px 20px rgba(1,112,185,0.25), 0 0 20px 4px rgba(1,112,185,0.15); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius-xs);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.35s var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--brand-orange), #D06A1A) !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(243,130,41,0.25), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(243,130,41,0.4), 0 0 30px rgba(243,130,41,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 1.5px solid rgba(1,112,185,0.3) !important;
}
.btn-secondary:hover {
    background: rgba(1,112,185,0.08) !important;
    border-color: var(--brand-blue) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(1,112,185,0.15), 0 0 20px rgba(1,112,185,0.12);
}
.glow-border:hover {
    border-color: rgba(1,112,185,0.25);
    box-shadow: 0 0 20px rgba(1,112,185,0.08);
}
input:focus, textarea:focus, select:focus {
    border-color: var(--brand-blue) !important;
    box-shadow: 0 0 0 3px rgba(1,112,185,0.15), 0 0 20px rgba(1,112,185,0.08) !important;
}

/* Focus-visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

/* ===== NAV CTA ===== */
.nav-cta {
    background: linear-gradient(135deg, var(--brand-orange), #D06A1A) !important;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: var(--radius-xs);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s var(--transition);
    box-shadow: 0 4px 15px rgba(243,130,41,0.2);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243,130,41,0.35) !important;
}

/* ===== GSAP REVEAL CLASSES ===== */
.gs-reveal {
    will-change: transform, opacity;
}

/* ===== TICKER ===== */
.ticker {
    background: linear-gradient(90deg, var(--bg-secondary), var(--bg-tertiary), var(--bg-secondary));
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    color: var(--accent-gold);
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1001;
}

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-accent);
    padding: 14px 0;
    transition: all 0.3s var(--transition);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-link img { height: 42px; width: auto; }
nav { display: flex; gap: 36px; align-items: center; }
nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
    padding: 4px 0;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s var(--transition);
    border-radius: 2px;
}
nav a:hover { color: var(--text-primary); }
nav a:hover::after { width: 100%; }

/* ===== HAMBURGER ===== */
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 4px; z-index: 1001; }
.hamburger span { width: 22px; height: 2px; background: var(--accent-gold); transition: all 0.3s; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    z-index: 1002;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--accent-gold); }

/* ===== SECTIONS ===== */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}
.section-header {
    margin-bottom: 64px;
}
.section-header .label { margin-bottom: 16px; display: block; }
.section-title {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition);
}
.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(1,112,185,0.1), transparent 50%, rgba(1,112,185,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
}
.glass-card:hover::before { opacity: 1; }
.glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(1,112,185,0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 0 40px rgba(1,112,185,0.08);
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-card);
    transition: all 0.3s;
}
.faq-item:hover { border-color: rgba(1,112,185,0.1); }
.faq-question {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
    user-select: none;
    /* Button reset (semantic <button> element) */
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    color: inherit;
}
.faq-question:hover { color: var(--accent-gold); }
.faq-toggle {
    color: var(--accent-gold);
    font-size: 14px;
    transition: transform 0.4s var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.4s var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item.active .faq-toggle,
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--transition), padding 0.4s;
    padding: 0 28px;
}
.faq-item.active .faq-answer { max-height: 600px; padding: 0 28px 24px; }
.faq-answer p { color: var(--text-secondary); line-height: 1.8; font-size: 15px; }

/* ===== CTA BAND ===== */
.cta-band {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}
.cta-card {
    background: linear-gradient(135deg, rgba(1,112,185,0.08), rgba(1,112,185,0.03));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(1,112,185,0.25), transparent 50%, rgba(1,112,185,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.cta-card h2 {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    margin-bottom: 16px;
}

/* ===== LEAD FORM ===== */
.lead-form {
    max-width: 480px;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}
.form-group { display: flex; flex-direction: column; }
.form-group label {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 16px;
    background: rgba(7,39,68,0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    transition: all 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(1,112,185,0.1), 0 0 20px rgba(1,112,185,0.05);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
    background: linear-gradient(135deg, var(--brand-orange), #D06A1A);
    color: #fff;
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius-xs);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.35s var(--transition);
    box-shadow: 0 4px 20px rgba(243,130,41,0.25);
}
.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(243,130,41,0.4);
}

/* ===== FOOTER ===== */
footer {
    background: #303030;
    border-top: 1px solid #FFFFFFC2;
    padding: 64px 0 40px;
    position: relative;
    z-index: 1;
    color: #FFFFFFC9;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}
.footer-section h3 {
    font-size: 14px; font-weight: 600; color: #FFFFFF;
    margin-bottom: 20px; font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-transform: uppercase; letter-spacing: 1px;
}
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 12px; }
.footer-section a { color: #FFFFFFC9; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-section a:hover { color: #FFFFFF; }
.footer-contact { color: #FFFFFFC9; font-size: 14px; line-height: 1.8; }
.footer-contact strong { color: #FFFFFF; }
.footer-disclaimer {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xs);
    padding: 20px 24px;
    margin-bottom: 32px;
}
.footer-disclaimer p { color: rgba(255,255,255,0.7); font-size: 12px; line-height: 1.8; }
.footer-bottom {
    border-top: 1px solid #FFFFFFC2;
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p { color: #FFFFFFC9; font-size: 13px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #FFFFFFC9; text-decoration: none; font-size: 13px; transition: color 0.3s; }
.footer-links a:hover { color: #FFFFFF; }

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 24px; left: 24px;
    max-width: 380px;
    background: rgba(255,255,255,0.97);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    padding: 24px;
    z-index: 999;
    display: none;
    animation: slideInUp 0.4s var(--transition);
}
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.cookie-consent p { color: var(--text-secondary); font-size: 13px; margin-bottom: 16px; line-height: 1.6; }
.cookie-buttons { display: flex; gap: 10px; }
.cookie-btn {
    flex: 1; padding: 10px 16px; border: none;
    border-radius: var(--radius-xs); font-size: 13px;
    font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.cookie-accept { background: var(--brand-orange); color: #fff; }
.cookie-accept:hover { box-shadow: 0 4px 15px rgba(243,130,41,0.3); }
.cookie-decline { background: transparent; color: var(--brand-blue); border: 1px solid rgba(1,112,185,0.3); }
.cookie-decline:hover { background: rgba(1,112,185,0.08); }

/* ===== CHAT WIDGET ===== */
.chat-widget { position: fixed; bottom: 28px; right: 28px; z-index: 500; }
.chat-bubble {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--brand-orange), #D06A1A);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 24px;
    box-shadow: 0 8px 30px rgba(243,130,41,0.3);
    transition: all 0.3s var(--transition);
}
.chat-bubble:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(243,130,41,0.45); }
.chat-window {
    position: absolute;
    bottom: 80px; right: 0;
    width: 360px; max-width: 90vw;
    background: var(--bg-secondary);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    max-height: 480px;
    overflow: hidden;
}
.chat-window.open { display: flex; animation: slideInUp 0.3s; }
.chat-header {
    background: linear-gradient(135deg, var(--brand-blue), #0D8ECF);
    color: #fff;
    padding: 16px 20px;
    font-weight: 600; font-size: 15px;
    border-radius: var(--radius) var(--radius) 0 0;
}
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-message { padding: 12px 16px; border-radius: var(--radius-sm); max-width: 80%; word-wrap: break-word; font-size: 14px; }
.chat-message.bot { background: var(--bg-tertiary); color: var(--text-primary); align-self: flex-start; }
.chat-message.user { background: var(--accent-gold); color: var(--bg-deep); align-self: flex-end; }
.chat-input { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--border-subtle); }
.chat-input input {
    flex: 1; padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-size: 14px; font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.chat-input input::placeholder { color: var(--text-muted); }
.chat-input button {
    padding: 10px 16px;
    background: var(--brand-orange);
    color: #fff;
    border: none; border-radius: var(--radius-xs);
    cursor: pointer; font-weight: 600; transition: all 0.3s;
}
.chat-input button:hover { box-shadow: 0 4px 15px rgba(243,130,41,0.3); }

/* ===== STICKY CTA BAR ===== */
.sticky-cta {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    z-index: 999;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}
.sticky-cta.visible { transform: translateY(0); }

/* ===== IMAGE REVEAL ===== */
.img-reveal {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    filter: blur(4px);
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, filter 0.8s ease;
}
.img-reveal.revealed {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    filter: blur(0);
}

/* ===== LICENSING (shared across multiple pages) ===== */
.licensing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.license-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 36px 32px;
    transition: all 0.3s;
}
.license-card:hover { border-color: rgba(1,112,185,0.12); }
.license-card h3 { font-size: 18px; font-weight: 600; color: var(--accent-gold); margin-bottom: 12px; }
.license-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.8; }

.fl-disclosure {
    background: rgba(61,90,128,0.08);
    border: 1px solid rgba(61,90,128,0.15);
    border-radius: var(--radius-sm);
    padding: 32px;
    margin-top: 32px;
}
.fl-disclosure h4 {
    font-size: 15px; font-weight: 600; color: var(--trust-blue);
    margin-bottom: 12px; font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-transform: uppercase; letter-spacing: 1px;
}
.fl-disclosure p, .fl-disclosure li { color: var(--text-secondary); font-size: 13px; line-height: 1.8; }
.fl-disclosure ul { list-style: none; padding: 0; }
.fl-disclosure li::before { content: '\00A7'; color: var(--trust-blue); font-weight: 600; margin-right: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    nav { display: none; }
    .hamburger { display: flex; }

    /* Force ALL inline grids to single column on mobile */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Named grid classes — single column */
    .stats-grid { grid-template-columns: 1fr; gap: 32px; }
    .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .licensing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .contractor-alliance-grid { grid-template-columns: 1fr !important; }

    /* Reduce section padding on mobile */
    .section, section { padding: 48px 0; }

    /* Reduce container padding on mobile */
    .container { padding-left: 20px; padding-right: 20px; }

    /* Reduce large inline gaps on mobile */
    [style*="gap: 64px"], [style*="gap:64px"],
    [style*="gap: 48px"], [style*="gap:48px"] {
        gap: 24px !important;
    }

    /* Card + section padding */
    .glass-card { padding: 32px 24px; }
    .eden-section { padding: 48px 24px; }
    .cta-card { padding: 48px 24px; }

    /* Article content — prevent text touching screen edges */
    main { padding-left: 16px; padding-right: 16px; }

    /* Sticky CTA */
    .sticky-cta .container { flex-direction: column; gap: 8px; text-align: center; }
    .sticky-cta .container > span { font-size: 13px; }
    .sticky-cta .container > div { justify-content: center; }

    /* Footer */
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }

    /* Chat widget */
    .chat-widget { bottom: 20px; right: 20px; }
    .chat-bubble { width: 52px; height: 52px; font-size: 20px; }

    /* Cookie consent */
    .cookie-consent { left: 12px; right: 12px; max-width: none; bottom: 12px; }

    /* Touch targets — minimum 44px per WCAG 2.5.5 */
    .btn, .nav-cta, .faq-question { min-height: 44px; }

    /* Prevent iOS auto-zoom on input focus */
    input, select, textarea { font-size: 16px !important; }

    /* Reduce heavy effects on mobile */
    .ambient-orb { display: none; }
    .gradient-text { animation: none; }
    .marquee-track { animation-duration: 18s; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    /* Disable image reveal clip-path */
    .img-reveal { clip-path: none; opacity: 1; filter: none; }
    /* Hide ambient background orbs */
    .ambient-orb { display: none; }
    /* Stop marquee scrolling — show static content */
    .marquee-track {
        animation: none !important;
        overflow: hidden;
    }
    /* Disable gradient text shimmer */
    .gradient-text {
        animation: none !important;
        background-size: 100% auto !important;
    }
    /* Disable parallax / fixed backgrounds */
    .hero, [style*="background-attachment: fixed"],
    [style*="background-attachment:fixed"] {
        background-attachment: scroll !important;
    }
    /* Disable page transition animations */
    body { animation: none !important; }
    body.page-exit { animation: none !important; }
    /* Ensure scroll progress bar has no transition */
    .scroll-progress { transition: none !important; }
    /* Disable hover lift transforms */
    .hover-lift:hover,
    .glass-card:hover,
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none !important;
    }
}
