:root {
  color-scheme: dark;
  --ink: #f4f4f4;
  --muted: #b7bcc4;
  --line: #34363a;
  --paper: #18191b;
  --white: #ffffff;
  --red: #e32228;
  --red-dark: #b9151b;
  --black: #050505;
  --charcoal: #191919;
  --surface-high: #2b2d31;
  --surface-low: #121315;
  --gold: #f2b84b;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  --deep-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  --hero-x: 50%;
  --hero-y: 50%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(227, 34, 40, 0.12), transparent 24rem),
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.04), transparent 22rem);
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.topbar {
  background: var(--red);
  color: var(--white);
  font-size: 0.88rem;
}

.topbar .wrap,
.nav .wrap,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar .wrap {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
}

.topbar a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 212px;
  height: 48px;
  border-radius: 8px;
  background: url("bs-logo.png") center / contain no-repeat;
  color: transparent;
  display: grid;
  place-items: center;
  font-weight: 950;
  letter-spacing: 0;
  flex: 0 0 auto;
  overflow: hidden;
  font-size: 0;
  text-indent: -9999px;
  white-space: nowrap;
}

.brand-text {
  display: none;
}

.brand strong {
  font-size: 1.02rem;
  line-height: 1.05;
}

.brand span {
  font-size: 0.78rem;
  color: #c8c8c8;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--charcoal);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  place-content: center;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  display: block;
}

.nav-links {
  display: none;
  position: absolute;
  inset: 76px 16px auto 16px;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  padding: 0.6rem;
  border-radius: 8px;
}

.nav-links.is-open {
  display: grid;
}

.nav-links a {
  padding: 0.85rem 0.9rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(227, 34, 40, 0.16);
  color: #ff4a50;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

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

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

.btn-secondary {
  background: var(--black);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.67) 46%, rgba(0, 0, 0, 0.2)),
    url("shop-exterior.jpg") var(--hero-x) var(--hero-y) / cover;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.06), transparent 38%),
    radial-gradient(circle at 72% 52%, rgba(255, 255, 255, 0.07), transparent 18rem);
  mix-blend-mode: screen;
}

.hero::after {
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent);
}

.hero .section {
  min-height: 72vh;
  padding: clamp(4rem, 10vw, 7rem) 0 3rem;
  display: grid;
  align-items: end;
  animation: heroSettle 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero h1,
.hero p,
.hero-actions,
.eyebrow {
  animation: heroRise 780ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero p {
  animation-delay: 90ms;
}

.hero-actions {
  animation-delay: 160ms;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

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

h1 {
  margin-top: 1rem;
  font-size: clamp(2.45rem, 8vw, 5.4rem);
  max-width: 850px;
}

.hero p {
  margin: 1rem 0 0;
  max-width: 680px;
  color: #edf3f6;
  font-size: clamp(1.03rem, 2.5vw, 1.25rem);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.hero-facts {
  display: grid;
  gap: 0.7rem;
  margin-top: 2rem;
}

.fact {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.9rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  transform: translateZ(0);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
  animation: floatCard 4.8s ease-in-out infinite;
}

.fact:nth-child(2) {
  animation-delay: 0.35s;
}

.fact:nth-child(3) {
  animation-delay: 0.7s;
}

.fact:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-3px);
}

.fact strong {
  display: block;
  font-size: 1.3rem;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section.tight {
  padding-top: 2rem;
}

.section-head {
  display: grid;
  gap: 0.7rem;
  max-width: 760px;
  margin-bottom: 1.7rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2,
.page-title h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
}

.section-head p,
.page-title p,
.lead {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 0;
}

.band {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface-high);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.card:hover {
  border-color: rgba(227, 34, 40, 0.32);
  box-shadow: var(--deep-shadow);
  transform: translateY(-8px) scale(1.015);
}

.service-card {
  position: relative;
  overflow: hidden;
  padding-top: 0;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(227, 34, 40, 0.1), transparent 48%);
  opacity: 0;
  transition: opacity 200ms ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-image {
  min-height: 160px;
  margin: 0 -1.1rem 1rem;
  border-radius: 8px 8px 0 0;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  transform: scale(1);
  transition: transform 320ms ease, filter 320ms ease;
}

.service-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 78% 16%, rgba(227, 34, 40, 0.2), transparent 14rem);
}

.service-card:hover .service-card-image {
  filter: saturate(1.12) contrast(1.08);
  transform: scale(1.035);
}

.emissions-image {
  background-image: url("service-emissions.png");
}

.diagnostics-image {
  background-image: url("service-diagnostics.png");
}

.maintenance-image {
  background-image: url("service-maintenance.png");
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

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

.card a {
  color: #ff5358;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.service-list {
  columns: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  break-inside: avoid;
  padding: 0.55rem 0 0.55rem 1.25rem;
  position: relative;
  color: var(--muted);
}

.service-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  position: absolute;
  left: 0;
  top: 1.08rem;
}

.split {
  display: grid;
  gap: 1.4rem;
}

.photo-panel {
  min-height: 360px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(21, 32, 43, 0.1), rgba(21, 32, 43, 0.22)),
    url("diagnostics-bay.png") center / cover;
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateY(-2deg);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.photo-panel:hover {
  box-shadow: var(--deep-shadow);
  transform: perspective(900px) rotateY(0deg) translateY(-4px);
}

.hours {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-high);
  box-shadow: var(--shadow);
}

.hours th,
.hours td {
  text-align: left;
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.hours tr:last-child th,
.hours tr:last-child td {
  border-bottom: 0;
}

.hours td {
  color: var(--muted);
  font-weight: 800;
}

.reviews {
  display: grid;
  gap: 1rem;
}

.stars {
  color: var(--gold);
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.quote {
  font-size: 1.05rem;
  color: var(--ink);
}

.review-meta {
  margin-top: 0.8rem;
  color: var(--muted);
  font-weight: 800;
}

.page-hero {
  background: linear-gradient(135deg, #050505, #2a090a 58%, #8e1216);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -55% 35%;
  height: 90%;
  background: radial-gradient(circle, rgba(227, 34, 40, 0.35), transparent 62%);
  pointer-events: none;
}

.page-title {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  display: grid;
  gap: 1rem;
}

.page-title p {
  color: #e5edf2;
  max-width: 760px;
}

.breadcrumb {
  font-size: 0.84rem;
  color: #d8e6ee;
}

.breadcrumb a {
  color: inherit;
  font-weight: 900;
}

.callout {
  border-left: 5px solid var(--red);
  background: #251819;
  padding: 1rem;
  border-radius: 8px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step {
  position: relative;
  padding-left: 3.2rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-weight: 950;
}

.map-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  min-height: 360px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem;
  font: inherit;
  color: var(--ink);
  background: #161719;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 34, 40, 0.13);
  outline: none;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-error {
  margin: 0;
  color: #ff686d;
  font-size: 0.88rem;
  font-weight: 800;
}

.form-success {
  margin: 0;
  color: #9be59b;
  font-size: 0.9rem;
  font-weight: 900;
}

.field input[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 34, 40, 0.18);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.footer {
  background: #050505;
  color: var(--white);
}

.footer-inner {
  padding: 2.5rem 0;
  display: grid;
  gap: 1.4rem;
}

.footer a {
  color: var(--white);
}

.footer p {
  color: #c8d1d8;
  margin: 0.35rem 0;
}

.footer-credit {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #d7dce2;
  font-size: 0.9rem;
  padding-top: 1rem;
}

.footer-credit a {
  color: var(--white);
  font-weight: 900;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.footer h2,
.footer h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.tiny {
  font-size: 0.84rem;
  color: #aebbc5;
}

.service-finder {
  display: grid;
  gap: 1rem;
}

.service-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.service-tab {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-high);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-tab:hover,
.service-tab.is-active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 12px 28px rgba(227, 34, 40, 0.24);
  transform: translateY(-4px);
}

.service-spotlight {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(1.2rem, 4vw, 2rem);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.86), rgba(25, 25, 25, 0.76)),
    url("popular-services-bg.jpg") center 38% / cover;
  box-shadow: var(--deep-shadow);
}

.service-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(227, 34, 40, 0.22), transparent);
  transform: translateX(-100%);
  animation: sheen 4.6s ease-in-out infinite;
}

.service-spotlight > * {
  position: relative;
  z-index: 1;
}

.spotlight-kicker {
  margin: 0 0 0.45rem;
  color: #ff5b61;
  font-weight: 950;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.service-spotlight h3 {
  font-size: clamp(1.45rem, 4vw, 2.15rem);
}

.service-spotlight p:not(.spotlight-kicker) {
  max-width: 660px;
  color: #f1f1f1;
}

.service-list.compact {
  padding: 0.4rem 0 0;
}

.reveal {
  opacity: 0.82;
  transform: translateY(42px) scale(0.97);
  transition: opacity 720ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.motion-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--red), #ff686d);
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 0 22px rgba(227, 34, 40, 0.58);
}

@keyframes sheen {
  0%, 52% {
    transform: translateX(-105%);
  }

  72%, 100% {
    transform: translateX(105%);
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSettle {
  from {
    filter: saturate(0.75) brightness(0.86);
  }

  to {
    filter: saturate(1) brightness(1);
  }
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@media (min-width: 700px) {
  .hero-facts,
  .cards,
  .reviews,
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards.two,
  .split {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }

  .service-list {
    columns: 2;
  }

  .service-finder {
    grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
    align-items: start;
  }

  .service-tabs {
    grid-template-columns: 1fr;
  }

  .service-list.compact {
    grid-column: 1 / -1;
  }
}

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

  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    box-shadow: none;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .nav-links a {
    padding: 0.55rem 0.62rem;
    font-size: 0.92rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.55fr);
    align-items: end;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .service-list {
    columns: 3;
  }
}

@media (max-width: 520px) {
  .brand {
    gap: 0.45rem;
  }

  .brand-mark {
    width: 148px;
    height: 38px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .fact,
  .hero h1,
  .hero p,
  .hero-actions,
  .eyebrow,
  .hero .section {
    animation: none !important;
  }
}
