:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #F97316;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --color-text: #0f2b22;
  --color-muted: #4b6a5f;
  --color-border: rgba(6, 78, 59, 0.14);
  --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 === */
*, *::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: #ffffff;
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-neutral-dark); }
button { font-family: inherit; cursor: pointer; }

.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;
}

/* === Typography === */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 .75rem; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; font-family: var(--font-body); }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 48ch; }

/* === 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--tint { background: var(--color-neutral-light); }
.section--narrow .container { max-width: 780px; }
@media (min-width: 768px) {
  .section { padding-block: 5.5rem; }
  .container { padding-inline: 2rem; }
}

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .9rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) {
  .logo img { height: 96px; }
}
.logo--footer img { height: 64px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--color-border); border-radius: 8px;
}
.nav-toggle__bar { display: block; width: 100%; height: 2px; background: var(--color-neutral-dark); }
.primary-nav { display: none; width: 100%; }
.primary-nav ul { list-style: none; margin: 0; padding: 1rem 0 0; display: flex; flex-direction: column; gap: .25rem; }
.primary-nav a { display: block; padding: .75rem .25rem; color: var(--color-neutral-dark); font-weight: 500; border-bottom: 1px solid var(--color-border); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav.is-open { display: block; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; width: auto; }
  .primary-nav ul { flex-direction: row; gap: 1.75rem; padding: 0; }
  .primary-nav a { padding: .25rem 0; border: none; }
  .primary-nav a:hover { color: var(--color-primary); }
}

/* === Hero (split) === */
.hero-split { padding-block: 3rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); }
.hero-split__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-split__text h1 { margin-bottom: 1.25rem; }
.hero-split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
@media (min-width: 900px) {
  .hero-split { padding-block: 5.5rem; }
  .hero-split__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: .95rem 1.6rem; font-weight: 600; font-size: 1rem;
  border-radius: 999px; border: 1px solid transparent; transition: transform .18s ease, background .2s ease, box-shadow .2s ease;
  text-align: center; line-height: 1;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #ea580c; color: #fff; transform: translateY(-1px); }

/* === Cards grid === */
.grid { display: grid; gap: 1.25rem; }
.grid--cards { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #ffffff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1.75rem; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.card h3 { margin-top: .75rem; }
.card p { color: var(--color-muted); margin: 0; }
.icon { color: var(--color-primary); }

/* === Testimonial === */
.testimonial-section { text-align: center; }
.testimonial {
  margin: 0 auto; max-width: 720px; padding: 2rem 0;
  font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark);
}
.testimonial p { margin-bottom: 1.25rem; font-style: italic; }
.testimonial cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .95rem; font-weight: 600; color: var(--color-muted); letter-spacing: 0.02em; }

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

/* === Contact band (about page) === */
.contact-band { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.contact-band__media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-soft); }
@media (min-width: 900px) {
  .contact-band { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

/* === Contact form === */
.contact-form { display: grid; gap: 1.1rem; margin-top: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; color: var(--color-neutral-dark); font-size: .95rem; }
.field input, .field textarea {
  width: 100%; padding: .8rem 1rem; font: inherit; color: var(--color-text);
  background: #fff; border: 1px solid var(--color-border); border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); line-height: 1.5; flex-wrap: wrap; }
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: #cde9dc; padding-block: 3rem 1.5rem; margin-top: 4rem; }
.site-footer h3 { color: #ffffff; font-family: var(--font-body); font-size: .95rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #cde9dc; }
.site-footer a:hover { color: #ffffff; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer__tagline { color: rgba(255,255,255,0.75); font-family: var(--font-heading); font-style: italic; margin-top: .75rem; }
.footer__nav, .footer__legal { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer__legal { margin-top: 1rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: .88rem; color: rgba(255,255,255,0.6); }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.2fr 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.4rem; border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; color: rgba(236, 253, 245, 0.92); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(236,253,245,0.25);
  background: transparent; color: var(--color-neutral-light); font-weight: 600; font-size: .9rem;
}
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__actions button:hover { background: rgba(236,253,245,0.1); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #ea580c; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(236,253,245,0.15); }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs button {
  justify-self: start; margin-top: .5rem; padding: .55rem 1.1rem;
  background: var(--color-accent); color: #fff; border: none; border-radius: 999px; font-weight: 600; font-size: .9rem;
}

/* === Details / focus === */
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }
