:root {
  --bg: #0a0a0a;
  --bg-alt: #141414;
  --red: #e2001a;
  /* Brand red (#e2001a) is ~4.0:1 against the dark background -- fine for a button fill with
     white text (~4.94:1), but fails WCAG AA (4.5:1) as body-size text ON the dark background.
     Used only for hover/focus text and outlines drawn directly on --bg/--bg-alt. */
  --red-bright: #ff3b3b;
  --chrome-light: #f2f2f2;
  --chrome-mid: #b8b8b8;
  --text: #f5f5f5;
  --text-muted: #b3b3b3;
  --font-head: 'Oswald', sans-serif;
  --font-script: 'Permanent Marker', cursive;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}
h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 3px solid var(--red);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-lockup { display: flex; align-items: center; gap: 0.6rem; }
.logo-word { font-family: var(--font-head); font-weight: 500; letter-spacing: 0.05em; font-size: 0.95rem; color: var(--chrome-light); }
.logo-word strong { color: var(--text); font-weight: 700; }
.header-contact { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: none; font-weight: 600; letter-spacing: 0.03em; }
@media (min-width: 640px) { .header-phone { display: inline; } }

.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: 2px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-call { background: var(--red); color: #fff; }
.btn-call:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(226, 0, 26, 0.45); }
.btn-outline { background: transparent; border: 2px solid var(--chrome-mid); color: var(--chrome-light); }
.btn-outline:hover { border-color: var(--red-bright); color: var(--red-bright); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn:focus-visible,
.contact-item:focus-visible,
.hero-scroll-link:focus-visible,
.logo-lockup:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 2px;
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 1.25rem 4rem;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.8) 60%, var(--bg) 100%),
    url("/hero-truck.jpg");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}
.hero-inner { position: relative; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.hero-logo-mark { margin-bottom: 0.25rem; }
.hero-wordmark { font-size: clamp(1.8rem, 5vw, 3rem); color: var(--chrome-light); }
.hero-subline { color: var(--text-muted); letter-spacing: 0.15em; font-size: 0.85rem; text-transform: uppercase; margin: 0 0 0.5rem; }
.hero-subline span { color: var(--red); margin: 0 0.3em; }
.tagline-script { font-family: var(--font-script); color: var(--red); font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0.5rem 0; transform: rotate(-2deg); }
.tagline-script-alt { color: var(--chrome-light); }
.hero-lead { color: var(--text-muted); max-width: 46ch; margin: 0.5rem 0 1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 0.5rem; }
.hero-scroll-link { margin-top: 1.5rem; color: var(--text-muted); font-size: 0.85rem; text-decoration: underline; }
.hero-scroll-link:hover { color: var(--red-bright); }

/* Section shared */
.section-heading {
  text-align: center;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--chrome-light);
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 2.5rem;
}
.section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--red);
}
.services, .about, .contact { padding: 4rem 1.25rem; max-width: 1100px; margin: 0 auto; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--bg-alt);
  border: 1px solid #262626;
  border-left: 3px solid var(--red);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.service-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.75rem;
  fill: var(--red);
  /* The Wiring & Repairs icon draws with fill="none" stroke="currentColor" instead of a fill,
     since a presentation attribute on the element wins over the `fill` rule above -- setting
     `color` here makes currentColor resolve to the same red for that one icon too. */
  color: var(--red);
}
.service-card h3 { font-size: 0.95rem; color: var(--text); }

/* Vehicles strip */
.vehicles { background: var(--bg-alt); border-top: 1px solid #262626; border-bottom: 1px solid #262626; padding: 1.5rem 1.25rem; }
.vehicles-strip { text-align: center; margin: 0; font-family: var(--font-head); letter-spacing: 0.2em; text-transform: uppercase; color: var(--chrome-light); font-size: 1rem; }
.vehicles-strip span { color: var(--red); margin: 0 0.6em; }

/* About */
.about { text-align: center; }
.about-text { max-width: 60ch; margin: 0 auto 1rem; color: var(--text-muted); }

/* Contact */
.contact { text-align: center; }
.contact-grid { display: grid; gap: 1rem; margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.contact-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem; background: var(--bg-alt); border: 1px solid #262626; text-align: left; }
.contact-item:hover { border-color: var(--red); }
.contact-item-static:hover { border-color: #262626; }
.contact-icon { width: 22px; height: 22px; flex-shrink: 0; fill: var(--red); }

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1.25rem;
  border-top: 3px solid var(--red);
  color: var(--text-muted);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
