@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  scroll-padding-top: var(--header-height, 72px);
  --navy: #0f2a43;
  --ink: #10243a;
  --muted: #4b5c76;
  --pale: #f4f7fa;
  --line: #d8e3ed;
  --orange: #c2410c;
  --rust: #9a3412;
  --blue: #12405f;
  --light-text: #cbdbe7;
  --heading: "Space Grotesk", Arial, sans-serif;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--pale);
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
body { line-height: 1.5; }
input, select, button { font: inherit; }
a { color: inherit; font-weight: 600; }
a:hover { text-decoration-thickness: 2px; }
.phone-number { white-space: nowrap; }
:focus-visible { outline: 3px solid #438aba; outline-offset: 3px; }
.wrap { width: min(1112px, calc(100% - 48px)); margin-inline: auto; }
h1, h2, h3, .brand, .offer-grid strong, .discounts dt { font-family: var(--heading); }
h2 { font-size: 2.25rem; line-height: 1.25; letter-spacing: -.008em; }
h3 { font-size: 1.3125rem; line-height: 1.25; font-weight: 600; }

.masthead, .hero, .inspection, footer { background: var(--navy); color: white; }
.masthead { position: sticky; top: 0; z-index: 10; }
.header-row, .header-contact, .hero-actions, .benefits, .septic, .form-foot, .footer-row {
  display: flex;
  align-items: center;
}
.header-row { min-height: 72px; justify-content: space-between; gap: 16px; }
.brand { font-size: 1.4375rem; font-weight: 700; letter-spacing: -.035em; }
.header-contact { gap: 16px; font-size: .875rem; color: var(--light-text); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 15px 28px;
  background: var(--orange);
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #a5360b; }
.header-call { font-size: 1rem; line-height: 20px; padding: 12px 20px; border-radius: 8px; }
.hero {
  --yard-photo: url("sewer-camera-inspection.webp");
  padding: 24px 0 70px;
  background-image:
    linear-gradient(90deg, rgb(15 42 67 / 94%), rgb(15 42 67 / 84%) 26%, rgb(15 42 67 / 70%) 43%, rgb(15 42 67 / 48%) 53%, rgb(15 42 67 / 72%) 76%, var(--navy) 94%),
    var(--yard-photo);
  background-position: center, calc(50% - 6vw) 54%;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; align-items: center; }
.area-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--blue);
  color: #bedff1;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: -.005em;
}
h1 { margin: 20px 0; font-size: 3.25rem; line-height: 1.05; letter-spacing: -.020em; }
.lead { max-width: 530px; font-size: 1.2rem; line-height: 1.5; color: var(--light-text); letter-spacing: -.012em; font-weight: 500; }
.hero-actions { flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.secondary { background: transparent; box-shadow: inset 0 0 0 1.5px #628ba9; }
.secondary:hover { background: var(--blue); }
.benefits { flex-wrap: wrap; list-style: none; padding: 0; gap: 6px 24px; color: var(--light-text); font-size: .9375rem; line-height: 24px; font-weight: 500; letter-spacing: -.005em; }
.benefits li::before { content: "✓"; margin-right: 3px; }

.quote { padding: 28px; border-radius: 16px; color: var(--ink); background: white; scroll-margin-top: 16px; }
.quote h2 { font-size: 1.5rem; line-height: 32px; letter-spacing: 0; font-weight: 600; }
.quote > p { margin-top: 4px; color: var(--muted); font-size: .9375rem; line-height: 20px; }
.fields { display: grid; gap: 12px; margin-top: 18px; }
.fields label { display: grid; gap: 5px; min-width: 0; font-size: .875rem; font-weight: 600; line-height: 20px; }
.fields input, .fields select { width: 100%; min-width: 0; height: 48px; padding: 0 10px; border: 1px solid #a3b5ce; border-radius: 8px; background: white; color: #111; font-size: 1rem; font-weight: 400; }
.service-zip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(78px, 110px); gap: 12px; }
.submit { width: 100%; margin-top: 16px; padding-block: 14px; }
.form-foot { margin-top: 12px; gap: 4px 7px; flex-wrap: wrap; font-size: .8125rem; line-height: 18px; color: var(--muted); }
.check { display: flex; width: 100%; min-height: 44px; align-items: center; gap: 10px; margin-top: 16px; font-size: 1rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); cursor: pointer; }

.offers { position: relative; margin-top: -40px; padding: 28px; border-radius: 16px; background: white; box-shadow: 0 12px 32px rgb(15 42 67 / 10%); }
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.offer-grid strong { display: block; color: var(--rust); font-size: 2.5rem; line-height: 1.25; font-weight: 700; }
.offer-grid p { margin-top: 4px; line-height: 20px; }
.fineprint { color: var(--muted); font-size: .8125rem; line-height: 18px; }
.offers .fineprint { margin-top: 22px; }
.services, .lower { padding-block: 72px; }
.section-intro { margin: 8px 0 24px; font-size: 1.125rem; color: var(--muted); }
.service-grid, .review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.service-grid p { margin-top: 8px; color: var(--muted); }
.septic { margin-top: 20px; justify-content: space-between; gap: 24px; background: #e6f1f8; border-radius: 12px; padding: 20px 24px; }
.septic h3 { font-size: 1.25rem; line-height: 27px; }
.septic p { margin-top: 2px; line-height: 20px; color: #394c61; }
.septic a { flex: none; }

.inspection { padding-block: 64px; }
.inspection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.inspection p, .closing p { font-size: 1.125rem; line-height: 28px; font-weight: 500; }
.inspection p { margin: 16px 0 24px; color: var(--light-text); }
.steps { display: grid; gap: 16px; padding: 0; list-style: none; }
.steps li { background: var(--blue); padding: 18px 24px; border-radius: 12px; font-size: 1.1875rem; font-weight: 700; line-height: 26px; letter-spacing: -.01em; }
.steps span { display: block; color: #bedff1; font-size: .875rem; text-transform: uppercase; line-height: 22px; }

.lower { display: grid; grid-template-columns: minmax(0, 1fr); gap: 72px; }
.info-grid, .discounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-grid { gap: 32px; }
.info { padding: 32px; }
.info h2 { font-size: 1.75rem; }
.info > p { margin: 12px 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.55; }
.discounts { margin-top: 14px; gap: 12px; }
.discounts > div { border-radius: 8px; background: var(--pale); padding: 14px; }
.discounts dt { font-size: 1.625rem; line-height: 32px; font-weight: 700; letter-spacing: -.03em; }
.discounts dd { color: var(--muted); font-size: .9375rem; line-height: 20px; }
.review-grid { margin-top: 24px; }
.review-grid figure { display: flex; flex-direction: column; gap: 16px; }
blockquote { color: var(--muted); }
.review-grid figcaption { margin-top: auto; font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.faq { width: min(812px, 100%); margin-inline: auto; }
.faq h2 { margin-bottom: 20px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: white; }
.faq details + details { margin-top: 10px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-size: 1.0625rem; font-weight: 600; line-height: 24px; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; }
.faq details[open] > summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }
.closing { text-align: center; padding: 48px 24px; background: var(--rust); border-radius: 16px; color: white; }
.closing p { margin: 8px 0 20px; color: #ffe9d9; }
.closing .button { max-width: 100%; color: #8c2d0b; background: white; font-size: 1.25rem; padding: 16px 32px; }
.closing .button:hover { background: #fff3ec; }
.footer-row { align-items: start; justify-content: space-between; gap: 24px; padding-block: 30px; font-size: .875rem; color: var(--light-text); letter-spacing: -.015em; }
.footer-row strong { color: white; font-size: 1rem; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; }
  h1 { font-size: 2.75rem; }
  .quote { padding: 24px; }
  .service-zip { grid-template-columns: minmax(0, 1fr) 82px; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 620px); }
  .header-contact > span { display: none; }
  .header-row { min-height: 66px; gap: 8px; flex-wrap: wrap; }
  .brand { flex: 1 0 min-content; font-size: 1.125rem; }
  .header-call { padding: 10px 12px; font-size: .875rem; }
  .hero-grid, .inspection-grid, .info-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 0 0 60px; background-image: none; }
  .hero-grid { width: 100%; }
  .hero .intro {
    position: relative;
    isolation: isolate;
    padding: 22px max(16px, calc((100% - 620px) / 2)) 0;
  }
  .hero .intro::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: -1;
    height: min(100%, 135vw);
    background:
      linear-gradient(to bottom, transparent 68%, var(--navy)),
      linear-gradient(90deg, rgb(15 42 67 / 86%), rgb(15 42 67 / 75%) 54%, rgb(15 42 67 / 63%)),
      var(--yard-photo) 49% center / cover no-repeat;
  }
  .hero .quote { width: min(calc(100% - 32px), 620px); margin-inline: auto; }
  h1 { font-size: clamp(2.25rem, 7.6vw, 3rem); }
  h2 { font-size: 1.875rem; }
  .lead { font-size: 1.125rem; }
  .hero-actions { margin: 22px 0 18px; }
  .benefits { gap: 4px 18px; }
  .offers { margin-top: -30px; padding: 22px; }
  .offer-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .offer-grid strong { font-size: 2rem; }
  .septic, .footer-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .inspection, .lower, .services { padding-block: 44px; }
  .lower { gap: 44px; }
  .review-grid { grid-template-columns: 1fr; gap: 12px; }
  .info { padding: 24px; }
  .footer-row { padding-block: 24px; }
}
@media (max-width: 480px) {
  .header-call svg { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 auto; padding: 12px 15px; font-size: 1rem; }
  .quote, .offers, .card, .septic { padding: 20px; }
  .service-zip { grid-template-columns: minmax(0, 1fr) 76px; gap: 8px; }
  .steps li { padding: 16px 20px; }
  .footer-row { font-size: .8125rem; }
}
