/* ─── RESET & BASE ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ─── THIN DIVIDER ─── */
.divider.thin-line {
    max-width: 6rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7ccdaf55, transparent);
    margin: 0 auto;
}

/* ─── SECTION BASE ─── */
.section {
    position: relative;
}

/* ─── EYEBROW ─── */
.eyebrow {
    letter-spacing: 0.3em;
}

/* ─── HERO ─── */
.hero {
    position: relative;
}

.hero-bg {
    will-change: transform;
}

/* ─── HERO ENTRANCE ANIMATIONS ─── */
.hero-eyebrow {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-headline {
    animation: fadeUp 0.9s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-sub {
    animation: fadeUp 0.9s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.hero-cta {
    animation: fadeUp 0.9s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

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

/* ─── CTA PRIMARY ─── */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(8px);
}

.cta-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(152, 212, 200, 0.6);
    color: #98d4c8;
    transform: translateY(-2px);
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.cta-primary:hover .cta-arrow {
    transform: translateX(4px);
}

/* ─── CTA SECONDARY ─── */
.cta-secondary {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s ease;
}

.cta-secondary:hover {
    border-color: rgba(152, 212, 200, 0.6);
}

/* ─── SCROLL INDICATOR ─── */
.scroll-line {
    position: relative;
}

.scroll-dot {
    animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ─── MENU ITEMS ─── */
.menu-item {
    opacity: 1;
}

.menu-dots {
    min-width: 1rem;
}

/* ─── REVEAL (scroll-triggered, progressive enhancement) ─── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ─── NAV SCROLLED STATE ─── */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(10, 37, 64, 0.06);
}

.nav-scrolled .hamburger-line {
    background: #0a2540;
}

/* ─── MOBILE MENU ─── */
.mobile-link {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal[data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 767px) {
    .hero-headline {
        font-size: 3.5rem;
    }

    .section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-headline {
        font-size: 5rem;
    }
}
