/* ============================================================
   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 — TODO: migrate all refs to --brand-blue / --cta-orange */
    --brand-orange: var(--cta-orange);
    --accent: var(--brand-blue);
    --accent-gold: var(--brand-blue);
    --trust-blue: var(--brand-blue);

    /* Neutrals */
    --dark-navy: #072744;
    --text-primary: #3a3a3a;
    --text-secondary: #6B6B6B;
    --text-muted: #B0B0B0;

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

    /* Radii (premium — no sharp corners) */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 8px;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows (refined depth) */
    --shadow-card: 0 1px 3px rgba(7,39,68,0.04), 0 4px 16px rgba(7,39,68,0.03);
    --shadow-card-hover: 0 8px 30px rgba(7,39,68,0.08), 0 0 20px rgba(1,112,185,0.04);
    --shadow-elevated: 0 12px 40px rgba(7,39,68,0.1), 0 0 30px rgba(1,112,185,0.06);
}

/* ===== 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: 'Satoshi', '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;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Satoshi', 'Nunito Sans', system-ui, sans-serif;
    font-weight: 700;
    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;
    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: 'Satoshi', 'Nunito Sans', system-ui, 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: 'Satoshi', 'Nunito Sans', system-ui, 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(-2px);
    box-shadow: 0 12px 35px rgba(243,130,41,0.35), 0 0 20px rgba(243,130,41,0.15);
}
.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);
}
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,
[role="button"]:focus-visible,
.hamburger: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: 'Satoshi', 'Nunito Sans', system-ui, 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.85);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border-bottom: 1px solid rgba(1,112,185,0.08);
    padding: 14px 0;
    transition: all 0.3s var(--transition);
    box-shadow: 0 1px 3px rgba(7,39,68,0.02);
}
.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: 24px;
    padding: 80px 24px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1003;
}
.mobile-nav-close svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-primary);
    stroke-width: 2.5;
}
.mobile-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
    transition: color 0.3s;
    padding: 4px 0;
}
.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: 'Satoshi', 'Nunito Sans', system-ui, 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 (real glassmorphism) ===== */
.glass-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: var(--radius);
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition);
    box-shadow: var(--shadow-card);
}
.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(-4px);
    border-color: rgba(1,112,185,0.2);
    box-shadow: var(--shadow-elevated);
}

/* ===== PREMIUM UTILITIES ===== */

/* Section divider — subtle gradient fade between sections */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(1,112,185,0.15) 30%, rgba(1,112,185,0.15) 70%, transparent);
    border: none;
    margin: 0;
}

/* Ambient gradient background for sections */
.section-glow {
    position: relative;
}
.section-glow::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(1,112,185,0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Premium card base (for value-card, service-card, etc.) */
.premium-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(7,39,68,0.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: all 0.4s var(--transition);
}
.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(1,112,185,0.12);
}

/* Gradient accent line */
.accent-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-blue), rgba(1,112,185,0.3));
    border-radius: 2px;
    margin-bottom: 20px;
}

/* ===== 3D CARD TILT + WORD REVEAL ===== */
.value-card, .service-card, .glass-card, .process-step {
    transform-style: preserve-3d;
}
.word-reveal {
    display: inline-block;
    will-change: transform, opacity, filter;
}

/* ===== 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: 'Satoshi', 'Nunito Sans', system-ui, 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: 'Satoshi', 'Nunito Sans', system-ui, 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: 'Satoshi', 'Nunito Sans', system-ui, 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: 'Satoshi', 'Nunito Sans', system-ui, 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: 1000;
    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: 'Satoshi', 'Nunito Sans', system-ui, 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); }

/* Quick-Reply Buttons */
.quick-reply-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 0;
    align-self: flex-start;
}
.quick-reply-btn {
    display: inline-block;
    padding: 6px 14px;
    font-family: 'Satoshi', 'Nunito Sans', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-blue, #0170B9);
    background: transparent;
    border: 1.5px solid var(--brand-blue, #0170B9);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    line-height: 1.3;
}
.quick-reply-btn:hover {
    background: var(--brand-blue, #0170B9);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(1, 112, 185, 0.25);
}
.quick-reply-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ===== 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: 'Satoshi', 'Nunito Sans', system-ui, 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; }

/* ===== HERO (shared across city/landing pages) ===== */
.hero, .hero * { color: #F1F5F9; }
.hero .label { color: #F99E3C; }
.hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--dark-navy) 0%, #0a3558 100%);
}
.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(1,112,185,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(1,112,185,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}
.hero-content {
    max-width: 780px;
    position: relative;
    z-index: 2;
}
.hero .label { margin-bottom: 20px; display: block; }
.hero h1 {
    font-family: 'Satoshi', 'Nunito Sans', system-ui, sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}
.hero p {
    font-size: 18px;
    color: rgba(241,245,249,0.75);
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 620px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== SECTION VARIANT BACKGROUNDS ===== */
.navy-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}
.gray-section { background: #F5F5F5; }
.dark-section {
    background: linear-gradient(180deg, var(--dark-navy) 0%, #0a3558 100%);
}
.dark-section, .dark-section * { color: #F1F5F9; }
.dark-section .label { color: #F99E3C; }
.dark-section .section-subtitle { color: rgba(241,245,249,0.7); }

/* ===== CONTENT BLOCK ===== */
.content-block h2 {
    font-family: 'Satoshi', 'Nunito Sans', system-ui, sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}
.content-block p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 800px;
}

/* ===== SERVICE GRID ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
}
.service-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;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06), 0 0 30px rgba(1,112,185,0.06);
}
.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-blue-dim);
    border-radius: 12px;
}
.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--brand-blue);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}
.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== STATS BAR ===== */
.stats-bar { padding: 64px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}
.stat-number {
    font-family: 'Satoshi', 'Nunito Sans', system-ui, sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: #F99E3C;
    display: block;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 14px;
    color: rgba(241,245,249,0.7);
    font-weight: 400;
}

/* ===== PROCESS STEPS ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}
.process-step {
    text-align: center;
    padding: 24px;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-blue-dim);
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}
.process-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}
.process-step p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== CTA BUTTONS ROW ===== */
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== NEARBY AREAS ===== */
.nearby-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.nearby-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s var(--transition);
}
.nearby-link:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1,112,185,0.1);
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
    .section, section { padding: 80px 0; }
    .glass-card { padding: 40px 32px; }
    .cta-card { padding: 56px 40px; }
    .hero { padding: 80px 0 60px; }
}

/* ===== MOBILE ===== */
@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, .service-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .hero { min-height: 45vh; padding: 60px 0 48px; }
    .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; }
}

/* ===== SMALL PHONES ===== */
@media (max-width: 360px) {
    .chat-window { width: 280px; }
    .chat-bubble { width: 48px; height: 48px; font-size: 18px; }
}

/* ===== 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;
    }
    /* Disable GSAP advanced animations */
    .reading-progress-bar { display: none !important; }
    .img-reveal-gsap { clip-path: none !important; opacity: 1 !important; }
    .hero-type .hero-type-cursor { display: none !important; }
    .carousel { overflow: visible !important; }
    .carousel .carousel-track { transform: none !important; }
    .btn-magnetic { transform: none !important; }
}

/* ============================================================
   GSAP ADVANCED ANIMATIONS — Feature Set 1-5
   Appended styles. Do NOT modify existing CSS above.
   ============================================================ */

/* ===== 1. READING PROGRESS BAR (Article Pages) ===== */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-blue, #0170B9), var(--cta-orange, #F38229));
    z-index: 10001;
    pointer-events: none;
    transform-origin: left center;
    will-change: transform;
}

/* ===== 2. IMAGE REVEAL (GSAP-enhanced) ===== */
.img-reveal-gsap {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
}

/* ===== 3. MAGNETIC CTA BUTTONS ===== */
.btn-magnetic {
    will-change: transform;
    transition: box-shadow 0.35s var(--transition, cubic-bezier(0.4, 0, 0.2, 1));
}

/* ===== 4. TYPING EFFECT — Hero Headlines ===== */
.hero-type {
    display: inline;
}
.hero-type .hero-type-text {
    display: inline;
}
.hero-type .hero-type-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--brand-blue, #0170B9);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: heroTypeBlink 0.7s step-end infinite;
}
.hero-type .hero-type-cursor.done {
    animation: heroTypeFadeOut 0.5s ease-out forwards;
}
@keyframes heroTypeBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
@keyframes heroTypeFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ===== 5. CAROUSEL — Testimonial/Case Study ===== */
.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.carousel-track {
    display: flex;
    will-change: transform;
}
.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0 16px;
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding: 8px 0;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-subtle, rgba(7, 39, 68, 0.08));
    border: 1.5px solid var(--border-accent, rgba(1, 112, 185, 0.2));
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}
.carousel-dot:hover {
    background: rgba(1, 112, 185, 0.15);
    transform: scale(1.2);
}
.carousel-dot.active {
    background: var(--brand-blue, #0170B9);
    box-shadow: 0 0 8px rgba(1, 112, 185, 0.4);
    transform: scale(1.15);
}

/* Carousel mobile */
@media (max-width: 768px) {
    .carousel-slide {
        padding: 0 8px;
    }
    .carousel-dots {
        gap: 8px;
        margin-top: 16px;
    }
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}
