/* ==========================================================================
   Steve White Tree Care — Global Stylesheet
   Modern, responsive, hardcoded build (to be ported to WordPress/Elementor)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --green-950: #0d2818;
  --green-900: #133a22;
  --green-800: #1a4d2e;
  --green-700: #226b3f;
  --green-600: #2e8b57;
  --green-500: #3aa568;
  --green-100: #e4f0e8;
  --green-50:  #f0f7f2;
  --amber-600: #c77b1e;
  --amber-500: #e08e24;
  --amber-100: #fdf0dc;
  --cream:     #f8f6f1;
  --white:     #ffffff;
  --ink:       #1d2721;
  --ink-soft:  #46554c;
  --ink-mute:  #5f6e65;
  --line:      #e2e6e0;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(13, 40, 24, 0.08);
  --shadow-md: 0 6px 24px rgba(13, 40, 24, 0.10);
  --shadow-lg: 0 16px 48px rgba(13, 40, 24, 0.16);

  --container: 1500px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 90px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-600); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--green-950);
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.25rem; }

ul, ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
.section--white { background: var(--white); }
.section--green { background: var(--green-950); }
.section--green h2, .section--green h3 { color: var(--white); }
.section--green p { color: #cfe0d5; }

.section-intro { max-width: 720px; }
.section-intro--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 0.75rem;
}
.section--green .eyebrow { color: var(--green-500); }

.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn { white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--primary { background: var(--green-800); color: var(--white); }
.btn--primary:hover { background: var(--green-700); color: var(--white); }

.btn--green { background: var(--green-800); color: var(--white); }
.btn--green:hover { background: var(--green-700); color: var(--white); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

.btn--outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn--outline:hover { background: var(--green-800); color: var(--white); }

.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }

/* ---------- Utility top bar ---------- */
.topbar {
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.45rem;
  max-width: none;
}
.topbar a { color: var(--green-800); display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: var(--green-600); }
.topbar__contact { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar__note { display: flex; align-items: center; gap: 0.4rem; }
.topbar svg { width: 0.95rem; height: 0.95rem; flex: none; }
@media (max-width: 960px) {
  .topbar__note { display: none; }
}
@media (max-width: 720px) {
  /* Centring the inner wrapper alone isn't enough - the phone and email wrap
     onto separate rows inside .topbar__contact, which still packs them left. */
  .topbar__inner { justify-content: center; }
  .topbar__contact { justify-content: center; gap: 0.35rem 1.4rem; width: 100%; }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-top: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease, background 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

/* ----- Transparent header overlaying the hero (hero pages only) ----- */
body.has-hero .hero,
body.has-hero .page-hero { margin-top: calc(var(--header-h) * -1); }

body.has-hero .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.has-hero .site-header .brand,
body.has-hero .site-header .nav__link,
body.has-hero .site-header .nav__phone { color: var(--white); }
body.has-hero .site-header .brand small { color: rgba(255, 255, 255, 0.78); }
/* The logo art is dark green on transparent, which all but vanishes on the
   hero. Render it solid white here so it matches the wordmark beside it. */
body.has-hero .site-header .brand__logo { filter: brightness(0) invert(1); }
body.has-hero .site-header .nav__phone svg { color: var(--white); }
body.has-hero .site-header .nav__toggle svg { color: var(--white); }
body.has-hero .site-header .nav__link:hover,
body.has-hero .site-header .nav__link.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}
body.has-hero .site-header .nav__toggle:hover { background: rgba(255, 255, 255, 0.14); }

/* Solid backdrop once scrolled so the white text stays legible */
body.has-hero .site-header.is-scrolled {
  background: rgba(13, 40, 24, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  max-width: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-950);
  line-height: 1.1;
}
.brand:hover { color: var(--green-800); }
.brand__logo { width: 62px; height: 62px; flex: none; }
/* Keep the wordmark on two tidy lines - it wraps to three and looks squashed
   on narrow phones otherwise. */
.brand > span { white-space: nowrap; }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-700);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list > li { margin: 0; position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
}
.nav__link:hover, .nav__link.is-active { color: var(--green-700); background: var(--green-50); }
.nav__link svg { width: 0.75rem; height: 0.75rem; transition: transform 0.2s ease; }

/* Dropdown */
.nav__item--dropdown > .nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown,
.nav__item--dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}
.dropdown a:hover { background: var(--green-50); color: var(--green-700); }
.dropdown a.is-active { color: var(--green-700); background: var(--green-50); }

.nav__cta { display: flex; align-items: center; gap: 0.75rem; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--green-950);
  font-size: 1rem;
  white-space: nowrap;
}
.nav__phone svg { width: 1.05rem; height: 1.05rem; color: var(--green-600); }
.nav__phone:hover { color: var(--green-700); }

/* Burger */
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 10px;
}
.nav__toggle:hover { background: var(--green-50); }
.nav__toggle svg { width: 1.6rem; height: 1.6rem; display: block; color: var(--green-950); }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-burger { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

@media (min-width: 1141px) {
  .nav__menu > .btn { display: none; }
  /* Logo pinned left, menu + CTA grouped on the right */
  .nav__menu { margin-left: auto; }
}
@media (max-width: 1140px) {
  .nav__toggle { display: block; }
  .nav__cta .btn { display: none; }
  /* Duplicated in the topbar directly above, and dropping it gives the brand
     room to sit on two lines instead of three. */
  .nav__cta .nav__phone { display: none; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 1rem var(--gutter) 1.5rem;
    display: none;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }
  .nav__menu.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav__link { width: 100%; justify-content: space-between; padding: 0.8rem 0.9rem; font-size: 1.05rem; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border: 0;
    background: var(--green-50);
    display: none;
    padding: 0.25rem;
  }
  .nav__item--dropdown.is-open .dropdown { display: block; visibility: visible; }
  .nav__menu .btn { width: 100%; margin-top: 1rem; }

  /* Open mobile menu is a solid white panel, so reset link colours on hero pages */
  body.has-hero .nav__menu .nav__link { color: var(--ink); }
  body.has-hero .nav__menu .nav__link:hover,
  body.has-hero .nav__menu .nav__link.is-active { color: var(--green-700); background: var(--green-50); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 780px);
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 40, 24, 0.55) 0%, transparent 22%),
    linear-gradient(100deg, rgba(13, 40, 24, 0.88) 0%, rgba(13, 40, 24, 0.62) 45%, rgba(13, 40, 24, 0.30) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  /* Top pad must always clear the overlaying sticky header, which the hero is
     pulled up beneath - below ~910px the clamp alone falls short of --header-h. */
  padding-block: max(clamp(4rem, 10vw, 7rem), calc(var(--header-h) + 1.5rem)) clamp(4rem, 10vw, 7rem);
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero .lead { color: #dcE9e1; margin-bottom: 2rem; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.25rem; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  margin: 0;
}
.hero__badges svg { width: 1rem; height: 1rem; color: var(--green-500); flex: none; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
}
.page-hero--tall { min-height: 460px; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 40, 24, 0.55) 0%, transparent 22%),
    linear-gradient(180deg, rgba(13, 40, 24, 0.35) 0%, rgba(13, 40, 24, 0.85) 100%);
}
/* .page-hero is a flex container, so this would otherwise shrink to its text and
   sit indented relative to the section content below. width:100% makes it fill
   the container so both align on the same gutter. */
.page-hero__content { position: relative; z-index: 2; width: 100%; padding-block: max(3rem, calc(var(--header-h) + 1rem)) 2.5rem; }
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero .lead { color: #dce9e1; margin: 0; max-width: 62ch; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.85rem;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; color: #b9cfc1; }
.breadcrumbs a { color: #dcE9e1; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs li + li::before { content: "/"; color: #7d9788; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: 1.4rem;
}
.trust-item { display: flex; align-items: center; gap: 0.8rem; }
.trust-item svg { width: 2.1rem; height: 2.1rem; color: var(--green-600); flex: none; }
.trust-item strong { display: block; font-size: 0.98rem; color: var(--green-950); line-height: 1.3; }
.trust-item span { font-size: 0.83rem; color: var(--ink-mute); line-height: 1.35; display: block; }
@media (max-width: 900px) { .trust-strip__inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-strip__inner { grid-template-columns: 1fr 1fr; gap: 0.9rem; } .trust-item span { display: none; } }

/* ---------- Cards / services grid ---------- */
.grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.75rem;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
/* display:block because .card__media is an <a> on card grids - inline would
   collapse the aspect-ratio box. */
.card__media { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card__body h2, .card__body h3 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); margin-bottom: 0.5rem; }
.card__title-link { color: inherit; }
.card__title-link:hover { color: var(--green-700); }
.card__body p { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--green-700);
  font-size: 0.97rem;
}
.card__link svg { width: 1rem; height: 1rem; transition: transform 0.2s ease; }
.card__link:hover svg { transform: translateX(4px); }

/* ---------- Split / feature sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse > .split__media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > .split__media { order: 0; }
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.split__media--stacked { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split__media--stacked img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.split__media--stacked img { aspect-ratio: 4/3; }

.stat-chip {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.stat-chip svg { width: 2rem; height: 2rem; color: var(--green-600); }
.stat-chip strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--green-950); line-height: 1.1; }
.stat-chip span { font-size: 0.8rem; color: var(--ink-mute); }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0; }
.checklist svg { width: 1.3rem; height: 1.3rem; color: var(--green-600); flex: none; margin-top: 0.2rem; }
.checklist strong { color: var(--green-950); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.75rem;
  counter-reset: step;
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.steps .step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  background: var(--green-700);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.2rem; }
.step p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
  margin: 0;
}
.testimonial__stars { display: flex; gap: 0.2rem; margin-bottom: 1rem; }
.testimonial__stars svg { width: 1.15rem; height: 1.15rem; color: var(--amber-500); }
.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  font-style: italic;
}
.testimonial figcaption { font-weight: 700; color: var(--green-950); font-size: 0.95rem; }
.testimonial figcaption span { display: block; font-weight: 500; color: var(--ink-mute); font-size: 0.83rem; }

/* ---------- Areas ---------- */
.areas-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; padding: 0; list-style: none; }
.areas-cloud li { margin: 0; }
.areas-cloud span, .areas-cloud a {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.section--green .areas-cloud span, .section--green .areas-cloud a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #dce9e1;
}

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 2.5rem auto 0; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--green-950);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 1.2rem; height: 1.2rem; color: var(--green-600); flex: none; transition: transform 0.25s ease; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item__body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: 0.98rem; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 139, 87, 0.30), transparent 70%);
}
.cta-band h2 { color: var(--white); margin-bottom: 0.6rem; }
.cta-band p { color: #cfe0d5; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: flex-end; }
@media (max-width: 820px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .form-field--full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-950);
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.15);
  background: var(--white);
}
.form-field textarea { min-height: 130px; resize: vertical; }

.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--ink-mute); }
.form-consent input { width: auto; margin-top: 0.28rem; accent-color: var(--green-700); flex: none; }

.form-note { font-size: 0.85rem; color: var(--ink-mute); margin: 1rem 0 0; }

/* ---------- Contact info blocks ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0; }
.info-list svg { width: 1.35rem; height: 1.35rem; color: var(--green-600); flex: none; margin-top: 0.2rem; }
.info-list strong { display: block; color: var(--green-950); font-size: 0.95rem; }
.info-list a, .info-list span { color: var(--ink-soft); font-size: 0.97rem; }
.info-list a:hover { color: var(--green-700); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery figure:hover img { transform: scale(1.06); }
/* JS wraps each gallery image in this button so it is keyboard-operable. */
.gallery__trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.gallery__trigger:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; }

/* ---------- Lightbox ---------- */
body.has-lightbox { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 24, 15, 0.92);
  backdrop-filter: blur(4px);
  animation: lb-fade 0.18s ease-out;
}
.lightbox[hidden] { display: none; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.lightbox__img {
  max-width: 100%;
  /* Leave room for the caption and the close control above it. */
  max-height: calc(100vh - 11rem);
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}
.lightbox__caption {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  text-align: center;
}
.lightbox__count { color: rgba(255, 255, 255, 0.55); font-variant-numeric: tabular-nums; flex: none; }

.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.lightbox__close { top: clamp(0.75rem, 2vw, 1.5rem); right: clamp(0.75rem, 2vw, 1.5rem); width: 44px; height: 44px; }
.lightbox__close svg { width: 18px; height: 18px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox__nav svg { width: 28px; height: 28px; }
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__nav[hidden] { display: none; }

@media (max-width: 620px) {
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav svg { width: 22px; height: 22px; }
  .lightbox__img { max-height: calc(100vh - 12rem); }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox { animation: none; }
}

/* ---------- Blog ---------- */
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin-bottom: 0.6rem;
}
.post-card__meta .tag {
  background: var(--green-100);
  color: var(--green-800);
  border-radius: 999px;
  padding: 0.18rem 0.7rem;
  font-weight: 600;
}

.article { max-width: 1500px; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; color: var(--ink-mute); font-size: 0.9rem; margin-bottom: 2rem; }
.article__meta .tag { background: var(--green-100); color: var(--green-800); border-radius: 999px; padding: 0.2rem 0.8rem; font-weight: 600; font-size: 0.82rem; }
.article img { border-radius: var(--radius); margin: 2rem 0; }
/* Direct children only - images inside .gallery keep their own grid sizing. */
.article > img { width: 100%; }
/* Applied to source images narrower than the content column, so they render at
   their real size instead of being upscaled into a blurry mess. */
.article > img.is-native { width: auto; max-width: 100%; margin-inline: auto; }
.article h2 { font-size: 1.7rem; margin-top: 2.5rem; }
.article h3 { margin-top: 2rem; }
.article-footer { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #b9cfc1; font-size: 0.95rem; }
.site-footer a { color: #dce9e1; }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-block: 4rem 3rem;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer-brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--white); margin-bottom: 1rem; }
.footer-brand svg, .footer-brand img { width: 40px; height: 40px; }
.footer-col .footer-heading {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: 0.3rem; color: var(--green-500); }

.footer-social { display: flex; gap: 0.7rem; margin-top: 1.25rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover { background: var(--green-700); transform: translateY(-2px); }
.footer-social svg { width: 1.1rem; height: 1.1rem; color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.83rem;
  color: #8aa393;
}
.footer-bottom a { color: #b9cfc1; }

/* ---------- Mobile sticky action bar ---------- */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(13, 40, 24, 0.12);
}
.mobile-cta a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.6rem 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-950);
}
.mobile-cta svg { width: 1.35rem; height: 1.35rem; color: var(--green-700); }
.mobile-cta a.mobile-cta__primary { background: var(--green-800); color: var(--white); }
.mobile-cta a.mobile-cta__primary svg { color: var(--white); }
@media (max-width: 760px) {
  .mobile-cta { display: grid; }
  body { padding-bottom: 64px; }
}

/* ---------- WhatsApp chat teaser (desktop / tablet) ---------- */
.wa-chat {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: 80;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
}
/* Hidden on phones - the sticky action bar there already offers WhatsApp. */
@media (min-width: 761px) {
  .wa-chat { display: flex; }
}

.wa-chat__launcher {
  position: relative;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(13, 40, 24, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-chat__launcher:hover { transform: scale(1.06); box-shadow: 0 14px 32px rgba(13, 40, 24, 0.34); }
.wa-chat__launcher svg { width: 34px; height: 34px; margin: 0 auto; }
.wa-chat__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: #e5352b;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 22px;
  border: 2px solid var(--white);
}

.wa-chat__panel {
  width: min(330px, calc(100vw - 3rem));
  border-radius: 16px;
  overflow: hidden;
  background: #ece5dd;
  box-shadow: 0 18px 44px rgba(13, 40, 24, 0.3);
  transform-origin: bottom right;
  animation: wa-pop 0.18s ease-out;
}
.wa-chat__panel[hidden] { display: none; }
@keyframes wa-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.wa-chat__header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  background: #075e54;
  color: var(--white);
}
.wa-chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--white); flex: none; object-fit: contain; }
.wa-chat__id { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.wa-chat__id strong { font-size: 0.94rem; }
.wa-chat__id span { display: flex; align-items: center; gap: 0.35rem; font-size: 0.74rem; color: rgba(255, 255, 255, 0.82); }
.wa-chat__dot { width: 7px; height: 7px; border-radius: 50%; background: #25d366; flex: none; }
.wa-chat__close {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 6px;
  flex: none;
}
.wa-chat__close:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.wa-chat__close svg { width: 15px; height: 15px; }

/* Subtle doodle wash, mimicking the WhatsApp conversation backdrop */
.wa-chat__body {
  padding: 1.1rem 0.85rem 1.3rem;
  background-color: #ece5dd;
  background-image: radial-gradient(rgba(13, 40, 24, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
}
.wa-chat__bubble {
  position: relative;
  background: var(--white);
  border-radius: 0 10px 10px 10px;
  padding: 0.6rem 0.75rem 1.35rem;
  box-shadow: 0 1px 1px rgba(13, 40, 24, 0.14);
  max-width: 92%;
}
.wa-chat__bubble::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  border: 8px solid transparent;
  border-top-color: var(--white);
  border-right: 0;
}
.wa-chat__bubble strong { display: block; font-size: 0.78rem; color: var(--green-700); margin-bottom: 0.15rem; }
.wa-chat__bubble p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--ink); }
.wa-chat__time { position: absolute; right: 0.7rem; bottom: 0.45rem; font-size: 0.68rem; color: var(--ink-soft); }

.wa-chat__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: #25d366;
  color: var(--white);
  font-weight: 700;
  font-size: 0.94rem;
}
.wa-chat__cta:hover { background: #1fb855; color: var(--white); }
.wa-chat__cta svg { width: 1.15rem; height: 1.15rem; }

@media (prefers-reduced-motion: reduce) {
  .wa-chat__panel { animation: none; }
  .wa-chat__launcher { transition: none; }
}

/* ---------- Scroll reveal (hidden state only applies once JS has run) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-3 { margin-top: 3rem; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-950);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  z-index: 100;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: var(--white); }
