/* ==========================================================================
   CASS AUTOMOTIVE ENGINEERING — Maitland, Cape Town
   Built 1:1 from the client mockup: black canvas, signal-red accent,
   condensed white display type, dark bordered service cards.
   Fonts: Anton (display), Roboto (UI/body), Archivo Black (logo wordmark).
   ========================================================================== */

:root {
  --bg:        #060606;
  --bg-2:      #0b0b0b;
  --bg-3:      #111111;
  --panel:     #0a0a0a;
  --line:      #2a2a2a;
  --line-2:    #3a3a3a;

  --red:       #d0121f;
  --red-2:     #e8172a;   /* hover */
  --red-deep:  #9e0d17;
  --blue:      #1a2fb8;
  --blue-2:    #2b8fdb;

  --white:     #ffffff;
  --text:      #ededed;
  --muted:     #c9c9c9;
  --muted-2:   #8d8d8d;

  --maxw:      1720px;
  --hero-text-w: clamp(330px, 38vw, 600px);
  --gut:       clamp(20px, 3.2vw, 56px);

  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-body:    "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-logo:    "Archivo Black", "Arial Black", sans-serif;

  --ease:      cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
input, select, textarea { font: inherit; }

.container { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.kicker {
  font-weight: 700; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.h-sec {
  font-weight: 700; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: .02em; text-transform: uppercase; color: #fff; line-height: 1.2;
}
.h-display {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase; color: #fff; line-height: .98; letter-spacing: .005em;
}
.sec-head { text-align: center; margin-bottom: 30px; }
.sec-head .kicker { display: block; margin-bottom: 4px; }
.sec-head.left { text-align: left; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 28px;
  min-height: 50px; padding: 0 26px;
  font-weight: 500; font-size: 17px; text-transform: uppercase; letter-spacing: .01em;
  border: 1px solid transparent; transition: background .25s, border-color .25s, color .25s, transform .25s;
  white-space: nowrap;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); }
.btn--ghost { background: transparent; color: #fff; border-color: #6a6a6a; }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; gap: 14px; }
.btn--wa { background: #25d366; color: #0a0a0a; }
.btn--wa:hover { background: #3be07a; }

/* ---------- Top bar ---------- */
.topbar { background: #000; border-bottom: 1px solid #141414; font-size: 15px; }
.topbar .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; }
.topbar__list { grid-column: 2; display: flex; gap: 46px; justify-content: center; flex-wrap: wrap; }
.topbar__list a, .topbar__list span { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.topbar__list svg { width: 18px; height: 18px; color: var(--red); flex: none; }
.topbar__social { grid-column: 3; display: flex; justify-content: flex-end; gap: 30px; padding-right: 12px; }
.topbar__social a { color: #fff; opacity: .95; }
.topbar__social a:hover { color: var(--red); }
.topbar__social svg { width: 18px; height: 18px; }

/* ---------- Header / nav ---------- */
.site-header { background: var(--bg); position: sticky; top: 0; z-index: 60; transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.6); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 128px; gap: 24px; }
.logo { display: block; flex: none; }
.logo svg { height: 104px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 56px; }
.nav__links { display: flex; align-items: center; gap: 56px; }
.nav__links a, .nav__links button {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-size: 18.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .01em; color: #fff;
  padding: 8px 0; position: relative; transition: color .25s;
}
.nav__links a::after, .nav__links button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links button:hover { color: var(--red); }
.nav__links a[aria-current="page"], .nav__links .has-sub.current > button { color: var(--red); }
.nav__links a[aria-current="page"]::after, .nav__links a:hover::after,
.nav__links .has-sub.current > button::after, .nav__links button:hover::after { transform: scaleX(1); }
.nav__links button svg { width: 14px; height: 14px; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 300px;
  background: #0d0d0d; border: 1px solid var(--line); padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease);
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 11px 20px; font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.sub a::after { display: none; }
.sub a:hover { background: #161616; color: var(--red); }
.nav__cta { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; background: var(--red); color: #fff; font-size: 17.5px; font-weight: 500; text-transform: uppercase; white-space: nowrap; transition: background .25s; }
.nav__cta:hover { background: var(--red-2); }
.nav__toggle { display: none; position: relative; z-index: 80; width: 46px; height: 46px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1px solid var(--line-2); }
.nav__toggle span { width: 22px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: #050505; overflow: hidden; }

/* Two real columns: the headline lives in column 1, the photo in column 2, so
   they can never overlap at any width. The photo bleeds off the right edge with
   a negative margin (clipped by .hero) rather than a 100vw calc, which keeps it
   correct whatever the scrollbar width is. */
.hero__inner {
  position: relative; z-index: 1; min-height: 470px;
  display: grid; grid-template-columns: minmax(0, var(--hero-text-w)) 1fr;
  align-items: center; gap: clamp(22px, 3vw, 60px); padding: 40px 0 44px;
}
.hero__text { position: relative; z-index: 1; min-width: 0; }
/* Bleed to the viewport edge and no further: a wider element than that would
   make background-size:cover crop against width we never see. */
.hero__media {
  position: relative; align-self: stretch; min-height: 300px;
  margin-right: calc(-1 * (100vw - min(100vw - 2 * var(--gut), var(--maxw))) / 2);
}
.hero__img {
  position: absolute; inset: 0;
  background: url("../images/hero.jpg") center 48% / cover no-repeat;
  filter: saturate(1.06) contrast(1.06) brightness(.94);
}
.hero__img::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #050505 0%, rgba(5,5,5,.5) 7%, rgba(5,5,5,0) 20%);
}
.hero__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,.25) 0%, rgba(5,5,5,0) 30%, rgba(5,5,5,0) 80%, rgba(5,5,5,.5) 100%);
}
.hero__text .kicker { display: block; margin-bottom: 18px; }
.hero__title { font-size: clamp(50px, 5.4vw, 104px); margin-bottom: 20px; text-shadow: 0 8px 30px rgba(0,0,0,.6); }
.hero__lead { max-width: 520px; margin-bottom: 30px; color: #efefef; font-size: 17.5px; line-height: 1.45; }
.hero__actions { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Section shells ---------- */
.section { padding: 26px 0 60px; position: relative; }
.section--pad { padding: 70px 0; }
.section--tex {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 2px, transparent 2px 14px),
    var(--bg-2);
}
.section--band { background: #000; border-top: 1px solid #151515; border-bottom: 1px solid #151515; }

/* ---------- Service cards (home) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; }
.svc {
  background: var(--panel); border: 1px solid #3b3b3b; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s;
}
.svc:hover { transform: translateY(-4px); border-color: #6a6a6a; }
.svc__img { aspect-ratio: 276 / 148; overflow: hidden; background: #151515 center / cover no-repeat; position: relative; }
.svc__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,6,6,.55)); }
.svc__body { padding: 0 20px 22px; position: relative; }
.svc__icon { width: 62px; height: 62px; color: var(--red); margin-top: -34px; margin-bottom: 10px; position: relative; z-index: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.9)); }
.svc__icon svg { width: 100%; height: 100%; }
.svc__title { font-size: 18.5px; font-weight: 700; text-transform: uppercase; color: #fff; line-height: 1.25; margin-bottom: 8px; letter-spacing: .01em; }
.svc__desc { font-size: 16.5px; line-height: 1.32; color: #d4d4d4; }
.svc__link { margin-top: auto; padding: 0 20px 20px; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--red); display: inline-flex; gap: 8px; align-items: center; }
.svc__link svg { width: 16px; height: 16px; }

/* ---------- About strip ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.about-grid .h-display { font-size: clamp(40px, 4.2vw, 68px); margin: 10px 0 20px; }
.about-grid p + p { margin-top: 14px; }
.about__media { position: relative; }
.about__media .frame { aspect-ratio: 4 / 3; background: #101010 center / cover no-repeat; border: 1px solid var(--line-2); position: relative; overflow: hidden; }
.about__media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6)); }
.about__media .stripe { position: absolute; left: -22px; bottom: -22px; width: 200px; height: 62px; }
.about__media .stripe i { display: block; height: 18px; margin-bottom: 4px; }
.about__media .stripe i:nth-child(1) { background: linear-gradient(90deg, transparent, var(--red) 40%); }
.about__media .stripe i:nth-child(2) { background: linear-gradient(90deg, transparent, var(--blue) 40%); }
.about__media .stripe i:nth-child(3) { background: linear-gradient(90deg, transparent, var(--blue-2) 40%); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); margin-top: 34px; }
.stat { padding: 22px 20px; border-right: 1px solid var(--line-2); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--f-display); font-size: 44px; line-height: 1; color: var(--red); }
.stat span { font-size: 13.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* ---------- Feature grid (why us) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feat { border: 1px solid #3b3b3b; padding: 30px 26px 30px; background: var(--panel); }
.feat__icon { width: 54px; height: 54px; color: var(--red); margin-bottom: 18px; }
.feat h3 { font-size: 18px; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; color: #fff; }
.feat p { color: #cfcfcf; font-size: 16px; line-height: 1.4; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid #3b3b3b; }
.step { padding: 30px 26px; border-right: 1px solid #3b3b3b; position: relative; }
.step:last-child { border-right: 0; }
.step b { font-family: var(--f-display); font-size: 56px; color: #262626; line-height: 1; display: block; margin-bottom: 8px; }
.step h3 { font-size: 17px; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.step p { color: #cfcfcf; font-size: 15.5px; line-height: 1.4; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: #000; }
.cta__img { position: absolute; inset: 0; background: url("../images/shop.jpg") center 55% / cover no-repeat; opacity: .3; }
.cta__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 20%, rgba(0,0,0,.4)); }
.cta .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-block: 64px; }
.cta .h-display { font-size: clamp(40px, 4.4vw, 74px); }
.cta__actions { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #000; border-top: 3px solid var(--red); padding: 60px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer .logo svg { height: 86px; }
.footer p { color: #bdbdbd; font-size: 15.5px; line-height: 1.5; max-width: 380px; margin-top: 16px; }
.footer h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; font-size: 15.5px; color: #cfcfcf; }
.footer li a:hover { color: var(--red); }
.footer li.ic { display: flex; gap: 10px; align-items: flex-start; }
.footer li.ic svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 3px; }
.footer__hours li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed #222; padding-bottom: 6px; }
.footer__bottom { border-top: 1px solid #1a1a1a; padding: 18px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: #8a8a8a; }
.footer__bottom a:hover { color: #fff; }
.footer__stripes { display: flex; flex-direction: column; gap: 4px; width: 200px; margin-top: 18px; }
.footer__stripes i { height: 14px; }
.footer__stripes i:nth-child(1) { background: linear-gradient(90deg, var(--red) 50%, transparent); }
.footer__stripes i:nth-child(2) { background: linear-gradient(90deg, var(--blue) 50%, transparent); }
.footer__stripes i:nth-child(3) { background: linear-gradient(90deg, var(--blue-2) 50%, transparent); }

/* ---------- Page banner (inner pages) ---------- */
.banner { position: relative; background: #050505; overflow: hidden; border-bottom: 1px solid #1a1a1a; }
.banner__img { position: absolute; inset: 0; background: url("../images/shop.jpg") center 58% / cover no-repeat; opacity: .32; }
.banner__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #050505 30%, rgba(5,5,5,.3)); }
.banner .container { position: relative; z-index: 1; padding: 64px 0 60px; }
.banner .h-display { font-size: clamp(48px, 5.4vw, 96px); margin-top: 10px; }
.crumbs { margin-top: 14px; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: flex; gap: 12px; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--red); }

/* ---------- Services (detail page) ---------- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 70px); align-items: center; padding: 56px 0; border-bottom: 1px solid #1c1c1c; scroll-margin-top: 140px; }
.svc-detail:nth-child(even) .svc-detail__media { order: 2; }
.svc-detail__media { aspect-ratio: 16 / 10; background: #101010 center / cover no-repeat; border: 1px solid #3b3b3b; position: relative; }
.svc-detail__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6)); }
.svc-detail__media .svc__icon { position: absolute; left: 22px; bottom: 18px; margin: 0; z-index: 1; }
.svc-detail .h-display { font-size: clamp(34px, 3.4vw, 54px); margin: 8px 0 16px; }
.svc-detail p { color: var(--muted); margin-bottom: 16px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; color: #e4e4e4; font-size: 16px; }
.checks svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 4px; }
.svc-detail .btn { margin-top: 22px; }

/* ---------- Gallery ---------- */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.filters button { padding: 9px 18px; border: 1px solid #3b3b3b; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: #ddd; transition: all .25s; }
.filters button:hover, .filters button.active { background: var(--red); border-color: var(--red); color: #fff; }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gal__item { aspect-ratio: 4 / 3; background: #101010 center / cover no-repeat; border: 1px solid #333; position: relative; overflow: hidden; cursor: zoom-in; }
.gal__item.hide { display: none; }
.gal__item::after { content: attr(data-label); position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); }
.gal__item .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #3a3a3a; }
.gal__item .ph svg { width: 44px; height: 44px; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.94); z-index: 100; display: none; place-items: center; padding: 30px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; max-width: 92vw; border: 1px solid #333; }
.lightbox button { position: absolute; top: 18px; right: 22px; color: #fff; font-size: 34px; line-height: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 4vw, 70px); }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid #1f1f1f; }
.info-list svg { width: 24px; height: 24px; color: var(--red); flex: none; margin-top: 2px; }
.info-list b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin-bottom: 4px; }
.info-list a:hover { color: var(--red); }
.map { border: 1px solid #3b3b3b; aspect-ratio: 16 / 9; margin-top: 26px; filter: grayscale(1) contrast(1.1) brightness(.85); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Quote engine ---------- */
.quote-intro { color: var(--muted); font-size: 16px; margin: -8px 0 26px; max-width: 900px; }
.quote-intro a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.quote-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(26px, 3.4vw, 56px); align-items: start; }
.quote-steps { display: flex; border: 1px solid #3b3b3b; margin-bottom: 22px; }
.quote-steps li { flex: 1; padding: 14px 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); border-right: 1px solid #3b3b3b; display: flex; gap: 10px; align-items: center; }
.quote-steps li:last-child { border-right: 0; }
.quote-steps b { font-family: var(--f-display); font-size: 22px; color: #3a3a3a; }
.quote-steps li.on { color: #fff; }
.quote-steps li.on b { color: var(--red); }
.quote-steps li[aria-current] { background: rgba(208,18,31,.08); }
.quote-form-col { background: var(--panel); border: 1px solid #3b3b3b; padding: clamp(22px, 3vw, 40px); }
.fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.fieldset legend { font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; margin-bottom: 14px; padding: 0; display: flex; gap: 12px; align-items: baseline; }
.legend-n { font-family: var(--f-display); font-size: 26px; color: var(--red); line-height: 1; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #cfcfcf; font-weight: 500; }
.field input, .field select {
  background: #0f0f0f; border: 1px solid #3b3b3b; color: #fff; padding: 13px 14px; font-size: 16px; width: 100%; min-height: 48px; transition: border-color .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #bbb 50%), linear-gradient(135deg, #bbb 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: #111; }
.field input:focus, .field select:focus { outline: 3px solid #fff; outline-offset: 2px; border-color: var(--red); }
.field .hint { font-size: 13px; color: var(--muted-2); }
.svc-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick label { display: flex; gap: 12px; align-items: center; border: 1px solid #3b3b3b; padding: 14px; cursor: pointer; transition: all .2s; font-size: 15px; font-weight: 500; text-transform: uppercase; color: #ddd; letter-spacing: .01em; min-height: 64px; }
.pick label svg { width: 34px; height: 34px; color: var(--red); flex: none; }
.pick label small { display: block; font-size: 12.5px; text-transform: none; letter-spacing: 0; color: var(--muted-2); font-weight: 400; margin-top: 2px; }
.pick input:checked + label { border-color: var(--red); background: rgba(208,18,31,.08); color: #fff; }
.pick input:focus-visible + label { outline: 3px solid #fff; outline-offset: 2px; }

.items-wrap { margin-bottom: 30px; }
.item-empty { border: 1px dashed #3b3b3b; padding: 18px; font-size: 15px; color: var(--muted-2); }
.item-group { border-top: 1px solid #2a2a2a; padding-top: 22px; }
.item-group__blurb { font-size: 14px; color: var(--muted-2); margin: -6px 0 14px; }
.linkbtn { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; padding: 4px 0; }
.linkbtn:hover { color: var(--red); }
.items { display: grid; gap: 10px; }
.item { position: relative; }
.item input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.item label { display: grid; grid-template-columns: 26px 1fr auto; gap: 14px; align-items: start; border: 1px solid #3b3b3b; padding: 14px 16px; cursor: pointer; transition: all .2s; min-height: 56px; }
.item__box { width: 22px; height: 22px; border: 2px solid #6a6a6a; margin-top: 2px; position: relative; transition: all .2s; }
.item__box::after { content: ""; position: absolute; left: 6px; top: 1px; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .15s; }
.item__label { display: block; font-weight: 500; color: #fff; font-size: 16px; }
.item__desc { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 3px; }
.item__inc { display: block; font-size: 12.5px; color: var(--muted-2); margin-top: 5px; }
.item__price { text-align: right; white-space: nowrap; font-weight: 500; color: #fff; font-size: 15px; }
.item__price small { display: block; font-weight: 400; color: var(--muted-2); font-size: 12px; margin-top: 2px; }
.item input:checked + label { border-color: var(--red); background: rgba(208,18,31,.07); }
.item input:checked + label .item__box { background: var(--red); border-color: var(--red); }
.item input:checked + label .item__box::after { transform: rotate(45deg) scale(1); }
.item input:focus-visible + label { outline: 3px solid #fff; outline-offset: 2px; }

.estimate { border: 1px solid var(--red); background: #0a0a0a; position: sticky; top: 150px; scroll-margin-top: 150px; }
.estimate__head { background: var(--red); color: #fff; padding: 14px 22px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.estimate__ref { font-weight: 400; letter-spacing: .04em; text-transform: none; opacity: .95; font-size: 13px; }
.estimate__ref b { font-weight: 700; }
.estimate__body { padding: 20px 22px; }
.estimate__empty { color: var(--muted-2); font-size: 15px; line-height: 1.5; }
.est-meta { font-size: 14px; color: var(--muted); line-height: 1.5; padding-bottom: 12px; border-bottom: 1px solid #2a2a2a; }
.est-meta b { color: #fff; font-weight: 500; font-size: 15px; }
.est-group { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--red); font-weight: 700; margin: 16px 0 4px; }
.est-line { padding: 9px 0; border-bottom: 1px solid #1c1c1c; font-size: 15px; }
.est-line__t { display: flex; justify-content: space-between; gap: 16px; }
.est-line__l { color: #eee; }
.est-line__l small { color: var(--muted-2); font-size: 12.5px; }
.est-line__v { white-space: nowrap; color: #fff; font-weight: 500; }
.est-line__p { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.est-line__p small { display: block; color: var(--muted-2); font-size: 12px; }
.est-inc { margin-top: 6px; font-size: 13px; color: var(--muted); }
.est-inc summary { cursor: pointer; color: #bbb; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.est-inc summary::-webkit-details-marker { display: none; }
.est-inc ul { list-style: disc; padding-left: 18px; margin-top: 6px; }
.est-sub { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0 0; font-size: 14.5px; color: var(--muted); }
.est-sub span:last-child { color: #fff; }
.est-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--red); flex-wrap: wrap; }
.est-total b { font-family: var(--f-display); font-size: 36px; color: #fff; line-height: 1; }
.est-total b small { font-size: 16px; color: var(--muted); font-family: var(--f-body); font-weight: 400; }
.est-total > span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); }
.est-total > span small { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: none; }
.est-facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #2a2a2a; margin-top: 16px; }
.est-facts div { padding: 10px 12px; border-right: 1px solid #2a2a2a; }
.est-facts div:last-child { border-right: 0; }
.est-facts b { display: block; font-family: var(--f-display); font-size: 26px; color: var(--red); line-height: 1; }
.est-facts span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); }
.estimate__foot { padding: 0 22px 20px; display: grid; gap: 10px; }
.estimate__foot .btn { width: 100%; }
.estimate__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.estimate__row .btn { padding: 0 8px; font-size: 13px; gap: 6px; }
.vat-toggle { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #ddd; padding: 6px 0 4px; cursor: pointer; }
.vat-toggle input { width: 20px; height: 20px; accent-color: var(--red); cursor: pointer; }
.est-next { border-top: 1px solid #2a2a2a; padding-top: 14px; font-size: 13.5px; color: var(--muted); }
.est-next b { display: block; color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; }
.est-next ol { padding-left: 18px; }
.est-next li { margin-bottom: 6px; }
.est-fine { padding: 14px 22px; border-top: 1px solid #222; font-size: 12.5px; color: var(--muted-2); line-height: 1.5; }
.mobile-bar { display: none; }

/* Quick quote (home) */
.qq { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.qq__panel { border: 1px solid #3b3b3b; background: var(--panel); padding: clamp(22px, 3vw, 36px); }
.qq__out { border: 1px solid var(--red); padding: 16px 18px; margin: 6px 0 18px; display: grid; gap: 4px; }
.qq__from { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); }
.qq__out b { font-family: var(--f-display); font-size: 38px; color: #fff; line-height: 1; }
.qq__out b small { font-size: 16px; font-family: var(--f-body); color: var(--muted); }
.qq__note { font-size: 13px; color: var(--muted); }
.qq__panel .btn { width: 100%; }


/* AI quoter */
.ai { border: 1px solid var(--red); background: linear-gradient(180deg, rgba(208,18,31,.08), rgba(208,18,31,0) 40%), var(--panel); padding: clamp(22px, 3vw, 40px); margin-bottom: 34px; scroll-margin-top: 150px; }
.ai__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.ai__chips button { border: 1px solid #3b3b3b; padding: 9px 14px; font-size: 13.5px; color: #ddd; min-height: 40px; transition: all .2s; }
.ai__chips button:hover { border-color: #fff; color: #fff; }
.ai__log { border: 1px solid #2a2a2a; border-left: 3px solid var(--red); background: #080808; padding: 14px 18px; margin-top: 14px; font-size: 15px; color: #e6e6e6; line-height: 1.5; }
.aq__spec { margin-bottom: 8px; }
.aq__spec b { color: #fff; }
.aq__soft { color: var(--muted-2); }
.aq__list { list-style: disc; padding-left: 20px; display: grid; gap: 4px; }
.aq__q { margin-top: 8px; color: #fff; }
.aq a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ai-msg { padding: 12px 0; border-bottom: 1px solid #1c1c1c; }
.ai-msg:last-child { border-bottom: 0; }
.ai-msg__who { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin-bottom: 4px; }
.ai-msg--bot .ai-msg__who { color: var(--red); }
.ai-msg__t { font-size: 15.5px; line-height: 1.5; color: #eee; }
.ai-msg--user .ai-msg__t { color: #cfcfcf; }
.ai-q { list-style: disc; padding-left: 20px; margin-top: 8px; color: #fff; }
.ai-applied { margin-top: 8px; font-size: 13.5px; color: #b9f0bd; }
.ai-dots i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 5px; animation: ai-bounce 1s infinite; }
.ai-dots i:nth-child(2) { animation-delay: .15s; } .ai-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ai-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }
.ai__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: stretch; }
.ai__row textarea { background: #0f0f0f; border: 1px solid #3b3b3b; color: #fff; padding: 13px 14px; font-size: 16px; resize: vertical; min-height: 84px; }
.ai__row textarea:focus { outline: 3px solid #fff; outline-offset: 2px; border-color: var(--red); }
.ai__row .btn { align-self: end; min-height: 56px; }
.ai__status { margin: 0; }
.ai__fine { font-size: 13px; color: var(--muted-2); margin-top: 6px; }
.ai__fine a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ai.is-busy textarea { opacity: .6; }
.qq__ai { display: block; margin-top: 12px; font-size: 14px; color: #fff; text-decoration: underline; text-underline-offset: 3px; text-align: center; }
.qq__ai:hover { color: var(--red); }

.aq__head { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.aq__head > span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--red); }
.aq__head small { font-weight: 400; color: var(--muted-2); font-size: 14px; }
.aq__engine { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid #1f1f1f; border-bottom: 1px solid #1f1f1f; margin-bottom: 12px; }
.aq__row { display: grid; grid-template-columns: 190px 1fr; gap: 10px 14px; align-items: center; }
.aq__row--ask .aq__lab { color: #fff; font-weight: 700; }
.aq__lab { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); }
.aq__lab small { display: block; text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--muted-2); font-weight: 400; }
.aq__row--ask .aq__lab small { color: var(--red); }
.aq__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.aq__chips button { border: 1px solid #3b3b3b; padding: 8px 14px; font-size: 14px; color: #ddd; min-height: 40px; transition: all .15s; }
.aq__chips button:hover { border-color: #fff; color: #fff; }
.aq__chips button.on { background: var(--red); border-color: var(--red); color: #fff; }
.aq__row--ask .aq__chips button:not(.on) { border-color: #6a6a6a; }
.aq__veh { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.aq__veh input { background: #0f0f0f; border: 1px solid #3b3b3b; color: #fff; padding: 8px 12px; font-size: 15px; min-height: 40px; flex: 1 1 220px; }
.aq__veh input:focus { outline: 3px solid #fff; outline-offset: 2px; border-color: var(--red); }
.aq__veh em { font-style: normal; font-size: 12.5px; color: var(--muted); border: 1px solid #2a2a2a; padding: 4px 8px; }
.aq__jobs { display: grid; gap: 10px; }
.aq__jobs li { display: grid; gap: 3px; padding: 10px 0 10px 14px; border-left: 2px solid var(--red); }
.aq__jobs b { color: #fff; font-size: 15.5px; }
.aq__jobs span { color: #d6d6d6; font-size: 14.5px; line-height: 1.45; }
.aq__jobs small { color: var(--muted-2); font-size: 12.5px; }
.aq__sug { margin-top: 14px; padding-top: 12px; border-top: 1px solid #1f1f1f; }
.aq__sug ul { display: grid; gap: 8px; margin-top: 8px; }
.aq__sug li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; }
.aq__sug li b { color: #fff; font-size: 14.5px; font-weight: 500; }
.aq__sug li span { grid-column: 2; font-size: 13px; color: var(--muted); }
.aq__sug button { grid-row: span 2; border: 1px solid var(--red); color: #fff; padding: 8px 12px; font-size: 13px; min-height: 40px; min-width: 64px; transition: all .15s; }
.aq__sug button:hover { background: var(--red); }
.aq__added { margin-top: 10px; font-size: 13px; color: #b9f0bd; }

/* Contact page promo */
.quote-promo { border: 1px solid #3b3b3b; background: var(--panel); padding: clamp(22px, 3vw, 40px); }

/* Visible focus everywhere (keyboard users) */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ---------- Empty photo slots ----------
   Any element with data-img whose file is not on disk yet. js/main.js adds
   .is-loaded once the photo loads, which switches these rules off. Drop the
   real JPG into /images with the right name and it appears automatically. */
[data-img]:not(.is-loaded) {
  background-color: #0e0e10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444448' stroke-width='1.3' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.4'/%3E%3C/svg%3E"),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 13px);
  background-repeat: no-repeat, repeat;
  background-position: center, 0 0;
  background-size: 40px, auto;
}
[data-img]:not(.is-loaded)::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; opacity: .55;
  background: linear-gradient(90deg, var(--red) 0 34%, var(--blue) 34% 67%, var(--blue-2) 67% 100%);
}
.svc__img, .about__media .frame, .svc-detail__media, .gal__item { position: relative; }
.gal__item:not(.is-loaded) { cursor: default; }
.gal__item:not(.is-loaded)::after { background: linear-gradient(0deg, rgba(0,0,0,.8), transparent); color: var(--muted-2); }

/* Shopfront photo on the contact page */
.shopshot { aspect-ratio: 21 / 9; border: 1px solid #3b3b3b; background: #101012 center / cover no-repeat; margin-top: 26px; position: relative; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

/* WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.5); transition: transform .25s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1500px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .nav__links, .nav__menu { gap: 34px; }
}
@media (max-width: 1400px) {
  .nav__links a, .nav__links button { font-size: 16px; }
  .nav__links, .nav__menu { gap: 28px; }
  .nav__cta { font-size: 15.5px; padding: 0 20px; }
  .logo svg { height: 88px; }
}
@media (max-width: 1240px) {
  .nav__links a, .nav__links button { font-size: 15px; }
  .nav__links, .nav__menu { gap: 24px; }
  .logo svg { height: 84px; }
  .nav { min-height: 108px; }
  .feat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid #3b3b3b; }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .topbar .container { grid-template-columns: 1fr; justify-items: center; padding: 10px 0; }
  .topbar__list { gap: 22px; }
  .topbar__social { grid-column: 1; padding: 6px 0 0; }
  .nav__toggle { display: flex; flex: none; }
  .logo { flex: 1 1 auto; min-width: 0; max-width: 420px; }
  .logo svg { height: auto; width: 100%; max-height: 84px; }
  .nav__menu {
    position: fixed; inset: 0; top: 0; background: #060606; flex-direction: column; justify-content: center; align-items: center;
    gap: 30px; transform: translateX(100%); transition: transform .4s var(--ease); z-index: 70;
  }
  .nav__menu.open { transform: none; }
  .nav__links { flex-direction: column; gap: 22px; }
  .nav__links a, .nav__links button { font-size: 22px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: transparent; padding: 0; text-align: center; display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { font-size: 15px; padding: 8px; color: #bbb; }
  .nav__close { position: absolute; top: 24px; right: 24px; color: #fff; font-size: 30px; }
  /* Full-bleed car photo behind the text: darken it hard so the headline still reads */
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { position: absolute; inset: 0 calc(-1 * var(--gut)); margin: 0; z-index: 0; }
  .hero__img { background-position: 40% 52%; filter: saturate(1.02) contrast(1.04) brightness(.62); }
  .hero__img::before { background: linear-gradient(90deg, rgba(5,5,5,.9) 0%, rgba(5,5,5,.78) 55%, rgba(5,5,5,.6) 100%); }
  .hero__img::after { background: linear-gradient(180deg, rgba(5,5,5,.55) 0%, rgba(5,5,5,.25) 40%, rgba(5,5,5,.5) 100%); }
  .about-grid, .contact-grid, .quote-grid, .svc-detail { grid-template-columns: 1fr; }
  .svc-detail:nth-child(even) .svc-detail__media { order: 0; }
  .estimate { position: static; }
  .qq { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #0a0a0a; border-top: 1px solid var(--red); padding: 10px 16px; align-items: center; justify-content: space-between; gap: 12px; }
  .mobile-bar span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); }
  .mobile-bar b { display: block; color: #fff; font-size: 16px; letter-spacing: 0; text-transform: none; }
  .mobile-bar .btn { width: auto; }
  .wa-float { bottom: 84px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .feat-grid, .steps, .gal, .form__row, .svc-pick { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid #3b3b3b; }
  .step:last-child { border-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__inner { min-height: 0; padding: 48px 0 52px; }
  .hero__title { font-size: clamp(54px, 15vw, 80px); }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; }
  .cta .container { flex-direction: column; align-items: flex-start; }
  .topbar__list { flex-direction: column; gap: 6px; align-items: flex-start; }
  .topbar__social { display: none; }
  .nav { min-height: 84px; gap: 14px; }
  .logo { max-width: 260px; }
  .quote-steps { flex-direction: column; }
  .quote-steps li { border-right: 0; border-bottom: 1px solid #3b3b3b; }
  .quote-steps li:last-child { border-bottom: 0; }
  .item label { grid-template-columns: 26px 1fr; }
  .item__price { grid-column: 2; text-align: left; white-space: normal; }
  .estimate__row { grid-template-columns: 1fr; }
  .ai__row { grid-template-columns: 1fr; }
  .aq__row { grid-template-columns: 1fr; gap: 6px; }
  .ai__row .btn { width: 100%; }
  .est-facts { grid-template-columns: 1fr; }
  .est-facts div { border-right: 0; border-bottom: 1px solid #2a2a2a; }
}

/* Print: quote summary */
@media print {
  .topbar, .site-header, .footer, .wa-float, .quote-form-col, .estimate__foot, .cta, .banner__img, .quote-steps, .quote-intro, .mobile-bar, .ai { display: none !important; }
  .quote-grid { display: block; }
  .est-inc summary { display: none; }
  .est-inc ul { display: block; }
  .est-group { color: #000; }
  .est-facts b { color: #000; }
  body { background: #fff; color: #000; }
  .estimate { border-color: #000; position: static; }
  .estimate__head { background: #000; color: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .est-line span, .est-total b, .est-meta, .est-fine { color: #000 !important; }
}
