/* «Автопапка» — единый лист стилей. Палитра: слива, гранат, латунь, крем.
   Горизонтальных переливов нет за счёт min-width:0 у грид-деток и
   overflow-wrap: anywhere у текста; overflow-x здесь запрещён. */

:root {
  --plum: #1e1b2e;
  --plum-2: #2a2540;
  --plum-3: #171522;
  --cream: #f5f2eb;
  --cream-2: #ece7dc;
  --sand: #e6e0d3;
  --lav: #e2dfe8;
  --garnet: #a8325c;
  --garnet-2: #7e2246;
  --garnet-3: #d9739a;
  --brass: #b8863b;
  --line: #d5cfc4;
  --line-dark: rgba(226, 223, 232, .17);
  --ink-text: #2d2738;
  --muted: #6c6577;
  --muted-dark: #b3adc0;
  --shadow: 0 22px 60px rgba(30, 27, 46, .13);
  --round: 22px;
  --max: 1180px;
  --f-display: "Oswald", "Tahoma", sans-serif;
  --f-body: "Rubik", "Helvetica Neue", sans-serif;
  --f-mono: "Roboto Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  background: var(--cream);
  color: var(--ink-text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
body.is-locked { overflow: hidden; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
hr { height: 1px; margin: 34px 0; border: 0; background: var(--line); }

.wrap { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.band { padding: 76px 0; }
.band--sand { background: var(--sand); }
.band--lav { background: var(--lav); }
.band--plum { background: var(--plum); color: var(--cream); }
.band--tight { padding: 52px 0; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: .004em;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2.3rem, 7.4vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.16rem, 2.6vw, 1.5rem); font-weight: 500; }
h4 { font-size: 1.06rem; font-weight: 500; }
p { margin: 0 0 1em; overflow-wrap: anywhere; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; overflow-wrap: anywhere; }
li + li { margin-top: .45em; }
strong { font-weight: 700; }
code, .mono { font-family: var(--f-mono); font-size: .92em; letter-spacing: -.02em; }
.lede { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: clamp(1.02rem, 1.8vw, 1.16rem); }
.band--plum .lede { color: var(--muted-dark); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 200; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-160%); border-radius: 10px; background: var(--cream); }
.skip:focus { transform: translateY(0); }
.kicker { margin: 0 0 12px; color: var(--garnet-2); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.band--plum .kicker { color: var(--garnet-3); }

/* шапка */
.bar { position: sticky; z-index: 90; top: 0; border-bottom: 1px solid var(--line-dark); background: rgba(30, 27, 46, .95); backdrop-filter: blur(16px); color: var(--cream); }
.bar-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mark { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; text-decoration: none; font-family: var(--f-display); font-size: 1.24rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.mark svg { width: 34px; height: 34px; }
.mark i { font-style: normal; color: var(--garnet-3); }
.bar-nav { display: none; gap: 24px; align-items: center; }
.bar-nav a { color: var(--cream); text-decoration: none; font-size: .92rem; opacity: .8; }
.bar-nav a:hover, .bar-nav a:focus-visible, .bar-nav a[aria-current] { opacity: 1; color: var(--garnet-3); }
.bar-actions { display: flex; gap: 8px; align-items: center; }
.bar-actions .act--ghost { display: none; }
.bar-menu {
  min-height: 42px; display: none; align-items: center; gap: 8px; padding: 8px 13px;
  border: 1px solid rgba(245, 242, 235, .28); border-radius: 11px; background: transparent;
  color: var(--cream); cursor: pointer; font-family: var(--f-display); font-size: .9rem;
  letter-spacing: .05em; text-transform: uppercase;
}
.bar-menu::after { content: "▾"; font-size: .8em; }
.bar-menu[aria-expanded="true"]::after { content: "▴"; }

@media (max-width: 1023px) {
  .bar-menu { display: inline-flex; }
  .bar-nav {
    display: none; position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; gap: 0; padding: 8px 0 14px;
    border-bottom: 1px solid var(--line-dark); background: var(--plum);
  }
  .bar-nav.is-open { display: flex; }
  .bar-nav a { width: 100%; padding: 12px 16px; opacity: 1; font-size: 1rem; }
}

/* кнопки */
.act {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border: 1px solid transparent; border-radius: 13px; cursor: pointer;
  text-decoration: none; font-weight: 500; font-family: var(--f-display); font-size: 1rem;
  letter-spacing: .02em; text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.act:hover { transform: translateY(-2px); }
.act:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid rgba(168, 50, 92, .4); outline-offset: 3px; }
.act--solid { background: var(--garnet); color: var(--cream); box-shadow: 0 12px 26px rgba(168, 50, 92, .24); }
.act--solid:hover { background: var(--garnet-2); }
.act--line { border-color: var(--garnet); color: var(--garnet-2); background: transparent; }
.act--line:hover { background: rgba(168, 50, 92, .08); }
.act--ghost { border-color: rgba(245, 242, 235, .28); background: transparent; color: var(--cream); }
.act--ghost:hover { border-color: var(--garnet-3); color: var(--garnet-3); }
.act--sm { min-height: 42px; padding: 8px 15px; font-size: .88rem; }
.act--wide { width: 100%; }
.cta-narrow { display: none; }

/* первый экран */
.lead { position: relative; overflow: hidden; padding: 64px 0 76px; background: var(--plum); color: var(--cream); }
.lead::after {
  content: ""; position: absolute; top: -190px; right: -170px; width: 460px; height: 460px;
  border: 1px solid rgba(168, 50, 92, .5); border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(184, 134, 59, .05), 0 0 0 116px rgba(226, 223, 232, .03);
  pointer-events: none;
}
.lead-grid { position: relative; z-index: 1; display: grid; gap: 40px; }
.lead-brand { display: block; margin-bottom: 16px; font-family: var(--f-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--garnet-3); }
.lead h1 { margin-bottom: 18px; max-width: 15ch; }
.lead-copy > p { max-width: 620px; color: #d5cfdd; }
.vin { display: grid; gap: 10px; margin-top: 28px; max-width: 740px; }
.vin-box { position: relative; }
.vin input {
  width: 100%; min-height: 60px; padding: 0 18px; border: 1px solid #6a6276; border-radius: 14px;
  background: #2c2740; color: var(--cream); font-family: var(--f-mono); font-size: 1.02rem; letter-spacing: .12em;
}
.vin input::placeholder { color: #a49db1; font-family: var(--f-body); letter-spacing: 0; }
.vin input:invalid { border-color: #6a6276; }
.vin-help { margin: 0; color: #bfb8c8; font-size: .84rem; }
.vin-error { min-height: 1.3em; margin: 4px 0 0; color: var(--garnet-3); font-size: .88rem; font-weight: 500; }
.marks { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 26px; color: #cbc5d3; font-size: .88rem; }
.marks span { display: inline-flex; align-items: center; gap: 8px; }
.marks span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.lead-shot { position: relative; justify-self: center; align-self: center; width: min(100%, 460px); overflow: hidden; border-radius: var(--round); box-shadow: var(--shadow); }
.lead-shot img { width: 100%; height: auto; }

/* карточки составов */
.tiles { display: grid; gap: 14px; margin-top: 34px; }
.tile { min-height: 172px; padding: 22px; border: 1px solid var(--line); border-radius: var(--round); background: var(--cream); }
.tile h3 { margin-bottom: 6px; font-size: 1.1rem; }
.tile p { margin: 0; color: var(--muted); font-size: .92rem; }
.tile--dark { border-color: var(--line-dark); background: var(--plum-2); color: var(--cream); }
.tile--dark p { color: #c6c0cd; }
.tagline { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--sand); color: var(--garnet-2); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.band--plum .tagline { background: rgba(184, 134, 59, .18); color: var(--brass); }

/* порядок работ */
.flow { display: grid; gap: 14px; margin-top: 34px; }
.flow-step { position: relative; padding: 24px 24px 24px 26px; border-radius: var(--round); background: var(--cream); border-left: 3px solid var(--garnet); }
.flow-step h3 { margin-bottom: 7px; }
.flow-step p { margin-bottom: 0; color: var(--muted); }
.flow-step p:last-child { margin-bottom: 0; }

/* тарифы */
.plans { margin-top: 32px; }
.plan-tabs { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 6px; border-radius: 18px; background: #cfc9d6; }
.plan-tab { min-height: 58px; padding: 10px 14px; border: 0; border-radius: 13px; background: transparent; cursor: pointer; text-align: center; font-family: var(--f-display); font-size: 1.02rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; }
.plan-tab small { display: block; font-family: var(--f-mono); font-size: .76rem; letter-spacing: 0; text-transform: none; opacity: .74; }
.plan-tab[aria-selected="true"] { background: var(--garnet); color: var(--cream); box-shadow: 0 9px 20px rgba(168, 50, 92, .22); }
.plan { margin-top: 14px; padding: 26px; border: 1px solid var(--line); border-radius: var(--round); background: var(--cream); box-shadow: var(--shadow); }
.js .plan-panel { display: none; }
.js .plan-panel.is-on { display: block; animation: rise .26s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.plan-head { display: grid; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan-name { margin-bottom: 7px; }
.plan-sub { max-width: 620px; margin: 0; color: var(--muted); }
.plan-price { font-family: var(--f-display); font-size: clamp(2.3rem, 6.4vw, 4.1rem); font-weight: 600; line-height: 1; letter-spacing: -.01em; color: var(--garnet-2); white-space: nowrap; }
.plan-price small { font-family: var(--f-body); font-size: .96rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan-meta { display: grid; gap: 14px; margin: 22px 0; }
.spec { padding: 14px 16px; border-radius: 14px; background: var(--cream-2); }
.spec-label { display: block; color: var(--muted); font-size: .78rem; }
.spec-value { font-family: var(--f-display); font-size: 1.12rem; font-weight: 500; }
.gauge { height: 7px; margin-top: 10px; border-radius: 999px; background: #cfc9d6; }
.gauge i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--garnet), var(--brass)); }
.rows { display: grid; gap: 9px; margin: 20px 0 26px; }
.row { display: flex; gap: 11px; align-items: flex-start; padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; background: #f0ece4; font-size: .95rem; }
.row::before { flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; background: var(--garnet); color: var(--cream); content: "✓"; font-size: .8rem; }
.row--off { color: var(--muted); background: transparent; border-style: dashed; }
.row--off::before { content: "—"; background: var(--line); color: var(--muted); }
.plan-note { margin: 0 0 18px; color: var(--muted); font-size: .86rem; }

/* переплетение блоков «2 в ряд / 3 в ряд» */
.grid-2, .grid-3 { display: grid; gap: 18px; margin-top: 30px; }

/* статьи */
.cards { display: grid; gap: 16px; margin-top: 32px; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--round); background: var(--cream); }
.card-img { background: var(--cream-2); }
.card-img img { width: 100%; height: auto; }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; }
.card-body p { color: var(--muted); font-size: .95rem; }
.card-body .act { margin-top: auto; }
.card-meta { color: var(--muted); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }

/* вопросы */
.qa { margin-top: 30px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { position: relative; padding: 20px 46px 20px 0; list-style: none; cursor: pointer; font-family: var(--f-display); font-size: 1.12rem; font-weight: 500; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { position: absolute; top: 17px; right: 6px; content: "+"; color: var(--garnet); font-size: 1.5rem; line-height: 1; }
.qa details[open] summary::after { content: "−"; }
.qa-a { max-width: 840px; padding: 0 44px 22px 0; color: var(--muted); }

/* контакты */
.talk-grid { display: grid; gap: 36px; }
.contacts { display: grid; gap: 12px; margin-top: 24px; }
.contact-line { padding: 16px 17px; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(226, 223, 232, .06); }
.contact-line small { display: block; color: var(--muted-dark); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.form { padding: 24px; border-radius: var(--round); background: var(--cream); color: var(--ink-text); }
.field { margin-bottom: 15px; }
.field label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; border: 1px solid #c4bccb; border-radius: 11px; background: #efeae1; }
.field textarea { min-height: 132px; resize: vertical; }
.field-row { display: grid; gap: 15px; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 15px 0; font-size: .82rem; color: var(--muted); }
.agree input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--garnet); flex: 0 0 auto; }
.agree a { color: var(--garnet-2); }
.form-status { min-height: 1.5em; margin: 12px 0 0; color: var(--garnet-2); font-weight: 500; font-size: .92rem; }
.form-status[data-tone="warn"] { color: var(--brass); }

/* подвал */
.foot { padding: 42px 0; background: var(--plum-3); color: var(--cream); }
.foot-grid { display: grid; gap: 26px; }
.foot-mail { align-self: start; color: #c6c0cd; font-size: .95rem; }
.foot-mail small { display: block; margin-bottom: 5px; color: #9b94a6; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.foot-links { display: grid; gap: 9px; justify-items: start; }
.foot-links a { color: #c6c0cd; font-size: .9rem; }
.foot-slip { max-width: 1080px; margin: 26px 0 0; color: #9b94a6; font-size: .78rem; line-height: 1.7; }
.foot-note { margin: 18px 0 0; color: #9b94a6; font-size: .78rem; }
.foot-rekv { margin: 18px 0 0; color: #b6b0c0; font-size: .82rem; }

/* модалка входа */
.sheet { position: fixed; z-index: 150; inset: 0; display: none; place-items: center; padding: 16px; background: rgba(23, 21, 34, .85); }
.sheet[aria-hidden="false"] { display: grid; }
.sheet-panel { position: relative; width: min(100%, 540px); max-height: calc(100vh - 32px); overflow: auto; padding: 26px; border-radius: var(--round); background: var(--cream); box-shadow: var(--shadow); }
.sheet-close { position: absolute; top: 13px; right: 13px; width: 40px; height: 40px; border: 0; border-radius: 11px; background: var(--lav); cursor: pointer; font-size: 1.35rem; line-height: 1; }
.tabs { display: flex; gap: 6px; padding: 5px; margin: 22px 0; border-radius: 13px; background: var(--lav); }
.tab { flex: 1; min-height: 44px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font-family: var(--f-display); font-size: .98rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; }
.tab.is-on { background: var(--garnet); color: var(--cream); }
.hint { margin: -6px 0 15px; color: var(--muted); font-size: .8rem; }

/* cookie */
.ck { position: fixed; z-index: 120; right: 14px; bottom: 14px; left: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); box-shadow: var(--shadow); }
.ck[hidden] { display: none; }
.ck p { margin: 0 0 13px; font-size: .86rem; color: var(--muted); }
.ck-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-actions .act--line { color: var(--garnet-2); }

/* юридические документы и статьи */
.crumbs { margin: 0 0 18px; color: var(--muted-dark); font-size: .82rem; }
.crumbs a { color: inherit; }
.doc-hero { padding: 58px 0 42px; background: var(--plum); color: var(--cream); }
.doc-hero h1 { margin-bottom: 12px; }
.doc-hero p { color: #c6c0cd; }
.doc { padding: 50px 0 88px; }
.doc-body { width: min(100%, 880px); }
.doc-body h2 { margin-top: 44px; font-size: 1.5rem; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { margin-top: 28px; font-size: 1.14rem; }
.doc-body p, .doc-body li { color: #544d5e; }
.notice { margin: 26px 0; padding: 18px 20px; border-left: 3px solid var(--garnet); border-radius: 0 14px 14px 0; background: var(--cream-2); }
.notice p { color: var(--ink-text); }
.art-hero { padding-bottom: 0; }
.art-meta { color: #c6c0cd; font-size: .86rem; }
.art-body { padding: 46px 0 84px; }
.art-body h2 { margin-top: 40px; font-size: 1.6rem; }
.art-body h3 { margin-top: 28px; }
.art-fig { margin: 32px 0; overflow: hidden; border-radius: var(--round); background: var(--cream-2); box-shadow: 0 18px 42px rgba(30, 27, 46, .12); }
.art-fig img { width: 100%; height: auto; }
.toc { margin: 30px 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--round); background: var(--cream-2); }
.toc h2 { margin: 0 0 12px; font-size: 1.06rem; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { color: var(--garnet-2); }
.takeaway { margin-top: 30px; padding: 22px; border-radius: var(--round); background: var(--plum); color: var(--cream); }
.takeaway h3 { color: var(--garnet-3); }

/* заявка */
.order { display: grid; gap: 24px; padding: 60px 0 84px; }
.order-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--round); background: var(--cream); box-shadow: var(--shadow); }
.order-card h2 { margin-top: 0; font-size: 1.4rem; }
.pick { display: grid; gap: 10px; margin: 18px 0 6px; }
.pick-opt { display: flex; gap: 12px; align-items: flex-start; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: #f0ece4; }
.pick-opt input { margin: 4px 0 0; accent-color: var(--garnet); flex: 0 0 auto; }
.pick-opt b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.04rem; letter-spacing: .02em; text-transform: uppercase; }
.pick-opt span { color: var(--muted); font-size: .88rem; }
.pick-opt:has(input:checked) { border-color: var(--garnet); background: rgba(168, 50, 92, .06); }
.sum { margin-top: 20px; padding: 18px 20px; border-radius: var(--round); background: var(--plum); color: var(--cream); }
.sum-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: .92rem; color: #cfc9d7; }
.sum-row + .sum-row { border-top: 1px solid var(--line-dark); }
.sum-total { font-family: var(--f-display); font-size: 1.5rem; color: var(--cream); }
.sum-total b { color: var(--garnet-3); }
.vin-view { width: 100%; padding: 14px 16px; border: 1px solid #c4bccb; border-radius: 12px; background: #efeae1; font-family: var(--f-mono); font-size: 1.06rem; letter-spacing: .1em; text-transform: uppercase; }
.vin-view::placeholder { font-family: var(--f-body); letter-spacing: 0; text-transform: none; }
.steps-line { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 26px; padding: 0; list-style: none; color: var(--muted); font-size: .86rem; }
.steps-line li { display: flex; align-items: center; gap: 8px; }
.steps-line li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.steps-line li.is-now::before { background: var(--garnet); }
.steps-line li.is-now { color: var(--ink-text); font-weight: 500; }

/* кабинет */
.cab { padding: 46px 0 84px; }
.cab-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; justify-content: space-between; margin-bottom: 26px; }
.cab-list { display: grid; gap: 14px; }
.rec { overflow: hidden; border: 1px solid var(--line); border-radius: var(--round); background: var(--cream); }
.rec-head { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; padding: 17px 20px; background: var(--cream-2); }
.rec-num { font-family: var(--f-mono); font-size: 1rem; letter-spacing: .06em; }
.rec-vin { font-family: var(--f-mono); font-size: .84rem; color: var(--muted); letter-spacing: .04em; word-break: break-all; }
.rec-body { padding: 20px; }
.rec-body dl { display: grid; gap: 6px 18px; margin: 0; }
.rec-body dt { color: var(--muted); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.rec-body dd { margin: 0 0 12px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 500; letter-spacing: .03em; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--new { background: rgba(184, 134, 59, .16); color: #8a6224; }
.chip--run { background: rgba(168, 50, 92, .12); color: var(--garnet-2); }
.chip--ok { background: rgba(47, 109, 91, .14); color: #2c6a58; }
.empty { padding: 34px 22px; border: 1px dashed var(--line); border-radius: var(--round); text-align: center; color: var(--muted); }
.bars { display: grid; gap: 8px; margin: 14px 0 0; }
.bar-line { display: grid; grid-template-columns: minmax(96px, .5fr) minmax(0, 1fr); gap: 12px; align-items: center; font-size: .88rem; }
.bar-line i { display: block; height: 9px; border-radius: 999px; background: linear-gradient(90deg, var(--garnet), var(--brass)); }
.stamp { display: inline-block; padding: 8px 14px; border: 2px solid var(--garnet); border-radius: 8px; color: var(--garnet-2); font-family: var(--f-display); font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; transform: rotate(-2deg); }
.band--plum .stamp { border-color: var(--garnet-3); color: var(--garnet-3); }

/* 404 */
.lost { padding: 96px 0 110px; text-align: center; }
.lost h1 { font-size: clamp(3rem, 13vw, 7rem); color: var(--garnet); }
.lost p { max-width: 520px; margin-inline: auto; color: var(--muted); }
.lost .act { margin-top: 22px; }

/* карточка заявки */
.kv { display: grid; gap: 6px 24px; margin: 0 0 22px; padding: 0; }
.kv div { min-width: 0; }
.kv dt { color: var(--muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.kv dd { margin: 0 0 8px; font-weight: 500; overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* таблицы */
.scroll-x { overflow-x: auto; }
.scroll-x .table { min-width: 540px; }
.scroll-hint { display: none; margin: 8px 0 0; color: var(--muted); font-size: .8rem; }
@media (max-width: 700px) {
  .scroll-hint { display: block; }
}
.table { width: 100%; margin-top: 26px; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--f-display); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: .84rem; }
.table td:first-child { font-weight: 500; }
.band--plum .table th, .band--plum .table td { border-color: var(--line-dark); }
.band--plum .table th { color: var(--garnet-3); }

/* адаптив */
@media (min-width: 640px) {
  .vin { grid-template-columns: minmax(0, 1fr) auto; }
  .vin .vin-help, .vin .vin-error { grid-column: 1 / -1; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .plan-meta { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ck { left: auto; width: min(460px, calc(100% - 28px)); }
  .order { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
}

@media (min-width: 1024px) {
  .bar-nav { display: flex; }
  .bar-actions .act--ghost { display: inline-flex; }
}
@media (min-width: 860px) {
  .lead { padding: 40px 0 56px; min-height: min(68svh, 620px); display: grid; align-items: center; }
  .lead-grid { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: center; gap: 46px; }
  .lead h1 { max-width: 14ch; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan { padding: 40px; }
  .talk-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
  .foot-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, 1.15fr); align-items: start; }
  .foot-links { justify-items: end; text-align: right; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 430px) {
  .wrap { width: min(calc(100% - 24px), var(--max)); }
  body { font-size: 16px; }
  .bar-inner { min-height: 66px; gap: 8px; }
  .mark { gap: 7px; font-size: 1.06rem; }
  .mark svg { width: 28px; height: 28px; }
  .bar-actions .act--solid { min-height: 40px; padding: 7px 12px; font-size: .82rem; }
  .bar-menu { min-height: 40px; padding: 7px 10px; font-size: .82rem; }
  .cta-wide { display: none; }
  .cta-narrow { display: inline; }
  .band { padding: 56px 0; }
  .lead { padding-top: 46px; }
  .plan { padding: 19px; }
  .plan-tab { font-size: .92rem; }
  .form, .order-card, .rec-body { padding: 18px; }
  .bar-line { grid-template-columns: minmax(84px, .45fr) minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .mark { font-size: .96rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
