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

/* ── Utility labels ─────────────────────────────── */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0d9488;
    background: #ccfbf1;
    padding: 0.35em 0.9em;
    border-radius: 9999px;
}

.section-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: #1e293b;
    line-height: 1.1;
}

/* ── Buttons ────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0d9488;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(13,148,136,0.35);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(13,148,136,0.45);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0d9488;
    color: #fff;
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.cta-btn:hover { background: #0f766e; transform: translateY(-1px); }

/* ── Nav links ──────────────────────────────────── */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #5eead4;
    border-radius: 2px;
    transition: width 0.25s;
}
.nav-link:hover::after { width: 100%; }

/* ── Scroll reveal ──────────────────────────────── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

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

/* ── Hero animations ────────────────────────────── */
.hero-anim {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeIn 0.7s ease forwards;
}
.hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-anim:nth-child(2) { animation-delay: 0.25s; }
.hero-anim:nth-child(3) { animation-delay: 0.4s; }
.hero-anim:nth-child(4) { animation-delay: 0.55s; }

@keyframes heroFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll indicator ───────────────────────────── */
.scroll-indicator {
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ── Menu card ──────────────────────────────────── */
.menu-card {
    position: relative;
}

/* ── Header state ───────────────────────────────── */
#site-header.scrolled {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
#site-header.scrolled .nav-link { color: rgba(255,255,255,0.9); }

/* ── Mobile nav transition ──────────────────────── */
#mobile-nav { transition: max-height 0.35s ease, padding 0.35s ease; }
#mobile-nav.open { max-height: 400px; padding: 0.5rem 0; }

/* ── Accessibility ──────────────────────────────── */
:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Selection ──────────────────────────────────── */
::selection { background: #99f6e4; color: #042f2e; }
