/* === Root & tokens === */
:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #F97316;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --border-soft: rgba(6, 78, 59, 0.12);
  --radius: 10px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #FEFDFA;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 1.25rem; }
h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }

/* === Layout — sidebar nav === */
.layout { display: block; }
.sidebar {
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--border-soft);
  padding: 1rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.logo { display: inline-block; text-decoration: none; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: .5rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
  display: inline-flex;
}
.sidebar-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  width: 100%;
  padding-top: .5rem;
}
.sidebar-nav.is-open { display: flex; }
.sidebar-nav a {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  padding: .5rem 0;
  color: var(--color-neutral-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--border-soft);
}
.sidebar-nav a[aria-current="page"] { color: var(--color-primary); }
.sidebar-foot { display: none; font-size: .8rem; color: var(--color-neutral-dark); opacity: .7; margin: 0; }

.main { padding: 2rem 1.25rem 3rem; max-width: 100%; }

@media (min-width: 900px) {
  .layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
  .sidebar {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    border-right: 1px solid var(--border-soft);
    border-bottom: none;
    position: sticky;
    top: 0;
    height: 100vh;
    gap: 1.5rem;
  }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .sidebar-nav { display: flex; padding-top: 0; }
  .sidebar-nav a { border-bottom: none; padding: .35rem 0; font-size: 1rem; }
  .sidebar-foot { display: block; margin-top: auto; }
  .main { padding: 3.5rem 3rem 4rem; max-width: 1080px; }
}

/* === Hero === */
.hero { margin-bottom: 3.5rem; }
.eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 1rem;
  font-weight: 500;
}
.hero-sub {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-neutral-dark);
  max-width: 55ch;
  margin: 0 0 1.75rem;
  line-height: 1.5;
}
.hero-cta { margin: 0 0 2.5rem; }
.hero-image { margin: 0; }
.hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn-primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn-primary:hover { background: var(--color-neutral-dark); color: var(--color-neutral-light); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #d95f0f; color: #fff; }

/* === Sections === */
.section { margin: 3.5rem 0; }
.section.narrow { max-width: 68ch; }
.section.narrow p { font-size: 1.05rem; line-height: 1.75; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.card h3 { margin-top: .25rem; }
.card p { font-size: .96rem; color: var(--color-neutral-dark); margin-bottom: 0; }
.icon { color: var(--color-primary); margin-bottom: .5rem; }

/* === Testimonial === */
.testimonial blockquote {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
  position: relative;
}
.testimonial blockquote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-secondary);
  line-height: 0.8;
  display: block;
  margin-bottom: .25rem;
}
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--color-neutral-dark);
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: .9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 3rem 1.75rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 3.5rem 0;
}
.cta-band h2 { color: var(--color-neutral-light); margin-bottom: .75rem; }
.cta-band p { color: var(--color-neutral-light); max-width: 50ch; margin-inline: auto; margin-bottom: 1.5rem; opacity: .95; }

/* === Contact band === */
.contact-band {
  background: var(--color-neutral-light);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
}
.contact-band p { margin-bottom: 0; }

/* === Contact form === */
.contact-form {
  max-width: 620px;
  display: grid;
  gap: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label {
  font-size: .88rem;
  font-weight: 500;
  color: var(--color-neutral-dark);
}
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .7rem .85rem;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background: #fff;
  color: var(--color-neutral-dark);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
  border-color: var(--color-secondary);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  line-height: 1.5;
}
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-soft);
  color: var(--color-neutral-dark);
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-neutral-dark);
  margin-bottom: .25rem;
}
.footer-nav { display: flex; flex-direction: column; gap: .4rem; }
.footer-nav a { color: var(--color-neutral-dark); text-decoration: none; }
.footer-nav a:hover { color: var(--color-primary); }
.legal-links { margin-top: .75rem; font-size: .85rem; }
.legal-links a { color: var(--color-neutral-dark); opacity: .75; }
.copyright {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-soft);
  font-size: .82rem;
  opacity: .75;
  margin: 0;
}

/* === 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 -20px rgba(0,0,0,0.35);
  max-width: 560px;
  margin: 0 auto;
  font-size: .92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.cookie-banner button {
  font-family: var(--font-body);
  font-size: .88rem;
  padding: .5rem .9rem;
  border-radius: 6px;
  border: 1px solid rgba(236,253,245,0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(236,253,245,0.2);
}
.cookie-banner__prefs label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
}
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: .5rem;
  background: var(--color-primary);
  border-color: var(--color-primary);
}
