:root {
  --ink: #151713;
  --muted: #586057;
  --paper: #e7e9e2;
  --paper-strong: #f6f4eb;
  --line: #c9cbbf;
  --tar: #0c0f0c;
  --red: #b83227;
  --yellow: #f1c840;
  --teal: #0c7c76;
  --steel: #4d554f;
  --white: #fffaf0;
  --shadow: 0 22px 70px rgba(5, 6, 4, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
}

body::selection {
  background: var(--yellow);
  color: var(--tar);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 10px 28px;
  background: rgba(231, 233, 226, 0.9);
  border-bottom: 1px solid rgba(21, 23, 19, 0.14);
  backdrop-filter: blur(16px);
}

.brand,
.header-call,
.button,
.mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.brand {
  font-weight: 800;
  text-transform: uppercase;
}

.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: var(--tar);
  color: var(--yellow);
  border: 2px solid var(--yellow);
  border-radius: 6px;
}

.brand__text {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.nav-links a {
  padding: 10px 12px;
  color: rgba(21, 23, 19, 0.76);
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(12, 124, 118, 0.12);
  color: var(--ink);
}

.header-call {
  min-height: 42px;
  padding: 0 14px;
  color: var(--white);
  background: var(--red);
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(184, 50, 39, 0.24);
}

.header-call svg,
.button svg,
.service-card svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.4;
}

.hero {
  position: relative;
  min-height: calc(100svh - 92px);
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(12, 15, 12, 0.88), rgba(12, 15, 12, 0.48) 42%, rgba(12, 15, 12, 0.1)),
    linear-gradient(0deg, rgba(12, 15, 12, 0.26), rgba(12, 15, 12, 0.1)),
    url("assets/garage-bay.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.06) 0 1px, transparent 1px 86px),
    repeating-linear-gradient(0deg, rgba(255, 250, 240, 0.04) 0 1px, transparent 1px 62px);
  mix-blend-mode: overlay;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 34px;
  align-items: center;
  width: min(1180px, calc(100% - 44px));
  min-height: calc(100svh - 92px);
  margin: 0 auto;
  padding: 56px 0 74px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 7ch;
  margin-bottom: 22px;
  font-family: "Bahnschrift Condensed", "Impact", sans-serif;
  font-size: 6.4rem;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 30px;
  color: rgba(255, 250, 240, 0.88);
  font-size: 1.22rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.mini-action:hover,
.header-call:hover {
  transform: translateY(-2px);
}

.button--primary,
.button--submit {
  background: var(--yellow);
  color: var(--tar);
  box-shadow: 0 16px 34px rgba(241, 200, 64, 0.26);
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 250, 240, 0.1);
  border-color: rgba(255, 250, 240, 0.28);
}

.button--ghost.light {
  color: var(--ink);
  border-color: rgba(21, 23, 19, 0.22);
  background: rgba(255, 250, 240, 0.5);
}

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

.hero-facts div {
  padding: 13px 14px;
  background: rgba(12, 15, 12, 0.42);
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 6px;
}

.hero-facts dt {
  color: var(--yellow);
  font-size: 1.1rem;
  font-weight: 900;
}

.hero-facts dd {
  margin: 2px 0 0;
  color: rgba(255, 250, 240, 0.68);
}

.quote-panel {
  padding: 22px;
  color: var(--ink);
  background: rgba(246, 244, 235, 0.94);
  border: 1px solid rgba(255, 250, 240, 0.58);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.quote-panel h2 {
  margin: 0;
  font-size: 1.5rem;
}

.status-pill {
  padding: 5px 8px;
  color: var(--tar);
  background: rgba(12, 124, 118, 0.16);
  border: 1px solid rgba(12, 124, 118, 0.32);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field select {
  min-height: 46px;
  width: 100%;
  padding: 0 12px;
  color: var(--ink);
  background: #fffef8;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(12, 124, 118, 0.14);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.segmented legend {
  grid-column: 1 / -1;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.segmented label {
  min-width: 0;
}

.segmented input {
  position: absolute;
  opacity: 0;
}

.segmented span {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 0 8px;
  background: #fffef8;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.segmented input:checked + span {
  color: var(--tar);
  background: var(--yellow);
  border-color: rgba(12, 15, 12, 0.32);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
  padding: 13px;
  background: rgba(12, 124, 118, 0.08);
  border: 1px solid rgba(12, 124, 118, 0.24);
  border-radius: 6px;
}

.toggle-row span {
  display: grid;
  gap: 3px;
}

.toggle-row small {
  color: var(--muted);
}

.toggle-row input {
  width: 46px;
  height: 26px;
  accent-color: var(--teal);
}

.estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.estimate strong {
  color: var(--red);
  font-size: 1.45rem;
}

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

.form-note {
  min-height: 1.35em;
  margin: 12px 0 0;
  color: var(--teal);
  font-size: 0.95rem;
  line-height: 1.35;
}

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

.services-section,
.prices-section,
.process-section,
.contact-section {
  padding: 78px max(22px, calc((100% - 1180px) / 2));
}

.services-section {
  background: var(--paper-strong);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.price-intro h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: 2.45rem;
  line-height: 1.04;
}

.section-heading .eyebrow,
.price-intro .eyebrow,
.contact-section .eyebrow {
  color: var(--red);
}

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

.service-card {
  display: grid;
  min-height: 276px;
  align-content: start;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(21, 23, 19, 0.08);
}

.service-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  color: var(--teal);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.service-card p {
  color: var(--muted);
  line-height: 1.5;
}

.mini-action {
  align-self: end;
  justify-self: start;
  min-height: 38px;
  margin-top: 22px;
  padding: 0 13px;
  color: var(--white);
  background: var(--tar);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.prices-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: 42px;
  align-items: start;
  background: #dce0d8;
}

.price-intro p:last-child {
  max-width: 500px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.price-list {
  display: grid;
  gap: 9px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(21, 23, 19, 0.16);
  border-radius: 6px;
}

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

.process-section {
  background:
    linear-gradient(135deg, rgba(12, 124, 118, 0.14), transparent 36%),
    var(--tar);
  color: var(--white);
}

.section-heading--compact {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 150px;
  padding: 20px;
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 8px;
}

.process-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--yellow);
  font-weight: 900;
}

.process-list p {
  margin: 0;
  color: rgba(255, 250, 240, 0.78);
  line-height: 1.5;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    repeating-linear-gradient(-45deg, rgba(21, 23, 19, 0.05) 0 1px, transparent 1px 14px),
    var(--paper-strong);
}

.contact-section p:last-child {
  max-width: 650px;
  margin-top: 15px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .quote-panel,
  .service-card,
  .price-row,
  .process-list li {
    animation: rise-in 560ms ease both;
  }

  .quote-panel { animation-delay: 90ms; }
  .service-card:nth-child(2) { animation-delay: 80ms; }
  .service-card:nth-child(3) { animation-delay: 150ms; }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

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

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 46px;
  }

  h1 {
    max-width: none;
    font-size: 4.7rem;
  }

  .quote-panel {
    max-width: 520px;
  }

  .section-heading,
  .prices-section {
    grid-template-columns: 1fr;
  }

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

  .service-card,
  .process-list li {
    min-height: auto;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

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

  .brand__text,
  .header-call span {
    display: none;
  }

  .hero {
    background-position: 58% center;
  }

  .hero__inner {
    width: min(100% - 28px, 1180px);
    padding-bottom: 46px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-facts,
  .quote-panel__head,
  .price-row {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .quote-panel__head {
    display: grid;
  }

  .hero-facts {
    display: grid;
  }

  .button,
  .header-call {
    width: 100%;
  }

  .header-call {
    width: 44px;
    padding: 0;
  }

  .quote-panel {
    padding: 16px;
  }

  .services-section,
  .prices-section,
  .process-section,
  .contact-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-heading h2,
  .price-intro h2,
  .contact-section h2 {
    font-size: 2rem;
  }
}
