:root {
  --color-primary: #15803D;
  --color-secondary: #22C55E;
  --color-accent: #CA8A04;
  --color-neutral-dark: #14532D;
  --color-neutral-light: #F0FDF4;
  --color-text: #14532D;
  --color-muted: #4B6650;
  --color-border: rgba(20, 83, 45, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --max-content: 1200px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.75rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-top: 0; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Header === */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
  position: relative;
  z-index: 20;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) {
  .logo img { height: 96px; }
}
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.site-nav { flex-basis: 100%; display: none; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.site-nav a { display: block; padding: 0.75rem 0.25rem; font-weight: 500; text-decoration: none; color: var(--color-neutral-dark); }
.site-nav a[aria-current="page"] { color: var(--color-primary); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; flex-basis: auto; }
  .site-nav ul { flex-direction: row; margin: 0; gap: 1.75rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); color: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #a56f00; color: #fff; }

/* === Hero fullscreen === */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-neutral-light);
  text-align: center;
  padding: 4rem 1.25rem;
}
.hero-fullscreen--short { min-height: 70vh; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(rgba(20,83,45,0.55), rgba(20,83,45,0.72)); z-index: 1; }
.hero__inner { position: relative; z-index: 2; max-width: 780px; }
.hero__inner h1 { color: var(--color-neutral-light); font-size: clamp(2.25rem, 5vw, 4rem); }
.hero__sub { font-size: 1.15rem; max-width: 56ch; margin: 1rem auto 2rem; color: rgba(240, 253, 244, 0.92); }

/* === Page hero (secondary pages) === */
.page-hero {
  padding: 4rem 1.25rem 3rem;
  text-align: center;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 { max-width: 24ch; margin-inline: auto; }
.page-hero__sub { max-width: 56ch; margin: 1rem auto 0; color: var(--color-muted); font-size: 1.1rem; }

/* === Sections === */
.section { padding: 4rem 1.25rem; max-width: var(--max-content); margin-inline: auto; }
.section--narrow { max-width: 760px; }
.section--tinted { background: var(--color-neutral-light); max-width: none; }
.section--tinted > * { max-width: var(--max-content); margin-inline: auto; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; margin-bottom: 2rem; }
.section__eyebrow { text-align: center; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted); font-family: var(--font-body); font-weight: 500; }

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

/* === Cards grid === */
.grid--cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card__icon { color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-top: 0; color: var(--color-neutral-dark); }
.card p { margin-bottom: 0; color: var(--color-muted); }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(20,83,45,0.35); }
.card-link h3 { color: var(--color-primary); }

/* === Testimonial === */
.section--quote { max-width: 820px; margin-inline: auto; padding: 4rem 1.25rem; text-align: center; }
.quote { margin: 1.5rem 0 0; padding: 0; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark); font-style: italic; }
.quote cite { display: block; font-family: var(--font-body); font-size: 0.95rem; color: var(--color-muted); font-style: normal; margin-top: 1rem; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #ffffff; padding: 3.5rem 1.25rem; text-align: center; }
.cta-band__inner { max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: #ffffff; }
.cta-band p { color: rgba(240,253,244,0.92); font-size: 1.05rem; margin-bottom: 1.75rem; }

/* === Article detail === */
.article { max-width: 65ch; margin-inline: auto; padding: 3rem 1rem 4rem; }
.article__header { margin-bottom: 1.5rem; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); font-weight: 500; margin: 0 0 0.75rem; }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.25rem; }
.article__lede { font-size: 1.2rem; color: var(--color-muted); line-height: 1.55; }
.article__hero img { aspect-ratio: 16/9; object-fit: cover; margin-block: 2rem; border-radius: var(--radius); width: 100%; }
.article h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.article p { font-size: 1.075rem; line-height: 1.75; margin-block: 1.25rem; }
.article__footer { margin-top: 3rem; border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
.back-link { text-decoration: none; font-weight: 500; color: var(--color-primary); }
.back-link:hover { color: var(--color-neutral-dark); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.95rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
  width: 100%;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3.5rem 1.25rem 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; max-width: var(--max-content); margin-inline: auto; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer h3 { color: var(--color-neutral-light); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer a { color: rgba(240,253,244,0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; color: rgba(240,253,244,0.85); line-height: 1.7; margin-bottom: 1rem; }
.footer-legal { margin-top: 0.5rem; }
.logo--footer img { height: 60px; }
.copyright { text-align: center; margin: 2.5rem 0 0; font-size: 0.85rem; color: rgba(240,253,244,0.6); border-top: 1px solid rgba(240,253,244,0.15); padding-top: 1.25rem; }

/* === 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 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.4);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  font: inherit;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(240,253,244,0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; font: inherit; padding: 0.55rem 1rem; border-radius: var(--radius); border: none; background: var(--color-neutral-light); color: var(--color-neutral-dark); cursor: pointer; }
