/* === Tokens === */
:root {
  --color-primary: #15803D;
  --color-secondary: #22C55E;
  --color-accent: #0369A1;
  --color-neutral-dark: #14532D;
  --color-neutral-light: #F0FDF4;
  --font-heading: 'Lora', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 10px 30px -18px rgba(20, 83, 45, 0.35);
  --border-soft: 1px solid rgba(20, 83, 45, 0.12);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); 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 .75rem; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container--form { max-width: 720px; }

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

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid rgba(20,83,45,0.2); border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }

.primary-nav { display: none; width: 100%; }
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: .5rem 0 1rem; display: flex; flex-direction: column; gap: .25rem; }
.primary-nav a {
  display: block; padding: .6rem .25rem;
  color: var(--color-neutral-dark); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid rgba(20,83,45,0.06);
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 960px) {
  .site-header__inner { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .primary-nav { display: block; width: auto; }
  .primary-nav ul { flex-direction: row; gap: 1.25rem; padding: 0; }
  .primary-nav a { border: none; padding: .35rem 0; }
  .primary-nav a:hover { color: var(--color-primary); text-decoration: none; }
}

/* === Hero (centered) === */
.hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--color-neutral-light) 0%, #FFFFFF 100%);
}
@media (min-width: 768px) { .hero { padding: 6rem 0 4rem; } }
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: .15em;
  font-size: .75rem; font-weight: 600; color: var(--color-primary);
  margin: 0 0 1rem;
}
.hero h1 { max-width: 28ch; margin-inline: auto; }
.hero__sub {
  max-width: 52ch; margin: 1.25rem auto 1.75rem;
  color: #3f6b52; font-size: 1.1rem;
}
.hero__figure {
  margin: 3rem auto 0; max-width: 1080px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* === Buttons === */
.btn {
  display: inline-block; padding: .85rem 1.6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .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-neutral-light); color: var(--color-neutral-dark); border-color: rgba(255,255,255,0.4); }
.btn--accent:hover { background: #fff; }

/* === Sections === */
.section { padding: 3.5rem 0; }
@media (min-width: 768px) { .section { padding: 5rem 0; } }
.section--narrow .container { max-width: 760px; }
.section--narrow h2 { text-align: left; }
.section--tinted { background: var(--color-neutral-light); }
.section__title { text-align: center; margin-bottom: 2rem; }

/* === Grid & 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: #fff; border: var(--border-soft); border-radius: var(--radius);
  padding: 1.5rem; display: block;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card h3 { margin-top: .5rem; }
.card p { color: #3f6b52; margin-bottom: 0; }
.card .icon { color: var(--color-primary); }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: rgba(21,128,61,0.35); }
.card-link h3 { color: var(--color-neutral-dark); }
.icon { width: 28px; height: 28px; }

/* === Testimonial === */
.testimonial-section { background: #fff; }
.testimonial {
  max-width: 780px; margin: 0 auto; text-align: center;
  padding: 0 1rem;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-style: italic; line-height: 1.5;
  color: var(--color-neutral-dark);
}
.testimonial cite {
  display: block; margin-top: 1rem;
  font-family: var(--font-body); font-style: normal;
  font-size: .95rem; color: var(--color-primary); font-weight: 600;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary); color: #fff;
  padding: 3.5rem 0; text-align: center;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band__inner { max-width: 720px; margin: 0 auto; }
.cta-band p:last-child { margin-bottom: 0; }

/* === Contact band === */
.contact-band h2 { margin-bottom: 1rem; }
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.hours { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: var(--border-soft); }
.hours caption { text-align: left; font-weight: 600; padding: .75rem 1rem; background: var(--color-neutral-light); }
.hours th, .hours td { padding: .7rem 1rem; text-align: left; border-top: 1px solid rgba(20,83,45,0.06); font-size: .95rem; }
.hours th { font-weight: 500; }

/* === Form === */
.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 500; font-size: .95rem; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .75rem .9rem; border: 1px solid rgba(20,83,45,0.2); border-radius: 8px;
  background: #fff; color: var(--color-neutral-dark);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: #3f6b52; flex-wrap: wrap; }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; margin-bottom: .75rem; font-size: 1rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer__tag { opacity: .8; margin-top: .75rem; font-size: .95rem; }
.footer__legal { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; font-size: .875rem; opacity: .9; }
.site-footer address { font-style: normal; line-height: 1.7; font-size: .95rem; opacity: .9; }
.footer__base { border-top: 1px solid rgba(240,253,244,0.15); margin-top: 2rem; padding-top: 1.25rem; text-align: center; font-size: .85rem; opacity: .8; }
.site-footer .logo img { filter: brightness(0) invert(1); }

/* === Eyebrow === */
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }

/* === 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; border-radius: var(--radius);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.4);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-body); font-size: .85rem; font-weight: 600;
  padding: .55rem 1rem; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-reject] { background: transparent; color: var(--color-neutral-light); border-color: rgba(240,253,244,0.35); }
.cookie-banner [data-cookie-settings] { background: transparent; color: var(--color-neutral-light); border-color: rgba(240,253,244,0.35); }
.cookie-banner__prefs { display: grid; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240,253,244,0.15); font-size: .9rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner [data-cookie-save] { background: var(--color-primary); color: #fff; justify-self: start; margin-top: .25rem; }
