:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #0891B2;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --color-text: #0f2a22;
  --color-muted: #4a6a5e;
  --color-border: rgba(6, 78, 59, 0.14);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --radius: 12px;
  --shadow-soft: 0 10px 30px -18px rgba(6, 78, 59, 0.28);
}

/* === 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-text);
  background: #ffffff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

/* === Layout — hero-sidebar-nav === */
.layout { display: block; }

.sidebar {
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.25rem 1rem;
}
.sidebar__brand { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.sidebar__tagline { font-size: .85rem; color: var(--color-muted); margin: 0; font-family: var(--font-heading); letter-spacing: .02em; }
.sidebar__foot { display: none; }
.sidebar__foot p { font-size: .8rem; color: var(--color-muted); margin: 0; }

.logo { display: inline-block; }
.logo img { height: 72px; width: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  border: 0;
  padding: .55rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  border-radius: 8px;
  cursor: pointer;
}
.nav-list { display: none; flex-direction: column; gap: .25rem; margin-top: .75rem; }
.nav-list.is-open { display: flex; }
.nav-list a {
  display: block;
  padding: .6rem .25rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-neutral-dark);
  border-bottom: 1px solid var(--color-border);
}
.nav-list a[aria-current="page"] { color: var(--color-primary); }
.nav-list a:hover { text-decoration: none; color: var(--color-primary); }

.main { padding: 0 1rem; }

/* === Hero === */
.hero { padding: 2.5rem 0 2rem; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 .75rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  max-width: 22ch;
  margin-bottom: 1.25rem;
}
.hero .lede {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 56ch;
  margin-bottom: 1.5rem;
}
.hero__figure { margin: 2rem 0 0; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .85rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn--primary:hover { background: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #0a6f8f; }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--ghost:hover { background: var(--color-neutral-light); }

/* === Sections === */
.section { padding: 3rem 0; }
.section--muted {
  background: var(--color-neutral-light);
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 0;
}
.section__head { margin-bottom: 2rem; max-width: 60ch; }
.section__head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; margin-bottom: .5rem; }
.section__head p { color: var(--color-muted); margin: 0; }
.section__foot { margin-top: 1.5rem; }
.prose { max-width: 68ch; }
.prose p { font-size: 1.05rem; line-height: 1.75; }

/* === Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }

/* === Cards === */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  color: var(--color-text);
}
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { font-size: .98rem; color: var(--color-muted); margin: 0; }
.card .icon { color: var(--color-primary); margin-bottom: .75rem; }
.card-link { display: block; }
.card-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--color-secondary); }

/* === Split === */
.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.split__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* === Quote === */
.quote {
  margin: 0 auto;
  max-width: 60ch;
  padding: 2rem 1rem;
  text-align: center;
  border-left: 3px solid var(--color-accent);
}
.quote p {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--color-neutral-dark);
}
.quote cite {
  display: block;
  font-style: normal;
  font-size: .9rem;
  color: var(--color-muted);
  margin-top: .75rem;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  margin: 3rem -1rem;
  padding: 3rem 1rem;
}
.cta-band__inner { max-width: 60ch; margin: 0 auto; text-align: center; }
.cta-band h2 { color: var(--color-neutral-light); font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: .75rem; }
.cta-band p { color: rgba(236, 253, 245, 0.85); margin-bottom: 1.5rem; }
.cta-band__meta { font-size: .9rem; margin-bottom: 1.5rem; }

/* === Stats === */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stat { text-align: center; }
.stat__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--color-accent);
  margin: 0 0 .5rem;
}
.stat__label { color: var(--color-muted); font-size: .95rem; margin: 0; }

/* === FAQ === */
.faq { max-width: 68ch; }
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  font-size: 1.02rem;
  padding-right: 1rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--color-primary);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.form { max-width: 40rem; display: flex; flex-direction: column; gap: 1rem; }
.form__row { display: flex; flex-direction: column; gap: .35rem; }
.form label { font-family: var(--font-heading); font-weight: 600; font-size: .9rem; color: var(--color-neutral-dark); }
.form input, .form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .7rem .85rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  color: var(--color-text);
}
.form input:focus, .form textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
  border-color: var(--color-secondary);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .88rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: .2rem; flex-shrink: 0; }
.contact-details { max-width: 68ch; font-size: 1.02rem; }

/* === Footer === */
.site-footer {
  margin: 4rem -1rem 0;
  padding: 3rem 1rem 1.5rem;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.site-footer p, .site-footer address { margin: 0 0 .35rem; font-style: normal; color: rgba(236, 253, 245, 0.85); font-size: .95rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer__brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--color-neutral-light); margin-bottom: .35rem; }
.site-footer nav ul { display: flex; flex-direction: column; gap: .4rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
.legal-links a { font-size: .85rem; }
.site-footer__copy {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(236, 253, 245, 0.15);
  font-size: .82rem;
  color: rgba(236, 253, 245, 0.65);
}

/* === 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: var(--radius);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.4);
  max-width: 720px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .85rem; font-size: .92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .85rem;
  padding: .55rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(236, 253, 245, 0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner button[data-cookie-save] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; margin-top: .75rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }

/* === Responsive === */
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .split { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 4rem 0; }
}

@media (min-width: 960px) {
  .layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
  }
  .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    border-bottom: 0;
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    overflow-y: auto;
  }
  .sidebar__brand { margin-bottom: 2rem; }
  .nav-toggle { display: none; }
  .nav-list { display: flex; margin-top: 0; }
  .nav-list a { border-bottom: 0; padding: .5rem 0; font-size: 1.02rem; }
  .sidebar__foot { display: block; margin-top: auto; padding-top: 2rem; }
  .main { padding: 0 3rem; }
  .section--muted, .cta-band, .site-footer { margin-left: -3rem; margin-right: -3rem; padding-left: 3rem; padding-right: 3rem; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
  .main { padding: 0 4.5rem; }
  .section--muted, .cta-band, .site-footer { margin-left: -4.5rem; margin-right: -4.5rem; padding-left: 4.5rem; padding-right: 4.5rem; }
}
