/* ==========================================================================
   AUTOMEX — design system
   Black · Logo red · Chrome · Gold hairline
   ========================================================================== */
:root {
  --bg: #07070a;
  --bg-2: #0d0d12;
  --surface: #121218;
  --surface-2: #1a1a22;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f3f5;
  --muted: #9a9aa6;
  --dim: #6b6b76;
  --red: #d3121f;
  --red-2: #ff2d3a;
  --red-glow: rgba(211, 18, 31, 0.45);
  --gold: #d6b56d;
  --green: #25d366;
  --chrome: linear-gradient(180deg, #ffffff 0%, #c9ccd3 38%, #7d828c 52%, #e9ebef 70%, #a3a7af 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Unbounded", "Sora", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 76px;
  --wrap: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--font); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h1, .h2, .h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.h1 { font-size: clamp(2.5rem, 6.4vw, 5.6rem); line-height: 1.02; }
.h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.08; }
.h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.25; }
.lead { font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 56ch; }
.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.red { color: var(--red-2); }
.section { padding-block: clamp(80px, 12vw, 150px); position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head.center { text-align: center; justify-items: center; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--red);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  background: var(--b); color: #fff;
  box-shadow: 0 10px 30px -10px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.3); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { background: rgba(255,255,255,.04); border: 1px solid var(--line-2); box-shadow: none; backdrop-filter: blur(10px); }
.btn.ghost:hover { background: rgba(255,255,255,.09); }
.btn.wa { background: var(--green); box-shadow: 0 10px 30px -10px rgba(37,211,102,.5); color: #06290f; }
.btn.sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7,7,10,.72); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .04em; }
.brand img { width: 42px; height: 42px; }
.brand b { color: var(--red-2); font-weight: 700; }
.brand span { color: #c9ccd3; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 10px 16px; border-radius: 999px; font-size: 14.5px; color: var(--muted); transition: color .3s, background .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.06); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-phone { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.nav-phone svg { width: 16px; color: var(--red-2); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:nth-child(1) { top: 16px; } .burger i:nth-child(2) { top: 25px; }
.nav.open .burger i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.open .burger i:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; margin-left: auto; }
  .nav-cta .btn { display: none; }
  .nav.open { background: rgba(7,7,10,.96); }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    left: 0; right: 0; padding: 16px 20px 28px; background: rgba(7,7,10,.96); border-bottom: 1px solid var(--line); margin: 0;
  }
  .nav.open .nav-links a { font-size: 20px; padding: 14px 8px; color: var(--text); }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: var(--nav-h); }
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 60% at 75% 45%, transparent 0%, rgba(7,7,10,.2) 45%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, rgba(7,7,10,.85) 30%, transparent 62%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: 1; pointer-events: none;
  background: linear-gradient(transparent, var(--bg));
}
.hero-in { position: relative; z-index: 2; display: grid; gap: 30px; padding-block: 60px 120px; }
.hero .h1 { max-width: 12ch; }
.hero .h1 .line { display: block; overflow: hidden; }
.hero .h1 .line > span { display: inline-block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 54px); margin-top: 18px; }
.stat b { display: block; font: 600 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--font-display); }
.stat span { font-size: 13px; color: var(--muted); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; color: var(--dim); text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--red-2), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* quick car picker bar */
.picker {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 8px; border-radius: 22px; max-width: 640px;
  background: rgba(18,18,24,.7); border: 1px solid var(--line-2); backdrop-filter: blur(16px);
}
.picker select {
  flex: 1 1 150px; height: 50px; padding: 0 40px 0 18px; border-radius: 15px;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9aa6' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid var(--line); appearance: none; font-size: 15px; outline: none; transition: border-color .3s;
}
.picker select:focus { border-color: var(--red); }
.picker select:disabled { opacity: .45; }
.picker .btn { flex: 0 0 auto; height: 50px; border-radius: 15px; }

/* ---------- brand marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 26px; overflow: hidden; mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track { align-items: center; }
.marquee img { height: 44px; width: auto; max-width: 160px; object-fit: contain; opacity: .75; transition: opacity .4s, transform .4s var(--ease); }
.marquee img:hover { opacity: 1; transform: scale(1.1); }
/* official logos drawn in dark ink are shown as white versions of the same mark on the dark UI */
img.logo-dark { filter: brightness(0) invert(1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- category grid (3D tilt) ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; perspective: 1200px; }
.cat {
  position: relative; padding: 26px 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--line); overflow: hidden;
  transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .4s;
  min-height: 190px; display: flex; flex-direction: column; justify-content: space-between;
}
.cat::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(211,18,31,.22), transparent 45%);
}
.cat:hover { border-color: rgba(211,18,31,.5); }
.cat:hover::before { opacity: 1; }
.cat img { width: 64px; height: 64px; object-fit: contain; transform: translateZ(40px); filter: drop-shadow(0 12px 18px rgba(0,0,0,.6)); }
.cat .h3 { transform: translateZ(26px); font-size: 1.05rem; }
.cat small { color: var(--muted); font-size: 13px; transform: translateZ(18px); display: block; margin-top: 6px; }
.cat .arrow { position: absolute; right: 20px; top: 22px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .4s, transform .4s var(--ease); }
.cat .arrow svg { width: 14px; }
.cat:hover .arrow { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }

/* ---------- how it works (horizontal pin) ---------- */
.how { overflow: hidden; }
.how-track { display: flex; gap: 24px; width: max-content; padding-right: 20vw; }
.how-card {
  width: min(78vw, 560px); flex: 0 0 auto; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); position: relative;
}
.how-card figure { margin: 0; aspect-ratio: 16/10; overflow: hidden; background: #000; }
.how-card figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.how-card .body { padding: 28px 30px 32px; display: grid; gap: 10px; }
.how-card .num { position: absolute; top: 18px; left: 22px; font: 700 64px/1 var(--font-display); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.4); }
.how-card p { margin: 0; color: var(--muted); }
@media (max-width: 760px) {
  .how-track { flex-direction: column; width: auto; padding: 0; }
  .how-card { width: 100%; }
}

/* ---------- package cards ---------- */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: stretch; }
.pack {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.pack:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.pack.hot { border-color: rgba(211,18,31,.55); background: linear-gradient(170deg, rgba(211,18,31,.12), var(--surface) 45%); }
.pack .tag { position: absolute; top: 18px; right: 18px; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--red); color: #fff; }
.pack .thumb { height: 150px; border-radius: 14px; background: radial-gradient(70% 80% at 50% 60%, #22222c, #101015); display: grid; place-items: center; overflow: hidden; }
.pack .thumb { background: radial-gradient(60% 70% at 50% 60%, #2a2a34, #121218 75%); }
.pack .thumb img { max-height: 132px; width: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); transition: transform .6s var(--ease); }
.pack:hover .thumb img { transform: scale(1.06) rotate(-1deg); }
.pack .thumb svg { width: 56px; height: 56px; color: var(--dim); }
.pack .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.chip svg { width: 13px; color: var(--gold); }
.pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; color: #cfcfd6; }
.pack li { display: flex; gap: 10px; align-items: flex-start; }
.pack li svg { flex: 0 0 16px; width: 16px; margin-top: 3px; color: var(--red-2); }
.pack .more { font-size: 13px; color: var(--gold); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.price b { font: 600 1.9rem/1 var(--font-display); }
.price s { color: var(--dim); }
.price em { font-style: normal; font-size: 12px; font-weight: 700; color: #4ade80; background: rgba(74,222,128,.1); padding: 4px 8px; border-radius: 6px; }
.price .ask { font: 500 1.1rem/1.2 var(--font); color: var(--muted); }
.pack .actions { display: flex; gap: 10px; }
.pack .actions .btn { flex: 1; }
.pack.added { border-color: #4ade80; }

/* ---------- about / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.split-media img { width: 100%; height: 120%; object-fit: cover; }
.split-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(7,7,10,.8)); }
.float-card {
  position: absolute; left: 22px; bottom: 22px; z-index: 2; padding: 16px 18px; border-radius: 16px;
  background: rgba(18,18,24,.75); backdrop-filter: blur(14px); border: 1px solid var(--line-2);
  display: flex; gap: 14px; align-items: center;
}
.float-card b { font: 600 1.6rem/1 var(--font-display); color: var(--red-2); }
.float-card span { font-size: 13px; color: var(--muted); line-height: 1.3; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.feature { padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.feature svg { width: 26px; height: 26px; color: var(--red-2); margin-bottom: 12px; }
.feature b { display: block; margin-bottom: 4px; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media { aspect-ratio: 4/3; } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.faq details[open] { border-color: rgba(211,18,31,.45); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 300 28px/1 var(--font); color: var(--red-2); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 36px; padding: clamp(40px, 7vw, 90px);
  background: radial-gradient(90% 120% at 100% 0%, rgba(211,18,31,.55), transparent 55%), linear-gradient(135deg, #16161d, #0b0b0f);
  border: 1px solid var(--line-2); display: grid; gap: 26px;
}
.cta-band img { position: absolute; right: -6%; bottom: -8%; width: min(55%, 640px); opacity: .9; pointer-events: none; }
.cta-band > * { position: relative; }
@media (max-width: 760px) { .cta-band img { opacity: .18; width: 90%; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 70px 104px; margin-top: 40px; color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer h4 { color: var(--text); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--text); }
.footer .tagline { font-family: var(--font-display); color: var(--text); margin: 18px 0 8px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13px; }
.footer-bottom .credit { color: var(--dim); transition: color .3s; }
.footer-bottom .credit b { font-weight: 600; color: var(--muted); transition: color .3s; }
.footer-bottom .credit:hover, .footer-bottom .credit:hover b { color: var(--red-2); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- floating buttons ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--green); display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .4s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

.cart-pill {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 55;
  transform: translate(-50%, 150%); transition: transform .6s var(--ease);
  display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(18,18,24,.9); backdrop-filter: blur(16px); border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.9); white-space: nowrap;
}
.cart-pill.show { transform: translate(-50%, 0); }
.cart-pill span { font-size: 14px; color: var(--muted); }
.cart-pill b { color: var(--text); }

/* ---------- cursor glow (desktop) ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  pointer-events: none; background: radial-gradient(circle, rgba(211,18,31,.10), transparent 60%);
  transition: opacity .5s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- page header (inner pages) ---------- */
.page-head { padding: calc(var(--nav-h) + 70px) 0 50px; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 80% at 85% 0%, rgba(211,18,31,.28), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(214,181,109,.07), transparent 60%);
}
.page-head .wrap { display: grid; gap: 18px; }
.crumbs { font-size: 13px; color: var(--dim); }
.crumbs a:hover { color: var(--text); }

/* ---------- services page ---------- */
.svc-layout { display: grid; grid-template-columns: 270px 1fr; gap: 36px; align-items: start; }
.svc-tabs { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 6px; padding: 10px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.svc-tab { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-align: left; font-size: 14.5px; color: var(--muted); transition: background .3s, color .3s; }
.svc-tab img { width: 34px; height: 34px; object-fit: contain; }
.svc-tab:hover { background: rgba(255,255,255,.04); color: var(--text); }
.svc-tab.active { background: linear-gradient(90deg, rgba(211,18,31,.25), rgba(211,18,31,.04)); color: var(--text); box-shadow: inset 2px 0 0 var(--red); }
.svc-tab .n { margin-left: auto; font-size: 12px; color: var(--dim); }
.car-banner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; border-radius: 18px; margin-bottom: 22px;
  background: var(--surface); border: 1px solid var(--line);
}
.car-banner img { width: 96px; height: 56px; object-fit: contain; }
.car-banner .grow { flex: 1; min-width: 180px; }
.car-banner small { color: var(--muted); display: block; }
.svc-search { position: relative; margin-bottom: 22px; }
.svc-search input { width: 100%; height: 54px; border-radius: 16px; padding: 0 20px 0 50px; background: var(--surface); border: 1px solid var(--line); outline: none; transition: border-color .3s; }
.svc-search input:focus { border-color: var(--red); }
.svc-search svg { position: absolute; left: 18px; top: 50%; width: 18px; transform: translateY(-50%); color: var(--dim); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.svc-empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 20px; }
@media (max-width: 960px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-tabs { position: sticky; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); z-index: 5; display: flex; overflow-x: auto; border-radius: 18px; scrollbar-width: none; background: rgba(18,18,24,.92); backdrop-filter: blur(14px); }
  .svc-tab { flex: 0 0 auto; white-space: nowrap; }
  .svc-tab .n { display: none; }
}

/* ---------- modal (car picker) ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); }
.modal-box {
  position: relative; width: min(760px, 100%); max-height: min(86vh, 820px); display: flex; flex-direction: column;
  border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line-2); overflow: hidden;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.9);
}
.modal-top { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.modal-top .h3 { flex: 1; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s; }
.icon-btn:hover { background: rgba(255,255,255,.06); }
.icon-btn svg { width: 18px; }
.modal-body { padding: 22px; overflow-y: auto; }
.modal-body input[type=search] { width: 100%; height: 50px; border-radius: 14px; padding: 0 18px; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--line); outline: none; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.pick {
  display: grid; justify-items: center; gap: 10px; padding: 16px 10px; border-radius: 16px; text-align: center; font-size: 14px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease), background .3s;
}
.pick:hover { border-color: var(--red); transform: translateY(-3px); background: var(--surface-2); }
.pick img { height: 58px; width: 100%; object-fit: contain; }
.pick.brand-pick img { height: 48px; object-fit: contain; }
/* car photos ship on white — present them as light studio cards */
/* car photos ship on white — present them as light studio cards */
.pick:not(.brand-pick) img, .car-banner img, .sum-car img {
  background: #fff; border-radius: 12px; padding: 4px 6px;
}
.pick:not(.brand-pick) img { height: 74px; }
.steps-dots { display: flex; gap: 6px; }
.steps-dots i { width: 22px; height: 4px; border-radius: 4px; background: var(--line-2); transition: background .3s; }
.steps-dots i.on { background: var(--red); }

/* ---------- booking page ---------- */
.book-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.book-layout > *, .svc-layout > * { min-width: 0; }
.panel { border-radius: 26px; background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 3vw, 34px); }
.panel + .panel { margin-top: 18px; }
.panel h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 600 1.1rem/1.2 var(--font-display); }
.panel h3 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font: 700 13px/1 var(--font); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; background: var(--bg-2);
  border: 1px solid var(--line-2); outline: none; transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(211,18,31,.15); }
.field .err { font-size: 12.5px; color: #ff6b75; min-height: 0; }
.field.bad input, .field.bad textarea { border-color: #ff6b75; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.dates { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.date-btn { flex: 0 0 76px; padding: 12px 6px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line-2); display: grid; gap: 2px; justify-items: center; transition: border-color .3s, background .3s; }
.date-btn small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.date-btn b { font: 600 1.3rem/1.1 var(--font-display); }
.date-btn.on { border-color: var(--red); background: rgba(211,18,31,.15); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 16px; }
.slot { height: 46px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); font-size: 14px; transition: border-color .3s, background .3s; }
.slot.on { border-color: var(--red); background: rgba(211,18,31,.15); }
.slot:disabled { opacity: .3; cursor: not-allowed; }
.summary { position: sticky; top: calc(var(--nav-h) + 20px); }
.sum-car { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.sum-car img { width: 90px; height: 54px; object-fit: contain; }
.sum-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.sum-list li { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.sum-list li img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; background: var(--bg-2); }
.sum-list li .grow { flex: 1; }
.sum-list li button { color: var(--dim); font-size: 20px; line-height: 1; padding: 4px; }
.sum-list li button:hover { color: var(--red-2); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); margin-bottom: 18px; }
.sum-total b { font: 600 1.6rem/1 var(--font-display); }
.note { font-size: 12.5px; color: var(--dim); margin: 12px 0 0; text-align: center; }
@media (max-width: 960px) { .book-layout { grid-template-columns: 1fr; } .summary { position: static; } }

.done { text-align: center; display: grid; justify-items: center; gap: 18px; padding: 60px 20px; }
.done .tick { width: 96px; height: 96px; border-radius: 50%; background: rgba(74,222,128,.12); display: grid; place-items: center; }
.done .tick svg { width: 48px; color: #4ade80; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-card { padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; transition: border-color .3s, transform .5s var(--ease); }
.contact-card:hover { border-color: rgba(211,18,31,.5); transform: translateY(-4px); }
.contact-card svg { width: 28px; height: 28px; color: var(--red-2); margin-bottom: 8px; }
.contact-card span { color: var(--muted); font-size: 14px; }
.map { margin-top: 24px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21/9; min-height: 320px; filter: grayscale(.4) invert(.9) hue-rotate(180deg); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; top: calc(var(--nav-h) + 16px); z-index: 100; transform: translate(-50%, -20px); opacity: 0;
  padding: 12px 20px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 14px;
  transition: opacity .35s, transform .5s var(--ease); pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal (JS adds .in) ---------- */
.reveal { opacity: 0; transform: translateY(40px); }
.no-js .reveal, .reduced .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* photos everywhere get soft corners */
.sum-list li img { border-radius: 10px; }
.how-card figure img, .split-media img { border-radius: inherit; }
/* services: brand / sub-group dividers inside a category */
.svc-sub { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 22px 0 2px; font: 600 1.05rem/1 var(--font-display); letter-spacing: -.01em; }
.svc-sub:first-child { margin-top: 0; }
.svc-sub::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.svc-sub svg { width: 22px; height: 22px; color: var(--red-2); }
.svc-sub small { font: 500 12px/1 var(--font); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.pack .rec { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
