/* === Tokens === */
:root {
  --color-primary: #15803D;
  --color-secondary: #22C55E;
  --color-accent: #0369A1;
  --color-neutral-dark: #14532D;
  --color-neutral-light: #F0FDF4;
  --color-bg: #FFFFFF;
  --color-text: #14532D;
  --color-muted: #4B5F53;
  --color-border: rgba(20, 83, 45, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --radius: 10px;
  --shadow-sm: 0 4px 14px -8px rgba(20, 83, 45, 0.25);
  --shadow-lg: 0 30px 60px -30px rgba(20, 83, 45, 0.28);
}

/* === Reset === */
*, *::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: var(--color-bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; font-weight: 600; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.15rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 720px; }
.section { padding-block: 3rem; }
.section--narrow { max-width: 720px; margin-inline: auto; }
.section--tinted { background: var(--color-neutral-light); }
.section__title { text-align: center; margin-bottom: 0.5rem; }
.section__lede { text-align: center; color: var(--color-muted); max-width: 60ch; margin: 0 auto 2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 0.75rem; }
.muted { color: var(--color-muted); }

/* === Header === */
.site-header { border-bottom: 1px solid var(--color-border); background: var(--color-bg); position: sticky; top: 0; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 1px solid var(--color-border); border-radius: 8px; width: 44px; height: 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-neutral-dark); }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; }
.primary-nav a { display: block; padding: 0.75rem 0; text-decoration: none; color: var(--color-neutral-dark); font-weight: 500; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; background: var(--color-bg); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); }

/* === Hero (stacked) === */
.hero { padding-block: 3rem 2rem; }
.hero__inner { max-width: 780px; margin: 0 auto; }
.hero__figure { margin: 2rem 0; }
.hero__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 58ch; margin-bottom: 1.5rem; }
.hero__cta { margin-top: 1.25rem; }

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.5rem; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: background .18s ease, color .18s ease, transform .18s ease; font-size: 1rem; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-neutral-dark); color: #fff; }
.btn-accent { background: #fff; color: var(--color-primary); border-color: #fff; }
.btn-accent:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.card .icon { color: var(--color-primary); margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }
a.card-link { text-decoration: none; color: inherit; display: block; transition: transform .18s ease, box-shadow .18s ease; }
a.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
a.card-link h3 { color: var(--color-neutral-dark); }
.card__more { display: inline-block; margin-top: 1rem; color: var(--color-primary); font-weight: 600; }

/* === Testimonial === */
.testimonial { background: var(--color-neutral-light); }
.testimonial blockquote { max-width: 780px; margin: 0 auto; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.2rem, 1.6vw + 0.5rem, 1.65rem); line-height: 1.4; color: var(--color-neutral-dark); font-style: italic; }
.testimonial cite { display: block; margin-top: 1rem; color: var(--color-muted); font-style: normal; font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3rem; }
.cta-band__inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); }

/* === Article === */
.article { max-width: 65ch; margin-inline: auto; padding: 2rem 1.25rem 4rem; }
.article__header { margin-bottom: 1rem; }
.article__sub { font-size: 1.2rem; color: var(--color-muted); margin-top: 0.5rem; }
.article__hero { margin: 2rem 0; }
.article__hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.article h2 { margin-top: 2.5rem; }
.article p { font-size: 1.075rem; line-height: 1.75; margin-block: 1.25rem; }
.article__footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.back-link { text-decoration: none; color: var(--color-primary); font-weight: 600; }
.back-link:hover { color: var(--color-neutral-dark); }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 600; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; color: var(--color-text);
}
.form-row input:focus, .form-row 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); }
.form-consent input { margin-top: 0.25rem; }
.form-consent a { color: var(--color-primary); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); margin-top: 3rem; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.site-footer a { color: var(--color-neutral-light); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.25rem 1.5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer address { font-style: normal; color: var(--color-neutral-light); line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,0.15); padding: 1rem 1.25rem; text-align: center; font-size: 0.85rem; color: rgba(240,253,244,0.75); }
.logo--footer img { height: 56px; }

/* === 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: 12px; box-shadow: 0 25px 60px -20px rgba(0,0,0,0.4);
  max-width: 680px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.75rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit; padding: 0.6rem 1rem; border-radius: 6px; border: 1px solid rgba(255,255,255,0.25);
  background: transparent; color: var(--color-neutral-light); cursor: pointer;
}
.cookie-banner button:hover { background: rgba(255,255,255,0.08); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #024e7a; border-color: #024e7a; }
.cookie-banner__prefs { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: 0.5rem; background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* === Responsive === */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  body { font-size: 18px; }
  .logo img { height: 96px; }
  .site-header__inner { padding-block: 1rem; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 1.75rem; align-items: center; }
  .primary-nav a { padding: 0; }
  .section { padding-block: 4.5rem; }
  .hero { padding-block: 5rem 3rem; }
  .cta-band { padding-block: 4rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 3rem; padding: 4rem 1.25rem 1.5rem; }
}
@media (min-width: 960px) {
  h1 { font-size: 3.25rem; }
  .hero__figure img { aspect-ratio: 16/8; }
}
