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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ── */
#site-header.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(30,58,95,0.08);
}

.menu-line { transition: all 0.3s ease; }
#menu-btn[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
}
#menu-btn[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
}
#menu-btn[aria-expanded="true"] .menu-line:nth-child(3) {
    width: 24px;
    transform: translateY(-3.5px) rotate(-45deg);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }
.reveal[data-reveal-delay="5"] { transition-delay: 0.5s; }

@media (prefers-reduced-motion: no-preference) {
    .js-ready .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .js-ready .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── FAQ ── */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.active .faq-content {
    max-height: 300px;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ── FORM ── */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' 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 12px center;
    padding-right: 36px;
}

/* ── MOBILE ── */
.mobile-link {
    border-radius: 0.75rem;
    transition: background 0.2s;
}
.mobile-link:hover {
    background: rgba(30,58,95,0.05);
}

/* ── SELECTION ── */
::selection {
    background: rgba(245,124,157,0.2);
    color: #1e3a5f;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f4f8; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
