/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ── Scroll Reveal (progressive enhancement) ── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .js .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .js .reveal-delay-1 { transition-delay: 0.1s; }
    .js .reveal-delay-2 { transition-delay: 0.2s; }
    .js .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ── Nav scroll state ── */
#main-nav.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* ── Testimonial card hover ── */
.testimonial-card:hover {
    border-color: rgba(245, 197, 66, 0.3);
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

/* ── Select arrow ── */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5c542' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #091230; }
::-webkit-scrollbar-thumb { background: #0f1c3f; border: 2px solid #091230; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #1a2d5e; }

/* ── Selection ── */
::selection { background: rgba(245, 197, 66, 0.3); color: #f5c542; }
</style>
