/* ═══════════ Атлас ПТО · сайт 10 «Каталог ПТО России» · тест 1 «Атлас» ═══════════
   Светлый картографический: снежный фон, морской петроль, коралловые метки станций.
   Sofia Sans — строгие заголовки и цифры (тест 2; в тесте 1 был Playfair Display), Noto Sans — текст, адреса, цифры. Аудитория 50+: текст от 18 px, кнопки от 52–56 px. */
:root {
  --bg: #F4F6F5; --bg-2: #E8EEEC; --card: #FFFFFF; --fg: #0B3C49; --muted: #22434E; --line: #D3DEDC; --line-2: #AFC2C0;
  --accent: #9A2D17; --accent-ink: #FFFFFF; --accent-2: #0B3C49; --accent-t: #8A2712;   /* 50+: белый на кнопке 7,6:1, текст на фоне 8,1:1 */
  --coral: #F2603D; --petrol: #0B3C49; --petrol-2: #14596A; --snow: #F4F6F5;
  --ok: #17663A; --warn: #7A4800; --bad: #A3261A;
  --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sofia Sans", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px; --radius-btn: 16px; --shadow: 0 22px 50px -28px rgba(11, 60, 73, .42);
  --wrap: 1240px; --nav-h: 74px; --sec: clamp(64px, 8vw, 116px);
  --h1: clamp(40px, 5vw, 68px); --h2: clamp(32px, 3.9vw, 54px); --h3: clamp(21px, 2vw, 26px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --map-dot: #F2603D; --map-ink: #fff;
}
body.atl { font-size: 18px; line-height: 1.6; background: var(--bg); color: var(--fg); }
::selection { background: rgba(242, 96, 61, .25); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
h1, h2, .h2 { font-family: "NbspGap", var(--font-head); font-weight: 700; letter-spacing: -.018em; font-variant-numeric: lining-nums; }
h3, .h3 { font-family: "NbspGap", var(--font); font-weight: 700; }
.eyebrow { display: block; font-size: 16px; letter-spacing: .14em; color: var(--petrol-2); font-weight: 700; margin-bottom: 14px; }
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 28px; height: 3px; margin: -3px 12px 0 0; border-radius: 3px; background: var(--coral); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); line-height: 1.55; }
.b-head .h2 { font-size: var(--h2); margin-bottom: .35em; }
.b-head .lead { margin: 0; }
.muted, .small { color: var(--muted); }
a { color: inherit; text-underline-offset: 3px; }

/* кнопки */
.btn { min-height: 52px; padding: 12px 22px; border-radius: var(--radius-btn); font-size: 17px; font-weight: 700; letter-spacing: .005em; }
.btn-lg { min-height: 58px; padding: 14px 28px; font-size: 18px; }
.btn-a { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -14px rgba(154, 45, 23, .9); }
.btn-a:hover { background: #82230F; box-shadow: 0 14px 30px -14px rgba(154, 45, 23, .9); }
.btn-g { background: #fff; border: 2px solid var(--line-2); color: var(--fg); }
.btn-g:hover { border-color: var(--petrol); }

/* шапка */
.nav { background: color-mix(in srgb, var(--bg) 90%, transparent); }
.nav.scrolled { border-color: var(--line); box-shadow: 0 8px 26px -18px rgba(11, 60, 73, .4); }
.nav-in { gap: 28px; }
.logo { gap: 12px; color: var(--fg); }
.logo-mark { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--petrol); overflow: hidden; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14); }
.logo-mark::before, .logo-mark::after { content: ""; position: absolute; inset: 7px 15px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 50%; }
.logo-mark::after { inset: 15px 5px; }
.logo-mark i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px var(--petrol); }
.raf-ok .logo-mark i { animation: lgPulse 2.6s ease-out infinite; }
@keyframes lgPulse { 0% { box-shadow: 0 0 0 3px var(--petrol), 0 0 0 3px rgba(242, 96, 61, .6); } 70%, 100% { box-shadow: 0 0 0 3px var(--petrol), 0 0 0 14px rgba(242, 96, 61, 0); } }
.logo-t { font-family: var(--font-head); font-weight: 700; font-size: 25px; letter-spacing: -.01em; display: inline-flex; align-items: center; }
.logo-t b { font-family: var(--font); font-weight: 700; font-size: 16px; letter-spacing: .14em; margin-left: 8px; padding: 4px 7px 3px; border-radius: 7px; background: var(--petrol); color: #fff; }
.menu { gap: 26px; }
.menu a { font-size: 17px; color: var(--muted); font-weight: 600; }
.menu a:hover { color: var(--fg); }
.nav-tel { font-size: 19px; color: var(--fg); gap: 8px; }
.nav-tel::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(242, 96, 61, .2); }
@media (max-width: 1100px) { .menu { gap: 18px; } .menu a { font-size: 16px; } }
@media (max-width: 980px) { .menu a:nth-child(1) { display: none; } }

/* ═════════ ГЛАВНАЯ: живой атлас ═════════ */
.atl-hero { position: relative; padding: 0; height: clamp(660px, calc(100svh - var(--nav-h)), 940px); overflow: clip; isolation: isolate;
  background: repeating-radial-gradient(circle at 82% 118%, transparent 0 46px, rgba(11, 60, 73, .045) 46px 47px), radial-gradient(ellipse 70% 80% at 68% 50%, #FFFFFF 0, rgba(255, 255, 255, 0) 70%), var(--bg); }
.atl-stage { position: absolute; inset: 0; z-index: 0; }
.atl-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.atl-on .atl-stage .atl-cv { touch-action: none; }
.atl-intro { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 0; pointer-events: none; transition: transform .7s var(--ease); }
.atl-intro > * { pointer-events: auto; }
.atl-copy { max-width: 540px; transition: opacity .45s, transform .6s var(--ease), visibility .45s; }
.atl-hero h1 { font-size: clamp(40px, 4.1vw, 60px); line-height: 1.04; max-width: 13.5ch; margin-bottom: 14px; }
.atl-hero .lead { max-width: 27em; margin-bottom: 22px; }
.atl-search { position: relative; width: min(100%, 500px); }
.atl-q-l { display: block; font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--fg); }
.atl-q { display: flex; align-items: center; gap: 10px; height: 68px; padding: 0 10px 0 20px; background: #fff; border: 2px solid var(--line-2); border-radius: 20px;
  box-shadow: 0 24px 50px -30px rgba(11, 60, 73, .55); transition: border-color .2s, box-shadow .2s; }
.atl-q:focus-within { border-color: var(--petrol); box-shadow: 0 0 0 5px rgba(11, 60, 73, .12), 0 24px 50px -30px rgba(11, 60, 73, .55); }
.atl-q-i { width: 26px; height: 26px; flex: none; color: var(--petrol); }
.atl-q input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 19px; font-weight: 600; color: var(--fg); }
.atl-q input::placeholder { color: #3A5C66; font-weight: 500; opacity: 1; }
.atl-q input::-webkit-search-cancel-button { display: none; }
.atl-q-x { position: relative; flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--bg-2); cursor: pointer; }
.atl-q-x i::before, .atl-q-x i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2.4px; border-radius: 2px; background: var(--fg); transform: translate(-50%, -50%) rotate(45deg); }
.atl-q-x i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.atl-sug { position: absolute; z-index: 30; top: 110px; left: 0; right: 0; max-height: min(460px, 60svh); overflow: auto; overscroll-behavior: contain; padding: 8px; background: #fff; border-radius: 20px;
  box-shadow: 0 30px 70px -26px rgba(11, 60, 73, .55), 0 0 0 1px rgba(11, 60, 73, .08); }
.atl-sug-h { margin: 10px 12px 4px; font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol-2); }
.atl-sug-i { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 8px 12px; border: 0; border-radius: 14px; background: none; text-align: left; cursor: pointer; }
.atl-sug-i[aria-selected="true"], .atl-sug-i:hover { background: var(--bg-2); }
.atl-sug-i > i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(242, 96, 61, .12); }
.atl-sug-i > i::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--coral); }
.atl-sug-dist > i { border-radius: 10px; background: rgba(11, 60, 73, .08); }
.atl-sug-dist > i::after { inset: 10px; border-radius: 3px; background: none; border: 2.5px solid var(--petrol); }
.atl-sug-st > i::after { inset: 9px 12px 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.atl-sug-i b { display: block; font-size: 18px; line-height: 1.3; }
.atl-sug-i small { display: block; font-size: 16px; line-height: 1.35; color: var(--muted); }
.atl-sug mark { background: rgba(242, 96, 61, .24); color: inherit; border-radius: 4px; padding: 0 1px; }
.atl-sug-0 { margin: 0; padding: 14px; font-size: 17px; }
.raf-ok .atl-sug-i { animation: sugIn .32s var(--ease) both; animation-delay: calc(var(--i) * 28ms); }
@keyframes sugIn { from { opacity: 0; transform: translateY(6px); } }
.atl-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; max-width: 560px; transition: opacity .4s, visibility .4s; }
.atl-pop-t { font-size: 16px; font-weight: 700; color: var(--muted); }
.atl-pop-l { display: flex; flex-wrap: wrap; gap: 8px; }
.atl-pop a.ct { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 8px 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; font-size: 16px; transition: border-color .2s, transform .2s; }
.atl-pop a.ct:hover { border-color: var(--coral); transform: translateY(-2px); }
.atl-pop a.ct b { font-weight: 700; }
.atl-pop a.ct span { min-width: 28px; padding: 1px 8px; border-radius: 99px; background: var(--petrol); color: #fff; font-size: 16px; text-align: center; }
.atl-pop a.ct:nth-child(n+6) { display: none; }
.atl-act { margin-top: 22px; transition: opacity .4s, visibility .4s; }
.atl-tel { letter-spacing: .01em; }
.atl-facts { display: flex; gap: 32px; list-style: none; padding: 0; margin: 22px 0 0; transition: opacity .4s, visibility .4s; }
.atl-facts li { display: grid; }
.atl-facts b { font-family: var(--font-head); font-size: 42px; line-height: 1; font-weight: 700; }
.atl-facts span { font-size: 16px; color: var(--muted); font-weight: 600; }
.atl-ctrl { position: absolute; z-index: 3; right: 24px; bottom: 22px; display: flex; gap: 8px; transition: transform .6s var(--ease); }
.atl-ctrl button { height: 56px; min-width: 56px; border-radius: 15px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .94); color: var(--fg); cursor: pointer; font-weight: 700; box-shadow: 0 10px 24px -16px rgba(11, 60, 73, .6); }
.atl-z { width: 56px; font-size: 26px; line-height: 1; }
.atl-home { padding: 0 18px; font-size: 16px; }
.atl-ctrl button:hover { border-color: var(--petrol); }
.atl-legend { position: absolute; z-index: 3; right: 24px; bottom: 90px; display: flex; gap: 16px; margin: 0; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .86); font-size: 16px; color: var(--muted); font-weight: 600; transition: opacity .4s, visibility .4s; }
.atl-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-c { width: 14px; height: 14px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2.5px #fff, 0 0 0 5px rgba(242, 96, 61, .25); }
.lg-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; font-style: normal; font-weight: 700; font-size: 16px; }
/* выбран город: текст уходит, поиск поднимается, справа — панель */
.atl-on .atl-intro, .atl-free .atl-intro { transform: translateY(calc(var(--lift, 0px) * -1)); }
@media (min-width: 901px) { .atl-free .atl-search, .atl-on .atl-search { padding: 12px 14px 14px; margin-left: -14px; border-radius: 24px; background: rgba(255, 255, 255, .97); box-shadow: 0 20px 50px -30px rgba(11, 60, 73, .5); } }
.atl-on .atl-copy, .atl-on .atl-pop, .atl-on .atl-act, .atl-on .atl-facts, .atl-free .atl-copy, .atl-free .atl-pop, .atl-free .atl-act, .atl-free .atl-facts { opacity: 0; visibility: hidden; transform: translateX(-24px); pointer-events: none; }
.atl-on .atl-legend, .atl-free .atl-legend { opacity: 0; visibility: hidden; }
.atl-on .atl-ctrl { transform: translateX(calc(-1 * (min(480px, 42vw) + 20px))); }
.atl-panel { position: absolute; z-index: 5; top: 20px; right: 20px; bottom: 20px; width: min(480px, 42vw); display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 28px;
  box-shadow: 0 40px 90px -40px rgba(11, 60, 73, .6), 0 0 0 1px rgba(11, 60, 73, .08); transform: translateX(calc(100% + 40px)); transition: transform .6s var(--ease); }
.atl-panel.atl-p-in { transform: none; }
.atl-p-grab { display: none; }
.atl-p-top { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 18px; background: var(--petrol); color: #fff; }
.atl-cr { min-width: 0; }
.atl-cr ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; list-style: none; margin: 0; padding: 0; font-size: 16px; }
.atl-cr li { display: inline-flex; align-items: center; min-height: 44px; }
.atl-cr li + li::before { content: "›"; margin: 0 6px 0 2px; opacity: .7; font-size: 18px; }
.atl-cr button { min-height: 44px; padding: 0 2px; border: 0; background: none; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); cursor: pointer; }
.atl-cr button:hover { text-decoration-color: #fff; }
.atl-cr span { font-weight: 700; }
.raf-ok .atl-cr li { animation: crIn .5s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.raf-ok .atl-cr[data-dir="back"] li { animation-name: crBack; }
@keyframes crIn { from { opacity: 0; transform: translateX(16px); } }
@keyframes crBack { from { opacity: 0; transform: translateX(-16px); } }
.atl-p-x { position: relative; flex: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: none; cursor: pointer; }
.atl-p-x i::before, .atl-p-x i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2.4px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }
.atl-p-x i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.atl-p-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 20px 22px 26px; }
.atl-p-body .eyebrow { display: block; margin-bottom: 6px; font-size: 16px; line-height: 1.4; }
.atl-p-body .eyebrow::before { display: none; }
.atl-p-t { font-size: clamp(34px, 3vw, 44px); margin: 0 0 8px; line-height: 1.05; }
.atl-p-f { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 4px; font-size: 17px; color: var(--muted); }
.atl-p-f b { color: var(--fg); }
.atl-p-open { display: inline-flex; align-items: center; gap: 8px; }
.atl-p-open i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(23, 102, 58, .16); }
.atl-p-open i.off { background: var(--bad); box-shadow: 0 0 0 4px rgba(163, 38, 26, .14); }
.atl-p-city, .atl-p-dl a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--accent-t); text-decoration: underline; text-decoration-thickness: 1.5px; }
.atl-p-dl { margin: 0; }
.atl-p-ds { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.atl-p-ds button { flex: none; min-height: 44px; padding: 6px 14px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 700; font-size: 16px; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.atl-p-ds button small { font-size: 16px; margin-left: 2px; opacity: .8; }
.atl-p-ds button[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.atl-p-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.atl-card { position: relative; padding: 14px 14px 12px; border: 1.5px solid var(--line); border-radius: 22px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.raf-ok .atl-p-in .atl-card { animation: cardIn .55s var(--ease) both; animation-delay: calc(180ms + var(--i) * 45ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.atl-card.atl-hov { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(242, 96, 61, .18); }
.atl-card.atl-sel { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(242, 96, 61, .22), 0 18px 40px -24px rgba(242, 96, 61, .8); }
.atl-card.atl-land { animation: land .8s var(--ease); }
@keyframes land { 0% { box-shadow: 0 0 0 0 rgba(242, 96, 61, .6); } 100% { box-shadow: 0 0 0 18px rgba(242, 96, 61, 0); } }
.atl-card-h { display: flex; gap: 12px; align-items: flex-start; }
.atl-card-pin { position: relative; flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(242, 96, 61, .13); cursor: pointer; transition: transform .2s; }
.atl-card-pin:hover { transform: scale(1.08); }
.atl-card-pin i { position: absolute; inset: 14px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px #fff; }
.atl-sel .atl-card-pin { background: var(--coral); }
.atl-sel .atl-card-pin i { background: #fff; box-shadow: 0 0 0 3px var(--coral); }
.atl-card-t { min-width: 0; flex: 1; }
.atl-card-a { margin: 0; font-size: 19px; line-height: 1.3; }
.atl-card-a a { text-decoration: none; }
.atl-card-a a:hover { text-decoration: underline; }
.atl-card-m { margin: 2px 0 2px; font-size: 16px; line-height: 1.4; color: var(--muted); }
.atl-card-s { margin: 0; font-size: 16px; font-weight: 700; }
.atl-card .st-load { margin: 10px 0 0; }
.atl-card-b { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.atl-card-b .btn { min-height: 56px; padding: 10px 12px; }
.atl-card-b .st-closed { grid-column: 1 / -1; }
.atl-p-note { margin: 18px 0 0; font-size: 16px; color: var(--muted); }
.atl-tip-g { position: fixed; left: 0; top: 0; z-index: 70; display: grid; gap: 2px; max-width: 320px; padding: 11px 15px; border-radius: 16px; background: var(--petrol); color: #fff; font-size: 16px; line-height: 1.4; pointer-events: none;
  box-shadow: 0 20px 40px -18px rgba(11, 60, 73, .8); }
.atl-tip-g b { font-size: 17px; }
.atl-tip-g em { font-style: normal; font-weight: 700; color: #FFC0AE; }
.atl-tip-g [data-state="on"]::before, .atl-tip-g [data-state="soon"]::before { background: #4ED486; }
.atl-tip-g [data-state="off"]::before { background: #FF8F7A; }
.atl-fly { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; background: rgba(242, 96, 61, .9); box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 16px 40px -10px rgba(242, 96, 61, .9); }
.atl-fly-dot { width: 18px; height: 18px; border-radius: 50%; }

@media (max-width: 900px) {
  .atl-hero { --sh: clamp(270px, 40svh, 340px); --shOn: calc(100svh - var(--nav-h) - var(--qh) - var(--barH) - 26px); --shM: max(var(--sh), var(--shOn)); --qh: 84px; --barH: 0px; height: auto; overflow: visible; display: flex; flex-direction: column; padding: 0 0 14px; background: var(--bg); }
  .atl-intro { display: contents; }
  .atl-copy { order: 1; width: auto; max-width: none; padding: 18px var(--pad) 2px; }
  .atl-copy .eyebrow { margin-bottom: 8px; }
  .atl-search { order: 2; width: auto; margin: 0 var(--pad); }
  .atl-stage { order: 3; position: relative; inset: auto; height: var(--sh); margin: 14px 10px 0; border-radius: 24px; overflow: clip; border: 1.5px solid var(--line);
    background: repeating-radial-gradient(circle at 90% 120%, transparent 0 34px, rgba(11, 60, 73, .045) 34px 35px), #fff; }
  .atl-pop { order: 4; margin: 14px var(--pad) 0; }
  .atl-act { order: 5; margin: 16px var(--pad) 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .atl-act .btn { width: 100%; }
  .atl-facts { order: 6; margin: 18px var(--pad) 0; justify-content: space-between; gap: 10px; }
  .atl-facts b { font-size: 34px; }
  .atl-hero h1 { font-size: clamp(30px, 8.2vw, 42px); margin-bottom: 8px; max-width: none; }
  .atl-hero .lead { font-size: 18px; margin-bottom: 14px; line-height: 1.45; }
  .atl-pop-t { width: 100%; }
  .atl-pop a.ct:nth-child(n+5) { display: none; }
  .atl-legend { left: 10px; right: auto; top: 10px; bottom: auto; gap: 10px; padding: 6px 10px; font-size: 16px; }
  .atl-ctrl { right: 10px; bottom: 10px; }
  .atl-ctrl button { height: 56px; }
  .atl-z { width: 56px; }
  .atl-home { display: none; }
  .atl-sug { top: 102px; }
  /* ПЕРФ: высота сцены в городе — свойством самой сцены и шторки, а не переменной на .atl-hero: смена наследуемой переменной
     пересчитывала стили всего героя (21–44 мс при CPU ×4). Холсты и карта внутри сцены — всегда максимальной высоты (--shM),
     сцена (overflow: clip) показывает верхнюю часть — без пересоздания холстов и map.resize() при входе в город (atlas.js, Atlas.resize) */
  .atl-on .atl-stage { height: var(--shOn); }
  .atl-on .atl-panel { height: calc(var(--shOn) * .56); }
  .atl-stage > .atl-cv, .atl-stage > .atl-ml, .atl-stage > .atl-ml.maplibregl-map { bottom: auto; height: var(--shM); }
  .atl-on .atl-copy, .atl-on .atl-pop, .atl-on .atl-act, .atl-on .atl-facts { display: none; }
  .atl-on .atl-search { padding-top: 12px; }
  .atl-on .atl-q-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .atl-on .atl-intro { transform: none; }
  .atl-on .atl-legend { display: none; }
  .atl-on .atl-ctrl { right: 10px; top: 10px; bottom: auto; transform: none; }
  .atl-panel { top: auto; left: 10px; right: 10px; bottom: 14px; width: auto; height: calc(var(--sh) * .56); border-radius: 26px 26px 24px 24px; transform: translateY(calc(100% + 40px)); }
  .atl-p-grab { display: block; position: absolute; top: 6px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 4px; background: rgba(255, 255, 255, .5); z-index: 2; }
  .atl-p-top { padding-top: 14px; }
  .atl-cr-sel li { display: none; }
  .atl-cr-sel li.atl-cr-up { display: inline-flex; }
  .atl-cr-sel li.atl-cr-up::before { content: "‹"; margin: 0 8px 0 0; font-size: 26px; line-height: 1; opacity: 1; }
  .atl-cr-sel button { font-size: 18px; }
  .atl-p-body { padding: 16px 14px 22px; }
  .atl-p-t { font-size: 34px; }
}
@media (max-width: 760px) { .atl-hero { --barH: 66px; } }

/* ═════════ страницы города, района, пункта: шапка с мини-атласом ═════════ */
.atl-in { padding: 26px 0 46px; background: repeating-radial-gradient(circle at 100% 0%, transparent 0 40px, rgba(11, 60, 73, .04) 40px 41px), linear-gradient(180deg, #fff, var(--bg)); border-bottom: 1px solid var(--line); }
.atl-in-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 34px; align-items: stretch; }
.atl-in-t { display: flex; flex-direction: column; justify-content: center; }
.hero-inner.atl-in h1 { font-size: clamp(34px, 3.9vw, 56px); max-width: 15ch; line-height: 1.05; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin-bottom: 10px; font-size: 16px; color: var(--muted); }
.crumbs a, .crumbs span { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a { color: var(--fg); font-weight: 600; text-decoration-color: var(--line-2); }
.crumbs span { font-weight: 700; color: var(--muted); }
.atl-in-f { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.atl-in-f > div { min-width: 132px; padding: 10px 16px 12px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; }
.atl-in-f dt { font-size: 16px; font-weight: 700; color: var(--muted); }
.atl-in-f dd { margin: 0; }
.atl-in-f b { font-family: var(--font-head); font-size: 32px; line-height: 1.1; }
.atl-in-f small { display: block; font-size: 16px; color: var(--muted); font-weight: 600; }
.atl-in-f .f-on b { color: var(--ok); }
.atl-in-f .f-off b { color: var(--bad); }
.atl-in-f .f-free b { color: var(--ok); }
.atl-mini { position: relative; margin: 0; min-height: 460px; border-radius: 30px; overflow: hidden; border: 1.5px solid var(--line); box-shadow: var(--shadow);
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 38px, rgba(11, 60, 73, .035) 38px 39px), #fff; }
.atl-mini-c { position: absolute; left: 14px; bottom: 12px; max-width: calc(100% - 28px); margin: 0; padding: 7px 12px; border-radius: 12px; background: rgba(255, 255, 255, .92); font-size: 16px; color: var(--muted); font-weight: 600; }
.atl-st .atl-st-card { padding: clamp(20px, 2.6vw, 34px); border-radius: 30px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow); }
.atl-st h1 { font-size: clamp(28px, 2.7vw, 40px); max-width: 20ch; }
.atl-st .atl-mini { align-self: start; height: min(660px, calc(100svh - var(--nav-h) - 40px)); position: sticky; top: calc(var(--nav-h) + 16px); }
.atl-st .lead { margin-bottom: 10px; }
.atl-st-now { margin: 0 0 4px; font-size: 19px; font-weight: 700; }
.atl-st-act { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 22px; }
.atl-st-act .btn { flex: 1 1 auto; }
.atl-st-act .st-closed { font-size: 18px; }
.atl-wk-h { margin: 0 0 14px; font-weight: 700; font-size: 17px; }
.atl-wk-h small { font-weight: 600; color: var(--muted); font-size: 16px; }
.atl-wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; list-style: none; margin: 0; padding: 0; }
.atl-wk li { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 12px 2px 12px; border-radius: 14px; background: var(--bg); text-align: center; font-size: 16px; line-height: 1.25; }
.atl-wk b { font-size: 16px; }
.atl-wk li.wk-today { background: var(--petrol); color: #fff; }
.atl-wk em { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border-radius: 99px; background: var(--coral); color: #2a0d05; font-style: normal; font-weight: 700; font-size: 16px; white-space: nowrap; }
.atl-st-cats { margin: 16px 0 0; font-size: 17px; }
.atl-st-cats span { font-weight: 700; }
@media (max-width: 900px) {
  .atl-in { padding: 14px 0 28px; }
  .atl-in-g { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .atl-mini { min-height: 0; border-radius: 24px; display: flex; flex-direction: column; }
  .atl-mini .atl-cv { position: relative; inset: auto; height: 300px; }
  .atl-mini-c { position: static; max-width: none; border-radius: 0; background: var(--bg); border-top: 1px solid var(--line); }
  .atl-in:not(.atl-st) .atl-in-t { display: contents; }
  .atl-in:not(.atl-st) .atl-mini { order: 2; }
  .atl-in:not(.atl-st) .atl-in-f { order: 3; margin: 0; }
  .atl-in:not(.atl-st) .hero-act { order: 4; margin: 0; }
  .atl-in:not(.atl-st) .lead { margin-bottom: 0; }
  .atl-st .atl-mini { position: relative; top: auto; height: auto; }
  .atl-in-f { display: grid; grid-template-columns: 1fr 1fr; }
  .atl-in-f > div { min-width: 0; padding: 8px 14px 10px; }
  .atl-in-f b { font-size: 26px; }
  .atl-in .hero-act { display: grid; grid-template-columns: 1fr; }
  .atl-st-act { display: grid; grid-template-columns: 1fr; }
  .atl-st-act .btn { white-space: normal; min-width: 0; }
  .atl-st .atl-st-card { padding: 18px 16px; border-radius: 24px; }
}
@media (max-width: 420px) {
  .hero-inner.atl-in h1 { font-size: clamp(28px, 8.4vw, 36px); }
  .atl-st h1 { font-size: 28px; }
  .atl-wk li { font-size: 16px; padding: 12px 0 10px; }
  .atl-wk b { font-size: 16px; }
  .atl-wk em { font-size: 16px; padding: 0 5px; }
}

/* ═════════ А–Я: док ═════════ */
.b-az .az-l-js { display: none; }
.dk { margin-top: 6px; }
.dk-bar { display: flex; align-items: flex-end; justify-content: center; gap: 0; width: max-content; max-width: 100%; margin: 0 auto; padding: 10px 16px 12px; border-radius: 26px; overflow: visible;
  background: rgba(255, 255, 255, .96); border: 1.5px solid var(--line); box-shadow: 0 24px 50px -30px rgba(11, 60, 73, .5); }   /* без backdrop-filter: размытие пересчитывалось бы каждый кадр поверх движущейся карты */
.dk-l, .dk-all { --s: 1; position: relative; display: grid; place-items: end center; width: calc(35px * var(--s)); height: 54px; padding: 0 0 6px; border: 0; background: none; color: var(--fg); cursor: pointer; transition: width .14s linear; }
.dk-all { width: calc(56px * var(--s)); }
.dk-l > span, .dk-all > span { display: block; font-family: var(--font-head); font-weight: 700; font-size: 26px; line-height: 1; transform-origin: 50% 100%; transform: translateY(calc((var(--s) - 1) * -10px)) scale(var(--s)); transition: transform .14s linear, color .2s; }
.dk-all > span { font-family: var(--font); font-size: 17px; font-weight: 700; }
.dk-off { cursor: default; }
.dk-off > span { color: #B9C7C5; }
.dk-l[aria-pressed="true"] > span, .dk-all[aria-pressed="true"] > span { color: var(--accent-t); }
.dk-l[aria-pressed="true"]::after, .dk-all[aria-pressed="true"]::after { content: ""; position: absolute; bottom: -2px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--coral); }
.dk-l:hover > span { color: var(--accent-t); }
.dk-out:empty { display: none; }
.dk-out { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 30px; align-items: start; margin-top: 36px; }
.dk-k { font-family: var(--font-head); font-size: 200px; font-weight: 700; line-height: .78; color: transparent; -webkit-text-stroke: 2.5px var(--coral); text-align: center; }
.dk-c { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; perspective: 900px; }
.dk-c li { display: grid; grid-template-rows: 1fr auto; border: 1.5px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; }
.dk-c li:hover { border-color: var(--petrol); transform: translateY(-3px); box-shadow: var(--shadow); }
.dk-card { display: grid; align-content: start; gap: 4px; padding: 18px 20px 14px; text-decoration: none; }
.dk-card b { font-family: var(--font-head); font-size: 30px; line-height: 1.08; }
.dk-card span { font-size: 16px; color: var(--muted); }
.dk-card em { font-style: normal; font-weight: 700; font-size: 16px; color: var(--accent-t); }
.dk-fly { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border: 0; border-top: 1.5px solid var(--line); background: var(--bg); font-weight: 700; font-size: 16px; color: var(--fg); cursor: pointer; }
.dk-fly:hover { background: var(--petrol); color: #fff; }
.dk-fly i { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(242, 96, 61, .25); }
.raf-ok .dk-run .dk-c li { animation: cascade .6s var(--ease) both; animation-delay: calc(80ms + var(--i) * 75ms); }
.raf-ok .dk-run .dk-k { animation: kIn .7s var(--ease) both; }
@keyframes cascade { from { opacity: 0; transform: translateY(30px) rotateX(-24deg) scale(.95); } }
@keyframes kIn { from { opacity: 0; transform: scale(.6) rotate(-6deg); } }
.dk-pick .az { display: none; }
.az { columns: 4 230px; column-gap: 30px; margin-top: 34px; }
.az-g { break-inside: avoid; margin-bottom: 22px; padding-top: 4px; border-top: 2px solid var(--petrol); transition: background .3s; }
.az-g.az-hit { background: rgba(242, 96, 61, .1); }
.az-k { display: block; font-family: var(--font-head); font-size: 44px; line-height: 1.1; color: var(--accent-t); }
.az li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.az li a { font-size: 19px; font-weight: 700; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.az li a:hover { color: var(--accent-t); text-decoration: underline; }
.az li span { font-size: 16px; color: var(--muted); }
.scr { display: none; }
@media (max-width: 760px) {
  .b-az .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 54px; column-gap: 10px; }
  .b-az .b-head { grid-column: 1 / -1; }
  .dk { display: none; }
  .az { grid-column: 1; grid-row: 2; columns: 1; margin-top: 0; }
  .scr { grid-column: 2; grid-row: 2; position: sticky; top: calc(var(--nav-h) + 10px); align-self: start; display: flex; flex-direction: column; padding: 4px 0; border-radius: 27px; background: #fff; border: 1.5px solid var(--line); box-shadow: 0 16px 30px -22px rgba(11, 60, 73, .6); touch-action: none; user-select: none; -webkit-user-select: none; }
  .scr button { height: min(44px, calc((100svh - var(--nav-h) - 110px) / 14)); min-height: 34px; border: 0; border-radius: 22px; background: none; font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--fg); cursor: pointer; }
  .scr button.on { background: var(--petrol); color: #fff; }
  .scr-bubble { position: absolute; right: 66px; width: 84px; height: 84px; margin-top: -42px; display: grid; place-items: center; border-radius: 50%; background: var(--petrol); color: #fff; font: 800 46px/1 var(--font-head); pointer-events: none; box-shadow: var(--shadow); }
  .scr-bubble::after { content: ""; position: absolute; right: -9px; top: 50%; margin-top: -9px; border: 9px solid transparent; border-left-color: var(--petrol); border-right: 0; }
  .az-k { font-size: 38px; }
  .az li a { font-size: 19px; min-height: 44px; }
}

/* ═════════ Регионы ═════════ */
.regions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.regions > li { padding: 0; }
.rg { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 26px; background: #fff; overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; }
.rg:hover { border-color: var(--petrol-2); box-shadow: var(--shadow); }
.rg-big { grid-column: span 2; grid-row: span 2; }
.rg:nth-child(6), .rg:nth-child(7) { grid-column: span 2; flex-direction: row; }
.rg:nth-child(6) .rg-map, .rg:nth-child(7) .rg-map { flex: 0 0 44%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
.rg-map { position: relative; aspect-ratio: 1.75; background: linear-gradient(180deg, #fff, var(--bg)); border-bottom: 1px solid var(--line); }
.rg-big .rg-map { aspect-ratio: 2; }
.rg-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rg-t { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; min-width: 0; }
.rg h3 { margin: 0; font-family: var(--font-head); font-size: 28px; }
.rg-big h3 { font-size: 40px; }
.rg-n { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.rg-n b { font-family: var(--font-head); font-size: 48px; line-height: 1; color: var(--petrol); font-variant-numeric: tabular-nums; }
.rg-big .rg-n b { font-size: 72px; }
.rg-n span { font-size: 16px; font-weight: 600; color: var(--muted); }
.rg-s { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.45; }
.rg-c li { padding: 0; border: 0; border-radius: 0; background: none; }
.rg-c { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.rg-c a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 12px; border-radius: 999px; background: var(--bg); font-size: 16px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.rg-c a:hover { background: var(--petrol); color: #fff; }
.rg-c small { font-size: 16px; font-weight: 700; color: var(--accent-t); }
.rg-c a:hover small { color: #FFC0AE; }
.rg-a { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
.rg-a .btn { flex: 1 1 160px; min-height: 52px; font-size: 16px; padding: 10px 12px; }
@media (max-width: 1100px) { .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rg-big { grid-row: auto; } }
@media (max-width: 760px) {
  .regions { grid-template-columns: minmax(0, 1fr); }
  .rg-big, .rg:nth-child(6), .rg:nth-child(7) { grid-column: auto; flex-direction: column; }
  .rg:nth-child(6) .rg-map, .rg:nth-child(7) .rg-map { flex: none; aspect-ratio: 2.1; border-right: 0; border-bottom: 1px solid var(--line); }
  .rg-map, .rg-big .rg-map { aspect-ratio: 2.1; }
  .rg-big h3 { font-size: 32px; } .rg-big .rg-n b { font-size: 56px; }
  .rg-a { display: grid; grid-template-columns: 1fr; }
}

/* ═════════ «Россия сейчас» и карты на страницах ═════════ */
.b-map .map.atl-map { height: auto; border-radius: 30px; border: 1.5px solid var(--line); background: #fff; overflow: hidden; }
.atl-now-h { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; padding: 22px 26px; background: var(--petrol); color: #fff; }
.atl-now-n { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.atl-now-n b { font-family: var(--font-head); font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; }
.atl-now-n span { font-size: 18px; max-width: 12em; line-height: 1.3; }
.atl-now-z { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.atl-now-z li { display: grid; min-width: 118px; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14); }
.atl-now-z b { font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1.15; }
.atl-now-z span { font-size: 16px; font-weight: 600; }
.atl-now-z small { font-size: 16px; font-weight: 700; color: #FFC0AE; }
.atl-now-z li.z-off small { color: rgba(255, 255, 255, .78); }
.atl-now-m { position: relative; height: clamp(340px, 44vw, 580px); background: repeating-radial-gradient(circle at 50% 120%, transparent 0 44px, rgba(11, 60, 73, .035) 44px 45px), #fff; }
.atl-now-lg { position: absolute; left: 18px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .9); font-size: 16px; font-weight: 600; color: var(--muted); }
.atl-now-lg span { display: inline-flex; align-items: center; gap: 7px; }
.atl-now-lg i { width: 14px; height: 14px; border-radius: 50%; }
.lg-on { background: var(--coral); } .lg-off { background: rgba(11, 60, 73, .25); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px rgba(11, 60, 73, .3); }
.lg-day { background: rgba(11, 60, 73, .16); } .lg-night { background: rgba(11, 60, 73, .66); }
.b-map .map.atl-map.atl-loc { position: relative; height: clamp(380px, 42vw, 540px); }
.atl-loc-l { position: absolute; z-index: 2; left: 22px; top: 22px; bottom: 22px; width: 290px; display: flex; flex-direction: column; padding: 20px; border-radius: 22px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow); overflow: auto; }
.atl-loc-t { font-family: var(--font-head); font-size: 26px; font-weight: 700; line-height: 1.15; margin: 0 0 6px; }
.atl-loc-l p { margin: 0 0 8px; font-size: 16px; color: var(--muted); }
.atl-loc-l ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.atl-loc-l a { display: grid; min-height: 56px; padding: 8px 12px; border-radius: 14px; background: var(--bg); text-decoration: none; }
.atl-loc-l a:hover { background: var(--petrol); color: #fff; }
.atl-loc-l b { font-size: 18px; }
.atl-loc-l span { font-size: 16px; color: inherit; opacity: .9; }
@media (max-width: 760px) {
  .atl-now-h { padding: 18px 16px; gap: 14px; }
  .atl-now-n b { font-size: 52px; }
  .atl-now-z { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .atl-now-z li { min-width: 0; padding: 6px 10px; }
  .atl-now-z b { font-size: 20px; }
  .atl-now-z span { font-size: 16px; line-height: 1.3; }
  .atl-now-m { height: 300px; }
  .atl-now-lg { left: 8px; right: 8px; bottom: 8px; font-size: 16px; gap: 4px 12px; padding: 6px 10px; }
  .b-map .map.atl-map.atl-loc { height: auto; display: flex; flex-direction: column-reverse; }
  .b-map .map.atl-map.atl-loc .atl-cv { position: relative; inset: auto; height: 300px; }
  .atl-loc-l { position: static; width: auto; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); }
}

/* ═════════ цифры ═════════ */
.b-stats { padding-block: clamp(40px, 5vw, 70px); }
.b-stats .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--petrol); border-bottom: 1px solid var(--line); }
.b-stats .stats li { padding: 26px 22px 24px 0; border-right: 1px solid var(--line); }
.b-stats .stats li + li { padding-left: 24px; }
.b-stats .stats li:last-child { border-right: 0; }
.b-stats .stats b { font-family: var(--font-head); font-size: clamp(56px, 7.4vw, 108px); font-weight: 700; color: var(--petrol); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.b-stats .stats span { display: block; margin-top: 6px; font-size: 18px; font-weight: 600; color: var(--muted); }
@media (max-width: 760px) {
  .b-stats .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-stats .stats li { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); }
  .b-stats .stats li:nth-child(2n) { border-right: 0; padding-left: 16px; }
  .b-stats .stats li:nth-child(2n+1) { padding-left: 0; }
  .b-stats .stats li:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ═════════ каталог: регион → город → пункт ═════════ */
.b-list { background: linear-gradient(180deg, var(--bg), #EEF3F2); }
.lst-bar { display: flex; flex-wrap: wrap; gap: 12px; padding: 14px; margin-bottom: 18px; border: 1.5px solid var(--line); border-radius: 24px; background: #fff; }
.lst-bar > .sx, .lst-bar > .lst-cats { flex: 1 1 100%; order: 3; }
.lst-q { flex: 1 1 320px; }
.lst-q input { min-height: 58px; padding: 10px 18px; border: 2px solid var(--line-2); border-radius: 16px; font-size: 18px; font-weight: 600; }
.lst-q input::placeholder { color: #3A5C66; opacity: 1; }
.lst-q input:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 4px rgba(11, 60, 73, .12); }
.lst-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; }
.lst-cats::-webkit-scrollbar { display: none; }
.lst-cats button, .lst-open { flex: none; white-space: nowrap; min-height: 50px; padding: 8px 18px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 17px; font-weight: 700; }
.lst-cats button[aria-pressed="true"], .lst-open[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.lst-geo { min-height: 58px; margin-left: 0; }
.sx { position: relative; min-width: 0; }
.sx.sx-ov > :first-child { width: auto; margin-right: 50px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
.sx.sx-ov.sx-on-l > :first-child { -webkit-mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 40px), transparent); }
.sx.sx-ov.sx-end > :first-child { -webkit-mask-image: linear-gradient(to right, transparent, #000 36px); mask-image: linear-gradient(to right, transparent, #000 36px); }
.sx-btn { position: absolute; right: 0; z-index: 2; width: 46px; height: 46px; margin-top: -23px; padding: 0; border: 1.5px solid var(--line-2); border-radius: 50%; background: #fff; cursor: pointer; display: none; place-items: center; font-weight: 700; }
.sx.sx-ov .sx-btn { display: grid; }
.sx-btn i { font-style: normal; transition: transform .25s; }
.sx.sx-end .sx-btn i { transform: rotate(180deg); }
.lst { gap: 12px; }
.mr-list { display: grid; gap: 14px; }
.mr { border: 1.5px solid var(--line); border-radius: 26px; background: #fff; overflow: hidden; }
.mr-h { margin: 0; }
.mr-t { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "n c i" "d d i"; align-items: center; gap: 4px 18px; min-height: 88px; padding: 16px 18px 16px 26px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; transition: background .25s, color .25s; }
.mr-n { grid-area: n; font-family: var(--font-head); font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; line-height: 1.1; }
.mr-c { grid-area: c; font-size: 17px; color: var(--muted); }
.mr-c b { color: var(--fg); font-size: 19px; }
.mr-c i { font-style: normal; margin: 0 8px; opacity: .6; }
.mr-d { grid-area: d; font-size: 16px; color: var(--muted); font-weight: 600; }
.acc-i { grid-area: i; position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: transform .4s var(--ease), border-color .2s; }
.acc-i::before { content: ""; position: absolute; left: 50%; top: 45%; width: 10px; height: 10px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: translate(-50%, -50%) rotate(45deg); }
.mr-t:hover { background: var(--bg); }
.mr-on > .mr-h .mr-t { background: var(--petrol); color: #fff; }
.mr-on > .mr-h .mr-c, .mr-on > .mr-h .mr-d { color: rgba(255, 255, 255, .86); }
.mr-on > .mr-h .mr-c b { color: #fff; }
.mr-on > .mr-h .acc-i { transform: rotate(180deg); border-color: rgba(255, 255, 255, .45); }
.mr:not(.mr-on) > .mr-body { display: none; }
.mr-sub { list-style: none; margin: 0; padding: 10px 12px 14px; display: grid; gap: 8px; }
.acc .lst-city { display: flex; align-items: stretch; padding: 0; margin: 0; border: 1.5px solid var(--line); border-radius: 18px; background: var(--bg); overflow: hidden; }
.acc .lst-city h3 { flex: 1; min-width: 0; margin: 0; font-size: inherit; }
.acc-t { width: 100%; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "n c d i"; align-items: center; gap: 4px 12px; min-height: 66px; padding: 8px 12px 8px 18px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.acc .acc-n { grid-area: n; font-size: 20px; font-weight: 700; }
.acc .acc-c { grid-area: c; justify-self: start; padding: 2px 10px; border-radius: 99px; background: var(--petrol); color: #fff; font-size: 16px; font-weight: 700; white-space: nowrap; }
.acc .acc-c.acc-f { background: var(--accent); }
.acc-d { grid-area: d; min-width: 0; font-size: 16px; font-weight: 600; color: var(--muted); line-height: 1.4; }
.acc-t .acc-i { width: 40px; height: 40px; }
.acc-on .acc-t { background: #fff; }
.acc-on .acc-t .acc-i { transform: rotate(180deg); }
.acc-go { flex: none; display: flex; align-items: center; padding: 0 18px; border-left: 1.5px solid var(--line); font-size: 16px; font-weight: 700; color: var(--accent-t); text-decoration: none; white-space: nowrap; }
.acc-go:hover { background: #fff; text-decoration: underline; }
.acc:not(.acc-flat) li.st:not(.acc-in) { display: none; }
.acc .lst-city[hidden] { display: none; }
/* строка пункта */
li.st { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 22px; background: #fff; }
li.st:hover { border-color: var(--line-2); box-shadow: 0 16px 40px -30px rgba(11, 60, 73, .6); }
li.st.sd-on { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(242, 96, 61, .15); }
li.st.atl-land { animation: land .8s var(--ease); }
.st-name { font-size: 20px; margin: 0 0 2px; }
.st-name a:hover { text-decoration: underline; }
.st-city { font-size: 16px; color: var(--muted); margin: 0; }
.st-hours { font-size: 16px; margin: 6px 0 2px; font-weight: 600; }
.st-cats { margin-top: 8px; gap: 6px; }
.st-cats li { font-size: 16px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--bg); color: var(--fg); }
.st-side { align-self: center; }
.st-act { gap: 8px; }
.st-act .btn { min-height: 52px; }
.sd-tg { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; margin-top: 8px; padding: 6px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--bg); color: var(--fg); font-size: 17px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s; }
.sd-tg:hover { border-color: var(--petrol); background: #fff; }
.sd-tg i { position: relative; width: 12px; height: 12px; }
.sd-tg i::before { content: ""; position: absolute; inset: 0; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
.sd-tg[aria-expanded="true"] { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.sd-tg[aria-expanded="true"] i::before { transform: translateY(3px) rotate(-135deg); }
li.st .sd { grid-column: 1 / -1; }
/* пометки загрузки */
.st-load { display: inline-flex; align-items: center; gap: 9px; margin: 8px 0 2px; padding: 6px 12px 6px 10px; border-radius: 10px; font-size: 16px; font-weight: 700; letter-spacing: .03em; line-height: 1.3; }
.st-load::before { content: ""; flex: none; width: 11px; height: 11px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.st-load > i { display: none; }
.st-load-free { background: #E1F1E6; color: #135A31; }
.st-load-mid { background: #FBEED6; color: #6E4200; }
.st-load-busy { background: #FAE0DA; color: #7E1C0B; }   /* 8,1:1 (было 6,8:1) */
.st-load-phone { background: #E4ECEE; color: var(--petrol); }
.st-load-closed { background: #ECEFEF; color: #2C3A3E; }
.st-load-big { display: flex; align-items: flex-start; padding: 12px 16px; border-radius: 16px; gap: 12px; }
.st-load-big::before { margin-top: 5px; width: 14px; height: 14px; }
.st-load-big b { display: block; font-size: 16px; }
.st-load-big small { display: block; margin-top: 2px; font-size: 16px; font-weight: 500; letter-spacing: 0; }
.raf-ok .st-load-free::before { animation: ldp 2.4s ease-out infinite; }
/* ПЕРФ: пока атлас движется (класс от atlas.js) — пульсы на box-shadow на паузе: иначе стили «грязные» каждый кадр и холст атласа их пересчитывает */
.atl-mv .logo-mark i, .atl-mv .st-load-free::before, .atl-mv .cta::after { animation-play-state: paused; }
@keyframes ldp { 0% { box-shadow: 0 0 0 0 rgba(19, 90, 49, .45); } 80%, 100% { box-shadow: 0 0 0 9px rgba(19, 90, 49, 0); } }
[data-state="on"]::before, [data-state="soon"]::before { background: var(--ok); }
[data-state="off"]::before { background: var(--bad); }
/* подробности пункта */
.sd-in { margin-top: 12px; padding: 18px; border-radius: 20px; background: var(--bg); border: 1.5px solid var(--line); }
.sd-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sd-e { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol-2); }
.sd-x { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; }
.sd-x i::before, .sd-x i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2.4px; border-radius: 2px; background: var(--fg); transform: translate(-50%, -50%) rotate(45deg); }
.sd-x i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.sd-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px; margin-top: 14px; }
.sd-c h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.sd-c h4 small { font-weight: 600; color: var(--muted); font-size: 16px; }
.sd-adr { margin: 0; font-weight: 700; font-size: 17px; }
.sd-dis { margin: 0; color: var(--muted); font-size: 16px; }
.sd-lm { display: flex; gap: 8px; margin: 6px 0 0; font-size: 16px; }
.sd-lm i { flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--coral); }
.sd-st { margin: 8px 0 0; font-weight: 700; font-size: 16px; }
.sd-wk { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sd-wk li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 10px; border-radius: 10px; font-size: 16px; }
.sd-wk li b small { margin-left: 6px; font-size: 16px; font-weight: 700; color: #2a0d05; background: var(--coral); padding: 0 7px; border-radius: 99px; }
.sd-wk li em { font-style: normal; font-variant-numeric: tabular-nums; }
.sd-wk li em + em::before { content: ", "; }
.sd-wk .sd-today { background: var(--petrol); color: #fff; }
.sd-wk .sd-off { color: var(--bad); }
.sd-wk .sd-today .sd-off { color: #FFC0AE; }
.sd-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sd-cats li { padding: 4px 12px; border-radius: 99px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: 16px; }
.sd-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sd-act .btn { min-height: 52px; font-size: 16px; padding: 10px 16px; }
.sd-near { margin-top: 16px; }
.sd-near h4 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.sd-near ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sd-near a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "k a i" "k l i"; gap: 2px 10px; align-items: center; min-height: 60px; padding: 8px 12px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); text-decoration: none; }
.sd-near a:hover { border-color: var(--petrol); }
.sd-nk { grid-area: k; font-weight: 700; font-size: 16px; color: var(--accent-t); white-space: nowrap; }
.sd-na { grid-area: a; display: grid; min-width: 0; }
.sd-na b { font-size: 16px; line-height: 1.3; }
.sd-na small { font-size: 16px; color: var(--muted); }
.sd-nl { grid-area: l; justify-self: start; padding: 1px 8px; border-radius: 99px; font-size: 16px; font-weight: 700; background: var(--bg-2); }
.sd-nl-free { background: #E1F1E6; color: #135A31; } .sd-nl-busy { background: #FAE0DA; color: #7E1C0B; } .sd-nl-mid { background: #FBEED6; color: #6E4200; }
.sd-near a > i { grid-area: i; font-style: normal; color: var(--muted); }
.raf-ok .sd-anim .sd-c, .raf-ok .sd-anim .sd-act > *, .raf-ok .sd-anim .sd-near li, .raf-ok .sd-anim .st-load-big { animation: sdUp .45s var(--ease) both; animation-delay: calc(60ms + var(--i, 0) * 35ms); }
@keyframes sdUp { from { opacity: 0; transform: translateY(10px); } }
.atl-card .sd-g { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.atl-card .sd-near ul { grid-template-columns: minmax(0, 1fr); }
.atl-card .sd-act { display: grid; grid-template-columns: 1fr 1fr; }
.atl-card .sd-act > .btn-a, .atl-card .sd-act > .st-closed, .atl-card .sd-act .sd-page { grid-column: 1 / -1; }
.atl-card .sd-in { padding: 14px; }
@media (max-width: 1100px) { .sd-g { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .sd-tr { grid-column: 1 / -1; } .sd-near ul { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .lst-bar { padding: 10px; border-radius: 20px; }
  .lst-geo { width: 100%; }
  li.st { grid-template-columns: minmax(0, 1fr); padding: 16px 14px; }
  .st-side { grid-template-columns: minmax(0, 1fr); }
  .st-act { display: grid; grid-template-columns: 1fr 1fr; }
  .st-act .btn { min-width: 0; padding-inline: 10px; }
  .st-act .st-closed { grid-column: 1 / -1; }
  .mr-t { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n i" "c i" "d i"; padding: 14px 12px 14px 18px; min-height: 80px; }
  .mr-c { font-size: 16px; }
  .acc-t { display: flex; flex-wrap: wrap; position: relative; gap: 2px 10px; padding: 10px 56px 10px 14px; min-height: 64px; }
  .acc-t .acc-i { position: absolute; right: 8px; top: 50%; margin-top: -20px; }
  .acc-t .acc-d { flex: 1 0 100%; }
  .acc-go { width: 58px; padding: 0; justify-content: center; font-size: 0; position: relative; }
  .acc-go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .acc-go::before { content: "→"; font-size: 22px; }
  .mr-sub { padding: 8px 8px 12px; }
  .sd-in { padding: 14px 12px; }
  .sd-g { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sd-act { display: grid; grid-template-columns: 1fr 1fr; }
  .sd-act > .btn-a, .sd-act > .st-closed, .sd-act .sd-page, .sd-act .sd-chk { grid-column: 1 / -1; }
  .sd-act .btn { min-width: 0; padding-inline: 8px; }
  .st-load { font-size: 16px; }
}

/* ═════════ страница пункта: подробности ниже шапки ═════════ */
@media (min-width: 861px) { .b-station .pto { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; } }
@media (max-width: 860px) { .b-station .pto { grid-template-columns: minmax(0, 1fr); } .pto-act .btn { width: 100%; white-space: normal; } }
.pto-main, .pto-side, .pto-grid > div { border: 1.5px solid var(--line); border-radius: 26px; background: #fff; }
.pto-op { font-size: 16px; } .pto-now { font-size: 19px; }
.pto-act { gap: 10px; }
.pto-dl { gap: 12px 20px; font-size: 17px; }
.pto-dl dt { font-weight: 700; }
.pto-dl a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; color: var(--accent-t); }
.pto-side h2, .pto-grid h2 { font-family: var(--font-head); font-size: 28px; }
.hours { font-size: 17px; border-collapse: separate; border-spacing: 0; }
.hours th, .hours td { padding: 10px 12px; }
.hours th { font-weight: 600; }
.hours tr.h-today th, .hours tr.h-today td { background: var(--petrol); color: #fff; font-weight: 700; border-bottom-color: var(--petrol); }
.hours tr.h-today th { border-radius: 12px 0 0 12px; }
.hours tr.h-today td { border-radius: 0 12px 12px 0; }
.hours tr.h-today small { margin-left: 8px; padding: 1px 8px; border-radius: 99px; background: var(--coral); color: #2a0d05; font-size: 16px; font-weight: 700; }
.pto-cats li { font-size: 17px; }
.pto-grid > div:only-child { grid-column: 1 / -1; }
.pto-cats b { min-width: 0; padding: 3px 12px; border-radius: 99px; background: var(--petrol); color: #fff; }
.lk { margin-bottom: 26px; }
.lk-h { font-family: var(--font-head); font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 12px; }
.lk-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.links { padding: 22px; border: 1.5px solid var(--line); border-radius: 24px; background: #fff; }
.links h3 { font-size: 19px; }
.links a { min-height: 44px; font-size: 17px; color: var(--accent-t); }

/* ═════════ вопросы, призыв, города ═════════ */
.faq { gap: 12px; max-width: 940px; }
.faq details { border: 1.5px solid var(--line); border-radius: 22px; background: #fff; transition: border-color .2s; }
.faq details[open] { border-color: var(--petrol-2); }
.faq summary { padding: 20px 70px 20px 24px; font-size: 19px; line-height: 1.4; }
.faq summary::after { content: ""; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-2);
  background: linear-gradient(var(--petrol), var(--petrol)) center/14px 2.5px no-repeat, linear-gradient(var(--petrol), var(--petrol)) center/2.5px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); font-size: 18px; }
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(32px, 5.5vw, 70px); border-radius: 34px; background: var(--petrol); color: #fff; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, .16) 1.3px, transparent 1.8px) 0 0/16px 16px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 88% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 88% 50%, #000, transparent 70%); }
.cta::after { content: ""; position: absolute; z-index: -1; right: 12%; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 10px rgba(242, 96, 61, .22), 0 0 80px 30px rgba(242, 96, 61, .35); }
.raf-ok .cta::after { animation: ctaP 2.8s ease-out infinite; }
@keyframes ctaP { 0% { box-shadow: 0 0 0 0 rgba(242, 96, 61, .5), 0 0 80px 30px rgba(242, 96, 61, .35); } 80%, 100% { box-shadow: 0 0 0 42px rgba(242, 96, 61, 0), 0 0 80px 30px rgba(242, 96, 61, .35); } }
.cta .h2 { color: #fff; max-width: 16ch; }
.cta p { max-width: 36em; font-size: 19px; color: rgba(255, 255, 255, .9); margin-bottom: 24px; }
.cta .btn-g { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.cta .btn-g:hover { border-color: #fff; }
.b-districts .chips { gap: 10px; }
.chip { min-height: 52px; padding: 8px 18px; border: 1.5px solid var(--line-2); font-size: 17px; font-weight: 700; background: #fff; }
.chip span { font-size: 16px; padding: 1px 8px; border-radius: 99px; background: var(--petrol); color: #fff; }
.chip.on { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.chip.on span { background: var(--coral); color: #2a0d05; }
.cm { display: grid; gap: 12px; }
.cm-r { border: 1.5px solid var(--line); border-radius: 22px; background: #fff; }
.cm-r summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; padding: 10px 22px; cursor: pointer; list-style: none; }
.cm-r summary::-webkit-details-marker { display: none; }
.cm-r summary span { font-family: var(--font-head); font-size: 26px; font-weight: 700; }
.cm-r summary small { font-size: 16px; font-weight: 700; color: var(--muted); }
.cm-r .cities { padding: 0 22px 16px; }
.cities a { font-size: 18px; min-height: 44px; display: inline-flex; align-items: center; }
.cities span { font-size: 16px; }
.lst-empty { font-size: 18px; border-radius: 20px; }

/* ═════════ подвал ═════════ */
.foot { background: var(--petrol); color: #E6EFEE; border-top: 0; font-size: 17px; padding-top: 64px; }
.foot a { color: #fff; }
.foot .logo-t { color: #fff; }
.foot .logo-mark { background: #fff; }
.foot .logo-mark::before, .foot .logo-mark::after { border-color: rgba(11, 60, 73, .45); }
.foot .logo-mark i { box-shadow: 0 0 0 3px #fff; }
.foot .logo-t b { background: var(--coral); color: #2a0d05; }
.foot-top p { color: rgba(230, 239, 238, .92); }
.foot-top p a { font-weight: 700; font-size: 19px; }
.foot-cities b { color: #fff; font-family: var(--font-head); font-size: 24px; }
.foot-cities.fc { display: block; }
.fc-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; margin-top: 12px; }
.fc-r { border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 10px; }
.fc-r summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; list-style: none; font-weight: 700; color: #fff; cursor: pointer; }
.fc-r summary::-webkit-details-marker { display: none; }
.fc-r summary small { padding: 1px 9px; border-radius: 99px; background: rgba(255, 255, 255, .14); font-size: 16px; }
.fc-l { display: grid; }
.fc-wide .fc-l { display: block; columns: 2; column-gap: 20px; }
.fc-wide .fc-l a { display: flex; }
.fc-wide { grid-column: span 2; grid-row: auto; }
.foot-cities .fc-l a { min-height: 44px; color: rgba(230, 239, 238, .92); font-size: 17px; }
.foot-cities .fc-l a:hover { color: #fff; }
.foot-legal { color: rgba(230, 239, 238, .85); font-size: 16px; }
.atl-anim-p { margin: 0 0 18px; }
.atl-anim { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 18px; border: 1.5px solid rgba(255, 255, 255, .38); border-radius: 999px; background: transparent; color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; }
.atl-anim i { position: relative; width: 46px; height: 26px; border-radius: 99px; background: rgba(255, 255, 255, .25); transition: background .25s; }
.atl-anim i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.atl-anim[aria-checked="true"] i { background: var(--coral); }
.atl-anim[aria-checked="true"] i::after { transform: translateX(20px); }
@media (max-width: 760px) {
  .fc-g { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fc-wide { grid-column: auto; }
  .fc-wide .fc-l { columns: 1; }
  .fc-r summary { min-height: 56px; font-size: 18px; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ═════════ телефон: нижняя панель со звонком ═════════ */
.atl-bar { display: none; }
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  .nav-in { min-height: 60px; gap: 10px; }
  .logo-t { font-size: 22px; }
  .logo-mark { width: 36px; height: 36px; }
  .nav-tel { font-size: 16px; }
  .nav-tel::before { display: none; }
  .atl-bar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 6px; padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
    background: #F4F6F5; border-top: 1px solid var(--line); }
  .atl-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 16px; text-decoration: none; font-weight: 700; }
  .atl-bar-t { background: var(--petrol); color: #fff; font-size: 17px; line-height: 1.15; }
  .atl-bar-t svg { width: 22px; height: 22px; flex: none; }
  .atl-bar-t small { display: block; font-size: 16px; font-weight: 600; opacity: .9; }
  .atl-bar-f { background: var(--accent); color: #fff; font-size: 17px; }
  body.atl { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: 84px; }
  .modal-open .atl-bar { display: none; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .b-head .h2 { font-size: clamp(30px, 8vw, 38px); }
  .eyebrow { font-size: 16px; }
}
@media (max-width: 380px) {
  .nav-tel { display: none; }
  .atl-bar-t svg { display: none; }
  .atl-bar-t { font-size: 16px; }
  .atl-bar-f { font-size: 16px; }
}

/* без движения: системная настройка или переключатель «Анимация: выкл» */
html.no-anim *, html.no-anim *::before, html.no-anim *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .logo-mark i, .cta::after, .st-load-free::before, .atl-card, .atl-cr li, .atl-sug-i, .dk-c li, .dk-k, .sd-anim * { animation: none !important; }
  .atl-panel, .atl-intro, .atl-copy, .atl-stage, .dk-l, .dk-l > span, .atl-ctrl { transition: none !important; }
}

/* окно записи движка — в тон атласа, подсказки в полях читаемые (50+) */
.bk-box { border-radius: 28px; }
.bk .fl input, .bk select { min-height: 56px; border: 2px solid var(--line-2); border-radius: 14px; font-size: 18px; }
.bk input::placeholder { color: #3A5C66; opacity: 1; }
.fl > span, .fl legend { font-size: 16px; font-weight: 700; color: var(--fg); }
.bk-days button, .bk-slots button { min-height: 56px; border: 1.5px solid var(--line-2); font-size: 17px; }
.bk-days small { font-size: 16px; }
.agree { font-size: 16px; }

.atl-attr { position: absolute; z-index: 3; left: 16px; bottom: 14px; margin: 0; padding: 4px 10px; border-radius: 10px; background: rgba(255, 255, 255, .88); font-size: 16px; color: var(--muted); font-weight: 600; }
@media (min-width: 901px) { .atl-attr { left: auto; right: calc(min(480px, 42vw) + 44px); bottom: 84px; } .atl-hero:not(.atl-on) .atl-attr { right: 24px; } }
.atl-attr-i { display: none; }
@media (max-width: 900px) {
  /* телефон: источник карты — кнопка «i» 32×32, текст по нажатию (не закрывает метки и подписи) */
  .atl-attr { left: 10px; bottom: 10px; padding: 0; background: none; font-size: 16px; max-width: calc(100% - 150px); display: flex; align-items: center; gap: 6px; }
  .atl-attr-i { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .94); color: var(--petrol, #0B3C49); font: italic 700 16px/1 Georgia, serif; cursor: pointer; }
  .atl-attr-t { display: none; padding: 4px 10px; border-radius: 10px; background: rgba(255, 255, 255, .94); line-height: 1.3; }
  .atl-attr-open .atl-attr-t { display: block; }
  .atl-on .atl-attr { bottom: auto; top: 10px; left: 10px; }
}

/* векторная карта города (MapLibre) под точками атласа */
.atl-ml, .atl-ml.maplibregl-map { position: absolute !important; inset: 0; z-index: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.atl-ml .maplibregl-canvas { outline: none; }
/* подписи карты у края не режутся «ножом» — мягко уходят в фон (12 px) */
.atl-ml { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent), linear-gradient(180deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent), linear-gradient(180deg, transparent, #000 12px, #000 calc(100% - 12px), transparent); mask-composite: intersect; }
.atl-stage > .atl-cv, .atl-mini > .atl-cv { z-index: 1; }
@media (max-width: 900px) { .atl-mini .atl-ml { bottom: auto; height: 300px; } }
/* цифры — обычным читаемым гротеском */
.atl-facts b, .atl-in-f b, .rg-n b, .atl-now-n b, .b-stats .stats b, .atl-now-z b { font-family: var(--font); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }

/* Windows-чёткость и 50+: вес не больше 700 (в base.css движка — 800; <b> внутри жирного не «bolder» = 900), вторичный текст движка ≥16 px */
b, strong { font-weight: 700; }
.logo, .nav-tel, .step-n, .st-load { font-weight: 700; }
.small, .crumbs, .chip span, .st-city, .st-price small { font-size: 16px; }
.logo-t b { letter-spacing: .1em; }
/* окно записи: 7 дней в ряд — плашки по 46 px (телефон) и «сегодня» впритык (ПК). Плашки не уже 72 px, подписи полностью */
.bk-days button[data-i="0"] small { font-size: 0; }
.bk-days button[data-i="0"] small::before { content: "сегодня"; font-size: 16px; }
.bk-days, .bk .bk-days { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
/* плашка «сегодня» над столбцом дня: шире ячейки (16 px), поэтому стоит над рядом, а не на соседних днях; у краёв прижата к краю */
.atl-wk { margin-top: 30px; }
.atl-wk em { top: -31px; }
.atl-wk li:first-child em { left: 0; transform: none; }
.atl-wk li:last-child em { left: auto; right: 0; transform: none; }

/* ═════════ круг 5 (09.10): замечания судьи ═════════ */
/* список «69 пунктов / 29 городов / 20 регионов» был шириной во всю колонку и перекрывал «+», «−», «Вся Россия» */
.atl-facts { width: fit-content; max-width: 100%; pointer-events: none; }
.atl-facts li { pointer-events: auto; }
@media (max-width: 900px) { .atl-facts { width: auto; } }
/* часы работы: «выходной» не вылезает из колонки; на узком экране — списком */
.atl-wk li { min-width: 0; }
.atl-wk .wk-s { display: none; font-style: normal; }
.atl-wk li span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 560px) {
  .atl-wk { grid-template-columns: minmax(0, 1fr); gap: 4px; margin-top: 0; }
  .atl-wk li, .atl-wk li.wk-today { grid-template-columns: 3.2em minmax(0, 1fr) auto; justify-items: start; align-items: center; text-align: left; padding: 10px 14px; font-size: 18px; }
  .atl-wk b { font-size: 18px; }
  .atl-wk li span br { display: none; }
  .atl-wk .wk-s { display: inline; }
  .atl-wk em, .atl-wk li:first-child em, .atl-wk li:last-child em { position: static; transform: none; top: auto; left: auto; right: auto; }
}
/* док А–Я: только буквы, у которых есть города, и не уже 44 px (люди 50+) */
.dk-l, .dk-all { min-width: 44px; }
.dk-bar > .dk-off { display: none; }
@media (min-width: 1001px) { .dk-l { width: calc(48px * var(--s)); } }
/* скраббер А–Я на телефоне целиком над нижней панелью (56 + 2×5 + 1 px + вырез iPhone): буквы ≤44 px, на низких экранах ужимаются (--n — число букв, atlas.js) */
@media (max-width: 760px) { .scr button { flex: none; height: clamp(24px, calc((100svh - var(--nav-h) - 96px - env(safe-area-inset-bottom, 0px)) / var(--n, 14)), 44px); min-height: 0; padding: 0; line-height: 1; } }
/* «Сибирь» на два ряда: мини-карта заполняет высоту карточки, а не белая пустота над кнопками */
@media (min-width: 1101px) { .rg-big .rg-map { flex: 1 1 auto; aspect-ratio: auto; min-height: 280px; } }
/* телефон в подвале не рвётся «8 800 533-» / «87-37» */
.foot-top p a[href^="tel:"], a[href^="tel:"] { white-space: nowrap; }
.fc-wide .fc-l a { break-inside: avoid; }
/* адрес пункта: «Построить маршрут» и «Отзывы» — каждая своей строкой (разделитель убирает atlas.js) */
.pto-dl dd a.dl-ln { display: flex; width: fit-content; min-height: 44px; align-items: center; }
/* тёмный текст на коралловой плашке был 5,6:1 — светлее плашка, 7,7:1 (люди 50+) */
.atl-wk em, .sd-wk li b small, .hours tr.h-today small, .chip.on span, .foot .logo-t b { background: #F88B6B; }
/* ПЕРФ: раскрытие карточки в панели (вставка «Подробнее» + замер высоты) раскладывает только панель, а не всю главную */
.atl-panel { contain: layout paint style; }
/* на 1366×768 пустой край ряда «Весь каталог / телефон» перекрывал верх «+» — пустые части рядов клики не ловят */
.atl-act, .atl-pop-l { pointer-events: none; }
.atl-act > *, .atl-pop-l > * { pointer-events: auto; }
/* круг 3 (09.10): 50+ и мелочи проверки */
.check input { font-size: 19px; min-height: 56px; }
.check input::placeholder { color: #3A5C66; opacity: 1; }   /* 7,2:1 на белом (у браузера по умолчанию 4,6:1) */
.pto-dl, .pto-dl dd, .pto-cats li, .atl-st-cats { font-size: 18px; }
.st-hours, .st-city { font-size: 18px; }
.st-go a { color: var(--accent-t); font-weight: 700; }
.menu a { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 900px) { .menu { gap: 12px; } }   /* 768: «Города А–Я» в одну строку и без выхода за край */
@media (max-width: 400px) { main .btn { max-width: 100%; white-space: normal; text-align: center; } }
