:root {
  --ink: #182026;
  --muted: #5b6872;
  --panel: #ffffff;
  --paper: #f5f7f4;
  --line: #d9ded8;
  --accent: #d64123;
  --accent-dark: #a52f1e;
  --gold: #f0b429;
  --steel: #2f4858;
  --green: #3f6f55;
  --shadow: 0 22px 55px rgba(24, 32, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.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;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  background: rgba(245, 247, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--muted);
  border-radius: 6px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 9px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  padding: 8vw 5vw;
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 19, 23, 0.88), rgba(14, 19, 23, 0.48) 58%, rgba(14, 19, 23, 0.18));
}

.hero-media,
.shop-photo {
  background-position: center;
  background-size: cover;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background-image: url("../images/check-engine-lights.jpg");
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.15rem;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.about-hero p:not(.eyebrow) {
  max-width: 660px;
  font-size: 1.12rem;
}

.hero-actions,
.section-heading {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

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

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.quick-info div {
  padding: 28px 5vw;
  background: #fff;
}

.quick-info strong,
.quick-info span,
.site-footer span {
  display: block;
}

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

.section,
.split-band,
.about-hero,
.team-band,
.contact-layout {
  padding: 80px 5vw;
}

.section-heading {
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.service-grid,
.values,
.service-menu,
.contact-layout {
  display: grid;
  gap: 22px;
}

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

.service-card,
.values article,
.service-menu article,
.contact-form,
.contact-card {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 32, 38, 0.06);
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--steel);
  border-radius: 6px;
  font-weight: 800;
}

.service-card p,
.values p,
.service-menu p,
.contact-card p,
.site-footer p {
  color: var(--muted);
}

.split-band,
.team-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: center;
  color: #fff;
  background: var(--steel);
}

.split-band p {
  color: #dbe4e8;
}

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

.process-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  padding: 16px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  font-weight: 800;
}

.process-list span {
  color: var(--accent);
}

.page-hero {
  padding: 92px 5vw 60px;
  color: #fff;
  background: linear-gradient(rgba(24, 32, 38, 0.72), rgba(24, 32, 38, 0.72)), url("https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=1600&q=82") center/cover;
}

.page-hero.compact {
  min-height: 390px;
  display: grid;
  align-content: end;
}

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

.service-menu ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.accent-panel {
  color: #fff;
  background: var(--green) !important;
  border-color: transparent !important;
}

.accent-panel p {
  color: #e9f3ed;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  align-items: center;
}

.about-hero .eyebrow {
  color: var(--accent);
}

.shop-photo {
  min-height: 440px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background-image: url("https://images.unsplash.com/photo-1599256630445-67b5772b1204?auto=format&fit=crop&w=1400&q=82");
}

.values {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 0;
}

.team-band {
  background: var(--ink);
}

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

.stats div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.stats strong {
  display: block;
  color: var(--gold);
  font-size: 2.3rem;
  line-height: 1;
}

.contact-hero {
  background-image: linear-gradient(rgba(24, 32, 38, 0.74), rgba(24, 32, 38, 0.74)), url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1600&q=82");
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 5vw;
  color: #fff;
  background: #10171c;
}

.site-footer p {
  margin-bottom: 0;
}

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

  .split-band,
  .about-hero,
  .team-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-card {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 5vw;
    right: 5vw;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: calc(100vh - 68px);
  }

  .quick-info,
  .service-grid,
  .service-menu,
  .values,
  .stats,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .section,
  .split-band,
  .about-hero,
  .team-band,
  .contact-layout {
    padding: 58px 5vw;
  }

  .shop-photo {
    min-height: 320px;
  }

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