:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #F97316;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --color-surface: #ffffff;
  --color-text: #0f2e24;
  --color-muted: #4b6b60;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-lg: 24px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 30px 60px -30px rgba(6, 78, 59, 0.35);
  --shadow-soft: 0 12px 30px -18px rgba(6, 78, 59, 0.35);
  --max-w: 1180px;
  --max-w-narrow: 760px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-neutral-light);
}
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 0.75rem; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul { padding: 0; margin: 0; list-style: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* === 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-surface); }
.section__head { text-align: center; max-width: 60ch; margin: 0 auto 2rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; }

/* === Header === */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid rgba(6, 78, 59, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  background: transparent; border: 1px solid rgba(6,78,59,0.15);
  padding: 0.55rem 0.65rem; border-radius: 8px; cursor: pointer;
}
.nav-toggle__bar { display: block; width: 22px; height: 2px; background: var(--color-neutral-dark); }
.primary-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0 0.75rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  padding: 0.55rem 0.25rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(6,78,59,0.06);
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; width: auto; gap: 1.5rem; padding: 0; }
  .primary-nav a { padding: 0.25rem 0; border-bottom: none; font-size: 0.98rem; }
  .primary-nav a:hover { color: var(--color-primary); text-decoration: none; }
  .logo img { height: 96px; }
}

/* === Hero (hero-card archetype) === */
.hero {
  padding: 3rem 1.25rem;
  background:
    radial-gradient(1200px 400px at 90% -10%, rgba(16,185,129,0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(249,115,22,0.10), transparent 60%),
    var(--color-neutral-light);
}
.hero-card__card {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.hero-card__card h1 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.hero__sub {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 52ch;
  margin: 0.75rem auto 1.5rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.hero-card__figure {
  margin: 2rem 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-card__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding: 5rem 1.25rem; }
  .hero-card__card { padding: 3.5rem 3rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); text-decoration: none; }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #ea580c; text-decoration: none; }

/* === Grids and cards === */
.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 {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(6,78,59,0.08);
  box-shadow: var(--shadow-soft);
  display: block;
}
.card h3 { margin-top: 0.5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; font-size: 0.98rem; }
.card .icon { color: var(--color-primary); }
.card-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px -25px rgba(6,78,59,0.4);
  text-decoration: none;
}

/* === Prose === */
.prose h2 { margin-bottom: 0.75rem; }
.prose p { font-size: 1.05rem; color: var(--color-text); }
.prose a { color: var(--color-primary); }

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

/* === Testimonial === */
.testimonial {
  margin: 0;
  padding: 2rem 1.25rem;
  text-align: center;
  border-left: 3px solid var(--color-accent);
  background: var(--color-neutral-light);
  border-radius: var(--radius-md);
}
.testimonial p { font-family: var(--font-heading); font-size: 1.25rem; font-style: italic; color: var(--color-neutral-dark); }
.testimonial cite { display: block; font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding: 3rem 1.25rem;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.cta-band__inner { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours th, .hours td { padding: 0.5rem 0.5rem; text-align: left; border-bottom: 1px solid rgba(6,78,59,0.08); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
address { font-style: normal; line-height: 1.7; }

/* === Forms === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field input, .field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(6,78,59,0.2);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.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; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: #d5efe6;
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: #d5efe6; }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.footer__title { font-size: 1rem; color: #fff; margin: 0 0 0.75rem; }
.site-footer ul li { padding: 0.2rem 0; }
.footer__legal { margin-top: 1rem; font-size: 0.9rem; }
.logo--footer img { height: 60px; }
.site-footer__base {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

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