/* === Root tokens === */
:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #FBBF24;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --color-page: #FFFFFF;
  --color-text: #0F2E22;
  --color-muted: #4B6B60;
  --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-sm: 0 2px 10px rgba(6, 78, 59, 0.06);
  --shadow-md: 0 20px 40px -20px rgba(6, 78, 59, 0.25);
  --sidebar-w: 240px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: var(--color-page); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

/* === Typography === */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 600; line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.eyebrow { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; margin: 0 0 1rem; }

/* === Skip link === */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: .5rem 1rem; z-index: 10000; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* === Layout: sidebar-nav === */
.layout { display: block; }
.sidebar { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 1.25rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: sticky; top: 0; z-index: 50; }
.sidebar .logo img { height: 72px; width: auto; display: block; }
.sidebar__nav { display: none; }
.sidebar__foot { display: none; }
.nav-toggle { background: transparent; border: 1px solid rgba(236,253,245,0.3); color: var(--color-neutral-light); padding: .5rem; border-radius: 8px; display: inline-flex; }
.sidebar__nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-dark); padding: 1rem 1.5rem 2rem; }
.sidebar__nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .25rem; }
.sidebar__nav a { display: block; padding: .65rem .75rem; color: var(--color-neutral-light); border-radius: 8px; font-weight: 500; font-size: 0.98rem; }
.sidebar__nav a:hover, .sidebar__nav a[aria-current="page"] { background: rgba(236,253,245,0.08); text-decoration: none; color: #fff; }

.content { padding: 0 1.25rem 3rem; max-width: 100%; }

@media (min-width: 900px) {
  .layout { display: grid; grid-template-columns: var(--sidebar-w) 1fr; align-items: start; }
  .sidebar { position: sticky; top: 0; height: 100vh; padding: 2.25rem 1.5rem; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem; }
  .sidebar .logo img { height: 96px; }
  .sidebar__nav { display: block; }
  .sidebar__nav ul { gap: .15rem; }
  .sidebar__foot { display: block; margin-top: auto; font-size: 0.8rem; color: rgba(236,253,245,0.6); }
  .nav-toggle { display: none; }
  .content { padding: 3rem 3.5rem 4rem; max-width: 1080px; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; 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: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-dark); }
.btn--accent:hover { background: #F59E0B; }

/* === Hero === */
.hero { padding: 3rem 0 2.5rem; border-bottom: 1px solid var(--color-border); margin-bottom: 3rem; }
.hero h1 { max-width: 22ch; }
.hero__sub { font-size: 1.1rem; color: var(--color-muted); max-width: 55ch; margin-top: 1rem; }
.hero__cta { margin-top: 1.75rem; }
.hero__figure { margin: 2.5rem 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 900px) {
  .hero { padding: 4rem 0 3rem; }
  .hero__figure img { aspect-ratio: 21 / 9; }
}

/* === Section === */
.section { margin: 3rem 0; }
.section--narrow { max-width: 720px; }
.section__head { margin-bottom: 2rem; max-width: 60ch; }
.section__head p { color: var(--color-muted); }

/* === Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--3, .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); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.card h3 { margin-top: .75rem; margin-bottom: .5rem; }
.card p { color: var(--color-text); margin: 0; font-size: 0.95rem; }
.icon { color: var(--color-primary); }

/* === Split === */
.split { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.split__figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.split__figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* === Quote === */
.section--quote { padding: 2.5rem 0; }
.quote { margin: 0; max-width: 60ch; border-left: 3px solid var(--color-accent); padding: .25rem 0 .25rem 1.5rem; }
.quote p { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.5; color: var(--color-neutral-dark); font-style: italic; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.9rem; color: var(--color-muted); }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; border-radius: var(--radius); margin: 3rem 0; padding: 2.5rem 1.5rem; }
.cta-band__inner { max-width: 60ch; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); }
@media (min-width: 720px) { .cta-band { padding: 3rem 2.5rem; } }

/* === Contact band === */
.contact-band { background: var(--color-neutral-light); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem 1.5rem; margin: 3rem 0; }
.contact-band__inner { max-width: 65ch; }
@media (min-width: 720px) { .contact-band { padding: 2.5rem; } }

/* === FAQ === */
.faq details { border-bottom: 1px solid var(--color-border); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--color-primary); transition: transform .2s ease; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; max-width: 560px; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: 0.9rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea { font-family: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; color: var(--color-text); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-consent { flex-direction: row; align-items: flex-start; gap: .6rem; font-weight: 400; font-size: 0.85rem; color: var(--color-muted); }
.form-consent input { margin-top: .2rem; }
.contact-form button[type="submit"] { align-self: flex-start; margin-top: .5rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3rem 1.5rem 1.5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1200px; margin: 0 auto; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.site-footer h4 { color: #fff; font-family: var(--font-heading); font-size: 1.05rem; margin: 0 0 .75rem; }
.site-footer p { color: rgba(236,253,245,0.75); font-size: 0.9rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer nav ul, .legal-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; font-size: 0.9rem; }
.legal-links { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(236,253,245,0.15); }
.site-footer address { font-style: normal; font-size: 0.9rem; color: rgba(236,253,245,0.75); line-height: 1.7; }
.logo--footer img { height: 72px; width: auto; }
.copyright { text-align: center; margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(236,253,245,0.12); font-size: 0.8rem; color: rgba(236,253,245,0.55); }

/* === 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 20px 40px -10px rgba(0,0,0,0.35); max-width: 640px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; color: rgba(236,253,245,0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(236,253,245,0.3); background: transparent; color: var(--color-neutral-light); font-weight: 500; font-size: 0.85rem; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent); }
.cookie-banner__actions button:hover { background: rgba(236,253,245,0.12); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #F59E0B; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(236,253,245,0.15); display: flex; flex-direction: column; gap: .5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--color-accent); background: var(--color-accent); color: var(--color-neutral-dark); font-weight: 600; font-size: 0.85rem; }

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