/* === Tokens === */
:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #0891B2;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --color-bg: #FFFFFF;
  --color-text: #0F1E1A;
  --color-muted: #4B6058;
  --color-border: rgba(6, 78, 59, 0.14);
  --font-heading: 'Lora', serif;
  --font-body: 'Inter', sans-serif;
  --max-w: 1180px;
  --max-w-narrow: 720px;
  --radius: 10px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 17px;
  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); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.75rem; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }

/* === Layout === */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: var(--max-w-narrow); }
.section { padding: 3.5rem 0; }
.section--muted { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head h2 { margin-bottom: 0.5rem; }
.section__head p { color: var(--color-muted); }
.prose p { font-size: 1.075rem; line-height: 1.75; color: #1e2a26; }
.eyebrow { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary); margin: 0 0 1rem; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 0.75rem; padding-bottom: 0.75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; color: var(--color-neutral-dark); cursor: pointer; padding: 0.25rem; display: inline-flex; }
.site-nav { display: none; width: 100%; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 1rem 0 0.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.site-nav a { display: block; padding: 0.6rem 0; color: var(--color-neutral-dark); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--color-border); }
.site-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 860px) {
  .site-header__inner { padding-top: 1rem; padding-bottom: 1rem; }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .site-nav { display: block; width: auto; }
  .site-nav ul { flex-direction: row; padding: 0; gap: 2rem; }
  .site-nav a { padding: 0.25rem 0; border-bottom: 0; position: relative; }
  .site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--color-primary); }
}

/* === Hero (stacked) === */
.hero { padding: 3rem 0 2rem; }
.hero__inner { max-width: var(--max-w-narrow); margin: 0 auto; text-align: left; }
.hero__title { font-size: clamp(2.25rem, 5.5vw, 3.5rem); margin-bottom: 1.5rem; }
.hero__figure { margin: 2rem 0; }
.hero__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.hero__sub { font-size: 1.125rem; color: var(--color-muted); margin-bottom: 1.5rem; max-width: 60ch; }
.hero__cta { margin: 0; }

@media (min-width: 768px) {
  .hero { padding: 4.5rem 0 2.5rem; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.75rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2; transition: transform .15s ease, background .15s ease, color .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: #0b6c86; color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(236,253,245,0.5); }
.btn--ghost:hover { background: rgba(236,253,245,0.12); color: #fff; }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

/* === Grids & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; }
.card__icon { color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }
.section--muted .card { background: #fff; }

/* === Quote === */
.quote { margin: 0; padding: 2rem 0; text-align: center; position: relative; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.5; color: var(--color-neutral-dark); font-style: italic; max-width: 42ch; margin-left: auto; margin-right: auto; }
.quote cite { display: block; margin-top: 1.25rem; font-style: normal; font-size: 0.95rem; color: var(--color-muted); letter-spacing: 0.02em; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding: 3.5rem 0; }
.cta-band__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); }
.cta-band p:last-child { margin-top: 1.5rem; margin-bottom: 0; }

/* === Stats === */
.stats-band { background: var(--color-neutral-light); padding: 3rem 0; }
.stat { text-align: center; padding: 1rem; }
.stat__number { font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--color-accent); margin: 0 0 0.5rem; }
.stat__label { color: var(--color-muted); font-size: 0.95rem; margin: 0; }

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

/* === Contact card / form === */
.contact-card { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-card p { margin: 0.5rem 0; color: var(--color-neutral-dark); }
.contact-form { max-width: 620px; margin: 0 auto; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-row label { font-weight: 500; font-size: 0.95rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font-family: inherit; font-size: 1rem; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; color: var(--color-text); }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--color-muted); margin-bottom: 1.5rem; }
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1rem; font-weight: 600; }
.site-footer a { color: var(--color-neutral-light); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 0.3rem 0; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem !important; border-top: 1px solid rgba(236,253,245,0.14); padding-top: 1rem !important; }
.site-footer__base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(236,253,245,0.14); font-size: 0.85rem; opacity: 0.75; }
.logo--footer img { height: 56px; margin-bottom: 1rem; filter: brightness(0) invert(1); }

@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
}

/* === 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.4rem; border-radius: var(--radius);
  box-shadow: 0 20px 45px -20px rgba(0,0,0,0.5);
  max-width: 560px; margin-left: auto;
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; }
.cookie-banner a { color: #fff; }
