/* ==========================================================================
   Glossline Collision — site styles
   Tokens → base → layout → components → pages → motion
   ========================================================================== */

@property --pos {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 50%;
}

:root {
  /* Color */
  --bg: #070708;
  --bg-2: #0b0c0e;
  --surface: #0f1013;
  --surface-2: #15171b;
  --surface-3: #1c1f24;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --text-soft: #d4d4d8;
  --muted: #a1a1aa;
  --red: #e8001a;          /* fills / buttons (white text 4.8:1) */
  --red-hover: #ff0a24;
  --red-deep: #8f0c15;
  --red-text: #f0001a;     /* vivid red text on black (5.2:1) */
  --red-glow: rgba(240, 0, 26, 0.55);
  --success: #4ade80;
  --error: #ff6b73;

  /* Type */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-h3: clamp(1.15rem, 1.6vw, 1.35rem);
  --fs-h2: clamp(1.75rem, 3.6vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 6.2vw, 4.75rem);

  /* Space (8pt rhythm) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --section-y: clamp(64px, 9vw, 120px);
  --gutter: 20px;
  --max: 1240px;
  --header-h: 72px;

  /* Shape & depth */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-red: 0 12px 32px -12px var(--red-glow);
  --shadow-card: 0 24px 48px -24px rgba(0, 0, 0, 0.8);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.75, 0);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 800ms;

  /* Layers */
  --z-header: 50;
  --z-bar: 40;
  --z-drawer: 60;

  color-scheme: dark;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 80px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  touch-action: manipulation;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 var(--s-4); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid #ff4a5a;
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  background: var(--red);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Layout ---------- */
.container {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.section--flush-top { border-top: 0; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.15fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

/* ---------- Typography ---------- */
.display, .h1, .h2 {
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1;
  text-wrap: balance;
}
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.accent { color: var(--red-text); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s-4);
  color: var(--red-text);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: currentColor;
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--text-soft);
  max-width: 58ch;
}
.muted { color: var(--muted); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .h2 { margin-bottom: var(--s-4); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: ""; width: 24px; height: 2px; background: currentColor;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.btn .icon { width: 20px; height: 20px; }
.btn .icon-arrow { transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn::after { /* light sheen */
  content: "";
  position: absolute;
  inset: -2px auto -2px 0;
  width: 60%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-140%) skewX(-18deg);
  transition: transform 700ms var(--ease-out);
}
.btn:hover::after { transform: translateX(260%) skewX(-18deg); }

.btn-primary {
  --btn-bg: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { --btn-bg: var(--red-hover); box-shadow: 0 16px 40px -12px var(--red-glow); }

.btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover { border-color: #fff; --btn-bg: rgba(255, 255, 255, 0.06); }

.btn-sm { min-height: 44px; padding: 0 18px; font-size: var(--fs-xs); }
.btn-block { width: 100%; }

.btn[aria-busy="true"] { pointer-events: none; opacity: 0.75; }
.btn .spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--red-text);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.text-link .icon { transition: transform var(--dur) var(--ease-out); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  view-transition-name: site-header;
}
.site-header.is-scrolled,
.nav-open .site-header {
  /* solid, not backdrop-filter: a filter here would trap the fixed mobile menu inside the header */
  background: rgba(7, 7, 8, 0.96);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-5);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand svg { width: 132px; height: auto; }
@media (min-width: 768px) { .brand svg { width: 150px; } }

.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: clamp(12px, 1.8vw, 28px); }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link[aria-current="page"] { color: #fff; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.header-call { flex: none; }
.nav-call, .nav-meta { display: none; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  margin-right: -8px;
  border: 0;
  background: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle-lines { position: relative; width: 24px; height: 14px; }
.nav-toggle-lines span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast);
}
.nav-toggle-lines span:nth-child(1) { top: 0; }
.nav-toggle-lines span:nth-child(2) { top: 6px; }
.nav-toggle-lines span:nth-child(3) { top: 12px; }
.nav-open .nav-toggle-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-lines span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-scrim { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header-call { margin-left: auto; }
  .header-call .btn-label { display: none; }
  .header-call.btn { width: 48px; padding: 0; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    z-index: var(--z-drawer);
    width: min(88vw, 380px);
    margin: 0;
    padding: var(--s-6) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: var(--s-6);
    overflow-y: auto;
    background: #0b0c0e;
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 420ms var(--ease-out), visibility 0s linear 420ms;
  }
  .nav-open .site-nav {
    transform: none;
    visibility: visible;
    transition: transform 420ms var(--ease-out), visibility 0s;
  }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li {
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 300ms var(--ease-out), transform 420ms var(--ease-out);
  }
  .nav-open .nav-list li {
    opacity: 1;
    transform: none;
    transition-delay: calc(80ms + var(--i, 0) * 45ms);
  }
  .nav-link {
    width: 100%;
    min-height: 60px;
    font-size: 1rem;
    font-stretch: 115%;
    font-weight: 700;
  }
  .nav-link::after { bottom: 14px; right: auto; width: 32px; }
  .nav-call { display: inline-flex; }
  .nav-meta {
    display: grid;
    gap: var(--s-3);
    color: var(--muted);
    font-size: var(--fs-sm);
  }
  .nav-meta span { display: flex; gap: 10px; align-items: center; }
  .nav-meta .icon { color: var(--red-text); }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: calc(var(--z-drawer) - 1);
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .nav-open .nav-scrim { opacity: 1; visibility: visible; transition: opacity var(--dur) var(--ease-out); }
  .nav-open body { overflow: hidden; }
}

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: var(--z-bar);
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 7, 8, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    animation: bar-in 600ms var(--ease-out) 900ms forwards;
  }
  .action-bar .btn { min-height: 50px; padding: 0 12px; }
  .nav-open .action-bar { visibility: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  min-height: min(100svh, 820px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero-scene { position: absolute; inset: 0; z-index: -1; }
.hero-scene::before { /* garage back wall + ambient */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 72% 42%, rgba(70, 74, 84, 0.35), transparent 70%),
    radial-gradient(40% 30% at 78% 78%, rgba(225, 29, 42, 0.22), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 140px),
    linear-gradient(180deg, #0d0e11 0%, #08090b 58%, #050506 100%);
}
.hero-scene::after { /* floor sheen */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 40%),
    repeating-linear-gradient(90deg, transparent 0 220px, rgba(255, 255, 255, 0.03) 220px 221px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transform-origin: bottom;
}
.hero-lights {
  position: absolute;
  inset: 0 0 auto 0;
  height: 46%;
  perspective: 600px;
  pointer-events: none;
}
.hero-lights i {
  position: absolute;
  top: var(--t);
  left: var(--l);
  width: var(--w, 16%);
  height: 5px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 18px 4px rgba(255, 255, 255, 0.45), 0 0 60px 12px rgba(200, 215, 255, 0.12);
  transform: rotateX(62deg);
  opacity: 0;
  animation: light-on 1.4s steps(1, end) var(--d, 0.2s) forwards;
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.95) 0%, rgba(5, 5, 6, 0.75) 32%, transparent 62%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}

.hero-inner {
  position: relative;
  flex: 1;
  display: grid;
  align-content: center;
  padding-block: clamp(40px, 7vw, 96px) clamp(24px, 4vw, 56px);
}
.hero-copy { max-width: min(760px, 100%); position: relative; z-index: 2; }
.hero-copy .h1 { font-size: clamp(2.1rem, 4.6vw, 4.1rem); font-stretch: 118%; }
.hero-copy .lead { max-width: 50ch; }
.hero-copy .h1 { margin-bottom: var(--s-5); }
.hero-copy .h1 .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-copy .h1 .line > span {
  display: block;
  transform: translateY(105%);
  animation: rise 1s var(--ease-out) forwards;
  animation-delay: calc(0.25s + var(--i, 0) * 0.14s);
}
.hero-copy .lead { margin-bottom: var(--s-6); }
.hero-copy .eyebrow,
.hero-copy .lead,
.hero-copy .btn-row {
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) forwards;
}
.hero-copy .eyebrow { animation-delay: 0.1s; }
.hero-copy .lead { animation-delay: 0.6s; }
.hero-copy .btn-row { animation-delay: 0.75s; }

.hero-car {
  position: absolute;
  right: 1%;
  bottom: 8%;
  width: min(60vw, 980px);
  z-index: 1;
  opacity: 0;
  animation: car-in 1.6s var(--ease-out) 0.35s forwards;
}
.hero-car svg { width: 100%; height: auto; overflow: visible; }
.car-sweep { animation: sweep 7s var(--ease-in) 2.2s infinite; }
.car-tail { opacity: 0; animation: tail-on 1.2s steps(1, end) 1.4s forwards, tail-breathe 4s ease-in-out 2.8s infinite; }
.car-glow { opacity: 0; animation: fade 2s var(--ease-out) 1.6s forwards; }

@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero-inner { padding-bottom: 0; }
  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(5, 5, 6, 0.6) 0%, rgba(5, 5, 6, 0.2) 50%, transparent 70%),
      linear-gradient(0deg, var(--bg) 0%, transparent 14%);
  }
  .hero-car {
    position: relative;
    right: auto; bottom: auto;
    width: 106%;
    margin: 16px 0 -4px -3%;
  }
}

/* ---------- Trust strip ---------- */
.trust {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #0b0c0e, #08090a);
}
.trust-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 12px;
  border-bottom: 1px solid var(--line);
}
.trust-item:nth-child(odd) { padding-left: 0; }
.trust-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
.trust-item .icon { width: 34px; height: 34px; color: var(--red-text); stroke-width: 1.6; }
.trust-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.trust-item span { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; }
@media (min-width: 1000px) {
  .trust-list { grid-template-columns: repeat(5, 1fr); }
  .trust-item { padding: 26px 20px; border-bottom: 0; border-left: 1px solid var(--line); }
  .trust-item:first-child { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(odd) { padding-left: 20px; }
  .trust-item:first-child { padding-left: 0; }
  .trust-item:last-child { grid-column: auto; }
}

/* ---------- Art panels (illustrations instead of stock photos) ---------- */
.art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0c;
  box-shadow: var(--shadow-card);
  isolation: isolate;
}
.art img.art-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Polish art: glossy black panel + spinning buffer pad */
.art-polish {
  background:
    radial-gradient(120% 80% at 20% 10%, rgba(255, 255, 255, 0.14), transparent 45%),
    radial-gradient(90% 70% at 85% 100%, rgba(225, 29, 42, 0.18), transparent 60%),
    linear-gradient(160deg, #1d2026 0%, #0b0c0f 45%, #050506 100%);
}
.art-polish .swirls {
  position: absolute;
  inset: -20%;
  background: repeating-radial-gradient(circle at 62% 58%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 7px);
  -webkit-mask-image: radial-gradient(circle at 62% 58%, #000 0 22%, transparent 48%);
  mask-image: radial-gradient(circle at 62% 58%, #000 0 22%, transparent 48%);
}
.art-polish .streak {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.16) 48%, transparent 58%);
  transform: translateX(-60%);
  animation: streak 6s var(--ease-in) 1s infinite;
}
.buffer {
  position: absolute;
  left: 62%; top: 58%;
  width: 46%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background:
    radial-gradient(circle, #0d0d0f 0 15%, #2a2a2e 15.5% 19%, transparent 19.5%),
    conic-gradient(from 0deg, #b10f1c, #ff3b47, #8a0712, #ff2a36, #b10f1c, #e11d2a, #7d0610, #b10f1c);
  box-shadow:
    0 0 0 10px #121215,
    0 0 0 12px rgba(255, 255, 255, 0.08),
    0 30px 60px -10px rgba(0, 0, 0, 0.9),
    0 0 80px -10px var(--red-glow);
  animation: spin 1.1s linear infinite;
}
.buffer::after { /* foam texture */
  content: "";
  position: absolute; inset: 19%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 6px);
}
.art-polish .arm {
  position: absolute;
  left: 62%; top: 58%;
  width: 70%; height: 12%;
  transform-origin: 0 50%;
  translate: 0 -50%;
  rotate: -28deg;
  border-radius: 0 40px 40px 0;
  background: linear-gradient(180deg, #2b2d33, #0c0c0e 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}
.art-polish .arm::after {
  content: "";
  position: absolute;
  right: 18%; top: 22%;
  width: 16%; height: 56%;
  border-radius: 6px;
  background: var(--red);
}

/* Paint art: glossy red panel + spray mist + match card */
.art-paint {
  background:
    radial-gradient(70% 50% at 70% 30%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(135deg, #2a0004 0%, #8a0712 30%, #e11d2a 52%, #ff6b73 58%, #b10f1c 66%, #3a0006 100%);
}
.art-paint .curve {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(140% 60% at 50% 120%, rgba(0, 0, 0, 0.75), transparent 60%),
    linear-gradient(170deg, transparent 55%, rgba(255, 255, 255, 0.22) 57%, transparent 61%);
}
.art-paint .mist { position: absolute; inset: 0; overflow: hidden; }
.art-paint .mist i {
  position: absolute;
  right: 8%; top: 12%;
  width: var(--size, 10px);
  height: var(--size, 10px);
  border-radius: 50%;
  background: rgba(255, 210, 214, 0.65);
  filter: blur(1px);
  opacity: 0;
  animation: mist 2.6s var(--ease-out) var(--d, 0s) infinite;
}
.art-paint .cone {
  position: absolute;
  right: -6%; top: -4%;
  width: 70%; height: 70%;
  background: radial-gradient(closest-side at 85% 15%, rgba(255, 230, 232, 0.4), transparent);
  animation: breathe 2.6s ease-in-out infinite;
}
.match-card {
  position: absolute;
  left: 6%; bottom: 7%;
  width: min(270px, 64%);
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(8, 8, 10, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-xs);
}
.match-card .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.match-card .label { color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 0; }
.swatches span {
  height: 30px;
  border-radius: 4px;
  background: linear-gradient(135deg, #8a0712, #e11d2a 55%, #ff6b73 62%, #b10f1c);
}
.swatches span:last-child { animation: tune 5s var(--ease-out) infinite; }
.match-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.match-bar i {
  display: block; height: 100%;
  background: var(--success);
  transform-origin: left;
  animation: fill 5s var(--ease-out) infinite;
}
.match-state { display: flex; align-items: center; gap: 6px; color: var(--success); font-weight: 700; margin-top: 8px; }
.match-state .icon { width: 14px; height: 14px; }

/* Pause looping art when off screen (toggled by JS) */
[data-loop]:not(.in-view) *,
[data-loop]:not(.in-view) { animation-play-state: paused !important; }

/* ---------- Feature list ---------- */
.feature-row {
  list-style: none;
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-6);
}
@media (min-width: 640px) { .feature-row { grid-template-columns: repeat(3, 1fr); } }
.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.feature .icon { width: 32px; height: 32px; color: var(--red-text); stroke-width: 1.6; }
.feature strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.feature span { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; }

/* ---------- Service tiles ---------- */
.tiles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 132px;
  height: 100%;
  padding: 20px 12px;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), background-color var(--dur);
}
.tile::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: radial-gradient(70% 100% at 50% 100%, rgba(225, 29, 42, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}
.tile .icon {
  width: 34px; height: 34px;
  color: var(--red-text);
  stroke-width: 1.6;
  transition: transform var(--dur) var(--ease-spring);
}
.tile:hover { border-color: rgba(240, 0, 26, 0.7); transform: translateY(-4px); }
.tile:hover::before { opacity: 1; }
.tile:hover .icon { transform: scale(1.12) rotate(-4deg); }

/* ---------- Before / after compare ---------- */
.compare {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #111;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.compare img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 40px; height: 40px;
  translate: -50% -50%;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat,
    var(--red);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(255, 255, 255, 0.14);
  transition: transform var(--dur) var(--ease-spring);
}
.compare:hover .compare-handle::after { transform: scale(1.08); }
.compare input[type="range"] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.compare input[type="range"]:focus-visible ~ .compare-handle::after {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.compare-tag {
  position: absolute;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}
.compare-tag.before { left: 10px; }
.compare-tag.after-tag { right: 10px; }
.compare.is-in { animation: compare-sweep 1.6s var(--ease-out) 0.2s; }
.compare--thumb { aspect-ratio: 5 / 4; }

/* ---------- Results (home) ---------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 1000px) { .results-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }

/* ---------- CTA band ---------- */
.cta-band {
  display: grid;
  gap: 12px;
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.1fr 1fr; } }
.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  overflow: hidden;
}
.cta-card--hot {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(225, 29, 42, 0.3), transparent 60%),
    linear-gradient(160deg, #1a0d0f, var(--surface));
  border-color: rgba(240, 0, 26, 0.35);
}
.cta-card > .icon { width: 40px; height: 40px; color: var(--red-text); stroke-width: 1.5; }
.cta-card h3 { margin-bottom: 8px; }
.cta-card p { color: var(--muted); font-size: var(--fs-sm); max-width: 44ch; }
.cta-card .btn { margin-top: 6px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(48px, 8vw, 112px)) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(50% 80% at 85% 20%, rgba(225, 29, 42, 0.22), transparent 70%),
    radial-gradient(60% 60% at 70% 0%, rgba(90, 96, 110, 0.25), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 140px),
    linear-gradient(180deg, #0e0f12, var(--bg));
}
.page-hero::after { /* travelling light along the bottom edge */
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 40%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-text), transparent);
  animation: edge-run 5s var(--ease-in) 0.8s infinite;
}
.page-hero .watermark {
  position: absolute;
  right: -2%; bottom: -0.18em;
  z-index: -1;
  font-size: clamp(5rem, 17vw, 15rem);
  font-weight: 900;
  font-stretch: 125%;
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  pointer-events: none;
  animation: drift-in 1.6s var(--ease-out) both;
}
.page-hero .h1 { margin-bottom: var(--s-5); }
.page-hero .h1, .page-hero .lead, .page-hero .breadcrumb, .page-hero .btn-row {
  animation: fade-up 0.9s var(--ease-out) both;
}
.page-hero .breadcrumb { animation-delay: 0.05s; }
.page-hero .h1 { animation-delay: 0.15s; }
.page-hero .lead { animation-delay: 0.3s; }
.page-hero .btn-row { animation-delay: 0.42s; margin-top: var(--s-5); }

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s-5);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--red-text); }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.card:hover { border-color: var(--line-strong); }
.card > .icon { width: 36px; height: 36px; color: var(--red-text); stroke-width: 1.6; margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.card .num {
  display: block;
  margin-bottom: 14px;
  font-size: 2.4rem;
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 0, 26, 0.8);
}

/* ---------- Stats ---------- */
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li {
  padding: clamp(22px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.stats strong {
  display: block;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1;
  margin-bottom: 8px;
}
.stats strong em { font-style: normal; color: var(--red-text); }
.stats span { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Service detail ---------- */
.service-list { display: grid; gap: 12px; }
.service {
  display: grid;
  gap: 18px 32px;
  padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: border-color var(--dur) var(--ease-out);
}
.service:target { border-color: rgba(240, 0, 26, 0.6); box-shadow: 0 0 0 4px rgba(225, 29, 42, 0.12); }
@media (min-width: 900px) { .service { grid-template-columns: 72px 1.2fr 1fr; align-items: start; } }
.service-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 42, 0.2), rgba(225, 29, 42, 0.05));
  border: 1px solid rgba(240, 0, 26, 0.35);
  color: var(--red-text);
}
.service-icon .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.service h2 { margin-bottom: 10px; }
.service p { color: var(--text-soft); margin: 0; }
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--text-soft); }
.checks .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--red-text); stroke-width: 2.4; }

/* ---------- Process ---------- */
.process {
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: step;
}
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li {
  position: relative;
  padding: 28px 24px;
  border-top: 2px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.process li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  color: var(--red-text);
  font-weight: 800;
  font-stretch: 125%;
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
}
.process li::after { /* progress line that draws in */
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms var(--ease-out) calc(200ms + var(--i, 0) * 160ms);
}
.process li.is-in::after { transform: scaleX(1); }
.process h3 { margin-bottom: 8px; }
.process p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--dur);
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--red-text); transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 20px; color: var(--muted); }
.faq details[open] .answer { animation: fade-up 0.45s var(--ease-out); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Gallery ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s-6);
}
.chip-btn {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-soft);
  transition: background-color var(--dur), border-color var(--dur), color var(--dur);
}
.chip-btn:hover { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.chip-btn[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.gallery-grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item figcaption { padding-top: 14px; }
.gallery-item figcaption strong { display: block; font-weight: 700; }
.gallery-item figcaption span { font-size: var(--fs-sm); color: var(--muted); }
.gallery-item { margin: 0; }
.gallery-item.pop { animation: pop-in 0.5s var(--ease-out) calc(var(--i, 0) * 60ms) both; }

/* ---------- Forms ---------- */
.form-shell {
  padding: clamp(22px, 3.5vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .full { grid-column: 1 / -1; }
}
.form-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid--3 { grid-template-columns: 1fr 1.3fr 1.3fr; } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend, .field label, .label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-soft);
}
.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 -4px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-text);
}
.form-section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.req { color: var(--red-text); }
.opt { color: var(--muted); font-weight: 400; }
.input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0a0b0d;
  font-size: 1rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
textarea.input { min-height: 140px; resize: vertical; line-height: 1.5; }
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.input::placeholder { color: #71717a; }
.input:hover { border-color: rgba(255, 255, 255, 0.28); }
.input:focus { outline: none; border-color: var(--red-text); box-shadow: 0 0 0 4px rgba(225, 29, 42, 0.18); }
.input[aria-invalid="true"] { border-color: var(--error); }
.hint { margin-top: 6px; font-size: 0.82rem; color: var(--muted); }
.field-error {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--error);
}
.field-error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 16px; height: 16px;
  flex: none;
  border-radius: 50%;
  background: var(--error);
  color: #000;
  font-size: 11px;
  font-weight: 900;
}

.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-soft);
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.choice span::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: background-color var(--dur-fast), box-shadow var(--dur-fast);
}
.choice input[type="checkbox"] + span::before { border-radius: 3px; }
.choice input:hover + span { border-color: rgba(255, 255, 255, 0.4); }
.choice input:checked + span { border-color: var(--red-text); background: rgba(225, 29, 42, 0.14); color: #fff; }
.choice input:checked + span::before { background: var(--red-text); border-color: var(--red-text); box-shadow: inset 0 0 0 2px #1a0d0f; }
.choice input:focus-visible + span { outline: 3px solid #ff4a5a; outline-offset: 2px; }

.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 32px 20px;
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: #0a0b0d;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--dur), background-color var(--dur);
}
.dropzone:hover, .dropzone.is-over { border-color: var(--red-text); background: rgba(225, 29, 42, 0.06); }
.dropzone .icon { width: 36px; height: 36px; color: var(--red-text); stroke-width: 1.6; }
.dropzone strong { font-size: 1rem; }
.dropzone small { color: var(--muted); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone:focus-within { outline: 3px solid #ff4a5a; outline-offset: 3px; }
.previews {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.previews li {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  animation: pop-in 0.35s var(--ease-out);
}
.previews img { width: 100%; height: 100%; object-fit: cover; }
.previews button {
  position: absolute;
  top: 4px; right: 4px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
}
.previews button .icon { width: 16px; height: 16px; }

.form-summary {
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid var(--error);
  border-radius: var(--radius);
  background: rgba(255, 107, 115, 0.08);
}
.form-summary h2 { font-size: 1rem; margin-bottom: 8px; }
.form-summary ul { padding-left: 18px; }
.form-summary a { color: var(--error); text-decoration: underline; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; margin-top: 8px; }
.form-foot small { color: var(--muted); max-width: 46ch; }
.form-status { margin-top: 16px; font-size: var(--fs-sm); }
.form-status.is-error { color: var(--error); }
.form-success {
  text-align: center;
  padding: clamp(32px, 6vw, 64px) 12px;
  animation: pop-in 0.6s var(--ease-out);
}
.form-success .check-ring {
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.12);
  border: 1.5px solid var(--success);
  color: var(--success);
}
.form-success .check-ring .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.form-success .check-ring path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.7s var(--ease-out) 0.25s forwards; }
.form-success h2 { margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

.aside-steps { list-style: none; display: grid; gap: 22px; margin: var(--s-6) 0; }
.aside-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.aside-steps .n {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 0, 26, 0.5);
  color: var(--red-text);
  font-weight: 800;
}
.aside-steps strong { display: block; margin-bottom: 2px; }
.aside-steps span { color: var(--muted); font-size: 0.95rem; }
.photo-tips {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.photo-tips h3 { margin-bottom: 12px; }
@media (min-width: 1000px) { .estimate-layout { grid-template-columns: 0.8fr 1.2fr; align-items: start; } .sticky-col { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 12px; }
@media (min-width: 760px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { display: flex; flex-direction: column; gap: 6px; }
.contact-card .big { font-size: 1.25rem; font-weight: 700; font-stretch: 110%; }
.contact-card a.big:hover { color: var(--red-text); }
.hours { list-style: none; display: grid; gap: 6px; font-size: 0.95rem; }
.hours li { display: flex; justify-content: space-between; gap: 12px; color: var(--text-soft); }
.hours li.closed { color: var(--muted); }
.hours li.today { color: #fff; font-weight: 700; }
.hours li.today::after { content: "Today"; order: 1; margin-left: 4px; font-size: 0.7rem; color: var(--red-text); letter-spacing: 0.1em; text-transform: uppercase; align-self: center; }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; }
.open-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.open-status.is-open i { background: var(--success); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: ping 2s infinite; }
.map-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #111;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.4) invert(0.9) hue-rotate(180deg) contrast(0.9); }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4 / 5; } }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; color: var(--text-soft); }
.prose h2 { font-size: 1.25rem; margin: 40px 0 12px; color: #fff; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose a { color: var(--red-text); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #08090a, #050506);
}
.footer-main {
  display: grid;
  gap: 32px;
  padding-block: clamp(40px, 5vw, 56px);
}
@media (min-width: 760px) { .footer-main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .footer-main { grid-template-columns: auto 1.2fr auto 1fr auto; align-items: center; gap: 0; }
  .footer-main > * { padding-inline: 28px; border-left: 1px solid var(--line); }
  .footer-main > :first-child { padding-left: 0; border-left: 0; }
  .footer-main > :last-child { padding-right: 0; }
}
.footer-brand svg { width: 170px; height: auto; }
.footer-contact { list-style: none; display: grid; gap: 10px; font-size: var(--fs-sm); }
.footer-contact li { display: flex; gap: 12px; align-items: center; }
.footer-contact .icon { color: #fff; width: 18px; height: 18px; }
.footer-contact a:hover { color: var(--red-text); }
.socials { list-style: none; display: flex; gap: 4px; }
.socials a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  transition: background-color var(--dur), color var(--dur), transform var(--dur) var(--ease-spring);
}
.socials a:hover { background: var(--red); transform: translateY(-3px); }
.socials .icon { width: 20px; height: 20px; }
.map-tile {
  position: relative;
  display: block;
  height: 112px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(28deg, transparent 47%, #c9ced6 47% 49%, transparent 49%),
    linear-gradient(-62deg, transparent 58%, #d9dde3 58% 60.5%, transparent 60.5%),
    linear-gradient(90deg, transparent 30%, #e3e6ea 30% 31.5%, transparent 31.5%, transparent 72%, #e3e6ea 72% 73.5%, transparent 73.5%),
    linear-gradient(0deg, transparent 40%, #e3e6ea 40% 42%, transparent 42%),
    radial-gradient(circle at 82% 80%, #c8e3c4 0 14%, transparent 14.5%),
    #eef0f3;
  color: #111;
  transition: transform var(--dur) var(--ease-out);
}
.map-tile:hover { transform: translateY(-3px); }
.map-tile .pin {
  position: absolute;
  left: 44%; top: 26%;
  width: 26px; height: 26px;
  color: var(--red);
  animation: pin-bob 2.4s var(--ease-out) infinite;
}
.map-tile .pin .icon { width: 26px; height: 26px; fill: var(--red); stroke: #7a0a12; stroke-width: 1.2; }
.map-tile small {
  position: absolute;
  left: 55%; top: 30%;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.25;
  max-width: 100px;
}
.footer-cta { display: grid; gap: 4px; text-align: left; }
@media (min-width: 1100px) { .footer-cta { text-align: center; justify-items: center; } }
.footer-cta .label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0; font-weight: 700; color: #fff; }
.footer-cta a.phone { font-size: var(--fs-sm); color: var(--text-soft); margin-bottom: 8px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-bottom nav { display: flex; gap: 16px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .code {
  font-size: clamp(6rem, 22vw, 14rem);
  font-weight: 900;
  font-stretch: 125%;
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--red-text);
}

/* ==========================================================================
   Scroll reveals (only when JS is running — content is never hidden without it)
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal--left { transform: translate3d(-36px, 0, 0); }
.js .reveal--right { transform: translate3d(36px, 0, 0); }
.js .reveal--scale { transform: scale(0.94); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Cross-page fades (supported browsers only — progressive enhancement) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 220ms var(--ease-in) both vt-out; }
::view-transition-new(root) { animation: 420ms var(--ease-out) both vt-in; }

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes car-in { from { opacity: 0; transform: translate3d(8%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes sweep { 0% { transform: translateX(-700px); } 38%, 100% { transform: translateX(1500px); } }
@keyframes tail-on { 0% { opacity: 0; } 12% { opacity: 1; } 18% { opacity: 0.2; } 26%, 100% { opacity: 1; } }
@keyframes tail-breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.8; } }
@keyframes light-on { 0% { opacity: 0; } 20% { opacity: 0.9; } 28% { opacity: 0.1; } 40% { opacity: 0.95; } 52% { opacity: 0.3; } 64%, 100% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes streak { 0% { transform: translateX(-70%); } 45%, 100% { transform: translateX(70%); } }
@keyframes mist {
  0% { opacity: 0; transform: translate(0, 0) scale(0.6); }
  15% { opacity: 0.9; }
  100% { opacity: 0; transform: translate(var(--x, -180px), var(--y, 120px)) scale(1.4); }
}
@keyframes breathe { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes tune {
  0% { filter: hue-rotate(28deg) brightness(1.25); }
  55%, 100% { filter: none; }
}
@keyframes fill { 0% { transform: scaleX(0.15); } 55%, 100% { transform: scaleX(1); } }
@keyframes compare-sweep { 0% { --pos: 94%; } 100% { --pos: 50%; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes edge-run { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(260%); } }
@keyframes drift-in { from { opacity: 0; transform: translateX(6%); } to { opacity: 1; transform: none; } }
@keyframes bar-in { to { transform: none; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } }
@keyframes pin-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ==========================================================================
   Reduced motion: final states immediately, no loops
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .car-sweep { display: none; }
  .art-paint .mist, .art-polish .streak { display: none; }
  @view-transition { navigation: none; }
}

/* ==========================================================================
   Photo layout (matches the approved mockup)
   ========================================================================== */
.hero--photo { min-height: min(100svh, 720px); }
.hero--photo .hero-inner { padding-block: clamp(32px, 6vw, 80px); }
.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 66%;
  z-index: -1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 35% 50%;
  transform-origin: 70% 40%;
  animation: kenburns 2.8s var(--ease-out) both;
}
.hero-tail { /* living glow over the photo's tail light */
  position: absolute;
  left: 58%; top: 2%;
  width: 46%; height: 36%;
  background: radial-gradient(closest-side, rgba(255, 40, 52, 0.55), transparent);
  mix-blend-mode: screen;
  opacity: 0;
  animation: fade 1.2s var(--ease-out) 1.2s forwards, tail-breathe 4s ease-in-out 2.4s infinite;
}
.hero-sweep, .photo-split-media .sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.16) 48%, transparent 58%);
  mix-blend-mode: screen;
  transform: translateX(-100%);
  animation: streak-wide 7s var(--ease-in) 2.6s infinite;
}
.hero--photo .hero-vignette {
  background: linear-gradient(0deg, var(--bg) 0%, transparent 16%);
}

.photo-split {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(340px, 31vw, 460px);
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.photo-split-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 64%;
  z-index: -1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.photo-split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 2.4s var(--ease-out);
}
.photo-split.is-in .photo-split-media img { transform: scale(1); }
.photo-split-copy { max-width: 520px; }
.photo-split-copy .h2 { margin-bottom: var(--s-4); }
.photo-split-copy p { color: var(--text-soft); max-width: 50ch; }
.photo-split--paint .photo-split-copy { max-width: 600px; }
.photo-split--paint .photo-split-media img { object-position: 70% 50%; }
.photo-split .spray { /* nozzle mist pulse */
  position: absolute;
  left: 46%; top: 30%;
  width: 22%; height: 40%;
  background: radial-gradient(closest-side, rgba(255, 220, 224, 0.4), transparent);
  mix-blend-mode: screen;
  animation: breathe 2.6s ease-in-out infinite;
}
.photo-split .mist { position: absolute; inset: 0; }
.photo-split .mist i {
  position: absolute;
  left: 56%; top: 46%;
  width: var(--size, 8px); height: var(--size, 8px);
  border-radius: 50%;
  background: rgba(255, 200, 205, 0.7);
  filter: blur(1px);
  opacity: 0;
  animation: mist 2.6s var(--ease-out) var(--d, 0s) infinite;
}
.feature-row--inline { margin-top: var(--s-5); }
@media (min-width: 640px) {
  .feature-row--inline { grid-template-columns: repeat(3, auto); gap: 0; }
  .feature-row--inline .feature { padding-inline: 16px; border-left: 1px solid var(--line-strong); }
  .feature-row--inline .feature:first-child { padding-left: 0; border-left: 0; }
}

.band {
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.band-grid { display: grid; gap: 28px; align-items: center; }
.band-grid .h2 { margin-bottom: var(--s-3); }
.band-grid p { color: var(--text-soft); max-width: 46ch; }
@media (min-width: 900px) {
  .band-grid { grid-template-columns: 0.85fr 1.15fr; gap: 48px; }
  .band-grid--results { grid-template-columns: 0.7fr 1.3fr; }
}
.band-grid--results .results-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .band-grid--results .results-grid { grid-template-columns: 1fr 1fr; } }
.compare--thumb { aspect-ratio: 16 / 10; }

.cta-strip {
  display: grid;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #0b0c0e, #08090a);
}
.cta-strip-photo { position: relative; min-height: 180px; overflow: hidden; }
.cta-strip-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent);
  mask-image: linear-gradient(90deg, #000 55%, transparent);
}
.cta-strip-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
}
.cta-strip-item > .icon { width: 40px; height: 40px; color: var(--red-text); stroke-width: 1.5; }
.cta-strip-item h2 { margin-bottom: 6px; }
.cta-strip-item p { color: var(--muted); font-size: var(--fs-sm); max-width: 44ch; margin-bottom: 14px; }
@media (min-width: 900px) {
  .cta-strip { grid-template-columns: minmax(200px, 17%) 1fr 1fr; }
  .cta-strip-item { border-top: 0; padding: 32px 40px; }
  .cta-strip-item + .cta-strip-item { border-left: 1px solid var(--line); }
}

.page-hero--photo .page-hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 62%;
  z-index: -1;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.page-hero--photo .page-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 2.8s var(--ease-out) both;
}
.page-hero--photo .watermark { display: none; }

@media (max-width: 899px) {
  .hero--photo { min-height: 0; }
  .hero-media {
    position: relative;
    order: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 80%, transparent);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 80%, transparent);
    margin-top: -24px;
  }
  .hero--photo .hero-inner { order: 1; padding-bottom: 0; }

  .photo-split { display: flex; flex-direction: column-reverse; padding-block: 0 48px; min-height: 0; }
  .photo-split-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
    mask-image: linear-gradient(180deg, #000 70%, transparent);
  }
  .photo-split--paint .photo-split-media { aspect-ratio: 16 / 8; }
  .photo-split .container { margin-top: -12px; }

  .page-hero--photo .page-hero-media {
    width: 100%;
    opacity: 0.4;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
    mask-image: linear-gradient(180deg, #000, transparent 90%);
  }
}

@keyframes kenburns { from { transform: scale(1.12); opacity: 0; } 30% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
@keyframes streak-wide { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }

@media (prefers-reduced-motion: reduce) {
  .hero-sweep, .photo-split-media .sheen, .photo-split .mist, .photo-split .spray { display: none; }
  .photo-split-media img { transform: none; }
}

/* Compact section headings, as in the mockup */
.photo-split .h2, .band .h2 { font-size: clamp(1.6rem, 2.7vw, 2.3rem); }
.photo-split--paint .photo-split-media img { object-position: 48% 50%; }
@media (min-width: 900px) { .photo-split--paint .photo-split-media { width: 60%; } }
.photo-split--paint .photo-split-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7, 7, 8, 0.95) 0%, rgba(7, 7, 8, 0.55) 30%, transparent 55%);
}
.photo-split--paint .photo-split-media img { object-position: 40% 30%; }
.photo-split--paint .mist i { left: 74%; top: 56%; }
.photo-split--paint .spray { left: 60%; top: 38%; }
@media (min-width: 900px) {
  .page-hero--photo .page-hero-media { width: 54%; opacity: 0.7; }
}
.page-hero--photo .h1, .hero--photo .h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6); }

/* ---------- Featured real repair ---------- */
.featured-grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .featured-grid { grid-template-columns: 1fr 1fr; } }
.compare--tall { aspect-ratio: 3 / 4; border-radius: var(--radius-lg); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line-strong); }
.compare--wide { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
@media (min-width: 900px) { .featured-media { max-width: 560px; justify-self: end; width: 100%; } }
.compare.is-gliding { transition: --pos 650ms var(--ease-out); }
.compare.is-gliding .after, .compare.is-gliding .compare-handle { transition: clip-path 650ms var(--ease-out), left 650ms var(--ease-out); }
.featured-hint {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 14px 0 0;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.featured-hint .icon { width: 14px; height: 14px; color: var(--red-text); animation: nudge 1.8s ease-in-out infinite; }
.featured-copy .h2 { margin-bottom: var(--s-4); }
.featured-copy .lead { margin-bottom: var(--s-5); }
.case-facts { list-style: none; display: grid; gap: 0; margin-bottom: var(--s-5); border-top: 1px solid var(--line); }
.case-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.case-facts span { color: var(--muted); font-size: var(--fs-sm); }
.case-facts strong { text-align: right; font-size: 0.95rem; }
.ba-toggle { display: inline-flex; gap: 6px; padding: 4px; margin-bottom: var(--s-5); border: 1px solid var(--line-strong); border-radius: 999px; }
.ba-toggle .chip-btn { border-color: transparent; min-width: 84px; }
.featured-copy > .btn { display: flex; width: fit-content; }

.result-feature { margin: 0; }
.result-feature figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; font-size: var(--fs-sm); color: var(--text-soft); }
.result-feature .tag {
  padding: 4px 10px; border-radius: 999px;
  background: rgba(225, 29, 42, 0.15); border: 1px solid rgba(240, 0, 26, 0.4);
  color: var(--red-text); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
@keyframes nudge { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
.featured-grid > * { min-width: 0; }
@media (max-width: 479px) { .featured-copy > .btn { width: 100%; white-space: normal; text-align: center; } }
.band-grid--results .result-feature { width: 100%; max-width: 620px; justify-self: end; }

/* Brighter red headline text */
.accent { color: var(--red-text); text-shadow: 0 0 24px rgba(240, 0, 26, 0.3); }
.hero--photo .h1 .accent, .page-hero--photo .h1 .accent { text-shadow: 0 0 24px rgba(240, 0, 26, 0.3), 0 2px 24px rgba(0, 0, 0, 0.6); }

/* ==========================================================================
   Free estimate page (single centered card)
   ========================================================================== */
.est-page {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(28px, 5vw, 56px)) 0 clamp(56px, 8vw, 112px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(90, 96, 110, 0.22), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 140px),
    linear-gradient(180deg, #0e0f12, var(--bg) 60%);
}
.est-page::before { /* faint shop photo behind */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/photos/hero-1552.webp") center 30% / cover no-repeat;
  opacity: 0.12;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
}
.est-streak {
  position: absolute; z-index: -1;
  width: 60vw; height: 10px;
  background: linear-gradient(90deg, transparent, var(--red-text) 40%, #ff6a74 60%, transparent);
  box-shadow: 0 0 30px 4px rgba(255, 31, 47, 0.45);
  border-radius: 10px;
  opacity: 0.85;
}
.est-streak--tl { top: 120px; left: -26vw; transform: rotate(-38deg); animation: streak-in-l 1.2s var(--ease-out) 0.2s both; }
.est-streak--br { bottom: 90px; right: -26vw; transform: rotate(-38deg); animation: streak-in-r 1.2s var(--ease-out) 0.4s both; }
.est-wrap { max-width: 920px; }
.est-wrap .breadcrumb { justify-content: center; }
.est-head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.est-head .lead { margin-inline: auto; max-width: 52ch; animation: fade-up 0.9s var(--ease-out) 0.35s both; }
.est-kicker {
  margin: 0 0 4px;
  font-size: clamp(1.1rem, 2.4vw, 1.75rem);
  font-weight: 400;
  font-stretch: 125%;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  animation: fade-up 0.8s var(--ease-out) both;
}
.est-title-big {
  margin-bottom: var(--s-4);
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  animation: fade-up 0.9s var(--ease-out) 0.12s both;
}
.est-title-big .chrome, .est-title-big .hot {
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.08em;
}
.est-title-big .chrome { background-image: linear-gradient(180deg, #ffffff 0%, #e3e5e9 44%, #8a8e97 52%, #f4f5f7 100%); }
.est-title-big .hot {
  background-image: linear-gradient(180deg, #ff5a66 0%, #ff1f2f 46%, #c4061a 54%, #ff2a3a 100%);
  filter: drop-shadow(0 0 22px rgba(255, 31, 47, 0.45));
}

.est-card {
  padding: clamp(20px, 3.4vw, 32px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22, 24, 29, 0.92), rgba(12, 13, 16, 0.96));
  box-shadow: 0 50px 100px -50px #000, inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: fade-up 1s var(--ease-out) 0.45s both;
}
.est-card .form-grid { gap: 18px 32px; }
.est-step {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 0;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.est-step:first-child { margin-top: 0; }
.est-step::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); margin-left: 6px; }
.est-step > .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.est-num {
  display: grid; place-items: center;
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff4a57, #e0101f 60%, #a00714);
  box-shadow: 0 0 0 4px rgba(255, 31, 47, 0.12), 0 8px 20px -6px rgba(255, 31, 47, 0.6);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}
.est-card .field label { color: #fff; font-size: 0.95rem; }
.input-wrap { position: relative; }
.input-wrap > .icon {
  position: absolute;
  left: 16px; top: 50%;
  width: 20px; height: 20px;
  transform: translateY(-50%);
  color: var(--text-soft);
  pointer-events: none;
  transition: color var(--dur-fast);
}
.input-wrap--top > .icon { top: 17px; transform: none; }
.input-wrap .input { padding-left: 50px; background-color: rgba(8, 9, 11, 0.8); }
.input-wrap:focus-within > .icon { color: var(--red-text); }
.est-card textarea.input { min-height: 96px; }
.est-card select.input:invalid, .est-card select.input option[value=""] { color: #8b8b94; }
.est-card select.input option { color: #fff; background: #111; }

.dropzone--row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 28px 20px;
  text-align: left;
  border-width: 2px;
}
.dropzone--row > .icon { width: 52px; height: 52px; stroke-width: 1.5; flex: none; transition: transform var(--dur) var(--ease-spring); }
.dropzone--row:hover > .icon { transform: scale(1.08) rotate(-4deg); }
.dz-text { display: grid; gap: 4px; }
.dz-text strong { font-size: 1.05rem; }
.dz-text small { color: var(--text-soft); }
.dz-text .dz-meta { color: var(--muted); font-size: 0.8rem; margin-top: 6px; }

.btn-xl { min-height: 60px; margin-top: 24px; font-size: 1.05rem; border-radius: var(--radius); }
.btn-xl::before { /* idle shimmer to draw the eye */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: streak-wide 4.5s var(--ease-in) 2s infinite;
}
.est-privacy { margin: 14px 0 0; text-align: center; font-size: 0.82rem; color: var(--muted); }
.est-privacy a { text-decoration: underline; }

.est-trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 8px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}
.est-trust li { display: flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.est-trust .icon { width: 30px; height: 30px; color: var(--red-text); stroke-width: 1.6; }
@media (min-width: 760px) {
  .est-trust { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .est-trust li + li { padding-left: 18px; border-left: 1px solid var(--line-strong); }
}
@media (max-width: 520px) {
  .dropzone--row { flex-direction: column; text-align: center; }
  .est-step { gap: 10px; letter-spacing: 0.1em; }
  .est-step > .icon { display: none; }
}
@keyframes streak-in-l { from { opacity: 0; translate: -30% 0; } }
@keyframes streak-in-r { from { opacity: 0; translate: 30% 0; } }
@media (prefers-reduced-motion: reduce) { .btn-xl::before { display: none; } }
@media (max-width: 520px) { .btn-xl { font-size: 0.9rem; padding: 0 14px; } }
/* give the hero line masks room for the red glow so it isn't clipped into a box */
.hero-copy .h1 .line { padding: 0.12em 0.4em 0.16em 0; margin: -0.12em -0.4em -0.12em 0; }

/* Bigger logo in the header */
:root { --header-h: 80px; }
@media (min-width: 768px) { :root { --header-h: 96px; } }
.brand svg { width: 172px; }
@media (min-width: 768px) { .brand svg { width: 212px; } }
/* Real logo artwork */
.brand img { width: 172px; height: auto; }
@media (min-width: 768px) { .brand img { width: 212px; } }
.footer-brand img { width: 190px; height: auto; }
/* 7 service tiles: let the last one fill the row */
.tiles > li:last-child:nth-child(odd) { grid-column: span 2; }
@media (min-width: 640px) { .tiles > li:last-child:nth-child(4n + 3) { grid-column: span 2; } }

/* ==========================================================================
   Max — AI chat assistant
   ========================================================================== */
.max-root { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.max-root > * { pointer-events: auto; }
@media (max-width: 767px) { .max-root { right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); } }
.nav-open .max-root { display: none; }

.max-launcher {
  position: relative;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff3344, var(--red) 55%, #a8000f);
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(240, 0, 26, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur);
  animation: max-pop 0.6s var(--ease-spring) 1.2s both;
}
.max-launcher:hover { transform: scale(1.07); }
.max-launcher .icon { width: 26px; height: 26px; stroke-width: 2; }
.max-launcher-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red-text); animation: max-ring 2.6s ease-out 2s infinite; }
.max-launcher-dot { position: absolute; top: 4px; right: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--success); border: 2px solid #0a0a0b; }
.is-open .max-launcher-ring, .is-open .max-launcher-dot { display: none; }

.max-tease {
  position: relative;
  max-width: 260px;
  border-radius: 14px 14px 4px 14px;
  background: #fff; color: #111;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7);
  animation: max-rise 0.5s var(--ease-out) both;
}
.max-tease-body { display: grid; gap: 2px; width: 100%; padding: 14px 34px 14px 16px; border: 0; background: none; color: inherit; text-align: left; font-size: 0.9rem; line-height: 1.4; }
.max-tease-body strong { font-size: 0.95rem; }
.max-tease-close { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: none; color: #555; border-radius: 50%; }
.max-tease-close .icon { width: 16px; height: 16px; }

.max-panel {
  width: min(390px, calc(100vw - 28px));
  height: min(620px, calc(100dvh - 120px));
  display: flex; flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #0c0d10;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  transform-origin: bottom right;
  animation: max-open 0.38s var(--ease-out) both;
}
.max-panel[hidden] { display: none; }
@media (max-width: 767px) { .max-panel { height: min(600px, calc(100dvh - 190px)); } }

.max-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: linear-gradient(135deg, #1a0a0d, #121317 60%); border-bottom: 1px solid var(--line); }
.max-avatar { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #050506; border: 1px solid var(--line-strong); overflow: hidden; }
.max-avatar img { width: 100%; height: 100%; object-fit: cover; }
.max-head .max-avatar { width: 42px; height: 42px; }
.max-head-text { flex: 1; display: grid; line-height: 1.25; }
.max-head-text strong { font-size: 1.02rem; }
.max-head-text span { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--muted); }
.max-online { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.max-close { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--text-soft); }
.max-close:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }

.max-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; }
.max-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; }
.max-msg .max-avatar { width: 28px; height: 28px; }
.max-msg.is-new { animation: max-rise 0.35s var(--ease-out) both; }
.max-bubble { padding: 10px 13px; border-radius: 16px; font-size: 0.93rem; line-height: 1.5; overflow-wrap: anywhere; max-width: 82%; }
.max-bubble p { margin: 0; }
.max-bubble p + p { margin-top: 8px; }
.max-bubble a { text-decoration: underline; }
.max-msg--assistant .max-bubble { background: var(--surface-3); border-bottom-left-radius: 4px; }
.max-msg--user { justify-content: flex-end; }
.max-msg--user .max-bubble { background: var(--red); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.max-typing { display: flex; gap: 4px; padding: 14px 14px; }
.max-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: max-dot 1.1s ease-in-out infinite; }
.max-typing i:nth-child(2) { animation-delay: 0.15s; }
.max-typing i:nth-child(3) { animation-delay: 0.3s; }

.max-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px; }
.max-chips:not(:empty) { padding-bottom: 10px; }
.max-chip { min-height: 36px; padding: 0 12px; border: 1px solid rgba(240, 0, 26, 0.55); border-radius: 999px; background: rgba(240, 0, 26, 0.08); color: #fff; font-size: 0.82rem; font-weight: 600; transition: background-color var(--dur-fast); }
.max-chip:hover { background: rgba(240, 0, 26, 0.2); }

.max-compose { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #0a0b0d; }
.max-input { flex: 1; min-height: 44px; max-height: 120px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 22px; background: #111216; resize: none; font-size: 16px; line-height: 1.35; }
.max-input:focus { outline: none; border-color: var(--red-text); }
.max-send { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--red); color: #fff; transition: transform var(--dur-fast); }
.max-send:active { transform: scale(0.92); }
.max-send:disabled { opacity: 0.5; }
.max-send .icon { width: 20px; height: 20px; transform: rotate(-90deg); }
.max-note { margin: 0; padding: 0 14px 10px; background: #0a0b0d; font-size: 0.7rem; color: var(--muted); text-align: center; }
.max-note a { color: var(--text-soft); text-decoration: underline; }

.max-card { margin: 2px 0 4px 36px; padding: 14px; border: 1px solid rgba(240, 0, 26, 0.45); border-radius: 14px; background: linear-gradient(180deg, #17090c, #101115); font-size: 0.86rem; }
.max-card.is-new { animation: max-rise 0.45s var(--ease-out) both; }
.max-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.max-card-head .icon { color: var(--red-text); }
.max-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0 0 12px; }
.max-card dt { color: var(--muted); }
.max-card dd { margin: 0; overflow-wrap: anywhere; }
.max-card-add { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1.5px dashed rgba(255, 255, 255, 0.3); border-radius: 10px; cursor: pointer; font-weight: 600; }
.max-card-add:hover { border-color: var(--red-text); }
.max-card-add .icon { color: var(--red-text); }
input:focus-visible + .max-card-add { outline: 3px solid #ff4a5a; outline-offset: 2px; }
.max-card-photos { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.max-card-photos:empty { display: none; }
.max-card-photos li { width: 54px; height: 54px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-strong); }
.max-card-photos img { width: 100%; height: 100%; object-fit: cover; }
.max-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.max-card-edit { min-height: 40px; border: 0; background: none; color: var(--text-soft); text-decoration: underline; font-size: 0.85rem; }
.max-card-status { margin: 8px 0 0; font-size: 0.82rem; color: var(--muted); }
.max-card-status:empty { display: none; }
.max-card.is-sent { border-color: rgba(74, 222, 128, 0.5); }
.max-card.is-sent .max-card-status { color: var(--success); font-weight: 600; }

@keyframes max-pop { from { opacity: 0; transform: scale(0.4); } }
@keyframes max-ring { 0% { opacity: 0.8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes max-open { from { opacity: 0; transform: translateY(16px) scale(0.96); } }
@keyframes max-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes max-dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .max-launcher-ring { display: none; } }

/* ==========================================================================
   Quote page + booking calendar
   ========================================================================== */
.q-page .est-head { margin-bottom: clamp(20px, 3vw, 32px); }
.q-wrap { max-width: 880px; }
.q-app { display: grid; gap: 18px; }
.q-card {
  padding: clamp(20px, 3.2vw, 32px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22, 24, 29, 0.94), rgba(12, 13, 16, 0.97));
  box-shadow: 0 40px 80px -50px #000;
}
.q-loading { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.q-empty { text-align: center; display: grid; justify-items: center; gap: 10px; }
.q-empty > .icon { width: 40px; height: 40px; color: var(--red-text); }
.q-demo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 0 14px; padding: 10px 14px; border: 1px dashed rgba(255, 255, 255, 0.25); border-radius: var(--radius); font-size: 0.85rem; color: var(--text-soft); }
.q-demo .icon { color: var(--red-text); }
.q-demo-reset { min-height: 32px; border: 0; background: none; color: #fff; text-decoration: underline; }

.q-quote-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.q-quote-top .eyebrow { margin-bottom: 6px; }
.q-vehicle { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; font-stretch: 115%; text-transform: uppercase; margin-bottom: 4px; }
.q-quote-top .muted { margin: 0; }
.q-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; border: 1px solid var(--line-strong); color: var(--text-soft); }
.q-status .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.q-status--approved { color: #fbbf24; border-color: rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.08); }
.q-status--booked { color: var(--success); border-color: rgba(74, 222, 128, 0.45); background: rgba(74, 222, 128, 0.08); }
.q-status--sent { color: #fff; border-color: rgba(240, 0, 26, 0.5); background: rgba(240, 0, 26, 0.1); }
.q-status--cancelled { color: var(--muted); }
.q-amount { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 22px 0 18px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.q-amount span { color: var(--muted); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; }
.q-amount strong { font-size: clamp(2rem, 6vw, 3rem); font-weight: 900; font-stretch: 115%; font-variant-numeric: tabular-nums; line-height: 1; }
.q-label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.q-notes p { margin: 0 0 18px; color: var(--text-soft); white-space: pre-line; }
.q-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.88rem; color: var(--text-soft); }
.q-perks li { display: flex; align-items: center; gap: 8px; }
.q-perks .icon { color: var(--red-text); width: 18px; height: 18px; }
.q-action { text-align: center; }
.q-action .h3 { margin-bottom: 6px; }
.q-action .btn-row { justify-content: center; margin-top: 18px; }
.q-approve { min-width: 220px; }
.q-msg { margin: 12px 0 0; font-size: 0.9rem; color: var(--text-soft); }
.q-msg:empty { display: none; }
.q-small { margin: 16px 0 0; font-size: 0.85rem; color: var(--muted); }
.q-small a { color: #fff; text-decoration: underline; }

/* Max hands over the calendar */
.qmax { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 14px; }
.qmax-avatar { width: 40px; height: 40px; }
.qmax-bubble { max-width: 620px; padding: 14px 16px; border-radius: 18px 18px 18px 4px; background: var(--surface-3); border: 1px solid var(--line); }
.qmax-bubble p { margin: 0; }
.qmax-name { display: block; margin-bottom: 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-text); }
.q-book.is-new .qmax, .q-done.is-new .qmax { animation: max-rise 0.45s var(--ease-out) both; }
.q-book.is-new .q-picker, .q-done.is-new .q-booked { animation: max-rise 0.55s var(--ease-out) 0.25s both; }

.q-picker-cols { display: grid; gap: 24px; }
@media (min-width: 760px) { .q-picker-cols { grid-template-columns: 1.15fr 1fr; gap: 32px; } }
.q-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.q-cal-head strong { font-size: 1.05rem; font-stretch: 110%; text-transform: uppercase; letter-spacing: 0.04em; }
.q-nav { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: none; color: #fff; }
.q-nav:first-child .icon { transform: rotate(180deg); }
.q-nav:disabled { opacity: 0.3; cursor: default; }
.q-nav:not(:disabled):hover { border-color: var(--red-text); }
.q-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.q-dow { padding-bottom: 4px; text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.q-day {
  position: relative;
  aspect-ratio: 1 / 0.86;
  min-height: 46px;
  display: grid; place-items: center; align-content: center; gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #111216;
  font-size: 1rem; font-weight: 700;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast) var(--ease-spring);
  animation: fade-up 0.4s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 15ms);
}
.q-day small { font-size: 0.62rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.q-day:not(:disabled):hover { border-color: var(--red-text); transform: translateY(-2px); }
.q-day:disabled { background: transparent; border-color: transparent; color: #4b4b52; cursor: default; }
.q-day.is-today::after { content: ""; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.q-day.is-on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 24px -10px var(--red-glow); }
.q-pad { display: block; }

.q-side { display: grid; align-content: start; gap: 14px; }
.q-hint { display: flex; align-items: center; gap: 8px; margin: 0; padding: 18px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); font-size: 0.9rem; }
.q-hint .icon { transform: rotate(180deg); color: var(--red-text); }
@media (max-width: 759px) { .q-hint .icon { transform: rotate(-90deg); } }
.q-sub { font-size: 1.05rem; font-weight: 700; margin: 0; }
.q-hint-sm { margin: -8px 0 0; font-size: 0.8rem; color: var(--muted); }
.q-time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.q-time {
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #111216;
  font-weight: 700; font-size: 0.92rem; font-variant-numeric: tabular-nums;
  transition: background-color var(--dur-fast), border-color var(--dur-fast);
  animation: fade-up 0.35s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 30ms);
}
.q-time:not(:disabled):hover { border-color: var(--red-text); }
.q-time:disabled { opacity: 0.35; text-decoration: line-through; cursor: default; }
.q-time.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.q-summary { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; border: 1px solid rgba(240, 0, 26, 0.45); background: rgba(240, 0, 26, 0.08); }
.q-summary.is-new { animation: max-rise 0.35s var(--ease-out) both; }
.q-summary > .icon { width: 28px; height: 28px; color: var(--red-text); flex: none; }
.q-summary span { display: block; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.q-summary strong { font-size: 1rem; }
.q-confirm { display: grid; gap: 12px; }
.q-confirm:empty { display: none; }

.q-booked { text-align: center; display: grid; justify-items: center; gap: 6px; }
.q-booked .btn-row { justify-content: center; margin-top: 12px; }
.q-check { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 50%; border: 1.5px solid var(--success); background: rgba(74, 222, 128, 0.12); color: var(--success); }
.q-check .icon { width: 34px; height: 34px; stroke-width: 2.6; }
.q-check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.7s var(--ease-out) 0.5s forwards; }
.q-when { margin: 0; font-size: clamp(1.15rem, 2.6vw, 1.4rem); font-weight: 800; }

/* ==========================================================================
   Shop dashboard
   ========================================================================== */
.adm-wrap { max-width: 1180px; }
.adm-head { margin-bottom: 24px; }
.adm-app { display: grid; gap: 18px; }
.adm-login { max-width: 420px; margin: 0 auto; width: 100%; display: grid; gap: 14px; text-align: center; }
.adm-login .field { text-align: left; }
.adm-lock { width: 56px; height: 56px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: rgba(240, 0, 26, 0.12); color: var(--red-text); }
.adm-lock .icon { width: 26px; height: 26px; }
.adm-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.adm-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-stats > div { min-width: 150px; padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); }
.adm-stats strong { display: block; font-size: 1.8rem; font-weight: 900; line-height: 1; }
.adm-stats span { font-size: 0.82rem; color: var(--muted); }
.adm-grid { display: grid; gap: 18px; align-items: start; }
@media (min-width: 1000px) { .adm-grid { grid-template-columns: 1.15fr 0.85fr; } }
.adm-col { display: grid; gap: 18px; min-width: 0; }
.adm-col .h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.adm-col .h3 .icon { color: var(--red-text); }
.adm-new .form-grid { margin-top: 14px; }
.adm-created { margin-top: -6px; padding: 16px; border-radius: var(--radius-lg); border: 1px solid rgba(74, 222, 128, 0.45); background: rgba(74, 222, 128, 0.06); display: grid; gap: 10px; }
.adm-created.is-new { animation: max-rise 0.4s var(--ease-out) both; }
.adm-created strong { display: flex; align-items: center; gap: 6px; color: var(--success); }
.adm-share { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-mini { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: none; color: var(--text-soft); font-size: 0.8rem; font-weight: 600; }
.adm-mini:hover { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.adm-mini .icon { width: 15px; height: 15px; }
.adm-danger:hover { border-color: var(--error); color: var(--error); }
.adm-list { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.adm-item { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.02); display: grid; gap: 10px; }
.adm-item-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.adm-item-top strong { display: block; }
.adm-item-top .muted { font-size: 0.85rem; }
.adm-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.adm-amt { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.adm-when { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 0.88rem; color: var(--success); }
.adm-when .icon { width: 16px; height: 16px; }
.adm-item-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.adm-day { margin-top: 14px; }
.adm-day-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-text); margin-bottom: 8px; }
.adm-booking { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.adm-time { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 72px; }
.adm-who { display: grid; font-size: 0.88rem; min-width: 0; }
.adm-who span { color: var(--muted); }
.adm-who a { text-decoration: underline; }
@media (max-width: 520px) { .adm-booking { grid-template-columns: 1fr; } }
.adm-off-add { display: flex; gap: 8px; margin: 12px 0; }
.adm-off-add .input { flex: 1; color-scheme: dark; }
.adm-off-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.adm-chip { display: inline-flex; align-items: center; gap: 4px; padding-left: 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.85rem; }
.adm-chip-x { width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 50%; }
.adm-chip-x:hover { color: var(--error); }
.adm-chip-x .icon { width: 14px; height: 14px; }
.adm-max-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.adm-max-row .max-avatar { width: 44px; height: 44px; }
.adm-max-row strong { display: block; }
.adm-max-state { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; }
.adm-max-state i { width: 9px; height: 9px; border-radius: 50%; }
.adm-max-state.is-ok { color: var(--success); }
.adm-max-state.is-ok i { background: var(--success); animation: ping 2s infinite; }
.adm-max-state.is-bad { color: #fbbf24; }
.adm-max-state.is-bad i { background: #fbbf24; }
.adm-max p { margin: 0; font-size: 0.9rem; }

/* ---------- Booking step, styled after the shop's mockup ---------- */
.q-sched-head { margin: 22px 0 14px; }
.q-sched-head .eyebrow { margin-bottom: 4px; }
.q-sched-title {
  font-size: clamp(2rem, 6.4vw, 3.4rem);
  font-weight: 900; font-style: italic; font-stretch: 125%;
  line-height: 1; text-transform: uppercase; letter-spacing: -0.015em;
}
.q-sched-title .chrome, .q-sched-title .hot { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: 0.06em; }
.q-sched-title .chrome { background-image: linear-gradient(180deg, #fff 0%, #e3e5e9 44%, #8a8e97 52%, #f4f5f7 100%); }
.q-sched-title .hot { background-image: linear-gradient(180deg, #ff4250 0%, #f0001a 46%, #b8000f 54%, #ff1f2f 100%); }
.q-picker { border-color: rgba(240, 0, 26, 0.35); box-shadow: 0 0 0 1px rgba(240, 0, 26, 0.08), 0 30px 80px -40px rgba(240, 0, 26, 0.35); }
.q-picker-cols { display: grid; gap: 22px; }
@media (min-width: 760px) { .q-picker-cols { grid-template-columns: 1.45fr 1fr; gap: 24px; align-items: start; } }
.q-col-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1rem; font-weight: 700; }
.q-col-title .icon { color: var(--red-text); width: 22px; height: 22px; }
.q-col-title--big { font-size: 1.3rem; gap: 14px; }
.q-col-title--big .icon { width: 30px; height: 30px; }
.q-cal-panel { padding: 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(0, 0, 0, 0.35); }
.q-cal-head strong { font-size: 1.15rem; text-transform: none; letter-spacing: 0; font-stretch: 100%; }
.q-nav { border: 0; width: 40px; height: 40px; }
.q-nav:not(:disabled):hover { background: rgba(255, 255, 255, 0.06); }
.q-nav--prev .icon { transform: rotate(180deg); }
.q-nav:first-child .icon { transform: none; }
.q-nav--prev:first-child .icon { transform: rotate(180deg); }
.q-days { grid-template-columns: repeat(7, 1fr); gap: 5px; }
.q-day { aspect-ratio: 1.05; min-height: 40px; border-radius: 8px; background: #17181c; border-color: rgba(255, 255, 255, 0.06); font-size: 0.98rem; }
.q-day:disabled { background: rgba(255, 255, 255, 0.015); border-color: transparent; color: #46464c; }
.q-day.is-weekend:disabled { color: #3a3a40; }
.q-day.is-on {
  background: linear-gradient(180deg, #ff1f2f, #c8000f);
  border-color: #ff4a5a;
  box-shadow: 0 0 0 2px rgba(240, 0, 26, 0.35), 0 0 22px rgba(240, 0, 26, 0.55);
  font-size: 1.12rem;
}
.q-right { display: grid; gap: 16px; }
.q-hours { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(240, 0, 26, 0.45); border-radius: 12px; background: rgba(240, 0, 26, 0.05); }
.q-hours > .icon { width: 26px; height: 26px; color: var(--red-text); flex: none; }
.q-hours strong { display: block; font-size: 0.92rem; }
.q-hours span { font-size: 0.85rem; color: var(--text-soft); }
.q-times .q-hint { justify-content: center; text-align: center; }
.q-time-list { display: grid; gap: 8px; }
@media (max-width: 759px) { .q-time-list { grid-template-columns: 1fr 1fr; } }
.q-time {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px;
  border-radius: 8px;
  background: #121317;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.q-time small { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; }
.q-time:disabled { text-decoration: none; }
.q-time:disabled span { text-decoration: line-through; }
.q-time.is-on { background: linear-gradient(180deg, rgba(240, 0, 26, 0.22), rgba(240, 0, 26, 0.1)); border-color: #ff2233; color: #fff; box-shadow: 0 0 18px -4px rgba(240, 0, 26, 0.6); }
.q-tick { position: absolute; right: 12px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 3; }
.q-selected { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(0, 0, 0, 0.3); transition: border-color var(--dur); }
.q-selected.is-set { border-color: rgba(240, 0, 26, 0.5); }
.q-car { width: 34px; height: 34px; color: var(--red-text); flex: none; stroke-width: 1.6; }
.q-selected-text { flex: 1; display: grid; min-width: 0; }
.q-selected-text strong { font-size: 0.92rem; }
.q-selected-text span { color: var(--text-soft); font-size: 0.9rem; }
.q-change { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 0 0 14px; border: 0; border-left: 1px solid var(--line-strong); background: none; color: var(--red-text); font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.q-change .icon { width: 15px; height: 15px; }
.q-go { margin-top: 18px; border-radius: 10px; }
.q-go:disabled { opacity: 0.45; box-shadow: none; cursor: not-allowed; }
.q-trust { margin-top: 22px; }
@media (max-width: 480px) { .q-selected { flex-wrap: wrap; } .q-change { border-left: 0; padding-left: 48px; } }
.q-app > *, .q-book > *, .q-picker-cols > *, .q-right > * { min-width: 0; }
@media (max-width: 759px) { .q-picker { padding: 16px; } .q-cal-panel { padding: 10px; } .q-days { gap: 4px; } .q-day { min-height: 36px; font-size: 0.9rem; } }

/* ---------- Google reviews ---------- */
.g-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.g-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.g-score { display: flex; align-items: center; gap: 12px; }
.g-score > strong { font-size: 3rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.g-score > div > span:not(.g-stars) { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.g-score .g-stars { display: flex; }
.g-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.g-stars { display: inline-flex; gap: 2px; }
.g-star { width: 18px; height: 18px; background: linear-gradient(90deg, #fbbc04 var(--fill), #3a3a40 var(--fill)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z%27/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z%27/%3E%3C/svg%3E") center / contain no-repeat; }
.g-list { display: grid; gap: 14px; }
@media (min-width: 760px) { .g-list { grid-template-columns: repeat(3, 1fr); } }
.g-card { display: grid; align-content: start; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.g-who { display: flex; align-items: center; gap: 10px; }
.g-who img, .g-initial { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.g-initial { display: grid; place-items: center; background: var(--red); font-weight: 800; }
.g-who strong { display: block; font-size: 0.95rem; }
.g-who a:hover { text-decoration: underline; }
.g-when { font-size: 0.8rem; color: var(--muted); }
.g-text { margin: 0; color: var(--text-soft); font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.g-card.is-open .g-text { -webkit-line-clamp: unset; display: block; }
.g-more { justify-self: start; min-height: 36px; padding: 0; border: 0; background: none; color: var(--red-text); font-weight: 600; font-size: 0.88rem; }
.g-attr { margin: 18px 0 0; font-size: 0.8rem; color: var(--muted); text-align: right; }
.g-word b { font-weight: 600; } .g-word b:nth-child(1), .g-word b:nth-child(4) { color: #4285f4; } .g-word b:nth-child(2), .g-word b:nth-child(6) { color: #ea4335; } .g-word b:nth-child(3) { color: #fbbc04; } .g-word b:nth-child(5) { color: #34a853; }
.g-placeholder { grid-column: 1 / -1; padding: 28px; border: 1.5px dashed rgba(255, 255, 255, 0.22); border-radius: var(--radius-lg); text-align: center; }
.g-placeholder strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.g-placeholder p { margin: 0 auto; max-width: 60ch; color: var(--muted); font-size: 0.92rem; }
