/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }

/* ===== HERO GRADIENT ===== */
.hero-gradient {
  background: linear-gradient(135deg, #2D5A3D 0%, #367049 30%, #4A8C5C 55%, #7dab89 80%, #a8c8b0 100%);
}

/* ===== HERO BLOBS ===== */
.hero-blob-1 { background: radial-gradient(circle, #F5E0B0, transparent 70%); }
.hero-blob-2 { background: radial-gradient(circle, #C4707A, transparent 70%); }
.hero-blob-3 { background: radial-gradient(circle, #FDF8EF, transparent 70%); }

/* ===== NAV ===== */
#site-header {
  background: transparent;
}
#site-header.scrolled {
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(45, 90, 61, 0.08);
}
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.25s ease;
  opacity: 0.4;
}
.nav-link:hover::after {
  width: 100%;
  opacity: 1;
}

/* ===== MOBILE NAV ===== */
.mobile-nav-link {
  position: relative;
  padding-left: 0;
}
.mobile-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: #2D5A3D;
  border-radius: 2px;
  transition: height 0.2s ease;
}
.mobile-nav-link:hover::before {
  height: 60%;
}

/* ===== BUTTONS ===== */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  line-height: 1.4;
}

/* ===== CARD HOVER ===== */
.card-hover {
  perspective: 800px;
}
.card-hover > div {
  transform: translateZ(0);
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 90, 61, 0.15), transparent);
}

/* ===== FOCUS ===== */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #528F62;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(45, 90, 61, 0.15);
  color: #1c3927;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F5F0E8; }
::-webkit-scrollbar-thumb { background: #a8c8b0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #7dab89; }
