/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Nav scroll ── */
nav.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ── Floating stat cards ── */
.stat-card {
    animation: float 4s ease-in-out infinite;
}
.stat-card:nth-child(2) { animation-delay: -1.3s; }
.stat-card:nth-child(3) { animation-delay: -2.6s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ── Service cards ── */
.service-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ── Area cards ── */
.area-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.area-card:hover {
    transform: translateY(-3px);
}

/* ── Testimonial cards ── */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

/* ── FAQ ── */
.faq-item {
    transition: border-color 0.3s ease;
}
.faq-item:hover {
    border-color: rgba(240, 78, 30, 0.3);
}
.faq-btn:hover .faq-icon {
    color: #ff9f85;
}

/* ── Scroll reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Mobile menu ── */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .stat-card { display: none; }
}
