/* ─── Base & Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ─── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .section-fade {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .section-fade.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero animations */
@media (prefers-reduced-motion: no-preference) {
    .hero-subtitle { animation: heroFadeUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both; }
    .hero-headline { animation: heroFadeUp 0.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; }
    .hero-desc { animation: heroFadeUp 0.8s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
    .hero-ctas { animation: heroFadeUp 0.8s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
    .hero-scroll-indicator { animation: heroFadeUp 0.8s 1.2s cubic-bezier(0.16, 1, 0.3, 1) both; }
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Navigation ─── */
#site-header {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#site-header.scrolled {
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(30, 58, 95, 0.08);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #d4a028;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ─── Mobile Menu ─── */
#mobile-menu.open { opacity: 1; pointer-events: auto; }
#mobile-menu.close { opacity: 0; pointer-events: none; }
.mobile-link { transition: opacity 0.3s ease; }
#menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
#menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
}
#menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.25rem;
}

/* ─── Offer Cards ─── */
.offer-card { cursor: default; }

/* ─── Section Label ─── */
.section-label { display: block; }

/* ─── Focus Styles ─── */
:focus-visible {
    outline: 2px solid #d4a028;
    outline-offset: 2px;
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf8e8; }
::-webkit-scrollbar-thumb { background: #a8bdd4; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #7c9bc0; }
