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

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 600; margin: 0 0 1rem; }
h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
main { display: block; }

/* === Header === */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo { display: inline-block; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) {
  .logo img { height: 96px; }
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: .75rem;
  width: 100%;
  padding: .5rem 0;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: .5rem 0;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle {
  background: none;
  border: 1px solid var(--color-neutral-dark);
  border-radius: 6px;
  padding: .5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 44px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-neutral-dark); }
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; width: auto; gap: 1.75rem; padding: 0; }
}

/* === Hero (stacked) === */
.hero-stacked {
  max-width: 720px;
  margin: 2rem auto 3rem;
  padding: 0 1.25rem;
  text-align: left;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 .75rem;
}
.hero-figure {
  margin: 2rem 0;
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}
.lede {
  font-size: 1.2rem;
  color: var(--color-neutral-dark);
  opacity: .85;
  max-width: 52ch;
  margin: 1rem 0 1.5rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-family: var(--font-body);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.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: var(--color-neutral-dark); }
.btn-accent:hover { background: #f5b100; }

/* === Section containers === */
section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.intro {
  max-width: 720px;
  margin: 0 auto;
}
.intro p { font-size: 1.05rem; }
.section-head { max-width: 720px; margin: 0 auto 2rem; }
.section-sub { color: var(--color-neutral-dark); opacity: .75; margin: 0; }

/* === Grid === */
.grid { display: grid; gap: 1.5rem; 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 === */
.card {
  background: var(--color-neutral-light);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(6, 78, 59, 0.08);
}
.card .icon {
  color: var(--color-primary);
  margin-bottom: .75rem;
}
.card p { font-size: .95rem; margin: 0; }
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease;
}
.card-link:hover { text-decoration: none; }
.card:has(.card-link:hover) { transform: translateY(-2px); box-shadow: 0 10px 30px -15px rgba(6, 78, 59, 0.35); }
.card-link h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; }
.testimonial blockquote {
  margin: 0;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(6, 78, 59, 0.15);
  border-bottom: 1px solid rgba(6, 78, 59, 0.15);
}
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin: 0 0 1rem;
}
.testimonial cite {
  font-style: normal;
  color: var(--color-primary);
  font-weight: 600;
  font-size: .95rem;
}

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

/* === Article detail === */
.article-detail {
  max-width: 65ch;
  margin: 2rem auto 3rem;
  padding: 0 1.25rem;
}
.article-detail h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.article-sub {
  font-size: 1.2rem;
  color: var(--color-neutral-dark);
  opacity: .75;
  margin-bottom: 1.5rem;
}
.article-hero { margin: 2rem 0; }
.article-hero img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
}
.article-detail p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin: 1.25rem 0;
}
.back-link-wrap { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(6, 78, 59, 0.15); }
.back-link { color: var(--color-primary); font-weight: 600; }

/* === Contact form === */
.contact-form-section { max-width: 720px; margin: 0 auto; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--color-neutral-light);
  padding: 2rem;
  border-radius: 10px;
}
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 600; font-size: .95rem; }
.form-row input, .form-row textarea {
  font: inherit;
  padding: .75rem;
  border: 1px solid rgba(6, 78, 59, 0.25);
  border-radius: 6px;
  background: #fff;
  color: var(--color-neutral-dark);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.form-consent {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .9rem;
  flex-wrap: wrap;
}
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3rem 1.25rem 2rem;
  margin-top: 4rem;
}
.site-footer a { color: var(--color-neutral-light); }
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.footer-logo img { height: 64px; filter: brightness(0) invert(1); }
@media (min-width: 768px) { .footer-logo img { height: 80px; } }
.copyright {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(236, 253, 245, 0.15);
  font-size: .85rem;
  color: rgba(236, 253, 245, 0.7);
}

/* === 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: 10px;
  box-shadow: 0 15px 40px -10px 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: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit;
  padding: .55rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(236, 253, 245, 0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-size: .9rem;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent); font-weight: 600; }
.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: .9rem; }
.cookie-banner__prefs [data-cookie-save] { margin-top: .5rem; align-self: flex-start; }
