:root {
  --ink: #17221f;
  --muted: #52615b;
  --panel: #ffffff;
  --paper: #f7faf8;
  --mist: #e7efec;
  --line: #d8e2de;
  --green: #173f36;
  --green-2: #24594f;
  --blue: #315f7c;
  --brass: #d6b94f;
  --warning: #8a3f24;
  --focus: #1a73e8;
  --shadow: 0 20px 50px rgba(23, 34, 31, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::after {
  content: "";
  display: block;
  height: 72px;
}

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

a {
  color: var(--green-2);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 0.75rem 1rem;
  background: var(--panel);
  color: var(--ink);
  border: 2px solid var(--focus);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 250, 248, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
}

.brand,
.footer-brand {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
  border: 2px solid var(--brass);
}

.brand strong,
.footer-brand {
  display: block;
  font-size: 1rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a,
.nav-more summary {
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.nav-more summary:hover {
  background: var(--mist);
}

.nav-more {
  position: relative;
}

.nav-more summary {
  list-style: none;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-panel {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 260px;
  padding: 0.45rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.nav-panel a {
  display: block;
}

.header-call {
  flex: 0 0 auto;
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
  text-decoration: none;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  font-weight: 700;
}

.header-call:hover {
  background: var(--green-2);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -7px;
}

.menu-lines::after {
  top: 7px;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  border: 2px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.15;
  font-size: 1rem;
}

.button-primary {
  background: var(--brass);
  color: #1f2418;
  border-color: #b69932;
}

.button-primary:hover {
  color: #1f2418;
  background: #e0c661;
}

.button-secondary {
  background: var(--panel);
  color: var(--green);
  border-color: var(--green);
}

.button-secondary:hover {
  background: var(--mist);
  color: var(--green);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.2rem;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.hero {
  position: relative;
  color: #fff;
  isolation: isolate;
  min-height: 720px;
  display: grid;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 25, 22, 0.54);
  z-index: -1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-picture,
.hero-picture img {
  width: 100%;
  height: 100%;
}

.hero-picture img {
  object-fit: cover;
}

.hero-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.72fr);
  gap: 2rem;
  padding: 4rem 0;
}

.hero-copy {
  align-self: center;
  max-width: 710px;
}

.hero h1 {
  font-size: 3.25rem;
  max-width: 760px;
}

.hero p {
  font-size: 1.08rem;
  max-width: 680px;
}

.hero .eyebrow {
  color: #f6df7c;
}

.microcopy {
  color: #f0f6f2;
  font-size: 0.95rem;
}

.lead-form {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.lead-form h2 {
  font-size: 1.35rem;
}

.lead-form p {
  color: var(--muted);
}

.form-row {
  margin-bottom: 0.85rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem;
  border: 1px solid #b9c5c0;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 0.55rem;
  margin: 0.9rem 0;
  color: var(--muted);
  font-weight: 400;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 0.25rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  color: #7a1c1c;
  font-weight: 700;
  min-height: 1.3rem;
  margin-bottom: 0.6rem;
}

.form-success {
  background: #e9f5ee;
  border: 1px solid #b9d6c4;
  border-radius: 6px;
  color: #184632;
  padding: 0.75rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.86rem;
}

.section,
.page-hero,
.legal-page,
.breadcrumbs {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading > p:last-child {
  color: var(--muted);
}

.split-section,
.content-columns,
.page-hero,
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.72fr);
  gap: 2rem;
  align-items: start;
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
}

.page-hero p {
  max-width: 760px;
}

.hero-side,
.intent-panel,
.support-figure,
.location-card,
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
}

.hero-side,
.intent-panel {
  box-shadow: 0 12px 32px rgba(23, 34, 31, 0.08);
}

.service-grid,
.location-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.service-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  font-weight: 900;
  margin-bottom: 1rem;
}

.service-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.service-card p,
.location-card p {
  color: var(--muted);
}

.text-block + .text-block {
  margin-top: 2rem;
}

.check-list,
.plain-links,
.related-links,
.town-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li,
.warning-grid li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.75rem;
}

.check-list li::before,
.warning-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 8px;
  height: 8px;
  background: var(--brass);
  border: 2px solid var(--green);
  border-radius: 2px;
}

.dense li {
  margin-bottom: 0.55rem;
}

.replacement-section,
.process-section,
.muted-section {
  background: var(--mist);
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max)) / 2));
}

.content-columns {
  align-items: center;
}

.support-figure {
  padding: 0;
  overflow: hidden;
}

.support-figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.support-figure figcaption {
  padding: 0.8rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.warning-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.warning-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1rem 1rem 2.3rem;
  min-height: 90px;
}

.warning-grid li::before {
  left: 1rem;
  top: 1.35rem;
  background: var(--warning);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  counter-increment: process;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}

.process-list span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.process-list span::before {
  content: counter(process);
  font-weight: 900;
}

.area-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 2rem;
  align-items: center;
}

.town-list,
.town-links,
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.town-list a,
.town-links a,
.related-links a,
.plain-links a {
  display: inline-flex;
  padding: 0.55rem 0.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--green);
  font-weight: 700;
}

.plain-links li + li {
  margin-top: 0.5rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.cta-band {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 4.5rem;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.cta-band p {
  color: #ecf4ef;
}

.cta-band .button-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.cta-band .lead-form {
  box-shadow: none;
}

.breadcrumbs {
  padding-top: 1.25rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: #8b9691;
}

.content-section,
.related-section,
.faq-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.narrow-copy {
  max-width: 880px;
}

.contact-options {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.4rem;
}

.inline-phone,
.footer-phone {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.legal-page {
  max-width: 880px;
  padding: 3.5rem 1rem 5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.site-footer {
  background: #111a18;
  color: #e8efec;
  padding: 3rem 1rem;
}

.site-footer a {
  color: #f5df7c;
}

.site-footer h2 {
  font-size: 1rem;
  color: #fff;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.7fr));
  gap: 2rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li + li {
  margin-top: 0.45rem;
}

.footer-brand {
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 900;
}

.disclosure {
  color: #bfd0c9;
  font-size: 0.92rem;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0f1916;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-call,
.mobile-request {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  padding: 0.65rem 0.5rem;
}

.mobile-call {
  background: var(--brass);
  color: #1f2418;
}

.mobile-request {
  background: var(--green);
}

.not-found {
  min-height: 58vh;
}

@media (max-width: 1040px) {
  .service-grid,
  .warning-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  h1 {
    font-size: 2.05rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .header-call {
    display: none;
  }

  .primary-nav {
    display: none;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.5rem;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-more {
    position: static;
  }

  .nav-panel {
    position: static;
    min-width: auto;
    box-shadow: none;
    margin-top: 0.4rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .split-section,
  .content-columns,
  .page-hero,
  .cta-band,
  .area-callout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 3rem 0 2rem;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .lead-form {
    padding: 1rem;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .location-grid,
  .warning-grid,
  .process-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .section {
    padding: 3rem 0;
  }

  .replacement-section,
  .process-section,
  .muted-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 841px) {
  body::after {
    display: none;
  }

  .mobile-cta {
    display: none;
  }
}
