:root {
  --ink: #18212f;
  --muted: #5d6775;
  --line: #dfe5ec;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --navy: #10345a;
  --red: #c9242f;
  --red-dark: #9f1b25;
  --gold: #d99a29;
  --teal: #17816d;
  --shadow: 0 18px 45px rgba(16, 52, 90, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 130px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ffd47f;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: var(--navy);
  box-shadow: var(--shadow);
  transform: translateY(-180%);
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
}

.topbar__inner,
.nav,
.section,
.split-section,
.process,
.contact-section,
.footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
}

.topbar a {
  color: #ffe2a8;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand__logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 54px;
  background: transparent;
}

.brand__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #263447;
  font-weight: 800;
}

.nav__links > a:not(.button) {
  position: relative;
  padding: 24px 0;
}

.nav__links > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 3px;
  background: var(--red);
  content: "";
  opacity: 0;
  transform: scaleX(0.65);
  transition: 0.18s ease;
}

.nav__links > a:not(.button):hover::after,
.nav__links > a:not(.button):focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.nav__toggle svg {
  width: 24px;
  height: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  background: var(--red);
  box-shadow: 0 14px 28px rgba(201, 36, 47, 0.24);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--red-dark);
  box-shadow: 0 18px 36px rgba(201, 36, 47, 0.3);
  transform: translateY(-1px);
}

.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.button--small {
  min-height: 42px;
  padding: 0 15px;
  font-size: 0.9rem;
}

.button--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.hero {
  min-height: clamp(560px, 70vh, 700px);
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 28, 44, 0.94) 0%, rgba(13, 28, 44, 0.74) 34%, rgba(13, 28, 44, 0.2) 70%),
    url("assets/hero-garage-service.png") center / cover no-repeat;
}

.hero__content {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd47f;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 690px;
  font-size: clamp(2.85rem, 5.1vw, 4.45rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: 1.2rem;
}

.hero__lead {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.promo-callout {
  display: grid;
  max-width: 460px;
  gap: 3px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
}

.promo-callout span {
  color: #ffd47f;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.promo-callout strong {
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.promo-callout small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  gap: 12px;
  margin-top: 22px;
}

.hero__stats span {
  min-height: 78px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
}

.hero__stats strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
}

.alert-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px max(20px, calc((100vw - 1160px) / 2));
  color: #fff;
  background: var(--teal);
}

.alert-band div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.alert-band a {
  flex: 0 0 auto;
  border-bottom: 2px solid rgba(255, 255, 255, 0.65);
  font-weight: 900;
}

.section,
.split-section,
.process,
.contact-section {
  padding: 92px 0;
}

.section__heading {
  display: grid;
  gap: 4px;
  margin-bottom: 32px;
}

.section__heading h2 + p {
  max-width: 650px;
  color: var(--muted);
}

.seo-intro {
  padding-top: 70px;
  padding-bottom: 0;
}

.seo-intro__inner {
  max-width: 900px;
}

.seo-intro p:last-child {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.service-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(16, 52, 90, 0.06);
}

.service-card p,
.steps p,
.split-section p,
.proof-list span,
.contact-section p,
.footer p {
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--red);
  background: #fff1f1;
}

.icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  margin: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-section__copy p:last-child {
  max-width: 580px;
  font-size: 1.05rem;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list div {
  padding: 22px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: var(--soft);
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list strong {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.process {
  background: #fff;
}

.reviews-section {
  width: 100%;
  padding: 92px max(20px, calc((100vw - 1160px) / 2));
  background: var(--soft);
}

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

.review-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(16, 52, 90, 0.06);
}

.review-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.15rem;
}

.review-grid p {
  margin: 0;
  color: var(--muted);
}

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

.steps li {
  position: relative;
  min-height: 190px;
  padding: 26px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--navy);
  font-weight: 900;
  background: #fff;
}

.steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.section--areas {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1160px) / 2));
  padding-left: max(20px, calc((100vw - 1160px) / 2));
  background: var(--soft);
}

.area-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.map-panel {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 52, 90, 0.9), rgba(23, 129, 109, 0.78)),
    repeating-linear-gradient(45deg, transparent 0 17px, rgba(255, 255, 255, 0.08) 18px 19px);
  box-shadow: var(--shadow);
}

.map-panel__ring {
  position: absolute;
  inset: 18%;
  border: 2px dashed rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.map-panel__center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border: 8px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: var(--red);
  transform: translate(-50%, -50%);
}

.map-panel span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  transform: translate(-50%, -50%);
}

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

.area-list li {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  background: #fff;
}

.area-list li::before {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.faq-section {
  border-bottom: 1px solid var(--line);
}

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

.faq-list article {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(16, 52, 90, 0.06);
}

.faq-list h3 {
  margin-bottom: 10px;
}

.faq-list p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 40px;
  align-items: start;
}

.contact-section__copy {
  position: sticky;
  top: 120px;
}

.contact-highlights {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.phone-card {
  display: grid;
  gap: 3px;
  max-width: 320px;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.phone-card span {
  color: #ffd47f;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phone-card strong {
  font-size: 1.8rem;
  line-height: 1;
}

.phone-card small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-highlights span {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--navy);
  font-weight: 900;
  background: #edf5f3;
}

.service-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

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

.service-form label {
  color: var(--ink);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.service-form__wide,
.form-status {
  grid-column: 1 / -1;
}

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

.form-status a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.form-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 900;
  background: #edf5f3;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__brand img {
  width: 58px;
  height: 64px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer p {
  margin: 6px 0 0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .nav__toggle {
    display: grid;
    place-items: center;
  }

  .nav__links {
    position: fixed;
    top: 114px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav__links a {
    min-height: 44px;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links > a:not(.button) {
    padding: 14px 4px;
  }

  .nav__links > a:not(.button)::after {
    display: none;
  }

  .button--small {
    margin-top: 10px;
  }

  .service-grid,
  .faq-list,
  .review-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .area-wrap,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-section__copy {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 720px) {
  .topbar__inner,
  .alert-band,
  .footer,
  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar__inner,
  .nav,
  .section,
  .split-section,
  .process,
  .contact-section,
  .footer,
  .hero__content {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand__logo {
    width: 42px;
    height: 48px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.7rem;
  }

  .nav__links {
    top: 108px;
    right: 14px;
    left: 14px;
  }

  .hero {
    min-height: 650px;
    background:
      linear-gradient(90deg, rgba(13, 28, 44, 0.94) 0%, rgba(13, 28, 44, 0.7) 55%, rgba(13, 28, 44, 0.16) 100%),
      url("assets/hero-garage-service-mobile.png") center / cover no-repeat;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero__stats,
  .service-grid,
  .faq-list,
  .review-grid,
  .steps,
  .area-list,
  .service-form {
    grid-template-columns: 1fr;
  }

  .service-form {
    padding: 18px;
  }

  .section,
  .split-section,
  .process,
  .contact-section {
    padding: 64px 0;
  }

  .map-panel {
    min-height: 340px;
  }

  .map-panel span {
    font-size: 0.72rem;
  }
}
