/* ==========================================================================
   Appalachian Peak Property Care — appalachianpeakpropertycare.com
   Brand: forest green #28553e (primary) + teal #007a99 (secondary, carried
   over from the existing site), Montserrat headings / Open Sans body.
   Vanilla CSS, mobile-first.
   ========================================================================== */

:root {
  --green: #28553e;
  --green-dark: #1c3c2c;
  --green-light: #3b7355;
  --green-wash: #eef3f0;
  --teal: #007a99;
  --teal-dark: #005f78;
  --teal-wash: #e6f2f6;
  --ink: #1f2937;
  --body: #333333;
  --muted: #5d6b63;
  --line: #d9e1dc;
  --sand: #f7f6f2;
  --white: #ffffff;
  --star: #e0a526;

  --font-head: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(31, 41, 55, .08), 0 1px 2px rgba(31, 41, 55, .06);
  --shadow: 0 4px 16px rgba(31, 41, 55, .09);
  --shadow-lg: 0 18px 48px rgba(28, 60, 44, .18);
  --side: 1.25rem;
  --header-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .75rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(1.9rem, 5.2vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--green); text-decoration: underline; }

img { max-width: 100%; display: block; }
iframe { max-width: 100%; border: 0; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 3px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--side);
}

.narrow { max-width: 820px; }

.section { padding: 3.5rem 0; }
.section--sand { background: var(--sand); }
.section--wash { background: var(--green-wash); }
.section--green { background: var(--green); color: #e8efe9; }
.section--green h2, .section--green h3 { color: var(--white); }

.eyebrow {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 0 0 .6rem;
}
.section--green .eyebrow { color: #9ad6e8; }

.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lede { font-size: 1.08rem; color: var(--muted); }
.section--green .lede { color: #cfe0d6; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 1200;
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  padding: .85rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn--teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn--teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--green); border-color: #fff; }
.btn--light:hover { background: var(--green-wash); color: var(--green-dark); border-color: var(--green-wash); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: #fff; color: var(--green); border-color: #fff; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green-dark);
  color: #dfe9e2;
  font-size: .82rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  align-items: center;
  justify-content: center;
  padding-top: .5rem;
  padding-bottom: .5rem;
  text-align: center;
}
.topbar strong { color: #fff; }
.topbar a { color: #fff; font-weight: 600; white-space: nowrap; }
.topbar-item { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .15rem .4rem; }
.topbar .icon { stroke-width: 2.2; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent; /* the frosted layer lives on ::before, see below */
  border-bottom: 1px solid var(--line);
  /* No backdrop-filter/filter/transform on this element: it would become the
     containing block for the position:fixed mobile nav drawer inside it. */
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  background: rgba(255, 255, 255, .86);
}

.site-header .container { max-width: 1320px; }

.header-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding-top: .6rem;
  padding-bottom: .6rem;
}

/* Brand is the only element allowed to shrink */
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
  flex-shrink: 1;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark { width: auto; height: 46px; flex: 0 0 auto; }
.brand-text { min-width: 0; }
.brand-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.15;
  color: var(--green);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.brand-tag {
  display: block;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--green);
  white-space: nowrap;
}
.header-phone:hover { color: var(--green-dark); text-decoration: none; }
.header-cta { padding: .7rem 1.1rem; font-size: .88rem; white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  background: var(--green);
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; stroke-width: 2.4; }
.nav-toggle .icon-close { display: none; }
.nav-drawer-close .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Primary nav (desktop) ---------- */
.primary-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list > li { margin: 0; }

.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  white-space: nowrap;
  color: var(--ink);
  padding: .6rem .7rem;
  border-radius: var(--radius);
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--green); background: var(--green-wash); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--green); background: var(--green-wash); }
.nav-link .chev { width: .8em; height: .8em; transition: transform .18s ease; }

/* Dropdown: the position:relative anchor is a plain block (never display:flex)
   — Safari mis-lays-out absolutely positioned children of flex containers. */
.has-menu { position: relative; }
.submenu {
  position: absolute;
  top: 100%; /* flush — no un-hoverable gap between trigger and panel */
  left: 0;
  min-width: 290px;
  margin: 0;
  padding: .5rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 60;
}
.submenu--wide { min-width: 330px; }
.submenu li { margin: 0; }
.submenu a {
  display: block;
  padding: .5rem .65rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.submenu a:hover, .submenu a:focus-visible { background: var(--green-wash); color: var(--green); text-decoration: none; }
.submenu a span { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.submenu-all {
  border-top: 1px solid var(--line);
  margin-top: .35rem !important;
  padding-top: .35rem;
}
.submenu-all a { color: var(--teal-dark); }

.has-menu:hover .submenu,
.has-menu:focus-within .submenu,
.has-menu .nav-link[aria-expanded="true"] + .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-menu:hover .nav-link .chev,
.has-menu:focus-within .nav-link .chev { transform: rotate(180deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--green-dark);
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(20, 44, 32, .94) 0%, rgba(22, 48, 36, .86) 45%, rgba(0, 95, 120, .62) 100%);
}
/* .hero-inner shares its element with .container, so only block padding here —
   a `padding` shorthand would zero out .container's side padding. */
.hero-inner {
  padding-block: 4rem 3.25rem;
  position: relative;
}
.hero-content { max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero p.hero-lede {
  font-size: 1.1rem;
  color: #dbe7df;
  max-width: 44rem;
  margin-bottom: 1.75rem;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .4rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
}
.badge .icon { width: 1em; height: 1em; }

/* Stat / trust row: grid, never an unconstrained wrapping flex row. */
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
  max-width: 640px;
}
.trust-item { min-width: 0; }
.trust-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.trust-label {
  display: block;
  font-size: .82rem;
  color: #c5d8cc;
  line-height: 1.35;
}

/* ---------- Page header ---------- */
.page-header {
  background: var(--green);
  color: #e6efe9;
  padding: 3rem 0 2.75rem;
  border-bottom: 4px solid var(--teal);
}
.page-header h1 { color: #fff; }
.page-header p { color: #cfe0d6; max-width: 46rem; margin-bottom: 0; }
.breadcrumbs {
  font-size: .82rem;
  margin-bottom: .75rem;
  color: #a9c5b4;
}
.breadcrumbs a { color: #d6e6dc; }
.breadcrumbs span { padding: 0 .4rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--green-wash); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.card-body h3 { margin-bottom: .5rem; }
.card-body p { color: var(--muted); font-size: .95rem; }
.card-link {
  margin-top: auto;
  padding-top: .9rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.card a.stretch { position: static; }

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: border-left-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.svc-card:hover { border-left-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-card h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.svc-card p { font-size: .92rem; color: var(--muted); }
.svc-card .card-link { padding-top: .75rem; }
.svc-icon {
  width: 38px; height: 38px;
  margin-bottom: .8rem;
  color: var(--green);
}
.svc-icon .icon { width: 100%; height: 100%; stroke-width: 1.7; }

/* ---------- Split / media rows ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
.split-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split--reverse .split-media { order: -1; }

.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.checklist li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  margin-bottom: .6rem;
  font-size: .97rem;
}
.checklist .icon { color: var(--teal); width: 1.15rem; height: 1.15rem; margin-top: .3rem; stroke-width: 2.6; }

.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { margin: 0; }
.pill {
  display: inline-block;
  padding: .35rem .75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green);
}
a.pill:hover { background: var(--green); color: #fff; border-color: var(--green); text-decoration: none; }

.two-col-list { columns: 1; }
.two-col-list ul { list-style: none; padding: 0; }
.two-col-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.two-col-list .icon { color: var(--teal); width: 1rem; height: 1rem; margin-top: .4rem; stroke-width: 3; flex: 0 0 auto; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem 1.35rem;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: .75rem;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .93rem; color: var(--muted); margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.stars { display: flex; gap: .15rem; margin-bottom: .85rem; color: var(--star); }
.stars svg { width: 1.05rem; height: 1.05rem; fill: currentColor; stroke: none; }
.quote blockquote { margin: 0 0 1rem; font-size: .96rem; color: var(--body); }
.quote blockquote p { margin: 0 0 .8rem; }
.quote blockquote p:last-child { margin-bottom: 0; }
.quote h3 { font-size: 1rem; margin-bottom: .6rem; color: var(--green); }
.quote cite {
  margin-top: auto;
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
}
.quote cite span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: var(--muted); }

.rating-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 2rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 1.05rem 1.15rem;
  cursor: pointer;
  line-height: 1.35;
}
.faq-q:hover { background: var(--green-wash); color: var(--green); }
.faq-q .icon { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; color: var(--teal); transition: transform .2s ease; }
.faq-q[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 1.15rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
}
.faq-a[data-open="true"] { padding: 0 1.15rem 1.15rem; max-height: 44rem; }
.faq-a p { font-size: .95rem; color: var(--muted); }

/* ---------- Contact / forms ---------- */
.contact-layout { display: grid; gap: 2.5rem; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  color: var(--ink);
  margin-bottom: .35rem;
}
.field .req { color: #b3261e; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: .7rem .8rem;
  border: 1px solid #9aa8a0;
  border-radius: var(--radius);
  background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 122, 153, .18);
}
.field .hint { font-size: .8rem; color: var(--muted); margin: .3rem 0 0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #b3261e;
  background: #fdf5f4;
}
.field-error {
  display: none;
  font-size: .83rem;
  font-weight: 600;
  color: #b3261e;
  margin-top: .35rem;
}
.field-error.is-visible { display: block; }

.form-note { font-size: .82rem; color: var(--muted); margin-top: .9rem; }

.form-alert {
  display: none;
  border-radius: var(--radius);
  padding: .95rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: .93rem;
  font-weight: 600;
}
.form-alert.is-visible { display: block; }
#form-success { background: #e7f4ec; border: 1px solid #2e7d4f; color: #1d5b38; }
#form-error { background: #fdecea; border: 1px solid #b3261e; color: #8c1d18; }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .8rem; margin-bottom: 1.1rem; }
.info-list .icon { width: 1.3rem; height: 1.3rem; color: var(--teal); flex: 0 0 auto; margin-top: .25rem; }
.info-list strong {
  display: block;
  font-family: var(--font-head);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 700;
}
.info-list a { font-weight: 600; }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 420px; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 55%, var(--teal-dark) 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7e6dd; max-width: 40rem; margin: 0 auto 1.5rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Legal / prose pages ---------- */
.prose h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.75rem; font-size: 1.1rem; }
.prose ul { margin-bottom: 1.25rem; }
.prose .updated {
  font-size: .9rem;
  color: var(--muted);
  padding: .75rem 1rem;
  background: var(--sand);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- 404 ---------- */
.error-page { padding: 4.5rem 0; text-align: center; }
.error-code {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 14vw, 7rem);
  font-weight: 800;
  line-height: 1;
  color: var(--green-wash);
  margin: 0;
}
.error-page .btn-row { justify-content: center; margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: #c3d4c9;
  padding: 3rem 0 0;
  font-size: .92rem;
}
.footer-grid { display: grid; gap: 2rem; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer h3 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .9rem;
}
.site-footer a { color: #dfeae3; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.footer-brand .brand-mark {
  width: auto;
  height: 58px;
  background: #fff;
  border-radius: 10px;
  padding: .3rem .45rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.footer-brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.2;
}
.footer-about p { color: #b9ccc0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .75rem; }
.footer-contact .icon { width: 1.05rem; height: 1.05rem; color: #7fc6da; flex: 0 0 auto; margin-top: .3rem; }
.social-row { display: flex; gap: .6rem; margin-top: 1rem; }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
}
.social-row a:hover { background: var(--teal); border-color: var(--teal); }
.social-row .icon { width: 1.1rem; height: 1.1rem; }
.footer-bottom {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  justify-content: space-between;
  font-size: .84rem;
  color: #a7bcae;
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }

/* ---------- Mobile nav drawer ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; order: 2; } /* always the rightmost item */
  .header-actions { order: 1; margin-left: auto; }
  .header-phone span.phone-text { display: none; }
  .header-phone {
    width: 44px;
    height: 44px;
    justify-content: center;
    border: 2px solid var(--green);
    border-radius: var(--radius);
  }
  .header-cta { padding: .62rem .8rem; font-size: .82rem; }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 86vw);
    margin: 0;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -12px 0 40px rgba(20, 40, 30, .22);
    padding: 1.25rem 1.1rem 2.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 1100;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 1rem; padding: .8rem .65rem; }
  .has-menu { position: static; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    display: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    margin: .15rem 0 .5rem .65rem;
    padding: 0 0 0 .5rem;
    min-width: 0;
  }
  .submenu a { padding: .55rem .4rem; font-size: .92rem; }
  .nav-link[aria-expanded="true"] + .submenu { display: block; }
  .nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .has-menu:hover .submenu, .has-menu:focus-within .submenu { display: none; }
  .has-menu .nav-link[aria-expanded="true"] + .submenu { display: block; }
  .nav-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--green);
  }
  .nav-drawer-cta { margin-top: 1.25rem; display: grid; gap: .6rem; }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 36, 27, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
    z-index: 900;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}

@media (min-width: 961px) {
  .nav-drawer-head, .nav-drawer-cta, .nav-overlay { display: none !important; }
}

/* Between the hamburger breakpoint and a roomy desktop, the nav needs the
   space the phone label would take — keep the tappable icon, drop the digits. */
@media (min-width: 961px) and (max-width: 1365px) {
  .nav-link { font-size: .86rem; padding: .55rem .5rem; }
  .submenu a { font-size: .88rem; }
  .header-phone span.phone-text { display: none; }
  .header-phone { width: 42px; height: 42px; justify-content: center; border: 2px solid var(--green); border-radius: var(--radius); }
  .header-cta { padding: .62rem .85rem; font-size: .82rem; }
  .brand-mark { width: auto; height: 40px; }
}

/* ---------- Responsive scale-up ---------- */
@media (min-width: 560px) {
  :root { --side: 1.5rem; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .two-col-list { columns: 2; column-gap: 2rem; }
}

@media (min-width: 768px) {
  .section { padding: 4.5rem 0; }
  .hero-inner { padding-block: 6rem 4.5rem; }
  .page-header { padding: 4rem 0 3.5rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .form-card { padding: 2rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
}

@media (min-width: 992px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .contact-layout { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .split--wide { grid-template-columns: 1.1fr .9fr; }
}

/* Narrow-phone safety net: brand text yields the line to the CTA group. */
@media (max-width: 420px) {
  .brand-text { display: none; }
  .header-cta { padding: .6rem .7rem; font-size: .78rem; }
}

@media (max-width: 560px) {
  .topbar .container { flex-direction: column; }
  .topbar-item { text-align: center; }
}

@media (max-width: 480px) {
  .topbar { font-size: .76rem; }
  .hero-trust { grid-template-columns: 1fr; gap: .9rem; text-align: left; }
  .hero-trust { padding-top: 1.25rem; margin-top: 1.75rem; }
  .trust-num { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover, .card:hover, .svc-card:hover { transform: none; }
}

@media print {
  .site-header, .topbar, .site-footer, .cta-band, .nav-overlay { display: none !important; }
}
