:root {
  --graphite-950: #101315;
  --graphite-900: #171b1e;
  --graphite-800: #202629;
  --graphite-700: #333b3f;
  --silver-300: #cbd3d6;
  --silver-200: #dfe5e7;
  --silver-100: #eef2f3;
  --paper: #fbfcfc;
  --white: #ffffff;
  --red: #e33b32;
  --red-dark: #ba2a24;
  --text: #1d2326;
  --muted: #637075;
  --border: #d7dee0;
  --shadow: 0 18px 50px rgba(16, 19, 21, .12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(227, 59, 50, .7);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 19, 21, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 150px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.header-nav a,
.footer-inner a,
.text-link {
  text-decoration: none;
}

.header-nav a:hover,
.footer-inner a:hover,
.text-link:hover {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-link {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  text-decoration: none;
}

.social-link:hover {
  border-color: rgba(227, 59, 50, .72);
  background: rgba(227, 59, 50, .18);
}

.social-icon {
  width: 22px;
  height: 22px;
}

.social-icon-svg {
  filter: brightness(0) invert(1);
}

.social-icon-max {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--graphite-950);
  padding: 128px 0 54px;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 19, 21, .88), rgba(16, 19, 21, .52) 44%, rgba(16, 19, 21, .2)),
    linear-gradient(0deg, rgba(16, 19, 21, .92), rgba(16, 19, 21, 0) 42%);
}

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

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6vw, 86px);
  line-height: .98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255, 255, 255, .86);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--red);
  color: var(--white);
}

.button-primary:hover {
  background: var(--red-dark);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .68;
  transform: none;
}

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

.button-outline {
  color: var(--graphite-950);
  border-color: var(--border);
  background: var(--white);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  gap: 1px;
  margin: 44px 0 0;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .18);
}

.hero-facts div {
  padding: 18px;
  background: rgba(16, 19, 21, .48);
}

.hero-facts dt {
  font-weight: 800;
}

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

section {
  padding: 88px 0;
}

.band-light {
  background: var(--silver-100);
}

.band-graphite {
  color: var(--white);
  background: var(--graphite-900);
}

.split,
.value-grid,
.process-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

p {
  margin: 0;
}

.lead-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
}

.band-graphite .lead-copy {
  color: rgba(255, 255, 255, .74);
}

.value-copy p {
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--red);
  font-weight: 800;
}

.value-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-list li {
  display: grid;
  gap: 5px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.value-list span {
  color: var(--muted);
}

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

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

.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
}

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

.service-card,
.price-card,
.case-card,
.form-panel {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 220px;
  padding: 24px;
  color: var(--graphite-950);
}

.service-card p,
.price-card p,
.case-body p,
.form-note {
  color: var(--muted);
}

.service-card p {
  margin-top: 14px;
}

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

.case-card {
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--border);
}

.case-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--silver-100);
}

.case-card-wide {
  grid-column: 1 / -1;
}

.case-card-wide .case-compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
}

.case-compare figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--silver-100);
}

.case-compare figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(16, 19, 21, .78);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.case-body {
  padding: 22px;
}

.case-body p {
  margin-top: 10px;
}

.price-card {
  padding: 24px;
  box-shadow: none;
  border: 1px solid var(--border);
}

.price {
  margin: 18px 0 12px;
  color: var(--red);
  font-size: 28px;
  font-weight: 900;
}

.price-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--graphite-950);
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 18px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.steps span {
  grid-row: 1 / 3;
  color: var(--red);
  font-weight: 900;
}

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

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

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

summary {
  min-height: 56px;
  padding: 18px 20px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
}

.contact-list div {
  display: grid;
  gap: 2px;
}

.contact-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  font-weight: 800;
}

.map-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #e8edef;
  box-shadow: var(--shadow);
}

.map-embed iframe,
.map-embed > div {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-embed .dg-widget-link,
.map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  color: var(--red);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.map-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.map-link:hover {
  color: var(--red-dark);
}

.form-panel {
  padding: 28px;
  border: 1px solid var(--border);
}

.inspection-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--red);
}

.field-error {
  min-height: 18px;
  color: var(--red-dark);
  font-size: 13px;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 20px;
  font-weight: 800;
}

.form-status.is-success {
  color: #286b3a;
}

.form-status.is-error {
  color: var(--red-dark);
}

.site-footer {
  padding: 28px 0 96px;
  color: rgba(255, 255, 255, .76);
  background: var(--graphite-950);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: rgba(16, 19, 21, .94);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity .18s ease, transform .18s ease;
}

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

.mobile-cta a {
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
}

.mobile-cta a:first-child {
  background: var(--red);
}

.mobile-cta a:last-child {
  background: rgba(255, 255, 255, .12);
}

@media (max-width: 980px) {
  .header-nav {
    display: none;
  }

  .split,
  .value-grid,
  .process-layout,
  .contact-layout,
  .case-card-wide {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    position: absolute;
    width: 100%;
    background: linear-gradient(180deg, rgba(16, 19, 21, .94), rgba(16, 19, 21, 0));
    border-bottom: 0;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand img {
    width: 120px;
  }

  .phone-link {
    display: none;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-icon {
    width: 20px;
    height: 20px;
  }

  .social-icon-max {
    width: 22px;
    height: 22px;
  }

  .hero {
    min-height: 82svh;
    padding: 96px 0 28px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-facts {
    display: none;
  }

  section {
    padding: 64px 0;
  }

  .section-head-row {
    display: grid;
    align-items: start;
  }

  .service-grid,
  .price-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card-wide .case-compare {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 44px 1fr;
    padding-inline: 0;
  }

  .form-panel {
    padding: 20px;
  }

  .footer-inner {
    display: grid;
  }

  .mobile-cta {
    display: grid;
  }
}

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