:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #F97316;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --max: 1120px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #fff;
  line-height: 1.6;
  -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); }
button { font-family: inherit; cursor: pointer; }

/* === Typography === */
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; margin: 0 0 1rem; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem; color: var(--color-primary); font-weight: 600; margin-bottom: 0.75rem; }

/* === Layout (sidebar) === */
.layout { display: flex; flex-direction: column; min-height: 100vh; }
.sidebar {
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(6,78,59,0.1);
  padding: 1rem 1.25rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.sidebar__brand { display: flex; align-items: center; gap: 1rem; margin: 0; padding: 0; border: none; background: transparent; }
.logo { display: inline-block; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.sidebar__tagline { font-size: 0.9rem; color: var(--color-neutral-dark); opacity: 0.75; margin: 0; }
.sidebar__nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.sidebar__nav a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  color: var(--color-neutral-dark);
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
}
.sidebar__nav a:hover { background: rgba(5,150,105,0.08); }
.sidebar__nav a.is-active { background: var(--color-primary); color: #fff; }
.sidebar__foot { font-size: 0.8rem; opacity: 0.6; margin: 0; padding: 0; border: none; background: transparent; }
.sidebar__foot p { margin: 0; }

.main { flex: 1; padding: 2rem 1.25rem 0; }

@media (min-width: 900px) {
  .layout { flex-direction: row; }
  .sidebar {
    position: sticky; top: 0;
    height: 100vh;
    width: 260px;
    flex-shrink: 0;
    border-bottom: none;
    border-right: 1px solid rgba(6,78,59,0.1);
    padding: 2.5rem 1.75rem;
    justify-content: flex-start;
    gap: 2rem;
  }
  .sidebar__brand { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .logo img { height: 96px; }
  .sidebar__nav { flex-direction: column; gap: 0.25rem; }
  .sidebar__foot { margin-top: auto; }
  .main { padding: 3rem 3rem 0; max-width: 960px; }
}

/* === Hero === */
.hero { padding: 2rem 0 3rem; max-width: 800px; }
.hero__sub { font-size: 1.15rem; color: rgba(6,78,59,0.75); max-width: 55ch; margin-bottom: 1.5rem; }
.hero__cta { margin-bottom: 2rem; }
.hero__figure { margin: 2rem 0 0; }
.hero__figure img { aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; width: 100%; }

/* === Sections === */
.section { padding: 3rem 0; border-top: 1px solid rgba(6,78,59,0.08); }
.section--narrow { max-width: 65ch; }
.section__lede { font-size: 1.1rem; color: rgba(6,78,59,0.75); max-width: 55ch; margin-bottom: 2rem; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--color-neutral-light);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(6,78,59,0.08);
}
.card__icon {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; font-size: 0.95rem; }
a.card-link { text-decoration: none; color: inherit; display: block; transition: transform .2s ease, box-shadow .2s ease; }
a.card-link:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -18px rgba(6,78,59,0.35); }

/* === Testimonial === */
.testimonial { text-align: center; }
.testimonial blockquote { margin: 0 auto; max-width: 55ch; font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.5; color: var(--color-neutral-dark); }
.testimonial cite { display: block; margin-top: 1rem; font-family: var(--font-body); font-size: 0.9rem; font-style: normal; color: var(--color-primary); }

/* === CTA band === */
.cta-band {
  margin: 3rem 0;
  padding: 3rem 2rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 16px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 55ch; margin-left: auto; margin-right: auto; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  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; transform: translateY(-1px); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #ea6a05; color: #fff; transform: translateY(-1px); }

/* === Forms === */
.form { max-width: 620px; }
.form__row { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form label { font-weight: 500; font-size: 0.95rem; }
.form input, .form textarea {
  font-family: inherit; font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(6,78,59,0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--color-neutral-dark);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.form-consent { display: flex; align-items: flex-start; gap: 0.5rem; margin: 1rem 0 1.5rem; font-size: 0.9rem; }
.form-consent input { margin-top: 0.2rem; }

/* === Article === */
.article { max-width: 65ch; margin: 0 auto; padding: 2rem 0 1rem; }
.article__header { margin-bottom: 1.5rem; }
.article__lede { font-size: 1.2rem; color: rgba(6,78,59,0.75); }
.article__hero { margin: 2rem 0; }
.article__hero img { aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.article h2 { margin-top: 2.5rem; }
.article p { font-size: 1.1rem; line-height: 1.75; margin-block: 1.25rem; }
.article__back { margin-top: 3rem; }
.back-link { display: inline-block; padding: 0.5rem 0.9rem; background: var(--color-neutral-light); border-radius: 6px; text-decoration: none; font-weight: 500; }

/* === Footer === */
.footer { margin-top: 4rem; padding: 3rem 0 2rem; border-top: 1px solid rgba(6,78,59,0.1); }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
.footer__brand { font-family: var(--font-heading); font-size: 1.35rem; margin-bottom: 0.5rem; color: var(--color-neutral-dark); }
.footer nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer nav a { color: var(--color-neutral-dark); text-decoration: none; }
.footer nav a:hover { color: var(--color-primary); }
.footer p { margin: 0.25rem 0; font-size: 0.9rem; }
.footer__legal { margin-top: 1rem; font-size: 0.85rem; }
.footer__legal a { color: var(--color-primary); }
.footer__copy { text-align: center; font-size: 0.85rem; opacity: 0.6; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgba(6,78,59,0.08); }

/* === 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 20px 40px -20px rgba(0,0,0,0.4);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; }
.cookie-banner a { color: var(--color-secondary); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  background: var(--color-accent); color: #fff; border: none;
  padding: 0.55rem 1rem; border-radius: 6px; font-size: 0.9rem; font-weight: 500;
}
.cookie-banner button[data-cookie-reject],
.cookie-banner button[data-cookie-settings] {
  background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(236,253,245,0.4);
}
.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; }
