/* ==========================================================================
   Автосервис «ОСЬ» — блоки. Продолжение main.css
   ========================================================================== */

/* --- Первый экран --------------------------------------------------------- */

.hero { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2rem, 1rem + 3vw, 3rem); }

.hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 1rem + 3vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 1.2rem + 3vw, 3.5rem);
}
@media (max-width: 900px) {
  .hero__top { grid-template-columns: 1fr; align-items: start; }
}

.hero__h {
  font-size: var(--t-display);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 0;
}
.hero__h em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--marker) 62%, var(--marker) 94%, transparent 94%);
  padding-inline: 0.06em;
}
.hero__lead {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 1.75rem;
}
.hero__acts { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Метрики шапки — набраны как измерения, а не как «три статистики» */
.hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-top: 0;
}
.fact {
  background: var(--paper);
  padding: 0.9rem 1.1rem;
  display: flex; align-items: baseline; gap: 0.9rem;
}
.fact__v {
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  flex: none;
  min-width: 4.5ch;
}
.fact__u { font-size: 0.6em; color: var(--ink-3); font-weight: 400; }
.fact__k { font-size: var(--t-small); color: var(--ink-2); line-height: 1.35; }

/* --- Взрыв-схема: изюминка сайта ----------------------------------------- */

.diag {
  border: 1px solid var(--rule);
  background: var(--paper-hi);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 27vw, 400px);
}
@media (max-width: 1040px) { .diag { grid-template-columns: 1fr; } }

.diag__stage {
  position: relative;
  padding: clamp(0.75rem, 2vw, 1.75rem);
  min-width: 0;
}
/* Приводочные уголки — как на листе чертежа */
.diag__stage::before,
.diag__stage::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.diag__stage::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.diag__stage::after  { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.diag__scroll { overflow-x: auto; overscroll-behavior-x: contain; }
/* Минимальная ширина подобрана так, чтобы кружок выноски оставался
   тап-таргетом не меньше 44 px даже на экране 360 px */
.diag__svg { display: block; width: 100%; min-width: 780px; height: auto; }

.diag__hint {
  display: none;
  font-family: var(--font-tech);
  font-size: var(--t-meta);
  color: var(--ink-3);
  padding: 0.5rem 0.25rem 0;
}
@media (max-width: 720px) { .diag__hint { display: block; } }

/* Геометрия чертежа */
.dw-grid    { stroke: var(--rule-soft); stroke-width: 1; }
.dw-ground  { stroke: var(--rule); stroke-width: 1.5; stroke-dasharray: 14 9; }
.dw-body    { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.dw-glass   { fill: var(--paper-lo); stroke: var(--ink); stroke-width: 1.6; }
.dw-line    { fill: none; stroke: var(--ink-2); stroke-width: 1.4; }
.dw-part    { fill: var(--paper); stroke: var(--ink); stroke-width: 1.8; }
.dw-part-2  { fill: none; stroke: var(--ink-2); stroke-width: 1.6; }
.dw-tyre    { fill: var(--paper-lo); stroke: var(--ink); stroke-width: 2.4; }
.dw-disc    { fill: var(--paper-hi); stroke: var(--ink-2); stroke-width: 1.6; }
.dw-pipe    { fill: none; stroke: var(--ink-2); stroke-width: 3.2; stroke-linecap: round; }
.dw-wire    { fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-dasharray: 6 4; }
.dw-dim     { stroke: var(--ink-3); stroke-width: 1; }
.dw-dimtext {
  fill: var(--ink-3);
  font-family: var(--font-tech);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

/* Узел: выноска + номер позиции */
.hs { cursor: pointer; }
.hs__lead {
  stroke: var(--ink-2);
  stroke-width: 1.3;
  fill: none;
  stroke-dasharray: 3 3;
  transition: stroke var(--dur) var(--ease), stroke-width var(--dur) var(--ease);
}
.hs__ring {
  fill: var(--paper-hi);
  stroke: var(--ink);
  stroke-width: 1.8;
  transition: fill var(--dur) var(--ease), stroke-width var(--dur) var(--ease);
}
.hs__no {
  fill: var(--ink);
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 19px;
  text-anchor: middle;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  transition: fill var(--dur) var(--ease);
}
.hs__hit { fill: transparent; }

.hs:hover .hs__ring,
.hs:focus-visible .hs__ring { fill: var(--marker); stroke-width: 2.4; }
.hs:hover .hs__lead,
.hs:focus-visible .hs__lead { stroke: var(--ink); stroke-dasharray: none; }

.hs[data-on='true'] .hs__ring { fill: var(--marker); stroke-width: 2.6; }
.hs[data-on='true'] .hs__no   { fill: var(--on-marker); }
.hs[data-on='true'] .hs__lead { stroke: var(--ink); stroke-width: 1.8; stroke-dasharray: none; }
.hs:focus { outline: none; }
.hs:focus-visible .hs__ring { stroke: var(--ink); }

/* Подсветка самого узла на схеме */
.node { transition: opacity var(--dur) var(--ease); }
.diag[data-sel] .node { opacity: 0.32; }
.diag[data-sel] .node[data-on='true'] { opacity: 1; }
.diag[data-sel] .node[data-on='true'] .dw-part { fill: var(--marker); }
.diag[data-sel] .node[data-on='true'] .dw-part-2 { stroke: var(--ink); stroke-width: 2.2; }
.diag[data-sel] .node[data-on='true'] .dw-disc { fill: var(--marker); }

/* Панель разбора */
.diag__panel {
  border-left: 1px solid var(--rule);
  padding: clamp(1.25rem, 2vw, 1.85rem);
  background: var(--paper);
  display: flex; flex-direction: column;
}
@media (max-width: 1040px) {
  .diag__panel { border-left: 0; border-top: 1px solid var(--rule); }
}
.panel__idle { color: var(--ink-2); font-size: var(--t-small); }
.panel__idle strong { color: var(--ink); }

.panel__pos {
  display: inline-grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--marker);
  color: var(--on-marker);
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.9rem;
}
.panel__h { font-size: 1.3rem; margin-bottom: 0.5rem; }
.panel__sub { font-size: var(--t-small); color: var(--ink-2); margin-bottom: 1.25rem; }

.panel__label {
  font-family: var(--font-tech);
  font-size: var(--t-meta);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 1.25rem 0 0.6rem;
}
.panel__signs { list-style: none; padding: 0; margin: 0; }
.panel__signs li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--t-small);
  margin-bottom: 0.5rem;
}
.panel__signs li::before {
  content: '';
  position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 8px;
  border: 1.5px solid var(--defect);
  border-radius: 50%;
}
.panel__works { list-style: none; padding: 0; margin: 0; }
.panel__works li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: var(--t-small);
}
.panel__works li:last-child { border-bottom: 0; }
.panel__works b {
  font-family: var(--font-tech);
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.panel__foot {
  margin-top: auto;
  padding-top: 1.35rem;
  border-top: 1.5px solid var(--ink);
}
.panel__price {
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: var(--t-figure-s);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 0.35rem;
}
.panel__price span { font-size: 0.44em; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }
.panel__time { font-size: var(--t-meta); color: var(--ink-3); margin-bottom: 1.1rem; }

/* Спецификация под схемой — второй, доступный с клавиатуры орган управления */
.diag__spec {
  grid-column: 1 / -1;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--rule-soft);
}
.spec-row {
  background: var(--paper-hi);
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0.85rem 1rem;
  min-height: 3.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  transition: background var(--dur) var(--ease);
}
.spec-row:hover { background: var(--paper-lo); }
.spec-row[aria-pressed='true'] { background: var(--marker); }
.spec-row__no {
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  width: 1.75rem; height: 1.75rem;
  display: grid; place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  flex: none;
}
.spec-row__t { font-size: var(--t-small); line-height: 1.3; }
.spec-row[aria-pressed='true'] .spec-row__t { font-weight: 500; color: var(--on-marker); }
.spec-row[aria-pressed='true'] .spec-row__no { color: var(--on-marker); }

/* --- Симптомы: быстрый вход ---------------------------------------------- */

.symp {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.symp__i {
  background: var(--paper-hi);
  padding: 1.35rem 1.4rem;
  text-decoration: none;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: background var(--dur) var(--ease);
}
.symp__i:hover { background: var(--marker); }
.symp__q {
  font-family: var(--font-tech);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.28;
}
.symp__a { font-size: var(--t-small); color: var(--ink-2); }
.symp__i:hover .symp__a { color: var(--on-marker); }

/* --- Прайс и таблицы ------------------------------------------------------ */

.tbl-wrap { overflow-x: auto; border: 1px solid var(--rule); background: var(--paper-hi); }
table.tbl {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: var(--t-small);
}
.tbl caption {
  text-align: left;
  padding: 1rem 1.15rem;
  font-family: var(--font-tech);
  font-weight: 500;
  font-size: 1.0625rem;
  border-bottom: 1.5px solid var(--ink);
}
.tbl th, .tbl td {
  padding: 0.8rem 1.15rem;
  border-bottom: 1px solid var(--rule-soft);
  text-align: left;
  vertical-align: top;
}
.tbl th {
  font-family: var(--font-tech);
  font-weight: 500;
  font-size: var(--t-meta);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.tbl td.n, .tbl th.n { text-align: right; white-space: nowrap; }
.tbl td.n {
  font-family: var(--font-tech);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--paper-lo); }
.tbl__grp td {
  background: var(--paper-lo);
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: var(--t-meta);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Крупная цифра — здесь сосредоточена смелость системы */
.figure {
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: var(--t-figure);
  line-height: 0.98;
  letter-spacing: -0.03em;
  display: block;
}
.figure__u {
  font-size: max(0.28em, 0.8125rem);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-3);
  margin-left: 0.25em;
}

.rate {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.rate__i { background: var(--paper-hi); padding: clamp(1.25rem, 2.5vw, 2rem); }
.rate__k {
  font-family: var(--font-tech);
  font-size: var(--t-meta);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.85rem;
}
.rate__n { margin-bottom: 0.6rem; }
.rate__d { font-size: var(--t-small); color: var(--ink-2); margin: 0; }

/* --- Маршрутная карта ремонта -------------------------------------------- */

.route { display: grid; gap: 0; counter-reset: step; }
.route__i {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: clamp(1rem, 2vw, 1.75rem);
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  position: relative;
}
.route__i:last-child { border-bottom: 1px solid var(--rule); }
.route__n {
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  letter-spacing: -0.02em;
  padding-top: 0.1rem;
}
.route__h { font-size: 1.1875rem; margin-bottom: 0.45rem; }
.route__d { font-size: var(--t-small); color: var(--ink-2); margin: 0; max-width: 62ch; }
.route__i[data-key='true'] .route__n { color: var(--on-marker); background: var(--marker); border-radius: 2px; text-align: center; height: 2.4rem; line-height: 2.4rem; }

/* --- Статус ремонта ------------------------------------------------------- */

.track { border: 1px solid var(--rule); background: var(--paper-hi); }
.track__head {
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  border-bottom: 1.5px solid var(--ink);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: baseline;
}
.track__no {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.track__car { font-size: var(--t-small); color: var(--ink-2); }
.track__badge {
  margin-left: auto;
  font-family: var(--font-tech);
  font-size: var(--t-meta);
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  background: var(--marker);
  color: var(--on-marker);
  white-space: nowrap;
}
.track__steps { list-style: none; margin: 0; padding: 0; }
.track__s {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem clamp(1.25rem, 2.5vw, 1.85rem);
  border-bottom: 1px solid var(--rule-soft);
}
.track__s:last-child { border-bottom: 0; }
.track__dot {
  width: 1.5rem; height: 1.5rem;
  border: 1.5px solid var(--rule);
  border-radius: 50%;
  margin-top: 0.15rem;
  display: grid; place-items: center;
  flex: none;
}
.track__s[data-state='done'] .track__dot { background: var(--ink); border-color: var(--ink); }
.track__s[data-state='done'] .track__dot::after {
  content: ''; width: 9px; height: 5px;
  border-left: 1.6px solid var(--paper-hi);
  border-bottom: 1.6px solid var(--paper-hi);
  transform: rotate(-45deg) translate(1px, -1px);
}
.track__s[data-state='now'] .track__dot { background: var(--marker); border-color: var(--ink); }
.track__s[data-state='now'] .track__dot::after {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--on-marker);
}
.track__s[data-state='wait'] { color: var(--ink-3); }
.track__t { font-weight: 500; font-size: var(--t-small); }
.track__s[data-state='now'] .track__t { font-family: var(--font-tech); font-weight: 600; }
.track__c { font-size: var(--t-meta); color: var(--ink-2); margin: 0.25rem 0 0; }
.track__s[data-state='wait'] .track__c { color: var(--ink-3); }
.track__when {
  font-family: var(--font-tech);
  font-size: var(--t-meta);
  color: var(--ink-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.track__foot {
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  border-top: 1.5px solid var(--ink);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: baseline;
}
.track__sum { font-family: var(--font-tech); font-weight: 600; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.track__note { font-size: var(--t-meta); color: var(--ink-2); margin: 0; }

/* --- Отзывы --------------------------------------------------------------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.quote {
  background: var(--paper-hi);
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  display: flex; flex-direction: column;
}
.quote__t { font-size: var(--t-small); margin-bottom: 1.25rem; }
.quote__t p { margin-bottom: 0.75rem; }
.quote__m { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--rule-soft); }
.quote__w { font-family: var(--font-tech); font-weight: 500; font-size: var(--t-small); }
.quote__c { font-size: var(--t-meta); color: var(--ink-3); margin-top: 0.2rem; }
.quote__job {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-tech);
  font-size: var(--t-meta);
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-2);
}

/* --- Плитки «о сервисе» ---------------------------------------------------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.tile { background: var(--paper-hi); padding: clamp(1.35rem, 2.5vw, 2rem); }
.tile__h { font-size: 1.1875rem; margin-bottom: 0.6rem; }
.tile__d { font-size: var(--t-small); color: var(--ink-2); margin: 0; }
.tile__n { margin-bottom: 0.75rem; }

/* --- Инверсная полоса: единственная тёмная секция ------------------------ */

.band {
  background: var(--steel);
  color: var(--ink-on-steel);
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
}
.band h2 { color: var(--ink-on-steel); }
.band p { color: var(--ink-2-on-steel); }
.band .shead__pos { border-color: var(--ink-2-on-steel); color: var(--ink-on-steel); }
.band .shead__title::after { background: var(--rule-steel); }
.band .shead__note { color: var(--ink-2-on-steel); }
.band .shead__meta { color: var(--ink-2-on-steel); }
.band .route__i { border-color: var(--rule-steel); }
.band .route__i:last-child { border-bottom-color: var(--rule-steel); }
.band .route__n { color: var(--ink-2-on-steel); }
.band .route__d { color: var(--ink-2-on-steel); }

/* --- Формы ----------------------------------------------------------------- */

.form { display: grid; gap: 1.15rem; max-width: 34rem; }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--font-tech);
  font-size: var(--t-meta);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field input {
  font: inherit;
  font-size: 1.0625rem;
  padding: 0.8rem 0.95rem;
  min-height: 3rem;
  background: var(--paper-hi);
  border: 1.5px solid var(--rule);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease);
}
.field input::placeholder { color: var(--ink-3); }
.field input:hover { border-color: var(--ink-3); }
.field input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(214, 237, 23, 0.55); }
.field input[aria-invalid='true'] { border-color: var(--defect); background: var(--defect-bg); }
.field__err { font-size: var(--t-meta); color: var(--defect); min-height: 1.1em; }

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: var(--t-small);
  line-height: 1.5;
  cursor: pointer;
  padding: 0.9rem;
  border: 1.5px solid var(--rule);
  border-radius: 2px;
  background: var(--paper-hi);
}
.consent input {
  width: 1.35rem; height: 1.35rem;
  margin: 0.12rem 0 0;
  accent-color: var(--ink);
  flex: none;
  cursor: pointer;
}
.consent a { text-decoration-color: var(--marker-lo); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form__note { font-size: var(--t-meta); color: var(--ink-3); margin: 0; }
.form__ok {
  border: 1.5px solid var(--ink);
  background: var(--marker);
  color: var(--on-marker);
  padding: 1.1rem 1.25rem;
  border-radius: 2px;
  font-size: var(--t-small);
}
.form__fail {
  border: 1.5px solid var(--defect);
  background: var(--defect-bg);
  color: var(--defect);
  padding: 1.1rem 1.25rem;
  border-radius: 2px;
  font-size: var(--t-small);
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }

/* --- Контакты -------------------------------------------------------------- */

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.contact-list li:first-child { border-top: 1px solid var(--rule); }
.contact-list dt, .contact-list__k {
  font-family: var(--font-tech);
  font-size: var(--t-meta);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.3rem;
}
.contact-list__v { font-size: 1.0625rem; }
.contact-list__v a {
  font-family: var(--font-tech); font-weight: 500;
  display: inline-flex; align-items: center;
  min-height: 2.75rem;
}

/* --- Уведомление о cookie -------------------------------------------------- */

.cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--steel);
  color: var(--ink-on-steel);
  border-top: 2px solid var(--marker);
  padding: 1.15rem var(--pad-x);
  transform: translateY(110%);
  transition: transform var(--dur-slow) var(--ease);
}
.cookie[data-show='true'] { transform: none; }
.cookie__in {
  width: min(1400px, 100%);
  margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 1rem 1.75rem;
  align-items: center;
}
.cookie__t { font-size: var(--t-small); margin: 0; flex: 1 1 24rem; color: var(--ink-2-on-steel); }
.cookie__t a { color: var(--ink-on-steel); }
/* Обе кнопки одной ширины: неравнозначность выбора — то, к чему
   претензии по cookie возникают в первую очередь */
.cookie__acts { display: flex; gap: 0.65rem; flex: 0 1 auto; }
.cookie .btn {
  min-height: 2.75rem;
  padding-inline: 1.15rem;
  flex: 1 1 0;
  min-width: 8.5rem;
}
@media (max-width: 560px) {
  .cookie { padding-block: 0.9rem; }
  .cookie__acts { width: 100%; }
  .cookie .btn { min-width: 0; }
}

/* --- Прочее ---------------------------------------------------------------- */

.notice {
  border-left: 1px solid var(--ink);
  background: var(--paper-hi);
  padding: 1.15rem 1.35rem;
  font-size: var(--t-small);
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.notice__h {
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: var(--t-small);
  margin-bottom: 0.4rem;
}

.doc { max-width: 74ch; }
.doc h2 { margin: 2.5rem 0 1rem; font-size: 1.35rem; }
.doc h3 { margin: 1.75rem 0 0.65rem; font-size: 1.0625rem; }
.doc p, .doc li { font-size: var(--t-small); }
.doc__meta {
  font-family: var(--font-tech);
  font-size: var(--t-meta);
  color: var(--ink-3);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.75rem;
}

.crumbs {
  font-size: var(--t-meta);
  color: var(--ink-3);
  padding-top: 1.75rem;
}
.crumbs a {
  text-decoration: none;
  display: inline-flex; align-items: center;
  min-height: 2.75rem;
}
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin-inline: 0.4rem; }

.page-head { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.75rem, 1rem + 3vw, 3rem); }
.page-head h1 { margin-bottom: 1rem; }
.page-head p { color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); }

/* Один авторский момент движения: проявление при первом показе */
.rise { opacity: 0; transform: translateY(14px); }
.rise[data-in='true'] {
  opacity: 1; transform: none;
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; }
}
