/* ==========================================================================
   Apex Auto Works — design system
   Graphite + bone, caliper-orange signal, Archivo display, mono spec labels.
   ========================================================================== */

@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 300 900;
  font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600;
  font-display: swap; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
}

:root {
  --ink: #0c0e11;
  --ink-2: #14171c;
  --ink-3: #1d2128;
  --ink-4: #2a2f38;
  --steel: #9aa3ad;
  --steel-2: #c5cbd2;
  --line-d: rgba(255, 255, 255, 0.1);
  --line-d2: rgba(255, 255, 255, 0.18);

  --bone: #f3f1ec;
  --bone-2: #e7e3da;
  --paper: #fbfaf7;
  --text: #16191e;
  --muted: #555c66;
  --line: rgba(12, 14, 17, 0.12);
  --line-2: rgba(12, 14, 17, 0.22);

  --signal: #ff5a1f;
  --signal-2: #ff7a45;
  --signal-ink: #b23209;
  --ok: #1f9d63;
  --warn: #e0a100;
  --danger: #d6331f;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 68px;
  --bar-h: 0px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgba(12, 14, 17, 0.06), 0 12px 32px -12px rgba(12, 14, 17, 0.25);
}

@media (max-width: 860px) {
  :root { --bar-h: 64px; --header-h: 60px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--bar-h);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; font-stretch: 108%; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--signal); color: var(--ink); }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }
svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.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: 1rem; top: -100px; z-index: 200;
  background: var(--signal); color: var(--ink); padding: 0.7rem 1rem; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: var(--signal); }

.display {
  font-size: clamp(2.5rem, 6.2vw, 5.25rem);
  line-height: 0.96; letter-spacing: -0.03em; font-stretch: 112%; font-weight: 850;
}
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1; letter-spacing: -0.028em; font-stretch: 110%; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.015em; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.on-dark .lead { color: var(--steel-2); }
.accent { color: var(--signal); }
.mono { font-family: var(--f-mono); }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 760px; }
.section-head.split {
  max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 1.5rem 3rem;
}
@media (max-width: 760px) { .section-head.split { grid-template-columns: 1fr; } }

.on-dark { background: var(--ink); color: #fff; }
.on-dark.alt { background: var(--ink-2); }
.on-bone { background: var(--bone); }

/* Micrometer tick rule — the signature divider */
.ticks {
  height: 14px; width: 100%;
  background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 10px) bottom / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 50px) bottom / 100% 14px no-repeat;
  opacity: 0.22;
}

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.8rem 1.35rem;
  border-radius: 999px; border: 1.5px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 700; font-size: 1rem; letter-spacing: -0.005em; font-stretch: 104%;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { --b-bg: var(--signal); --b-fg: var(--ink); --b-bd: var(--signal); box-shadow: 0 10px 30px -12px rgba(255, 90, 31, 0.7); }
.btn-primary:hover { --b-bg: var(--signal-2); --b-bd: var(--signal-2); }
.btn-ghost { --b-bg: transparent; --b-fg: currentColor; --b-bd: var(--line-2); }
.btn-ghost:hover { --b-bd: currentColor; }
.on-dark .btn-ghost, .btn-ghost.light { --b-fg: #fff; --b-bd: var(--line-d2); }
.on-dark .btn-ghost:hover, .btn-ghost.light:hover { --b-bd: #fff; }
.btn-dark { --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink); }
.btn-sm { min-height: 42px; padding: 0.55rem 1rem; font-size: 0.92rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700;
  text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Chips / tags ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--f-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 0.6rem; border-radius: 6px; background: var(--bone-2); color: var(--text);
}
.chip-example { background: rgba(12, 14, 17, 0.78); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chip-example::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.chip-signal { background: var(--signal); color: var(--ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--ink); color: var(--steel); font-size: 0.82rem;
  border-bottom: 1px solid var(--line-d);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar a { color: var(--steel-2); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.25rem; }
.concept-tag {
  font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--steel); border: 1px solid var(--line-d2); border-radius: 4px; padding: 0.15rem 0.45rem;
}
@media (max-width: 860px) { .topbar { display: none; } }

.status { display: inline-flex; align-items: center; gap: 0.45rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--steel); flex: none; }
.status.is-open::before { background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.2); }
.status.is-closed::before { background: var(--signal); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 14, 17, 0.92); color: #fff;
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-d);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #fff; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: 1.22rem; letter-spacing: 0.02em; }
.brand-word span { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.32em; color: var(--steel); margin-top: 4px; }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.8rem; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 0.96rem; color: var(--steel-2);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }
.nav .nav-brake { color: #fff; }
.nav .nav-brake[aria-current="page"]::after { display: none; }
.nav .nav-brake .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.25); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: #fff;
  font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--signal); }

.menu-btn, .call-btn {
  display: none; align-items: center; justify-content: center; gap: 0.4rem;
  height: 44px; min-width: 44px; padding: 0 0.85rem; border-radius: 999px;
  border: 1.5px solid var(--line-d2); background: transparent; color: #fff;
  font-weight: 700; font-size: 0.9rem; cursor: pointer; text-decoration: none;
}
.call-btn { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.menu-btn svg, .call-btn svg { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .header-phone span { display: none; }
}
@media (max-width: 860px) {
  .nav, .header-actions .header-phone, .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; gap: 0.5rem; }
  .menu-btn, .call-btn { display: inline-flex; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-word b { font-size: 1.08rem; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--ink); color: #fff;
  padding: 1.25rem var(--gutter) calc(var(--bar-h) + 1.5rem);
  overflow-y: auto; display: flex; flex-direction: column; gap: 1.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer-title { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--steel); font-size: 0.875rem; }
.drawer-title .btn { min-height: 44px; }
.drawer ul { list-style: none; display: grid; }
.drawer li a {
  display: flex; align-items: center; justify-content: space-between; padding: 1rem 0;
  border-bottom: 1px solid var(--line-d); text-decoration: none;
  font-family: var(--f-display); font-size: 1.6rem; font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em;
}
.drawer li a small { font-family: var(--f-mono); font-size: 0.7rem; color: var(--steel); letter-spacing: 0.12em; font-weight: 500; }
.drawer li a[aria-current="page"] { color: var(--signal); }
.drawer-meta { display: grid; gap: 0.35rem; color: var(--steel-2); font-size: 0.95rem; }
.drawer-meta strong { color: #fff; }
body.nav-open { overflow: hidden; }
.mobile-demo { display: none; }
.no-script-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; padding: 1rem; background: var(--ink-2); color: #fff; }
html:not(.js) .menu-btn { display: none; }
@media (max-width: 860px) {
  .mobile-demo { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.3rem 0.75rem; padding: 0.4rem var(--gutter); background: var(--ink-2); color: var(--steel-2); font-size: 0.75rem; }
  .mobile-demo span { color: var(--steel); }
}

/* Mobile sticky action bar */
.action-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 101;
  height: var(--bar-h); padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(12, 14, 17, 0.96); border-top: 1px solid var(--line-d);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  grid-template-columns: 1fr 1fr 1.35fr; gap: 8px;
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 0.92rem;
  color: #fff; background: var(--ink-3); border: 1px solid var(--line-d);
}
.action-bar a svg { width: 18px; height: 18px; }
.action-bar a.primary { background: var(--signal); color: var(--ink); border-color: var(--signal); }
@media (max-width: 860px) {
  .action-bar { display: grid; height: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff;
  min-height: min(860px, calc(100svh - var(--header-h) - 38px));
  display: flex; align-items: center;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 14, 17, 0.97) 0%, rgba(12, 14, 17, 0.88) 34%, rgba(12, 14, 17, 0.25) 66%, rgba(12, 14, 17, 0.1) 100%),
    linear-gradient(0deg, rgba(12, 14, 17, 0.9) 0%, transparent 30%);
}
.hero .wrap { padding-block: clamp(3.5rem, 8vw, 6rem); }
.hero-copy { max-width: 640px; display: grid; gap: 1.5rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem; justify-self: start;
  padding: 0.45rem 0.8rem 0.45rem 0.5rem; border-radius: 999px;
  background: rgba(255, 90, 31, 0.12); border: 1px solid rgba(255, 90, 31, 0.4);
  font-weight: 700; font-size: 0.9rem; color: #fff;
}
.hero-badge i {
  font-style: normal; background: var(--signal); color: var(--ink); border-radius: 999px;
  font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.1em; padding: 0.2rem 0.5rem; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.7rem, 6.8vw, 5.6rem); line-height: 0.94; letter-spacing: -0.035em; font-stretch: 112%; font-weight: 850; }
.hero h1 .accent { display: block; }
.hero .lead { color: var(--steel-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-points {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; color: var(--steel-2); font-size: 0.95rem;
}
.hero-points li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-points svg { width: 16px; height: 16px; color: var(--signal); }

.spec-card {
  position: absolute; right: var(--gutter); bottom: clamp(1.5rem, 4vw, 3rem); width: 300px;
  background: rgba(20, 23, 28, 0.78); border: 1px solid var(--line-d2); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 1.1rem 1.2rem 1.2rem; display: grid; gap: 0.9rem;
}
.spec-card header { display: flex; justify-content: space-between; align-items: center; }
.spec-card header .chip { white-space: nowrap; color: var(--ink); }
.spec-card header span { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.spec-row { display: grid; gap: 0.35rem; }
.spec-row div { display: flex; justify-content: space-between; font-size: 0.86rem; color: var(--steel-2); }
.spec-row b { font-family: var(--f-mono); font-weight: 600; color: #fff; font-size: 0.82rem; }
.meter { height: 6px; border-radius: 99px; background: var(--ink-4); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--v, 50%); border-radius: inherit; background: linear-gradient(90deg, var(--signal), var(--signal-2)); transform-origin: left; animation: meter 1.4s var(--ease) both 0.4s; }
.meter i.ok { background: linear-gradient(90deg, #2bbf7a, #6fe0a8); }
@keyframes meter { from { transform: scaleX(0); } }
.spec-card small { font-size: 0.72rem; color: var(--steel); }
@media (max-width: 1100px) { .spec-card { display: none; } }

@media (max-width: 860px) {
  .hero { min-height: 0; align-items: flex-end; }
  .hero-media img { object-position: 70% 0%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(12, 14, 17, 0.2) 0%, rgba(12, 14, 17, 0.55) 30%, rgba(12, 14, 17, 0.88) 55%, rgba(12, 14, 17, 0.97) 80%);
  }
  .hero .wrap { padding-top: 3.25rem; padding-bottom: 2.25rem; }
  .hero-copy { gap: 1rem; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.4rem); }
  .hero .lead { font-size: 1.02rem; }
  .hero-ctas { gap: 0.6rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-points { font-size: 0.88rem; gap: 0.4rem 1rem; }
}

/* Trust strip */
.trust { background: var(--ink-2); color: #fff; border-top: 1px solid var(--line-d); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { padding: 1.4rem 1.25rem; border-left: 1px solid var(--line-d); display: grid; gap: 0.2rem; }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust b { font-family: var(--f-display); font-size: 1.5rem; font-stretch: 112%; font-weight: 850; letter-spacing: -0.02em; }
.trust span { font-size: 0.88rem; color: var(--steel); }
@media (max-width: 860px) {
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li { padding: 1.1rem 0.9rem; border-top: 1px solid var(--line-d); }
  .trust li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust li:nth-child(-n+2) { border-top: 0; }
  .trust b { font-size: 1.2rem; }
}

/* ==========================================================================
   Service cards (home)
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.svc-card {
  position: relative; isolation: isolate; overflow: hidden;
  grid-column: span 4; min-height: 320px; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.5rem;
  padding: 1.5rem; text-decoration: none; color: #fff; background: var(--ink);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease); }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 14, 17, 0.05) 20%, rgba(12, 14, 17, 0.92) 100%); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-card:hover img { transform: scale(1.05); }
.svc-card .num { position: absolute; top: 1.2rem; left: 1.4rem; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.75); }
.svc-card h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.svc-card p { color: var(--steel-2); font-size: 0.97rem; max-width: 42ch; }
.svc-card .go {
  position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); border: 1px solid var(--line-d2);
  transition: background 0.25s, transform 0.25s var(--ease);
}
.svc-card .go svg { width: 18px; height: 18px; }
.svc-card:hover .go { background: var(--signal); color: var(--ink); transform: rotate(-45deg); }
.svc-card.feature { grid-column: span 8; grid-row: span 2; min-height: 560px; padding: 2rem; }
.svc-card.feature h3 { font-size: clamp(2rem, 4vw, 3.2rem); }
.svc-card.feature .chip { align-self: flex-start; margin-bottom: 0.4rem; }
.svc-card.feature ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.svc-card.feature li { font-size: 0.82rem; font-weight: 600; padding: 0.35rem 0.7rem; border-radius: 999px; border: 1px solid var(--line-d2); background: rgba(12, 14, 17, 0.45); }
.svc-card.wide { grid-column: span 4; }
.svc-more {
  grid-column: span 12; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.25rem 1.5rem; border-radius: var(--radius); border: 1.5px dashed var(--line-2);
}
.svc-more p { color: var(--muted); }
.svc-more p b { color: var(--text); }

@media (max-width: 960px) {
  .svc-card, .svc-card.wide { grid-column: span 6; min-height: 260px; }
  .svc-card.feature { grid-column: span 12; grid-row: auto; min-height: 460px; }
}
@media (max-width: 560px) {
  .svc-grid { gap: 0.75rem; }
  .svc-card, .svc-card.wide { grid-column: span 12; min-height: 200px; padding: 1.25rem; }
  .svc-card.feature { min-height: 420px; padding: 1.4rem; }
}

/* ==========================================================================
   Brake feature (home)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

.figure { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.figure .chip { position: absolute; top: 1rem; left: 1rem; }
.figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(0deg, rgba(12, 14, 17, 0.9), transparent);
  color: var(--steel-2); font-size: 0.85rem; display: flex; justify-content: space-between; gap: 1rem;
}
.figure figcaption b { color: #fff; }
.fig-labels { position: absolute; inset: auto 0 22% 0; display: flex; justify-content: space-around; pointer-events: none; }
.fig-labels span {
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(12, 14, 17, 0.8); color: #fff; padding: 0.3rem 0.55rem; border-radius: 4px;
}
.fig-labels span:last-child { background: var(--signal); color: var(--ink); }

.signs { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-block: 1.75rem; }
.signs li {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1rem; border-radius: 10px;
  background: var(--ink-3); border: 1px solid var(--line-d); font-weight: 600; font-size: 0.97rem;
}
.signs svg { width: 20px; height: 20px; color: var(--signal); flex: none; }
@media (max-width: 480px) { .signs { grid-template-columns: 1fr; } }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-d); }
.stat-row b { display: block; font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-stretch: 115%; font-weight: 850; letter-spacing: -0.03em; }
.stat-row span { font-size: 0.85rem; color: var(--steel); line-height: 1.4; display: block; }
.on-bone .stat-row, .stat-row.light { border-color: var(--line); }
.on-bone .stat-row span, .stat-row.light span { color: var(--muted); }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.step { position: relative; padding: 1.5rem 1.25rem 1.6rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 0.6rem; align-content: start; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--f-mono); font-size: 0.75rem; font-weight: 600; color: var(--signal-ink); letter-spacing: 0.12em;
}
.step-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--signal); }
.step-ico svg { width: 24px; height: 24px; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Promise grid
   ========================================================================== */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.promise { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.6rem; align-content: start; }
.promise:not(:nth-child(3n+1)) { padding-left: 2rem; border-left: 1px solid var(--line); }
.promise svg { width: 28px; height: 28px; color: var(--signal-ink); }
.promise h3 { font-size: 1.2rem; }
.promise p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) {
  .promises { grid-template-columns: 1fr 1fr; }
  .promise, .promise:not(:nth-child(3n+1)) { padding: 1.5rem 1.25rem 1.5rem 0; border-left: 0; }
  .promise:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .promises { grid-template-columns: 1fr; }
  .promise:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ==========================================================================
   Work cards (home preview + gallery)
   ========================================================================== */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-3); border: 1px solid var(--line-d); color: #fff; text-align: left;
  padding: 0; cursor: pointer; text-decoration: none; width: 100%;
  transition: transform 0.35s var(--ease), border-color 0.25s;
}
.work-card:hover { transform: translateY(-4px); border-color: var(--line-d2); }
.work-card .thumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work-card:hover .thumb img { transform: scale(1.05); }
.work-card .chip { position: absolute; top: 0.8rem; left: 0.8rem; }
.work-card .cat { position: absolute; top: auto; left: auto; bottom: 0.8rem; right: 0.8rem; }
.work-card .body { padding: 1.1rem 1.2rem 1.25rem; display: grid; gap: 0.35rem; align-content: start; }
.work-card .veh { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.work-card h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.work-card p { color: var(--steel-2); font-size: 0.93rem; }
.work-card .meta { display: flex; gap: 1rem; margin-top: 0.45rem; font-size: 0.82rem; color: var(--steel); }
.work-card .meta b { color: #fff; font-weight: 600; }
.work-card.is-hidden { display: none; }
.work-open { all: unset; cursor: pointer; }
.work-open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.work-card:has(.work-open:focus-visible) { outline: 3px solid var(--signal); outline-offset: 3px; }
.work-card .view {
  display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.6rem; font-size: 0.85rem; font-weight: 700; color: var(--signal);
}
.work-card .view svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.work-card:hover .view svg { transform: translateX(3px); }
.job-detail { display: none; }

/* ==========================================================================
   Location band
   ========================================================================== */
.locate { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--ink); }
.locate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.locate::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 14, 17, 0.2) 0%, rgba(12, 14, 17, 0.55) 45%, rgba(12, 14, 17, 0.95) 75%); }
.locate .wrap { display: flex; justify-content: flex-end; padding-block: clamp(4rem, 10vw, 8rem); }
.locate-card { width: min(460px, 100%); display: grid; gap: 1.25rem; }
.locate dl { display: grid; gap: 0.9rem; margin: 0; }
.locate dl div { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line-d); }
.locate dt { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); padding-top: 0.2rem; }
.locate dd { margin: 0; color: var(--steel-2); }
.locate dd a { color: #fff; font-weight: 700; text-decoration: none; }
@media (max-width: 760px) {
  .locate > img { position: relative; height: 240px; z-index: 0; }
  .locate::before { display: none; }
  .locate .wrap { padding-block: 2.5rem 3.5rem; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--signal); color: var(--ink); position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding-block: clamp(3rem, 7vw, 5rem); }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-stretch: 115%; letter-spacing: -0.035em; line-height: 0.98; }
.cta-band p { margin-top: 0.8rem; font-size: 1.08rem; max-width: 52ch; color: rgba(12, 14, 17, 0.8); }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-band .btn-ghost { --b-fg: var(--ink); --b-bd: rgba(12, 14, 17, 0.35); }
.cta-band .btn-ghost:hover { --b-bd: var(--ink); }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 60px solid rgba(12, 14, 17, 0.06); pointer-events: none;
}
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .btn { flex: 1 1 auto; } }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 14, 17, 0.96) 0%, rgba(12, 14, 17, 0.8) 45%, rgba(12, 14, 17, 0.35) 100%); }
.page-hero .wrap { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 4.5rem); display: grid; gap: 1.25rem; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 0.95; letter-spacing: -0.035em; font-stretch: 112%; font-weight: 850; max-width: 16ch; }
.page-hero .lead { color: var(--steel-2); }
.page-hero.plain::before { background: radial-gradient(120% 140% at 100% 0%, rgba(255, 90, 31, 0.18), transparent 50%), var(--ink); }
.crumbs { display: flex; gap: 0.5rem; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.crumbs a { text-decoration: none; color: var(--steel-2); }
.crumbs a:hover { color: #fff; }
.page-hero .hero-ctas { margin-top: 0.5rem; }
@media (max-width: 760px) {
  .page-hero::before { background: linear-gradient(180deg, rgba(12, 14, 17, 0.55), rgba(12, 14, 17, 0.95) 70%); }
  .page-hero .hero-ctas .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Services page
   ========================================================================== */
.subnav {
  position: sticky; top: var(--header-h); z-index: 50; background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.subnav ul { list-style: none; display: flex; gap: 0.35rem; overflow-x: auto; scrollbar-width: none; padding-block: 0.7rem; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; padding: 0.5rem 0.9rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--muted); border: 1px solid transparent;
}
.subnav a:hover { color: var(--text); border-color: var(--line); }
.subnav a.is-active { background: var(--ink); color: #fff; }
.subnav a.hot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.svc-detail[id], .mini[id] { scroll-margin-top: 72px; }

.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); border-bottom: 1px solid var(--line); }
.svc-detail:nth-of-type(even) .figure { order: 2; }
.svc-detail .copy { display: grid; gap: 1.1rem; align-content: start; }
.svc-detail .h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.svc-detail p { color: var(--muted); }
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1.25rem; }
.check-list li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.97rem; }
.check-list svg { width: 18px; height: 18px; flex: none; margin-top: 0.22rem; color: var(--signal-ink); }
.on-dark .check-list svg { color: var(--signal); }
@media (max-width: 520px) { .check-list { grid-template-columns: 1fr; } }
.facts { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.facts div { flex: 1 1 140px; padding: 0.8rem 1rem; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0.15rem 0 0; font-weight: 700; font-size: 1.05rem; }
.svc-detail .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 0.4rem; }
.svc-detail.is-brake { position: relative; }
.svc-detail.is-brake .copy::before {
  content: "Our specialty"; justify-self: start; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--signal); color: var(--ink); padding: 0.3rem 0.55rem; border-radius: 5px; font-weight: 600;
}
@media (max-width: 900px) {
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail:nth-of-type(even) .figure { order: 0; }
}

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mini {
  display: grid; gap: 0.7rem; align-content: start; padding: 1.5rem; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 80px);
}
.mini .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--signal); display: grid; place-items: center; }
.mini .ico svg { width: 22px; height: 22px; }
.mini img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.mini h3 { font-size: 1.25rem; }
.mini p { color: var(--muted); font-size: 0.96rem; }
.mini .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 0.3rem; padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 0.9rem; }
.mini .foot b { font-family: var(--f-mono); font-size: 0.82rem; }
.mini .foot a { font-weight: 700; color: var(--signal-ink); text-decoration: none; }
.mini .foot a:hover { text-decoration: underline; }
@media (max-width: 960px) { .mini-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mini-grid { grid-template-columns: 1fr; } }

.note { font-size: 0.85rem; color: var(--muted); display: flex; gap: 0.5rem; align-items: flex-start; }
.note svg { width: 16px; height: 16px; flex: none; margin-top: 0.2rem; }
.on-dark .note { color: var(--steel); }

/* ==========================================================================
   Brake page
   ========================================================================== */
.brake-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: end; }
.brake-hero-grid .quick {
  display: grid; gap: 0.75rem; padding: 1.25rem; border-radius: var(--radius);
  background: rgba(20, 23, 28, 0.75); border: 1px solid var(--line-d2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.quick h2 { font-size: 1.05rem; font-stretch: 100%; letter-spacing: 0; }
.quick ul { list-style: none; display: grid; gap: 0.55rem; }
.quick li { display: flex; gap: 0.6rem; align-items: center; color: var(--steel-2); font-size: 0.95rem; }
.quick li svg { width: 18px; height: 18px; color: var(--signal); flex: none; }
@media (max-width: 900px) { .brake-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Symptom checker */
.checker { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.symptoms { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.symptom {
  display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border-radius: 12px; cursor: pointer;
  background: var(--ink-3); border: 1.5px solid var(--line-d); color: #fff; text-align: left; font-weight: 650; font-size: 0.98rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.symptom:hover { border-color: var(--line-d2); }
.symptom[aria-pressed="true"] { border-color: var(--signal); background: rgba(255, 90, 31, 0.12); }
.symptom .box { width: 22px; height: 22px; flex: none; border-radius: 6px; border: 1.5px solid var(--line-d2); display: grid; place-items: center; transition: background 0.2s, border-color 0.2s; }
.symptom .box svg { width: 14px; height: 14px; color: var(--ink); opacity: 0; transition: opacity 0.15s; }
.symptom[aria-pressed="true"] .box { background: var(--signal); border-color: var(--signal); }
.symptom[aria-pressed="true"] .box svg { opacity: 1; }
.symptom small { display: block; font-weight: 500; color: var(--steel); font-size: 0.82rem; margin-top: 0.1rem; }
@media (max-width: 900px) { .checker { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .symptoms { grid-template-columns: 1fr; } }

.verdict {
  position: sticky; top: calc(var(--header-h) + 20px);
  display: grid; gap: 1rem; padding: 1.6rem; border-radius: var(--radius);
  background: var(--paper); color: var(--text); min-height: 100%;
}
.verdict .gauge { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.verdict .gauge i { height: 8px; border-radius: 99px; background: var(--bone-2); transition: background 0.3s; }
.verdict[data-level="1"] .gauge i:nth-child(-n+1) { background: var(--ok); }
.verdict[data-level="2"] .gauge i:nth-child(-n+2) { background: var(--warn); }
.verdict[data-level="3"] .gauge i { background: var(--danger); }
.verdict .lvl { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.verdict h3 { font-size: 1.6rem; }
.verdict p { color: var(--muted); }
.verdict .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.verdict .btn-ghost { --b-fg: var(--text); --b-bd: var(--line-2); }
.verdict .btn-ghost:hover { --b-bd: var(--text); }
.verdict .disclaimer { font-size: 0.8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 0.8rem; }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.pkg { display: grid; grid-template-rows: auto auto 1fr auto; gap: 1rem; padding: 1.75rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.pkg .tier { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.pkg h3 { font-size: 1.55rem; }
.pkg .price { display: flex; align-items: baseline; gap: 0.4rem; }
.pkg .price b { font-family: var(--f-display); font-size: 2.6rem; font-weight: 850; font-stretch: 115%; letter-spacing: -0.03em; line-height: 1; }
.pkg .price span { color: var(--muted); font-size: 0.9rem; }
.pkg ul { list-style: none; display: grid; gap: 0.55rem; align-content: start; }
.pkg li { display: flex; gap: 0.55rem; font-size: 0.96rem; }
.pkg li svg { width: 18px; height: 18px; flex: none; margin-top: 0.2rem; color: var(--signal-ink); }
.pkg.best { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow); }
.pkg.best .tier { color: var(--signal); }
.pkg.best .price span { color: var(--steel); }
.pkg.best li svg { color: var(--signal); }
@media (max-width: 960px) { .packages { grid-template-columns: 1fr; } }

/* Measured spec table */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.95rem 0.5rem; border-bottom: 1px solid var(--line-d); vertical-align: top; }
.spec-table th { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); font-weight: 500; }
.spec-table td:first-child { font-weight: 700; }
.spec-table td { color: var(--steel-2); }
.spec-table .pill { display: inline-block; font-family: var(--f-mono); font-size: 0.72rem; padding: 0.2rem 0.5rem; border-radius: 4px; background: var(--ink-4); color: #fff; white-space: nowrap; }
.spec-table .pill.red { background: var(--signal); color: var(--ink); }
@media (max-width: 640px) {
  .spec-table thead { display: none; }
  .spec-table tr { display: grid; gap: 0.25rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line-d); }
  .spec-table td { border: 0; padding: 0; }
}

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem 0; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; transition: transform 0.25s var(--ease), background 0.2s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.25s var(--ease); }
.faq details[open] .pm { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details > div { padding: 0 3rem 1.4rem 0; color: var(--muted); max-width: 70ch; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.filter {
  padding: 0.6rem 1rem; border-radius: 999px; border: 1.5px solid var(--line-d2); background: transparent; color: var(--steel-2);
  font-weight: 650; font-size: 0.93rem; cursor: pointer; display: inline-flex; gap: 0.45rem; align-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter span { font-family: var(--f-mono); font-size: 0.72rem; color: var(--steel); }
.filter:hover { color: #fff; border-color: #fff; }
.filter[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.filter[aria-pressed="true"] span { color: var(--muted); }
.gallery-note {
  display: flex; gap: 0.75rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: 12px; margin-bottom: 2rem;
  background: var(--ink-3); border: 1px dashed var(--line-d2); color: var(--steel-2); font-size: 0.93rem;
}
.gallery-note svg { width: 20px; height: 20px; flex: none; color: var(--signal); margin-top: 0.1rem; }
.result-count { font-family: var(--f-mono); font-size: 0.75rem; color: var(--steel); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }

/* Lightbox */
.lightbox {
  width: min(1100px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 18px;
  background: var(--ink-2); color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(5, 6, 8, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox[open] { animation: pop 0.3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.lb-inner { display: grid; grid-template-columns: 1.4fr 1fr; max-height: calc(100dvh - 2rem); }
.lb-media { position: relative; background: #000; min-height: 280px; }
.lb-media img { width: 100%; height: 100%; object-fit: cover; }
.lb-media { aspect-ratio: 4 / 3; align-self: start; }
body:has(.lightbox[open]) { overflow: hidden; }
.lb-media .chip { position: absolute; top: 1rem; left: 1rem; }
.lb-body { padding: 2rem 1.75rem 1.5rem; display: grid; gap: 1.1rem; align-content: start; overflow-y: auto; }
.lb-body .veh { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.lb-body h2 { font-size: 1.8rem; }
.lb-body dl { display: grid; gap: 0.9rem; margin: 0; }
.lb-body dt { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); }
.lb-body dd { margin: 0.2rem 0 0; color: var(--steel-2); font-size: 0.97rem; }
.lb-body .lb-meta { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line-d); font-size: 0.88rem; color: var(--steel); }
.lb-body .lb-meta b { color: #fff; display: block; font-size: 1rem; }
.lb-close, .lb-nav {
  position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-d2); background: rgba(12, 14, 17, 0.7); color: #fff;
}
.lb-close { top: 0.9rem; right: 0.9rem; }
.lb-close svg, .lb-nav svg { width: 20px; height: 20px; }
.lb-navs { position: absolute; bottom: 1rem; right: 1rem; display: flex; gap: 0.5rem; }
.lb-nav { position: static; }
.lb-close:hover, .lb-nav:hover { background: var(--signal); color: var(--ink); border-color: var(--signal); }
@media (max-width: 800px) {
  .lb-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .lb-media { aspect-ratio: 4 / 3; min-height: 0; }
  .lb-body { overflow: visible; padding: 1.4rem 1.25rem 1.5rem; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.c-card { display: grid; gap: 0.6rem; align-content: start; padding: 1.5rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.c-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--signal); display: grid; place-items: center; }
.c-card .ico svg { width: 22px; height: 22px; }
.c-card h2 { font-size: 1.05rem; font-stretch: 100%; letter-spacing: 0; font-family: var(--f-mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-size: 0.75rem; }
.c-card .big { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; font-stretch: 108%; letter-spacing: -0.02em; text-decoration: none; line-height: 1.15; }
.c-card a.big:hover { color: var(--signal-ink); }
.c-card p { color: var(--muted); font-size: 0.95rem; }
.c-card.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.c-card.primary h2, .c-card.primary p { color: var(--steel); }
.c-card.primary .ico { background: var(--signal); color: var(--ink); }
.c-card.primary a.big:hover { color: var(--signal); }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.hours tr.is-today td { color: var(--signal-ink); font-weight: 800; }
.hours tr.is-today td:first-child::after { content: " · today"; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em; font-weight: 500; }

.area { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.area > *, .contact-cards > * { min-width: 0; }
@media (max-width: 960px) { .area { grid-template-columns: 1fr; } }
.map {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-d);
  aspect-ratio: 1 / 0.86;
}
.map svg { width: 100%; height: 100%; }
.map .map-label { position: absolute; left: 1rem; bottom: 1rem; }
.map text { font-family: var(--f-mono); }
.map .town { cursor: default; }
.map .town circle { transition: r 0.2s, fill 0.2s; }
.map .town.is-hit circle { fill: var(--signal); }
.map .town.is-hit text { fill: #fff; }

.area-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; margin-block: 1.25rem; }
.area-list li { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line-d); color: var(--steel-2); font-size: 0.97rem; }
.area-list li span { font-family: var(--f-mono); font-size: 0.75rem; color: var(--steel); }
@media (max-width: 480px) { .area-list { grid-template-columns: 1fr; } }

.area-check { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.6rem; padding: 1.25rem; border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--line-d); }
.area-check label { font-weight: 700; }
.area-check .row { display: flex; gap: 0.5rem; }
.area-check input {
  flex: 1; min-width: 0; min-height: 50px; padding: 0.7rem 1rem; border-radius: 10px; border: 1.5px solid var(--line-d2);
  background: var(--ink-2); color: #fff;
}
.area-check input::placeholder { color: var(--steel); }
.area-check input:focus { outline: none; border-color: var(--signal); }
.area-result { font-size: 0.95rem; color: var(--steel-2); min-height: 1.5em; }
.area-result.ok { color: #6fe0a8; }
.area-result.no { color: var(--signal-2); }

/* ==========================================================================
   Estimate form
   ========================================================================== */
.est-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 1000px) { .est-layout { grid-template-columns: 1fr; } }
.est-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1rem; }
@media (max-width: 1000px) { .est-aside { position: static; } }
.aside-card { padding: 1.5rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 0.8rem; }
.aside-card.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.aside-card h2 { font-size: 1.2rem; font-stretch: 104%; letter-spacing: -0.01em; }
.aside-card ol { list-style: none; counter-reset: n; display: grid; gap: 0.8rem; }
.aside-card ol li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; gap: 0.6rem; font-size: 0.95rem; color: var(--muted); }
.aside-card ol li::before { content: counter(n); width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--signal); display: grid; place-items: center; font-family: var(--f-mono); font-size: 0.75rem; font-weight: 600; }
.aside-card ol li b { color: var(--text); display: block; }
.aside-card.dark p { color: var(--steel); font-size: 0.95rem; }
.aside-card .phone-big { font-family: var(--f-display); font-size: 1.7rem; font-weight: 850; font-stretch: 112%; letter-spacing: -0.02em; text-decoration: none; color: #fff; }
.aside-card .phone-big:hover { color: var(--signal); }

.form { display: grid; gap: 1.5rem; }
.demo-fields { display: grid; gap: 1.5rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.demo-notice { padding: 1rem 1.25rem; border-left: 3px solid var(--signal); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text); font-size: 1rem; }
.demo-notice strong { display: block; }
.demo-fill { justify-self: start; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); margin: 0; background: var(--paper); display: grid; gap: 1.25rem; min-width: 0; }
.fieldset legend { padding: 0; float: left; width: 100%; display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.25rem; }
.fieldset legend + * { clear: both; }
.fieldset legend .n { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 600; color: var(--signal-ink); letter-spacing: 0.1em; }
.fieldset legend .t { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; font-stretch: 108%; letter-spacing: -0.02em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.grid-3 { display: grid; grid-template-columns: 0.7fr 1fr 1fr; gap: 1rem 1.1rem; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.field { display: grid; gap: 0.4rem; align-content: start; min-width: 0; }
.field label, .field .label { font-weight: 700; font-size: 0.95rem; }
.field label .opt, .field .label .opt { font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.input {
  width: 100%; min-height: 52px; padding: 0.75rem 0.95rem; border-radius: 10px;
  border: 1.5px solid var(--line-2); background: #fff; color: var(--text); font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none; appearance: none;
}
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2316191e' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
textarea.input { min-height: 130px; resize: vertical; line-height: 1.5; }
.input:hover { border-color: rgba(12, 14, 17, 0.4); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.25); }
.field.has-error .input { border-color: var(--danger); background: #fff8f6; }
.field .error { display: none; align-items: center; gap: 0.4rem; color: var(--danger); font-size: 0.87rem; font-weight: 600; }
.field .error svg { width: 15px; height: 15px; flex: none; }
.field.has-error .error { display: flex; }
.field.is-valid .input { border-color: rgba(31, 157, 99, 0.6); }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
@media (max-width: 760px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 0.6rem; min-height: 54px; padding: 0.7rem 0.85rem; border-radius: 10px;
  border: 1.5px solid var(--line-2); background: #fff; font-weight: 650; font-size: 0.95rem; line-height: 1.25;
  transition: border-color 0.15s, background 0.15s;
}
.choice span::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 6px; border: 1.5px solid var(--line-2); background: #fff center / 12px no-repeat;
  transition: background-color 0.15s, border-color 0.15s;
}
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice input:hover + span { border-color: rgba(12, 14, 17, 0.45); }
.choice input:checked + span { border-color: var(--ink); background: var(--bone); }
.choice input:checked + span::before {
  background-color: var(--signal); border-color: var(--signal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke='%230c0e11' stroke-width='3.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.choice input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.choice.hot span { border-style: solid; }
.choice.hot span em { font-style: normal; margin-left: auto; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--signal); color: var(--ink); padding: 0.15rem 0.35rem; border-radius: 4px; }
.field.has-error .choice span { border-color: rgba(214, 51, 31, 0.6); }

.choice-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice-row .choice span { min-height: 46px; padding: 0.5rem 0.9rem; border-radius: 999px; }
.choice-row .choice span::before { width: 16px; height: 16px; background-size: 10px; }

.brake-followup {
  display: none; gap: 0.7rem; padding: 1.1rem; border-radius: 12px; background: var(--bone); border: 1px solid var(--line);
}
.brake-followup.is-visible { display: grid; animation: fadeIn 0.3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } }
.brake-followup .label { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.brake-followup .label svg { width: 18px; height: 18px; color: var(--signal-ink); }

.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.95rem; }
.consent input { width: 22px; height: 22px; margin: 0.1rem 0 0; accent-color: var(--signal); flex: none; }
.field.has-error .consent { color: var(--danger); }

.error-summary {
  display: none; padding: 1.1rem 1.25rem; border-radius: 12px; background: #fff3f0; border: 1.5px solid var(--danger); color: var(--text);
}
.error-summary.is-visible { display: grid; gap: 0.5rem; }
.error-summary h2 { font-size: 1.05rem; font-stretch: 100%; letter-spacing: 0; color: var(--danger); display: flex; gap: 0.5rem; align-items: center; }
.error-summary h2 svg { width: 20px; height: 20px; }
.error-summary ul { padding-left: 1.2rem; display: grid; gap: 0.2rem; }
.error-summary a { color: var(--danger); font-weight: 600; }

.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.form-foot .note { max-width: 46ch; }
.counter { font-family: var(--f-mono); font-size: 0.75rem; color: var(--muted); text-align: right; }

.confirm { display: none; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.confirm.is-visible { display: block; animation: fadeIn 0.4s var(--ease); }
.confirm-head { background: var(--ink); color: #fff; padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 0.9rem; position: relative; overflow: hidden; }
.confirm-head::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(255, 90, 31, 0.14); }
.confirm-check { width: 56px; height: 56px; border-radius: 50%; background: var(--signal); color: var(--ink); display: grid; place-items: center; }
.confirm-check svg { width: 28px; height: 28px; }
.confirm-check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.5s 0.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-stretch: 112%; }
.confirm-head p { color: var(--steel-2); max-width: 56ch; }
.demo-flag {
  display: inline-flex; align-items: center; gap: 0.5rem; justify-self: start;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line-d2); border-radius: 6px; padding: 0.35rem 0.6rem; color: var(--steel-2);
}
.demo-flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }
.confirm-body { padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.5rem; }
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0; }
.summary div { padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); }
.summary div:nth-child(odd) { border-right: 1px solid var(--line); }
.summary div.full { grid-column: 1 / -1; border-right: 0; }
.summary dt { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.summary dd { margin: 0.2rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 560px) { .summary { grid-template-columns: 1fr; } .summary div:nth-child(odd) { border-right: 0; } }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--steel-2); padding-top: clamp(3.5rem, 7vw, 5rem); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-grid h2 { font-family: var(--f-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 1rem; font-stretch: 100%; }
.footer-grid ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-grid a { text-decoration: none; color: var(--steel-2); }
.footer-grid a:hover { color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; color: var(--steel); }
.footer-phone { display: inline-block; margin-top: 1.25rem; font-family: var(--f-display); font-weight: 850; font-stretch: 112%; font-size: 1.6rem; color: #fff !important; letter-spacing: -0.02em; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; font-variant-numeric: tabular-nums; }
.footer-bottom {
  border-top: 1px solid var(--line-d); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--steel);
}
.footer-bottom .concept-tag { color: var(--steel-2); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ==========================================================================
   Reveal
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.08s; }
.js .reveal-d2 { transition-delay: 0.16s; }
.js .reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; }
}
