:root {
  --color-primary: #15803D;
  --color-secondary: #22C55E;
  --color-accent: #CA8A04;
  --color-neutral-dark: #14532D;
  --color-neutral-light: #F0FDF4;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --measure: 68ch;
  --radius: 12px;
  --shadow-soft: 0 20px 40px -24px rgba(20, 83, 45, 0.25);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #ffffff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1rem;
}
.lede { font-size: 1.15rem; color: #365f42; max-width: 52ch; }

/* === Header === */
.site-header {
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(20, 83, 45, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent;
  border: 0;
  padding: 0.5rem;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-neutral-dark);
  width: 100%;
}
.primary-nav { display: none; }
.primary-nav.is-open { display: block; }
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--color-neutral-light);
  border-top: 1px solid rgba(20,83,45,0.08);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
}
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.4rem 0;
  display: block;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; position: static; }
  .primary-nav ul {
    flex-direction: row;
    gap: 1.75rem;
    padding: 0;
    background: transparent;
    border: 0;
    position: static;
  }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-size: 0.98rem;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: var(--color-neutral-light); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--color-neutral-dark); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #a8720a; }

/* === Hero split === */
.hero { padding: 2.5rem 1.25rem 3rem; }
.hero-split__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-split__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 900px) {
  .hero { padding: 5rem 1.25rem 5rem; }
  .hero-split__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero-split__text h1 { max-width: 18ch; }
}

/* === Sections === */
.section {
  padding: 3.5rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-narrow {
  max-width: 780px;
  margin: 0 auto;
}
.section-narrow h2 { max-width: 24ch; }
.section-center { text-align: center; }
.section-center .lede { margin-inline: auto; }
.section-alt {
  background: var(--color-neutral-light);
  max-width: none;
  margin: 0;
}
.section-alt > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.section__head {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section__sub { color: #365f42; font-size: 1.05rem; margin-top: -0.25rem; }

@media (min-width: 900px) {
  .section { padding: 5rem 2rem; }
}

/* === Split === */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.split__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* === Grid cards === */
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #ffffff;
  border: 1px solid rgba(20, 83, 45, 0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: block;
  color: inherit;
}
.card h3 { margin-top: 0.75rem; }
.card p { color: #365f42; font-size: 0.98rem; margin-bottom: 0; }
.card .icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  stroke-width: 1.5;
}
.card-link { text-decoration: none; }
.card-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-secondary);
  text-decoration: none;
}

/* === Testimonial === */
.testimonial {
  margin: 0 auto;
  padding: 2rem 0;
  max-width: 60ch;
  text-align: center;
  border-inline: 0;
  border-block: 1px solid rgba(20, 83, 45, 0.1);
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--color-neutral-dark);
  font-style: italic;
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 3.5rem 1.25rem;
  text-align: center;
}
.cta-band__inner {
  max-width: 720px;
  margin: 0 auto;
}
.cta-band h2 { color: var(--color-neutral-light); margin-inline: auto; max-width: 22ch; }
.cta-band p { color: rgba(240, 253, 244, 0.85); max-width: 48ch; margin-inline: auto; }
.cta-band .btn-accent { margin-top: 0.5rem; }

/* === Contact band === */
.contact-band { text-align: center; padding: 1rem 0; }
.contact-band__address {
  font-style: normal;
  margin: 1.5rem auto;
  line-height: 1.9;
}

/* === Contact form === */
.contact-form {
  display: grid;
  gap: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
}
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(20, 83, 45, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-neutral-dark);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: #365f42;
  line-height: 1.5;
}
.form-consent input { margin-top: 0.25rem; }
.contact-form .btn { justify-self: start; }

/* === FAQ === */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid rgba(20, 83, 45, 0.12);
  padding: 1.1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-neutral-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::after {
  content: "+";
  color: var(--color-primary);
  font-size: 1.4rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.75rem; color: #365f42; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.site-footer h3 {
  color: var(--color-neutral-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: var(--font-body);
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.legal-links {
  display: flex !important;
  flex-direction: row !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.logo-footer img { height: 64px; filter: brightness(0) invert(1); }
.copyright {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240, 253, 244, 0.15);
  font-size: 0.85rem;
  color: rgba(240, 253, 244, 0.7);
}
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 3rem; }
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: none;
  z-index: 9999;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.35);
  max-width: 560px;
  margin-inline: auto;
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; }
.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(240,253,244,0.3);
  background: transparent;
  color: var(--color-neutral-light);
  font-size: 0.88rem;
  font-weight: 500;
}
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  font-weight: 600;
}
.cookie-banner__prefs {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
  border-top: 1px solid rgba(240,253,244,0.2);
  padding-top: 1rem;
}
.cookie-banner__prefs label {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
}
.cookie-banner__prefs [data-cookie-save] {
  background: var(--color-primary);
  border-color: var(--color-primary);
  margin-top: 0.5rem;
  justify-self: start;
}

/* === Form success === */
.form-success {
  padding: 1rem;
  background: var(--color-neutral-light);
  border-left: 4px solid var(--color-primary);
  border-radius: 6px;
  margin-top: 1rem;
}
