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

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.6rem;
  border-radius: 9999px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: background .2s, color .2s, box-shadow .2s, transform .15s;
}
.btn:active { transform: scale(.97); }
.btn-green {
  background: #059669;
  color: #fff;
  box-shadow: 0 4px 14px rgba(5,150,105,.35);
}
.btn-green:hover { background: #047857; box-shadow: 0 6px 20px rgba(5,150,105,.45); }
.btn-lime {
  background: #a3e635;
  color: #064e3b;
  box-shadow: 0 4px 14px rgba(163,230,53,.4);
}
.btn-lime:hover { background: #84cc16; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ─── Badge ─── */
.badge-green {
  display: inline-block;
  background: #d1fae5;
  color: #065f46;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 9999px;
}

/* ─── Inputs ─── */
.input {
  appearance: none;
  background: #fff;
  border: 1.5px solid #d1fae5;
  border-radius: .75rem;
  padding: .75rem 1rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: .95rem;
  color: #064e3b;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.input::placeholder { color: #9ca3af; }
.input:focus { border-color: #059669; box-shadow: 0 0 0 3px rgba(5,150,105,.15); }
.input:invalid:not(:placeholder-shown) { border-color: #ef4444; }

/* ─── Cards ─── */
.card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 4px 24px rgba(6,78,59,.07);
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 8px 32px rgba(6,78,59,.12); transform: translateY(-4px); }
.card-img-wrap {
  height: 200px;
  border-radius: 1.25rem;
  overflow: hidden;
}
.card-img {
  transition: transform .4s ease;
}
.card:hover .card-img { transform: scale(1.05); }

/* ─── Nav Links ─── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #059669;
  border-radius: 2px;
  transition: width .25s;
}
.nav-link:hover::after { width: 100%; }

/* ─── Mobile Links ─── */
.mobile-link {
  display: block;
  padding: .75rem .5rem;
  border-radius: .75rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #065f46;
  transition: background .15s, color .15s;
}
.mobile-link:hover { background: #d1fae5; color: #047857; }

/* ─── Header scroll state ─── */
#site-header.scrolled {
  background: rgba(254,253,248,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(6,78,59,.08);
}
#site-header.scrolled .nav-link { color: #065f46; }
#site-header.scrolled .nav-link::after { background: #059669; }

/* ─── Fade-in animation ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
