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

/* ===== NAVIGATION ===== */
#site-header {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
#site-header.scrolled {
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px 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: #6B9B6A;
  border-radius: 1px;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

.mobile-nav-link {
  position: relative;
  transition: color 0.2s ease;
}
.mobile-nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #6B9B6A;
  border-radius: 1px;
  transition: width 0.25s ease;
}
.mobile-nav-link:hover::after { width: 80%; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #2D5A3D;
  color: #fff;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #4a7c49;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(45, 90, 61, 0.25);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

/* ===== CARDS ===== */
.card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(45, 90, 61, 0.06);
  border: 1px solid rgba(45, 90, 61, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45, 90, 61, 0.12);
}

/* ===== LABELS ===== */
.label-green {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a7c49;
  background: rgba(74, 124, 73, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
}
.label-cream {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A8D5A2;
  background: rgba(168, 213, 162, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
}

/* ===== FORM ===== */
.input-field {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #e2e8e2;
  border-radius: 0.75rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: #1a3a24;
  background: #fafcfa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
}
.input-field::placeholder { color: #a0b0a4; }
.input-field:hover { border-color: #8fbc8f; }
.input-field:focus {
  border-color: #2D5A3D;
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
  background: #fff;
}
.input-field.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.input-error {
  color: #dc2626;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 0.35rem;
  display: none;
}
.input-error.visible { display: block; }

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .font-display { font-size: 2.25rem; }
  #top h1 { font-size: 2.5rem; }
}
@media (min-width: 641px) and (max-width: 1023px) {
  #top h1 { font-size: 3.5rem; }
}
