:root {
  --ink: #18231f;
  --muted: #5d6862;
  --paper: #f6f8f2;
  --soft: #e7ece3;
  --line: #cfd8cf;
  --spruce: #183f35;
  --spruce-2: #2d7e67;
  --brick: #bd5637;
  --amber: #dcae3f;
  --steel: #506977;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(24, 35, 31, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Trebuchet MS", "Helvetica Neue", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(24, 35, 31, 0.86), rgba(24, 35, 31, 0.18));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(24, 35, 31, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 190px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.nav-phone {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 6px 0;
}

.hero {
  min-height: calc(100svh - 44px);
  max-height: 820px;
  position: relative;
  display: grid;
  align-items: center;
  padding: 110px clamp(18px, 6vw, 84px) 70px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 28, 24, 0.92) 0%, rgba(15, 28, 24, 0.72) 42%, rgba(15, 28, 24, 0.18) 82%),
    url("assets/master-hero.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, rgba(246, 248, 242, 0.92));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(730px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd36a;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  max-width: 12ch;
  font-size: clamp(46px, 7vw, 92px);
}

h2 {
  font-size: clamp(32px, 4.8vw, 58px);
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.form-submit {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: var(--amber);
  color: #17211e;
  box-shadow: 0 14px 32px rgba(220, 174, 63, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #edbe4b;
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 36px 0 0;
}

.hero-facts div {
  border-left: 2px solid rgba(255, 211, 106, 0.8);
  padding-left: 14px;
}

.hero-facts dt {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
}

.hero-facts dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.quick-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px clamp(18px, 4vw, 56px) 26px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.quick-strip a,
.district-cloud span {
  flex: 0 0 auto;
  color: var(--spruce);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  padding: 9px 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-head.compact {
  margin-bottom: 22px;
}

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

.service-card,
.proof-list article,
.steps li,
.price-table,
.lead-form,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.service-card {
  min-height: 240px;
  padding: 24px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--spruce);
  color: var(--white);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p,
.proof-list p,
.steps p,
.faq p,
.lead-copy p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--soft);
}

.sticky-copy {
  position: sticky;
  top: 110px;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--spruce);
  font-weight: 900;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.price-table {
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.price-row-head {
  background: var(--spruce);
  color: var(--white);
  font-weight: 900;
}

.price-row strong {
  color: var(--brick);
  white-space: nowrap;
}

.price-note {
  display: block;
  padding: 18px 22px;
  color: var(--muted);
  background: #fbfcf8;
  font-size: 14px;
}

.proof-band {
  background:
    linear-gradient(90deg, rgba(24, 63, 53, 0.94), rgba(32, 86, 70, 0.92)),
    radial-gradient(circle at 80% 20%, rgba(220, 174, 63, 0.24), transparent 30%);
  color: var(--white);
}

.proof-band .eyebrow {
  color: #ffd36a;
}

.proof-band .section-head p {
  color: rgba(255, 255, 255, 0.74);
}

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

.proof-list article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.proof-list p {
  color: rgba(255, 255, 255, 0.72);
}

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

.steps li {
  padding: 24px;
  background: var(--white);
}

.steps span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--brick);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
}

.districts {
  background: #f0f3ed;
}

.district-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq details {
  padding: 0 22px;
  background: var(--white);
}

.faq summary {
  cursor: pointer;
  padding: 22px 0;
  font-weight: 900;
}

.faq details[open] summary {
  color: var(--spruce);
}

.faq p {
  padding: 0 0 22px;
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(24, 35, 31, 0.97), rgba(24, 63, 53, 0.93)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, 0.05) 34px 35px);
  color: var(--white);
}

.lead-copy .eyebrow {
  color: #ffd36a;
}

.lead-copy h2 {
  margin-bottom: 18px;
}

.lead-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  color: var(--white);
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

label span {
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcf8;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--spruce-2);
  box-shadow: 0 0 0 3px rgba(45, 126, 103, 0.14);
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 500;
  color: var(--muted);
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
}

.form-submit {
  width: 100%;
  border: 0;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--spruce);
  font-weight: 800;
}

.form-status.is-success {
  color: var(--spruce-2);
}

.form-status.is-error {
  color: #a43d28;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #101714;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 900;
}

.scroll-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 30;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  background: var(--spruce);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(16, 23, 20, 0.28);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover,
.scroll-top:focus-visible {
  background: var(--brick);
}

.scroll-top svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

  .split-section,
  .lead-section {
    grid-template-columns: 1fr;
  }

  .sticky-copy {
    position: static;
  }
}

@media (max-width: 740px) {
  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border-radius: var(--radius);
    background: rgba(24, 35, 31, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .nav-phone {
    text-align: center;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 52px);
    padding: 94px 18px 64px;
    background:
      linear-gradient(90deg, rgba(15, 28, 24, 0.97), rgba(15, 28, 24, 0.82), rgba(15, 28, 24, 0.56)),
      url("assets/master-hero.png") 94% center / cover no-repeat;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .proof-list,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .lead-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
  }

  .scroll-top {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
