/* Где корпоратив. Стиль и цвета — DESIGN.md. Цвета только через токены ниже. */
@font-face { font-family: "Display"; src: url("/fonts/display-cyrillic.woff2") format("woff2"); font-weight: 1 1000; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Display"; src: url("/fonts/display-latin.woff2") format("woff2"); font-weight: 1 1000; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD; }
@font-face { font-family: "Text"; src: url("/fonts/text-cyrillic.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Text"; src: url("/fonts/text-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD; }

:root {
  --field: #16233F;
  --on-field: #F6F1E7;
  --head: #16233F;
  --on-head: #EEF1F7;
  --accent: #E8B95B;
  --accent-text: #B0283F;
  --warm: #FBF0D9;
  --ink: #16233F;
  --ink-soft: #4A5672;
  --bg: #F3F4F7;
  --surface: #FFFFFF;
  --line: #D5DAE4;
  --star: #E39A17;
  --yes: #136B3A;
  --yes-bg: #DCF3E3;
  --no: #B3212F;
  --no-bg: #FCE4E5;
  --ask: #7A5200;
  --ask-bg: #FFEFC2;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316233F' stroke-width='2.2'/%3E%3C/svg%3E");
  --display: "Display", "Arial Narrow", sans-serif;
  --text: "Text", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: max(clamp(16px, 4vw, 56px), calc((100vw - var(--wrap)) / 2));
  --section: clamp(40px, 6vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body { display: flex; flex-direction: column; min-height: 100svh; margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--text); }
main { flex: 1 0 auto; padding-bottom: var(--section); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.top--dark :focus-visible, .vhead :focus-visible, .foot :focus-visible { outline-color: var(--accent); }
.hero :focus-visible, .top--hero :focus-visible, .bar :focus-visible { outline-color: var(--on-field); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 20; }

.dot { display: inline-block; width: .72em; height: .72em; border-radius: 50%; margin-right: .4em; flex: none; }
.dot--on { background: var(--accent-text); }
.tag { display: inline-block; padding: 1px 8px; background: var(--warm); color: var(--ink); font-size: 14px; font-weight: 500; }

/* Шапка */
.top { display: flex; justify-content: flex-start; align-items: baseline; gap: 4px 20px; flex-wrap: wrap; padding: 12px var(--gutter); }
.top--hero { background: var(--field); color: var(--on-field); }
.top .dot--on { background: var(--accent); }
.top--dark { background: var(--head); color: var(--on-head); }
.brand { font: 800 26px/1 var(--display); letter-spacing: .01em; text-decoration: none; }
.top__nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; font-size: 14px; }
.top__nav a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); opacity: .94; }
.top__nav a[aria-current="page"] { color: var(--accent); opacity: 1; font-weight: 600; text-decoration: none; }
.top__meta { display: flex; flex-wrap: wrap; gap: 2px 20px; margin-left: auto; font-size: 14px; opacity: .88; }

/* Первый экран */
.hero { --pad-top: clamp(10px, 2vw, 18px); --pad-end: clamp(20px, 3vw, 32px); background: var(--field); color: var(--on-field); padding: var(--pad-top) var(--gutter) var(--pad-end); }
.hero__photo { width: calc(100% + 2 * var(--gutter)); max-width: none; height: 150px; margin: 18px calc(-1 * var(--gutter)) calc(-1 * var(--pad-end)); object-fit: cover; object-position: center 22%; }
.hero__title { font: 800 clamp(42px, 5.1vw, 72px)/.98 var(--display); letter-spacing: -.005em; }
.calc { display: grid; grid-template-columns: max-content minmax(0, 1fr) minmax(0, 1fr); gap: 12px; max-width: 620px; margin-top: clamp(14px, 1.8vw, 20px); }
.field { position: relative; display: grid; gap: 6px; align-content: start; min-width: 0; }
.field:has(.pick[aria-expanded="true"]) { z-index: 30; }
.field label { font: 600 14px/1.2 var(--text); }
.step { display: inline-flex; width: max-content; height: 52px; background: var(--accent); color: var(--field); }
.step__btn { flex: none; width: 46px; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: 600 28px/1 var(--text); cursor: pointer; }
@media (hover: hover) { .step__btn:hover { background-color: color-mix(in srgb, var(--field) 14%, transparent); } }
.step__in { width: 64px; min-width: 0; padding: 0; border: 0; border-inline: 1px solid color-mix(in srgb, var(--field) 24%, transparent); border-radius: 0; background: transparent; color: inherit; text-align: center; font: 800 30px/1 var(--display); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.step__in::-webkit-outer-spin-button, .step__in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step__btn:focus-visible, .step__in:focus-visible, .calc__sel:focus-visible, .pick:focus-visible { outline: 3px solid var(--field); outline-offset: -5px; }
.calc__sel, .pick {
  appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 52px; padding: 0 34px 0 12px; color: var(--field); border: 0; border-radius: 0;
  background: var(--accent) var(--chevron) no-repeat right 12px center / 12px auto; font: 700 24px/1 var(--display); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
}
.calc__sel:hover, .pick:hover { background-color: color-mix(in srgb, var(--accent) 84%, white); }
.calc__sel option { font: 500 16px var(--text); color: var(--ink); background: var(--surface); }
.pick__list { position: absolute; top: calc(100% + 4px); left: 0; min-width: 100%; width: max-content; max-height: 320px; margin: 0; padding: 4px 0; overflow-y: auto; list-style: none; background: var(--surface); color: var(--ink); box-shadow: 0 10px 28px rgb(0 0 0 / .3); }
.calc .field:last-child .pick__list { left: auto; right: 0; }
.pick__item { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; padding: 0 14px; font: 500 16px/1.2 var(--text); white-space: nowrap; cursor: pointer; }
.pick__item.is-active { background: var(--warm); }
.pick__item[aria-selected="true"] { font-weight: 700; }
.pick__item[aria-selected="true"]::after { content: "✓"; color: var(--accent-text); }

.hero__sum { margin-top: clamp(14px, 1.8vw, 18px); }
.hero__count { font: 600 17px/1.3 var(--text); }
.hero__range { font: 800 clamp(32px, 3.8vw, 44px)/1.05 var(--display); margin-top: 2px; color: var(--accent); font-variant-numeric: tabular-nums; }
.hero__note { font-size: 15px; margin-top: 6px; max-width: 62ch; }
.hero__note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.presets button { min-height: 40px; font: 600 14px/1 var(--text); color: var(--on-field); background: transparent; border: 1.5px solid var(--on-field); border-radius: 999px; padding: 0 16px; cursor: pointer; }
.presets button[aria-pressed="true"], .presets button:hover { background: var(--on-field); color: var(--field); }
.hero__go { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 600; }

/* Полоса с расчётом при прокрутке */
.bar { position: fixed; inset: 0 0 auto; z-index: 10; transform: translateY(-101%); visibility: hidden; }
.bar--on { transform: none; visibility: visible; }
.bar__btn {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; width: 100%; padding: 10px var(--gutter);
  border: 0; background: var(--field); color: var(--on-field); text-align: left; cursor: pointer; font: 800 24px/1.1 var(--display);
  box-shadow: 0 1px 0 rgb(0 0 0 / .18);
}
.bar__go { font: 600 14px/1 var(--text); text-decoration: underline; text-underline-offset: 3px; flex: none; }
.bar__btn { max-width: 100%; min-width: 0; box-sizing: border-box; }
#bar-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Разделы главной */
.list, .split, .wait { padding: var(--section) var(--gutter) 0; }
.home .list { padding-top: clamp(20px, 2.8vw, 30px); }
h2 { font: 800 clamp(34px, 4.6vw, 52px)/1.02 var(--display); }
.section__lead { max-width: 62ch; margin-top: 8px; }

.list__head { display: flex; justify-content: space-between; align-items: end; gap: 12px 24px; flex-wrap: wrap; }
.list__sort { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
/* Фильтры списка (решение 35): строка кнопок над списком, выпадающие открывают выбор с числом заведений */
.filters { position: relative; margin-top: 16px; }
.fbar { display: flex; flex-wrap: wrap; gap: 8px; }
.fb { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 500 15px/1 var(--text); white-space: nowrap; cursor: pointer; }
.fb input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fb:hover { border-color: var(--ink); }
.fb:has(input:checked), .fb--on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.fb:has(input:focus-visible), .fb:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.fb__star { color: var(--star); }
.fb--drop::after { content: ""; width: 12px; height: 8px; background: var(--chevron) center / contain no-repeat; transition: transform .16s; }
.fb--on.fb--drop::after { filter: invert(1) brightness(2); }
.fb[aria-expanded="true"]::after { transform: rotate(180deg); }
.fb__n { min-width: 20px; padding: 2px 5px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 13px; text-align: center; }
.fb--sort { margin-left: auto; }
.fb--reset { border-color: transparent; background: none; text-decoration: underline; text-underline-offset: 3px; }
.fb--reset:hover { border-color: transparent; color: var(--accent-text); }
.fpop { position: absolute; top: calc(100% + 6px); z-index: 20; width: 340px; max-width: 100%; padding: 12px 14px; background: var(--surface); border: 1.5px solid var(--ink); }
.fpop__title { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 40px; border-bottom: 1px solid var(--line); font-size: 15px; cursor: pointer; }
.opt:last-child { border-bottom: 0; }
.opt span { display: inline-flex; align-items: center; gap: 10px; }
.opt input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.opt small { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.fpop__note { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.fcount { margin-top: 12px; font-weight: 600; }
.fcount:empty, .fmiss[hidden] { display: none; }
.fmiss { margin-top: 2px; font-size: 14px; color: var(--ink-soft); }

.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; font-size: 14px; color: var(--ink-soft); margin: 14px 0 8px; }
.legend__i { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border: 1px solid transparent; font-weight: 500; }
.legend > .legend__i { padding: 0; border: 0; background: none; color: var(--ink-soft); }
.legend > .legend__i svg, .legend > .legend__i b { color: var(--yes); }
.legend > .legend__i--off svg { color: var(--no); }
.legend > .legend__i--unknown b { color: var(--ask); }
.legend__i svg { width: 13px; height: 13px; stroke-width: 3; }
.legend__i b { width: 13px; text-align: center; }
.hint { font-size: 14px; color: var(--ink); font-weight: 500; margin-bottom: 8px; }

.rows { border-top: 2px solid var(--ink); }
.row {
  position: relative; display: grid; grid-template-columns: 112px minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 2.6fr) minmax(min-content, 1.2fr);
  column-gap: 20px; row-gap: 6px; margin-inline: -12px; padding: 16px 12px 14px;
}
.row::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 1px; background: var(--line); }
.row__pic { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); align-self: start; }
.row__pic img { width: 100%; height: 100%; object-fit: cover; }
.row h3 { font: 800 30px/1.02 var(--display); }
.row h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line); }
.row h3 a::after { content: ""; position: absolute; inset: 0; }
.row__go { display: inline-block; opacity: 0; transform: translateX(-6px); color: var(--accent-text); }
.row__label { font-weight: 500; margin-top: 3px; line-height: 1.3; }
.row__kind { font-size: 15px; line-height: 1.35; color: var(--ink-soft); margin-top: 2px; }
.row__place { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 2px 8px 2px 6px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; line-height: 1.3; }
.row__addr { display: block; margin-top: 4px; font-size: 14px; line-height: 1.35; color: var(--ink); }
.row__place svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--accent-text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.stars { position: relative; display: inline-block; font-size: 16px; line-height: 1; letter-spacing: 1px; color: var(--line); white-space: nowrap; }
.stars::before { content: "★★★★★"; position: absolute; inset: 0; width: var(--p); overflow: hidden; color: var(--star); }
.stars--big { font-size: 22px; }
.rates { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rates__top { display: flex; align-items: center; gap: 6px; }
.rates__top b { font: 800 22px/1 var(--display); }
.rates__maps { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.rates__map { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px 3px 4px; background: var(--surface); border: 1px solid var(--line); font: 800 16px/1 var(--display); }
.rates__map img { width: 16px; height: 16px; }
.rates__total { margin-top: 4px; font-size: 12px; color: var(--ink-soft); }
.wait__list .rates { padding-top: 0; border-top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.wait__list .rates__maps, .wait__list .rates__total { margin-top: 0; }
.wait__list .rates__top b { font-size: 18px; }
.pin { display: block; margin-left: auto; }
.pin[hidden] { display: none; }
.sheet__table .rates { margin-top: 0; padding-top: 0; border-top: 0; }
.pin { position: relative; z-index: 1; margin-top: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--ink); background: var(--surface); color: var(--ink); font: 600 14px/1 var(--text); cursor: pointer; }
.pin[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.pin[aria-pressed="true"]::before { content: "✓ "; }
.pin:disabled { opacity: .45; cursor: default; }
.pickbar { position: sticky; bottom: 0; z-index: 9; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 12px -12px 0; padding: 12px; background: var(--head); color: var(--on-head); }
.pickbar[hidden] { display: none; }
.pickbar__text { flex: 1 1 200px; font-weight: 600; }
.pickbar .btn { background: var(--accent); color: var(--ink); padding: 11px 18px; }
.pickbar .btn[hidden] { display: none; }
.pickbar__clear { min-height: 44px; padding: 0 12px; border: 1px solid currentColor; background: transparent; color: inherit; font: 500 14px/1 var(--text); cursor: pointer; }
.pickbar :focus-visible { outline-color: var(--on-field); }
.row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-size: 14px; color: var(--ink-soft); margin-top: 5px; }
.price { font: 800 26px/1.05 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum { font: 800 34px/1.02 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.unit { font-size: 14px; color: var(--ink-soft); font-weight: 400; font-family: var(--text); }
.row__sum { text-align: right; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.terms { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 5px; }
.chip { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 7px; border: 1px solid transparent; background: none; color: var(--ink-soft); font: 500 14px/1 var(--text); cursor: help; }
.chip svg, .legend__i svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip .chip__mark { width: 13px; height: 13px; stroke-width: 3; }
span.chip__mark { width: auto; height: auto; font-weight: 700; }
.chip--on, .legend__i--on { background: var(--yes-bg); border-color: color-mix(in srgb, var(--yes) 35%, transparent); color: var(--yes); }
.chip--off, .legend__i--off { background: var(--no-bg); border-color: color-mix(in srgb, var(--no) 35%, transparent); color: var(--no); }
.chip--unknown, .legend__i--unknown { background: var(--ask-bg); border-color: color-mix(in srgb, var(--ask) 35%, transparent); color: var(--ask); }
.chip::after {
  content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 5; width: max-content; max-width: 100%;
  padding: 6px 10px; background: var(--head); color: var(--on-head); font: 400 14px/1.35 var(--text); text-align: left;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.chip:focus-visible::after, .chip--open::after { opacity: 1; visibility: visible; }
.row__dates { font-size: 14px; margin-top: 4px; }
.row__what .terms + .row__dates { margin-top: 8px; }
.row__dates--note { color: var(--ink-soft); }
.row__more { grid-column: 2 / -1; position: relative; z-index: 1; font-size: 14px; }
.row__more a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.row__src { grid-column: 1 / -1; position: relative; z-index: 1; font-size: 14px; color: var(--ink-soft); }
.row__src strong { color: var(--accent-text); font-weight: 600; }
.empty { padding: 24px 0; font: 800 28px/1.1 var(--display); }

.more { margin-top: 14px; font-weight: 500; }
.group__head { margin-top: 28px; }
.group__text h2 + .section__lead { margin-top: 10px; }
.group__text .section__lead + h2 { margin-top: var(--section); }
.group__ask { max-width: 62ch; margin-top: 10px; padding-left: 1.2em; list-style: disc; }
.group__ask li { padding: 4px 0; }

/* Сравнение */
/* Карточки сравнения «Только ваша компания или вместе с другими»: белая карточка, фото, район плашкой, два варианта рядом */
.cmp { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 16px; }
.cmp__card { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px 16px; padding: 16px; background: var(--surface); border: 1px solid var(--line); }
.cmp__pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.cmp__pic img { width: 100%; height: 100%; object-fit: cover; }
.cmp__head h3 { font: 800 26px/1.05 var(--display); }
.cmp__head h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line); }
.cmp__head h3 a::after { content: ""; position: absolute; inset: 0; }
.cmp__kind { margin-top: 6px; font-size: 14px; line-height: 1.35; color: var(--ink-soft); }
.cmp__opts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cmp__opt { padding: 10px 12px; background: var(--bg); border-top: 3px solid var(--line); }
.cmp__opt--own { border-top-color: var(--ink); }
.cmp__lab { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.cmp__own { margin-top: 4px; font-weight: 600; line-height: 1.3; }
.cmp__price { margin-top: 4px; }
.cmp__price .price { font: 800 24px/1.05 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp__price .unit { font-size: 14px; color: var(--ink-soft); }
.cmp__limit { margin-top: 4px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.cmp__none { margin-top: 4px; color: var(--ink-soft); }
.cmp__note { margin-top: 4px; font-size: 14px; line-height: 1.35; color: var(--ink-soft); }

/* Ранняя бронь */
.early { margin: var(--section) var(--gutter) 0; padding: clamp(18px, 3vw, 28px); background: var(--warm); }
.early h2 { font-size: clamp(28px, 3.4vw, 38px); }
.early ul { margin-top: 8px; }
.early li { padding: 6px 0; }
.early a { font-weight: 600; }

/* Без цены */
.wait__note { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.wait__list { columns: 2 320px; column-gap: 40px; margin-top: 12px; }
.wait__list li { margin-bottom: 14px; padding: 14px; background: var(--surface); border: 1px solid var(--line); break-inside: avoid; }
.wait__list li[hidden] { display: none; }
.wait__list li { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 14px; align-content: start; }
.wait__list li > * { grid-column: 2; }
.wait__list li > .wait__pic { grid-column: 1; grid-row: 1 / span 4; align-self: start; }
/* Вид B (решение 37): название и примерная цена в одной строке крупно, что это за цена — жёлтой плашкой «уточнить» */
.wait__top { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.wait__name { font: 800 26px/1.02 var(--display); color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line); }
/* Страница заведения без цены (решение 39): ориентир жёлтым блоком, справа — только звонок */
/* Пять случаев страницы без цены (решение 40): цена крупно, что это за цена, шкала близости к новогодней цене */
.pcase { padding: 18px 20px 20px; background: var(--surface); border-left: 4px solid var(--ask); }
.pcase--none { border-left-color: var(--ink-soft); }
.pcase h2 { font-size: clamp(24px, 2.6vw, 30px); }
.pcase__sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 10px; }
.pcase__num { font: 800 clamp(38px, 4.4vw, 48px)/1 var(--display); font-variant-numeric: tabular-nums; }
.pcase__sum a { font-size: 14px; color: var(--ink-soft); }
.pcase__text { margin-top: 10px; max-width: 64ch; }
.pcase__scale { margin-top: 16px; }
.pcase__label { font-size: 13px; color: var(--ink-soft); }
.pcase__scale ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 6px; }
.pcase__scale li { padding: 8px 10px 0; border-top: 6px solid var(--line); font-size: 13px; line-height: 1.25; color: var(--ink-soft); }
.pcase__scale li[aria-current="true"] { border-top-color: var(--ask); color: var(--ink); font-weight: 700; }
.pcase__ends { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--ink-soft); }
.pcase__ends span:first-child::before { content: '← '; }
.pcase__ends span:last-child::after { content: ' →'; }
.pcase__note { margin-top: 12px; font-weight: 700; }
.pcase__small { margin-top: 14px; font-size: 13px; color: var(--ink-soft); max-width: 64ch; }
.closed { padding: 12px var(--gutter); background: var(--no-bg); color: var(--no); font-weight: 600; }
.tiles__approx dd { color: var(--ink); }
.vside__q { font: 700 20px/1.2 var(--display); }
.wait__sum { margin-left: auto; white-space: nowrap; }
.wait__price { font: 800 26px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.wait__sum .unit { font-size: 14px; color: var(--ink-soft); }
.wait__line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 5px; }
.wait__ask { display: inline-block; padding: 1px 8px; background: var(--ask-bg); color: var(--ask); font-size: 13px; font-weight: 500; line-height: 1.45; }
.wait__rate { font-size: 14px; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wait__rate b { display: inline-block; color: var(--ink); }
.wait__rate b::first-letter { color: var(--star); }
.wait__facts { margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--ink-soft); }
.wait__facts .row__place { display: flex; width: fit-content; margin: 0 0 4px; color: var(--ink); }
.wait__tel { display: inline-block; margin-top: 6px; font-size: 15px; font-variant-numeric: tabular-nums; }
.wait__ico { display: none; }
a.wait__tel { white-space: nowrap; }
.wait__more-wrap { margin-top: 16px; }
.wait__more-wrap[hidden] { display: none; }
.wait__more { padding: 10px 20px; }

/* Частые вопросы (решение 54) */
.faq { padding: var(--section) var(--gutter) 0; }
.faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.faq__item { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); }
.faq__item dt { font: 700 17px/1.3 var(--text); color: var(--ink); }
.faq__item dd { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

/* Свёрнутая справочная таблица площадок (решение 58) */
.geotbl { margin: clamp(24px, 3vw, 40px) var(--gutter) 0; min-width: 0; background: var(--surface); border: 1px solid var(--line); }
.geotbl__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 12px 16px; list-style: none; font: 600 16px/1.35 var(--text); color: var(--ink); cursor: pointer; }
.geotbl__sum::-webkit-details-marker { display: none; }
.geotbl__sum::after { content: ""; flex: none; width: 12px; height: 8px; background: var(--chevron) center / contain no-repeat; transition: transform .16s; }
.geotbl[open] > .geotbl__sum { border-bottom: 1px solid var(--line); }
.geotbl[open] > .geotbl__sum::after { transform: rotate(180deg); }
@media (hover: hover) { .geotbl__sum:hover { background: var(--warm); } }
.geotbl__wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.geotbl__table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; line-height: 1.4; }
.geotbl__table th, .geotbl__table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.geotbl__table thead th { background: var(--bg); color: var(--ink-soft); font-size: 13px; font-weight: 600; white-space: nowrap; }
.geotbl__table tbody tr:last-child td { border-bottom: 0; }
.geotbl__name { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--ink-soft); }
@media (hover: hover) { .geotbl__name:hover { color: var(--accent-text); text-decoration-color: transparent; } }
.geotbl__kind { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-soft); }
.geotbl__sum-cell { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.geotbl__sum-cell--ask { font-weight: 400; color: var(--ink-soft); }

/* Подвал */
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 32px; padding: 28px var(--gutter) 32px; background: var(--head); color: var(--on-head); font-size: 14px; }
.foot__brand { font: 800 22px/1.1 var(--display); }
.foot__legal { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; }
.foot__btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Согласие на статистику */
.consent { position: fixed; left: 12px; bottom: 12px; z-index: 30; display: flex; align-items: center; gap: 8px; max-width: 340px; padding: 8px 8px 8px 12px; background: var(--head); color: var(--on-head); font-size: 13px; line-height: 1.3; }
.consent[hidden] { display: none; }
.consent__text { flex: 1; }
.consent__text a { color: inherit; }
.consent button { flex: none; min-width: 44px; min-height: 36px; padding: 0 10px; border: 1px solid var(--accent); border-radius: 0; font: 600 13px/1 var(--text); cursor: pointer; }
.consent .consent__yes { background: var(--accent); color: var(--ink); }
.consent .consent__no { background: transparent; color: var(--on-head); border-color: rgba(238, 241, 247, .55); }
@media (max-width: 899px) { .consent { left: 0; right: 0; bottom: 0; max-width: none; padding: 6px var(--gutter); } }
.consent :focus-visible { outline-color: var(--accent); }

/* Внутренние страницы: шапка */
.vhead { display: grid; background: var(--head); color: var(--on-head); }
.vhead__text { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(10px, 2vw, 20px) var(--gutter) clamp(24px, 4vw, 44px); }
.crumb { font-size: 15px; margin-bottom: clamp(8px, 2.4vw, 28px); }
.crumb a { display: inline-block; padding: 10px 0; }
.crumb a::before { content: "← "; }
.vhead h1 { font: 800 clamp(50px, 7vw, 96px)/.96 var(--display); }
.vhead__title { display: flex; flex-direction: column-reverse; }
.vhead__kicker { margin-bottom: 10px; color: var(--accent); font: 600 14px/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; }
.vhead__kind { margin-top: 8px; font-size: 17px; color: var(--on-head); opacity: .85; }
/* Страница заведения (решения 38 и 52): место плашкой, оценки строкой, карусель снимков, полоса «коротко» */
.row__place--dark { margin-top: 14px; width: fit-content; background: transparent; border-color: color-mix(in srgb, var(--on-head) 35%, transparent); color: var(--on-head); }
.row__place--dark svg { stroke: var(--accent); }
.vhead__rates { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; }
.vhead__rates b { font: 800 22px/1 var(--display); }
.vhead__rates .rates__maps { margin: 0; }
.vhead__rates .rates__map { color: var(--ink); }
/* Значок карты — ссылка на карточку заведения; в строке списка поверх ссылки всей строки */
a.rates__map { position: relative; z-index: 1; color: var(--ink); text-decoration: none; }
@media (hover: hover) { a.rates__map:hover { border-color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); } }
.car { position: relative; min-width: 0; align-self: center; background: var(--head); }
.car__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 3 / 2; }
.car__track::-webkit-scrollbar { display: none; }
.car__track img { flex: 0 0 100%; width: 100%; height: 100%; min-width: 0; object-fit: cover; scroll-snap-align: start; }
.car__btn { position: absolute; top: calc(50% - 22px); width: 44px; height: 44px; border: 0; background: color-mix(in srgb, var(--head) 75%, transparent); color: var(--surface); font: 600 26px/1 var(--text); cursor: pointer; }
.car__btn--prev { left: 8px; }
.car__btn--next { right: 8px; }
.car__btn[hidden] { display: none; }
.car__btn:disabled { opacity: .35; cursor: default; }
.car__n { position: absolute; left: 10px; top: 10px; padding: 2px 8px; background: color-mix(in srgb, var(--head) 80%, transparent); color: var(--surface); font-size: 13px; }
.car__track img { cursor: zoom-in; }
.car__full { position: absolute; right: 10px; top: 10px; min-height: 32px; padding: 0 10px; border: 0; background: color-mix(in srgb, var(--head) 80%, transparent); color: var(--surface); font: 600 13px/1 var(--text); cursor: pointer; }
.car__full[hidden] { display: none; }
/* Миниатюры одного размера лентой (решение 47): при 20+ снимках не сжимаются, выбранная прокручивается в середину */
.car__thumbs { position: relative; contain: inline-size; display: flex; gap: 6px; padding: 6px 0; overflow-x: auto; scrollbar-width: none; background: var(--head); }
.car__thumbs::-webkit-scrollbar { display: none; }
.car__thumbs[hidden] { display: none; }
.car__thumbs button { flex: 1 0 88px; max-width: 160px; min-width: 0; padding: 0; border: 0; background: none; opacity: .55; cursor: pointer; }
.car__thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid var(--accent); outline-offset: -2px; }
.car__thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.tiles { background: var(--surface); border-bottom: 1px solid var(--line); }
.tiles__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); max-width: var(--wrap); margin: 0 auto; }
.tiles__in > div { padding: 14px 16px; border-left: 1px solid var(--line); }
.tiles__in > div:first-child { border-left: 0; padding-left: var(--gutter); }
.tiles dd { font: 800 26px/1.05 var(--display); font-variant-numeric: tabular-nums; }
.tiles dt { font-size: 13px; color: var(--ink-soft); }
.tiles__in > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.tiles dd { white-space: nowrap; }
.tiles__sum dd { color: var(--ink); }
.digest__cols--cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.digest__cols--cards > div { background: var(--surface); padding: 14px 16px; border-top: 3px solid var(--yes); }
.digest__cols--cards > div + div { border-top-color: var(--no); }
.maps__h { font-size: 26px; }
.vhead__lead { font: 800 clamp(30px, 3.6vw, 44px)/1.05 var(--display); color: var(--accent); margin-top: 12px; font-variant-numeric: tabular-nums; }
.vhead__intro { font-size: 18px; margin-top: 12px; max-width: 52ch; }
.vhead__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; }
.vhead__meta > * { display: inline-flex; align-items: baseline; gap: 7px; }
.vhead__meta svg { flex: none; align-self: flex-start; margin-top: .2em; width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vhead__pic { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-soft); }
.vhead__pic img { width: 100%; height: 100%; object-fit: cover; }
.vhead__pic figcaption { position: absolute; left: 0; bottom: 0; padding: 3px 10px; background: color-mix(in srgb, var(--head) 80%, transparent); color: var(--on-head); font-size: 13px; }

.vbody { display: grid; gap: clamp(24px, 4vw, 56px); padding: clamp(20px, 3vw, 36px) var(--gutter) 0; }
.offers { border-top: 2px solid var(--ink); }
.offer { padding: 18px 0; border-bottom: 1px solid var(--line); }
.offer__head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 20px; flex-wrap: wrap; }
.offer h2 { font: 600 19px/1.3 var(--text); }
.offer .price { font-size: 38px; }
.offer__sum { margin-top: 2px; }
.offer__sum .js-sum { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.offer .terms { margin-top: 8px; font-size: 15px; }
.offer__text { margin-top: 6px; font-size: 15px; max-width: 72ch; }
.offer .tag { margin-top: 6px; }

.facts { margin-top: 12px; }
.facts div { display: grid; grid-template-columns: minmax(130px, 1fr) 3fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); font-size: 14px; padding-top: 1px; }
.facts strong { color: var(--accent-text); font-weight: 600; }

.about { margin-top: 28px; }
.about h2, .maps h2, .digest h2 { font-size: clamp(28px, 3vw, 34px); }
.about p { margin-top: 8px; max-width: 68ch; }
.maps, .digest { margin-top: 28px; }
.maps__list { margin-top: 8px; border-top: 1px solid var(--line); }
.maps__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.maps__name { display: inline-flex; align-items: center; gap: 6px; min-width: 150px; color: var(--ink-soft); font-size: 14px; }
.maps__name img { width: 18px; height: 18px; }
.maps__avg { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 8px; }
.maps__avg b { font: 800 32px/1 var(--display); }
.maps__avg > span[aria-hidden]:not(.stars) { font-size: 14px; color: var(--ink-soft); }
.maps__total { flex-basis: 100%; }
.chip__short { display: none; }
.row__pline, .row__line, .row__call { display: none; }
.row__badge { display: inline-block; padding: 2px 6px; background: var(--ask-bg); color: var(--ask); font-size: 13px; font-weight: 600; white-space: nowrap; }
.offer__badge { margin-top: 6px; }
.facts__h { margin-top: 28px; font-size: clamp(28px, 3vw, 34px); }
.vhead__lead--soft { color: var(--on-head); font-size: clamp(24px, 2.6vw, 32px); }
.group .tag--shared { display: none; }
.maps__name[href] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.maps__count--none { color: var(--ink-soft); }
.sheet__pick { margin-top: 16px; }
.sheet__pick[hidden] { display: none; }
.vhead__note { margin-top: 10px; }
.lost { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 0; }
.lost a { color: var(--on-head); }
.legend--inline { display: inline-flex; margin: 0 4px 0 0; vertical-align: middle; }
.maps__value { font: 800 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.maps__count { font-size: 15px; }
.maps__date { margin-left: auto; font-size: 13px; color: var(--ink-soft); }
.maps__note { margin-top: 8px; font-size: 14px; color: var(--ink-soft); max-width: 72ch; }
.digest__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 32px; margin-top: 8px; }
.digest h3 { font: 600 15px/1.3 var(--text); color: var(--ink-soft); margin-top: 6px; }
.digest li { position: relative; padding: 4px 0 4px 18px; }
.digest li::before { content: "—"; position: absolute; left: 0; color: var(--ink-soft); }

.ask { margin-top: 28px; padding: clamp(16px, 2.6vw, 24px); background: var(--warm); }
.ask h2 { font-size: clamp(28px, 3vw, 34px); }
.ask p { margin-top: 4px; }
.ask ul { margin-top: 10px; }
.ask li { position: relative; padding: 5px 0 5px 28px; }
.ask li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 16px; border: 1.5px solid var(--ink); background: var(--surface); }
.ask__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; }
.ask__tools[hidden] { display: none; }
.ask__copied { font-size: 14px; color: var(--ink-soft); }

.sheet { padding: clamp(16px, 3vw, 36px) var(--gutter) 0; }
.sheet h1 { font: 800 clamp(44px, 6vw, 72px)/.96 var(--display); }
.sheet__lead { margin-top: 10px; max-width: 72ch; }
.sheet__tools { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; margin-top: 18px; }
.sheet__tools[hidden] { display: none; }
.btn.btn--line { display: inline-block; min-height: 44px; border: 1px solid var(--ink); background: var(--surface); color: var(--ink); font: 600 15px/1.2 var(--text); cursor: pointer; }
.btn.btn--line:hover { background: var(--warm); }
.sheet__copied { font-size: 14px; color: var(--ink-soft); }
.sheet__wrap { margin-top: 24px; overflow-x: auto; }
.sheet__table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: calc(150px + var(--cols, 2) * 210px); }
.sheet__table th, .sheet__table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
.sheet__table th { width: 150px; color: var(--ink-soft); font-size: 14px; font-weight: 400; }
.sheet__names td a { font: 800 26px/1.02 var(--display); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line); }
.sheet__small { display: block; margin-top: 3px; font-size: 14px; color: var(--ink-soft); }
.sheet__price { font: 800 24px/1.05 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sheet__sum td { font: 800 30px/1.05 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.sheet__table .terms { font-size: 14px; }
.sheet__drop { display: block; margin-top: 6px; padding: 4px 0; border: 0; background: none; color: var(--ink-soft); font: 400 13px/1 var(--text); text-decoration: underline; cursor: pointer; }
.sheet__foot { margin-top: 16px; font-size: 14px; color: var(--ink-soft); max-width: 90ch; word-break: break-word; }
.sheet__foot[hidden] { display: none; }

@media print {
  .top, .foot, .skip, .crumb, .sheet__tools, .sheet__drop, .consent, .chip__mark { display: none !important; }
  body { background: #fff; }
  .sheet { padding: 0; }
  .sheet h1 { font-size: 32px; }
  .sheet__wrap { overflow: visible; }
  .sheet__table { min-width: 0; }
  .sheet__table th, .sheet__table td { font-size: 12px; padding: 6px 8px 6px 0; }
  .sheet__names td a, .sheet__sum td { font-size: 20px; }
  .sheet__price { font-size: 16px; }
  a { color: inherit; text-decoration: none; }
}

.vside { background: var(--surface); }
.vside__sum { font: 800 40px/1.02 var(--display); color: var(--ink); margin-top: 8px; font-variant-numeric: tabular-nums; }
.vside__sum .unit { display: block; margin-top: 2px; }
.btn { display: block; padding: 13px 16px; background: var(--ink); color: var(--surface); font-weight: 600; text-align: center; text-decoration: none; }
.btn:hover { background: var(--accent-text); }
.btn--call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.btn__ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.btn__word { display: none; }
.btn__num { font-weight: 600; font-size: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.btn--light { display: inline-block; margin-top: 18px; background: var(--accent); color: var(--ink); }
.btn--light:hover { background: var(--warm); }
.vside .btn { margin-top: 14px; }
.vside .btn--line { margin-top: 8px; display: block; width: 100%; }
.vside__pick { margin-top: 8px; text-align: center; font-size: 14px; }
.vside__pick a { color: var(--ink-soft); }


.near { padding: var(--section) var(--gutter) 0; }
.near__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; }
.near__cmp { font-size: 15px; font-weight: 600; }
.near h2 { font-size: clamp(30px, 3.6vw, 40px); }
.near__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 14px; }
.near__card { display: block; text-decoration: none; }
.near__pic { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--line); }
.near__pic img { width: 100%; height: 100%; object-fit: cover; }
.near__name { display: block; font: 800 26px/1.05 var(--display); margin-top: 8px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line); }
.near__lead { display: block; font-size: 15px; color: var(--ink-soft); }
.near__links { margin-top: 18px; font-size: 15px; color: var(--ink-soft); }
.near__links a { color: var(--ink); font-weight: 500; }
.near__more { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.near__more h3 { font: 800 clamp(22px, 2.4vw, 28px)/1.1 var(--display); color: var(--ink); }
.near__more .near__list { gap: 12px; margin-top: 12px; }
.near__more .near__list li { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); }
.near__more-name { align-self: flex-start; font: 800 22px/1.08 var(--display); color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line); }
@media (hover: hover) { .near__more-name:hover { color: var(--accent-text); text-decoration-color: transparent; } }
.near__more-meta { font-size: 14px; line-height: 1.35; color: var(--ink-soft); }
.near__more-price { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* Как собраны цены */
.doc { display: grid; gap: 20px clamp(32px, 6vw, 88px); padding: clamp(20px, 3vw, 36px) var(--gutter) 0; }
.doc__nav ul { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.prose { max-width: 66ch; }
.prose h2 { margin-top: 34px; font-size: 34px; scroll-margin-top: 20px; }
.prose p, .prose ul { margin-top: 10px; }
.prose li { padding: 5px 0; }
.prose > p:first-child { margin-top: 0; font-size: 18px; }

@media (min-width: 900px) {
  .vhead { grid-template-columns: minmax(0, 1fr) minmax(0, 44%); min-height: 340px; }
  /* Полоса «коротко» (19.11.2026): плашка шириной по своему числу, остаток делится поровну; подпись переносится внутри
     и ширину не задаёт; левый край — по полю страницы, как у шапки */
  .tiles__in { display: flex; flex-wrap: wrap; max-width: none; padding: 0 var(--gutter); }
  .tiles__in > div { flex: 1 0 auto; padding: 14px 20px; }
  .tiles__in > div:first-child { padding-left: 0; }
  .tiles dt { contain: inline-size; }
  .vhead__pic { aspect-ratio: auto; }
  .vhead__pic img { position: absolute; inset: 0; }
  .vbody { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .vside { position: sticky; top: 16px; padding: 20px; border-top: 4px solid var(--accent); }
  .doc { grid-template-columns: 200px minmax(0, 1fr); }
  .doc__nav { position: sticky; top: 20px; align-self: start; }
  .doc__nav ul { display: block; }
  .doc__nav li { padding: 3px 0; }
}
@media (min-width: 1000px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 32vw, 520px); grid-template-rows: auto auto auto 1fr; column-gap: clamp(24px, 3vw, 48px); }
  .hero > * { grid-column: 1; }
  .hero__go { display: none; }
  .hero__photo { grid-column: 2; grid-row: 1 / -1; width: calc(100% + var(--gutter)); height: calc(100% + var(--pad-top) + var(--pad-end)); margin: calc(-1 * var(--pad-top)) calc(-1 * var(--gutter)) calc(-1 * var(--pad-end)) 0; }
}
@media (min-width: 1320px) {
  .hero__photo { width: 100%; margin-right: 0; }
  .vhead { grid-template-columns: minmax(0, 1fr) calc(var(--wrap) * .44); padding-right: var(--gutter); }
  .vhead .vhead__text { padding-right: 32px; }
}
@media (max-width: 1000px) {
  .row { grid-template-columns: 84px minmax(0, 2.1fr) minmax(0, 1.1fr) minmax(0, 2.2fr) minmax(min-content, 1.3fr); column-gap: 16px; }
  .row .sum { font-size: 28px; }
  .price { font-size: 22px; }
}
@media (max-width: 899px) {
  .tiles__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles dd { white-space: normal; font-size: 22px; }
  .tiles__in > div:nth-child(odd) { border-left: 0; padding-left: var(--gutter); }
  .tiles__in > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .digest__cols--cards { grid-template-columns: 1fr; }
  .vside { position: fixed; inset: auto 0 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px var(--gutter); box-shadow: 0 -1px 0 var(--line); }
  .vside .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .vside .step { height: 40px; }
  .vside .step__btn { width: 40px; }
  .vside .step__in { width: 50px; font-size: 24px; }
  .vside__sum { margin: 2px 0 0; font-size: 26px; }
  .vside__sum .unit { display: none; }
  .vside .btn { margin: 0; flex: none; }
  .vside .btn--call { width: auto; padding: 11px 14px; gap: 6px; }
  .vside .vside__cmp, .vside .vside__pick { display: none; }
  .vside--call .vside__q { font-size: 15px; }
  .pcase__scale ol { grid-template-columns: 1fr; gap: 0; }
  .pcase__scale li { padding: 6px 0 6px 12px; border-top: 0; border-left: 6px solid var(--line); }
  .pcase__scale li[aria-current="true"] { border-left-color: var(--ask); }
  .pcase__ends { display: none; }
  .btn__word { display: inline; }
  .btn__num { display: none; }
  .has-call .foot { padding-bottom: 116px; }
}
@media (max-width: 760px) {
  .row { grid-template-columns: 76px minmax(0, 1fr) auto; column-gap: 12px; }
  .row__pic { grid-column: 1; grid-row: 1; }
  .row__who { grid-column: 2 / -1; grid-row: 1; }
  .row__price { grid-column: 1 / 3; grid-row: 2; }
  .row__sum { grid-column: 3; grid-row: 2; }
  .row__what { grid-column: 1 / -1; grid-row: 3; }
  .row h3 { font-size: 28px; }
  .top { gap: 4px 14px; }
  .top__nav { order: 3; flex-basis: 100%; gap: 0 16px; }
  .top__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  .top__meta { margin-left: 0; font-size: 13px; }
  .top--dark .top__meta span { display: none; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .fbar { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px calc(var(--gutter) + 28px) 6px var(--gutter); scrollbar-width: none;
    mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .fbar::-webkit-scrollbar { display: none; }
  .fb { min-height: 44px; flex: none; }
  .fb--sort { margin-left: 0; }
  .fpop { left: 0 !important; right: 0; width: auto; }
  .presets button { min-height: 44px; padding: 0 12px; }
  .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .calc .field:first-child { grid-column: 1 / -1; }
  .calc .step { width: 100%; }
  .calc .step__in { flex: 1; }
  /* Карточка на телефоне (решение 42, дополнено 19.11.2026): белая карточка, фото слева, район плашкой, всё, что видно на компьютере */
  .rows { border-top: 0; }
  .row { grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas:
      "pic name name" "pic place place" "pic addr addr" "pic line line" "kind kind kind" "label label label" "meta meta meta"
      "total total total" "pline pline pline" "what what what" "more more more" "call call pin";
    column-gap: 12px; row-gap: 0; margin: 0 0 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); }
  .row::after { display: none; }
  .row__price, .row__fmt, .row__src, .row__go { display: none; }
  .row__who, .row__sum { display: contents; }
  .row__pic { grid-area: pic; align-self: start; }
  .row h3 { grid-area: name; font-size: 24px; line-height: 1.05; }
  .row__place { grid-area: place; justify-self: start; margin-top: 6px; }
  .row__addr { grid-area: addr; }
  .row__line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; grid-area: line; margin-top: 6px; }
  .row__line:not(:has(.row__rate)) { display: none; }
  .row__rate { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
  .row__rate b { display: inline-block; color: var(--ink); }
  .row__rate b::first-letter { color: var(--star); }
  .row__kind { grid-area: kind; margin-top: 10px; font-size: 14px; }
  .row__label { grid-area: label; margin-top: 2px; }
  .row__meta { grid-area: meta; }
  .row__total { grid-area: total; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
  .row__total .sum { font-size: 26px; white-space: nowrap; }
  .row__total .unit { font-size: 14px; }
  .row__pline { display: block; grid-area: pline; margin-top: 2px; font-size: 15px; font-weight: 600; }
  .row__badge { display: inline-block; padding: 2px 6px; background: var(--ask-bg); color: var(--ask); font-size: 13px; white-space: nowrap; }
  .row__what { grid-area: what; margin-top: 10px; }
  .row__more { grid-area: more; }
  .row__call { display: inline-flex; align-items: center; justify-content: center; gap: 6px; grid-area: call; min-height: 44px; margin-top: 12px; padding: 0 10px; background: var(--ink); color: var(--surface); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none; position: relative; z-index: 1; }
  .row__call svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
  .row:not(:has(.pin:not([hidden]))) .row__call { grid-column: 1 / -1; }
  .row .pin { grid-area: pin; align-self: end; min-height: 44px; margin-top: 12px; }
  .wait__list li { grid-template-columns: 80px minmax(0, 1fr); grid-template-areas: "pic top" "pic line" "pic facts" "tag tag" "call call"; column-gap: 12px; margin-bottom: 12px; padding: 12px; }
  .wait__list li > .wait__pic { grid-area: pic; }
  .wait__list li > .wait__top { grid-area: top; }
  .wait__list li > .wait__line { grid-area: line; }
  .wait__list li > .wait__facts { grid-area: facts; }
  .wait__list li > .wait__tag { grid-area: tag; }
  .wait__list li > .wait__tel { grid-area: call; }
  .wait__line { margin-top: 6px; }
  .wait__facts { font-size: 14px; }
  a.wait__tel { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; margin-top: 12px; padding: 0 12px; background: var(--ink); color: var(--surface); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none; }
  a.wait__tel .wait__ico { display: block; width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
  .faq__list { grid-template-columns: 1fr; gap: 12px; }
  .geotbl__sum { padding: 10px 12px; font-size: 15px; }
  .geotbl__table th, .geotbl__table td { padding: 8px 10px; font-size: 13px; }
  .chip { min-height: 36px; padding: 0 6px; font-size: 13px; }
  .chip__long { display: none; }
  .chip__short { display: inline; }
  .terms { gap: 4px; }
  .bar__btn { font-size: 21px; min-height: 52px; }
  /* Всё, что нажимается, — не ниже 44 точек (мобильная уборка 19.11.2026) */
  .row__more a, .vhead__meta a, .foot a, .maps__list a, .more a, .doc__nav a, .lost a, .near__cmp, .near__links a { display: inline-flex; align-items: center; min-height: 44px; }
  .near__list { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .near__list li { border-bottom: 1px solid var(--line); }
  .near__more .near__list { border-top: 0; gap: 8px; }
  .near__more .near__list li { border: 1px solid var(--line); padding: 10px 12px; }
  .near__more-name { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--accent); }
  .near__card { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px 0; }
  .near__pic { grid-row: 1 / 3; }
  .near__name { margin-top: 0; font-size: 22px; align-self: end; }
  .near__lead { align-self: start; font-size: 14px; }
  .maps__list li { gap: 2px 10px; padding: 6px 0; }
  .maps__name { min-width: 120px; }
  .maps__value { font-size: 22px; }
  .maps__count { font-size: 14px; }
  .crumb a { padding: 12px 0; }
  .vhead__meta { gap: 0 20px; }
  .vhead__meta > a { align-items: center; }
  .vhead__meta svg { align-self: center; margin-top: 0; }
  .foot__legal { flex-direction: column; gap: 0; }
  .vside--call .vside__q { font: 600 14px/1.25 var(--text); }
  .cmp { gap: 12px; }
  .cmp__card { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .cmp__head h3 { font-size: 24px; }
  .cmp__opts { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 359px) {
  .row__call { font-size: 13px; padding: 0 6px; gap: 4px; }
  .row__call svg { width: 15px; height: 15px; }
  .row .pin { padding: 0 8px; font-size: 13px; }
}

/* Движение: только то, что объясняет изменение. Всё отключается по настройке системы. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { transform: scale(1.06); } }
@media (prefers-reduced-motion: no-preference) {
  :root { interpolate-size: allow-keywords; }
  html { scroll-behavior: smooth; }
  .hero__title, .calc .field, .hero__sum, .presets, .vhead__text > * { animation: rise .55s var(--ease) both; }
  .calc .field:nth-child(1), .vhead__text > :nth-child(2) { animation-delay: .06s; }
  .calc .field:nth-child(2), .vhead__text > :nth-child(3) { animation-delay: .12s; }
  .calc .field:nth-child(3), .vhead__text > :nth-child(4) { animation-delay: .18s; }
  .hero__sum { animation-delay: .26s; }
  .presets { animation-delay: .32s; }
  .vhead__pic img { animation: settle 1.4s var(--ease) both; }
  .bar { transition: transform .22s var(--ease), visibility .22s; }
  /* Решение 51: любая ссылка и кнопка меняет вид при наведении плавно, а не рывком. Правила ниже с классом точнее и важнее. */
  a, button, select { transition: color .16s, background-color .16s, border-color .16s, box-shadow .16s, opacity .16s, text-decoration-color .16s, text-decoration-thickness .16s; }
  .presets button, .btn, .fb, .step__btn, .pick, .row { transition: background-color .16s, color .16s, border-color .16s; }
  .row__pic img, .near__pic img { transition: transform .4s var(--ease); }
  .row__go { transition: opacity .16s, transform .22s var(--ease); }
  .presets button:active, .btn:active, .fb:active { transform: scale(.97); }
  .chip::after { transition: opacity .14s, visibility .14s; }
}
@media (hover: hover) {
  /* Решение 55: ссылки подчёркнуты по умолчанию, при наведении подчёркивание плавно убирается */
  a:hover { text-decoration-color: transparent; }
  .top__nav a:not([aria-current="page"]):hover, .vhead__meta a:hover, .crumb a:hover, .foot a:hover, .lost a:hover, .hero__note a:hover {
    color: var(--accent); opacity: 1; text-decoration-color: transparent;
  }
  .row:hover { background: var(--warm); }
  .row:hover h3 a { text-decoration-color: transparent; }
  .row:hover .tag { background: var(--surface); }
  .cmp__card:hover { background: var(--warm); }
  .cmp__card:hover h3 a { text-decoration-color: transparent; }
  .wait__name:hover { color: var(--accent-text); text-decoration-color: transparent; }
  .chip:hover::after { opacity: 1; visibility: visible; }
  .row:hover .row__pic img, .near__card:hover .near__pic img { transform: scale(1.05); }
  .row:hover .row__go { opacity: 1; transform: none; }
  .near__card:hover .near__name { text-decoration-color: transparent; }
  /* Решение 51: отклик на наведение там, где его не было */
  .car__btn:hover, .car__full:hover { background: var(--head); color: var(--accent); }
  .car__thumbs button:hover { opacity: .85; }
  .sheet__names td a:hover { color: var(--accent-text); text-decoration-color: transparent; }
  .sheet__drop:hover { color: var(--ink); }
  .brand:hover { color: var(--accent); }
}
.row:has(h3 a:focus-visible) { background: var(--warm); }
.row:has(h3 a:focus-visible) .tag { background: var(--surface); }
.row:has(h3 a:focus-visible) .row__go { opacity: 1; transform: none; }

/* Просмотр снимков на весь экран (решение 47) */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--head); color: var(--surface); }
.lb::backdrop { background: rgb(0 0 0 / .6); }
html:has(.lb[open]) { overflow: hidden; }
.lb__track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb__track::-webkit-scrollbar { display: none; }
.lb__i { flex: 0 0 100%; display: grid; place-items: center; margin: 0; padding: 56px 0; scroll-snap-align: start; }
.lb__i img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 112px); object-fit: contain; }
.lb__n { position: fixed; left: 16px; top: 16px; font-size: 15px; }
.lb__x { position: fixed; right: 6px; top: 6px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--surface); font: 600 22px/1 var(--text); cursor: pointer; }
.lb__btn { position: fixed; top: calc(50% - 22px); width: 44px; height: 44px; border: 0; background: color-mix(in srgb, var(--head) 75%, transparent); color: var(--surface); font: 600 26px/1 var(--text); cursor: pointer; }
.lb__btn--prev { left: 8px; }
.lb__btn--next { right: 8px; }
.lb__btn:disabled { opacity: .35; cursor: default; }
.lb :focus-visible { outline-color: var(--accent); }
@media (hover: none) { .lb__btn { display: none; } }
@media (hover: hover) { .lb__btn:hover { background: var(--head); color: var(--accent); } .lb__x:hover { color: var(--accent); } }

/* Ссылки без наведения (решение 50, 19.11.2026): на телефоне и сенсорном экране нет стрелки и рамки при наведении,
   поэтому название-ссылка и значок карты подчёркнуты чертой accent; на компьютере с мышью — как прежде. */
@media (hover: none), (max-width: 760px) {
  .row h3 a, .near__name, .wait__name, .cmp__head h3 a, .sheet__names td a {
    text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--accent);
  }
  a.rates__map { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--accent); }
}
