:root {
  --c-primary: #237227;
  --c-secondary: #519a66;
  --c-accent: #ffaa00;
  --c-soft: #ffd786;
  --c-bg: #f5faf5;
  --c-text: #17311b;
  --c-muted: #5f7663;
  --c-white: #ffffff;
  --space-1: 0.5rem;
  --space-2: 0.8rem;
  --space-3: 1.1rem;
  --space-4: 1.6rem;
  --space-5: 2.4rem;
  --space-6: 3.4rem;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 10px 24px rgba(35, 114, 39, 0.08);
  --shadow-md: 0 18px 40px rgba(35, 114, 39, 0.14);
  --speed: 0.28s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--c-text);
  background: radial-gradient(circle at 85% 0, #e9f6e8 0, #f8fcf8 45%, #f3f9f3 100%);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(35, 114, 39, 0.15);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
}

.header-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-3) var(--space-4);
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: block;
}

.brand img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.brand img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.brand:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.main-nav a {
  padding: 0.56rem 0.86rem;
  border-radius: 3px;
  border: 1px solid rgba(35, 114, 39, 0.25);
  background: #fff;
  font-size: 0.92rem;
  transition: transform var(--speed), background-color var(--speed), border-color var(--speed);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: #eef8ef;
  border-color: var(--c-primary);
  transform: translateY(-1px);
}

main section {
  padding: var(--space-6) 4vw;
}

.full {
  max-width: 1240px;
  margin: 0 auto;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-5);
  align-items: center;
}

.feature-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.cards-2 {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr 1fr;
}

h1,
h2,
h3 {
  line-height: 1.18;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  margin-bottom: var(--space-3);
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  margin-bottom: var(--space-3);
}

p {
  margin: 0 0 0.9rem;
}

.lead {
  max-width: 60ch;
  font-size: 1.06rem;
}

.eyebrow {
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
}

.actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.btn {
  border: none;
  border-radius: 4px;
  padding: 0.76rem 1.1rem;
  cursor: pointer;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--speed), box-shadow var(--speed), background-color var(--speed);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-main {
  background: var(--c-primary);
  color: #fff;
}

.btn-sub {
  background: #fff2d4;
  color: #7b4f00;
}

.btn-ghost {
  background: #fff;
  color: var(--c-primary);
  border: 1px solid rgba(35, 114, 39, 0.25);
}

.card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-4);
}

.panel {
  background: linear-gradient(140deg, #ffffff 0%, #f0f8f0 100%);
  border: 1px solid rgba(35, 114, 39, 0.16);
}

.icon-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 170, 0, 0.2);
  color: #8d5d00;
  margin-bottom: var(--space-2);
}

.timeline {
  display: grid;
  gap: var(--space-3);
}

.timeline article {
  border-left: 4px solid var(--c-secondary);
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.68rem;
  border-radius: 999px;
  background: rgba(35, 114, 39, 0.11);
  color: var(--c-primary);
  font-size: 0.85rem;
}

.notice {
  border-left: 4px solid var(--c-accent);
  padding: 0.8rem 0.95rem;
  border-radius: 0 10px 10px 0;
  background: #fff7e4;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: var(--space-2);
}

.stats .card h3 {
  margin-bottom: 0.3rem;
}

.muted {
  color: var(--c-muted);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border: 1px solid rgba(35, 114, 39, 0.2);
  border-radius: 10px;
  margin-bottom: 0.7rem;
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  font: inherit;
  font-weight: 700;
  padding: 0.9rem;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--speed) ease;
  padding: 0 0.9rem;
}

.faq-item.active .faq-content {
  max-height: 160px;
  padding-bottom: 0.8rem;
}

.filter-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.filter-row button {
  border: 1px solid rgba(35, 114, 39, 0.24);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.filter-row button.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

[data-program-card] {
  transition: opacity var(--speed), transform var(--speed);
}

[data-program-card].hidden {
  opacity: 0.26;
  transform: scale(0.98);
}

form {
  display: grid;
  gap: var(--space-2);
}

label {
  font-size: 0.94rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 49, 27, 0.25);
  border-radius: 8px;
  background: #fff;
  padding: 0.76rem;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(81, 154, 102, 0.2);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.check-row input {
  width: auto;
  margin-top: 0.25rem;
}

.error {
  min-height: 1em;
  color: #b42222;
  font-size: 0.82rem;
}

.site-footer {
  border-top: 1px solid rgba(35, 114, 39, 0.2);
  background: #f3f9f3;
  padding: var(--space-3) 4vw;
}

.footer-line {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  gap: 0.7rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.float-in {
  animation: floatIn 0.8s ease both;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-bar {
  position: fixed;
  z-index: 100;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1rem;
  width: min(94vw, 980px);
  border-radius: 12px;
  padding: 0.95rem;
  display: none;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  background: #133518;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-actions button {
  border: 1px solid rgba(255, 255, 255, 0.23);
  background: #1e5c26;
  color: #fff;
  border-radius: 5px;
  padding: 0.45rem 0.72rem;
  cursor: pointer;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 17, 8, 0.5);
}

.cookie-panel {
  width: min(96vw, 560px);
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.cookie-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin: 0.8rem 0;
}

.switch {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #d2dbd3;
  position: relative;
}

.switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.switch span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  background: #fff;
  transition: transform var(--speed);
}

.switch input:checked+span {
  transform: translateX(20px);
}

.switch.active {
  background: var(--c-primary);
}

@media (max-width: 980px) {

  .hero-grid,
  .split,
  .feature-grid,
  .cards-2,
  .stats {
    grid-template-columns: 1fr;
  }

  .header-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  main section {
    padding: 3.5rem 1rem;
  }

  .cookie-bar {
    left: 1rem;
    right: 1rem;
    transform: none;
    width: auto;
    flex-direction: column;
    align-items: flex-start;
  }
}