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

/* === Reset === */
*, *::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: #fff;
  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; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.6em; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* === Layout helpers === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 0.75rem; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  max-width: 1180px;
  margin-inline: auto;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  font-size: 0.95rem;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--color-neutral-dark); display: block; }

@media (max-width: 767px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    padding: 1rem 1.25rem;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0.75rem; }
}
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .logo img { height: 96px; }
}

/* === Hero fullscreen === */
.hero-fullscreen {
  position: relative;
  min-height: min(84vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-light);
  overflow: hidden;
  padding: 6rem 1.25rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(6, 78, 63, 0.45), rgba(6, 78, 63, 0.7));
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
}
.hero__content .eyebrow { color: #a7f3d0; }
.hero__content h1 { color: #fff; margin-bottom: 1rem; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,0.9); max-width: 56ch; margin: 0 auto 2rem; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 0;
  cursor: pointer;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-neutral-dark); text-decoration: none; transform: translateY(-1px); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #0e7490; text-decoration: none; transform: translateY(-1px); }

/* === Sections === */
.section { padding: 4.5rem 0; }
.section--alt { background: var(--color-neutral-light); }
.section--intro { text-align: left; }
.section--intro h2 { text-align: center; }
.section--intro p { max-width: 65ch; margin-inline: auto; font-size: 1.05rem; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head p { color: var(--color-muted); max-width: 60ch; margin-inline: auto; }

/* === Cards / highlights === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid--cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.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 h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin: 0; }
a.card-link { color: inherit; display: block; }
a.card-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--color-secondary); }

/* === Testimonial === */
.section--testimonial { background: var(--color-neutral-light); }
.testimonial {
  text-align: center;
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
}
.testimonial p { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.5; font-style: italic; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-family: var(--font-body); color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 4rem 1.25rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 55ch; margin: 0 auto 2rem; }

/* === Article layout === */
.article {
  max-width: 65ch;
  margin: 4rem auto;
  padding-inline: 1.25rem;
}
.article__header .eyebrow { text-align: left; }
.article 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); margin-bottom: 2rem; }
.article__hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin: 1.5rem 0 2.5rem; }
.article h2 { margin-top: 2.5rem; }
.article p { font-size: 1.1rem; line-height: 1.75; margin-block: 1.25rem; }
.article__footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-line); }
.back-link { font-weight: 600; }

/* === Contact form === */
.section--form { background: var(--color-neutral-light); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  color: var(--color-ink);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 2px; border-color: var(--color-secondary); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 3px; }
.contact-form .btn { align-self: flex-start; }

.contact-line { font-size: 1rem; color: var(--color-neutral-dark); }
.section--contact-band { text-align: center; }

/* === Thanks === */
.section--thanks { text-align: center; padding: 5rem 0 2rem; }
.section--thanks .lede { font-size: 1.2rem; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(236, 253, 245, 0.85);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.site-footer a { color: #a7f3d0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-col h3 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-legal { margin-top: 1rem; }
.footer-logo img { height: 60px; filter: brightness(0) invert(1); }
.copyright { text-align: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: rgba(236,253,245,0.6); }

/* === 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);
  border-radius: var(--radius);
  padding: 1.25rem;
  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: 0.9rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit;
  cursor: pointer;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--color-neutral-light);
  font-size: 0.85rem;
}
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600; }
.cookie-banner button:hover { opacity: 0.9; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs button { margin-top: 0.5rem; align-self: flex-start; }
