:root {
  --color-primary: #15803D;
  --color-secondary: #22C55E;
  --color-accent: #EC4899;
  --color-neutral-dark: #14532D;
  --color-neutral-light: #F0FDF4;
  --font-heading: 'Lora', serif;
  --font-body: 'Inter', sans-serif;
  --sidebar-w: 240px;
  --content-max: 960px;
}

/* === Base === */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
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 { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 1rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

/* === Layout / Sidebar === */
.layout { display: block; }
.sidebar {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 20;
}
.sidebar .logo { display: inline-block; }
.sidebar .logo img { height: 72px; width: auto; background: var(--color-neutral-light); padding: 6px 10px; border-radius: 8px; }
.sidebar__nav { display: none; flex-direction: column; gap: .35rem; width: 100%; margin-top: 1rem; }
.sidebar__nav.is-open { display: flex; }
.sidebar__nav a {
  color: var(--color-neutral-light);
  text-decoration: none;
  padding: .55rem .75rem;
  border-radius: 6px;
  font-size: .98rem;
  font-weight: 500;
}
.sidebar__nav a:hover, .sidebar__nav a.is-active {
  background: rgba(240, 253, 244, 0.1);
  color: #fff;
}
.sidebar__nav a.is-active { border-left: 3px solid var(--color-secondary); }
.sidebar__toggle {
  margin-left: auto;
  background: transparent;
  color: var(--color-neutral-light);
  border: 1px solid rgba(240,253,244,0.3);
  padding: .5rem .9rem;
  border-radius: 6px;
  font-family: var(--font-body);
  cursor: pointer;
}
.sidebar__foot { display: none; font-size: .8rem; opacity: .6; margin: 0; }

.main {
  padding: 2rem 1.25rem 0;
  max-width: var(--content-max);
  margin: 0 auto;
}

@media (min-width: 900px) {
  .layout { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
  .sidebar {
    flex-direction: column;
    align-items: flex-start;
    height: 100vh;
    position: sticky;
    top: 0;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
  }
  .sidebar .logo img { height: 96px; }
  .sidebar__nav { display: flex !important; margin-top: 1rem; width: auto; }
  .sidebar__toggle { display: none; }
  .sidebar__foot { display: block; margin-top: auto; }
  .main { padding: 3.5rem 3rem; max-width: none; }
  .main > * { max-width: var(--content-max); }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .8rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s 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: #db2777; color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(240,253,244,0.4); }
.btn--ghost:hover { background: rgba(240,253,244,0.1); }

/* === Hero === */
.hero { padding: 2rem 0 3rem; }
.eyebrow {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 .75rem;
}
.hero h1 { max-width: 20ch; }
.hero__sub { font-size: 1.15rem; max-width: 55ch; color: #365f43; margin-bottom: 1.75rem; }
.hero__figure { margin: 2.5rem 0 0; }
.hero__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }

/* === Sections === */
.section { padding: 3rem 0; border-top: 1px solid rgba(20, 83, 45, 0.08); }
.section--narrow { max-width: 65ch; }
.section--narrow p { font-size: 1.08rem; line-height: 1.75; }
.section--quote { padding: 3rem 0; }
.section--quote blockquote {
  margin: 0;
  padding: 2rem;
  background: #fff;
  border-left: 4px solid var(--color-secondary);
  border-radius: 6px;
  max-width: 60ch;
}
.section--quote blockquote p {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1rem;
}
.section--quote cite {
  font-style: normal;
  font-size: .95rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; }
.grid--cards { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--cards { grid-template-columns: repeat(2, 1fr); }
  .grid--cards.grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(20, 83, 45, 0.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card h3 { margin: .75rem 0 .5rem; }
.card p { font-size: .97rem; margin: 0; color: #365f43; }
.card .icon { color: var(--color-primary); }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px rgba(20, 83, 45, 0.25);
}
.card-link:hover h3 { color: var(--color-primary); }

/* === Icons === */
.icon { width: 28px; height: 28px; }
.icon--lg { width: 48px; height: 48px; }

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 10px;
  text-align: center;
  margin: 3rem 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { margin-bottom: 1.5rem; color: rgba(255,255,255,0.9); }

/* === Forms === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 560px; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 500; font-size: .95rem; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .7rem .8rem;
  border: 1px solid rgba(20,83,45,0.2);
  border-radius: 6px;
  background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
  border-color: var(--color-secondary);
}
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem; font-size: .88rem; font-weight: 400; line-height: 1.5; }
.form-consent input { margin-top: .2rem; }

/* === Map block === */
.map-block {
  margin-top: 2rem;
  background: #e8f5ec;
  border: 1px dashed rgba(20,83,45,0.25);
  border-radius: 8px;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--color-primary);
}
.map-block p { margin: .5rem 0 0; font-weight: 500; }

/* === Footer === */
.footer {
  margin-top: 4rem;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(20, 83, 45, 0.12);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  font-size: .93rem;
}
.footer__col p, .footer__col ul { margin: 0 0 .5rem; }
.footer__brand { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; }
.footer__title { font-weight: 600; margin-bottom: .5rem; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: .35rem; }
.footer a { color: var(--color-neutral-dark); text-decoration: none; }
.footer a:hover { color: var(--color-primary); text-decoration: underline; }
.footer__legal { margin-top: 1rem; }
.footer__copy {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(20, 83, 45, 0.08);
  font-size: .82rem;
  color: #365f43;
  margin: 0;
}
@media (min-width: 700px) {
  .footer { grid-template-columns: repeat(3, 1fr); }
}

/* === 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: 10px;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.4);
  max-width: 640px;
  margin: 0 auto;
  font-size: .92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner__actions .btn { padding: .55rem 1rem; font-size: .9rem; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240,253,244,0.15); display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }
