/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Navbar scroll state ── */
#nav.scrolled {
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(45, 81, 39, 0.08);
}
#nav.scrolled .nav-text { color: #21361c; }
#nav.scrolled .nav-logo { color: #21361c; }

/* ── Hero animations ── */
.hero-subtitle { animation: fadeUp 0.8s ease forwards 0.2s; }
.hero-title { animation: fadeUp 0.8s ease forwards 0.4s; }
.hero-desc { animation: fadeUp 0.8s ease forwards 0.6s; }
.hero-cta { animation: fadeUp 0.8s ease forwards 0.8s; }
.hero-scroll { animation: fadeUp 0.8s ease forwards 1.2s; }

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

/* ── Scroll reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal-section {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal-section.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Service cards ── */
.service-card {
    background: #fff;
    border-radius: 1rem;
    padding: 0;
    border: 1px solid rgba(45, 81, 39, 0.08);
    transition: box-shadow 0.3s ease;
}
.service-card:hover {
    box-shadow: 0 8px 32px rgba(45, 81, 39, 0.1);
}

/* ── Mobile menu ── */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

/* ── Form select arrow ── */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233d6630' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
