:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #F97316;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --color-page-bg: #FBFEFB;
  --color-text: #0F2A22;
  --color-muted: #4B6A5F;
  --color-border: rgba(6, 78, 59, 0.14);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, Segoe UI, sans-serif;
  --shadow-soft: 0 20px 60px -30px rgba(6, 78, 59, 0.28);
  --shadow-card: 0 30px 60px -30px rgba(6, 78, 59, 0.35);
  --radius: 16px;
  --radius-lg: 24px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-page-bg);
  line-height: 1.6;
  font-size: 1rem;
}
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, h4 { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 720px; }
.section { padding-block: 3.5rem; }
.section--narrow { padding-block: 3.5rem; }
.section--narrow .container { max-width: 720px; }
.section--tint { background: var(--color-neutral-light); }
.section__title { text-align: center; margin-bottom: 2rem; }

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

@media (min-width: 820px) {
  .site-header__inner { flex-wrap: nowrap; }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; width: auto; }
  .primary-nav ul { flex-direction: row; gap: 1.75rem; padding: 0; }
  .primary-nav a { padding: 0.25rem 0; }
}

/* === Hero card === */
.hero { padding-block: 3rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, var(--color-page-bg) 100%); }
.hero-card__box {
  max-width: 880px; margin-inline: auto;
  padding: 2.25rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}
.hero__sub { font-size: 1.125rem; color: var(--color-muted); max-width: 56ch; margin-bottom: 1.5rem; }
.hero__cta { margin: 1.25rem 0 1.5rem; }
.hero-card__figure { margin: 1.5rem 0 0; }
.hero-card__figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.hero-card--slim .hero-card__box { padding-block: 2rem; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem; }
  .hero-card__box { padding: 3.5rem 3.5rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  font-family: var(--font-body);
  transition: transform 0.15s ease, background 0.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: #d95f0a; color: #fff; transform: translateY(-1px); }

/* === Grid & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@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--3 > .card:nth-child(4) { grid-column: span 3; max-width: 33.333%; margin-inline: auto; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .grid--3 > .card:nth-child(4) { max-width: none; grid-column: auto; }
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  display: block;
  color: inherit;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--color-neutral-light);
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card-link { text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); color: inherit; }
.card-link h3 { color: var(--color-neutral-dark); }

/* === Testimonial === */
.testimonial-section { background: var(--color-neutral-light); }
.testimonial { max-width: 720px; margin: 0 auto; text-align: center; padding: 0 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: 1.375rem; font-style: italic; color: var(--color-neutral-dark); line-height: 1.5; }
.testimonial cite { display: block; font-style: normal; font-size: 0.95rem; color: var(--color-muted); margin-top: 0.75rem; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3.5rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 56ch; margin-inline: auto; }

/* === Contact band === */
.contact-band { text-align: center; }
.contact-band p { max-width: 56ch; margin-inline: auto; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.4rem; font-weight: 600; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: 0.6rem; font-weight: 400; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.25rem; }
.contact-form button { align-self: flex-start; }

/* === FAQ === */
.faq details {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  background: #fff;
  margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--color-neutral-dark);
  font-family: var(--font-heading); font-size: 1.05rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--color-primary); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Article detail === */
.article {
  max-width: 65ch;
  margin-inline: auto;
  padding: 3rem 1.25rem 4rem;
}
.article header { margin-bottom: 1.5rem; }
.article h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); line-height: 1.15; margin-bottom: 1rem; }
.article__sub { font-size: 1.2rem; color: var(--color-muted); margin: 0; }
.article__hero { margin: 2rem 0; }
.article__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.article h2 { font-size: 1.5rem; margin-top: 2.25rem; margin-bottom: 0.75rem; }
.article p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article__footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.back-link { font-weight: 600; text-decoration: none; color: var(--color-primary); }
.back-link:hover { color: var(--color-neutral-dark); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: #DFF6EA; padding-block: 3rem 1.5rem; margin-top: 4rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 0.75rem; }
.site-footer a { color: #DFF6EA; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 0.75rem; }
.legal-links { margin-top: 0.75rem; }
.tagline { color: rgba(223,246,234,0.85); font-size: 0.95rem; margin-top: 0.5rem; }
.logo--footer img { height: 60px; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.25rem; margin-top: 2rem; font-size: 0.85rem; color: rgba(223,246,234,0.75); }

/* === 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: 14px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
  max-width: 640px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font-family: inherit; font-weight: 600; font-size: 0.9rem;
  padding: 0.55rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light);
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #d95f0a; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.14); }
.cookie-banner__prefs label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: 0.5rem; background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

@media (min-width: 640px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; }
}
