/* === Tokens === */
:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #0891B2;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --color-ink: #0f2a22;
  --color-muted: #4a6b60;
  --color-border: rgba(6, 78, 59, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 50px -30px rgba(6, 78, 59, 0.35);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: #ffffff;
  line-height: 1.6;
  font-size: 16px;
}
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; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }
address { font-style: normal; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }

/* === Header === */
.site-header {
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 100;
  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-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle { background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--color-neutral-dark); display: inline-flex; }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.primary-nav.is-open { display: flex; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; position: static; padding: 0; border: 0; background: transparent; gap: 2rem; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s 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); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #0a6f8f; }

/* === Hero split === */
.hero { padding-block: 2.5rem; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.hero__text { order: 1; }
.hero__media { order: 2; }
.hero__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.75rem; font-weight: 600; color: var(--color-primary); margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 42ch; margin-bottom: 1.75rem; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero__text { order: 0; }
  .hero__media img { aspect-ratio: 4/5; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--narrow .container { max-width: 760px; }
.section--tinted { background: var(--color-neutral-light); }
.section__head { text-align: center; margin-bottom: 2.5rem; max-width: 640px; margin-inline: auto; }
.section__head p { color: var(--color-muted); }

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

/* === Grid & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.card { background: #fff; padding: 1.75rem; border: 1px solid var(--color-border); border-radius: var(--radius); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card .icon { color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { color: var(--color-neutral-dark); margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
a.card-link { display: block; color: inherit; text-decoration: none; }
a.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); text-decoration: none; }
a.card-link h3 { color: var(--color-primary); }

/* === Split content === */
.split-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.split-grid__media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 768px) {
  .split-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

/* === Pullquote === */
.pullquote { max-width: 720px; margin: 0 auto; text-align: center; padding: 2rem 1rem; }
.pullquote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.5vw, 1.75rem); color: var(--color-neutral-dark); line-height: 1.4; margin-bottom: 1.25rem; font-style: italic; }
.pullquote cite { font-style: normal; font-size: 0.9rem; color: var(--color-muted); letter-spacing: 0.05em; }

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

/* === Contact === */
.contact-band { display: grid; gap: 0.5rem; text-align: center; }
.contact-band p { margin: 0; }
.contact-band .btn { margin-top: 1rem; justify-self: center; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.contact-grid h3 { margin-bottom: 0.5rem; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }

.contact-form { max-width: 620px; margin-inline: auto; display: grid; gap: 1.25rem; }
.form-row { display: grid; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; }
.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); }
.form-consent input { margin-top: 0.25rem; }

/* === FAQ === */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 0.75rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: 10px; padding: 1rem 1.25rem; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 1.1rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--color-primary); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Article === */
.article { max-width: 65ch; margin-inline: auto; padding: 2rem 1rem 4rem; }
.article__head { margin-bottom: 2rem; }
.article__head h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.25rem; }
.article__sub { font-size: 1.2rem; color: var(--color-muted); }
.article__hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-block: 2rem; border-radius: 8px; }
.article p { font-size: 1.1rem; line-height: 1.75; margin-block: 1.25rem; }
.article__foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.back-link { font-weight: 600; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(236,253,245,0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.site-footer a { color: rgba(236,253,245,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.tagline { margin-top: 1rem; color: rgba(236,253,245,0.7); font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.legal-links { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; }
.site-footer__copy { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; color: rgba(236,253,245,0.6); }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; }
}

/* === 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.5rem;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px -20px rgba(0,0,0,0.4);
  max-width: 640px;
  margin-inline: auto;
  font-size: 0.9rem;
}
.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 button { font: inherit; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(236,253,245,0.4); background: transparent; color: var(--color-neutral-light); cursor: pointer; font-weight: 500; }
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner button[data-cookie-accept]:hover { background: #0a6f8f; }
.cookie-banner button:hover { background: rgba(236,253,245,0.1); }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(236,253,245,0.15); display: grid; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { margin-top: 0.5rem; justify-self: start; }
