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

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #d97706;
    color: #fff;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    text-decoration: none;
}
.btn-primary:hover {
    background: #b45309;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(217, 119, 6, 0.3);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #f0fdf4;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
    text-decoration: none;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* ── Inputs ── */
.input-emerald {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #f0fdf4;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s, background 0.3s;
    outline: none;
    width: 100%;
}
.input-emerald::placeholder { color: rgba(240,253,244,0.35); }
.input-emerald:focus {
    border-color: rgba(217,119,6,0.6);
    background: rgba(255,255,255,0.1);
}
.input-emerald option { background: #166534; color: #fff; }

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

/* ── Floating animations ── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-delayed { animation: float-delayed 5s ease-in-out infinite 1s; }

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Navbar scrolled ── */
.nav-scrolled {
    background: rgba(254,253,248,0.95) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.06);
}
.nav-scrolled .nav-link { color: rgba(15,36,25,0.7) !important; }
.nav-scrolled .nav-link:hover { color: #166534 !important; }
.nav-scrolled .btn-primary { background: #d97706; }
.nav-scrolled .mobile-link { color: #1a3a2a !important; }

/* ── Mobile menu ── */
.mobile-menu-open #mobileMenu {
    opacity: 1 !important;
    pointer-events: all !important;
}
.mobile-menu-open body { overflow: hidden; }

/* ── Responsive ── */
@media (max-width: 767px) {
    .font-display { line-height: 1.15; }
}
