:root {
  --ink: #17201d;
  --muted: #59655f;
  --paper: #fbfbf7;
  --white: #ffffff;
  --line: #d8ddd6;
  --moss: #2f5d50;
  --moss-dark: #23463d;
  --clay: #bd6245;
  --clay-dark: #8d422d;
  --sage: #dce7dc;
  --sky: #dcebf0;
  --shadow: 0 18px 48px rgba(21, 39, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  font-family: Arial, Helvetica, ui-sans-serif, system-ui, sans-serif;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(251, 251, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-grid;
  grid-template-columns: 44px auto;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
}

.brand-mark svg {
  width: 44px;
  height: 44px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.site-header nav a,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.header-cta,
.primary,
.secondary,
.text-link,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--moss);
  color: var(--white);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.header-cta,
.primary {
  box-shadow: 0 10px 24px rgba(47, 93, 80, 0.18);
}

.secondary {
  background: var(--white);
  color: var(--moss-dark);
  border: 1px solid var(--line);
}

.hero {
  min-height: calc(100vh - 73px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: stretch;
}

.hero-media {
  min-height: 620px;
}

.hero-media img,
.subhero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 78px);
  background:
    linear-gradient(90deg, rgba(251, 251, 247, 0.96), rgba(251, 251, 247, 0.88)),
    var(--paper);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--clay-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  font-family: Arial, Helvetica, ui-sans-serif, system-ui, sans-serif;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.hero-panel p,
.section-copy,
.subhero p,
.estimate-copy p,
.simple-page p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.58;
}

.hero-explore {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.hero-explore a {
  display: grid;
  gap: 5px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(21, 39, 33, 0.09);
}

.hero-explore strong {
  color: var(--moss-dark);
  font-size: 18px;
  font-weight: 900;
}

.hero-explore span {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}

.hero-disclosure {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--clay);
  background: rgba(255, 255, 255, 0.72);
  color: #3f4a45;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.explore,
.feature-tags,
.gallery,
.compliance-note,
.estimate,
.local-content,
.cost-band,
.simple-page {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.compliance-note {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 24px;
  align-items: start;
  padding-top: clamp(42px, 6vw, 72px);
  padding-bottom: clamp(42px, 6vw, 72px);
}

.compliance-note > div:first-child p:last-child {
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.55;
}

.compliance-grid {
  display: grid;
  gap: 12px;
}

.compliance-grid article {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--clay);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(21, 39, 33, 0.08);
}

.compliance-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.48;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.area-card {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(21, 39, 33, 0.08);
}

.area-card span {
  font-weight: 900;
  font-size: 18px;
}

.area-card small {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.35;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.type-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.type-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.type-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.type-card p {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

.type-card ul {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: #34413c;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.text-link {
  margin-top: auto;
  background: var(--clay);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}

.tag-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--moss-dark);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(21, 39, 33, 0.07);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(21, 39, 33, 0.1);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card div {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.feature-card span {
  margin-bottom: 8px;
  color: var(--clay-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card p {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.gallery figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ddd;
}

.gallery figure a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  background: rgba(23, 32, 29, 0.78);
  color: var(--white);
  border-radius: 6px;
  font-weight: 800;
}

.how-it-works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 18px 0 72px;
}

.how-it-works div,
.content-grid article,
.cost-band > div {
  padding: 22px;
  background: var(--sage);
  border-radius: 8px;
}

.how-it-works span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  background: var(--moss);
  color: var(--white);
  border-radius: 50%;
  font-weight: 900;
}

.how-it-works p,
.content-grid p,
.cost-band p,
.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.estimate {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.12fr);
  gap: 28px;
  align-items: start;
}

.estimate-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.estimate-proof span {
  padding: 9px 11px;
  background: var(--sky);
  border-radius: 8px;
  color: #294955;
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-form label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 13px;
  border: 1px solid #cfd7d0;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.lead-form textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 10px;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  line-height: 1.35;
}

.consent input {
  width: auto;
  margin-top: 1px;
}

.trap {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-note {
  font-size: 12px;
}

.form-result {
  padding: 12px;
  border-radius: 8px;
  background: var(--sage);
  color: var(--moss-dark);
  font-weight: 800;
}

.form-result.error {
  background: #f8ded6;
  color: #6b271a;
}

.subhero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 90px) 0 18px;
}

.subhero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
}

.subhero img {
  min-height: 420px;
  border-radius: 8px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cost-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
}

.cost-band span {
  display: block;
  margin-bottom: 10px;
  color: var(--clay-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.cost-band strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 46px);
}

.simple-page {
  min-height: 60vh;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 4vw, 48px);
  background: #17201d;
  color: var(--white);
}

.site-footer p {
  max-width: 620px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.site-footer div:last-child {
  display: flex;
  gap: 16px;
  align-items: start;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero,
  .subhero,
  .estimate,
  .compliance-note,
  .cost-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 360px;
    order: 2;
  }

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

  .gallery-grid,
  .how-it-works,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    grid-template-columns: 38px auto;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-mark svg {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 10px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .hero-panel {
    padding: 34px 18px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-panel p,
  .section-copy,
  .subhero p,
  .estimate-copy p {
    font-size: 16px;
  }

  .explore,
  .feature-tags,
  .gallery,
  .compliance-note,
  .estimate,
  .local-content,
  .cost-band,
  .simple-page,
  .subhero,
  .how-it-works {
    width: min(100% - 28px, 1180px);
  }

  .area-grid,
  .type-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .gallery figure {
    min-height: 220px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 18px;
  }

  .site-footer {
    display: grid;
  }
}
