/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
select option { color: #1f3623; }

/* ── Navigation ─────────────────────────────────────────── */
#site-header {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
#site-header.scrolled {
  background: rgba(252, 251, 248, 0.97);
  box-shadow: 0 1px 0 rgba(47, 82, 52, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4a7f4f;
  transition: width 0.2s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ────────────────────────────────────────── */
#mobile-menu.open {
  opacity: 1 !important;
  pointer-events: all !important;
}
.mobile-link { transition: opacity 0.2s ease; }
.mobile-link:hover { opacity: 0.7; }

/* ── Service Cards ──────────────────────────────────────── */
.service-card {
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
}

/* ── 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) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .service-card:hover { transform: none; }
}

/* ── Testimonial Cards ─────────────────────────────────── */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 28, 17, 0.3);
}

/* ── Form ───────────────────────────────────────────────── */
input:focus, select:focus, textarea:focus {
  outline: none;
}
