/* Repuestos Demo — editorial parts counter.
   Self-hosted OFL fonts, warm paper, deep green, one burnt-orange accent. */

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-normal-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-normal-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic-ext.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-ext.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500-ext.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bone: #f2eee3;
  --surface: #faf7ef;
  --ink: #17251f;
  --ink-soft: #33463d;
  --green: #143a2e;
  --green-deep: #0d2a21;
  --muted: #58665f;
  --line: #d7d0c0;
  --accent: #c25a20;
  --accent-deep: #984214;
  --accent-light: #f0a072;
  --tint: #e8ece1;
  --on-dark: #f4f0e4;
  --on-dark-muted: #b9c7bd;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --shell: 1440px;
  --gut: clamp(20px, 4.2vw, 64px);
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 18px);
}
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--green); color: var(--on-dark); }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.workshop :focus-visible { outline-color: var(--on-dark); }

.skip {
  position: fixed; left: 12px; top: -100px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: var(--surface);
  font-size: 13px; transition: top .15s;
}
.skip:focus { top: 12px; }

/* ---------- shared type ---------- */
.display, h1, h2 {
  font-family: var(--serif); font-weight: 400; line-height: .98;
  letter-spacing: -.012em;
}
h1 em, h2 em { font-style: italic; color: var(--accent); }
.step, .eyebrow, .field__label, .note--tiny, .footer__nav > span, .footer__meta > span, .slip__labels, .slip__top, .dialog__top, .cat__index, .parts__head, .parts-head__count, .status {
  font-family: var(--mono); text-transform: uppercase;
}
.step {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .14em; color: var(--muted);
}
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .15em; color: var(--ink-soft);
  margin-bottom: 26px;
}
.eyebrow__rule { width: 34px; height: 1px; background: var(--accent); flex: none; }
.eyebrow--light { color: var(--on-dark-muted); }
.eyebrow--light .eyebrow__rule { background: var(--accent-light); }
.note { font-size: 11px; line-height: 1.7; color: var(--muted); }
.note--tiny { font-size: 10px; letter-spacing: .02em; line-height: 1.6; text-transform: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 26px; min-height: 50px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 2px;
  font-size: 13px; font-weight: 600; letter-spacing: .005em;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green); border-color: var(--green); color: var(--on-dark); }
.btn--primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--on-dark); }
.btn--ghost { background: transparent; border-color: rgba(244, 240, 228, .42); color: var(--on-dark); }
.btn--ghost:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--green); }
.btn span { font-size: 15px; line-height: 1; }

/* ---------- demo bar + header ---------- */
.demo-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px var(--gut);
  background: var(--green); color: var(--on-dark);
  font-family: var(--mono); font-size: 9px; letter-spacing: .11em; text-transform: uppercase;
}
.demo-bar span:last-child { color: var(--on-dark-muted); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(242, 238, 227, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  background: rgba(250, 247, 239, .96);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(23, 37, 31, .055);
}
.site-header__in {
  width: min(var(--shell), 100%); height: var(--header);
  margin: 0 auto; padding: 0 var(--gut);
  display: flex; align-items: center; gap: 40px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--green); color: var(--on-dark);
  font-family: var(--serif); font-size: 15px; letter-spacing: -.04em;
}
.brand__type { display: flex; flex-direction: column; gap: 4px; }
.brand__type strong { font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.brand__type small {
  font-family: var(--mono); font-size: 8px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); line-height: 1;
}
.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.site-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13px; font-weight: 500;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px;
  height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.list-button {
  display: inline-flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 5px 0 15px; margin-left: 4px;
  background: transparent; border: 1px solid var(--ink); border-radius: 2px;
  font-size: 12px; font-weight: 600; transition: background-color .18s, color .18s;
}
.list-button:hover { background: var(--ink); color: var(--surface); }
.list-button__label { white-space: nowrap; }
.list-button__count {
  display: grid; place-items: center; width: 28px; height: 30px;
  background: var(--green); color: var(--on-dark);
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  transition: background-color .18s, color .18s;
}
.list-button:hover .list-button__count { background: var(--surface); color: var(--ink); }

/* ---------- hero ---------- */
.hero__in {
  width: min(var(--shell), 100%); margin: 0 auto;
  padding: clamp(18px, 2.2vw, 30px) var(--gut) clamp(22px, 2vw, 26px);
}
.hero__meta {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 6px 24px;
  padding-bottom: 13px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.hero__meta span:last-child { color: var(--ink-soft); }
.hero__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 26px); row-gap: 28px; align-items: stretch;
  margin-top: clamp(24px, 3vw, 40px);
}
.hero__lead { grid-column: 1 / span 8; display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 {
  grid-column: auto;
  font-size: clamp(54px, 7.6vw, 116px); line-height: .94; letter-spacing: -.024em;
}
.hero__lede { max-width: 40ch; margin-top: clamp(20px, 2.2vw, 30px); font-size: 16px; line-height: 1.64; color: var(--ink-soft); }
.hero__note {
  max-width: 52ch; margin-top: 20px;
  font-size: 12.5px; line-height: 1.62; color: var(--muted);
}
.hero__note-tag {
  font-family: var(--mono); font-size: 9px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft);
}
.hero__foot {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: clamp(16px, 1.7vw, 22px); width: 100%;
  margin-top: auto; padding-top: clamp(28px, 3vw, 44px);
}
.hero__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  padding-bottom: 4px; border-bottom: 1px solid var(--ink);
  font-size: 12.5px; font-weight: 600;
  transition: color .18s, border-color .18s;
}
.hero__link::after { content: ""; position: absolute; inset: -11px -8px -13px; }
.hero__link span { font-size: 12px; transition: transform .18s; }
.hero__link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }
.hero__link:hover span { transform: translateY(3px); }

/* ---------- hero plate (catalogue figure) ---------- */
.plate {
  grid-column: 9 / -1;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
}
.plate__top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.plate__ref { color: var(--ink); }
.plate__art {
  flex: 1; display: grid; place-items: center;
}
.plate__photo { position: relative; display: block; width: 100%; }
.plate__photo img { width: 100%; height: auto; }
.plate__stamp {
  position: absolute; left: 12px; bottom: 12px;
  padding: 4px 8px 3px; border: 1px solid rgba(23, 37, 31, .18);
  background: rgba(250, 247, 239, .9);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  font-family: var(--mono); font-size: 8px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); line-height: 1.4;
}
.plate__note {
  padding: 9px 14px 8px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 8px; line-height: 1.5;
  letter-spacing: .04em; color: var(--muted);
}
.plate__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.plate__specs > div { min-width: 0; padding: 11px 14px 13px; border-left: 1px solid var(--line); }
.plate__specs > div:first-child { border-left: 0; }
.plate__specs dt { font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plate__specs dd { margin: 5px 0 0; font-family: var(--serif); font-size: 18px; line-height: 1.05; letter-spacing: -.01em; }

/* ---------- hero band: figures + systems index ---------- */
.hero__band { background: var(--green); color: var(--on-dark); }
.hero__band-in { width: min(var(--shell), 100%); margin: 0 auto; padding: 0 var(--gut); }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%;
  margin: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hero__stats > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 13px 14px 15px 0; }
.hero__stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--serif); font-size: clamp(26px, 2.3vw, 33px); line-height: 1; letter-spacing: -.02em; }
.stat__label {
  font-family: var(--mono); font-size: 8px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.hero__index-list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: rgba(244, 240, 228, .2);
}
.hero__index-list li { display: flex; }
.hero__index-list a {
  display: flex; flex-direction: column; gap: 11px; width: 100%;
  min-height: 112px; padding: 16px 22px 18px;
  background: var(--green); color: var(--on-dark);
  transition: background-color .2s ease, color .2s ease;
}
.hero__index-list a:hover { background: var(--on-dark); color: var(--green-deep); }
.idx-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.idx-num, .idx-arrow, .idx-count {
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-dark-muted);
}
.idx-arrow { opacity: 0; transform: translate(-3px, 3px); transition: opacity .2s, transform .2s, color .2s; }
.idx-name { font-family: var(--serif); font-size: clamp(24px, 2.15vw, 32px); line-height: 1; }
.idx-count { margin-top: auto; }
.hero__index-list a:hover .idx-num,
.hero__index-list a:hover .idx-count,
.hero__index-list a:hover .idx-arrow { color: var(--green); }
.hero__index-list a:hover .idx-arrow { opacity: 1; transform: none; }
.hero__index-list a:focus-visible { outline: 2px solid currentColor; outline-offset: -5px; }

/* ---------- vehicle ---------- */
.vehicle {
  width: min(var(--shell), 100%); margin: 0 auto;
  padding: 0 var(--gut);
}
.vehicle__grid {
  display: grid; grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(36px, 4.6vw, 60px);
  padding-block: clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
}
.vehicle__head h2 { font-size: clamp(28px, 2.9vw, 40px); margin-top: 16px; }
.vehicle__fields {
  display: grid; grid-template-columns: 1fr .78fr auto;
  gap: 16px; align-items: end;
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field--brands { grid-column: 1 / -1; }
.field__label {
  display: flex; align-items: baseline; gap: 7px;
  margin-bottom: 8px; font-size: 9px; letter-spacing: .13em; color: var(--muted);
}
.field__label em {
  font-style: normal; font-size: 8.5px; letter-spacing: .06em; text-transform: none;
  color: var(--muted); opacity: .8;
}
.brands { display: flex; border: 1px solid var(--line); background: var(--surface); }
.brands button {
  flex: 1; min-height: 48px; padding: 0 12px;
  background: transparent; border: 0; border-right: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink);
  transition: background-color .18s, color .18s;
}
.brands button:last-child { border-right: 0; }
.brands button:hover { background: var(--tint); }
.brands button[aria-pressed="true"] { background: var(--green); color: var(--on-dark); }
.brands button[aria-pressed="true"]:hover { background: var(--green-deep); color: var(--on-dark); }
.select { position: relative; display: block; }
.select::after {
  content: ""; position: absolute; right: 14px; top: 50%;
  width: 7px; height: 7px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.select select, .field--custom input, .slip__fields input, .slip__fields select, .slip__fields textarea {
  width: 100%; min-height: 48px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 2px;
  font-size: 14px; color: var(--ink);
  transition: border-color .18s, background-color .18s;
}
.select select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; }
.select select:hover, .field--custom input:hover, .slip__fields input:hover,
.slip__fields select:hover, .slip__fields textarea:hover { border-color: var(--muted); }
.select select:focus, .field--custom input:focus, .slip__fields input:focus,
.slip__fields select:focus, .slip__fields textarea:focus { border-color: var(--ink); outline: none; }
.select select:focus-visible, .field--custom input:focus-visible, .slip__fields input:focus-visible,
.slip__fields select:focus-visible, .slip__fields textarea:focus-visible, .slip__custom input:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.vehicle__cta { min-height: 48px; white-space: nowrap; }
.vehicle__foot {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px 26px;
  margin-top: 18px;
}
.vehicle__summary { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }
.vehicle__summary::before { content: ""; width: 6px; height: 6px; background: var(--green); flex: none; }
.shortcuts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.shortcuts__label {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-right: 2px;
}
.shortcuts button {
  min-height: 44px; padding: 0 13px;
  background: transparent; border: 1px solid var(--line); border-radius: 2px;
  font-size: 11.5px; color: var(--ink-soft);
  transition: border-color .18s, background-color .18s, color .18s;
}
.shortcuts button:hover { border-color: var(--ink); color: var(--ink); }
.shortcuts button[aria-pressed="true"] { border-color: var(--green); background: var(--tint); color: var(--green); font-weight: 600; }
.vehicle .note { margin-top: 12px; max-width: 620px; }
.field--custom { max-width: 320px; margin-top: 16px; }


/* ---------- catalog ---------- */
.catalog {
  width: min(var(--shell), 100%); margin: 0 auto;
  padding: clamp(52px, 6.6vw, 92px) var(--gut) clamp(56px, 7vw, 100px);
}
.section-head > .step { margin-bottom: 20px; }
.section-head__row {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
  gap: clamp(28px, 5vw, 72px); align-items: end;
  padding-bottom: 30px; border-bottom: 1px solid var(--line);
}
.section-head h2 { font-size: clamp(38px, 4.4vw, 62px); }
.section-head__row > p {
  justify-self: end; max-width: 360px; padding-bottom: 5px;
  font-size: 13.5px; line-height: 1.7; color: var(--muted);
}
.catalog__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 372px;
  gap: clamp(32px, 4vw, 56px); align-items: start;
  margin-top: 34px;
}
.catalog__main { min-width: 0; }

.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cat {
  display: flex; flex-direction: column; padding: 0; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: 2px;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cat:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23, 37, 31, .06); }
.cat[aria-pressed="true"] { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.cat__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #fff; }
.cat__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .45s ease; }
.cat:hover .cat__media img { transform: scale(1.035); }
.cat__index {
  position: absolute; left: 9px; top: 9px; z-index: 1;
  display: grid; place-items: center; width: 24px; height: 24px;
  background: rgba(250, 247, 239, .94); color: var(--muted);
  font-size: 9px; letter-spacing: .04em;
}
.cat[aria-pressed="true"] .cat__index { color: var(--accent-deep); font-weight: 500; }
.cat__cap {
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px;
  padding: 11px 12px 12px; border-top: 1px solid var(--line); background: var(--surface);
}
.cat__cap strong { font-size: 15.5px; font-weight: 600; letter-spacing: -.012em; }
.cat__cap small { font-family: var(--mono); font-size: 9px; color: var(--muted); white-space: nowrap; }
.cat[aria-pressed="true"] .cat__cap { background: var(--green); border-color: var(--green); color: var(--on-dark); }
.cat[aria-pressed="true"] .cat__cap small { color: var(--on-dark-muted); }

.parts-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-top: 34px; padding-bottom: 13px; border-bottom: 1px solid var(--ink);
}
.parts-head h3 { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 38px); font-weight: 400; line-height: 1; margin-top: 10px; }
.parts-head__count { font-size: 9px; letter-spacing: .1em; color: var(--muted); padding-bottom: 4px; }

.parts__head, .part {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) 86px 112px;
  gap: 16px; align-items: center;
}
.parts__head {
  padding: 11px 0 9px; border-bottom: 1px solid var(--line);
  font-size: 9.5px; letter-spacing: .12em; color: var(--muted);
}
.parts__head span:last-child { text-align: right; }
.part {
  position: relative; padding: 15px 0; border-bottom: 1px solid var(--line);
  transition: background-color .16s, border-color .16s;
}
.part:hover { background: var(--surface); border-bottom-color: var(--muted); }
.part.is-selected { background: var(--tint); }
.part__index { font-family: var(--mono); font-size: 9.5px; color: var(--muted); }
.part.is-selected .part__index { color: var(--accent-deep); font-weight: 500; }
.part__info { min-width: 0; }
.part__info h4 { font-size: 15px; font-weight: 600; line-height: 1.25; margin-bottom: 2px; }
.part__info p { font-size: 12px; line-height: 1.45; color: var(--muted); }
.part__ref { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .02em; }
.add-part {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 2px;
  font-size: 11.5px; font-weight: 600; color: var(--ink);
  transition: background-color .18s, border-color .18s, color .18s;
}
.add-part:hover { border-color: var(--ink); background: var(--bone); }
.add-part[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--on-dark); }
.add-part[aria-pressed="true"]:hover { background: var(--green-deep); border-color: var(--green-deep); }
.add-part span { font-size: 13px; line-height: 1; }
.status { min-height: 20px; margin-top: 10px; font-size: 9.5px; letter-spacing: .06em; color: var(--muted); text-transform: none; }
.status:not(:empty)::before { content: "→ "; color: var(--green); }
.catalog__main > .note { margin-top: 8px; max-width: 520px; }
.noscript { margin-top: 16px; font-size: 12px; color: var(--muted); }

/* ---------- enquiry slip ---------- */
.slip {
  position: sticky; top: calc(var(--header) + 18px);
  max-height: calc(100svh - var(--header) - 36px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border: 1px solid var(--ink); border-radius: 2px;
  padding: 16px 18px 18px;
  box-shadow: 7px 7px 0 rgba(23, 37, 31, .07);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.slip__top {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 9px; border-bottom: 1px dashed var(--line);
  font-size: 9px; letter-spacing: .12em; color: var(--muted);
}
.slip__number { margin-left: auto; }
.slip__stamp {
  transform: rotate(-3.5deg);
  padding: 3px 6px; border: 1px solid var(--accent-deep); color: var(--accent-deep);
  font-size: 8px; letter-spacing: .16em; line-height: 1; opacity: .92;
}
.slip__close {
  display: none; width: 44px; height: 44px; margin: -10px -10px -10px 0;
  background: transparent; border: 0; font-size: 26px; line-height: 1; color: var(--ink);
}
.slip__head { padding: 15px 0 0; }
.slip__head h3 { font-family: var(--serif); font-size: 31px; font-weight: 400; line-height: 1; letter-spacing: -.01em; margin-top: 7px; }
.slip__vehicle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 12px; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.slip__vehicle span { font-size: 12.5px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.slip__vehicle a {
  display: inline-flex; align-items: center; min-height: 44px; flex: none;
  font-size: 10.5px; text-decoration: underline; text-underline-offset: 4px; color: var(--ink-soft);
}
.slip__vehicle a:hover { color: var(--ink); }
.slip__labels {
  display: grid; grid-template-columns: minmax(0, 1fr) 44px 28px; gap: 8px;
  padding: 9px 0 5px; font-size: 9px; letter-spacing: .1em; color: var(--muted);
}
.slip__item {
  display: grid; grid-template-columns: minmax(0, 1fr) 44px 28px; gap: 8px; align-items: center;
  padding: 7px 0; border-bottom: 1px solid var(--line);
}
.slip__item > span { font-size: 12.5px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.slip__item input {
  width: 44px; height: 40px; padding: 0; text-align: center;
  background: var(--bone); border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--mono); font-size: 12px;
  -moz-appearance: textfield;
}
.slip__item input::-webkit-outer-spin-button, .slip__item input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.slip__remove {
  width: 28px; height: 40px; padding: 0; background: none; border: 0;
  color: var(--muted); font-size: 19px; line-height: 1;
}
.slip__remove:hover { color: var(--ink); }
.slip__empty {
  padding: 16px 12px; border: 1px dashed var(--line); margin: 10px 0 4px;
  font-size: 11.5px; line-height: 1.6; color: var(--muted); background: rgba(232, 236, 225, .45);
}
.slip__custom { display: block; margin-top: 13px; font-size: 10.5px; font-weight: 600; color: var(--ink-soft); }
.slip__custom input {
  width: 100%; height: 42px; margin-top: 6px; padding: 0 10px;
  background: var(--bone); border: 1px solid var(--line); border-radius: 2px;
  font-size: 13px;
}
.slip__custom input::placeholder, .slip__fields input::placeholder, .slip__fields textarea::placeholder { color: #67736c; }
.slip__custom input:focus { border-color: var(--ink); outline: none; }
.slip__details { margin-top: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.slip__details summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px; padding: 8px 0; cursor: pointer; list-style: none;
  font-size: 11px; font-weight: 500; color: var(--ink-soft);
}
.slip__details summary::-webkit-details-marker { display: none; }
.slip__details summary::after {
  content: "+"; font-family: var(--mono); font-size: 14px; color: var(--muted);
}
.slip__details[open] summary::after { content: "−"; }
.slip__details summary small { margin-left: auto; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.slip__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 4px 0 14px; }
.slip__fields label { display: flex; flex-direction: column; gap: 5px; font-size: 9.5px; font-weight: 500; color: var(--muted); }
.slip__fields input, .slip__fields select { min-height: 40px; height: 40px; font-size: 13px; background: var(--bone); }
.slip__fields textarea { min-height: 64px; padding: 8px 10px; font-size: 13px; background: var(--bone); resize: vertical; }
.slip__wide { grid-column: 1 / -1; }
.slip__error {
  margin: 12px 0 0; padding: 9px 0;
  border-top: 1px solid var(--accent-deep); border-bottom: 1px solid var(--accent-deep);
  color: var(--accent-deep); font-size: 11px; line-height: 1.55;
}
.slip__error:focus { outline: none; }
.slip__submit { width: 100%; min-height: 50px; margin-top: 13px; }
.slip__form > .note { margin-top: 10px; }
.slip__form { padding-bottom: 2px; }
.slip:focus { outline: none; }

/* ---------- method ---------- */
.method { border-top: 1px solid var(--ink); background: var(--surface); }
.method__in {
  width: min(var(--shell), 100%); margin: 0 auto;
  padding: clamp(46px, 5.4vw, 74px) var(--gut);
  display: grid; grid-template-columns: minmax(240px, .82fr) minmax(0, 2fr);
  gap: clamp(30px, 4vw, 64px); align-items: start;
}
.method__head h2 { margin-top: 16px; font-size: clamp(32px, 3.3vw, 44px); }
.method__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); }
.method__steps li { min-width: 0; padding-top: 14px; border-top: 1px solid var(--ink); }
.method__num { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .13em; color: var(--muted); }
.method__steps h3 {
  margin-top: 12px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(20px, 1.9vw, 26px); line-height: 1.05; letter-spacing: -.01em;
}
.method__steps p { margin-top: 10px; font-size: 12.5px; line-height: 1.62; color: var(--muted); }

/* ---------- workshop ---------- */
.workshop { position: relative; overflow: hidden; background: var(--green); color: var(--on-dark); margin-top: clamp(30px, 4vw, 48px); }
.workshop__bg { position: absolute; inset: 0; z-index: 0; }
.workshop__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: .15; filter: grayscale(1) contrast(1.2); }
.workshop::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(20, 58, 46, .99) 0%, rgba(20, 58, 46, .9) 44%, rgba(20, 58, 46, .6) 100%);
}
.workshop__in {
  position: relative; z-index: 2; width: min(var(--shell), 100%); margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--gut);
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(40px, 6vw, 88px); align-items: center;
}
.workshop h2 { font-size: clamp(42px, 5vw, 70px); color: var(--on-dark); }
.workshop h2 em { color: var(--accent-light); }
.workshop__head > p:not(.eyebrow) { max-width: 430px; margin-top: 22px; font-size: 14.5px; line-height: 1.7; color: var(--on-dark-muted); }
.workshop__head .btn { margin-top: 28px; }
.services { border-top: 1px solid rgba(244, 240, 228, .22); }
.services li {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px;
  padding: 20px 0; border-bottom: 1px solid rgba(244, 240, 228, .18);
}
.services li > span { font-family: var(--mono); font-size: 9px; color: var(--on-dark-muted); padding-top: 4px; }
.services h3 { font-size: 16px; font-weight: 600; color: var(--on-dark); margin-bottom: 3px; }
.services p { font-size: 12.5px; color: var(--on-dark-muted); }

/* ---------- closing ---------- */
.closing { width: min(var(--shell), 100%); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gut); }
.closing > .step { margin-bottom: 22px; }
.closing__row {
  display: grid; grid-template-columns: 1.32fr .68fr; gap: clamp(32px, 6vw, 80px);
  align-items: end; padding-top: 28px; border-top: 1px solid var(--ink);
}
.closing h2 { font-size: clamp(42px, 5.2vw, 74px); }
.closing__side p { max-width: 340px; margin-bottom: 20px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--ink); background: var(--surface); }
.footer__in {
  width: min(var(--shell), 100%); margin: 0 auto; padding: 42px var(--gut) 34px;
  display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: clamp(28px, 4vw, 56px);
}
.footer__brand p { max-width: 420px; margin-top: 16px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.footer__nav { display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.footer__nav > span, .footer__meta > span {
  display: block; margin-bottom: 8px; font-size: 9px; letter-spacing: .13em; color: var(--muted);
}
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; color: var(--ink-soft); }
.footer__nav a:hover, .footer__meta a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__meta p { margin: 0 0 12px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.footer__meta a { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.footer__base {
  width: min(var(--shell), 100%); margin: 0 auto; padding: 12px var(--gut) 18px;
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

/* ---------- mobile list bar, scrim, dialog ---------- */
.mobile-bar { display: none; }
.scrim {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(13, 42, 33, .48);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
body.slip-open .scrim { opacity: 1; pointer-events: auto; }
body:has(dialog[open]) { overflow: hidden; }
body.slip-open .mobile-bar { transform: translateY(120%); }

dialog {
  width: min(680px, calc(100% - 28px)); max-height: calc(100svh - 36px); overflow: auto;
  padding: 20px 24px 22px; border: 1px solid var(--ink); border-radius: 2px;
  background: var(--surface); color: var(--ink);
  box-shadow: 14px 14px 0 rgba(20, 58, 46, .16);
}
dialog::backdrop { background: rgba(13, 42, 33, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog__top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 9px; border-bottom: 1px solid var(--line);
  font-size: 8.5px; letter-spacing: .12em; color: var(--muted);
}
.dialog__top button {
  display: grid; place-items: center; width: 44px; height: 44px; margin: -10px -14px -10px 0;
  background: none; border: 0; font-size: 26px; line-height: 1; color: var(--ink);
}
dialog h2 { font-size: clamp(32px, 4vw, 42px); margin-top: 16px; }
.dialog__meta { margin-top: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
dialog textarea {
  width: 100%; min-height: 250px; margin-top: 16px; padding: 14px;
  border: 1px solid var(--line); border-radius: 2px; background: var(--bone);
  font-family: var(--mono); font-size: 12px; line-height: 1.7; resize: vertical;
}
.dialog__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 14px; }
.dialog__actions p { max-width: 280px; font-size: 10px; line-height: 1.6; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .hero__lead { grid-column: 1 / span 7; }
  .plate { grid-column: 8 / -1; }
  .catalog__grid { grid-template-columns: minmax(0, 1fr) 344px; }
  .vehicle__grid { grid-template-columns: minmax(200px, .55fr) minmax(0, 1.45fr); }
  .vehicle__fields { grid-template-columns: 1fr .7fr auto; }
}
@media (max-width: 1100px) {
  .catalog__grid { grid-template-columns: minmax(0, 1fr); }
  .slip { position: static; max-height: none; width: min(640px, 100%); margin-top: 8px; }
  .workshop__in { grid-template-columns: 1fr; gap: 40px; }
  .services { max-width: 620px; }
}
@media (max-width: 1024px) {
  .vehicle__grid { grid-template-columns: 1fr; gap: 24px; }
  .vehicle__head h2 { max-width: 520px; }
  .section-head__row > p { justify-self: start; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; row-gap: 26px; }
  .hero h1 { font-size: clamp(48px, 8.4vw, 74px); }
  .hero__lead, .plate { grid-column: auto; }
  .hero__foot { padding-top: clamp(18px, 3vw, 26px); }
  .hero__link { margin-top: 0; }
  .plate { max-width: 480px; }
  .idx-name { font-size: 26px; }
  .method__in { grid-template-columns: 1fr; gap: 28px; }
  .method__head h2 { max-width: 520px; }
  :root { --header: 68px; }
  .site-nav { display: none; }
  .site-header__in { gap: 16px; }
  .list-button { margin-left: auto; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat__cap strong { font-size: 16px; }
  .parts__head, .part { grid-template-columns: 34px minmax(0, 1fr) 70px 104px; gap: 12px; }
  .closing__row { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .closing__side { max-width: 460px; }
  .footer__in { grid-template-columns: 1.4fr .8fr .8fr; gap: 28px; }
  body { padding-bottom: 84px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 68px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
    background: var(--green); color: var(--on-dark); border: 0; text-align: left;
    box-shadow: 0 -8px 28px rgba(13, 42, 33, .22);
    transition: transform .28s ease;
  }
  .mobile-bar__vehicle { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
  .mobile-bar__vehicle strong { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-bar__vehicle small { font-size: 10px; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-bar__action { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
  .mobile-bar__action b { display: grid; place-items: center; width: 28px; height: 28px; background: var(--on-dark); color: var(--green); font-family: var(--mono); font-size: 11px; font-weight: 500; }
  .slip {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 60;
    width: 100%; max-height: 88svh; margin: 0; padding: 16px 18px calc(22px + env(safe-area-inset-bottom));
    border-left: 0; border-right: 0; border-bottom: 0; border-radius: 14px 14px 0 0;
    box-shadow: 0 -24px 70px rgba(13, 42, 33, .32);
    transform: translateY(102%); visibility: hidden;
    transition: transform .32s cubic-bezier(.2, .7, .2, 1), visibility .32s;
  }
  .slip.is-open { transform: none; visibility: visible; }
  .slip__close { display: grid; place-items: center; margin-left: 2px; }
  .slip__number { margin-left: auto; }
  .slip__stamp { margin-left: 0; }
  .slip__item input { height: 44px; font-size: 16px; }
  .slip__remove { width: 44px; height: 44px; }
  .slip__labels { grid-template-columns: minmax(0, 1fr) 44px 44px; }
  .slip__item { grid-template-columns: minmax(0, 1fr) 44px 44px; }
  .slip__custom input, .slip__fields input, .slip__fields select { font-size: 16px; }
  .slip__fields textarea { font-size: 15px; }
  .slip__submit { min-height: 52px; }
}
@media (max-width: 760px) {
  .demo-bar span:last-child { display: none; }
  .hero__in { padding-bottom: 30px; }
  .hero h1 { font-size: clamp(44px, 10.2vw, 62px); letter-spacing: -.018em; }
  .hero__lede { font-size: 15px; }
  .hero__note { font-size: 12px; }
  .hero__meta { font-size: 8.5px; letter-spacing: .1em; }
  .hero__index-list a { min-height: 96px; padding: 14px 16px 16px; gap: 9px; }
  .method__steps { grid-template-columns: 1fr; row-gap: 0; }
  .method__steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; padding: 14px 0 16px; }
  .method__num { grid-row: 1 / span 2; padding-top: 5px; }
  .method__steps h3 { margin-top: 0; }
  .method__steps p { margin-top: 6px; }
  .idx-name { font-size: 23px; }
  .vehicle { margin-top: 0; }
  .section-head h2 { font-size: clamp(36px, 8.4vw, 50px); }
  .section-head__row { grid-template-columns: 1fr; gap: 18px; padding-bottom: 24px; }
  .section-head__row > p { padding-bottom: 0; }
  .parts__head, .part { grid-template-columns: minmax(0, 1fr) 104px; gap: 10px; }
  .part__index, .part__ref, .parts__head span:first-child, .parts__head span:nth-child(3) { display: none; }
  .part { padding: 13px 0; }
  .part__info h4 { font-size: 15px; }
  .vehicle__fields { grid-template-columns: 1fr 1fr; }
  .field--brands { grid-column: 1 / -1; }
  .vehicle__cta { grid-column: 1 / -1; width: 100%; }
  .vehicle__foot { align-items: flex-start; }
  .workshop h2 { font-size: clamp(40px, 10vw, 56px); }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .dialog__actions { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .brand__mark { width: 32px; height: 32px; font-size: 14px; }
  .brand__type strong { font-size: 15px; }
  .brand__type small { font-size: 7px; letter-spacing: .08em; }
  .list-button { padding-left: 11px; gap: 8px; }
  .list-button__count { width: 30px; height: 32px; }
  .hero { padding-top: 0; }
  .hero__meta { flex-direction: column; gap: 4px; }
  .hero__index-list a { padding: 13px 14px 15px; }
  .plate__specs > div { padding: 9px 10px 11px; }
  .plate__specs dd { font-size: 16px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats > div { padding: 11px 12px 12px 0; }
  .hero__stats > div + div { padding-left: 14px; }
  .hero__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .idx-num, .idx-arrow, .idx-count { font-size: 8.5px; }
  .idx-name { font-size: 21px; }
  .vehicle { margin-top: 0; }
  .vehicle__grid { margin-top: 28px; padding-block: 24px; }
  .brands button { font-size: 12.5px; padding: 0 8px; min-height: 44px; }
  .vehicle__fields { grid-template-columns: 1fr; }
  .cats { gap: 8px; }
  .cat__cap { flex-direction: column; gap: 3px; padding: 10px; }
  .cat__cap strong { font-size: 14px; }
  .cat__index { left: 7px; top: 7px; width: 21px; height: 21px; font-size: 8px; }
  .parts-head { margin-top: 26px; }
  .parts-head__count { display: none; }
  .add-part { padding: 0 8px; font-size: 10.5px; min-width: 96px; }
  .parts__head, .part { grid-template-columns: minmax(0, 1fr) 96px; }
  .slip { max-height: 92svh; }
  .slip__head h3 { font-size: 28px; }
  .slip__top { font-size: 8px; }
  .slip__stamp { padding: 2px 4px; font-size: 7px; }
  .footer__in { grid-template-columns: 1fr; gap: 24px; }
  .footer__base { flex-direction: column; gap: 6px; }
  dialog { padding: 16px 16px 18px; }
  dialog h2 { font-size: 30px; }
  dialog textarea { min-height: 220px; font-size: 11.5px; }
}
@media (max-width: 520px) {
  .hero__index-list { grid-template-columns: 1fr 1fr; }
  .idx-name { font-size: 22px; }
}
@media (max-width: 380px) {
  .brand__type small { display: none; }
  .hero h1 { font-size: 42px; }
  .brands button { font-size: 11.5px; }
  .cat__cap strong { font-size: 12.5px; }
  .cat__cap small { font-size: 7.5px; }
  .add-part { min-width: 84px; font-size: 10px; }
  .parts__head, .part { grid-template-columns: minmax(0, 1fr) 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .slip { transition: none; }
}
