/* ── 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;
}

/* ── Hero Gradient ── */
.hero-gradient {
  background: linear-gradient(
    160deg,
    #1a3a25 0%,
    #2D5A3D 30%,
    #3d6b4e 55%,
    #4a7a5c 75%,
    #6a9a7a 100%
  );
}

/* ── Hero Pattern ── */
.hero-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(250,248,244,0.15) 1px, transparent 0);
  background-size: 40px 40px;
}

/* ── Hero Animations ── */
.hero-eyebrow {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

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

.hero-sub {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.1s;
}

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

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal.delay-100 {
  transition-delay: 0.1s;
}

.reveal.delay-200 {
  transition-delay: 0.2s;
}

/* ── Navigation ── */
#nav {
  background: transparent;
}

#nav.scrolled {
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 90, 61, 0.08);
}

.nav-logo {
  transition: color 0.3s ease;
}

.nav-icon span {
  display: block;
  width: 20px;
  height: 1.5px;
  background-color: #2D5A3D;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-icon.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-icon.active span:nth-child(2) {
  opacity: 0;
}

.nav-icon.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ── Mobile Menu ── */
.mobile-link {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobileMenu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

/* ── Input Focus ── */
input:focus,
textarea:focus {
  border-color: #4a7a4e !important;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f5f2eb;
}

::-webkit-scrollbar-thumb {
  background: #b9d0bb;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8fb892;
}

/* ── Selection ── */
::selection {
  background: #2D5A3D;
  color: #faf8f4;
}
