/* ═══════════════════════════════════════════════════
   H&M AUTO REPAIRS — STYLES
   Brand: Yellow/Gold + Grey/Silver + Dark Theme
   Features: Glassmorphism, Parallax, Micro-interactions,
             Motion UI, Auto-themed animations
   ═══════════════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
    --gold:        #f5c518;
    --gold-light:  #fbbf24;
    --gold-dark:   #e8a317;
    --amber:       #d97706;
    --amber-deep:  #b45309;
    --silver:      #9ca3af;
    --silver-dark: #6b7280;
    --steel:       #4b5563;
    --bg-darkest:  #0d0d14;
    --bg-dark:     #131320;
    --bg-panel:    #1a1a2e;
    --bg-card:     #1e1e32;
    --text-heading: #eef0f6;
    --text-body:    #c8cad0;
    --text-muted:   #8b8fa3;
    --line:    rgba(255, 255, 255, 0.08);
    --overlay: rgba(13, 13, 20, 0.7);
    --radius:  12px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
    /* Glassmorphism */
    --glass-bg:     rgba(26, 26, 46, 0.45);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur:   16px;
    --glass-bg-heavy: rgba(26, 26, 46, 0.65);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}
body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: var(--text-body);
    background: var(--bg-darkest);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ─── FLOATING GEAR PARTICLES ─── */
.gear-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.gear-particle {
    position: absolute;
    opacity: 0.04;
    color: var(--gold);
    animation: gear-float linear infinite;
    will-change: transform;
}

@keyframes gear-float {
    0%   { transform: translateY(100vh) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

/* ─── PRELOADER ─── */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-darkest);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s, visibility 0.8s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-ring {
    width: 90px;
    height: 90px;
    border: 3px solid var(--line);
    border-top-color: var(--gold);
    border-right-color: var(--amber);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    position: absolute;
}
.preloader-logo { width: 50px; animation: pulse 1.5s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.92); } }

/* ─── SCROLL PROGRESS BAR ─── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--amber), var(--gold-light), var(--gold));
    background-size: 200% 100%;
    animation: progress-shimmer 3s linear infinite;
    z-index: 10001;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(245, 197, 24, 0.4);
}
@keyframes progress-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ─── HEADER — GLASSMORPHISM ─── */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
#site-header.scrolled {
    background: var(--glass-bg-heavy);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.brand-logo { height: 48px; width: auto; transition: transform 0.3s; }
.brand:hover .brand-logo { transform: scale(1.05); }

.desktop-nav { display: none; gap: 32px; }
.nav-link {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s, transform 0.2s;
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--amber));
    transition: width 0.3s, left 0.3s;
    border-radius: 2px;
}
.nav-link:hover, .nav-link.active-link { color: var(--gold); }
.nav-link:hover::after, .nav-link.active-link::after { width: 100%; left: 0; }
.nav-link:active { transform: scale(0.95); }

/* Header CTA — micro-interaction */
.header-cta {
    display: none;
    align-items: center;
    gap: 8px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--bg-darkest);
    background: var(--gold);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.header-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    background-size: 250% 100%;
    animation: cta-shine 4s ease-in-out infinite;
}
@keyframes cta-shine {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -50% 0; }
}
.header-cta:hover {
    background: var(--gold-light);
    color: var(--bg-darkest);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(245, 197, 24, 0.4);
}
.header-cta:active { transform: translateY(0) scale(0.98); }

/* Mobile Toggle — micro-interaction */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: transform 0.2s;
}
.mobile-toggle:active { transform: scale(0.85); }
.mobile-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-heading);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav — GLASSMORPHISM */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--glass-bg-heavy);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    padding: 16px 5%;
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.mobile-nav.open { display: flex; }
.mob-link {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-body);
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-border);
    transition: color 0.3s, padding-left 0.3s, background 0.3s;
}
.mob-link:hover {
    color: var(--gold);
    padding-left: 12px;
    background: rgba(245, 197, 24, 0.05);
}
.mob-link--cta { color: var(--gold); border-bottom: none; margin-top: 8px; }

/* ─── HERO ─── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: -40px;
    background: url("../assets/images/hero-bg-3.jpg") center center / cover no-repeat;
    animation: kenburns-slow 30s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes kenburns-slow {
    0%   { transform: scale(1)    translate(0, 0); }
    100% { transform: scale(1.18) translate(-2%, -1.5%); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,13,20,0.4) 0%, rgba(13,13,20,0.65) 50%, rgba(13,13,20,0.85) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 0 60px;
}
.hero-logo {
    max-width: 340px;
    width: 70%;
    height: auto;
    margin: 0 auto 24px;
    display: block;
    filter: drop-shadow(0 4px 30px rgba(245, 197, 24, 0.35));
    animation: hero-logo-glow 4s ease-in-out infinite alternate, hero-logo-entrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes hero-logo-glow {
    0%   { filter: drop-shadow(0 4px 24px rgba(245, 197, 24, 0.2)); }
    100% { filter: drop-shadow(0 8px 40px rgba(245, 197, 24, 0.5)); }
}
@keyframes hero-logo-entrance {
    0%   { opacity: 0; transform: scale(0.7) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
.hero-subtitle {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.4rem);
    color: var(--text-body);
    min-height: 1.8em;
    margin-bottom: 36px;
}
.hero-subtitle::after {
    content: "|";
    animation: blink 0.8s step-end infinite;
    color: var(--gold);
    margin-left: 2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
    animation: hero-ctas-entrance 1s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes hero-ctas-entrance {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Hero address — GLASSMORPHISM pill */
.hero-address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    animation: hero-ctas-entrance 1s 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: border-color 0.3s, background 0.3s;
}
.hero-address:hover {
    border-color: rgba(245, 197, 24, 0.2);
    background: rgba(26, 26, 46, 0.6);
}
.hero-address svg { color: var(--gold); flex-shrink: 0; }

/* ─── BUTTONS — Micro-interactions ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}
.btn:active { transform: scale(0.96) !important; }

.btn--primary {
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: var(--bg-darkest);
}
.btn--primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s;
}
.btn--primary:hover::before { left: 100%; }
.btn--primary:hover {
    color: var(--bg-darkest);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 197, 24, 0.4), 0 0 0 1px rgba(245, 197, 24, 0.2);
}

/* Outline button — GLASSMORPHISM */
.btn--outline {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-heading);
    border: 1px solid rgba(245, 197, 24, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.btn--outline:hover {
    background: var(--gold);
    color: var(--bg-darkest);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 197, 24, 0.3);
    border-color: var(--gold);
}

.btn--lg { padding: 18px 40px; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }

/* ─── SECTIONS ─── */
.section { padding: 80px 0; position: relative; z-index: 1; }
.section--alt { background: var(--bg-dark); }
.section-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
    color: var(--text-heading);
    text-align: center;
    margin-bottom: 12px;
}
.section-title--left { text-align: left; }
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 48px;
}

/* ─── VALUE PROPOSITIONS — GLASSMORPHISM CARDS ─── */
.vp-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.vp-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s, box-shadow 0.4s;
}
.vp-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 197, 24, 0.25);
    box-shadow: 0 16px 48px rgba(245, 197, 24, 0.08), 0 0 0 1px rgba(245, 197, 24, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.vp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.1), rgba(217, 119, 6, 0.05));
    color: var(--gold);
    margin-bottom: 20px;
    animation: float 4s ease-in-out infinite;
    transition: transform 0.3s;
}
.vp-card:hover .vp-icon { transform: scale(1.1) rotate(5deg); }
.vp-card:nth-child(2) .vp-icon { animation-delay: -1.3s; }
.vp-card:nth-child(3) .vp-icon { animation-delay: -2.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.vp-card h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-heading);
    margin-bottom: 10px;
}
.vp-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* ─── HOW IT WORKS — GLASSMORPHISM STEPS ─── */
.steps-grid { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.step {
    text-align: center;
    padding: 36px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    max-width: 320px;
    width: 100%;
    position: relative;
    transition: transform 0.4s, border-color 0.3s;
}
.step:hover { transform: translateY(-6px); border-color: rgba(245, 197, 24, 0.2); }
.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: var(--bg-darkest);
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(245, 197, 24, 0.3);
}
.step-icon {
    color: var(--gold);
    margin-bottom: 16px;
    transition: transform 0.3s;
}
.step:hover .step-icon { transform: scale(1.15); }
.step h3 { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--text-heading); margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-muted); }
.step-connector { color: var(--gold); transform: rotate(90deg); opacity: 0.6; }

/* ─── TRUST BADGES — GLASSMORPHISM BAR ─── */
.section--badges {
    padding: 40px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}
.badges-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    color: var(--text-muted);
    transition: color 0.3s, transform 0.3s;
    cursor: default;
}
.badge svg {
    color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.badge:hover svg { transform: scale(1.2) rotate(8deg); }
.badge span { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.badge:hover { color: var(--gold); transform: translateY(-3px); }

/* ─── VEHICLE TYPES — Micro-interaction ─── */
.vehicles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.vehicle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}
.vehicle-item svg { color: var(--silver); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.vehicle-item:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 197, 24, 0.25);
    color: var(--gold);
    box-shadow: 0 12px 36px rgba(245, 197, 24, 0.08);
}
.vehicle-item:hover svg { color: var(--gold); transform: scale(1.12) translateX(3px); }
.vehicle-item span { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 0.9rem; }

/* ─── ABOUT — Parallax-ready ─── */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.about-lead { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 1.15rem; color: var(--gold); margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; line-height: 1.8; }
.about-text .btn { margin-top: 8px; }
.about-img-wrapper { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--bg-panel), var(--bg-card));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--silver-dark);
    border: 2px dashed var(--line);
    border-radius: var(--radius);
}
.about-img-placeholder span { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* ─── SERVICES — GLASSMORPHISM CARDS with 3D tilt ─── */
#services { overflow: hidden; }
.services-parallax {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(245, 197, 24, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(217, 119, 6, 0.02) 0%, transparent 50%),
                var(--bg-darkest);
    z-index: 0;
}
#services .container { position: relative; z-index: 1; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 8px; }
.service-card {
    padding: 32px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
    will-change: transform;
}
/* Animated gold accent bar */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--gold), var(--amber), var(--gold-light));
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 12px rgba(245, 197, 24, 0.3);
}
.service-card:hover::before { height: 100%; }
/* Iridescent border glow */
.service-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, transparent 20%, rgba(245, 197, 24, 0.15) 40%, rgba(251, 191, 36, 0.1) 60%, transparent 80%);
    background-size: 400% 400%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: -1;
}
.service-card:hover::after { opacity: 1; animation: iridescent-border 4s ease infinite; }
@keyframes iridescent-border {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.service-card:hover {
    border-color: rgba(245, 197, 24, 0.15);
    box-shadow: 0 16px 48px rgba(245, 197, 24, 0.06), 0 0 0 1px rgba(245, 197, 24, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.service-icon {
    color: var(--gold);
    margin-bottom: 16px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.service-card:hover .service-icon { transform: scale(1.15) rotate(-5deg); }
.service-card h3 { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text-heading); margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ─── GALLERY — GLASSMORPHISM ─── */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}
.gallery-item:hover { transform: scale(1.04) translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); }
.gallery-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--bg-panel), var(--bg-card));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--silver-dark);
    border: 2px dashed var(--line);
    border-radius: var(--radius);
    transition: all 0.4s;
}
.gallery-item:hover .gallery-placeholder { border-color: rgba(245, 197, 24, 0.3); color: var(--gold); }
.gallery-placeholder span { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }

/* ─── LIGHTBOX ─── */
.lightbox {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    display: none; align-items: center; justify-content: center; padding: 32px;
    opacity: 0; transition: opacity 0.4s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox-close {
    position: absolute; top: 20px; right: 24px; background: none; border: none;
    color: white; font-size: 2.5rem; cursor: pointer; z-index: 1;
    transition: color 0.3s, transform 0.3s;
}
.lightbox-close:hover { color: var(--gold); transform: rotate(90deg); }
.lightbox-img { max-width: 90%; max-height: 85vh; border-radius: var(--radius); }

/* ─── STATS BAR — Parallax + Glassmorphism ─── */
.section--stats { position: relative; padding: 60px 0; overflow: hidden; }
.stats-parallax {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(245, 197, 24, 0.04) 0%, transparent 60%), var(--bg-panel);
    z-index: 0;
}
.section--stats .container { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; text-align: center; }
.stat {
    padding: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, border-color 0.3s;
}
.stat:hover { transform: translateY(-4px); border-color: rgba(245, 197, 24, 0.2); }
.stat-number {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.5rem);
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--amber));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: stat-shimmer 4s ease infinite;
}
@keyframes stat-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.stat-plus {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ─── REVIEWS — GLASSMORPHISM CAROUSEL ─── */
.reviews-carousel { overflow: hidden; position: relative; }
.reviews-track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.review-card {
    flex: 0 0 100%;
    padding: 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    margin: 0 8px;
    box-sizing: border-box;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s;
}
.review-card:hover { border-color: rgba(245, 197, 24, 0.15); }
.review-stars { display: flex; gap: 4px; color: var(--gold); margin-bottom: 16px; }
.review-stars svg { transition: transform 0.2s; }
.review-card:hover .review-stars svg { animation: star-pop 0.4s ease forwards; }
.review-card:hover .review-stars svg:nth-child(2) { animation-delay: 0.05s; }
.review-card:hover .review-stars svg:nth-child(3) { animation-delay: 0.1s; }
.review-card:hover .review-stars svg:nth-child(4) { animation-delay: 0.15s; }
.review-card:hover .review-stars svg:nth-child(5) { animation-delay: 0.2s; }
@keyframes star-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.review-text { font-size: 1rem; font-style: italic; color: var(--text-body); line-height: 1.7; margin-bottom: 20px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: var(--bg-darkest);
    display: flex; align-items: center; justify-content: center;
    font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(245, 197, 24, 0.25);
}
.review-author strong { display: block; font-family: "Montserrat", sans-serif; color: var(--text-heading); font-size: 0.95rem; }
.review-author span { font-size: 0.8rem; color: var(--text-muted); }
.reviews-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.reviews-dots .dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--silver-dark);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.reviews-dots .dot.active {
    background: var(--gold);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(245, 197, 24, 0.4);
}
.reviews-dots .dot:hover:not(.active) { background: var(--silver); transform: scale(1.1); }

/* ─── FAQ — GLASSMORPHISM ─── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s;
}
.faq-item.open { background: rgba(245, 197, 24, 0.02); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    background: none;
    border: none;
    color: var(--text-heading);
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s, padding-left 0.3s;
}
.faq-question:hover { color: var(--gold); padding-left: 8px; }
.faq-icon {
    font-size: 1.4rem;
    color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* ─── CONTACT — GLASSMORPHISM FORM + CARD ─── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.contact-form .form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-heading);
    font-family: "Roboto", sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form select { appearance: none; cursor: pointer; }
.contact-form select option { background: var(--bg-panel); color: var(--text-heading); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.1), 0 0 20px rgba(245, 197, 24, 0.05);
    background: rgba(26, 26, 46, 0.6);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

.contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    padding: 32px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.contact-card h3 { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--text-heading); margin-bottom: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; transition: transform 0.3s; }
.contact-item:hover { transform: translateX(4px); }
.contact-item:last-child { margin-bottom: 0; }
.contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; transition: transform 0.3s; }
.contact-item:hover svg { transform: scale(1.15); }
.contact-item strong { display: block; font-family: "Montserrat", sans-serif; font-size: 0.85rem; color: var(--text-heading); margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: 0.9rem; color: var(--text-muted); }
.contact-item a:hover { color: var(--gold); }

.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); }
.contact-map iframe { display: block; filter: brightness(0.7) contrast(1.1) saturate(0); transition: filter 0.5s; }
.contact-map:hover iframe { filter: brightness(0.8) contrast(1.1) saturate(0.3); }

/* ─── EMERGENCY CTA — Animated glow ─── */
.section--emergency {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.06), rgba(217, 119, 6, 0.03));
    border-top: 1px solid rgba(245, 197, 24, 0.12);
    border-bottom: 1px solid rgba(245, 197, 24, 0.12);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.emergency-beacon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.08) 0%, transparent 60%);
    animation: beacon 3s ease-in-out infinite;
}
@keyframes beacon {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}
.emergency-content { position: relative; z-index: 1; }
.emergency-content h2 {
    font-family: "Montserrat", sans-serif; font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--gold); margin-bottom: 12px;
}
.emergency-content p { font-size: 1.05rem; color: var(--text-body); margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ─── FOOTER ─── */
#footer { background: var(--bg-dark); padding: 60px 0 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { height: 56px; width: auto; margin-bottom: 16px; transition: transform 0.3s; }
.footer-logo:hover { transform: scale(1.05); }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.footer-links h4, .footer-contact h4 { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1rem; color: var(--text-heading); margin-bottom: 16px; }
.footer-links a {
    display: block; font-size: 0.9rem; color: var(--text-muted); padding: 6px 0;
    transition: color 0.3s, padding-left 0.3s, transform 0.2s;
}
.footer-links a:hover { color: var(--gold); padding-left: 8px; }
.footer-links a:active { transform: scale(0.97); }
.footer-contact p { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }
.footer-contact svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-social a:hover {
    background: var(--gold); border-color: var(--gold); color: var(--bg-darkest);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(245, 197, 24, 0.3);
}
.footer-bottom {
    border-top: 1px solid var(--line); padding: 20px 0;
    display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }
.footer-credit strong { color: var(--gold); }

/* ─── BACK TO TOP — GLASSMORPHISM ─── */
#back-to-top {
    position: fixed; bottom: 80px; right: 20px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--glass-bg-heavy);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--gold);
    border: 1px solid rgba(245, 197, 24, 0.3);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    box-shadow: 0 4px 20px rgba(245, 197, 24, 0.15);
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
#back-to-top:hover {
    background: var(--gold); color: var(--bg-darkest);
    border-color: var(--gold);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(245, 197, 24, 0.4);
}
#back-to-top:active { transform: scale(0.9); }

/* ─── STICKY MOBILE CTA — GLASSMORPHISM ─── */
.mobile-cta {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
    padding: 12px 16px;
    background: var(--glass-bg-heavy);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    opacity: 0; visibility: hidden; transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-cta.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-cta-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: var(--bg-darkest); font-family: "Montserrat", sans-serif;
    font-weight: 700; font-size: 0.95rem; border-radius: 8px; text-align: center;
}
.mobile-cta-btn:hover { color: var(--bg-darkest); }

/* ─── CHAT WIDGET — GLASSMORPHISM ─── */
.chat-widget {
    position: fixed; bottom: 80px; left: 20px;
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: var(--bg-darkest);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(245, 197, 24, 0.3);
    z-index: 99;
    animation: bounce-in 0.6s 2s both;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-widget:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 32px rgba(245, 197, 24, 0.45);
}
.chat-widget:active { transform: scale(0.95); }
@keyframes bounce-in {
    0% { transform: scale(0) rotate(0deg); }
    50% { transform: scale(1.2) rotate(-10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* ============================================
   DEMO PROTECTION
   ============================================ */

/* Fixed bottom banner */
.demo-watermark {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(13, 13, 20, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    text-align: center;
    padding: 0.6rem 1.5rem;
    font-family: "Courier New", Courier, monospace;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    user-select: none;
    -webkit-user-select: none;
}

.demo-watermark__divider {
    opacity: 0.4;
    font-weight: 400;
}

/* Repeating diagonal watermark across the page */
.demo-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 180px,
            rgba(245, 197, 24, 0.03) 180px,
            rgba(245, 197, 24, 0.03) 181px
        );
    background-size: 100% 100%;
    overflow: hidden;
}

.demo-overlay::before {
    content: 'DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design\ADEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design\ADEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design\ADEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design\ADEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design\ADEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design\ADEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design\ADEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design\ADEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design\ADEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design        DEMO — BH Web Design';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200vmax;
    height: 200vmax;
    display: flex;
    align-items: center;
    text-align: center;
    transform: translate(-50%, -50%) rotate(-35deg);
    font-family: "Courier New", Courier, monospace;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(245, 197, 24, 0.04);
    white-space: pre-wrap;
    word-spacing: 0.5em;
    line-height: 6;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

/* Expired state */
.demo-expired {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-darkest);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    text-align: center;
    padding: 2rem;
}

.demo-expired h2 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.demo-expired p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 400px;
}

/* ─── SCROLL ANIMATIONS — Enhanced ─── */
.fade-in, .fade-in-left, .fade-in-right, .fade-in-scale {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}
.fade-in { transform: translateY(40px); }
.fade-in-left { transform: translateX(-50px); }
.fade-in-right { transform: translateX(50px); }
.fade-in-scale { transform: scale(0.85); }
.fade-in.visible, .fade-in-left.visible, .fade-in-right.visible, .fade-in-scale.visible {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════ */

/* ─── MOBILE-FIRST FIXES (all phones) ─── */

/* Prevent iOS zoom on form focus (must be 16px+) */
@media (max-width: 719px) {
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px;
    }

    /* Ensure touch targets are min 44px */
    .btn { min-height: 48px; padding: 14px 24px; }
    .nav-link { padding: 8px 0; }
    .faq-question { padding: 18px 0; min-height: 52px; }
    .badge { padding: 8px; min-height: 44px; }

    /* Hero mobile adjustments */
    .hero-content { padding: 90px 0 80px; }
    .hero-logo { max-width: 260px; width: 65%; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 28px; }
    .hero-ctas { gap: 12px; margin-bottom: 24px; }
    .hero-ctas .btn { padding: 14px 24px; font-size: 0.9rem; }
    .hero-address { font-size: 0.85rem; padding: 10px 16px; }

    /* Section spacing for mobile */
    .section { padding: 60px 0; }
    .section-title { font-size: 1.5rem; }
    .section-subtitle { margin-bottom: 32px; font-size: 0.95rem; }

    /* Value props mobile */
    .vp-card { padding: 32px 20px; }
    .vp-icon { width: 64px; height: 64px; }

    /* Steps mobile — vertical with connectors */
    .step { max-width: 100%; padding: 28px 20px; }

    /* Vehicle types 2-col on mobile */
    .vehicles-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
    .vehicle-item { padding: 20px 12px; }
    .vehicle-item svg { width: 40px; height: 40px; }

    /* Services 2-col on mobile for better scan */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .service-card { padding: 20px 16px; }
    .service-card h3 { font-size: 0.9rem; }
    .service-card p { font-size: 0.8rem; line-height: 1.5; }
    .service-icon svg { width: 32px; height: 32px; }

    /* Gallery 2-col stays, tighten gap */
    .gallery-grid { gap: 10px; }

    /* Stats mobile */
    .stats-grid { gap: 16px; }
    .stat { padding: 20px 12px; }

    /* Reviews single card, full width */
    .review-card { padding: 24px 20px; margin: 0 4px; }
    .review-text { font-size: 0.9rem; }

    /* FAQ mobile */
    .faq-question span:first-child { font-size: 0.9rem; }
    .faq-answer p { font-size: 0.88rem; }

    /* Contact mobile */
    .contact-card { padding: 24px 20px; }
    .contact-map iframe { height: 200px; }

    /* Emergency CTA mobile */
    .section--emergency { padding: 48px 0; }
    .emergency-content p { font-size: 0.95rem; }

    /* Footer mobile spacing */
    .footer-grid { gap: 32px; }

    /* Sticky mobile CTA — ensure it clears demo banner */
    .mobile-cta { bottom: 36px; }

    /* Back to top — reposition above mobile CTA */
    #back-to-top { bottom: 100px; right: 16px; width: 44px; height: 44px; }

    /* Chat widget — reposition above mobile CTA */
    .chat-widget { bottom: 100px; left: 16px; width: 48px; height: 48px; }

    /* Demo banner mobile */
    .demo-watermark { font-size: 0.7rem; padding: 0.5rem 1rem; }

    /* Disable heavy animations on mobile for performance */
    .gear-particles { display: none; }

    /* Reduce glassmorphism blur on mobile for GPU performance */
    .vp-card,
    .step,
    .vehicle-item,
    .service-card,
    .review-card,
    .stat,
    .contact-card {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    /* Disable parallax on mobile */
    .hero-bg {
        animation: none;
        transform: none;
        inset: 0;
    }
}

/* ─── Extra small phones (375px and below) ─── */
@media (max-width: 374px) {
    .container { width: 92%; }
    .hero-content { padding: 85px 0 70px; }
    .hero-logo { max-width: 220px; width: 60%; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .hero-address { font-size: 0.78rem; padding: 8px 12px; }
    .vp-card h3 { font-size: 1.05rem; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 24px 18px; }
    .vehicles-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .badges-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stats-grid { gap: 10px; }
    .stat-number { font-size: 1.8rem; }
    .footer-grid { gap: 24px; }
}

/* ─── Tablet (720px+) ─── */
@media (min-width: 720px) {
    .desktop-nav { display: flex; }
    .header-cta { display: inline-flex; }
    .mobile-toggle { display: none; }
    .vp-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-grid { flex-direction: row; justify-content: center; }
    .step-connector { transform: none; align-self: center; }
    .badges-grid { grid-template-columns: repeat(6, 1fr); }
    .vehicles-grid { grid-template-columns: repeat(5, 1fr); }
    .about-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .review-card { flex: 0 0 50%; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
    .mobile-cta { display: none !important; }
}

/* ─── Desktop (960px+) ─── */
@media (min-width: 960px) {
    .section { padding: 100px 0; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .review-card { flex: 0 0 33.333%; }
}

/* ─── Large Desktop (1200px+) ─── */
@media (min-width: 1200px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Landscape phones ─── */
@media (max-height: 500px) and (orientation: landscape) {
    #hero { min-height: auto; padding: 80px 0 40px; }
    .hero-content { padding: 80px 0 40px; }
    .hero-logo { max-width: 180px; margin-bottom: 12px; }
    .hero-subtitle { margin-bottom: 16px; }
    .hero-ctas { margin-bottom: 16px; }
}

/* ─── Reduce motion for users who prefer it ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-bg { animation: none; }
    .gear-particles { display: none; }
    html { scroll-behavior: auto; }
}

/* ─── Safe area insets for notched phones (iPhone X+) ─── */
@supports (padding: env(safe-area-inset-bottom)) {
    .mobile-cta {
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
    .demo-watermark {
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
    }
    #footer .footer-bottom {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}
