/* ==========================================================================
   ТатВыкупАвто — «Сервисный бокс»
   1. Tokens  2. Fonts  3. Base & browser surfaces  4. Components
   5. Header / drawer  6. Page layouts  7. Footer  8. Motion  9. Responsive
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --floor:      #0b0b0c;
  --floor-2:    #131315;
  --floor-3:    #1c1c1f;
  --steel:      #8a8a86;
  --steel-2:    #55555a;
  --steel-3:    #2e2e32;
  --chalk:      #f2f2ef;
  --chalk-2:    #c9c9c4;
  --red:        #d71920;
  --red-2:      #b0141a;
  --red-3:      #ff3b42;
  --paper:      #f4f2ec;
  --paper-2:    #e9e6dd;
  --ink:        #141414;
  --ink-2:      #4a4a46;
  --ok:         #2e7d4f;

  --f-display: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --f-tag:     "Rubik Mono One", "Courier New", monospace;
  --f-body:    "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --head-h: 72px;
  --tape: 28px;                 /* chevron stripe period */

  --shadow-lift: 0 14px 28px -12px rgba(0, 0, 0, .75);
  --shadow-car:  drop-shadow(0 28px 22px rgba(0, 0, 0, .55));
  --ring: 0 0 0 3px var(--floor), 0 0 0 5px var(--red-3);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 160ms;
  --t-base: 320ms;
  --t-slow: 640ms;

  color-scheme: dark;
  accent-color: var(--red);
}

/* 2. Fonts (self-hosted, Cyrillic + Latin subsets) ---------------------- */
@font-face { font-family: "Sofia Sans Extra Condensed"; font-style: normal; font-weight: 700 900; font-display: swap; src: url(../fonts/sofia-sans-ec-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Sofia Sans Extra Condensed"; font-style: normal; font-weight: 700 900; font-display: swap; src: url(../fonts/sofia-sans-ec-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik Mono One"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/rubik-mono-one-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Rubik Mono One"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/rubik-mono-one-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/golos-text-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/golos-text-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 3. Base & browser surfaces ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--floor);
  color: var(--chalk);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* rubber floor grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url(../img/tex/grain.webp) repeat; background-size: 256px;
  opacity: .07; mix-blend-mode: screen;
}
.site-main, .site-head, .site-foot, .drawer { position: relative; z-index: 1; }

::selection { background: var(--red); color: var(--chalk); }
::-moz-selection { background: var(--red); color: var(--chalk); }
html { caret-color: var(--red); scrollbar-color: var(--steel-2) var(--floor-2); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--floor-2); }
::-webkit-scrollbar-thumb { background: var(--steel-2); border: 3px solid var(--floor-2); }
::-webkit-scrollbar-thumb:hover { background: var(--steel); }

:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 2px; }
.paper :focus-visible, .clipboard :focus-visible { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--red); }

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--steel); text-underline-offset: .18em; text-decoration-thickness: 1px; transition: color var(--t-fast), text-decoration-color var(--t-fast); }
a:hover { color: var(--chalk); text-decoration-color: var(--red-3); }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
strong { font-weight: 600; }
.sr-only, .bay__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: .94; letter-spacing: .005em; text-wrap: balance; color: var(--chalk); }
.h2, h2 { font-size: clamp(38px, 5vw, 64px); }
h3, .h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--chalk-2); max-width: 62ch; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: var(--s-4); top: -100px; z-index: 100; padding: var(--s-2) var(--s-4); background: var(--red); color: var(--chalk); font-weight: 600; }
.skip:focus { top: var(--s-4); }

/* 4. Components --------------------------------------------------------- */

/* Chevron hazard tape */
.chevron {
  position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: 56px; padding: 0;
  background: repeating-linear-gradient(-45deg, var(--red) 0 var(--tape), var(--floor) var(--tape) calc(var(--tape) * 2));
}
.chevron--thin { min-height: 12px; --tape: 18px; }
.chevron__label {
  margin: 0; margin-left: calc(var(--tape) * 2);
  padding: var(--s-2) var(--s-5) var(--s-2) var(--s-4);
  background: var(--floor); color: var(--chalk);
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1;
  border-left: 1px solid var(--red-3);
}
.chevron--hero { min-height: 72px; }
.chevron--hero .chevron__label { font-size: clamp(40px, 5.2vw, 78px); padding-block: var(--s-3); max-width: calc(100% - var(--tape) * 5); }
.chevron--section { margin-bottom: var(--s-7); }

/* Stamp */
.stamp {
  display: inline-block; padding: .3em .55em .26em;
  font: 400 12px/1 var(--f-tag); letter-spacing: .06em; text-transform: uppercase;
  color: var(--red-3); border: 2px solid currentColor; border-radius: 3px;
  transform: rotate(-3deg); transform-origin: left center;
  mask-image: url(../img/tex/grain.webp); mask-size: 140px; -webkit-mask-image: url(../img/tex/grain.webp); -webkit-mask-size: 140px;
}
.stamp--big { font-size: 20px; padding: .35em .6em .3em; border-width: 3px; }
.stamp--sold { font-size: 18px; border-width: 3px; transform: rotate(-9deg); }
.clipboard .stamp { color: var(--red); }

/* Steel tag */
.tag {
  position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: linear-gradient(180deg, var(--floor-3), var(--floor-2));
  border: 1px solid var(--steel-3); border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.tag::before, .tag::after {
  content: ""; position: absolute; inset: 7px; pointer-events: none;
  background:
    radial-gradient(circle, var(--steel) 0 2px, transparent 2.5px) 0 0 / 5px 5px no-repeat,
    radial-gradient(circle, var(--steel) 0 2px, transparent 2.5px) 100% 0 / 5px 5px no-repeat,
    radial-gradient(circle, var(--steel) 0 2px, transparent 2.5px) 0 100% / 5px 5px no-repeat,
    radial-gradient(circle, var(--steel) 0 2px, transparent 2.5px) 100% 100% / 5px 5px no-repeat;
}
.tag::after { display: none; }
.tag__label { font: 500 12px/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.tag__value { font: 400 clamp(20px, 1.8vw, 24px)/1 var(--f-tag); color: var(--chalk); text-align: right; white-space: nowrap; }
.tag__note { display: none; }
.tags { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); margin-top: var(--s-5); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 52px; padding: 0 var(--s-5);
  font: 800 19px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border-radius: 3px; border: 2px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn--primary { background: var(--red); color: var(--chalk); border-color: var(--red); box-shadow: 0 10px 22px -12px rgba(215, 25, 32, .9); }
.btn--primary:hover { background: var(--red-2); border-color: var(--red-2); color: var(--chalk); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); box-shadow: none; }
.btn--ghost { color: var(--chalk); border-color: var(--steel); }
.btn--ghost:hover { border-color: var(--chalk); color: var(--chalk); }
.btn--sm { min-height: 44px; padding-inline: var(--s-4); font-size: 16px; }
.btn--block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .6; cursor: progress; transform: none; }
.btn__busy { display: none; }
.is-busy .btn__label { display: none; }
.is-busy .btn__busy { display: inline; }
.link-arrow { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; text-decoration: none; color: var(--chalk); }
.link-arrow .icon { transition: transform var(--t-fast) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Bay row */
.bays__list { border-top: 1px solid var(--steel-3); }
.bay { border-bottom: 1px solid var(--steel-3); }
.bay__link {
  display: grid; grid-template-columns: 92px 1fr auto 40px; align-items: center; gap: var(--s-5);
  padding: var(--s-5) var(--s-3); text-decoration: none; color: var(--chalk);
  transition: background var(--t-fast);
}
.bay__link:hover, .bay__link:focus-visible { background: var(--floor-2); }
.bay__number { display: block; height: 1em; overflow: hidden; font: 400 44px/1 var(--f-tag); color: var(--steel); }
.bay__digits { display: block; transition: transform var(--t-base) var(--ease-out), color var(--t-fast); }
.bay__link:hover .bay__digits, .bay__link:focus-visible .bay__digits { color: var(--red-3); }
.bay__title { display: block; font: 800 clamp(24px, 2.4vw, 34px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.bay__lead { display: block; margin-top: 6px; color: var(--chalk-2); font-size: 15px; max-width: 60ch; }
.bay__fact { font: 400 15px/1 var(--f-tag); color: var(--chalk); text-align: right; white-space: nowrap; letter-spacing: -.02em; padding: 10px 12px; border: 1px solid var(--steel-3); border-radius: 3px; background: var(--floor-2); transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-fast); }
.bay__link:hover .bay__fact, .bay__link:focus-visible .bay__fact { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--steel-2); }
.bay__arrow { color: var(--steel); transition: transform var(--t-base) var(--ease-out), color var(--t-fast); }
.bay__link:hover .bay__arrow, .bay__link:focus-visible .bay__arrow { transform: translateX(6px); color: var(--red-3); }
.bay__image { display: none; }

/* Clipboard form */
.clipboard {
  position: relative; background: var(--paper); color: var(--ink);
  padding: var(--s-7) var(--s-5) var(--s-5); border-radius: 4px;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4);
  color-scheme: light;
}
.clipboard::after { /* paper edge */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: url(../img/tex/grain.webp) repeat; background-size: 220px; opacity: .06; mix-blend-mode: multiply;
}
.clipboard__clip {
  position: absolute; left: 50%; top: -14px; transform: translateX(-50%);
  width: 120px; height: 30px; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #4a4a4e, #222226);
  box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.clipboard__clip::after { content: ""; position: absolute; left: 50%; top: 7px; transform: translateX(-50%); width: 46px; height: 10px; border-radius: 6px; background: var(--floor); box-shadow: inset 0 1px 2px rgba(0,0,0,.9); }
.clipboard__head { margin-bottom: var(--s-5); }
.clipboard__title { margin: var(--s-3) 0 0; font: 800 24px/1.05 var(--f-display); text-transform: uppercase; color: var(--ink); }
.clipboard__hp { position: absolute; left: -9999px; top: 0; }
.clipboard__fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-4); }
.field { display: grid; gap: 4px; }
.field--wide { grid-column: 1 / -1; }
.field__label { font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field__input {
  width: 100%; min-height: 46px; padding: 10px 2px;
  background: transparent; color: var(--ink);
  border: 0; border-bottom: 2px solid #8a867a; border-radius: 0;
  transition: border-color var(--t-fast);
}
.field__input::placeholder { color: #6a6862; }
.field__input:hover { border-bottom-color: var(--ink-2); }
.field__input:focus { border-bottom-color: var(--red); }
textarea.field__input { resize: vertical; min-height: 60px; line-height: 1.4; }
.field__select { position: relative; display: block; }
.field__select::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select.field__input { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer; }
.field__error { margin: 0; min-height: 0; font-size: 13px; line-height: 1.3; color: var(--red-2); }
.field.is-invalid .field__input { border-bottom-color: var(--red); }
.field.is-invalid .field__label { color: var(--red-2); }
.clipboard__foot { margin-top: var(--s-5); display: grid; gap: var(--s-3); }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.check a { color: var(--ink); }
.check__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 20px; height: 20px; margin-top: 1px; border: 2px solid #8a867a; border-radius: 3px; background: #fff; position: relative; transition: border-color var(--t-fast), background var(--t-fast); }
.check__box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border-right: 2.5px solid var(--chalk); border-bottom: 2.5px solid var(--chalk); transform: rotate(45deg) scale(0); transition: transform var(--t-fast) var(--ease-out); }
.check__input:checked + .check__box { background: var(--red); border-color: var(--red); }
.check__input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check__input:focus-visible + .check__box { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--red); }
.check.is-invalid .check__box { border-color: var(--red); }
.clipboard__note { margin: 0; font-size: 14px; color: var(--ink-2); }
.clipboard__note a { color: var(--ink); font-weight: 600; }
.clipboard__done { display: grid; gap: var(--s-3); padding-top: var(--s-4); border-top: 2px dashed #b9b5aa; margin-top: var(--s-5); }
.clipboard__done[hidden] { display: none; }
.clipboard__done-title { margin: 0; font: 800 26px/1 var(--f-display); text-transform: uppercase; }
.clipboard__done p { margin: 0; color: var(--ink-2); }
.clipboard__done a { color: var(--ink); font-weight: 600; }
.clipboard.is-done .clipboard__fields, .clipboard.is-done .clipboard__foot { display: none; }

/* Paper sheet (documents, checklists) */
.sheet { background: var(--paper); color: var(--ink); padding: var(--s-5) var(--s-6); border-radius: 4px; box-shadow: 0 30px 50px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4); color-scheme: light; }
.sheet__row { display: flex; gap: var(--s-3); align-items: center; padding: 12px 0; border-bottom: 1px solid #d6d2c6; font-weight: 500; }
.sheet__row:last-child { border-bottom: 0; }
.sheet__box { flex: none; width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 3px; display: grid; place-items: center; color: var(--red); }
.sheet__box .icon { width: 16px; height: 16px; stroke-width: 3; }

/* Breadcrumbs */
.crumbs { margin-bottom: var(--s-4); font-size: 14px; color: var(--steel); }
.crumbs__list { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs__list li + li::before { content: "/"; margin-right: 6px; color: var(--steel-2); }
.crumbs a { text-decoration: none; color: var(--chalk-2); }
.crumbs a:hover { color: var(--chalk); text-decoration: underline; }

/* Prose (article bodies, page copy) */
.prose { max-width: 72ch; font-size: 18px; line-height: 1.6; color: var(--chalk-2); }
.prose h2, .prose h3, .prose h4 { color: var(--chalk); margin: 1.6em 0 .5em; }
.prose h2 { font-size: clamp(30px, 3.2vw, 42px); }
.prose h3 { font-size: clamp(24px, 2.4vw, 30px); }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--red-3); }
.prose a { color: var(--chalk); }
.prose img { margin: 1.5em 0; border-radius: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 16px; font-variant-numeric: tabular-nums; }
.prose th, .prose td { border: 1px solid var(--steel-3); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { color: var(--chalk); background: var(--floor-2); }
.prose blockquote { margin: 1.5em 0; padding-left: 1em; border-left: 1px solid var(--red); color: var(--chalk); }
.prose iframe { aspect-ratio: 16 / 9; width: 100%; height: auto; margin: 1.5em 0; }
.prose strong { color: var(--chalk); }
.prose > :first-child { margin-top: 0; }

/* 5. Header & drawer ---------------------------------------------------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(11, 11, 12, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--steel-3); }
.site-head__row { display: flex; align-items: center; gap: var(--s-6); min-height: var(--head-h); }
.brand { display: inline-flex; flex: none; }
.brand__img { width: 236px; height: 36px; object-fit: contain; object-position: left; }
.nav { flex: 1; }
.nav__list { display: flex; gap: var(--s-1); }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--chalk-2); border-radius: 2px; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--chalk); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
.nav__more { display: inline-grid; place-items: center; width: 28px; height: 44px; margin-left: -8px; color: var(--steel); }
.nav__more .icon { width: 16px; height: 16px; transition: transform var(--t-fast); }
.nav__more[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub {
  position: absolute; left: 0; top: 100%; z-index: 50; min-width: 260px;
  padding: var(--s-2); background: var(--floor-2); border: 1px solid var(--steel-3); border-top: 2px solid var(--red);
  box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t-fast), transform var(--t-base) var(--ease-out), visibility 0s linear var(--t-fast);
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sub__link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 44px; text-decoration: none; font-size: 15px; color: var(--chalk-2); border-radius: 2px; }
.sub__link:hover, .sub__link:focus-visible { background: var(--floor-3); color: var(--chalk); }
.sub__num { font: 400 12px/1 var(--f-tag); color: var(--red-3); min-width: 22px; }
.sub--bays { min-width: 320px; }
.site-head__contact { display: flex; align-items: center; gap: var(--s-4); margin-left: auto; }
.site-head__phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 400 15px/1 var(--f-tag); letter-spacing: -.02em; color: var(--chalk); white-space: nowrap; min-height: 44px; }
.site-head__phone .icon { color: var(--red-3); }
.burger { display: none; position: relative; width: 48px; height: 48px; border-radius: 2px; }
.burger__bar, .burger__bar::before, .burger__bar::after { position: absolute; left: 12px; width: 24px; height: 2px; background: var(--chalk); transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast); }
.burger__bar { top: 23px; }
.burger__bar::before { content: ""; top: -8px; left: 0; }
.burger__bar::after { content: ""; top: 8px; left: 0; }
.burger[aria-expanded="true"] .burger__bar { background: transparent; }
.burger[aria-expanded="true"] .burger__bar::before { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar::after { transform: translateY(-8px) rotate(-45deg); }

/* Drawer: the bay door */
.drawer { position: fixed; inset: 0; z-index: 60; background: var(--floor); overflow: auto; }
.drawer[hidden] { display: none; }
.drawer__inner { width: min(100% - 2 * var(--gutter), 640px); margin-inline: auto; padding: var(--s-4) 0 var(--s-8); display: grid; gap: var(--s-6); min-height: 100%; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--head-h); }
.drawer__close { width: 48px; height: 48px; display: grid; place-items: center; color: var(--chalk); }
.drawer__list { display: grid; }
.drawer__item { border-top: 1px solid var(--steel-3); }
.drawer__item:last-child { border-bottom: 1px solid var(--steel-3); }
.drawer__link { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; text-decoration: none; font: 800 34px/1 var(--f-display); text-transform: uppercase; color: var(--chalk); }
.drawer__num { font: 400 14px/1 var(--f-tag); color: var(--red-3); }
.drawer__sub { display: grid; gap: 2px; padding: 0 0 var(--s-4) 46px; }
.drawer__sub a { display: block; padding: 8px 0; text-decoration: none; color: var(--chalk-2); font-size: 16px; }
.drawer__sub a:hover { color: var(--chalk); }
.drawer__contact { display: grid; gap: var(--s-3); }
.drawer__phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 20px/1 var(--f-tag); color: var(--chalk); }
.drawer__phone .icon { color: var(--red-3); }
.drawer__msgs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
body.drawer-open { overflow: hidden; }

/* 6. Page layouts ------------------------------------------------------- */

/* Hero */
.hero { padding: var(--s-5) 0 var(--s-8); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(360px, 4fr); gap: var(--s-7); align-items: start; }
.hero__main { min-width: 0; }
.hero__lead { margin: var(--s-5) 0 0; font-size: clamp(17px, 1.4vw, 20px); color: var(--chalk-2); max-width: 58ch; }
.hero__floor { position: relative; margin-top: var(--s-5); padding-bottom: var(--s-6); }
.hero__floor::before { /* floor line the car sits on */
  content: ""; position: absolute; left: -8%; right: 12%; bottom: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel-3) 15%, var(--steel-3) 85%, transparent);
}
.hero__car { width: min(100%, 620px); height: auto; filter: var(--shadow-car); position: relative; }
.hero__cta { display: none; margin-top: var(--s-4); }
.hero__stamp { position: absolute; left: 58%; top: 10%; font-size: 26px; border-width: 4px; }
.hero__more { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--chalk-2); font-size: 15px; }
.hero__more:hover { color: var(--chalk); }
.hero__form { position: relative; padding-top: var(--s-4); }

/* Bays section */
.bays { padding: var(--s-9) 0 var(--s-8); }
.bays__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: end; margin-bottom: var(--s-6); }
.bays__note { margin: 0; color: var(--chalk-2); max-width: 52ch; justify-self: end; }

/* Fleet */
.fleet { padding: var(--s-8) 0; background: var(--floor-2); border-block: 1px solid var(--steel-3); overflow: hidden; }
.fleet__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); }
.fleet__note { margin: 0; color: var(--chalk-2); max-width: 48ch; }
.fleet__track {
  display: flex; gap: var(--s-6); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: var(--s-4) var(--gutter) var(--s-6); scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.fleet__item { position: relative; flex: 0 0 auto; width: clamp(240px, 26vw, 380px); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: flex-end; }
.fleet__item::after { content: ""; order: 2; display: block; height: 1px; margin: -10px 4% 0; background: var(--steel-3); }
.fleet__img { width: 100%; height: auto; filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .55)); position: relative; z-index: 1; transition: transform var(--t-slow) var(--ease-out); }
.fleet__item:hover .fleet__img { transform: translateY(-6px); }
.fleet__item .stamp--sold { position: absolute; z-index: 2; left: 8%; top: 4%; }
.fleet__name { order: 3; padding-top: var(--s-3); font-size: 14px; color: var(--chalk-2); }

/* Steps */
.steps { padding: var(--s-9) 0 var(--s-8); }
.steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); counter-reset: step; }
.step { position: relative; padding: var(--s-5) 0 0; border-top: 1px solid var(--steel-2); }
.step::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 3px; background: var(--red); }
.step__num { display: block; font: 400 14px/1 var(--f-tag); color: var(--red-3); margin-bottom: var(--s-3); }
.step__title { font-size: clamp(28px, 2.6vw, 38px); }
.step__text { margin: var(--s-3) 0 0; color: var(--chalk-2); font-size: 16px; }
.steps__time { display: inline-flex; align-items: center; gap: 10px; margin: var(--s-7) 0 0; font: 400 15px/1 var(--f-tag); color: var(--chalk); padding: 12px 16px; border: 1px solid var(--steel-3); border-radius: 3px; background: var(--floor-2); }
.steps__time .icon { color: var(--red-3); }

/* Guarantee */
.guarantee { padding: var(--s-8) 0; background: var(--floor-2); border-block: 1px solid var(--steel-3); }
.guarantee .h2 { margin-bottom: var(--s-6); max-width: 18ch; }
.guarantee__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5) var(--s-6); }
.guarantee__item { display: flex; gap: var(--s-3); align-items: flex-start; }
.guarantee__mark { flex: none; width: 28px; height: 28px; display: grid; place-items: center; color: var(--chalk); background: var(--red); border-radius: 3px; margin-top: 2px; }
.guarantee__mark .icon { width: 16px; height: 16px; stroke-width: 3; }
.guarantee__title { display: block; font: 800 22px/1.05 var(--f-display); text-transform: uppercase; color: var(--chalk); }
.guarantee__text { display: block; margin-top: 4px; color: var(--chalk-2); font-size: 15px; }

/* Documents */
.docs { padding: var(--s-9) 0; }
.docs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; }
.docs__intro p { color: var(--chalk-2); margin-top: var(--s-4); }
.docs__note { font-size: 15px; }
.docs__list { counter-reset: doc; }

/* Reviews */
.reviews { padding: var(--s-8) 0 var(--s-9); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); }
.reviews__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.review { display: grid; gap: var(--s-4); padding: var(--s-5); background: var(--floor-2); border: 1px solid var(--steel-3); border-radius: 3px; }
.review__quote { margin: 0; }
.review__quote p { margin: 0; color: var(--chalk-2); font-size: 16px; }
.review__quote p::before { content: "«"; color: var(--red-3); font-weight: 600; }
.review__quote p::after { content: "»"; color: var(--red-3); font-weight: 600; }
.review__who { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--chalk-2); }
.review__initial { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--steel-2); border-radius: 3px; font: 400 14px/1 var(--f-tag); color: var(--red-3); }
.review__who strong { color: var(--chalk); }

/* Call */
.call { padding: var(--s-9) 0; background: var(--red); color: var(--chalk); }
.call__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }
.call .h2 { color: var(--chalk); max-width: 16ch; }
.call__lead { margin-top: var(--s-4); font-size: 18px; color: #fff; max-width: 40ch; }
.call__area { font: 400 13px/1.4 var(--f-tag); color: #fff; margin: 0; }
.call__phones { display: grid; gap: var(--s-3); }
.call__phone { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font: 400 clamp(26px, 3vw, 40px)/1 var(--f-tag); letter-spacing: -.03em; color: var(--chalk); }
.call__phone .icon { width: 1em; height: 1em; }
.call__phone:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.call__msgs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
.call .btn--ghost { border-color: rgba(255, 255, 255, .5); color: var(--chalk); }
.call .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* Inner page hero */
.page-hero { padding: var(--s-6) 0 var(--s-6); border-bottom: 1px solid var(--steel-3); }
.page-hero__title { font-size: clamp(40px, 6vw, 84px); max-width: 22ch; }
.page-hero__stamp { vertical-align: middle; margin-left: .3em; font-size: 14px; transform: rotate(-4deg) translateY(-.35em); }
.page-hero__lead { margin: var(--s-5) 0 0; font-size: clamp(17px, 1.4vw, 20px); color: var(--chalk-2); max-width: 62ch; }

/* Service detail */
.service { padding: var(--s-7) 0 var(--s-8); }
.service__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: var(--s-8); align-items: start; }
.service__aside { position: sticky; top: calc(var(--head-h) + var(--s-5)); padding-top: var(--s-4); }
.service__image { margin: 0 0 var(--s-6); border-radius: 3px; overflow: hidden; border: 1px solid var(--steel-3); }
.service__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service__image--cutout { border: 0; background: radial-gradient(60% 40% at 50% 92%, rgba(0,0,0,.6), transparent 70%); }
.service__image--cutout img { object-fit: contain; padding: 4% 6% 6%; filter: var(--shadow-car); }
.service__facts { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: 0 0 var(--s-6); }
.service__facts .tag { min-width: 180px; }
.service__nav { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--steel-3); }
.service__nav-title { font: 500 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: var(--s-4); }
.service__nav-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-2); }
.service__nav-list a { display: flex; align-items: center; gap: 12px; padding: 12px; min-height: 48px; text-decoration: none; color: var(--chalk-2); border: 1px solid var(--steel-3); border-radius: 3px; transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast); }
.service__nav-list a:hover { border-color: var(--steel-2); color: var(--chalk); background: var(--floor-2); }
.service__nav-list a[aria-current="page"] { border-color: var(--red); color: var(--chalk); }
.service__nav-list .sub__num { color: var(--red-3); }

/* Services overview */
.services-index { padding: var(--s-7) 0 var(--s-8); }
.services-index .bay__link { grid-template-columns: 92px 200px 1fr auto 40px; }
.services-index .bay__image { display: block; aspect-ratio: 8 / 5; overflow: hidden; border-radius: 3px; border: 1px solid var(--steel-3); background: var(--floor-2); }
.services-index .bay__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.bay__image--cutout { border-color: transparent; background: transparent; }
.bay__image--cutout img { object-fit: contain; padding: 6px 10px; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .55)); }
.services-index .bay__link:hover .bay__image img { transform: scale(1.04); }
.services-index__form { margin-top: var(--s-9); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; }
.services-index__form .h2 { max-width: 14ch; }
.services-index__form p { color: var(--chalk-2); max-width: 48ch; }

/* About */
.about { padding: var(--s-7) 0 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: start; }
.about__video { position: relative; aspect-ratio: 16 / 9; background: var(--floor-2); border: 1px solid var(--steel-3); border-radius: 3px; overflow: hidden; }
.about__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.about__reasons { padding: var(--s-9) 0; }
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.reason { padding: var(--s-5); border: 1px solid var(--steel-3); border-radius: 3px; background: var(--floor-2); }
.reason__title { font: 800 26px/1 var(--f-display); text-transform: uppercase; }
.reason p { margin: var(--s-3) 0 0; color: var(--chalk-2); font-size: 15px; }

/* Contacts */
.contacts { padding: var(--s-7) 0 var(--s-9); }
.contacts__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
.contacts__list { display: grid; gap: var(--s-6); }
.contacts__item { display: grid; gap: var(--s-2); }
.contacts__label { font: 500 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.contacts__big { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 400 clamp(22px, 2.4vw, 30px)/1.1 var(--f-tag); letter-spacing: -.03em; color: var(--chalk); }
.contacts__big:hover { color: var(--red-3); }
.contacts__big .icon { color: var(--red-3); }
.contacts__text { color: var(--chalk-2); }
.contacts__msgs { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.contacts__map { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--steel-3); border-radius: 3px; overflow: hidden; background: var(--floor-2); }
.contacts__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg); }
.contacts__addr { margin-top: var(--s-4); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); align-items: center; }
.contacts__addr p { margin: 0; }

/* Info listing */
.info { padding: var(--s-7) 0 var(--s-9); }
.info__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr); gap: var(--s-8); align-items: start; }
.articles { display: grid; gap: var(--s-4); }
.article-card { display: grid; grid-template-columns: 200px 1fr; gap: var(--s-5); padding: var(--s-5) 0; border-top: 1px solid var(--steel-3); }
.article-card:last-child { border-bottom: 1px solid var(--steel-3); }
.article-card__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: var(--floor-2); border: 1px solid var(--steel-3); }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); }
.article-card__img--empty { display: grid; place-items: center; color: var(--steel-2); }
.article-card__meta { font: 400 12px/1 var(--f-tag); color: var(--steel); margin-bottom: var(--s-2); }
.article-card__title { font-size: clamp(24px, 2.4vw, 32px); }
.article-card__title a { text-decoration: none; }
.article-card__title a:hover { color: var(--red-3); }
.article-card__excerpt { margin: var(--s-3) 0 0; color: var(--chalk-2); font-size: 15px; }
.pager { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; text-decoration: none; border: 1px solid var(--steel-3); border-radius: 3px; font: 400 14px/1 var(--f-tag); color: var(--chalk-2); }
.pager a:hover { border-color: var(--steel); color: var(--chalk); }
.pager [aria-current="page"] { border-color: var(--red); color: var(--chalk); }
.side { position: sticky; top: calc(var(--head-h) + var(--s-5)); display: grid; gap: var(--s-6); }
.side__title { font: 500 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: var(--s-3); }
.side__list a { display: flex; align-items: center; gap: 10px; padding: 10px 0; min-height: 44px; text-decoration: none; color: var(--chalk-2); border-bottom: 1px solid var(--steel-3); }
.side__list a:hover, .side__list a[aria-current="page"] { color: var(--chalk); }
.side__list a[aria-current="page"] .sub__num { color: var(--red-3); }
.side__list .sub__num { color: var(--steel); }

/* Article */
.article { padding: var(--s-7) 0 var(--s-9); }
.article__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr); gap: var(--s-8); align-items: start; }
.article__meta { font: 400 12px/1 var(--f-tag); color: var(--steel); margin-bottom: var(--s-4); }
.article__cta { margin-top: var(--s-8); padding: var(--s-5); border: 1px solid var(--steel-3); background: var(--floor-2); border-radius: 3px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); }
.article__cta p { margin: 0; max-width: 40ch; color: var(--chalk-2); }

/* Regional page */
.region { padding: var(--s-7) 0 var(--s-9); }
.region__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: var(--s-8); align-items: start; }
.region__aside { position: sticky; top: calc(var(--head-h) + var(--s-5)); padding-top: var(--s-4); }
.region__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px; margin-top: var(--s-6); }
.region__list a { display: flex; align-items: center; gap: 10px; padding: 12px; min-height: 48px; text-decoration: none; color: var(--chalk-2); border: 1px solid var(--steel-3); border-radius: 3px; font-size: 15px; }
.region__list a:hover { color: var(--chalk); background: var(--floor-2); border-color: var(--steel-2); }

/* Video reviews */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.video { display: grid; gap: var(--s-2); }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--floor-2); border: 1px solid var(--steel-3); border-radius: 3px; overflow: hidden; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__title { font-size: 15px; color: var(--chalk-2); margin: 0; }

/* Generic page */
.page-body { padding: var(--s-7) 0 var(--s-9); }
.page-body__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(320px, 4fr); gap: var(--s-8); align-items: start; }

/* Brand grid (Список авто) */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-3); margin-top: var(--s-6); }
.brand-card { display: grid; gap: var(--s-2); justify-items: center; padding: var(--s-4) var(--s-3); text-decoration: none; color: var(--chalk-2); font-size: 14px; border: 1px solid var(--steel-3); border-radius: 3px; background: var(--floor-2); transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-base) var(--ease-out); }
.brand-card img { width: 64px; height: 64px; object-fit: contain; filter: grayscale(1) brightness(1.6) contrast(1.1); transition: filter var(--t-fast); }
.brand-card:hover { border-color: var(--steel-2); color: var(--chalk); transform: translateY(-2px); }
.brand-card:hover img { filter: none; }

/* 404 */
.notfound { padding: var(--s-10) 0; text-align: left; }
.notfound__code { font: 400 clamp(80px, 16vw, 200px)/1 var(--f-tag); color: var(--steel-3); }

/* 7. Footer ------------------------------------------------------------- */
.site-foot { margin-top: var(--s-8); background: var(--floor); border-top: 1px solid var(--steel-3); }
.site-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-7); padding: var(--s-8) 0 var(--s-7); }
.site-foot__brand img { width: 236px; height: 36px; object-fit: contain; object-position: left; margin-bottom: var(--s-4); }
.site-foot__area { color: var(--chalk-2); font-size: 15px; }
.site-foot__phone { display: block; text-decoration: none; font: 400 18px/1.6 var(--f-tag); letter-spacing: -.02em; }
.site-foot__mail { display: inline-block; margin-top: var(--s-2); color: var(--chalk-2); }
.site-foot__title { font: 500 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: var(--s-4); }
.site-foot__list { display: grid; gap: 4px; }
.site-foot__list a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; text-decoration: none; color: var(--chalk-2); font-size: 15px; }
.site-foot__list a:hover { color: var(--chalk); }
.site-foot__num { font: 400 11px/1 var(--f-tag); color: var(--steel); }
.site-foot__addr { font-weight: 600; margin-bottom: var(--s-2); }
.site-foot__hint { color: var(--chalk-2); font-size: 14px; }
.site-foot__social { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.site-foot__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--steel-3); border-radius: 3px; color: var(--chalk-2); text-decoration: none; transition: border-color var(--t-fast), color var(--t-fast); }
.site-foot__social a:hover { border-color: var(--red-3); color: var(--chalk); }
.site-foot__max { font: 400 11px/1 var(--f-tag); }
.site-foot__legal { display: grid; grid-template-columns: 1fr auto; gap: var(--s-5); padding: var(--s-5) 0 var(--s-7); border-top: 1px solid var(--steel-3); font-size: 13px; color: var(--steel); }
.site-foot__legal p { margin: 0; }
.site-foot__disclaimer { max-width: 90ch; }
.site-foot__copy a { color: var(--chalk-2); }

/* 8. Motion ------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .js-tape { clip-path: inset(0 100% 0 0); animation: tape-unroll var(--t-slow) var(--ease-out) 80ms forwards; }
  .js .js-tape .chevron__label { opacity: 0; animation: fade-in var(--t-base) var(--ease-out) 380ms forwards; }
  .js .js-settle { opacity: 0; transform: translateY(-18px) scale(1.01); animation: settle 720ms var(--ease-out) 320ms forwards; }
  .js .hero__stamp { opacity: 0; transform: rotate(-9deg) scale(1.6); animation: stamp-in 360ms var(--ease-out) 1050ms forwards; }
  .js .hero__form { opacity: 0; transform: translateY(14px); animation: rise var(--t-slow) var(--ease-out) 260ms forwards; }
  .js .tags li { opacity: 0; transform: translateY(10px); animation: rise var(--t-base) var(--ease-out) forwards; }
  .js .tags li:nth-child(1) { animation-delay: 700ms; } .js .tags li:nth-child(2) { animation-delay: 780ms; }
  .js .tags li:nth-child(3) { animation-delay: 860ms; } .js .tags li:nth-child(4) { animation-delay: 940ms; }
  .stamp.is-restamp { animation: stamp-in 320ms var(--ease-out); }
  .bay__link:hover .bay__digits, .bay__link:focus-visible .bay__digits { animation: roll 420ms var(--ease-out); }
}
@keyframes tape-unroll { to { clip-path: inset(0 0 0 0); } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes settle { to { opacity: 1; transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes stamp-in { from { opacity: 0; transform: rotate(-9deg) scale(1.6); } 60% { opacity: 1; transform: rotate(-9deg) scale(.96); } to { opacity: 1; transform: rotate(-9deg) scale(1); } }
@keyframes roll { 0% { transform: translateY(0); } 45% { transform: translateY(-100%); opacity: 0; } 46% { transform: translateY(100%); } 100% { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 9. Responsive --------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav__link { padding-inline: 8px; font-size: 14px; }
  .site-head__cta { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr); gap: var(--s-6); }
  .guarantee__list { grid-template-columns: repeat(2, 1fr); }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --head-h: 64px; }
  .nav { display: none; }
  .burger { display: block; }
  .site-head__phone span { display: none; }
  .site-head__phone { min-width: 44px; justify-content: center; }
  .hero { padding-top: var(--s-5); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__form { padding-top: var(--s-5); }
  .hero__cta { display: inline-flex; }
  .tags { grid-template-columns: repeat(2, 1fr); }
  .bays__head, .docs__grid, .call__grid, .services-index__form, .about__grid, .contacts__grid, .info__grid, .article__grid, .region__grid, .service__grid, .page-body__grid { grid-template-columns: 1fr; }
  .bays__note { justify-self: start; }
  .bay__link { grid-template-columns: 64px 1fr auto; }
  .bay__number { font-size: 32px; }
  .bay__arrow { display: none; }
  .services-index .bay__link { grid-template-columns: 64px 1fr auto; }
  .services-index .bay__image { display: none; }
  .steps__list { grid-template-columns: repeat(2, 1fr); }
  .reviews__list { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .service__aside, .region__aside, .side { position: static; }
  .article-card { grid-template-columns: 140px 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand__img { width: 190px; height: 29px; }
  .chevron--hero { min-height: 60px; }
  .chevron--hero .chevron__label { margin-left: var(--s-3); padding-inline: var(--s-3); }
  .chevron__label { margin-left: var(--s-3); }
  .hero__floor::before { right: 0; left: 0; }
  .hero__stamp { left: auto; right: 0; top: 4%; font-size: 20px; border-width: 3px; }
  .hero__more { position: static; margin-top: var(--s-3); }
  .tags { grid-template-columns: 1fr 1fr; gap: var(--s-2); }
  .tag { padding: var(--s-3) var(--s-4); }
  .clipboard { padding: var(--s-6) var(--s-4) var(--s-4); }
  .clipboard__fields { grid-template-columns: 1fr; }
  .bay__link { grid-template-columns: 48px 1fr; gap: var(--s-3); padding: var(--s-4) 0; }
  .bay__fact { grid-column: 2; justify-self: start; text-align: left; }
  .services-index .bay__link { grid-template-columns: 48px 1fr; }
  .steps__list { grid-template-columns: 1fr; }
  .guarantee__list, .reasons, .videos { grid-template-columns: 1fr; }
  .article-card { grid-template-columns: 1fr; }
  .article-card__img { max-width: 320px; }
  .site-foot__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .site-foot__legal { grid-template-columns: 1fr; }
  .fleet__item { width: min(78vw, 320px); }
  .fleet__track { gap: var(--s-5); }
  .contacts__addr { flex-direction: column; align-items: flex-start; }
}
