:root {
    --primary: #0284c7; /* brand blue */
    --primary-dark: #0369a1;
    --secondary: #65a30d; /* brand green */
    --accent: #84cc16; /* light green */
    --bg-color: #0f172a; /* slate */
    --text-light: #f8fafc;
    --text-muted: #cbd5e1;
    --glass-bg: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-light);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

html {
    max-width: 100%;
    overflow-x: clip;
}

/* Wave Section Dividers */
.wave-bottom, .wave-top {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}
.wave-bottom {
    bottom: -1px;
}
.wave-top {
    top: -1px;
    transform: rotate(180deg);
}
.wave-bottom svg, .wave-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}
@media (min-width: 1200px) {
    .wave-bottom svg, .wave-top svg { height: 100px; }
}

h1, h2, h3, .badge {
    font-family: 'Poppins', sans-serif;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), transparent);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none !important;
    color: inherit;
}

.logo .text {
    color: var(--text-light);
}

.nav-links {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.mobile-only {
    display: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    transition: all 0.25s ease-in-out;
    position: relative;
}

.nav-links a::after {
    display: none;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--bg-color);
}

.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

/* ---- Single static hero photo ---- */
.hero-photo {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* dark fallback so the hero is never blank if the image is missing */
    background-color: #0b1524;
    background-size: cover;
    background-position: center left;
    animation: pushAndFade 22s ease-in-out infinite;
    will-change: transform, opacity;
}

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

@keyframes pushAndFade {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    80% {
        transform: scale(1.08);
        opacity: 1;
    }
    90% {
        transform: scale(1.1);
        opacity: 0.15;
    }
    95% {
        transform: scale(1);
        opacity: 0.15;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(9, 17, 30, 0.45) 0%, rgba(9, 17, 30, 0.2) 42%, rgba(9, 17, 30, 0.25) 78%, rgba(9, 17, 30, 0.45) 100%),
        linear-gradient(0deg, rgba(9, 17, 30, 0.25) 0%, rgba(9, 17, 30, 0.05) 40%);
    z-index: 2;
}

.hero-grid {
    position: relative;
    z-index: 10;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 3rem;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    margin-top: 4rem;
}

/* ---- Hero quote form ---- */
.hero-quote {
    position: relative;
    z-index: 10;
    margin-top: 4rem;
    justify-self: end;
    width: 100%;
    max-width: 480px;
    padding: 1.75rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.hero-quote-head { margin-bottom: 1.1rem; }

.hq-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.3);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.7rem;
}

.hero-quote h2 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin: 0 0 0.35rem;
    color: #fff;
}

.hero-quote-head p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-quote-form { display: flex; flex-direction: column; gap: 0.7rem; }

.hq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }

.hq-field { display: flex; flex-direction: column; gap: 0.3rem; }

.hq-field > span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.hq-field em { font-style: normal; opacity: 0.6; font-weight: 400; }

.hq-field input,
.hq-field select,
.hq-field textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hq-field textarea { resize: vertical; min-height: 60px; }

.hq-field input::placeholder,
.hq-field textarea::placeholder { color: rgba(203, 213, 225, 0.5); }

.hq-field select option { background: #0f172a; color: #fff; }

.hq-field input:focus,
.hq-field select:focus,
.hq-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.22);
}

.hq-field input:user-invalid,
.hq-field select:user-invalid { border-color: #f87171; }

.hq-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.hq-consent input { margin-top: 0.15rem; accent-color: var(--primary); }

.hq-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.35rem;
    font-size: 1rem;
}

.hq-trust {
    text-align: center;
    font-size: 0.76rem;
    color: var(--text-muted);
    opacity: 0.8;
    margin: 0.1rem 0 0;
}

.hq-success {
    margin: 0.4rem 0 0;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #bbf7d0;
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 1024px) {
    .hero { height: auto; padding-top: 8rem; padding-bottom: 4rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-quote { justify-self: start; max-width: 100%; margin-top: 0; }
    .hero-content { margin-top: 0; }
}

@media (max-width: 560px) {
    .hq-row { grid-template-columns: 1fr; }
    .hero-quote { padding: 1.25rem; }
}

.demo-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.demo-pill strong {
    color: var(--secondary);
    font-weight: 800;
}

.demo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.text-gradient {
    color: var(--secondary);
    display: inline-block;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Stats */
.stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

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

.stat-item h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
    /* tabular figures keep the number from jittering while it counts */
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: block;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.0s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Particles / Floating Elements */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.4;
    animation: float 15s infinite linear;
}

.p1 { width: 100px; height: 100px; background: var(--primary); top: 20%; left: 10%; animation-delay: 0s; animation-duration: 25s; }
.p2 { width: 150px; height: 150px; background: var(--secondary); top: 60%; left: 80%; animation-delay: -5s; animation-duration: 30s; opacity: 0.2;}
.p3 { width: 80px; height: 80px; background: var(--primary-dark); top: 70%; left: 30%; animation-delay: -10s; animation-duration: 20s; }
.p4 { width: 120px; height: 120px; background: var(--primary); top: 10%; left: 70%; animation-delay: -15s; animation-duration: 28s; }
.p5 { width: 60px; height: 60px; background: var(--accent); top: 40%; left: 50%; animation-delay: -8s; animation-duration: 22s; opacity: 0.3;}
.p6 { width: 90px; height: 90px; background: var(--secondary); top: 80%; left: 15%; animation-delay: -12s; animation-duration: 26s; }

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .expanding-cards-container {
        flex-direction: column;
        height: 900px;
    }
    
    .card-text-wrapper h3 {
        white-space: normal;
    }
    
    .card-text-wrapper p, .white-btn {
        opacity: 1 !important;
        transform: none !important;
        max-height: none !important;
    }
    
    .hamburger-btn {
        display: block;
    }
    
    .mobile-only {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        padding: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
    }

    .nav-links a {
        font-size: 2rem;
        margin: 1.5rem 0;
    }

    .nav-links.active {
        right: 0;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hero h1 { font-size: 3rem; }
    
    .hero-buttons { flex-direction: column; }
    
    .stats { flex-wrap: wrap; gap: 1.5rem; }
}

/* Exciting Services Section */
.exciting-services {
    padding: 5rem 5%;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Floating Background Decorative SVGs */
.bg-deco {
    position: absolute;
    z-index: 0;
    opacity: 0.12;
}

.bg-snowflake {
    top: 5%;
    left: 2%;
    width: 350px;
    height: 350px;
    transform: rotate(15deg);
    color: #0369a1;
}

.bg-fire {
    bottom: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    transform: rotate(-15deg);
    color: #c2410c;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.services-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.services-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    color: #0f172a;
    letter-spacing: -1px;
}

.services-header p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.expanding-cards-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1200px;
    height: 450px;
    margin: 0 auto;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.expand-card {
    position: relative;
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.expand-card.active, .expand-card:hover {
    flex: 3;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-overlay-gradient {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(15,23,42,1) 0%, rgba(15,23,42,0.5) 40%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.expand-card.active .card-bg, .expand-card:hover .card-bg {
    transform: scale(1.05);
}

.expand-card.active .card-overlay-gradient, .expand-card:hover .card-overlay-gradient {
    background: linear-gradient(135deg, rgba(15,23,42,0.8), rgba(15,23,42,0.4));
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    overflow: hidden;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: auto;
    transition: all 0.5s ease;
}

.expand-card.active .icon-circle {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.card-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-text-wrapper h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    white-space: normal;
    transition: font-size 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.expand-card.active .card-text-wrapper h3 {
    font-size: 2rem;
}

.card-text-wrapper p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    width: 350px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.expand-card.active .card-text-wrapper p, .expand-card:hover .card-text-wrapper p {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.white-btn {
    border: 1px solid rgba(255,255,255,0.8);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    align-self: flex-start;
    padding: 0.8rem 1.5rem;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.expand-card.active .white-btn, .expand-card:hover .white-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.contact-btn:hover {
    background: transparent;
    color: var(--primary);
}

/* Interior Pages */
.interior-hero {
    padding: 12rem 5% 6rem 5%;
    background: linear-gradient(135deg, var(--bg-color) 0%, #1e293b 100%);
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.interior-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.interior-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.interior-main {
    padding: 6rem 5%;
    background-color: #ffffff;
    color: #0f172a;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-container {
    max-width: none;
}

.content-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.content-container h3 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.content-container p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.5rem;
}

.content-container ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}

.content-container li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 0.5rem;
}

.white-btn:hover {
    background: #ffffff;
    color: #0f172a;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
    gap: 0.5rem;
}

.service-link:hover {
    gap: 0.8rem;
}

/* Scroll Fly-in Animations */
.fly-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fly-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.services .delay-1 { transition-delay: 0.1s; }
.services .delay-2 { transition-delay: 0.3s; }
.services .delay-3 { transition-delay: 0.5s; }

/* Feature Section */
.feature-section {
    padding: 6rem 5%;
    background-color: var(--bg-color);
    position: relative;
    z-index: 10;
}

.feature-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, transparent 100%);
    pointer-events: none;
}

.feature-content {
    flex: 1;
}

.feature-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.bento-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
}

.bento-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.15);
}

.bento-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 12px;
    color: var(--primary);
    flex-shrink: 0;
}

.bento-icon svg {
    width: 22px;
    height: 22px;
}

.bento-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.3;
}

@media (max-width: 560px) {
    .feature-bento-grid {
        grid-template-columns: 1fr;
    }
}

.mt-4 {
    margin-top: 1rem;
    display: inline-flex;
}

/* Update Fly-in specifically for this layout */
.fly-in.left-fly {
    transform: translateX(-40px);
    opacity: 0;
}
.fly-in.right-fly {
    transform: translateX(40px);
    opacity: 0;
}
.fly-in.left-fly.visible,
.fly-in.right-fly.visible {
    transform: translateX(0);
    opacity: 1;
}

@media (max-width: 992px) {
    .feature-container {
        flex-direction: column;
    }
}

/* Demo Pill Hover */
.demo-pill {
    text-decoration: none;
    transition: all 0.3s ease;
}
.demo-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px; right: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    font-size: 1.5rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
}

.support-phone-icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.2) 0%, rgba(101, 163, 13, 0.2) 100%);
    border: 1px solid rgba(2, 132, 199, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem auto 1.25rem;
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.3);
    animation: phonePulse 2s infinite ease-in-out;
}

@keyframes phonePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(2, 132, 199, 0.3); }
    50% { transform: scale(1.06); box-shadow: 0 12px 32px rgba(2, 132, 199, 0.55); }
}

.support-phone-num {
    color: var(--primary);
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin: 1.25rem 0 0.25rem;
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-form input, .modal-form select {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
}

.modal-form input:focus, .modal-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-form select option {
    background: rgba(30, 41, 59, 0.95);
}

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

/* Footer */
.site-footer {
    background-color: var(--bg-color) !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 5rem 5% 2rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.footer-col .footer-logo {
    margin-bottom: 1.5rem;
    display: inline-flex;
}

.footer-col p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.contact-info li {
    display: flex;
    gap: 0.8rem;
    color: var(--text-muted);
    align-items: flex-start;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

/* Our Story Images */
.story-images {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 3rem auto 4rem auto;
    height: 400px;
}

.story-img-main {
    width: 75%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.story-img-overlap {
    width: 60%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 8px solid #ffffff;
}

@media (max-width: 768px) {
    .story-images {
        height: 300px;
    }
    .story-img-main {
        height: 250px;
    }
    .story-img-overlap {
        height: 200px;
        border-width: 4px;
    }
}

/* Pricing Bento Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
    border: none;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    margin-bottom: 2rem;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: inherit;
}

.pricing-card:not(.featured) h3 {
    color: var(--secondary);
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: inherit;
    line-height: 1;
}

.price span {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.8;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    padding: 0;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    opacity: 0.9;
    line-height: 1.4;
}

.pricing-features li::before {
    content: '✓';
    font-weight: bold;
}

.pricing-card:not(.featured) .pricing-features li::before {
    color: var(--primary);
}

.pricing-card.featured .pricing-features li::before {
    color: #bae6fd;
}

.btn-pricing {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1;
    margin-top: auto;
    width: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-pricing::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: right 15px center;
    opacity: 0.5;
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-pricing:hover::before {
    transform: scale(1.2) rotate(15deg);
    opacity: 0.9;
}

.btn-essential {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(14, 165, 233, 0.15));
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.4);
}
.btn-essential::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea5e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h20M12 2v20M20 16l-4-4 4-4M4 8l4 4-4 4M16 4l-4 4-4-4M8 20l4-4 4 4'/%3E%3C/svg%3E");
}
.btn-essential:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.25));
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
    transform: translateY(-3px);
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}
.btn-premium::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h20M12 2v20M20 16l-4-4 4-4M4 8l4 4-4 4M16 4l-4 4-4-4M8 20l4-4 4 4'/%3E%3C/svg%3E");
    opacity: 0.3;
}
.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.5);
    background: linear-gradient(135deg, #38bdf8 0%, var(--primary) 100%);
}

.btn-elite {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(249, 115, 22, 0.15));
    color: var(--secondary);
    border: 1px solid rgba(249, 115, 22, 0.4);
}
.btn-elite::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E");
}
.btn-elite:hover {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.25));
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Lead Funnel Section */
.lead-funnel {
    padding: 6rem 5%;
    background-color: #ffffff;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.funnel-glass-container {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
}

.funnel-glass-container::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.funnel-glass-container::after {
    content: '';
    position: absolute;
    bottom: -50%; left: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.funnel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.funnel-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.2;
}

.funnel-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.funnel-benefits {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.funnel-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    font-weight: 500;
}

.funnel-benefits .icon {
    font-size: 1.5rem;
}

.funnel-form-wrapper {
    background: rgba(11, 17, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lead-form .form-group {
    margin-bottom: 1.5rem;
}

.lead-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.lead-form input,
.lead-form select {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.lead-form input:focus,
.lead-form select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.lead-form select option {
    background-color: var(--bg-color);
    color: white;
}

.lead-form .w-100 {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 1.2rem;
    font-size: 1.1rem;
}

.privacy-text {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .funnel-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .funnel-glass-container {
        padding: 2.5rem;
    }
    .funnel-text h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .funnel-glass-container {
        padding: 1.5rem;
    }
    .funnel-form-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .funnel-actions {
        flex-direction: column;
    }
}

/* =========================================
   Chat widget (bottom right)
   ========================================= */
.chat-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    font-family: inherit;
}

.chat-launcher {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chat-launcher:hover { transform: scale(1.06); }

.chat-widget.has-nudge .chat-launcher {
    animation: chatNudge 1.6s ease-in-out 3;
}

@keyframes chatNudge {
    0%, 100% { transform: translateY(0); }
    30%      { transform: translateY(-7px); }
    60%      { transform: translateY(0); }
}

.chat-ico-close { display: none; }
.chat-widget.is-open .chat-ico-open { display: none; }
.chat-widget.is-open .chat-ico-close { display: block; }

.chat-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f172a;
}

.chat-panel {
    position: absolute;
    right: 0;
    bottom: 74px;
    width: 340px;
    max-width: calc(100vw - 44px);
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.97);
    transform-origin: bottom right;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.chat-widget.is-open .chat-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.1rem 1.25rem;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.chat-head-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.chat-head-text strong {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.chat-head-text span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.chat-online {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
}

.chat-body {
    padding: 1rem;
    height: 260px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.chat-msg {
    max-width: 85%;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    font-size: 0.87rem;
    line-height: 1.5;
}

.chat-msg.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border-bottom-left-radius: 4px;
}

.chat-msg.me {
    align-self: flex-end;
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-msg.typing { display: flex; gap: 4px; padding: 0.8rem 0.9rem; }
.chat-msg.typing i {
    width: 6px; height: 6px; border-radius: 50%;
    background: #94a3b8; display: block;
    animation: chatType 1.2s infinite ease-in-out;
}
.chat-msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-msg.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatType {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30%           { opacity: 1;   transform: translateY(-4px); }
}

.chat-quick {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.chat-quick button {
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(2, 132, 199, 0.4);
    color: #38bdf8;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: all 0.2s ease;
}

.chat-quick button:hover {
    background: rgba(2, 132, 199, 0.3);
    color: #ffffff;
    transform: translateY(-1px);
}

.chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: inherit;
    font-size: 0.87rem;
}
.chat-input input::placeholder { color: rgba(203, 213, 225, 0.5); }
.chat-input input:focus { outline: none; border-color: var(--primary); }

.chat-input button {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex: none;
}
.chat-input button:hover { background: var(--primary-dark); }

.chat-foot {
    margin: 0;
    padding: 0 0.75rem 0.7rem;
    font-size: 0.68rem;
    color: rgba(203, 213, 225, 0.5);
    text-align: center;
}

@media (max-width: 480px) {
    .chat-widget { right: 14px; bottom: 14px; }
    .chat-panel { width: calc(100vw - 28px); }
    .chat-body { height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
    .chat-widget.has-nudge .chat-launcher { animation: none; }
    .chat-panel { transition: opacity 0.15s ease, visibility 0.15s; }
}

/* =========================================
   Services: pricing, dispatch, assurance band
   ========================================= */

/* Live dispatch strip — urgency, honestly stated */
.dispatch-strip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.09);
    border: 1px solid rgba(14, 165, 233, 0.28);
    font-size: 0.88rem;
    color: #0f172a;
}

.dispatch-strip strong { color: var(--primary-dark); }

.dispatch-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
    animation: dispatchPulse 2s infinite;
}

.dispatch-sep { color: rgba(15, 23, 42, 0.3); }
.dispatch-crew { color: rgba(15, 23, 42, 0.65); }

@keyframes dispatchPulse {
    0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
    70%  { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* Price block inside each expanding card */
.card-price {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.55rem !important;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.card-price strong {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.35rem;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.01em;
}

.card-price span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    white-space: nowrap;
}

.card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(14, 165, 233, 0.45);
}

.card-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 2px;
    transition: border-color 0.22s ease, color 0.22s ease;
    white-space: nowrap;
}

.card-link:hover {
    color: #fff !important;
    border-bottom-color: #fff;
}

/* Assurance band */
.assurance-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    width: min(100%, 1180px);
    margin: 2.5rem auto 0;
    padding: 0 1rem;
}

.assurance-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 16px;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.assurance-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 0.5rem;
}

.assurance-tag {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* The emergency card is the one loud thing in the band */
.assurance-urgent {
    background: linear-gradient(150deg, #0f172a 0%, #14304a 100%);
    border-color: rgba(249, 115, 22, 0.35);
}

.assurance-urgent .assurance-tag { color: var(--secondary); }
.assurance-urgent p { color: rgba(226, 232, 240, 0.82); }

.assurance-phone {
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff !important;
    text-decoration: none !important;
    margin-bottom: 0.45rem;
    transition: color 0.2s ease;
}

.assurance-phone:hover { color: var(--secondary) !important; }

.assurance-areas {
    color: #0f172a !important;
    font-weight: 600;
    line-height: 1.75 !important;
}

.assurance-note {
    font-size: 0.82rem !important;
    color: #64748b !important;
}

.assurance-card .card-link {
    color: var(--primary-dark) !important;
    border-bottom-color: rgba(2, 132, 199, 0.4);
}

.assurance-card .card-link:hover {
    color: var(--primary-dark) !important;
    border-bottom-color: var(--primary-dark);
}

@media (max-width: 900px) {
    .assurance-band { grid-template-columns: 1fr; }
    .card-price strong { font-size: 1.2rem; }
}

@media (max-width: 560px) {
    .card-actions { flex-direction: column; align-items: stretch; gap: 0.6rem; }
    .card-cta { width: 100%; }
    .card-link { text-align: center; }
    .assurance-phone { font-size: 1.5rem; }
    .dispatch-strip { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    .dispatch-pulse { animation: none; }
    .card-cta:hover { transform: none; }
}

/* =========================================
   Hero quote form — refined
   ========================================= */
.hq-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.hq-badge-row .hq-badge { margin-bottom: 0; }

.hq-timer {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(203, 213, 225, 0.75);
    letter-spacing: 0.02em;
}

/* Social proof strip under the heading */
.hq-proof {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0 0 1.1rem;
    padding: 0.6rem 0.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.hq-proof span {
    flex: 1;
    text-align: center;
    font-size: 0.7rem;
    line-height: 1.35;
    color: rgba(203, 213, 225, 0.7);
    border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.hq-proof span:last-child { border-right: none; }

.hq-proof strong {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: #fff;
    letter-spacing: -0.01em;
}

/* Invalid-field state */
.hq-field.is-invalid input,
.hq-field.is-invalid select,
.hq-field.is-invalid textarea {
    border-color: #f87171;
    background: rgba(248, 113, 113, 0.08);
}

.hq-field.is-invalid > span { color: #fca5a5; }

.hq-consent.is-invalid { color: #fca5a5; }
.hq-consent.is-invalid input { outline: 2px solid #f87171; outline-offset: 2px; }

.hq-error {
    margin: 0;
    padding: 0.55rem 0.8rem;
    border-radius: 9px;
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fecaca;
    font-size: 0.82rem;
}

/* Submit button — solid, no native border, no outline ring */
.hq-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.95rem 1.5rem;
    border: none;
    outline: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(14, 165, 233, 0.32);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    -webkit-appearance: none;
    appearance: none;
}

.hq-submit svg { transition: transform 0.22s ease; }

.hq-submit:hover {
    background: linear-gradient(135deg, #22b0ee 0%, #0ea5e9 100%);
    box-shadow: 0 18px 34px rgba(14, 165, 233, 0.44);
    transform: translateY(-2px);
}

.hq-submit:hover svg { transform: translateX(3px); }

.hq-submit:active { transform: translateY(0); }

.hq-submit:focus-visible {
    box-shadow: 0 12px 26px rgba(14, 165, 233, 0.32),
                0 0 0 3px rgba(255, 255, 255, 0.55);
}

@media (prefers-reduced-motion: reduce) {
    .hq-submit:hover { transform: none; }
    .hq-submit:hover svg { transform: none; }
}

/* =========================================
   Hero quote card — solid, lifted off the photo
   A light card on a dark photo gives the strongest
   figure-ground separation, so the booking form reads
   as an object on the page rather than part of the hero.
   ========================================= */
.hero-quote {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 32px 70px rgba(2, 12, 27, 0.55),
                0 4px 12px rgba(2, 12, 27, 0.3);
}

/* Solid header cap so the card has a clear "top" */
.hero-quote-head {
    background: linear-gradient(140deg, #0f2942 0%, #12405f 100%);
    padding: 1.35rem 1.6rem 1.2rem;
    margin-bottom: 0;
    border-bottom: 3px solid var(--primary);
}

.hero-quote h2 {
    font-size: 1.55rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.hero-quote-head p {
    color: rgba(219, 234, 245, 0.85);
    font-size: 0.87rem;
    line-height: 1.5;
}

.hq-badge {
    color: #0f2942;
    background: var(--primary);
    border-color: transparent;
    font-weight: 800;
}

.hq-timer { color: rgba(219, 234, 245, 0.7); }

/* Proof strip sits on light now */
.hq-proof {
    margin: 0;
    padding: 0.7rem 1.6rem;
    background: #f1f6fa;
    border-top: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.hq-proof span {
    color: #5a6b7d;
    border-right-color: rgba(15, 23, 42, 0.1);
}

.hq-proof strong { color: #0f2942; }

/* Form body */
.hero-quote-form { padding: 1.35rem 1.6rem 1.5rem; }

.hq-field > span {
    color: #46586b;
    font-weight: 700;
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.hq-field em { color: #8496a8; }

.hq-field input,
.hq-field select,
.hq-field textarea {
    background: #f7fafc;
    border: 1px solid #d3dee7;
    color: #0f2942;
    font-size: 0.94rem;
}

.hq-field input::placeholder,
.hq-field textarea::placeholder { color: #9bacbc; }

.hq-field select option { background: #ffffff; color: #0f2942; }

.hq-field input:focus,
.hq-field select:focus,
.hq-field textarea:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.16);
}

.hq-field.is-invalid input,
.hq-field.is-invalid select,
.hq-field.is-invalid textarea {
    border-color: #dc2626;
    background: #fef2f2;
}

.hq-field.is-invalid > span { color: #dc2626; }

.hq-consent { color: #46586b; }
.hq-consent.is-invalid { color: #dc2626; }

.hq-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.hq-trust { color: #7b8b9b; opacity: 1; }

.hq-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

/* Keep the card visually above the hero copy on desktop */
@media (min-width: 1025px) {
    .hero-quote { margin-top: 5rem; }
}

/* =========================================
   Hero layout + refined quote card
   ========================================= */

/* Let the hero breathe: never crush the card, always clear the nav,
   and keep real space before the next section. */
.hero {
    height: auto;
    min-height: 100vh;
    padding-top: 8.5rem;
    padding-bottom: 5.5rem;
    align-items: center;
}

.hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 3.5rem;
    align-items: center;
}

.hero-content { margin-top: 0; }

/* Wider, shorter card */
.hero-quote {
    max-width: 560px;
    margin-top: 0;
    border: none;
    border-radius: 22px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(160deg, rgba(255,255,255,.9), rgba(14,165,233,.35) 45%, rgba(15,41,66,.5)) border-box;
    border: 1px solid transparent;
    box-shadow:
        0 40px 80px -20px rgba(2, 12, 27, 0.65),
        0 18px 36px -18px rgba(2, 12, 27, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@media (min-width: 1025px) {
    .hero-quote { margin-top: 0; }
}

/* Header cap: a soft glow instead of a flat block + hard line */
.hero-quote-head {
    position: relative;
    padding: 1.5rem 1.75rem 1.35rem;
    background:
        radial-gradient(120% 140% at 85% -20%, rgba(14, 165, 233, 0.45) 0%, rgba(14, 165, 233, 0) 60%),
        linear-gradient(150deg, #0d2740 0%, #123f5c 100%);
    border-bottom: none;
}

/* Replace the flat 1px rule with a tapered gradient hairline */
.hero-quote-head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(14, 165, 233, 0) 0%,
        rgba(14, 165, 233, 0.9) 22%,
        rgba(125, 211, 252, 1) 50%,
        rgba(14, 165, 233, 0.9) 78%,
        rgba(14, 165, 233, 0) 100%);
}

.hero-quote h2 {
    font-size: 1.72rem;
    letter-spacing: -0.025em;
    margin-bottom: 0.3rem;
}

.hero-quote-head p { font-size: 0.88rem; max-width: 44ch; }

/* Proof strip — quieter, tighter */
.hq-proof {
    padding: 0.65rem 1.75rem;
    background: linear-gradient(180deg, #f7fbfd 0%, #eff5f9 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.hq-proof strong { font-size: 1.05rem; }
.hq-proof span { font-size: 0.68rem; letter-spacing: 0.01em; }

/* Body: tighter rhythm now that there are fewer fields */
.hero-quote-form {
    padding: 1.4rem 1.75rem 1.6rem;
    gap: 0.85rem;
}

/* ZIP sits narrow beside the service select */
.hq-row-split { grid-template-columns: minmax(0, 1.75fr) minmax(0, 0.85fr); }

.hq-field input,
.hq-field select {
    padding: 0.78rem 0.9rem;
    border-radius: 11px;
    background: #f8fbfd;
    border-color: #dbe5ed;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hq-field input:hover,
.hq-field select:hover { border-color: #c2d3e0; }

.hq-consent {
    align-items: center;
    font-size: 0.8rem;
    padding: 0.15rem 0;
}

.hq-submit {
    margin-top: 0.25rem;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    box-shadow: 0 14px 28px -8px rgba(14, 165, 233, 0.55);
}

.hq-trust {
    font-size: 0.73rem;
    letter-spacing: 0.01em;
    margin-top: 0.15rem;
}

@media (max-width: 992px) {
    .hero {
        padding-top: 6.5rem !important;
        padding-bottom: 3.5rem !important;
        min-height: auto !important;
    }
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        text-align: center;
    }
    .hero-content {
        margin-top: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-content h1 {
        font-size: clamp(2.2rem, 7.5vw, 3.2rem) !important;
        text-align: center;
    }
    .hero-content p {
        text-align: center;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-quote {
        width: 100% !important;
        max-width: 540px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 560px) {
    .hero-content h1 {
        font-size: 2.2rem !important;
    }
    .hq-row-split {
        grid-template-columns: 1fr !important;
    }
    .hero-quote-head,
    .hq-proof,
    .hero-quote-form {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* =========================================
   Services header — asymmetric "rate card" masthead
   Left: the claim. Right: the proof + the one live fact.
   Deliberately not a centered eyebrow/headline/subhead stack.
   ========================================= */
.services-header {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: end;
    gap: 2.5rem clamp(2rem, 5vw, 5rem);
    width: min(100%, 1180px);
    margin: 0 auto 3rem;
    padding: 0 1rem;
    text-align: left;
    position: relative;
}

/* Hairline that ties the two columns together */
.services-header::after {
    content: "";
    grid-column: 1 / -1;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(15, 41, 66, 0.22) 0%,
        rgba(15, 41, 66, 0.1) 45%,
        rgba(15, 41, 66, 0) 100%);
}

.sh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* Short measured rule — reads like a ledger mark, not a badge pill */
.sh-eyebrow i {
    display: block;
    width: 34px;
    height: 2px;
    background: var(--secondary);
}

.services-header h2 {
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: #0d2740;
    margin: 0;
}

.sh-aside {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding-bottom: 0.3rem;
}

.sh-copy {
    font-size: 1rem;
    line-height: 1.65;
    color: #55677a;
    margin: 0;
    max-width: 42ch;
}

/* The one live fact, set like a line on a work order */
.sh-slot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0 0;
    border-top: 2px solid #0d2740;
}

.sh-slot-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7b8b9b;
}

.sh-slot-time {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: #0d2740;
    letter-spacing: -0.01em;
}

@media (max-width: 900px) {
    .services-header {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 1.5rem;
        margin-bottom: 2.25rem;
    }
    .services-header h2 { line-height: 1.04; }
    .sh-aside { padding-bottom: 0; }
}

/* =========================================
   Cleanup pass
   ========================================= */

/* Drop the generic pale snowflake; keep the section calm */
.bg-snowflake { display: none; }
.bg-fire { opacity: 0.06; }

/* More breathing room inside the bento cards, esp. off the edges */
.card-content {
    padding: 2.6rem 2.4rem 2.8rem;
}

/* Collapsed (narrow) cards: title/button shouldn't kiss the edges */
.expand-card:not(.active):not(:hover) .card-content {
    padding: 2rem 1.6rem 2.4rem;
}

.card-text-wrapper { padding-right: 0.25rem; }

/* Promise line — replaces the un-trackable "next available" slot */
.sh-guarantee {
    padding-top: 0.85rem;
    border-top: 2px solid #0d2740;
}

.sh-guarantee .sh-slot-label { display: block; margin-bottom: 0.35rem; }

.sh-guarantee .sh-slot-time {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    color: #0d2740;
    letter-spacing: -0.01em;
}

/* =========================================
   Palette refresh + cleanup (loaded last, wins)
   Cool cyan = brand / links / focus. Warm amber = the
   things we want clicked. Warm CTA on a cool site is
   the high-converting HVAC pattern and avoids the
   generic all-blue look.
   ========================================= */

/* Kill the floating particle dots in the hero */
.particles { display: none !important; }

/* Primary action buttons — Neon Glow Effect */
.btn-primary,
.hq-submit,
.card-cta {
    position: relative !important;
    background: linear-gradient(135deg, #65a30d 0%, #0284c7 100%) !important;
    box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.4) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    transition: all 0.3s ease-in-out !important;
    z-index: 1;
}

/* Neon Top Glow Line */
.btn-primary::before,
.hq-submit::before,
.card-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12.5%;
    width: 75%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #84cc16, #38bdf8, transparent);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
    z-index: 2;
}

/* Neon Bottom Glow Line */
.btn-primary::after,
.hq-submit::after,
.card-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12.5%;
    width: 75%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #84cc16, #38bdf8, transparent);
    opacity: 0.3;
    transition: opacity 0.4s ease-in-out, filter 0.4s ease-in-out;
    pointer-events: none;
    z-index: 2;
}

.btn-primary:hover,
.hq-submit:hover,
.card-cta:hover {
    background: linear-gradient(135deg, #84cc16 0%, #0369a1 100%) !important;
    box-shadow: 0 0 25px rgba(132, 204, 22, 0.6), 0 12px 30px -5px rgba(2, 132, 199, 0.6) !important;
    transform: translateY(-2px);
}

.btn-primary:hover::before,
.hq-submit:hover::before,
.card-cta:hover::before {
    opacity: 1;
}

.btn-primary:hover::after,
.hq-submit:hover::after,
.card-cta:hover::after {
    opacity: 0.9;
    filter: drop-shadow(0 0 6px #84cc16);
}

.hq-submit:focus-visible {
    box-shadow: 0 0 25px rgba(132, 204, 22, 0.6),
                0 0 0 3px rgba(255, 255, 255, 0.6) !important;
}

/* Dynamic FREE ESTIMATE badge with live pulse dot */
.hq-badge-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    margin-bottom: 0.85rem !important;
    width: 100% !important;
    position: relative !important;
    z-index: 5 !important;
}

.hq-badge {
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%) !important;
    color: #ffffff !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 14px rgba(101, 163, 13, 0.45) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    margin-bottom: 0 !important;
}

.hq-badge:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(101, 163, 13, 0.6) !important;
}

/* Pulsing live status dot */
.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: badgePulse 1.8s infinite;
}

@keyframes badgePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Keep the header hairline + focus states cool cyan (brand),
   so the two colours read as an intentional pair */

/* =========================================
   Bebas Neue + DM Sans tuning (loaded last)
   Bebas is condensed all-caps: it needs a touch of tracking,
   tighter line-height, and a small size bump to match the
   optical weight the old Outfit headings had.
   ========================================= */
h1, h2, h3, .badge {
    letter-spacing: 0.012em;
    font-weight: 400;   /* Bebas ships one weight; looks bold already */
}

.hero h1 { line-height: 0.92; letter-spacing: 0.005em; }
.services-header h2 { line-height: 0.9; }
.hero-quote h2 { letter-spacing: 0.02em; }

/* Full sentences shouldn't be all-caps condensed — keep them DM Sans */
.sh-guarantee .sh-slot-time,
.card-price strong,
.hero-quote-head p {
    font-family: 'DM Sans', sans-serif;
}
.card-price strong { letter-spacing: -0.01em; }

/* Bebas numerals read small; nudge the stat + price numbers up a hair */
.stat-item h3 { font-size: 2.05rem; letter-spacing: 0.02em; }
.hq-proof strong { font-size: 1.25rem; letter-spacing: 0.02em; }
.assurance-phone { font-size: 2rem; letter-spacing: 0.03em; }

/* ============================================================
   FIX — collapsed expanding-card titles clipped mid-word
   Cause: .card-text-wrapper h3 has white-space:nowrap while the
   collapsed card is flex:1 (~234px) with .card-content overflow:hidden.
   "AC Repair & Install" at 1.4rem/800 needs ~245px, so it clips.
   Fix: let the title wrap and scale down while collapsed; keep the
   single-line treatment for the expanded card where there is room.
   ============================================================ */
@media (min-width: 769px) {

  /* collapsed cards — wrap instead of clip */
  .expand-card:not(.active):not(:hover) .card-text-wrapper h3 {
    white-space: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
    font-size: 1.05rem;
    line-height: 1.25;
  }

  /* stop flex children from refusing to shrink */
  .expand-card,
  .card-content,
  .card-text-wrapper,
  .card-text-wrapper > * {
    min-width: 0;
  }

  /* a little more side room in the collapsed state */
  .expand-card:not(.active):not(:hover) .card-content {
    padding: 2rem 1.4rem 2.2rem;
  }

  /* expanded card: allow wrapping too, so mid-size viewports can't clip it */
  .expand-card.active .card-text-wrapper h3,
  .expand-card:hover .card-text-wrapper h3 {
    white-space: normal;
    overflow-wrap: break-word;
  }

  /* price line was clipping the same way */
  .card-price strong,
  .card-price span {
    white-space: normal;
    overflow-wrap: break-word;
  }
}

/* narrower desktops squeeze the collapsed cards further */
@media (min-width: 769px) and (max-width: 1150px) {
  .expand-card:not(.active):not(:hover) .card-text-wrapper h3 {
    font-size: 0.95rem;
  }
  .expand-card:not(.active):not(:hover) .card-content {
    padding: 1.75rem 1.15rem 2rem;
  }
}

/* Fix for mobile bentos specificity issue */
@media (max-width: 860px) {
    .expanding-cards-container {
        flex-direction: column !important;
        height: auto !important;
        min-height: 900px;
        gap: 1.5rem;
    }
    .expand-card {
        flex: 1 1 auto !important;
        width: 100%;
        min-height: 280px;
    }
    .card-text-wrapper h3 {
        white-space: normal !important;
    }
    .card-text-wrapper p, .white-btn {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: none !important;
    }
}

/* Team Section Wide */
.team-section-wide {
    position: relative;
    width: 100%;
    height: 480px !important;
    min-height: 980px !important;
    background-size: cover !important;
    background-position: left 45% !important;
    background-color: #ffffff !important;
    display: flex;
    align-items: flex-end;
    padding: 0;
}

.team-bottom-bar {
    width: 100%;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: none;
    padding: 1.25rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: #fff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.shiny-ribbon-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(101, 163, 13, 0.25), rgba(132, 204, 22, 0.1));
    border: 1px solid var(--secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(101, 163, 13, 0.3);
    flex-shrink: 0;
}

.shiny-ribbon-badge svg {
    color: var(--secondary);
    filter: drop-shadow(0 0 5px var(--secondary));
}

.shiny-ribbon-badge .ribbon-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.shiny-ribbon-badge .ribbon-text strong {
    font-size: 1.1rem;
    color: #ffffff;
    letter-spacing: 1px;
}

.shiny-ribbon-badge .ribbon-text span {
    font-size: 0.65rem;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 1px;
}

.team-bar-copy {
    flex: 1;
    min-width: 280px;
}

.team-bar-copy h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.team-bar-copy p {
    font-size: 0.88rem;
    color: #cbd5e1;
    margin: 0;
}

.team-bar-features {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.bar-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
}

.bar-feature-item svg {
    color: var(--secondary);
}

@media (max-width: 992px) {
    .team-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
}

.creative-subheader {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.creative-subheader .accent-line {
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.team-overlay-card h2 {
    font-size: 2.6rem;
    margin: 1rem 0;
    color: #0f172a;
    line-height: 1.2;
}

.team-overlay-card p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.trust-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
}

.trust-badge .icon {
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .team-section-wide {
        background-position: center;
        justify-content: center;
        padding: 4rem 5%;
    }
    .team-overlay-container {
        justify-content: center;
    }
    .team-overlay-card {
        background: rgba(255, 255, 255, 0.95);
        text-align: center;
        padding: 2.5rem;
    }
    .creative-subheader {
        justify-content: center;
    }
    .trust-badges-container {
        justify-content: center;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 5%;
    background: #ffffff;
    position: relative;
    z-index: 10;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.testimonials-header h2 {
    font-size: 2.8rem;
    margin: 1rem 0;
    color: #0f172a;
}

.testimonials-header p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonials-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-btn.left-btn { left: -25px; }
.carousel-btn.right-btn { right: -25px; }

@media (max-width: 1250px) {
    .carousel-btn.left-btn { left: -10px; }
    .carousel-btn.right-btn { right: -10px; }
}

@media (max-width: 768px) {
    .carousel-btn { display: none; }
}

.testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1.5rem 0; /* Removed left/right padding to prevent alignment issues */
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    width: 100%;
}

.testimonials-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.333rem); /* Exactly 3 cards fit on desktop */
    scroll-snap-align: start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

@media (max-width: 1000px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem); /* Exactly 2 cards fit on tablets */
    }
}

@media (max-width: 650px) {
    .testimonial-card {
        flex: 0 0 100%; /* Exactly 1 card fits on mobile */
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-card .stars {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-card .quote {
    color: #334155;
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-card .author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    color: #0f172a;
    font-size: 1.1rem;
}

.author-info span {
    color: #64748b;
    font-size: 0.9rem;
}

/* Interactive Pricing Section V2 */
.pricing-section-v2 {
    width: 100% !important;
    padding: 5.5rem 5% !important;
    background-color: #ffffff !important;
    position: relative;
    z-index: 10;
}

.pricing-header-block {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-header-block h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a !important;
    margin-bottom: 0.75rem;
}

.pricing-header-block p {
    color: #475569 !important;
    font-size: 1.1rem;
    line-height: 1.6;
}

.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-label {
    font-weight: 600;
    font-size: 1rem;
    color: #64748b;
    transition: color 0.3s ease;
}

.toggle-label.active {
    color: #0f172a;
}

.discount-badge {
    background: #65a30d;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-left: 0.4rem;
}

/* Switch styling */
.pricing-toggle-container .switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.pricing-toggle-container .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-toggle-container .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s ease;
    border-radius: 34px;
}

.pricing-toggle-container .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s ease;
    border-radius: 50%;
}

.pricing-toggle-container input:checked + .slider {
    background-color: #0284c7;
}

.pricing-toggle-container input:checked + .slider:before {
    transform: translateX(24px);
}

/* 3 Column Grid */
.pricing-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card-v2 {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 2.25rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.pricing-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -10px rgba(2, 132, 199, 0.15);
}

.pricing-card-v2.popular {
    border: 2.5px solid #0284c7;
    box-shadow: 0 15px 35px -5px rgba(2, 132, 199, 0.25);
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card-v2.popular:hover {
    transform: scale(1.03) translateY(-5px);
}

.popular-tag {
    position: absolute;
    top: -14px;
    right: 24px;
    background: #0284c7;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.plan-name {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.price-box {
    margin-bottom: 0.2rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.price-box .currency {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
}

.price-box .price-val {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    transition: all 0.3s ease;
}

.price-box .period {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
}

.billing-type {
    font-size: 0.825rem;
    color: #94a3b8;
    margin-bottom: 1.75rem;
    text-transform: lowercase;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
}

.plan-desc {
    font-size: 0.825rem;
    color: #64748b;
    margin-top: 1.25rem;
}

@media (max-width: 900px) {
    .pricing-grid-3 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .pricing-card-v2.popular {
        transform: none;
    }
    .pricing-card-v2.popular:hover {
        transform: translateY(-5px);
    }
}

/* Ensure 100% Full Width across all page sections */
header.navbar,
section.hero,
section.services,
section.feature-section,
section.pricing-section-v2,
section.team-section-wide,
section.testimonials-section,
section.cta-banner,
footer.site-footer {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}
