/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── Navigation ─────────────────────────────────────────── */
.nav-scrolled {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    box-shadow: 0 1px 20px rgba(2, 44, 34, 0.06);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav-scrolled .nav-link { color: #064e3b; }

/* Mobile toggle */
.toggle-line { transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle[aria-expanded="true"] .toggle-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .toggle-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
    animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.mobile-nav-link { border-bottom: 1px solid rgba(6,78,59,0.08); }
.mobile-nav-link:last-child { border-bottom: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero-gradient {
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(6,78,59,0.9) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(4,120,87,0.8) 0%, transparent 55%),
        radial-gradient(ellipse 90% 70% at 50% 50%, rgba(2,44,34,0.95) 0%, rgba(1,23,16,0.98) 70%),
        linear-gradient(160deg, #011710 0%, #064e3b 40%, #047857 70%, #065f46 100%);
    position: relative;
}
.hero-scrim {
    background: linear-gradient(
        to bottom,
        rgba(1,23,16,0.3) 0%,
        rgba(1,23,16,0.1) 40%,
        rgba(1,23,16,0.2) 100%
    );
}

/* Decorative orbs */
.hero-deco {
    position: absolute; border-radius: 50%; pointer-events: none;
}
.hero-deco-1 {
    width: 600px; height: 600px; top: -200px; right: -150px;
    background: radial-gradient(circle, rgba(4,120,87,0.25) 0%, transparent 70%);
    animation: float1 12s ease-in-out infinite;
}
.hero-deco-2 {
    width: 400px; height: 400px; bottom: -100px; left: -100px;
    background: radial-gradient(circle, rgba(6,78,59,0.3) 0%, transparent 70%);
    animation: float2 15s ease-in-out infinite;
}
.hero-deco-3 {
    width: 200px; height: 200px; top: 40%; left: 10%;
    background: radial-gradient(circle, rgba(254,243,220,0.08) 0%, transparent 70%);
    animation: float3 10s ease-in-out infinite;
}
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.05); }
}
@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}
@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, 15px); }
}

/* Hero content entrance */
.hero-eyebrow {
    animation: fadeUp 0.8s ease 0.2s both;
}
.hero-headline {
    animation: fadeUp 0.8s ease 0.4s both;
}
.hero-subtitle {
    animation: fadeUp 0.8s ease 0.6s both;
}
.hero-cta {
    animation: fadeUp 0.8s ease 0.8s both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.hero-scroll { opacity: 0.7; }
.scroll-dot { animation: scrollBounce 2s ease-in-out infinite; }
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
    box-shadow: 0 4px 24px rgba(6,78,59,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(6,78,59,0.25);
}
.btn-secondary {
    transition: transform 0.2s ease, background 0.3s ease, border-color 0.3s ease;
}
.btn-secondary:hover {
    transform: translateY(-2px);
}

/* ── Section shared ─────────────────────────────────────── */
.section-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #047857;
    font-weight: 600;
}
.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: #022c22;
    line-height: 1.15;
}

/* ── Cards (Emerald section) ────────────────────────────── */
.card-emerald {
    background: rgba(254,253,248,0.04);
    border: 1px solid rgba(254,243,220,0.08);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.card-emerald:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    background: rgba(254,253,248,0.07);
}

/* ── Visit items ─────────────────────────────────────────── */
.visit-item {
    padding-left: 1rem;
    border-left: 2px solid rgba(6,78,59,0.15);
}

/* ── Form ────────────────────────────────────────────────── */
.input-field {
    font-family: 'Lora', Georgia, serif;
    font-size: 0.95rem;
}
.input-field:focus {
    border-color: #047857;
    box-shadow: 0 0 0 3px rgba(4,120,87,0.1);
}
.select-wrapper {
    position: relative;
}
.select-wrapper::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #064e3b;
    pointer-events: none;
}
select { padding-right: 2.5rem; }

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 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 { opacity: 1; transform: none; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 767px) {
    .hero-deco-1 { width: 300px; height: 300px; right: -80px; top: -80px; }
    .hero-deco-2 { width: 200px; height: 200px; left: -50px; }
    .hero-deco-3 { display: none; }
}
