/* ==========================================================================
   Galway Tree Surgeons — Theme stylesheet
   --------------------------------------------------------------------------
   1. Tokens          6. Header & navigation    11. Reviews
   2. Base            7. Heroes                 12. Forms
   3. Layout          8. Sections & cards       13. Sidebar / service single
   4. Typography      9. Process, FAQ           14. Footer & CTA band
   5. Buttons        10. Location / towns       15. Utilities & motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --green-950: #0c1d14;
  --green-900: #12291c;
  --green-800: #1a3a28;
  --green-700: #234f36;
  --green-600: #2e6a47;
  --green-500: #3e8a5b;
  --green-200: #c9dccd;
  --green-100: #e3ece4;
  --green-50:  #f1f6f1;

  --cream: #f8f5ef;
  --sand:  #efe8da;
  --white: #ffffff;

  --ink:   #16201a;
  --body:  #3b463e;
  --muted: #69736b;
  --line:  #e4ded2;

  --accent:     #ef8a23;   /* hi-vis orange — every primary call to action */
  --accent-600: #d8731a;
  --accent-50:  #fff3e5;
  --star:       #f5b301;

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Figtree", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(12, 29, 20, .06), 0 2px 8px rgba(12, 29, 20, .05);
  --shadow:    0 14px 34px -14px rgba(12, 29, 20, .22);
  --shadow-lg: 0 34px 70px -24px rgba(12, 29, 20, .40);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --topbar-h: 40px;
  --nav-h: 78px;
  --section-y: clamp(64px, 9vw, 112px);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  overflow-x: clip;
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-600); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section--cream { background: var(--cream); }
.section--sand  { background: var(--sand); }
.section--green { background: var(--green-900); color: rgba(255, 255, 255, .78); }
.section--green h2, .section--green h3, .section--green h4 { color: #fff; }

.grid { display: grid; gap: clamp(20px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--wide-left { grid-template-columns: 1.1fr .9fr; }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .split, .split--wide-left { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* 4. Typography ------------------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--green .eyebrow, .on-dark .eyebrow { color: var(--green-200); }

.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--body); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 680px; }

.prose { color: var(--body); }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 2em 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--green-500); margin-top: .3em; stroke-width: 2.6; }
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.on-dark .check-list .icon, .section--green .check-list .icon { color: var(--accent); }
@media (max-width: 640px) { .check-list--2 { grid-template-columns: 1fr; } }

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--green-700); --btn-fg: #fff; --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-bd); border-radius: var(--radius-pill);
  text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--accent { --btn-bg: var(--accent); --btn-fg: #1b1205; }
.btn--accent:hover { --btn-bg: var(--accent-600); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--green-800); }
.btn--ghost { --btn-bg: rgba(255,255,255,.06); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--outline:hover { --btn-bd: var(--ink); --btn-fg: var(--ink); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--lg { min-height: 58px; padding: 14px 30px; font-size: 1.06rem; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .94rem; }
.btn--block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--green-700); text-decoration: none;
}
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }

/* Phone "pill" used in heroes and CTA bands */
.phone-cta { display: inline-flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.phone-cta__icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #1b1205;
  box-shadow: 0 0 0 6px rgba(239, 138, 35, .22);
}
.phone-cta__icon .icon { width: 22px; height: 22px; }
.phone-cta small { display: block; font-size: .8rem; opacity: .75; letter-spacing: .04em; }
.phone-cta strong { display: block; font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1.1; }
.phone-cta:hover { color: inherit; }
.phone-cta:hover .phone-cta__icon { background: #fff; }

/* 6. Header & navigation -------------------------------------------------- */
.site-header {
  position: sticky; top: calc(var(--topbar-h) * -1); z-index: 100;
  background: var(--white);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(12, 29, 20, .25); }

.topbar { background: var(--green-950); color: rgba(255,255,255,.78); font-size: .86rem; }
.topbar__inner { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__item { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__item .icon { color: var(--accent); }
.topbar__links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar__links li { display: flex; align-items: center; gap: 7px; }
.topbar__links a { color: inherit; text-decoration: none; }
.topbar__links a:hover { color: #fff; }
.topbar__stars { color: var(--star); letter-spacing: 1px; }
.topbar__emergency strong { color: #fff; }

.navbar__inner { height: var(--nav-h); display: flex; align-items: center; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 46px; height: 46px; flex: none; transition: width .3s, height .3s; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; }
.brand__tag { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.primary-nav { margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s;
}
.menu > li > a:hover, .menu > li:focus-within > a { background: var(--green-50); color: var(--green-700); }
.menu > li.current-menu-item > a,
.menu > li.current-menu-ancestor > a,
.menu > li > a[aria-current="page"] { color: var(--green-600); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.menu-item-has-children > a::after {
  content: ""; width: 7px; height: 7px; margin-left: 2px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); opacity: .6;
}
.submenu-toggle { display: none; }

.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
  list-style: none; margin: 0; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.menu > li:hover > .sub-menu,
.menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--body); font-size: .95rem; font-weight: 500; text-decoration: none;
}
.sub-menu a:hover { background: var(--green-50); color: var(--green-700); }
.sub-menu .menu-item--all a { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 700; color: var(--green-700); }

/* Services mega menu: two columns of links */
.menu-item--mega > .sub-menu { left: 50%; transform: translate(-50%, 8px); width: 520px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; }
.menu-item--mega:hover > .sub-menu,
.menu-item--mega:focus-within > .sub-menu { transform: translate(-50%, 0); }
.menu-item--mega .menu-item--all { grid-column: 1 / -1; }

.navbar__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header-phone { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.header-phone__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); transition: background .2s, color .2s; }
.header-phone:hover .header-phone__icon { background: var(--accent); color: #1b1205; }
.header-phone__text small { display: block; font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.header-phone__text strong { display: block; font-family: var(--font-display); font-size: 1.08rem; line-height: 1.1; white-space: nowrap; }
.header-phone:hover { color: var(--ink); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-mobile-extras { display: none; }
.nav-backdrop { display: none; }

/* Home-page variant: transparent, taller header over the hero.
   Same markup — switched on by <body class="home"> (WordPress adds this). */
body.home .site-header { position: fixed; top: 0; left: 0; right: 0; background: transparent; }
body.home .topbar { background: transparent; border-bottom: 1px solid rgba(255,255,255,.14); transition: margin .3s, opacity .3s; }
body.home .navbar__inner { height: 96px; transition: height .3s; }
body.home .brand, body.home .menu > li > a, body.home .header-phone { color: #fff; }
body.home .brand__tag, body.home .header-phone__text small { color: rgba(255,255,255,.7); }
body.home .brand__mark { width: 56px; height: 56px; }
body.home .brand__name { font-size: 1.38rem; }
body.home .menu > li > a:hover, body.home .menu > li:focus-within > a { background: rgba(255,255,255,.12); color: #fff; }
body.home .header-phone__icon { background: rgba(255,255,255,.14); color: #fff; }
body.home .nav-toggle { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }

body.home .site-header.is-scrolled { background: #fff; }
body.home .site-header.is-scrolled .topbar { margin-top: calc(var(--topbar-h) * -1); opacity: 0; }
body.home .site-header.is-scrolled .navbar__inner { height: var(--nav-h); }
body.home .site-header.is-scrolled .brand,
body.home .site-header.is-scrolled .menu > li > a,
body.home .site-header.is-scrolled .header-phone { color: var(--ink); }
body.home .site-header.is-scrolled .brand__tag,
body.home .site-header.is-scrolled .header-phone__text small { color: var(--muted); }
body.home .site-header.is-scrolled .brand__mark { width: 46px; height: 46px; }
body.home .site-header.is-scrolled .brand__name { font-size: 1.22rem; }
body.home .site-header.is-scrolled .menu > li > a:hover { background: var(--green-50); color: var(--green-700); }
body.home .site-header.is-scrolled .header-phone__icon { background: var(--green-50); color: var(--green-700); }
body.home .site-header.is-scrolled .nav-toggle { background: #fff; border-color: var(--line); color: var(--ink); }

@media (max-width: 1320px) {
  .header-phone__text { display: none; }
  .menu > li > a { padding: 10px 11px; }
}
@media (max-width: 1080px) {
  .topbar__links li:not(.topbar__rating) { display: none; }
  .nav-toggle { display: inline-flex; }
  .navbar__actions { margin-left: auto; }
  .primary-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
    width: min(400px, 88vw); margin: 0; padding: 88px 22px 28px;
    background: #fff; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility .3s;
    box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column;
  }
  .nav-open .primary-nav { transform: none; visibility: visible; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 110; background: rgba(12,29,20,.5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-open .nav-toggle { position: relative; z-index: 130; background: #fff !important; color: var(--ink) !important; border-color: var(--line) !important; }
  .nav-open .nav-toggle .icon-menu { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { z-index: 200; }

  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
  .menu > li > a, body.home .menu > li > a, body.home .site-header.is-scrolled .menu > li > a,
  .menu > li:focus-within > a, body.home .menu > li:focus-within > a, body.home .menu > li > a:hover {
    background: none; flex: 1; color: var(--ink); padding: 16px 4px; font-size: 1.08rem; border-radius: 0; box-shadow: none; }
  .menu > li > a:hover { background: none; }
  .menu-item-has-children > a::after { display: none; }
  .submenu-toggle {
    display: grid; place-items: center; width: 42px; height: 42px;
    border: 0; border-radius: 50%; background: var(--green-50); color: var(--green-700);
  }
  .submenu-toggle .icon { transition: transform .2s; }
  .menu > li.is-open .submenu-toggle .icon { transform: rotate(180deg); }
  .sub-menu, .menu-item--mega > .sub-menu {
    position: static; width: 100%; min-width: 0; display: none;
    opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 12px; background: transparent;
  }
  .menu > li.is-open > .sub-menu { display: block; }
  .menu-item--mega > .sub-menu { grid-template-columns: 1fr; }
  .menu > li.is-open.menu-item--mega > .sub-menu { display: grid; }
  .sub-menu a { padding: 9px 12px; }

  .nav-mobile-extras { display: grid; gap: 12px; margin-top: auto; padding-top: 28px; }
  .nav-mobile-extras p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); text-align: center; }
}
@media (max-width: 560px) {
  :root { --nav-h: 68px; }
  body.home .navbar__inner { height: 76px; }
  .navbar__actions .btn, .navbar__actions .header-phone { display: none; }
  .brand__mark, body.home .brand__mark { width: 40px; height: 40px; }
  .brand__name, body.home .brand__name { font-size: 1.06rem; }
  .brand__tag { font-size: .64rem; }
  .topbar__inner { justify-content: center; }
  .topbar__links { display: none; }
  .topbar { font-size: .8rem; }
}

/* 7. Heroes ---------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 920px);
  display: flex; align-items: center;
  padding: calc(var(--topbar-h) + 96px + 40px) 0 clamp(56px, 8vw, 96px);
  color: #fff; overflow: hidden;
  background: var(--green-900);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,29,20,.92) 0%, rgba(12,29,20,.78) 45%, rgba(12,29,20,.35) 100%),
    linear-gradient(0deg, rgba(12,29,20,.6) 0%, rgba(12,29,20,0) 40%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: rgba(255,255,255,.85); max-width: 600px; margin-bottom: 30px; }

.rating-badge {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 16px 8px 10px; margin-bottom: 24px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  font-size: .92rem; font-weight: 600; color: #fff;
  backdrop-filter: blur(6px);
}
.rating-badge .stars { color: var(--star); display: inline-flex; gap: 1px; }
.rating-badge .stars .icon { width: 16px; height: 16px; }
.rating-badge--light { background: #fff; border-color: var(--line); color: var(--ink); }

.stars { color: var(--star); display: inline-flex; gap: 2px; }
.stars .icon { width: 18px; height: 18px; }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-bottom: 34px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; font-weight: 600; color: rgba(255,255,255,.9); }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks .icon { color: var(--accent); stroke-width: 3; }

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
}
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--topbar-h) + 76px + 32px); }
}

/* Inner-page hero */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
  background: var(--green-900); color: rgba(255,255,255,.82);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12,29,20,.95) 0%, rgba(12,29,20,.84) 50%, rgba(12,29,20,.55) 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 820px; }
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 680px; margin-bottom: 30px; }
.page-hero .eyebrow { color: var(--green-200); }
.page-hero__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding: 0; list-style: none; font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.88); }
.page-hero__meta li { display: flex; align-items: center; gap: 8px; }
.page-hero__meta .icon { color: var(--accent); }
.page-hero__meta .stars .icon { width: 15px; height: 15px; color: var(--star); }

.page-hero__card {
  width: 320px; padding: 26px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px); color: #fff;
}
.page-hero__card p { font-size: .95rem; color: rgba(255,255,255,.78); margin: 14px 0 18px; }
@media (max-width: 960px) {
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__card { display: none; }
}

.breadcrumbs { margin-bottom: 26px; font-size: .9rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); }
.breadcrumbs li + li::before { content: "/"; opacity: .45; }
.breadcrumbs a { color: rgba(255,255,255,.88); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: #fff; font-weight: 600; }

/* 8. Sections & cards ------------------------------------------------------ */

/* Trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip--overlap { position: relative; z-index: 2; margin-top: -56px; background: transparent; border: 0; }
.trust-strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 16px; padding: 28px 26px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item__icon { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); }
.trust-item__icon .icon { width: 26px; height: 26px; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.trust-item span { display: block; font-size: .92rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
@media (max-width: 960px) {
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust-strip--overlap { margin-top: -32px; }
  .trust-item { padding: 20px 16px; gap: 12px; flex-direction: column; align-items: flex-start; }
  .trust-item__icon { width: 42px; height: 42px; }
  .trust-item strong { font-size: 1.4rem; }
}

/* Feature cards (big image cards) */
.feature-card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 460px; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(26px, 3vw, 40px); color: rgba(255,255,255,.85);
  background: var(--green-800);
}
.feature-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,29,20,.95) 0%, rgba(12,29,20,.55) 50%, rgba(12,29,20,.05) 100%); }
.feature-card:hover img { transform: scale(1.05); }
.feature-card h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.feature-card p { max-width: 460px; margin-bottom: 22px; }
.feature-card__tag { position: absolute; top: 24px; left: 24px; padding: 6px 14px; border-radius: var(--radius-pill); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(4px); }
.feature-card .text-link { color: #fff; }
.feature-card .text-link .icon { color: var(--accent); }
.feature-card a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Service cards */
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-100); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__tag { position: absolute; left: 16px; top: 16px; padding: 5px 12px; border-radius: var(--radius-pill); background: #fff; color: var(--green-700); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.service-card h3 { margin-bottom: 10px; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card p { font-size: .98rem; color: var(--muted); margin-bottom: 20px; }
.service-card .text-link { margin-top: auto; }
.service-card:hover .text-link .icon { transform: translateX(4px); }

/* Compact service tiles (icon + name), used for "all services" lists */
.service-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.service-tile {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}
.service-tile__icon { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); transition: background .2s, color .2s; }
.service-tile .icon-arrow { margin-left: auto; color: var(--muted); transition: transform .2s, color .2s; }
.service-tile:hover { border-color: var(--green-500); color: var(--green-700); transform: translateY(-2px); }
.service-tile:hover .service-tile__icon { background: var(--green-600); color: #fff; }
.service-tile:hover .icon-arrow { color: var(--accent); transform: translateX(3px); }

/* Info cards (icon, title, text) */
.info-card { padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); height: 100%; }
.info-card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; background: var(--accent-50); color: var(--accent-600); }
.info-card__icon .icon { width: 28px; height: 28px; }
.info-card h3 { margin-bottom: 10px; }
.info-card p { color: var(--muted); font-size: .98rem; }
.section--green .info-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section--green .info-card p { color: rgba(255,255,255,.7); }
.section--green .info-card__icon { background: rgba(239,138,35,.14); color: var(--accent); }

/* Media with floating badge */
.media-stack { position: relative; }
.media-stack__main { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; box-shadow: var(--shadow); }
.media-stack__badge {
  position: absolute; right: -18px; bottom: -26px;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 26px; border-radius: var(--radius-lg);
  background: var(--accent); color: #1b1205; box-shadow: var(--shadow-lg);
}
.media-stack__badge strong { font-family: var(--font-display); font-size: 3rem; line-height: .9; letter-spacing: -0.04em; }
.media-stack__badge span { font-weight: 700; line-height: 1.25; font-size: .95rem; }
.media-stack__accent { position: absolute; left: -22px; top: -22px; width: 120px; height: 120px; border-radius: var(--radius-lg); background: var(--green-100); z-index: -1; }
@media (max-width: 640px) {
  .media-stack__badge { right: 12px; bottom: -22px; padding: 14px 18px; }
  .media-stack__badge strong { font-size: 2.3rem; }
  .media-stack__accent { display: none; }
}

/* Emergency band */
.emergency-band { background: var(--accent); color: #1b1205; }
.emergency-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-block: 34px; }
.emergency-band__text { display: flex; align-items: center; gap: 20px; }
.emergency-band__icon { width: 60px; height: 60px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #1b1205; color: var(--accent); }
.emergency-band__icon .icon { width: 28px; height: 28px; }
.emergency-band h2 { color: #1b1205; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 4px; }
.emergency-band p { margin: 0; font-weight: 500; }
.emergency-band .btn { --btn-bg: #1b1205; --btn-fg: #fff; }
.emergency-band .btn:hover { --btn-bg: #fff; --btn-fg: #1b1205; }

/* Inline CTA panel (mid-page) */
.cta-panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg);
  background: var(--green-800); color: rgba(255,255,255,.82);
}
.cta-panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(239,138,35,.35), rgba(239,138,35,0) 70%); z-index: -1; }
.cta-panel h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
.cta-panel p { margin: 0; max-width: 560px; }
.cta-panel .btn-group { justify-content: flex-end; }
@media (max-width: 860px) { .cta-panel { grid-template-columns: 1fr; } .cta-panel .btn-group { justify-content: flex-start; } }

/* County cards */
.county-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  min-height: 180px; padding: 26px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: background .25s, color .25s, transform .25s;
}
.county-card .icon-pin { width: 30px; height: 30px; color: var(--green-500); }
.county-card h3 { margin: 0; }
.county-card span { display: flex; align-items: center; justify-content: space-between; font-size: .92rem; color: var(--muted); }
.county-card:hover { background: var(--green-800); color: #fff; transform: translateY(-4px); }
.county-card:hover h3 { color: #fff; }
.county-card:hover span { color: rgba(255,255,255,.75); }
.county-card:hover .icon-pin { color: var(--accent); }
.county-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1024px) { .county-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .county-grid { grid-template-columns: repeat(2, 1fr); } .county-card { min-height: 140px; padding: 20px; } }

/* Filter tabs */
.filter-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: var(--radius-pill); background: var(--cream); border: 1px solid var(--line); }
.filter-tabs button {
  border: 0; background: transparent; color: var(--body);
  padding: 10px 20px; border-radius: var(--radius-pill); font-weight: 600; font-size: .95rem;
}
.filter-tabs button[aria-pressed="true"] { background: var(--green-700); color: #fff; }
.filter-tabs button:not([aria-pressed="true"]):hover { background: #fff; }
.service-card[hidden] { display: none; }

/* Technique cards (What We Do) */
.technique-card { position: relative; padding: 30px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); height: 100%; }
.technique-card__num { font-family: var(--font-display); font-size: .9rem; font-weight: 700; color: var(--accent-600); letter-spacing: .06em; margin-bottom: 18px; display: block; }
.technique-card h3 { margin-bottom: 8px; }
.technique-card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 230px); gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--green-100); }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure:last-child { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(12,29,20,.7); color: #fff; font-size: .82rem; font-weight: 500; width: fit-content; backdrop-filter: blur(4px); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery figure { aspect-ratio: 1; }
  .gallery figure:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 16/10; }
  .gallery figure:last-child { grid-column: span 2; aspect-ratio: 16/10; }
}

/* 9. Process & FAQ -------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--green-200) 0 8px, transparent 8px 16px); }
.process-step { position: relative; text-align: center; padding: 0 8px; }
.process-step__num {
  counter-increment: step;
  width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: #fff; border: 2px solid var(--green-200); color: var(--green-700);
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
}
.process-step__num::before { content: counter(step, decimal-leading-zero); }
.process-step:last-child .process-step__num { background: var(--accent); border-color: var(--accent); color: #1b1205; }
.process-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: .97rem; margin: 0; }
.section--cream .process-step__num { background: var(--cream); }
.section--cream .process-step:last-child .process-step__num { background: var(--accent); }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process::before { display: none; }
}
@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
  .process-step { text-align: left; display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; padding: 0; }
  .process-step__num { margin: 0; grid-row: span 2; }
}

.process--compact { grid-template-columns: 1fr; gap: 0; }
.process--compact::before { display: none; }
.process--compact .process-step { text-align: left; display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding: 0 0 26px; }
.process--compact .process-step__num { width: 52px; height: 52px; margin: 0; grid-row: span 2; font-size: 1.1rem; }
.process--compact .process-step:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 56px; bottom: 4px; width: 2px; background: var(--green-100); }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--green-200); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; width: 32px; height: 32px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-50); color: var(--green-700);
  font-size: 1.4rem; font-weight: 500; transition: transform .2s, background .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #1b1205; }
.faq details > div { padding: 0 22px 22px; color: var(--body); }

/* 10. Location / towns ---------------------------------------------------- */
.town-finder { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.town-search { position: relative; width: min(360px, 100%); }
.town-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.town-search input { padding-left: 44px !important; }
.town-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.town-list a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--line);
  color: var(--body); font-size: .93rem; font-weight: 500; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.town-list a:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.town-list a[aria-current] { background: var(--accent); border-color: var(--accent); color: #1b1205; font-weight: 700; }
.town-list li[hidden] { display: none; }
.town-empty { display: none; padding: 18px; border-radius: var(--radius); background: var(--accent-50); color: var(--ink); }
.town-empty.is-visible { display: block; }

.quick-towns { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.quick-towns a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--green-50); color: var(--green-700); font-size: .9rem; font-weight: 600; text-decoration: none; }
.quick-towns a:hover { background: var(--green-700); color: #fff; }
.quick-towns .icon { width: 14px; height: 14px; }

.loc-service { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); height: 100%; transition: border-color .2s, box-shadow .2s; position: relative; }
.loc-service:hover { border-color: var(--green-200); box-shadow: var(--shadow); }
.loc-service__icon { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); }
.loc-service__icon .icon { width: 24px; height: 24px; }
.loc-service h3 { font-size: 1.15rem; margin-bottom: 6px; }
.loc-service p { font-size: .95rem; color: var(--muted); margin-bottom: 12px; }
.loc-service .text-link { font-size: .93rem; }
.loc-service .text-link::after { content: ""; position: absolute; inset: 0; }

.other-counties { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); align-items: center; }
.other-counties strong { color: var(--ink); margin-right: 6px; }

/* 11. Reviews ------------------------------------------------------------- */
.review-summary { display: flex; align-items: center; gap: 18px; padding: 14px 22px 14px 14px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.review-summary__score { width: 58px; height: 58px; border-radius: 50%; background: var(--green-800); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; }
.review-summary small { display: block; color: var(--muted); font-size: .88rem; }
.review-summary strong { color: var(--ink); }

.review-card {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 32px 30px 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); height: 100%;
}
.review-card::before { content: "\201C"; position: absolute; right: 26px; top: 6px; font-family: Georgia, serif; font-size: 6rem; line-height: 1; color: var(--green-100); }
.review-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.65; color: var(--body); flex: 1; }
.review-card footer { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-card__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); font-weight: 800; font-family: var(--font-display); }
.review-card cite { font-style: normal; font-weight: 700; color: var(--ink); display: block; }
.review-card footer small { color: var(--muted); font-size: .86rem; }

.review-feature { max-width: 900px; margin: 0 auto; text-align: center; }
.review-feature blockquote { margin: 18px 0 24px; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.4; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.review-feature cite { font-style: normal; font-weight: 700; color: var(--ink); }
.review-feature small { display: block; color: var(--muted); }

/* 12. Forms --------------------------------------------------------------- */
.quote-card {
  position: relative; padding: clamp(26px, 3vw, 36px); border-radius: var(--radius-lg);
  background: #fff; color: var(--body); box-shadow: var(--shadow-lg);
}
.quote-card__head { margin-bottom: 22px; }
.quote-card__head h2, .quote-card__head h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: 6px; }
.quote-card__head p { color: var(--muted); font-size: .96rem; margin: 0; }
.quote-card__ribbon {
  position: absolute; top: -14px; right: 26px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--accent); color: #1b1205; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.quote-card--flat { box-shadow: none; border: 1px solid var(--line); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

.field label, .field legend { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 700; color: var(--ink); }
.field label .req { color: var(--accent-600); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, background .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2316201a' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: #fff; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(62,138,91,.15); }
.field input::placeholder, .field textarea::placeholder { color: #9aa29c; }
.field input[type="file"] { padding: 11px 14px; min-height: 0; font-size: .92rem; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: var(--cream); font-weight: 600; cursor: pointer; }
.radio-row input { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--green-600); appearance: auto; -webkit-appearance: auto; }
.radio-row label:has(input:checked) { border-color: var(--green-500); background: var(--green-50); }

.form-submit { margin-top: 18px; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: .86rem; color: var(--muted); text-align: center; }
.form-note .icon { color: var(--green-500); }
.form-success { display: none; text-align: center; padding: 28px 10px; }
.form-success__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); }
.form-success__icon .icon { width: 30px; height: 30px; stroke-width: 3; }
.is-sent .form-success { display: block; }
.is-sent form { display: none; }

/* 13. Sidebar / service single ------------------------------------------- */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.sidebar { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 1024px) {
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

.call-card {
  padding: 26px; border-radius: var(--radius-lg);
  background: var(--green-800); color: rgba(255,255,255,.8);
}
.call-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.call-card p { font-size: .94rem; margin-bottom: 18px; }
.call-card .phone-cta { color: #fff; }

.side-nav { padding: 24px; border-radius: var(--radius-lg); background: var(--cream); }
.side-nav h3 { font-size: 1.1rem; margin-bottom: 12px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--body); font-weight: 500; text-decoration: none; }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a:hover { color: var(--green-700); }
.side-nav a .icon { color: var(--muted); width: 16px; }
.side-nav a[aria-current] { color: var(--green-700); font-weight: 700; }
.side-nav a[aria-current] .icon { color: var(--accent); }

.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0 8px; }
.problem-grid div { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--cream); font-weight: 600; color: var(--ink); }
.problem-grid .icon { color: var(--accent-600); width: 22px; height: 22px; }
@media (max-width: 520px) { .problem-grid { grid-template-columns: 1fr; } }

.content-figure { margin: 34px 0; }
.content-figure img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16/9; object-fit: cover; }
.content-figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }

.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 40px 0; padding: 28px 30px; border-radius: var(--radius-lg); background: var(--accent-50); border: 1px solid #f7d7b4; }
.inline-cta h3 { margin: 0 0 4px; font-size: 1.3rem; }
.inline-cta p { margin: 0; color: var(--body); font-size: .97rem; }

.content-block + .content-block { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-stack { display: grid; gap: 16px; }
.contact-tile { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.contact-tile__icon { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); }
.contact-tile__icon .icon { width: 24px; height: 24px; }
.contact-tile h3 { font-size: 1.08rem; margin-bottom: 4px; }
.contact-tile p, .contact-tile a { font-size: .97rem; margin: 0; }
.contact-tile a { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-tile a:hover { color: var(--accent-600); }
.contact-tile--accent { background: var(--accent); border-color: var(--accent); color: #1b1205; }
.contact-tile--accent .contact-tile__icon { background: #1b1205; color: var(--accent); }
.contact-tile--accent h3, .contact-tile--accent a { color: #1b1205; }
.contact-tile--accent .big { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; display: block; margin: 4px 0; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 6px; }
.hours-table td { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.hours-table tr:last-child td { border-bottom: 0; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--green-100); }
.map-embed iframe { width: 100%; height: 420px; border: 0; }

.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.next-step { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.next-step__num { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green-800); color: #fff; font-family: var(--font-display); font-weight: 800; }
.next-step h3 { font-size: 1.08rem; margin-bottom: 4px; }
.next-step p { font-size: .94rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .next-steps { grid-template-columns: 1fr; } }

/* 14. Footer & CTA band --------------------------------------------------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--green-800); color: rgba(255,255,255,.82); }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--green-800) 30%, rgba(26,58,40,.7) 100%); }
.cta-band__inner { display: grid; grid-template-columns: 1.2fr auto; gap: 32px 56px; align-items: center; padding-block: clamp(56px, 7vw, 88px); }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 14px; }
.cta-band p { font-size: 1.1rem; max-width: 560px; margin: 0; }
.cta-band__actions { display: grid; gap: 18px; justify-items: start; }
.cta-band .phone-cta { color: #fff; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }

.site-footer { background: var(--green-950); color: rgba(255,255,255,.66); font-size: .96rem; }
.footer-main { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(56px, 7vw, 80px) 48px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .02em; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand__tag { color: rgba(255,255,255,.55); }
.footer-brand p { max-width: 340px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.85); }
.footer-badges .icon { color: var(--accent); width: 14px; height: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links--2col { grid-template-columns: 1fr; }
.footer-contact { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); margin-top: .25em; }
.footer-contact strong { color: #fff; font-family: var(--font-display); font-size: 1.25rem; display: block; line-height: 1.2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 22px; font-size: .86rem; color: rgba(255,255,255,.5); }
.footer-bottom__inner p { margin: 0; }
@media (max-width: 1024px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; gap: 32px; } }

/* Sticky mobile action bar */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(12,29,20,.25);
  }
  .mobile-cta .btn { min-height: 52px; padding: 10px 14px; }
}

/* 15. Utilities & motion -------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section-foot { margin-top: 44px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.cta-band .eyebrow { color: var(--green-200); }

/* Theme additions --------------------------------------------------------- */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px; overflow: hidden;
}
.form-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #fff1f0;
  color: #8a2b22;
  font-size: .95rem;
}
.brand__logo { display: block; height: 52px; width: auto; }
body.home .brand__logo { height: 64px; }
body.home .site-header.is-scrolled .brand__logo { height: 52px; }
.brand__logo--ondark { display: none; }
body.home .site-header:not(.is-scrolled) .brand--split .brand__logo--default { display: none; }
body.home .site-header:not(.is-scrolled) .brand--split .brand__logo--ondark { display: block; }
.town-nearby { margin-top: 28px; max-width: 70ch; color: var(--muted); }
body.admin-bar .site-header { top: calc(var(--topbar-h) * -1 + 32px); }
body.admin-bar.home .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: calc(var(--topbar-h) * -1 + 46px); }
  body.admin-bar.home .site-header { top: 46px; }
}

.work-card .work-card__place {
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 8px; color: var(--green-700);
  font-size: .86rem; font-weight: 700;
}
.work-card .work-card__place .icon { width: 16px; height: 16px; color: var(--accent-600); }
.work-card .work-card__types { margin: -2px 0 12px; color: var(--accent-600); font-size: .88rem; font-weight: 600; }

.page-hero__meta a { color: inherit; text-decoration: none; }
.page-hero__meta a:hover { color: var(--accent); }

.work-photos { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-bottom: 36px; }
.work-photos figure { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--green-100); }
.work-photos a { display: block; }
.work-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s; }
.work-photos figure:hover img { transform: scale(1.04); }
.work-photos figure:only-child { grid-column: 1 / -1; }
.work-photos figure:only-child img { aspect-ratio: 16 / 8; max-height: 640px; }
@media (min-width: 760px) {
  .work-photos--multi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-photos--multi figure:first-child { grid-column: span 2; grid-row: span 2; position: relative; }
  .work-photos--multi figure:first-child a { display: block; height: 100%; }
  .work-photos--multi figure:first-child img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
}
@media (max-width: 640px) {
  .work-photos { grid-template-columns: 1fr; }
  .work-photos figure:only-child img { aspect-ratio: 4 / 3; }
}

.work-story { margin-top: 8px; }

.paging { margin-top: 40px; }
.paging .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.paging .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 14px;
  border-radius: var(--radius-pill); border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-weight: 600; text-decoration: none;
}
.paging .page-numbers.current { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.paging .page-numbers:hover { border-color: var(--green-500); color: var(--green-700); }
.paging .page-numbers.current:hover { color: #fff; }
