/* Munnerlyn Management LLC — shared stylesheet
   Tokens follow DESIGN.md. Greens are pulled from the logo. */

:root {
  --green-900: #0b3b1e;
  --green-700: #14532d;
  --green-600: #1b6b3a;
  --green-50: #eef5f0;
  --sand: #f6f3ec;
  --ink: #14181a;
  --muted: #5b6460;
  --line: #e3e6e1;
  --white: #ffffff;
  --error: #9b1c1c;

  --font-head: "Archivo", "Helvetica Neue", sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", sans-serif;

  --radius-card: 20px;
  --radius-hero: 28px;
  --radius-input: 14px;
  --shadow: 0 8px 30px rgba(20, 24, 26, 0.08);
  --shadow-lift: 0 14px 40px rgba(20, 24, 26, 0.12);
  --shadow-hover: 0 22px 48px rgba(20, 24, 26, 0.16);
  --shadow-faint: 0 2px 10px rgba(20, 24, 26, 0.04);

  --max: 1200px;
  --gutter: 24px;
  --section: 64px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 900px) {
  :root { --section: 96px; --header-h: 84px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-600); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
}
h1 { font-size: 38px; }
h2 { font-size: 30px; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; font-stretch: 105%; font-variation-settings: "wdth" 105; }
@media (min-width: 900px) {
  h1 { font-size: 56px; }
  h2 { font-size: 40px; }
  h3 { font-size: 24px; }
}
.small, small { font-size: 15px; }
.muted { color: var(--muted); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--green-700); color: var(--white); padding: 12px 20px; border-radius: 999px;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--sand { background: var(--sand); }
.section--tint { background: var(--green-50); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* Trail blaze eyebrow: the painted mark used to flag a line through the woods */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-700);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 22px; border-radius: 3px; background: var(--green-700);
  box-shadow: 12px 0 0 -2px var(--green-600);
  margin-right: 12px;
}
.eyebrow--light { color: #d6e9dc; }
.eyebrow--light::before { background: #d6e9dc; box-shadow: 12px 0 0 -2px #9fc9ad; }

.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }
.section-head--row > div { max-width: 640px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 500; font-size: 17px; line-height: 1;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green-700); color: var(--white); box-shadow: 0 6px 18px rgba(20, 83, 45, 0.22); }
.btn--primary:hover { background: var(--green-600); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--green-700); border-color: var(--green-700); }
.btn--secondary:hover { color: var(--green-700); background: var(--green-50); }
.btn--photo { background: var(--white); color: var(--green-700); }
.btn--photo:hover { color: var(--green-700); background: var(--green-50); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn--ghost-light:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }
.btn--block { width: 100%; }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none;
  min-height: 48px;
}
.text-link svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.brand img { height: 40px; width: auto; max-width: none; }
@media (min-width: 900px) { .brand img { height: 52px; } }

.nav { display: none; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px;
  border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--green-700); background: var(--green-50); }
.nav-link svg { width: 16px; height: 16px; transition: transform 0.2s; }

/* Services dropdown: the link goes to services.html, the caret (or hover / focus) opens the menu */
.has-menu { display: flex; align-items: center; }
.has-menu > .nav-link { padding-right: 6px; }
.nav-caret {
  display: inline-grid; place-items: center; width: 32px; height: 40px; margin-left: -2px;
  border: 0; border-radius: 999px; background: none; color: var(--ink); cursor: pointer; padding: 0;
}
.nav-caret svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.nav-caret:hover { color: var(--green-700); background: var(--green-50); }
.nav-menu {
  position: absolute; top: 100%; left: -8px; z-index: 110; min-width: 330px;
  padding-top: 10px; /* invisible bridge so the pointer can cross the gap */
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility 0s linear 0.18s;
}
.nav-menu ul {
  list-style: none; display: grid; gap: 2px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-lift);
}
.nav-menu-link {
  display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border-radius: 14px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.3;
}
.nav-menu-link:hover, .nav-menu-link[aria-current="page"] { background: var(--green-50); color: var(--green-700); }
.nav-menu .menu-all { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.nav-menu .menu-all a { font-weight: 600; color: var(--green-700); }
.has-menu.is-open .nav-menu, .has-menu:not(.is-dismissed):focus-within .nav-menu {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
@media (hover: hover) {
  .has-menu:not(.is-dismissed):hover .nav-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.has-menu.is-open .nav-caret svg { transform: rotate(180deg); }
.header-cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font: 500 16px/1 var(--font-body); cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
.menu-open .menu-toggle .icon-open { display: none; }

.mobile-panel {
  position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 8px);
  max-height: calc(100vh - var(--header-h) - 110px); overflow-y: auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lift);
  padding: 12px; display: none;
}
.menu-open .mobile-panel { display: block; }
.mobile-panel ul { list-style: none; }
.mobile-panel a {
  display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 14px;
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.mobile-panel a:hover, .mobile-panel a[aria-current="page"] { background: var(--green-50); color: var(--green-700); }
.mobile-panel .btn { margin-top: 10px; }
.mobile-panel .btn--primary, .mobile-panel .btn--primary:hover { color: var(--white); background: var(--green-700); }
.mobile-panel .m-row { display: flex; align-items: center; gap: 6px; }
.mobile-panel .m-row a { flex: 1; }
.m-expand {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; padding: 0;
}
.m-expand svg { width: 20px; height: 20px; transition: transform 0.2s var(--ease); }
.m-expand[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-sub { margin: 2px 0 6px 16px; padding-left: 10px; border-left: 2px solid var(--green-50); }
.m-sub[hidden] { display: none; }
.mobile-panel .m-sub a { min-height: 48px; font-size: 16px; line-height: 1.3; padding: 8px 14px; }
.m-sub .menu-all { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
.mobile-panel .m-sub .menu-all a { font-weight: 600; color: var(--green-700); }

@media (min-width: 1080px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-panel { display: none !important; }
}

/* Sticky bottom action bar on phones */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px;
  padding: 10px max(12px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  -webkit-transform: translateZ(0); transform: translateZ(0);
  background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(20, 24, 26, 0.08);
}
.action-bar .btn { padding: 0 8px; font-size: 16px; gap: 8px; }
@media (max-width: 359px) { .action-bar { gap: 8px; } .action-bar .btn { font-size: 15px; gap: 6px; } .action-bar .btn svg { width: 18px; height: 18px; } }
body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { padding: 16px 16px 0; }
.hero-card {
  position: relative; border-radius: var(--radius-hero);
  min-height: 560px; display: flex; align-items: flex-end;
  background: var(--green-900); max-width: 1440px; margin: 0 auto;
}
.hero-card > picture, .hero-card > img, .hero-card > picture img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
}
.hero-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background:
    linear-gradient(0deg, rgba(11, 59, 30, 0.94) 0%, rgba(11, 59, 30, 0.72) 48%, rgba(11, 59, 30, 0.12) 100%);
}
.hero-card > img[src*="hero-home-background"] { object-position: 64% 50%; }
@media (min-width: 900px) { .hero-card > img[src*="hero-home-background"] { object-position: 50% 50%; } }
.hero-content { position: relative; z-index: 1; padding: 40px 24px 32px; color: var(--white); max-width: 760px; }
.hero-content h1 { color: var(--white); margin-bottom: 16px; }
.hero-content .lead { font-size: 18px; color: #e4efe7; max-width: 560px; margin-bottom: 28px; }
.hero--short .hero-card { min-height: 420px; }
@media (min-width: 900px) {
  .hero-card { min-height: 640px; align-items: center; }
  .hero-card::after {
    background: linear-gradient(90deg, rgba(11, 59, 30, 0.95) 0%, rgba(11, 59, 30, 0.8) 38%, rgba(11, 59, 30, 0.15) 70%, rgba(11, 59, 30, 0) 100%);
  }
  .hero-content { padding: 72px 64px; }
  .hero-content .lead { font-size: 20px; }
  .hero--short .hero-card { min-height: 460px; }
}
.hero-facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px;
  font-size: 15px; color: #d6e9dc;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: #9fc9ad; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; margin-bottom: 16px; color: #cfe3d6; }
.breadcrumb a { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #9fc9ad; }

/* ---------- Trust strip ---------- */
.trust { padding: 24px 0 0; }
.trust-list {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  background: var(--green-50); border-radius: var(--radius-card); padding: 16px;
}
.trust-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; line-height: 1.3; }
.icon-tile {
  flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--white);
  display: grid; place-items: center; color: var(--green-700);
}
.icon-tile svg { width: 22px; height: 22px; }
@media (min-width: 900px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); padding: 20px 28px; gap: 24px; }
  .trust-list li { font-size: 16px; }
}

/* ---------- Service cards ---------- */
/* One row of four equal-height cards on desktop; Learn More is pinned to the bottom of each */
.service-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .service-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 24px; } }
@media (min-width: 1080px) { .service-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.service-grid .card { height: 100%; }
.service-grid .card-body { padding: 22px; }
.service-grid .card-body h3 { font-size: 21px; line-height: 1.15; }
.service-grid .ticks { font-size: 15px; line-height: 1.4; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow: hidden; transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-card) var(--radius-card) 0 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card-body h3 { margin: 0; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-card); }
.card-body h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 3px solid var(--green-600); outline-offset: 3px; }
.card .card-btn { position: relative; z-index: 1; margin-top: auto; align-self: flex-start; min-height: 48px; padding: 0 22px; font-size: 16px; }
.card .ticks { margin-bottom: 8px; }

/* Accent card: the lead service, filled with the primary button green */
.card--accent { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.card--accent:hover, .svc-card--accent:hover { box-shadow: 0 22px 48px rgba(11, 59, 30, 0.32); }
.card--accent .card-body h3, .card--accent .card-body h3 a { color: var(--white); }
.card--accent .ticks { color: #e4efe7; }
.card--accent .ticks li::before { background: var(--white); }
.ticks { list-style: none; display: grid; gap: 6px; font-size: 16px; color: var(--muted); }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 2px;
  background: var(--green-700);
}

/* ---------- Split sections ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split-media { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.split-media.is-square { aspect-ratio: 1 / 1; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy > :last-child { margin-bottom: 0; }
.split-copy p { color: var(--muted); }
@media (max-width: 899px) { .split-media { aspect-ratio: 4 / 3; } .split--fit .split-media { aspect-ratio: 16 / 9; } }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--flip .split-media { order: 2; }
  /* Service page intro: the photo is cropped to the height of the text next to it and adds no height */
  .split--fit { align-items: stretch; }
  .split--fit .split-media { aspect-ratio: auto; min-height: 0; }
  .split--fit .split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}
/* ---------- Veteran band: full-bleed photo, centered copy ---------- */
/* Inset 16px with the hero radius, so it reads as a card like the page heroes */
.vet-wrap { padding: 0 16px var(--section); }
.vet-band {
  position: relative; overflow: hidden; background: var(--green-900); color: var(--white);
  min-height: 320px; display: flex; align-items: center; padding: 48px 0;
  border-radius: var(--radius-hero); max-width: 1440px; margin: 0 auto;
}
.vet-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.vet-band::after { content: ""; position: absolute; inset: 0; background: rgba(11, 30, 20, 0.74); }
.vet-band h2, .vet-band p { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); }
.vet-band-inner { position: relative; z-index: 1; text-align: center; max-width: 820px; }
.vet-band h2 { color: var(--white); margin-bottom: 14px; }
.vet-band p { color: #eef3ef; font-size: 16px; max-width: 680px; margin: 0 auto 26px; }
@media (min-width: 900px) {
  .vet-band { min-height: 400px; padding: 64px 0; }
  .vet-band p { font-size: 18px; }
}

/* ---------- How it works ---------- */
.steps { list-style: none; display: grid; gap: 28px; counter-reset: step; position: relative; }
.step { position: relative; }
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 56px; line-height: 1; color: var(--green-700);
  font-variation-settings: "wdth" 125; font-stretch: 125%;
  display: inline-block; background: var(--white); padding-right: 14px; position: relative; z-index: 1;
}
.section--sand .step-num { background: var(--sand); }
.step h3 { margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps::before {
    content: ""; position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: var(--line);
  }
}

/* How It Works cards */
.steps--cards { gap: 16px; }
.steps--cards::before { display: none; }
.steps--cards .step {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-faint); padding: 24px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.section--sand .steps--cards .step { background: var(--white); }
.steps--cards .step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.steps--cards .step-num { background: none; padding: 0; font-size: 48px; }
.steps--cards .step h3 { margin: 14px 0 8px; }
/* Step 1 link: plain green text with an arrow that floats up on hover */
.step-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  color: var(--green-700); text-decoration: none;
  transition: transform 200ms ease-out, color 200ms ease-out;
}
.step-link svg { width: 20px; height: 20px; flex: none; }
.step-link:hover, .step-link:focus-visible { color: var(--green-600); transform: translateY(-3px); }
@media (min-width: 900px) { .steps--cards { gap: 20px; } }


/* ---------- FAQ: one compact centered column ---------- */
.faq-section { padding: 40px 0; }
@media (min-width: 900px) { .faq-section { padding: 56px 0; } }
.faq-wrap { max-width: calc(860px + var(--gutter) * 2); }
.faq-head { text-align: center; margin-bottom: 24px; }
.faq-head .eyebrow { justify-content: center; margin-bottom: 12px; }
.faq-head h2 { margin-bottom: 8px; }
.faq-head p { margin: 0; font-size: 16px; }
.faq-list { display: grid; gap: 8px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 20px; min-height: 56px; font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 20px; height: 20px; flex: none; color: var(--green-700); }
.faq-item summary .plus-v { transform-box: fill-box; transform-origin: center; transition: transform 0.25s var(--ease); }
.faq-item[open] summary .plus-v { transform: scaleY(0); }
.faq-item summary:hover { color: var(--green-700); }
.faq-item summary:focus-visible { border-radius: var(--radius-card); }
.faq-answer { padding: 0 20px 14px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-section + .cta-wrap { padding-top: var(--section); }

/* ---------- Closing CTA ---------- */
.cta-wrap { padding: 0 16px var(--section); }
.section--sand + .cta-wrap, .section--tint + .cta-wrap { padding-top: var(--section); }
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-hero); background: var(--green-900);
  color: var(--white); max-width: 1440px; margin: 0 auto;
}
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 59, 30, 0.96) 0%, rgba(11, 59, 30, 0.86) 55%, rgba(11, 59, 30, 0.55) 100%); }
.cta-inner { position: relative; z-index: 1; padding: 56px 24px; }
.cta .eyebrow { margin-bottom: 14px; }
.cta h2 { color: var(--white); margin: 0; max-width: 640px; }
.cta-text { color: #d6e9dc; margin: 20px 0 0; max-width: 560px; }
.cta-row { display: grid; gap: 24px; }
.cta-actions { display: grid; gap: 12px; }
/* Matched pair: same height, the phone pill carries a small label over the number */
.cta-btn { min-height: 64px; padding: 0 28px; }
.cta-call { gap: 12px; border-width: 3px; border-color: var(--white); }
.cta-call svg { color: #cfe3d6; }
.cta-call-text { display: grid; gap: 3px; text-align: left; line-height: 1.1; }
.cta-call-label { font-weight: 700; font-size: 13px; color: #fff; }
.cta-call-num { font-weight: 600; font-size: 17px; }
@media (min-width: 900px) {
  .cta-inner { padding: 80px 72px; }
  .cta-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; }
  .cta-actions { display: flex; gap: 12px; }
}

/* Compact intro strip under service-page heroes */
.intro-strip { padding: 32px 0 24px; }
.intro-strip-inner { display: grid; gap: 20px; max-width: 960px; }
.intro-strip h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 8px; }
.intro-strip p { color: var(--muted); margin: 0; max-width: 620px; }
.intro-strip .btn-row { margin: 0; }
.intro-strip + .section { padding-top: 40px; }
@media (min-width: 900px) {
  .intro-strip { padding: 44px 0 32px; }
  .intro-strip-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; max-width: 1100px; }
}

/* ---------- Service page pieces ---------- */
.check-list { list-style: none; display: grid; gap: 4px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; color: var(--ink); font-weight: 500; font-size: 16px; line-height: 1.4; }
.check-list svg { width: 20px; height: 20px; color: var(--green-700); flex: none; margin-top: 1px; }
@media (min-width: 600px) { .check-list.is-two { grid-template-columns: 1fr 1fr; column-gap: 24px; } }


.other-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .other-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.other-card h3 { font-size: 22px; }
.other-card .card-body p { color: var(--muted); font-size: 16px; margin: 0 0 8px; }
@media (min-width: 900px) { .other-card h3 { font-size: 24px; } }

/* ---------- About ---------- */
.values { display: grid; gap: 16px; }
@media (min-width: 900px) { .values { grid-template-columns: 1.2fr 1fr; } }
.value { background: var(--white); border-radius: var(--radius-card); padding: 28px; border: 1px solid var(--line); }
.value h3 { margin-bottom: 8px; }
.value p { color: var(--muted); margin: 0; }
.value--photo { padding: 0; overflow: hidden; position: relative; min-height: 280px; }
.value--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.value-stack { display: grid; gap: 16px; }
.why-grid { list-style: none; display: grid; gap: 16px; grid-auto-rows: 1fr; }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.why-card {
  background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-faint); padding: 24px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.why-card .icon-tile { background: var(--green-50); margin-bottom: 16px; }
.why-card h3 { font-size: 20px; line-height: 1.2; margin: 0 0 8px; }
.why-card p { color: var(--muted); font-size: 16px; margin: 0; }
.pull {
  font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.3; letter-spacing: -0.01em;
  border-left: 6px solid var(--green-700); padding-left: 20px; margin: 28px 0; color: var(--ink);
}

/* ---------- Quote form ---------- */
.quote-layout { display: grid; gap: 32px; align-items: start; }
.quote-layout > * { min-width: 0; }
@media (min-width: 1080px) {
  .quote-layout { grid-template-columns: 1fr 380px; gap: 40px; }
  .quote-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.form-card {
  background: var(--green-900); color: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow);
  border: 1px solid var(--green-900); padding: 24px 20px;
}
@media (min-width: 700px) { .form-card { padding: 40px; } }
.form-card :focus-visible { outline-color: var(--white); }
.form-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-group > legend {
  font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--white);
  display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 20px;
}
.form-group > legend svg { width: 22px; height: 22px; color: var(--white); }
.form-divider { border: 0; height: 1px; background: rgba(255, 255, 255, 0.4); margin: 32px 0; }
.fields { display: grid; gap: 20px; }
@media (min-width: 700px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field label, .field .label { display: block; font-weight: 500; font-size: 16px; margin-bottom: 8px; color: var(--white); }
.req { color: var(--white); }
.opt { color: var(--white); font-weight: 400; font-size: 14px; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-input);
  border: 1px solid #c9cfc9; background: var(--white); color: var(--ink);
  font: 400 17px/1.4 var(--font-body); transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder, .textarea::placeholder { color: #6b7570; opacity: 1; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2314532D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.textarea { min-height: 140px; resize: vertical; }
/* Light focus ring: shows on the green card */
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--white); outline-offset: 2px; border-color: var(--green-900); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #ffd6d6; box-shadow: 0 0 0 2px #ffd6d6; }
.field-error { display: none; color: #ffd6d6; font-weight: 600; font-size: 15px; margin-top: 8px; }
.field.has-error .field-error { display: flex; gap: 6px; align-items: center; }
.field-error svg { width: 18px; height: 18px; flex: none; }
.hint { color: var(--white); font-size: 15px; margin: 8px 0 0; }

/* Best Way To Reach You: label and pills share a row on desktop, pills wrap under the label on phones */
.field--reach { display: flex; flex-direction: column; gap: 10px; }
.field--reach .label { margin: 0; }
@media (min-width: 700px) {
  .field--reach { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
}
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5); color: var(--white); cursor: pointer; font-weight: 500;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.choice span::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.7);
  box-sizing: border-box; background: transparent center / 12px no-repeat;
}
.choice input:checked + span { border-color: var(--white); background: var(--white); color: var(--green-700); font-weight: 600; }
.choice input:checked + span::before {
  border-color: var(--green-700); background-color: var(--green-700);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.choice input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 2px; }

.field .dropzone, .dropzone {
  position: relative; display: grid; place-items: center; text-align: center; gap: 6px;
  border: 2px dashed rgba(255, 255, 255, 0.55); border-radius: var(--radius-card); background: rgba(255, 255, 255, 0.08);
  padding: 32px 20px; cursor: pointer; color: var(--white); transition: border-color 0.15s, background 0.15s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--white); background: rgba(255, 255, 255, 0.16); }
.dropzone:focus-within { outline: 3px solid var(--white); outline-offset: 2px; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone svg { width: 32px; height: 32px; color: var(--white); }
.dropzone strong { font-weight: 500; }
.dropzone small { color: var(--white); }
/* Photo helper text: small, tucked close under the upload box */
.hint--photos { font-size: 13px; margin-top: 6px; line-height: 1.4; }
.file-list { list-style: none; display: grid; gap: 6px; margin-top: 10px; font-size: 15px; }
.file-list:empty { display: none; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 10px; }
.file-list .warn { color: var(--error); }

.form-submit { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
.form-submit .consent + .btn { margin-top: 2px; }
.form-submit .btn { font-size: 18px; min-height: 60px; }
.form-submit .btn--photo:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28); }
.form-submit .btn:disabled { opacity: 0.7; cursor: default; transform: none; }
.form-alert {
  display: none; background: #fbeaea; color: var(--error); font-weight: 600; border-radius: 14px; padding: 14px 18px; font-size: 15px;
  margin-bottom: 20px;
}
.form-alert.is-visible { display: block; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.aside-card { border-radius: var(--radius-card); overflow: hidden; background: var(--green-900); color: var(--white); }
.aside-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.aside-body { padding: 24px; }
.aside-body h2 { color: var(--white); font-size: 24px; }
.aside-body p { color: #d6e9dc; font-size: 16px; }
.aside-body ul { list-style: none; display: grid; gap: 10px; margin: 16px 0; }
.aside-body li { display: flex; gap: 10px; font-size: 16px; }
.aside-body li svg { width: 20px; height: 20px; color: #9fc9ad; flex: none; margin-top: 2px; }
.aside-body a { color: var(--white); }

/* ---------- Thank you ---------- */
.thanks { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .thanks { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.thanks .steps { grid-template-columns: 1fr; gap: 20px; margin: 24px 0 32px; }
.thanks .steps::before { display: none; }
.thanks .step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; }
.thanks .step-num { font-size: 36px; padding: 0; }
.thanks .step h3 { margin-top: 0; }

/* ---------- Credits ---------- */
.credit-list { list-style: none; display: grid; gap: 12px; }
@media (min-width: 700px) { .credit-list { grid-template-columns: 1fr 1fr; } }
.credit-list li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 10px; font-size: 15px; }
.credit-list img { width: 96px; height: 72px; object-fit: cover; border-radius: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900); color: #d6e9dc; border-radius: 32px 32px 0 0;
  padding: 64px 0 28px; font-size: 16px;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1fr 0.8fr 1.3fr 1fr; gap: 40px; align-items: start; } }
.footer-logo { display: inline-block; line-height: 0; }
.footer-logo img { width: 260px; max-width: 100%; height: auto; }
.footer-title {
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white); margin: 0 0 16px;
}
.footer-links { list-style: none; display: grid; gap: 2px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-contact { list-style: none; display: grid; gap: 10px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; word-break: break-word; }
.footer-contact svg { width: 20px; height: 20px; color: #9fc9ad; flex: none; }
/* Get An Estimate: plain text like the other Contact items, Montserrat semibold, text and arrow float on hover */
.footer-contact .footer-estimate { font-weight: 600; transition: transform 200ms ease-out; }
.footer-contact .footer-estimate .fe-arrow { width: 18px; height: 18px; }
.footer-contact .footer-estimate:hover, .footer-contact .footer-estimate:focus-visible { transform: translateY(-3px); text-decoration: none; }
.social-btn {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
}
.social-btn .fb {
  width: 56px; height: 56px; border-radius: 50%; background: var(--white); display: grid; place-items: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.social-btn .fb svg { width: 30px; height: 30px; }
.social-btn:hover .fb { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }
.social-btn:hover { text-decoration: none !important; }
.social-btn:hover .social-text { text-decoration: underline; }
.footer-bottom {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: #b9d3c2;
}
.footer-bottom { align-items: center; }
.footer-bottom p { margin: 0; }
.built-by { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wavex-link { display: inline-flex; align-items: center; min-height: 48px; line-height: 0; }
.wavex-link img {
  width: auto; height: 30px; opacity: 0.88;
  transition: transform 250ms ease-out, opacity 250ms ease-out, filter 250ms ease-out;
}
.wavex-link:hover img, .wavex-link:focus-visible img {
  transform: translateY(-4px); opacity: 1; filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.28));
}

/* ---------- Motion ---------- */
.reveal { transition: opacity 0.4s ease-out, transform 0.4s ease-out; }
/* Content is visible by default. The hidden start state exists only after main.js confirms IntersectionObserver works. */
.js-reveal .reveal:not(.is-in) { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js-reveal .reveal:not(.is-in) { opacity: 1; transform: none; }
  .card:hover, .svc-card:hover, .sub-card:hover, .steps--cards .step:hover, .btn:hover { transform: none; }
  .step-link:hover, .step-link:focus-visible { transform: none; }
  .footer-contact .footer-estimate:hover, .footer-contact .footer-estimate:focus-visible { transform: none; }
  .why-card:hover { transform: none; }
  .wavex-link:hover img, .wavex-link:focus-visible img { transform: none; }
  .card:hover .card-media img, .svc-card:hover .svc-media img, .sub-card:hover .card-media img { transform: none; }
  .nav-menu { transform: none; }
}

/* One consistent warm, natural grade across all stock photos. Client job photos (.work-photo) are shown as shot. */
img.photo { filter: saturate(0.92) sepia(0.07) contrast(1.02); }

/* ---------- Services overview ---------- */
.svc-list { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .svc-list { gap: 28px; } }
.svc-card {
  display: grid; border-radius: var(--radius-card); overflow: hidden;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.svc-media { aspect-ratio: 4 / 3; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.03); }
.svc-body { padding: 28px 24px; display: flex; flex-direction: column; gap: 4px; }
.svc-body h2 { font-size: 26px; margin-bottom: 8px; }
.svc-body > p { color: var(--muted); }
.svc-subtitle { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-700); margin: 8px 0 8px; }
.svc-body .check-list { margin-bottom: 24px; }
.svc-body .btn-row { align-items: center; gap: 12px; margin-top: auto; }
.svc-card { grid-template-rows: auto 1fr; }
.svc-body { padding: 14px 14px 16px; }
.svc-body h2 { font-size: 17px; line-height: 1.15; margin-bottom: 12px; }
.svc-body > p, .svc-body .svc-subtitle, .svc-body .check-list { display: none; }
.svc-body .btn-row { flex-direction: column; align-items: stretch; gap: 8px; }
.svc-body .btn-row .btn { width: 100%; min-height: 44px; padding: 0 8px; font-size: 14px; }
.svc-body .btn-row .btn + .btn { display: none; }
@media (min-width: 700px) {
  .svc-media { aspect-ratio: 16 / 10; }
  .svc-body { padding: 28px 28px 32px; }
  .svc-body h2 { font-size: 26px; margin-bottom: 8px; }
  .svc-body > p, .svc-body .svc-subtitle { display: block; }
  .svc-body .check-list { display: grid; }
  .svc-body .btn-row { flex-direction: row; align-items: center; gap: 12px; }
  .svc-body .btn-row .btn { width: auto; min-height: 52px; padding: 0 24px; font-size: 16px; }
  .svc-body .btn-row .btn + .btn { display: inline-flex; }
}
@media (min-width: 1100px) { .svc-body { padding: 36px 36px 40px; } .svc-body h2 { font-size: 30px; } }
.svc-card--accent { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.svc-card--accent h2, .svc-card--accent .check-list li, .svc-card--accent .svc-subtitle { color: var(--white); }
.svc-card--accent .svc-body > p { color: #e4efe7; }
.svc-card--accent .check-list svg { color: var(--white); }

/* ---------- Sub-service cards: uniform grid ---------- */
.sub-grid { display: grid; gap: 20px; grid-auto-rows: 1fr; }
@media (min-width: 640px) { .sub-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .sub-grid { grid-template-columns: repeat(3, 1fr); } }
.sub-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-card); overflow: hidden; transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.sub-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.sub-card .card-media { aspect-ratio: 4 / 3; }
.sub-card:hover .card-media img { transform: scale(1.03); }
.sub-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.sub-body h3 { margin: 0; font-size: 20px; }
.sub-body p { color: var(--muted); font-size: 16px; margin: 0; }
.sub-points { list-style: none; display: grid; gap: 6px; margin: 4px 0 16px; font-size: 15px; line-height: 1.4; color: var(--ink); }
.sub-points li { position: relative; padding-left: 22px; }
.sub-points li::before {
  content: ""; position: absolute; left: 2px; top: 0.5em; width: 8px; height: 8px; border-radius: 2px; background: var(--green-700);
}
#sub-services { scroll-margin-top: calc(var(--header-h) + 8px); }
.sub-body .btn { margin-top: auto; align-self: flex-start; }
.sub-card--help { background: var(--green-50); border-color: #d3e5d9; }

/* ---------- Our Work ---------- */
.job-grid { display: grid; gap: 24px; }
@media (min-width: 800px) { .job-grid { grid-auto-rows: 1fr; } }
@media (min-width: 800px) { .job-grid { grid-template-columns: 1fr 1fr; } }
.job-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
/* Gallery: stacked photos that crossfade. Arrows show on hover with a mouse and always on touch. */
.gallery { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-card) var(--radius-card) 0 0; touch-action: pan-y; }
.gallery:focus-visible { outline-offset: -3px; }
.gallery-track { list-style: none; position: absolute; inset: 0; }
.gallery-track li { position: absolute; inset: 0; opacity: 0; transition: opacity 300ms ease-out; }
.gallery-track li.is-active { opacity: 1; }
.gallery-track img { width: 100%; height: 100%; object-fit: cover; }
.gallery-btn {
  position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.94); color: var(--green-700); box-shadow: 0 4px 14px rgba(20, 24, 26, 0.18);
  transition: opacity 200ms ease-out, background-color 200ms;
}
.gallery-btn:hover { background: var(--white); }
.gallery-btn svg { width: 22px; height: 22px; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
@media (hover: hover) and (pointer: fine) {
  .gallery-btn { opacity: 0; }
  .gallery:hover .gallery-btn, .gallery:focus-within .gallery-btn { opacity: 1; }
}
.job-tag { z-index: 2; }
.job-tag {
  position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); color: var(--green-700); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
}
.job-tag svg { width: 15px; height: 15px; }
.job-card .card-body { gap: 6px; padding: 22px 24px; }
.job-services { color: var(--muted); font-size: 15px; line-height: 1.45; margin: 0; }

/* ---------- Quote: checkbox cards ---------- */
/* One grid holds the sub-services and Other as its last item. Groups and the Other wrapper use display: contents. */
.sub-group, .sub-other { display: contents; }
.sub-group[hidden], .sub-other[hidden], .other-field[hidden], #sub-services-field[hidden] { display: none; }
/* Without JS every group stays visible */
.no-js .sub-group[hidden], .no-js .sub-other[hidden] { display: contents; }
.no-js .other-field[hidden], .no-js #sub-services-field[hidden] { display: block; }
.sub-group-title { grid-column: 1 / -1; font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--white); margin: 8px 0 0; }
.sub-group-title:first-child { margin-top: 0; }
.sub-groups:not(.is-multi) .sub-group-title { display: none; }
.other-field { margin-top: 16px; }
.main-services.has-error .check span { border-color: #ffd6d6; }
.check-grid { display: grid; gap: 10px; }
@media (min-width: 700px) { .check-grid { grid-template-columns: 1fr 1fr; } }
/* Every card is the same size, padding, border, radius, and text; cards in a row stretch to equal height */
.check { position: relative; display: flex; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span {
  flex: 1; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 16px; border-radius: var(--radius-input);
  border: 1px solid rgba(255, 255, 255, 0.45); color: var(--white); cursor: pointer; font-size: 16px; font-weight: 500; line-height: 1.3;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.check span::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent center / 14px no-repeat;
}
.check input:checked + span { border-color: var(--white); background: var(--white); color: var(--green-700); font-weight: 600; }
.check input:checked + span::before {
  border-color: var(--green-700); background-color: var(--green-700);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.check input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 2px; }

/* Contact consent: compact, right above the submit button */
.consent { margin: 0; }
.consent .consent-check { display: flex; align-items: flex-start; gap: 10px; margin: 0; font: 400 14px/1.4 var(--font-body); color: var(--white); cursor: pointer; }
.consent-check input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--white); cursor: pointer; }
.consent .field-error { font-size: 14px; margin-top: 6px; }

/* Phone numbers: Montserrat semibold, never underlined */
html a[href^="tel:"], html a[href^="tel:"]:hover, html a[href^="tel:"]:focus {
  font-family: var(--font-body); font-weight: 600; text-decoration: none; white-space: nowrap;
}
html .action-bar a[href^="tel:"] { font-weight: 500; }

/* ---------- Town pages, Service Areas, sub-service pages ---------- */
.local-intro { max-width: 820px; }
.local-intro h2 { margin-bottom: 16px; }
.local-intro p { margin: 0 0 16px; }
.local-intro .btn-row { margin-top: 24px; }
.section--tight { padding-top: 24px; padding-bottom: 48px; }
.area-links { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; padding: 0; }
.area-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--green-900); font-weight: 600; text-decoration: none;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.area-links a svg { width: 16px; height: 16px; flex: none; }
.area-links a:hover, .area-links a:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.fit-list { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; font-size: 17px; }
.fit-list li { position: relative; padding-left: 28px; }
.fit-list li::before {
  content: ""; position: absolute; left: 4px; top: 0.55em; width: 9px; height: 9px; border-radius: 2px; background: var(--green-700);
}
.footer-title--sub { margin-top: 24px; }
.footer-areas { margin-bottom: 0; }
.footer-areas { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.footer-areas a { min-height: 32px; }
@media (min-width: 1080px) { .footer-areas { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .area-links a:hover, .area-links a:focus-visible { transform: none; } }

/* ---------- Two-button card rows: Learn More (filled) and a smaller Get An Estimate (outlined) ---------- */
/* Sized to stay side by side in the narrowest card (about 244px of room): phones from 360px, two-column tablets, and 1024px. */
.sub-actions, .card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; position: relative; z-index: 1; }
.sub-actions .btn, .card-actions .btn { margin-top: 0; align-self: center; flex: 0 1 auto; min-height: 52px; padding: 0 12px; font-size: 13px; }
.sub-actions .btn--sm, .card-actions .btn--sm { min-height: 44px; padding: 0 10px; font-size: 13px; }
@media (min-width: 640px) and (max-width: 719px) {
  .sub-actions .btn, .card-actions .btn { padding: 0 9px; }
  .sub-actions .btn--sm, .card-actions .btn--sm { padding: 0 8px; }
}
@media (min-width: 1200px) {
  .sub-actions .btn, .card-actions .btn { padding: 0 18px; font-size: 15px; }
  .sub-actions .btn--sm, .card-actions .btn--sm { padding: 0 14px; font-size: 14px; }
}

/* ---------- Hero: Not In Lexington? dropdown (sub-service pages) ---------- */
.hero-where { position: relative; display: inline-block; margin-top: 20px; }
.hero-where-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6); background: transparent; color: var(--white); cursor: pointer;
  font-family: var(--font-body); font-weight: 500; font-size: 14px; line-height: 1;
  transition: background-color 0.2s;
}
.hero-where-btn:hover { background: rgba(255, 255, 255, 0.14); }
.hero-where-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.hero-where-btn svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.hero-where.is-open .hero-where-btn svg { transform: rotate(180deg); }
.hero-where-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: 250px; max-width: calc(100vw - 56px);
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lift); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility 0s linear 0.18s;
}
.hero-where-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hero-where-panel a {
  display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 10px;
  color: var(--green-900); text-decoration: none; font-weight: 500; font-size: 15px;
}
.hero-where-panel a:hover, .hero-where-panel a:focus-visible { background: var(--green-50); color: var(--green-700); }
.hero-where-panel .where-all { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.hero-where-panel .where-all a { font-weight: 600; }
.hero-where.is-open .hero-where-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.no-js .hero-where:focus-within .hero-where-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* ---------- Where We Offer: copy on the left, six town buttons stacked on the right ---------- */
.where-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 800px) { .where-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 56px; } }
.where-copy { max-width: 560px; }
.where-copy h2 { margin-bottom: 16px; }
.where-copy p { margin: 0 0 16px; }
.where-buttons { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.where-buttons a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 0 22px;
  border: 2px solid var(--green-700); border-radius: 999px; background: var(--white); color: var(--green-700);
  font-weight: 600; font-size: 17px; text-decoration: none;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.where-buttons a svg { width: 18px; height: 18px; flex: none; transition: transform 0.2s var(--ease); }
.where-buttons a:hover, .where-buttons a:focus-visible { background: var(--green-700); color: var(--white); transform: translateY(-2px); }
.where-buttons a:hover svg, .where-buttons a:focus-visible svg { transform: translateX(3px); }
.where-buttons a:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .where-buttons a:hover, .where-buttons a:focus-visible, .where-buttons a:hover svg { transform: none; }
  .hero-where-panel { transition: none; }
}

/* ---------- Sub-service card titles: no underline in any state, keyboard ring instead ---------- */
.sub-body h3 a, .sub-body h3 a:hover, .sub-body h3 a:visited, .sub-body h3 a:active {
  color: inherit; text-decoration: none; font: inherit;
}
.sub-body h3 a:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; border-radius: 6px; }
.card-body h3 a, .card-body h3 a:hover, .card-body h3 a:visited { text-decoration: none; }

/* ---------- Home: services call to action and areas button ---------- */
.home-services {
  background: var(--green-700); color: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow);
  padding: 32px 24px; display: grid; gap: 16px; justify-items: start;
}
.home-services h2 { color: var(--white); margin: 0; }
.home-services p { color: #e4efe7; margin: 0; max-width: 640px; }
.home-services .btn { margin-top: 8px; width: 100%; }
.areas-cta { display: flex; justify-content: center; }
.areas-cta .btn { width: 100%; max-width: 420px; }
.where-copy .btn { margin-top: 8px; }
@media (min-width: 700px) {
  .home-services { padding: 56px 56px; }
  .home-services .btn { width: auto; }
}
@media (max-width: 699px) { .where-copy .btn { width: 100%; } }
