/* === Root tokens === */
:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #FBBF24;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --color-text: #0f2a20;
  --color-muted: #4b6b60;
  --color-border: rgba(6, 78, 59, 0.12);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --shadow-lg: 0 30px 60px -30px rgba(6, 78, 59, 0.35);
  --shadow-md: 0 10px 30px -12px rgba(6, 78, 59, 0.25);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: #fff;
  -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); letter-spacing: -0.02em; margin: 0 0 .5em; line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin: 0 0 1em; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 720px; }
.section { padding: 4rem 0; }
.section.alt { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }
.section-head-center { text-align: center; }
.center { text-align: center; }
.eyebrow {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .18em;
  font-weight: 600; color: var(--color-accent); margin: 0 0 1rem;
}

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

/* === Primary nav === */
.primary-nav { position: relative; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--color-border); border-radius: 8px;
  color: var(--color-neutral-dark); cursor: pointer;
}
.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--color-border); border-radius: 12px;
  box-shadow: var(--shadow-md); min-width: 200px; padding: .5rem 0;
}
.nav-list.is-open { display: block; }
.nav-list li { display: block; }
.nav-list a {
  display: block; padding: .6rem 1.1rem; color: var(--color-neutral-dark); font-weight: 500;
}
.nav-list a[aria-current="page"] { color: var(--color-primary); }
.nav-list a:hover { background: var(--color-neutral-light); text-decoration: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-list {
    display: flex; position: static; padding: 0; background: transparent;
    border: 0; box-shadow: none; gap: .5rem;
  }
  .nav-list a { padding: .5rem .9rem; border-radius: 8px; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: .85rem 1.6rem;
  font-weight: 600; font-size: 1rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-neutral-dark); }
.btn-accent { background: var(--color-accent); color: var(--color-neutral-dark); }
.btn-accent:hover { background: #f5a800; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* === Hero (fullscreen) === */
.hero-fullscreen {
  position: relative; min-height: 90vh;
  display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
  color: var(--color-neutral-light);
}
.hero-fullscreen.hero-md { min-height: 60vh; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.75), rgba(6, 78, 59, 0.55));
}
.hero-content { padding: 4rem 1.25rem; max-width: 780px; }
.hero-content h1 { color: #fff; max-width: 20ch; }
.hero-content .eyebrow { color: var(--color-accent); }
.hero-sub {
  font-size: 1.15rem; line-height: 1.55; color: rgba(255,255,255,0.92);
  max-width: 48ch; margin: 1rem 0 2rem;
}
@media (min-width: 768px) {
  .hero-content { padding: 6rem 1.25rem; }
  .hero-sub { font-size: 1.3rem; }
}

/* === Intro section === */
.intro { text-align: left; }
.intro h2 { margin-bottom: .75rem; }
.intro .lede {
  font-size: 1.2rem; color: var(--color-muted); margin-bottom: 1.5rem;
}

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

.card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: transform .18s ease, box-shadow .18s ease;
  display: block;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--color-neutral-light); color: var(--color-primary);
  margin-bottom: 1rem;
}
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.card-link h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial { background: var(--color-neutral-light); }
.testimonial blockquote {
  margin: 0; padding: 2rem 0; text-align: center; position: relative;
}
.testimonial blockquote p {
  font-family: var(--font-heading); font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500;
}
.testimonial cite {
  display: block; margin-top: 1rem; font-style: normal;
  color: var(--color-muted); font-size: .95rem;
}

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

/* === Article detail === */
.article {
  max-width: 65ch; margin-inline: auto; padding: 3rem 1.25rem;
}
.article-header { margin-bottom: 2rem; }
.article-header .eyebrow { color: var(--color-primary); }
.article-sub {
  font-size: 1.2rem; color: var(--color-muted); margin: 1rem 0 0;
}
.article-hero {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius); margin: 2rem 0;
}
.article h2 {
  margin-top: 2.5rem; margin-bottom: 1rem;
  font-size: 1.5rem;
}
.article p {
  font-size: 1.08rem; line-height: 1.75; color: var(--color-text);
  margin-block: 1.25rem;
}
.article-footer {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border);
}
.back-link { font-weight: 600; }

/* === Contact === */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
}
.contact-info h3 { margin-top: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { padding: .5rem .75rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 500; color: var(--color-muted); }

.contact-form {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-md);
}
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field label { font-weight: 500; margin-bottom: .35rem; font-size: .95rem; }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; padding: .7rem .85rem;
  border: 1px solid var(--color-border); border-radius: 8px;
  background: #fff;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary);
}
.form-consent {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .85rem; color: var(--color-muted);
  margin: 1rem 0 1.25rem;
}
.form-consent input { margin-top: .25rem; }

/* === FAQ === */
.faq { padding: 0; }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.25rem 1.75rem; font-weight: 600; color: var(--color-neutral-dark);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--color-primary);
}
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 1.75rem 1.5rem; margin: 0; color: var(--color-muted); }

/* === Thank-you === */
.thank-you-hero { padding-top: 5rem; padding-bottom: 2rem; }
.thank-you-hero .hero-sub { color: var(--color-muted); }
.thank-you-hero h1 { color: var(--color-neutral-dark); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(255,255,255,0.85);
  padding-top: 3rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-accent); text-decoration: none; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; gap: 3rem; }
}
.logo-footer img { height: 64px; filter: brightness(0) invert(1); }
.tagline { color: rgba(255,255,255,0.7); margin-top: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer nav li { padding: .25rem 0; }
address { font-style: normal; line-height: 1.7; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.legal-links li { padding: .15rem 0; }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 1.25rem;
  font-size: .85rem; color: rgba(255,255,255,0.6);
  text-align: center; max-width: 1180px;
}

/* === 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 1.5rem;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.4);
  max-width: 600px; margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .55rem 1.1rem; font-size: .9rem; }
.cookie-banner__prefs {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-direction: column; gap: .5rem;
}
.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; }
