/* ============================================
   LM AIR CONDITIONING — PREMIUM DESIGN SYSTEM
   BeLight-level UIX · LM Brand Colors
   ============================================ */

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

:root {
    --primary: #1E5098;
    --primary-light: #2d6bc4;
    --primary-glow: rgba(30, 80, 152, 0.45);
    --secondary: #0E2E60;
    --accent: #EE1C25;
    --accent-hover: #ff3340;
    --accent-glow: rgba(238, 28, 37, 0.35);
    --highlight: #5B9FE8;
    --highlight-light: #7db5f0;
    --bg-dark: #040810;
    --bg-section: #081018;
    --bg-card: #0a1628;
    --bg-elevated: #0e1e34;
    --bg-card-hover: #101f38;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --text-muted: rgba(255, 255, 255, 0.45);
    --border: rgba(30, 80, 152, 0.32);
    --border-light: rgba(255, 255, 255, 0.07);
    --glass: rgba(4, 8, 16, 0.88);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 16px 48px var(--primary-glow);
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Oswald', sans-serif;
    --font-accent: 'Bebas Neue', sans-serif;
    --container: 1200px;
    --header-h: 84px;
    --topbar-h: 0px;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}
* { scrollbar-width: thin; scrollbar-color: var(--primary) var(--bg-dark); }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(30, 80, 152, 0.18), transparent 55%),
        radial-gradient(ellipse 60% 40% at 85% 110%, rgba(238, 28, 37, 0.08), transparent 50%);
}

body > * { position: relative; z-index: 1; }

img, video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-eyebrow,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--highlight);
    margin-bottom: 20px;
}

.section-eyebrow::before,
.section-eyebrow::after,
.eyebrow::before,
.eyebrow::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--primary);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.75;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* ---- TOP BAR ---- */
.top-bar {
    background: var(--secondary);
    border-bottom: 1px solid var(--border-light);
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.top-bar a {
    color: var(--text-secondary);
}

.top-bar a:hover { color: var(--highlight); }

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* ---- HEADER ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999 !important;
    height: var(--header-h);
    background: rgba(4, 8, 16, 0.82);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(4, 8, 16, 0.98);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom-color: var(--border-light);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    height: 72px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 32px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 58px;
    width: auto;
    opacity: 1;
    transition: filter var(--transition), transform var(--transition);
}

.logo:hover img {
    filter: drop-shadow(0 0 14px var(--primary-glow));
    transform: scale(1.02);
}

.navbar ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 10px 16px;
    position: relative;
    transition: color var(--transition);
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.navbar a:hover,
.navbar a.active {
    color: var(--text-primary);
}

.navbar a.active {
    color: var(--highlight);
}

.navbar a.active::after,
.navbar a:hover::after {
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--primary), var(--highlight));
}

.header-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- BUTTONS ---- */
.btn,
.btn-call,
.btn-book-primary,
.btn-premium,
.plan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary,
.btn-book-primary {
    background: var(--primary);
    color: var(--text-primary);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.btn-book-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease-smooth);
}

.btn-book-primary:hover::before { transform: translateX(100%); }

.btn-primary,
.btn-premium,
.plan-btn {
    background: var(--primary);
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.btn-primary:hover,
.btn-book-primary:hover,
.btn-premium:hover,
.plan-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary,
.btn-call {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover,
.btn-call:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.btn-accent {
    background: var(--accent);
    border: 2px solid var(--accent);
    color: var(--text-primary);
}

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 12px 32px rgba(238, 28, 37, 0.35);
}

.btn-link {
    color: var(--highlight);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover { color: var(--text-primary); }

.btn-large { padding: 18px 40px; font-size: 13px; }

.btn-small {
    padding: 10px 20px;
    font-size: 11px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

.btn-arrow { transition: transform var(--transition); }
.btn-premium:hover .btn-arrow { transform: translateX(4px); }

/* ---- HERO ---- */
.hero,
.page-hero,
.hero-video-section,
.contact-video-section {
    position: relative;
    min-height: 100vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: calc(var(--header-h) + var(--topbar-h) + 20px);
    padding-bottom: 60px;
}

.hero-video,
.page-hero-video,
.contact-video,
.services-video,
.about-video,
.projects-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-bg-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #06152e;
}

.video-overlay-navy,
.hero-overlay,
.video-overlay,
.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(6, 21, 46, 0.55) 0%, rgba(6, 21, 46, 0.82) 65%, rgba(4, 8, 16, 0.98) 100%),
        radial-gradient(ellipse at 70% 30%, rgba(238, 28, 37, 0.12), transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(30, 80, 152, 0.25), transparent 60%);
}

.video-noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.035;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.hero-content,
.page-hero-content,
.video-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 980px;
    padding: 40px 24px 80px;
}



.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line span {
    display: block;
    transform: translateY(110%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title .line span.animated {
    transform: translateY(0%);
}

.accent-glow-text {
    background: linear-gradient(135deg, #EE1C25 0%, #FF525B 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(238, 28, 37, 0.45));
}

.hero-subtitle,
.hero-content > p,
.video-content p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.75;
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 48px;
    padding: 24px 32px;
    background: rgba(10, 22, 40, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

@media (max-width: 768px) {
    .hero-stat-divider { display: none; }
}

.hero-stat .num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(30, 80, 152, 0.6);
}

.hero-stat .label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--highlight-light);
}

.hero-ctas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-glow {
    background: linear-gradient(135deg, #EE1C25 0%, #C8151D 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 30px rgba(238, 28, 37, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.btn-glow:hover {
    background: linear-gradient(135deg, #FF2A32 0%, #E0131B 100%) !important;
    box-shadow: 0 16px 40px rgba(238, 28, 37, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-4px) scale(1.02);
}

.btn-outline {
    background: rgba(14, 46, 96, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.btn-outline:hover {
    background: rgba(30, 80, 152, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 80, 152, 0.4);
}

.btn-icon {
    display: inline-block;
    transition: transform 0.3s var(--ease-smooth);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}
}

.wix-booking-banner {
    padding: 24px 0 0;
}

.wix-booking-card {
    background: linear-gradient(135deg, rgba(12, 26, 48, 0.95), rgba(30, 80, 152, 0.85));
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.wix-booking-card h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.wix-booking-card p {
    color: var(--text-secondary);
    margin: 0;
    max-width: 560px;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- MARQUEE ---- */
.marquee-section {
    background: var(--secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 18px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 32px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
}

.marquee-item::after {
    content: '✦';
    color: var(--primary);
    font-size: 10px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- STATS BAR ---- */
.stats-bar-section {
    background: var(--bg-section);
    padding: 72px 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.stats-bar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-box {
    text-align: center;
    padding: 24px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    transition: all var(--transition);
}

.stat-box:hover {
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.stat-number-big {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--highlight);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label-big {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ---- SERVICES PREMIUM GRID ---- */
.services-premium-section,
.our-services-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card-premium {
    background: rgba(10, 22, 40, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.service-card-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(238, 28, 37, 0.15), rgba(30, 80, 152, 0.08) 60%, transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card-premium:hover::after { opacity: 1; }

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #EE1C25, #1E5098, #5B9FE8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-premium:hover {
    border-color: rgba(238, 28, 37, 0.4);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(238, 28, 37, 0.2);
}

.service-card-premium:hover::before { transform: scaleX(1); }

.service-num {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service-card-premium:hover .service-num {
    color: #EE1C25;
    text-shadow: 0 0 16px rgba(238, 28, 37, 0.5);
}

.service-card-premium h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.service-card-premium p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

/* ---- ABOUT / SPLIT SECTIONS ---- */
.who-we-are-section,
.about-section,
.welcome-section {
    padding: 100px 0;
    background: var(--bg-section);
}

.who-we-are-content,
.about-split,
.mission-content,
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.who-we-are-image img,
.mission-image img,
.service-image img,
.about-gallery img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    object-fit: cover;
}

.who-we-are-text h2,
.about-content h2,
.welcome-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 20px;
}

.who-we-are-text p,
.about-content p,
.welcome-content p,
.mission-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
    line-height: 1.75;
}

.about-intro,
.welcome-intro,
.mission-subtitle {
    font-size: 1.1rem;
    color: var(--highlight) !important;
}

.feature-list,
.service-list {
    margin: 24px 0;
}

.feature-list li,
.service-list li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-light);
}

.feature-list li::before,
.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.about-highlights,
.highlights-grid,
.welcome-features,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.highlight-item,
.highlight-card,
.feature-item,
.benefit-card,
.value-card,
.insight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

.highlight-item:hover,
.highlight-card:hover,
.benefit-card:hover,
.value-card:hover,
.insight-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
}

.highlight-item h4,
.highlight-card h4,
.benefit-card h3,
.value-card h4,
.insight-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.highlight-item p,
.highlight-card p,
.benefit-card p,
.value-card p,
.insight-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 14px;
    font-weight: 700;
}

.about-gallery,
.commercial-gallery,
.quality-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 48px 0;
}

.commercial-gallery { grid-template-columns: repeat(2, 1fr); }

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

/* ---- COMMERCIAL / ALT SECTIONS ---- */
.commercial-services-section,
.service-section,
.service-section-alt {
    padding: 100px 0;
    background: var(--bg-dark);
}

.commercial-content,
.commercial-content h3 {
    text-align: center;
}

.commercial-content h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 16px;
}

.commercial-content > p {
    max-width: 720px;
    margin: 0 auto 48px;
    color: var(--text-secondary);
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

.service-row.reverse .service-image { order: 2; }
.service-row.reverse .service-text { order: 1; }

.service-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
}

/* ---- PROCESS ---- */
.process-section {
    padding: 100px 0;
    background: var(--bg-section);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    position: relative;
    transition: all var(--transition);
}

.process-step:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.process-step .step-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: rgba(30, 80, 152, 0.25);
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
    line-height: 1.65;
}

/* ---- PARTNERS (FULL-COLOR INFINITE MARQUEE CAROUSEL) ---- */
.partners-section {
    padding: 100px 0;
    background: var(--bg-dark);
    text-align: center;
    overflow: hidden;
}

.partners-marquee-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    padding: 32px 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.partners-marquee-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: infiniteLogoScroll 22s linear infinite;
}

.partners-marquee-track:hover {
    animation-play-state: paused;
}

.partner-logo-item img {
    height: 64px;
    width: auto;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.partner-logo-item:hover img {
    transform: scale(1.12);
    filter: drop-shadow(0 8px 20px rgba(238, 28, 37, 0.4)) !important;
}

@keyframes infiniteLogoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- TESTIMONIALS ---- */
.testimonials-section,
.maintenance-testimonials {
    padding: 100px 0;
    background: var(--bg-section);
}

.testimonials-grid,
.contact-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.stars { margin-bottom: 16px; font-size: 14px; }

.testimonial-text,
.testimonial-card .testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonials-header,
.testimonials-title {
    text-align: center;
    margin-bottom: 48px;
}

.testimonials-subtitle {
    color: var(--text-secondary);
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

/* ---- CTA SECTION ---- */
.cta-section,
.maintenance-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-dark) 100%);
    text-align: center;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.cta-section h2,
.maintenance-cta h2,
.cta-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-section p,
.maintenance-cta p,
.cta-content p {
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 32px;
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

/* ---- FORM SECTIONS ---- */
.contact-premium-section,
.contact-section,
.built-for-you-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.contact-premium-content,
.contact-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: start;
}

.contact-form-card,
.testimonial-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.form-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.contact-form-card h3,
.testimonial-form-card h4 {
    font-size: 1.1rem;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-status {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(91, 159, 232, 0.35);
    background: rgba(30, 80, 152, 0.12);
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.form-status.is-error {
    border-color: rgba(238, 28, 37, 0.35);
    background: rgba(238, 28, 37, 0.12);
    color: var(--text-primary);
}

.contact-info-premium {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card,
.social-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
}

.info-card h4,
.social-card h4 {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.info-card p,
.info-card a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

.info-card a:hover { color: var(--highlight); }

.info-tag {
    display: inline-block;
    margin-top: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(30, 80, 152, 0.15);
    padding: 4px 10px;
    border-radius: 50px;
}

.social-link {
    color: var(--highlight);
    font-size: 0.9rem;
}

.social-link:hover { color: var(--text-primary); }

/* ---- PLANS ---- */
.plans-section {
    padding: 100px 0;
    background: var(--bg-section);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 26px 22px !important;
    height: auto !important;
    min-height: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all var(--transition);
}

.plan-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow);
}

.plan-card:hover {
    transform: translateY(-6px);
    border-color: var(--border);
}

.plan-badge {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
    align-self: flex-start;
}

.plan-badge.popular { background: var(--accent); }

.plan-header h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.plan-price .price {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--highlight);
}

.plan-price .period {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.plan-features {
    margin: 16px 0;
}

.plan-features li {
    padding: 6px 0;
    font-size: 0.85rem;
    line-height: 1.35;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.plan-features .check { color: var(--primary); font-weight: 700; }

.plan-btn {
    width: 100%;
    margin-top: 8px;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero,
.contact-video-section,
.services-video-section,
.about-video-section,
.projects-video-section {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: calc(var(--header-h) + var(--topbar-h));
}

.video-container {
    position: absolute;
    inset: 0;
}

.contact-hero,
.location-premium-section {
    padding: 80px 0;
    background: var(--bg-section);
}

.hero-text-right p,
.hero-line-1,
.hero-line-2 {
    text-align: center;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-secondary);
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

.hero-line-2 { color: var(--highlight); font-weight: 600; }

/* ---- PROJECTS / TIMELINE ---- */
.quality-hvac-section,
.project-timeline-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.quality-content h2,
.timeline-header h2,
.projects-highlights h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    text-align: center;
    margin-bottom: 20px;
}

.quality-content > p {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
    color: var(--text-secondary);
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

.main-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.main-service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 40px 28px;
    text-align: center;
    transition: all var(--transition);
}

.main-service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.main-service-card h3 {
    font-size: 1rem;
    margin: 20px 0 12px;
}

.main-service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

.service-icon-svg svg {
    width: 64px;
    height: 64px;
    margin: 0 auto;
}

.service-icon-svg svg path,
.service-icon-svg svg rect,
.service-icon-svg svg line,
.service-icon-svg svg polygon,
.service-icon-svg svg polyline,
.service-icon-svg svg circle {
    stroke: var(--highlight) !important;
}

/* ---- VALUES / INSIGHTS ---- */
.core-values-section,
.hvac-insights-section {
    margin-top: 64px;
}

.values-title,
.insights-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 12px;
}

.insights-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

.values-grid,
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
}

.insight-fact {
    font-weight: 600;
    color: var(--highlight) !important;
    margin-bottom: 8px !important;
}

.insight-promise {
    font-size: 0.85rem !important;
}

/* ---- LOGO TAPE ---- */
.logo-tape-section {
    margin: 64px 0;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 24px 0;
}

.logo-tape-track {
    display: flex;
    gap: 64px;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.logo-item img {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

/* ---- MAP / LOCATION ---- */
.location-premium-section,
.service-area-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
}

.location-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.location-info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.location-info-card p {
    color: var(--text-secondary);
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

/* ---- FOOTER ---- */
.footer {
    background: var(--secondary);
    padding: 88px 0 0;
    border-top: 1px solid var(--border-light);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
    opacity: 0.6;
}

.footer-top,
.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-brand img,
.footer-logo {
    height: 64px;
    width: auto;
    margin: 0 auto 22px; /* Centered */
    opacity: 1;
    display: block;
    animation: neonPulse 3s infinite alternate; /* New animation */
}

@keyframes neonPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(238, 28, 37, 0.2)); }
    100% { transform: scale(1.04); filter: drop-shadow(0 0 12px rgba(238, 28, 37, 0.7)); }
}

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

/* Neon Red Links for Privacy & Terms */
.neon-legal {
    color: #FF2A35 !important;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 42, 53, 0.8);
    transition: all 0.3s ease;
}

.neon-legal:hover {
    color: #FFF !important;
    text-shadow: 0 0 12px #FF2A35, 0 0 20px #FF2A35;
}

.footer-brand p,
.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-col h4,
.footer-section h4 {
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    margin-bottom: 22px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.footer-links,
.footer-section ul {
    list-style: none;
}

.footer-links li,
.footer-section ul li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-section a {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
    transition: color var(--transition), padding-left var(--transition);
    display: inline-block;
}

.footer-links a::before {
    content: '→';
    margin-right: 8px;
    color: var(--primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.footer-links a:hover,
.footer-section a:hover {
    color: var(--highlight);
    padding-left: 4px;
}

.footer-links a:hover::before { opacity: 1; }

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.6;
}

.footer-contact-list li strong {
    display: block;
    color: var(--text-secondary);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 600;
}

.footer-contact-list a { color: var(--text-muted); }
.footer-contact-list a:hover { color: var(--highlight); }

.footer-hours p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.footer-social a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 18px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--text-primary);
    background: rgba(30, 80, 152, 0.15);
    box-shadow: 0 8px 24px var(--primary-glow);
}

/* ---- SCROLL TO TOP ---- */
.scroll-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
}

/* ---- ANIMATIONS ---- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RENDERING & GPU PERFORMANCE OPTIMIZATIONS ---- */
.hero-video,
.hero-video-section,
.reveal,
.service-card-premium,
.gallery-item,
.plan-card {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

@media (min-width: 769px) {
    .testimonials-section,
    .partners-cooling-section,
    .faq-section,
    .footer {
        content-visibility: auto;
        contain-intrinsic-size: 1px 800px;
    }
}

/* ---- LEGACY COMPAT / MISC ---- */
.highlight { color: var(--highlight); }

.services-content-centered {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.services-content-centered h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 16px;
}

.services-content-centered p {
    color: var(--text-secondary);
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--primary);
    line-height: 1;
    opacity: 0.4;
}

.testimonial-content .testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.testimonial-content .testimonial-author strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.testimonial-content .testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.partners-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 12px;
}

.partners-cooling-intro {
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

/* Hide old HVAC unit illustration — replaced by simple partners grid */
.split-system-wrapper,
.hvac-unit,
.hvac-connections { display: none; }

.partners-cooling-section {
    padding: 80px 0;
    background: var(--bg-section);
    text-align: center;
}

.partners-outdoor,
.partners-indoor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.partner-item img {
    height: 48px;
    opacity: 0.75;
    filter: brightness(0) invert(1);
    transition: opacity var(--transition);
}

.partner-item img:hover { opacity: 1; }

/* Timeline legacy */
.project-timeline-section .tech-node,
.timeline-line-fill { /* kept for JS */ }

/* ---- PREMIUM PAGE HERO (inner pages) ---- */
.page-hero-inner .hero-eyebrow {
    margin-bottom: 20px;
}

.page-hero-inner h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.page-hero-inner .hero-subtitle {
    margin-bottom: 0;
}

.inner-marquee {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* ---- BENEFITS ---- */
.benefits-section {
    padding: 100px 0;
    background: var(--bg-section);
}

.benefits-section .section-header {
    margin-bottom: 56px;
}

/* ---- MISSION ---- */
.mission-section {
    margin-top: 72px;
    padding-top: 72px;
    border-top: 1px solid var(--border-light);
}

.mission-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 12px;
}

/* ---- ABOUT CONTENT ---- */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 20px;
    text-align: center;
}

.about-content > p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
    line-height: 1.8;
    text-align: center;
}

.about-content .about-intro {
    text-align: center;
}

/* ---- CONTACT PREMIUM EXTRAS ---- */
.contact-header {
    text-align: center;
    margin-bottom: 56px;
}

.contact-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
}

.info-icon {
    font-size: 1.25rem;
    margin-bottom: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 80, 152, 0.15);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--highlight);
}

.info-icon::before { content: none; }

.info-card .info-icon:empty { display: none; }

.location-map-card {
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tricolor-border {
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    position: relative;
}

.tricolor-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--highlight));
    z-index: 2;
}

.tricolor-border iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    display: block;
    filter: grayscale(20%) contrast(1.05);
}

.quick-stats {
    display: flex;
    gap: 32px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
}

.quick-stats .stat-number {
    display: block;
    font-family: var(--font-accent);
    font-size: 2.25rem;
    color: var(--highlight);
    line-height: 1;
    letter-spacing: 1px;
}

.quick-stats .stat-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

.stars {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 16px;
}

.star-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(255, 184, 0, 0.4));
}

.star-img-inline {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: inline-block;
    vertical-align: -3px;
    margin-right: 4px;
    filter: drop-shadow(0 2px 4px rgba(255, 184, 0, 0.4));
}

/* ---- PROJECT TIMELINE ---- */
.project-timeline-section {
    background: var(--bg-section);
}

.timeline-header {
    text-align: center;
    margin-bottom: 64px;
}

.timeline-header p {
    color: var(--text-secondary);
    max-width: 560px;
    margin: 12px auto 0;
    text-transform: none;
    font-family: var(--font-body);
}

.tech-nodes-network {
    position: relative;
    min-height: 420px;
    margin-bottom: 48px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--border-light);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-line-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--highlight));
    transition: width 0.6s var(--ease-expo);
    box-shadow: 0 0 20px var(--primary-glow);
}

.network-connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.5;
}

.nodes-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 60px 0;
}

.tech-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: default;
}

.node-core {
    width: 20px;
    height: 20px;
    position: relative;
    margin-bottom: 24px;
}

.node-inner {
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary-glow);
    position: relative;
    z-index: 2;
}

.node-pulse {
    position: absolute;
    inset: -8px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    animation: nodePulse 2.5s ease infinite;
    opacity: 0.5;
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.4); opacity: 0; }
}

.node-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    width: 100%;
    transition: all 0.45s var(--ease-expo);
}

.tech-node:hover .node-card {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.node-number {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    color: rgba(30, 80, 152, 0.25);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.node-title {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.node-stat {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--highlight);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.node-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: none;
    font-family: var(--font-body);
    letter-spacing: 0;
    line-height: 1.5;
}

.timeline-section-description {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.timeline-stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
    padding: 48px 0;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-name {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ---- CTA PRE-FOOTER ---- */
.page-cta-bar {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-dark) 60%, rgba(30, 80, 152, 0.12) 100%);
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.page-cta-bar h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 14px;
}

.page-cta-bar p {
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 28px;
    text-transform: none;
    font-family: var(--font-body);
}

.footer-emergency {
    margin-top: 14px;
    color: var(--highlight);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.stat-value {
    font-family: var(--font-accent);
    font-size: 2.75rem;
    color: var(--highlight);
    letter-spacing: 1px;
    display: block;
    line-height: 1;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 28px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.8px;
}

.insight-icon {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.values-grid {
    grid-template-columns: repeat(3, 1fr);
}

.insights-grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1024px) {
    .nodes-container { grid-template-columns: repeat(2, 1fr); }
    .timeline-line { display: none; }
    .network-connections { display: none; }
    .footer-top,
    .footer-content { grid-template-columns: 1fr 1fr; }
    .insights-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nodes-container { grid-template-columns: 1fr; }
    .footer-top,
    .footer-content { grid-template-columns: 1fr; }
    .insights-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .services-grid,
    .process-grid,
    .plans-grid,
    .main-services-grid,
    .values-grid,
    .insights-grid { grid-template-columns: repeat(2, 1fr); }

    .who-we-are-content,
    .about-split,
    .mission-content,
    .service-row,
    .contact-premium-content,
    .contact-content,
    .location-wrapper,
    .testimonials-wrapper { grid-template-columns: 1fr; }

    .service-row.reverse .service-image { order: 0; }
    .service-row.reverse .service-text { order: 0; }

    .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
    .about-gallery { grid-template-columns: repeat(2, 1fr); }

    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root {
        --header-h: 70px;
    }

    .top-bar .container { justify-content: center; }
    .top-bar-right { display: none; }

    .hamburger { display: flex; }

    .navbar {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: rgba(4, 8, 16, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px 20px 28px;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    }

    .navbar.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar ul {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .navbar a {
        display: block;
        padding: 14px 16px;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(255, 255, 255, 0.03);
    }

    .header-ctas { display: none; }

    .hero-stats { gap: 24px; }
    .hero-stat .num { font-size: 2rem; }

    .services-grid,
    .process-grid,
    .plans-grid,
    .main-services-grid,
    .about-highlights,
    .highlights-grid,
    .welcome-features,
    .benefits-grid,
    .values-grid,
    .insights-grid,
    .testimonials-grid,
    .contact-testimonials-grid,
    .stats-bar-grid,
    .about-gallery,
    .commercial-gallery { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .footer-content { grid-template-columns: 1fr; }

    .plan-card.featured { transform: none; }
    .plan-card.featured:hover { transform: translateY(-6px); }
}

@media (max-width: 480px) {
    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-ctas .btn { width: 100%; }
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark); /* Fondo oscuro elegante */
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.8, 0, 0.2, 1), visibility 0.6s;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    height: 54px;
    width: auto;
    z-index: 2;
    animation: loaderPulse 2s infinite alternate ease-in-out;
}

.loader-thermostat-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #00D4FF; /* Hielo / Cooling */
    border-bottom-color: #FF2A35; /* Fuego / Heating */
    border-left-color: rgba(255, 255, 255, 0.05);
    border-right-color: rgba(255, 255, 255, 0.05);
    animation: spinThermostat 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 0 -5px 20px rgba(0, 212, 255, 0.3), 0 5px 20px rgba(255, 42, 53, 0.3);
}

@keyframes spinThermostat {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loaderPulse {
    0% { transform: scale(0.92); opacity: 0.8; filter: drop-shadow(0 0 5px rgba(255,255,255,0.1)); }
    100% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 12px rgba(255,255,255,0.4)); }
}

/* ============================================
   BENTO GRID & 4-STEP PROCESS (SERVICES ULTRA-PREMIUM)
   ============================================ */

.bento-services-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.bento-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

@media (max-width: 992px) {
    .bento-services-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.bento-card {
    background: rgba(10, 22, 40, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(238, 28, 37, 0.14), rgba(30, 80, 152, 0.08) 50%, transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.bento-card:hover::after { opacity: 1; }

.bento-card:hover {
    border-color: rgba(238, 28, 37, 0.4);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(238, 28, 37, 0.25);
}

.bento-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.bento-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--highlight-light);
    background: rgba(30, 80, 152, 0.25);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
    line-height: 1.4;
    display: inline-block;
    max-width: 65%;
}

.bento-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    transition: color 0.3s ease;
}

.bento-card:hover .bento-num {
    color: #EE1C25;
    text-shadow: 0 0 16px rgba(238, 28, 37, 0.5);
}

.bento-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: white;
}

.bento-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
    text-transform: none;
}

.bento-card .btn {
    align-self: flex-start;
    margin-top: 24px;
}

.bento-feature-list {
    list-style: none;
    margin-bottom: 24px;
}

.bento-feature-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bento-feature-list li::before {
    content: '✓';
    color: #EE1C25;
    font-weight: 800;
}

/* ---- 4-STEP PROCESS TIMELINE ---- */
.process-timeline-section {
    padding: 100px 0;
    background: var(--bg-section);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.process-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

@media (max-width: 992px) {
    .process-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .process-grid-4 { grid-template-columns: 1fr; }
}

.process-step-card {
    background: rgba(10, 22, 40, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    position: relative;
    transition: all 0.35s ease;
}

.process-step-card:hover {
    border-color: rgba(30, 80, 152, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(30, 80, 152, 0.2);
}

.step-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #EE1C25, #C8151D);
    color: white;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(238, 28, 37, 0.4);
}

.process-step-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: white;
}

.process-step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-transform: none;
}

/* ============================================
   PROJECTS MATRIX & FILTERING (ULTRA-PREMIUM PORTFOLIO)
   ============================================ */

.projects-portfolio-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.projects-filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.project-filter-btn {
    padding: 12px 24px;
    border-radius: 999px;
    background: rgba(10, 22, 40, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-filter-btn:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(30, 80, 152, 0.3);
}

.project-filter-btn.active {
    background: linear-gradient(135deg, #EE1C25 0%, #C8151D 100%);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 10px 25px rgba(238, 28, 37, 0.4);
}

.portfolio-matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 992px) {
    .portfolio-matrix-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .portfolio-matrix-grid { grid-template-columns: 1fr; }
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(10, 22, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    aspect-ratio: 4 / 3;
}

.portfolio-card.hidden {
    display: none;
}

.portfolio-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-card-img {
    transform: scale(1.08);
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 21, 46, 0.2) 0%, rgba(6, 21, 46, 0.85) 60%, rgba(4, 8, 16, 0.98) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0.9;
    transition: opacity 0.35s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
    background: linear-gradient(180deg, rgba(238, 28, 37, 0.15) 0%, rgba(6, 21, 46, 0.92) 50%, rgba(4, 8, 16, 0.99) 100%);
}

.portfolio-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FF525B;
    background: rgba(238, 28, 37, 0.15);
    border: 1px solid rgba(238, 28, 37, 0.3);
    padding: 4px 12px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 12px;
    align-self: flex-start;
}

.portfolio-card h3 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 6px;
}

.portfolio-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
    text-transform: none;
}

/* HERO CENTERING & BENEFITS GRID 2X2 */
.contact-video-section .video-content,
.page-hero-inner {
    text-align: center !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 48px auto 0;
}

.bento-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 980px;
    margin: 40px auto 80px;
}

.page-cta-bar,
.page-cta-video-section {
    margin-top: 100px;
    padding: 110px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.video-bg-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-cta-video,
.contact-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-navy {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 12, 26, 0.55) 0%, rgba(8, 20, 42, 0.45) 100%);
    backdrop-filter: blur(1px);
    z-index: 2;
}

.video-noise {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 40%, rgba(4, 12, 26, 0.7) 100%);
    z-index: 3;
}

.bento-grid-2x2 .bento-card {
    padding: 24px 22px !important;
    min-height: auto !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-grid-2x2 .bento-card h3 {
    font-size: 1.08rem !important;
    line-height: 1.4 !important;
    margin: 10px 0 8px !important;
}

.bento-grid-2x2 .bento-card p {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
}

.bento-grid-2x2 .bento-card .btn {
    padding: 10px 20px !important;
    font-size: 11px !important;
    align-self: flex-start;
}

@media (max-width: 768px) {
    .benefits-grid-2x2,
    .bento-grid-2x2 { grid-template-columns: 1fr; }
}

.plan-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #FF525B;
    background: rgba(238, 28, 37, 0.15);
    border: 1px solid rgba(238, 28, 37, 0.3);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
    align-self: flex-start;
}

.plan-card {
    height: auto !important;
    min-height: auto !important;
    padding: 36px 28px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ============================================
   BILLING TOGGLE, COMPARISON TABLE & FAQ (MAINTENANCE)
   ============================================ */

.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.toggle-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.toggle-label.active { color: white; }

.billing-toggle-switch {
    width: 60px;
    height: 32px;
    background: rgba(10, 22, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 3px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.toggle-handle {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #EE1C25, #C8151D);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(238, 28, 37, 0.5);
}

.billing-toggle-switch.monthly .toggle-handle {
    transform: translateX(28px);
}

.save-badge {
    background: rgba(238, 28, 37, 0.15);
    color: #FF525B;
    border: 1px solid rgba(238, 28, 37, 0.3);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    margin-left: 6px;
}

/* COMPARISON TABLE */
.comparison-table-wrapper {
    margin-top: 80px;
    background: rgba(10, 22, 40, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, 
.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
}

.comparison-table th {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: white;
}

.comparison-table td:first-child {
    color: white;
    font-weight: 600;
}

.comparison-table td:not(:first-child) {
    text-align: center;
    color: var(--text-secondary);
}

.check-icon-red {
    color: #EE1C25;
    font-weight: 800;
}

/* FAQ ACCORDION */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    max-width: 840px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(10, 22, 40, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: white;
    font-size: 1.05rem;
}

.faq-toggle-icon {
    font-size: 1.2rem;
    color: #EE1C25;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ============================================
   LIVE DISPATCH BADGE & BLOG FEATURED HERO
   ============================================ */

.live-dispatch-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(238, 28, 37, 0.12);
    border: 1px solid rgba(238, 28, 37, 0.4);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FF525B;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #EE1C25;
    border-radius: 50%;
    box-shadow: 0 0 10px #EE1C25;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(238, 28, 37, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(238, 28, 37, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(238, 28, 37, 0); }
}

.blog-featured-hero {
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 50px;
}

@media (max-width: 860px) {
    .blog-featured-hero { grid-template-columns: 1fr; }
}

/* ============================================
   ULTRA-LUXURY AMBIENT EFFECTS & SHEEN REFLECTIONS
   ============================================ */

/* TOP NEON SCROLL PROGRESS BAR */
#scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #EE1C25 0%, #FF525B 50%, #1E5098 100%);
    width: 0%;
    z-index: 99999;
    box-shadow: 0 0 12px rgba(238, 28, 37, 0.8);
    transition: width 0.1s linear;
}

/* CURSOR AMBIENT SPOTLIGHT GLOW */
#ambient-spotlight {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(238, 28, 37, 0.07), rgba(30, 80, 152, 0.05) 40%, transparent 80%);
    transition: background 0.15s ease-out;
}

/* SPECULAR GLASS REFLECTIVE SHEEN ON CARDS */
.bento-card,
.portfolio-card,
.plan-card,
.feature-item,
.highlight-card,
.process-step-card {
    position: relative;
    overflow: hidden;
}

.bento-card::before,
.portfolio-card::before,
.plan-card::before,
.process-step-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent 42%, rgba(255, 255, 255, 0.06) 50%, transparent 58%);
    transform: rotate(25deg) translateY(-100%);
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 3;
}

.bento-card:hover::before,
.portfolio-card:hover::before,
.plan-card:hover::before,
.process-step-card:hover::before {
    transform: rotate(25deg) translateY(100%);
}

/* SUSPENDED FLOATING GLASS CAPSULE HEADER */
@media (min-width: 993px) {
    .header.scrolled-capsule {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1240px;
        z-index: 99999 !important;
        border-radius: 999px;
        background: rgba(6, 21, 46, 0.85);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(30, 80, 152, 0.2);
        padding: 10px 32px;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

/* ============================================
   DIRECTIONAL REVEAL MOTION (SLIDE-IN ANIMATIONS)
   ============================================ */

.reveal,
.reveal-up {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.visible,
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

@media (max-width: 768px) {
    .reveal-left,
    .reveal-right {
        transform: translateY(30px) scale(0.98);
    }
}

.delay-1 { transition-delay: 0.15s !important; }
.delay-2 { transition-delay: 0.3s !important; }
.delay-3 { transition-delay: 0.45s !important; }
.delay-4 { transition-delay: 0.6s !important; }

/* ============================================
   FLOATING WHATSAPP BUTTON (LINE 915-249-1128)
   ============================================ */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), 0 0 15px rgba(255, 255, 255, 0.25);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    padding: 10px;
    overflow: hidden;
}

.floating-whatsapp-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.floating-whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.6), 0 0 25px rgba(255, 255, 255, 0.4);
}

/* ============================================
   HEARTH FINANCING CALCULATOR BOX (EXPLICIT 2-COLUMN SIDE-BY-SIDE)
   ============================================ */
.hearth-calculator-wrapper {
    background: linear-gradient(135deg, rgba(14, 46, 96, 0.55), rgba(4, 8, 16, 0.9));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 32px 34px;
    margin: 40px auto;
    max-width: 870px;
    width: 100%;
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.05), 0 15px 40px rgba(0, 0, 0, 0.4);
}

.hearth-side-by-side-grid {
    display: grid;
    grid-template-columns: 1fr 312px;
    gap: 34px;
    align-items: center;
    text-align: left;
}

@media (max-width: 820px) {
    .hearth-side-by-side-grid {
        grid-template-columns: 1fr;
    }
}

.hearth-calculator-wrapper h3 {
    font-size: 1.9rem;
    color: white;
    margin-bottom: 12px;
}

.hearth-calculator-wrapper p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.96rem;
}

#hearth-widget_calculator_v1 {
    width: 100% !important;
    max-width: 312px !important;
    min-height: 460px;
    border: none;
    border-radius: 14px;
    margin: 0 auto !important;
    display: block !important;
    background: #FFFFFF !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* ============================================
   INSIGHT CARDS (ABOUT US) HOVER ANIMATIONS
   ============================================ */

.insight-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    overflow: hidden;
}

.insight-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.insight-card:hover .insight-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 15px currentColor; /* Uses the background color indirectly, or we just rely on transform */
}

.insight-icon {
    flex-shrink: 0;
}

/* Specific glows for the icons based on their colors */
.insight-card:nth-child(1):hover .insight-icon {
    box-shadow: 0 0 20px rgba(238, 28, 37, 0.4);
    background: rgba(238, 28, 37, 0.25) !important;
}

.insight-card:nth-child(2):hover .insight-icon {
    box-shadow: 0 0 20px rgba(91, 159, 232, 0.4);
    background: rgba(30, 80, 152, 0.4) !important;
}

.insight-card:nth-child(3):hover .insight-icon {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.15) !important;
}

.insight-card:hover .insight-icon svg {
    stroke-width: 2.5;
    filter: drop-shadow(0 0 5px currentColor);
}

.insight-card:hover h3 {
    color: var(--highlight-light) !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

/* ============================================
   FOUNDER GRID (ABOUT US)
   ============================================ */
.founder-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

@media (max-width: 992px) {
    .founder-grid {
        grid-template-columns: 1fr;
    }
    .founder-grid > div:last-child {
        margin-top: 24px; /* Space between text and image on mobile */
    }
}

/* ============================================
   FINANCING BANNER FLEX (SERVICES)
   ============================================ */
.financing-banner-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

@media (max-width: 768px) {
    .financing-banner-flex {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   COMPARISON TABLE RESPONSIVE FIX
   ============================================ */
@media (max-width: 768px) {
    .comparison-table-wrapper {
        padding: 24px 16px;
        margin-top: 40px;
        /* Enable smooth scrolling on iOS */
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table {
        min-width: 650px; /* Forces table to be wide enough so text doesn't squish */
    }
    
    .comparison-table th, 
    .comparison-table td {
        padding: 12px 16px;
        white-space: normal;
    }
}
