:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #F97316;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --border: rgba(6, 78, 59, 0.12);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-neutral-dark);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
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); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 600; }
h3 { font-size: 1.1875rem; font-weight: 600; }
p { margin: 0 0 1rem; }
blockquote { margin: 0; }
cite { font-style: normal; }
button { font-family: inherit; }

/* === Layout shell (sidebar + main) === */
.app { display: block; }
.sidebar {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 20;
}
.sidebar__head { display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-block; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; padding: 8px; cursor: pointer;
  position: absolute; top: 1.25rem; right: 1.25rem;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-neutral-light); }
.sidebar__nav { display: none; flex-direction: column; gap: .25rem; margin-top: 1rem; }
.sidebar__nav.is-open { display: flex; }
.sidebar__nav a {
  color: var(--color-neutral-light);
  text-decoration: none;
  padding: .625rem .75rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
}
.sidebar__nav a:hover { background: rgba(255,255,255,0.06); color: var(--color-neutral-light); }
.sidebar__nav a.is-active { background: var(--color-primary); color: #fff; }
.sidebar__foot { display: none; font-size: .8125rem; opacity: .7; margin-top: auto; }
.main { min-width: 0; }

@media (min-width: 900px) {
  .app { display: grid; grid-template-columns: 240px 1fr; align-items: start; min-height: 100vh; }
  .sidebar {
    position: sticky; top: 0; height: 100vh;
    display: flex; flex-direction: column; gap: 2rem;
    padding: 2rem 1.5rem;
  }
  .nav-toggle { display: none; }
  .sidebar__nav { display: flex; margin-top: 0; }
  .sidebar__foot { display: block; margin-top: auto; }
  .logo img { height: 96px; }
}

/* === Sections === */
.hero, .section, .cta-band, .article { padding: 3rem 1.25rem; }
.section--narrow { max-width: 780px; margin-inline: auto; }
.section__head { max-width: 780px; margin: 0 auto 2rem; text-align: left; }
.section__sub { color: rgba(6, 78, 59, 0.72); font-size: 1.0625rem; max-width: 60ch; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: .75rem;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 1rem;
}

/* === Hero === */
.hero { max-width: 960px; margin-inline: auto; }
.hero h1 { max-width: 22ch; }
.hero__sub { font-size: 1.1875rem; max-width: 58ch; color: rgba(6, 78, 59, 0.78); margin-bottom: 1.75rem; }
.hero__figure { margin: 2.5rem 0 0; }
.hero__figure img { border-radius: 12px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero, .section, .cta-band, .article { padding: 4.5rem 2rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .875rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  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: #d95f10; color: #fff; }

/* === Grid === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: 1080px; margin-inline: auto; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Card === */
.card {
  background: var(--color-neutral-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.card h3 { margin-top: .5rem; }
.card p { margin-bottom: 0; color: rgba(6, 78, 59, 0.82); font-size: .9875rem; }
.card .icon { color: var(--color-primary); }
a.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card-link:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: 0 12px 30px -18px rgba(6, 78, 59, 0.35);
}
a.card-link h3 { color: var(--color-neutral-dark); }

/* === Testimonial === */
.section--quote { max-width: 780px; margin-inline: auto; text-align: center; }
.section--quote blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  line-height: 1.45;
  color: var(--color-neutral-dark);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.section--quote cite { color: var(--color-primary); font-weight: 600; font-size: .9375rem; }

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

/* === Article === */
.article { max-width: 65ch; margin-inline: auto; padding-inline: 1rem; }
.article__head { margin-bottom: 1.5rem; }
.article__head h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.article__sub { font-size: 1.25rem; color: rgba(6,78,59,0.75); }
.article__figure { margin-block: 2rem; }
.article__figure img { aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; width: 100%; }
.article h2 { margin-top: 2.5rem; }
.article p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article__foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.back-link { text-decoration: none; font-weight: 600; }
.back-link:hover { text-decoration: underline; }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .375rem; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input, .field textarea {
  font: inherit;
  padding: .75rem .875rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--color-neutral-dark);
}
.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: .5rem; align-items: flex-start;
  font-size: .875rem; color: rgba(6,78,59,0.8);
  flex-wrap: wrap;
}
.form-consent input { margin-top: 3px; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3rem 1.5rem 2rem;
  margin-top: 3rem;
}
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: #fff; }
.site-footer__cols { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1080px; margin: 0 auto; }
.site-footer__brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; margin-bottom: .25rem; }
.site-footer nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer nav a { text-decoration: none; }
.legal-links { font-size: .875rem; opacity: .85; }
.copyright {
  max-width: 1080px; margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: .8125rem; opacity: .7;
}
@media (min-width: 768px) {
  .site-footer__cols { grid-template-columns: 1.2fr 1fr 1.2fr; }
}

/* === Icons === */
.icon { width: 24px; height: 24px; }

/* === 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.25rem;
  border-radius: 12px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
  max-width: 640px;
  margin-inline: auto;
  font-size: .9375rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .875rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  background: transparent;
  border: 1px solid rgba(236,253,245,0.35);
  color: var(--color-neutral-light);
  padding: .5rem .875rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 500;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #d95f10; }
.cookie-banner button:hover { background: rgba(255,255,255,0.08); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9375rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.form-success { color: var(--color-primary); font-weight: 600; }
