/* ==========================================================================
   Lead-gen site template — style.css
   Spec: wiki/components/component-library.md (incl. "Lead-gen & trust components")
   Layout benchmark: wiki/references/escamilla-tree-service.md (structure only)
   Plain CSS, mobile-first, no web fonts, no build step.
   Breakpoints: 600px (forms/grids widen), 900px (desktop nav, hero split, sticky header).
   ========================================================================== */

/* ---------- Design tokens (override per site) ---------- */
:root {
  /* Brand — Right On Sod primary green #005327 */
  --green: #005327;
  --green-dark: #003D1D;
  --forest: #00301A;        /* top bar, hero, footer */
  --forest-dark: #001F11;
  --gold: #F2B33D;          /* accent: quote CTA, icons on dark */
  --gold-dark: #D99A22;
  /* Neutrals */
  --ink: #17231C;
  --ink-soft: #4A564F;
  --line: #E3E1D8;
  --bg: #FFFFFF;
  --bg-alt: #F6F4EE;        /* warm stone neutral for alternating sections */
  --bg-tint: #E7F0EA;       /* light green tint for callouts */
  --white: #FFFFFF;

  --max: 1180px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 4px 18px rgba(0, 48, 26, .08);
  --shadow-lift: 0 10px 28px rgba(0, 48, 26, .14);
  --gutter: 16px;

  /* Condensed display headings from system fonts only (no web fonts) */
  --font-head: "Avenir Next Condensed", "Bahnschrift SemiCondensed", "Bahnschrift", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  padding-bottom: 72px; /* room for the sticky mobile CTA */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-stretch: condensed; color: var(--forest); line-height: 1.1; margin: 0 0 .55em; }
h1, h2 { font-weight: 800; text-transform: uppercase; letter-spacing: .005em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--radius); font-weight: 700;
}
.skip-link:focus { top: 8px; }
.center { text-align: center; }

/* Kicker: small uppercase label above a section H2 */
.kicker { margin: 0 0 8px; font: 700 .8rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }

/* ---------- Buttons (named by colour — never btn--primary) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 10px 20px;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 700 1rem/1.2 var(--font-body); letter-spacing: .02em; text-decoration: none; text-align: center; text-transform: uppercase;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 14px rgba(242, 179, 61, .35); }
.btn--gold:hover { background: var(--gold-dark); color: var(--ink); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); color: var(--white); }
.btn--forest { background: var(--forest); color: var(--white); }
.btn--forest:hover { background: var(--forest-dark); color: var(--white); }
.btn--outline { background: transparent; border-color: var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--ghost { background: transparent; border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.section__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 40; }
.header-top { background: var(--forest); color: var(--white); }
/* Below 900px the sticky bottom bar carries "Call now", so the header shows only the centred logo. */
.header-top__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; }
.nav__logo { display: inline-flex; align-items: center; color: var(--white); text-decoration: none; font: 800 1.35rem/1 var(--font-head); font-stretch: condensed; text-transform: uppercase; }
.nav__logo img { height: 44px; width: auto; }
.nav__logo:hover { color: var(--white); }
.header-contact { display: none; align-items: center; gap: 18px; }
.header-contact__item { color: var(--white); text-decoration: none; font-size: .95rem; }
.header-contact__item strong { color: inherit; }
.header-contact__item--meta { display: none; opacity: .85; }
/* Phone as a pill button (benchmark: phone always one tap away, top right) */
a.header-contact__item.wc-phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px;
  border: 2px solid var(--gold); border-radius: 999px; color: var(--gold); font-weight: 700;
}
a.header-contact__item.wc-phone::before {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
a.header-contact__item.wc-phone:hover { background: var(--gold); color: var(--ink); }

.site-nav { background: var(--green); }
.site-nav__inner { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.nav__checkbox { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 4px;
  color: var(--white); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; user-select: none;
}
.nav__toggle-icon, .nav__toggle-icon::before, .nav__toggle-icon::after {
  display: block; width: 22px; height: 2px; background: currentColor; position: relative; content: "";
}
.nav__toggle-icon::before { position: absolute; top: -7px; }
.nav__toggle-icon::after { position: absolute; top: 7px; }
.nav__checkbox:focus-visible + .nav__toggle { outline: 3px solid var(--gold); outline-offset: 2px; }

.nav__links { display: none; list-style: none; margin: 0; padding: 0; }
.nav__checkbox:checked ~ .nav__links {
  display: block; position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100vh - 190px); overflow-y: auto;
  background: var(--green-dark); padding: 8px var(--gutter) 16px; box-shadow: var(--shadow);
}
.nav__links > li > a { display: block; padding: 12px 4px; color: var(--white); text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--gold); }
.nav__sub { list-style: none; margin: 0 0 8px; padding: 0 0 0 14px; border-left: 2px solid rgba(255,255,255,.2); }
.nav__sub a { display: block; padding: 8px 4px; color: var(--white); text-decoration: none; font-size: .95rem; }
.nav__links .nav__quote { margin-top: 10px; text-align: center; }
a.nav__quote { background: var(--gold); color: var(--ink) !important; border-radius: var(--radius); padding: 12px 18px; }
a.nav__quote:hover { background: var(--gold-dark); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: .88rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li + li::before { content: "›"; margin: 0 6px; color: var(--ink-soft); }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Hero (dark, high-contrast — benchmark pattern) ---------- */
.hero {
  background: radial-gradient(120% 140% at 85% 0%, var(--green) 0%, var(--forest) 55%, var(--forest-dark) 100%);
  color: var(--white); padding: 40px 0 36px;
}
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero__split { display: grid; gap: 28px; align-items: center; }
.hero__eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, .08); color: var(--white); font-size: .85rem; font-weight: 700; letter-spacing: .03em;
}
.hero__lead { font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 60ch; }
.hero a:not(.btn) { color: var(--gold); }
.hero .checklist li { font-weight: 600; color: var(--white); }
.hero .checklist li::before { border-color: var(--gold); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero__areas { margin: 16px 0 0; font-size: .92rem; color: rgba(255, 255, 255, .75); }
.hero__photo { position: relative; }
.hero__photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); aspect-ratio: 4 / 3; object-fit: cover; }
.hero__badge {
  position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.hero .form-card { color: var(--ink); }
.hero--lander { padding-top: 28px; }
/* Hero background photo (decorative stock, partials/hero-bg.html). The overlay keeps white hero text
   above 7:1 even over a pure-white pixel: darkest where the text sits, lighter toward the right on desktop. */
.hero--bg { position: relative; isolation: isolate; overflow: hidden; background: var(--forest-dark); }
.hero__bg { position: absolute; inset: 0; z-index: -2; display: block; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 31, 17, .84) 0%, rgba(0, 31, 17, .9) 100%);
}
@media (min-width: 900px) {
  .hero--bg::before {
    background:
      linear-gradient(90deg, rgba(0, 31, 17, .93) 0%, rgba(0, 36, 20, .86) 42%, rgba(0, 48, 26, .62) 72%, rgba(0, 48, 26, .45) 100%),
      linear-gradient(180deg, rgba(0, 31, 17, .25) 0%, rgba(0, 31, 17, 0) 40%);
  }
}

/* ---------- Trust strip (brand band directly under the hero) ---------- */
.trust-strip-wrap { background: var(--green); }
.trust-strip { list-style: none; margin: 0; padding: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.trust-strip__item { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--white); }
.trust-strip__item svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--bg-tint); }
.section--tight { padding: 28px 0; }
.section__head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.section__lead { max-width: 65ch; color: var(--ink-soft); font-size: 1.08rem; }
.section__head .section__lead { margin-left: auto; margin-right: auto; }
.section__more { margin-top: 20px; font-weight: 700; }

/* Brand band: full-width green section with light text (benchmark "why choose" band) */
.section--brand { background: var(--green); color: var(--white); }
.section--brand h2, .section--brand h3 { color: var(--white); }
.section--brand .kicker { color: var(--gold); }
.section--brand .section__lead, .section--brand p { color: rgba(255, 255, 255, .9); }
.section--brand a:not(.btn) { color: var(--gold); }
.section--brand .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
.section--brand .card:hover { transform: none; box-shadow: none; }
.section--brand .card__icon { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.section--brand .answer-box { color: var(--ink); }
.section--brand .answer-box p { color: var(--ink); }
.section--brand .answer-box a { color: var(--green); }

/* Media split: copy + photo side by side */
.split--media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px;
  border-radius: 10px; background: var(--bg-tint); color: var(--green);
}
.card__icon svg { width: 26px; height: 26px; }
.card--service { display: flex; flex-direction: column; }
.card--service:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card--service .card__link { margin-top: auto; padding-top: 10px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; }
.card--service .card__link::after { content: " →"; }
.card--accent, .card--featured { background: var(--bg-tint); border: 2px solid var(--green); }

/* ---------- Steps / checklist ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 16px; }
.steps > li {
  counter-increment: step; position: relative; padding: 18px 18px 18px 72px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.steps > li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px;
  width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--white);
  display: grid; place-items: center; font: 800 1.1rem/1 var(--font-head);
}
.steps h3 { margin-bottom: .3em; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--ink-soft); }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 10px;
  border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg);
}

/* ---------- Link lists & area links ---------- */
.linklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
.linklist a {
  display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); text-decoration: none; font-weight: 600;
}
.linklist a:hover { border-color: var(--green); }
.area-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.area-link__name, .area-link__city, .area-link__desc { overflow-wrap: anywhere; }
.area-link {
  position: relative; display: flex; flex-direction: column; padding: 12px 14px 12px 38px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg); text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s, transform .15s;
}
.area-link::before {
  content: ""; position: absolute; left: 13px; top: 15px; width: 16px; height: 16px; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.area-link:hover { border-color: var(--green); transform: translateY(-2px); }
.area-link__name { font-weight: 800; color: var(--forest); text-transform: uppercase; letter-spacing: .02em; font-size: .95rem; }
.area-link__city { font-size: .82rem; color: var(--ink-soft); }
.area-link__desc { font-size: .92rem; color: var(--ink-soft); margin-top: 4px; }
.tier2 { columns: 2; column-gap: 24px; padding-left: 1.1em; }

/* ---------- Reviews ---------- */
.reviews__summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin-bottom: 28px; }
.reviews__score { font: 800 2.2rem/1 var(--font-head); color: var(--forest); }
.stars { color: var(--gold-dark); letter-spacing: 2px; font-size: 1.1rem; }
.review-card {
  position: relative; margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.review-card::after {
  content: "\201C"; position: absolute; right: 18px; top: 2px; font: 800 4.5rem/1 Georgia, serif; color: var(--bg-tint);
}
.review-card blockquote { position: relative; z-index: 1; margin: 8px 0 14px; }
.review-card blockquote p:last-child { margin-bottom: 0; }
.review-card figcaption { margin-top: auto; font-size: .92rem; color: var(--ink-soft); }
.review-card figcaption strong { color: var(--ink); }

/* ---------- Before / after ---------- */
.ba-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.ba { margin: 0; }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba__img { position: relative; }
.ba__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.ba__label {
  position: absolute; left: 8px; top: 8px; padding: 2px 10px; border-radius: 999px;
  background: var(--forest); color: var(--white); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
}
.ba__img--after .ba__label { background: var(--gold); color: var(--ink); }
.ba figcaption { margin-top: 8px; font-size: .92rem; color: var(--ink-soft); }

/* ---------- Guarantee / answer box ---------- */
.guarantee {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start;
  background: var(--bg-tint); border: 2px solid var(--green); border-radius: var(--radius-lg); padding: 20px;
}
.guarantee svg { width: 48px; height: 48px; color: var(--green); }
.guarantee h3 { margin-bottom: .3em; }
.guarantee p:last-child { margin-bottom: 0; }
.answer-box { background: var(--bg-tint); border-left: 5px solid var(--gold); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 24px; }
.answer-box__label { margin: 0 0 6px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.answer-box p:last-child { margin-bottom: 0; }

/* ---------- Team / projects ---------- */
.team { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.team__member { margin: 0; text-align: center; }
.team__member img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); }
.team__member figcaption { margin-top: 8px; }
.team__member strong { display: block; color: var(--forest); }
.team__member span { font-size: .9rem; color: var(--ink-soft); }
.project { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.project img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.project__body { padding: 18px 20px; }
.project__meta { font-size: .8rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4em; }

/* ---------- Cost table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.cost-table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--bg); }
.cost-table caption { text-align: left; padding: 12px 14px; font-weight: 700; color: var(--forest); }
.cost-table th, .cost-table td { padding: 12px 14px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.cost-table thead th { background: var(--forest); color: var(--white); border-top: 0; text-transform: uppercase; font-size: .85rem; letter-spacing: .05em; }
.cost-table tbody th { font-weight: 700; color: var(--forest); }
.cost-table tbody tr:nth-child(even) { background: var(--bg-alt); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative;
  font-weight: 700; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; line-height: 1; color: var(--green);
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] { border-color: var(--green); }
.faq summary h2, .faq summary h3 { display: inline; margin: 0; font-family: var(--font-body); font-stretch: normal; font-size: 1.05rem; font-weight: 700; text-transform: none; letter-spacing: 0; color: inherit; }
.faq details > div { padding: 0 18px 16px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- CTA strip ---------- */
.phone-strip { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; text-align: center; }
.phone-strip h2 { margin-bottom: .3em; }
.phone-strip .sub { color: var(--ink-soft); max-width: 60ch; margin: 0 auto 20px; }
.phone-strip .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* Brand variant: dark closing band (benchmark "get started" band) — default for lead-gen */
.phone-strip--brand { background: linear-gradient(160deg, var(--green) 0%, var(--forest) 100%); border: 0; color: var(--white); }
.phone-strip--brand h2 { color: var(--white); }
.phone-strip--brand .sub { color: rgba(255, 255, 255, .88); }

/* ---------- Image band ---------- */
.image-band { padding: 18px 0; }
.image-band img { width: 100%; max-height: 320px; object-fit: cover; border-radius: var(--radius-lg); }

/* ---------- Split layout ---------- */
.split { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }

/* ---------- Forms ---------- */
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lift); }
.form-card--forest { background: var(--forest); color: var(--white); border-color: var(--forest); }
.form-card--forest h2, .form-card--forest h3, .form-card--forest legend { color: var(--white); }
.form-card--forest .form-note { color: rgba(255,255,255,.8); }
.field { margin-bottom: 14px; }
.field label, .field > span { display: block; font-weight: 600; margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #B9C2BB; border-radius: var(--radius);
  font: inherit; color: var(--ink); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: 3px solid rgba(242,179,61,.6); outline-offset: 0; }
.form-row { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
.field--check { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; margin-bottom: 14px; cursor: pointer; }
.field--check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--green); }
.form-note { font-size: .88rem; color: var(--ink-soft); margin: 10px 0 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Quote calculator ---------- */
.calc fieldset { border: 0; margin: 0 0 16px; padding: 0; }
.calc legend { font: 800 1.15rem/1.2 var(--font-head); font-stretch: condensed; text-transform: uppercase; margin-bottom: 10px; color: var(--forest); padding: 0; }
.calc__options { display: grid; gap: 8px; grid-template-columns: 1fr; }
.calc__option { position: relative; }
.calc__option input { position: absolute; opacity: 0; }
.calc__option span {
  display: block; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius);
  background: var(--bg-alt); color: var(--ink); font-weight: 600; cursor: pointer;
}
.calc__option input:checked + span { border-color: var(--green); background: var(--bg-tint); box-shadow: inset 4px 0 0 var(--green); }
.calc__option input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.calc__size { display: grid; grid-template-columns: 1fr 110px; gap: 10px; align-items: end; }
.calc__live { display: none; margin: 4px 0 18px; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-tint); border: 1px dashed var(--green); color: var(--ink); }
.calc--js .calc__live { display: block; }
.calc--js .calc__nojs { display: none; }
.calc__result { display: block; font: 800 1.7rem/1.2 var(--font-head); font-stretch: condensed; color: var(--forest); }
.calc__note { display: block; margin-top: 4px; font-size: .88rem; color: var(--ink-soft); }
.calc__divider { border: 0; border-top: 1px solid var(--line); margin: 6px 0 18px; }
.form-card--forest .calc__divider { border-top-color: rgba(255,255,255,.2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: rgba(255,255,255,.88); padding: 48px 0 0; font-size: .95rem; }
.site-footer h2 { font-family: var(--font-body); font-stretch: normal; font-size: .95rem; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-nap { font-style: normal; }
.footer-bottom { margin-top: 32px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
  background: var(--white); box-shadow: 0 -2px 12px rgba(0,0,0,.15);
}
.sticky-cta .btn { min-height: 50px; padding: 8px; font-size: .95rem; }

/* ---------- Lander header ---------- */
.lp-header { background: var(--forest); }
.lp-header .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; }
.lp-header .header-contact__item { font-weight: 700; }
.lp-header a.header-contact__item.wc-phone { display: none; }

/* ---------- Spacing utilities ---------- */
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }

/* ==========================================================================
   ≥ 600px
   ========================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .linklist { grid-template-columns: 1fr 1fr; }
  .area-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tier2 { columns: 3; }
  .trust-strip { grid-template-columns: repeat(3, 1fr); }
  .ba-grid { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .calc__options { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-contact__item--meta { display: inline; }
  .section { padding: 72px 0; }
}

/* ==========================================================================
   ≥ 900px — desktop nav, sticky header, hero split, 3–4 col grids
   ========================================================================== */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }

  .site-header { position: sticky; top: 0; box-shadow: 0 2px 14px rgba(0,0,0,.18); }
  .header-top__inner, .lp-header .wrap { justify-content: space-between; }
  .header-contact { display: flex; }
  .lp-header a.header-contact__item.wc-phone { display: inline-flex; }
  [id] { scroll-margin-top: 130px; }

  .nav__toggle { display: none; }
  .nav__links, .nav__checkbox:checked ~ .nav__links {
    display: flex; position: static; align-items: center; gap: 4px; width: 100%; max-height: none; overflow: visible;
    background: transparent; padding: 0; box-shadow: none;
  }
  .nav__links > li { position: relative; }
  .nav__links > li > a { padding: 14px 12px; font-size: .9rem; }
  .nav__links > li:last-child { margin-left: auto; }
  .nav__links .nav__quote { margin: 0; padding: 10px 18px; }
  .nav__item--dropdown > a::after { content: " ▾"; font-size: .8em; }
  .nav__sub {
    display: none; position: absolute; top: 100%; left: 0; min-width: 270px; margin: 0; padding: 8px 0;
    background: var(--white); border: 0; border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lift);
  }
  .nav__sub a { color: var(--ink); padding: 9px 18px; font-weight: 600; }
  .nav__sub a:hover { background: var(--bg-tint); color: var(--green); }
  .nav__item--dropdown:hover > .nav__sub,
  .nav__item--dropdown:focus-within > .nav__sub { display: block; }

  .hero { padding: 72px 0 64px; }
  .hero__split:has(> .hero__photo), .hero__split:has(> #quote) { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .linklist { grid-template-columns: repeat(3, 1fr); }
  .area-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust-strip { grid-template-columns: repeat(5, auto); justify-content: space-between; }
  .ba-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(4, 1fr); }
  .steps--row { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .steps--row > li { padding: 76px 20px 22px; text-align: center; }
  .steps--row > li::before { left: 50%; top: 20px; transform: translateX(-50%); width: 46px; height: 46px; font-size: 1.3rem; }
  .split { grid-template-columns: 60fr 40fr; gap: 48px; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--media { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .btn:hover, .card--service:hover, .area-link:hover { transform: none; }
}

/* ---------- Homepage quote step 1 (approved 2026-10-30) ---------- */
.split--quote { align-items: start; }
.quote-step { border-top: 5px solid var(--gold); }
.quote-step .kicker { margin-bottom: 4px; }
.quote-step__title { margin-bottom: 12px; }
.quote-step legend { font-weight: 700; color: var(--forest); margin-bottom: 8px; padding: 0; }
.quote-step fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.calc__options--stack { grid-template-columns: 1fr !important; }

/* ---------- Neighbourhood cards on town pages (approved 2026-10-30) ---------- */
.hood-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card--hood { border-top-color: var(--gold); }
.card--hood h3 { font-size: 1.05rem; }
.card--hood p { font-size: .97rem; color: var(--ink-soft); }

@media (min-width: 900px) {
  .split--quote { grid-template-columns: 1.25fr .75fr; gap: 48px; }
  .quote-step { position: sticky; top: 140px; }
}

/* ---------- Long-form text (legal, policy pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); }
.prose ul { padding-left: 1.2em; }
.linklist--plain a { box-shadow: none; }

/* Grid/flex children may shrink below their content (long emails, URLs) */
.split > *, .grid > *, .footer-grid > * { min-width: 0; }
.footer-nap, .form-card address { overflow-wrap: anywhere; }

/* ---------- Recent Work gallery: 6-card project grid with overlay labels ---------- */
.section--work { background: var(--bg); }
.work-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-card { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-lg, 10px); background: var(--bg-tint); box-shadow: var(--shadow); }
.work-card picture, .work-card img { display: block; width: 100%; height: 100%; }
.work-card img { object-fit: cover; object-position: center 62%; transition: transform .45s ease; }
.work-card:hover img { transform: scale(1.04); }
.work-card__label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px;
  background: linear-gradient(to top, rgba(0, 31, 17, .9), rgba(0, 31, 17, 0));
  color: var(--white); font: 800 .72rem/1.25 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
}
.work-card__label::before { content: ""; display: block; width: 26px; height: 3px; margin-bottom: 7px; background: var(--gold); }
.hero__photo picture { display: block; }
.hero__photo img, .split--media img { object-position: center 62%; }
.media-figure { margin: 0; }
.media-figure figcaption { margin-top: 8px; font-size: .88rem; color: var(--ink-soft); }
@media (min-width: 600px) { .work-grid { gap: 16px; } .work-card__label { font-size: .8rem; padding: 36px 16px 14px; } }
@media (min-width: 900px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .work-card { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: reduce) { .work-card img { transition: none; } }
/* Our Work page: one H3 + work-grid per photo group */
.work-group__title { margin: 40px 0 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.section__head + .work-group__title { margin-top: 8px; padding-top: 0; border-top: 0; }
.work-group__count { font-weight: 400; color: var(--ink-soft); font-size: .85em; }

