/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ── Utilities ────────────────────────────────────────── */
.section-padding { padding: 100px 0; }
.no-underline { text-decoration: none; }

/* ── Navigation ───────────────────────────────────────── */
.nav-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(5, 150, 105, 0.1);
  transition: box-shadow 0.3s ease;
}
.nav-scrolled.scrolled {
  box-shadow: 0 4px 24px rgba(2, 46, 34, 0.08);
}
.nav-link {
  font-size: 0.938rem;
  font-weight: 500;
  color: #064e3b;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-link:hover { opacity: 1; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  border-radius: 12px;
  font-size: 0.938rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: #064e3b;
  color: #fff9f0;
}
.btn-primary:hover {
  background: #047857;
  box-shadow: 0 8px 24px rgba(4, 76, 55, 0.25);
}
.btn-secondary {
  background: transparent;
  color: #064e3b;
  border: 1.5px solid rgba(6, 78, 59, 0.3);
}
.btn-secondary:hover {
  border-color: #064e3b;
  background: rgba(6, 78, 59, 0.05);
}
.btn-emerald-light {
  background: #10b981;
  color: #022c22;
}
.btn-emerald-light:hover {
  background: #34d399;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero-grid {
  padding-top: 80px;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(110, 231, 183, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(6, 78, 59, 0.06) 0%, transparent 50%),
    #fff9f0;
}
.hero-image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(2, 46, 34, 0.18);
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}
.hero-accent {
  position: absolute;
  inset: 16px 0 0 16px;
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 24px;
  pointer-events: none;
  z-index: 1;
}

/* ── Form ─────────────────────────────────────────────── */
.input-field {
  border: 1.5px solid #d1fae5;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.938rem;
  font-family: inherit;
  color: #064e3b;
  background: #fff9f0;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.input-field::placeholder { color: #a7f3d0; }
.input-field:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

/* ── Mobile Menu ──────────────────────────────────────── */
.mobile-menu-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: #064e3b;
  padding: 0.75rem 0;
  border-bottom: 1px solid #d1fae5;
  transition: color 0.2s;
}
.mobile-menu-link:hover { color: #047857; }
.mobile-menu-open #mobile-menu { transform: translateX(0); }
body.menu-open { overflow: hidden; }

/* ── Scroll Reveal (progressive enhancement) ──────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .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; }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 767px) {
  .section-padding { padding: 72px 0; }
  .hero-grid { padding-top: 72px; }
  .hero-accent { display: none; }
}
