:root {
  --green: #2f7d32;
  --green-dark: #245d27;
  --green-light: #4caf50;
  --gold: #f2b705;
  --ink: #1f2a24;
  --body: #46534c;
  --muted: #6b7771;
  --line: #e2ebe4;
  --bg: #ffffff;
  --bg-soft: #f3f9f5;
  --bg-blue: #e8f4f8;
  --bg-blue-2: #f0f9fb;
  --radius: 16px;
  --shadow: 0 18px 40px -24px rgba(31, 70, 45, 0.35);
  --shadow-sm: 0 8px 24px -16px rgba(31, 70, 45, 0.4);
  --max: 1180px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-dark); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  color: var(--green);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  display: inline-block;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 12px 24px -14px rgba(47, 125, 50, .8);
}
.btn:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  box-shadow: none;
}
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-ghost { background: #fff; color: var(--green); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
.brand-text { font-weight: 700; color: var(--ink); font-size: 1.05rem; line-height: 1.15; }
.brand-text span { display: block; color: var(--green); font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.main-nav a:hover, .main-nav a.active { color: var(--green); }
.header-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg-blue-2) 55%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 50px;
  padding: 80px 24px 90px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero h1 { margin-bottom: 18px; }
.hero p { font-size: 1.12rem; color: var(--body); max-width: 33ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-media { position: relative; }
.hero-media img { border-radius: 24px; box-shadow: var(--shadow); }
.hero-badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 22px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 12px;
}
.hero-badge .num { font-size: 1.7rem; font-weight: 800; color: var(--green); line-height: 1; }
.hero-badge .lbl { font-size: .8rem; color: var(--muted); }
.hero-badge .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); color: var(--green); display: grid; place-items: center; }

/* Page banner */
.page-banner {
  background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg-blue-2) 100%);
  padding: 64px 24px;
  text-align: center;
}
.page-banner .container { max-width: 760px; }
.page-banner p { color: var(--body); margin-top: 12px; }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); margin-top: 12px; }
.bg-soft { background: var(--bg-soft); }

/* About split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split img { border-radius: 22px; box-shadow: var(--shadow); }
.split .stack > * + * { margin-top: 18px; }
.mission-card {
  background: var(--green);
  color: #eafaf0;
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}
.mission-card h3 { color: #fff; margin-bottom: 8px; }

/* Cards grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--green);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.icon { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; color: var(--body); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--green) 0%, var(--green-dark) 100%);
  color: #eafaf0;
  border-radius: 24px;
  padding: 48px 44px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin-bottom: 22px; }
.cta-band .btn { background: #fff; color: var(--green); }
.cta-band .btn:hover { background: #eafaf0; }
.cta-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.cta-links span {
  background: rgba(255,255,255,.16);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .85rem;
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
details.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 22px;
  box-shadow: var(--shadow-sm);
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ink);
  padding: 16px 30px 16px 0;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--green); font-weight: 400;
}
details.faq[open] summary::after { content: "\2013"; }
details.faq p { padding: 0 0 18px; color: var(--body); font-size: .97rem; }

/* Prose (policy pages) */
.prose { max-width: 820px; margin: 0 auto; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin-bottom: 16px; }
.prose p { margin-bottom: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.info-item .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.info-item a, .info-item span { color: var(--ink); font-weight: 500; }
.map-embed { margin-top: 12px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; }

/* Form */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: .92rem; }
.field label .req { color: #c0392b; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fcfefc;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47,125,50,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; background: #fdf3f2; }
.field-error { color: #c0392b; font-size: .85rem; margin-top: 6px; display: none; }
.field.has-error .field-error { display: block; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.consent input { width: auto; margin-top: 4px; }

.alert { border-radius: 12px; padding: 16px 18px; margin-bottom: 22px; font-size: .95rem; }
.alert-error { background: #fdecea; border: 1px solid #f5c6c0; color: #a02b1f; }
.alert-error strong { color: #8a2218; }

.success-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 38px;
  box-shadow: var(--shadow);
  text-align: center;
}
.success-card .badge {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: #e8f7ea;
  color: var(--green);
  display: grid; place-items: center;
  margin: 0 auto 22px;
}
.success-card .badge svg { width: 38px; height: 38px; }

/* Admin */
.admin-wrap { max-width: 1080px; margin: 0 auto; }
.login-card { max-width: 420px; margin: 60px auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
table.subs { width: 100%; border-collapse: collapse; min-width: 760px; }
table.subs th, table.subs td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
table.subs th { background: var(--bg-soft); color: var(--ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
table.subs tr:last-child td { border-bottom: none; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.pill { background: var(--bg-soft); color: var(--green); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .85rem; }

/* Footer */
.site-footer { background: #14241a; color: #c7d4cb; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.site-footer a { color: #c7d4cb; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 56px; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: .94rem; }
.footer-contact { font-size: .94rem; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #93a399; }
.footer-bottom a { color: #93a399; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 56px 24px 70px; }
  .hero p { max-width: none; }
  .hero-media { order: -1; }
  .split { grid-template-columns: 1fr; }
  .split .media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .main-nav, .header-cta { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; gap: 16px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 22px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .nav-toggle { display: block; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .form-card { padding: 24px; }
  .hero-badge { left: 12px; bottom: -18px; }
}
