/* TECH SERVICE · концепция G «Плакат». Одна вёрстка — три темы через data-skin на <html>.
   Плакатные блоки (.poster) залиты цветом темы, фото людей тонированы в тот же цвет.
   Белые «слайды» (.slide) — редакционная вёрстка, акцент только на цифрах и ключевых словах. */

/* ---------- темы ---------- */
:root {
  --ink: #151515;
  --muted: #565656;          /* 7.4:1 на белом */
  --line: #E2E0DC;
  --paper: #F4F3F1;
  --live: #17A34A;
  --pad: clamp(24px, 2.9vw, 56px);
  --hdr: 76px;
  --f-d: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --f-t: 'Golos Text', system-ui, sans-serif;
}
[data-skin="orange"] {
  --p: #D13A12; --p2: #D6411A;           /* белый текст на #D13A12 — 4.9:1 */
  --p-ink: #FFFFFF; --p-soft: #F9D3C6;  --p-ghost: rgba(255,255,255,.2); --p-line: rgba(255,255,255,.3);
  --bs-bg: #FFFFFF; --bs-ink: #151515;
  --logo-bg: #FFFFFF; --logo-ink: #D13A12;
  --acc-word: #D13A12; --mark: transparent; --mark-pad: 0;
  --num: #D13A12; --unit-bg: transparent; --unit-ink: #D13A12; --unit-pad: 0;
  --acc-fill: #D13A12; --acc-on: #FFFFFF;
  --arc: rgba(209,58,18,.5); --map-fill: #F8DACF; --map-line: #fff; --ico: #D13A12; --star: #D13A12;
}
[data-skin="lime"] {
  --p: #C6F432; --p2: #D6FB5E;           /* графит на лайме — 14.7:1 */
  --p-ink: #111310; --p-soft: #5D721C; --p-ghost: rgba(17,19,16,.13); --p-line: rgba(17,19,16,.22);
  --bs-bg: #111310; --bs-ink: #C6F432;
  --logo-bg: #111310; --logo-ink: #C6F432;
  --acc-word: #111310; --mark: #C6F432; --mark-pad: 0 .1em;
  --num: #111310; --unit-bg: #C6F432; --unit-ink: #111310; --unit-pad: .02em .14em 0;
  --acc-fill: #C6F432; --acc-on: #111310;
  --arc: #A9D82A; --map-fill: #EAFBB8; --map-line: #fff; --ico: #111310; --star: #111310;
}
[data-skin="grey"] {
  --p: #5C5F63; --p2: #6B6E72;           /* белый на #5C5F63 — 6.4:1 */
  --p-ink: #FFFFFF; --p-soft: #CDCFD2; --p-ghost: rgba(255,255,255,.16); --p-line: rgba(255,255,255,.26);
  --bs-bg: #FFFFFF; --bs-ink: #151515;
  --logo-bg: #FFFFFF; --logo-ink: #45484C;
  --acc-word: #6E7175; --mark: transparent; --mark-pad: 0;
  --num: #1B1C1E; --unit-bg: transparent; --unit-ink: #6E7175; --unit-pad: 0;
  --acc-fill: #45484C; --acc-on: #FFFFFF;
  --arc: rgba(92,95,99,.45); --map-fill: #E2E3E4; --map-line: #fff; --ico: #45484C; --star: #1B1C1E;
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 8px); scrollbar-color: var(--p) #EDEBE8; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.55 var(--f-t); color: var(--ink); background: #fff; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--acc-fill); color: var(--acc-on); }
.poster ::selection { background: var(--p-ink); color: var(--p); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.i { width: 20px; height: 20px; flex: none; }
.i--s { width: 16px; height: 16px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.u { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.u:hover { text-decoration-thickness: 2px; }
.txt { font-size: 16px; color: var(--muted); max-width: 52ch; }
.cap { font: 600 13px/1.3 var(--f-t); text-transform: uppercase; letter-spacing: .06em; }
.cap--ink { color: var(--ink); }
.acc { color: var(--acc-word); background: var(--mark); padding: var(--mark-pad); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.soft { color: var(--p-soft); }

/* ромб-маркер как в референсе: над подписью */
.dia { display: flex; gap: clamp(20px, 2.4vw, 40px); }
.dia li { font: 600 13px/1.3 var(--f-t); text-transform: uppercase; letter-spacing: .05em; }
.dia li::before { content: ""; display: block; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); margin: 0 0 10px 1px; }
.dia--ink { flex-direction: column; gap: 14px; }
.dia--ink li { display: flex; gap: 12px; text-transform: none; letter-spacing: 0; font: 500 15px/1.4 var(--f-t); }
.dia--ink li::before { margin: 7px 0 0; flex: none; background: var(--ico); }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; font: 800 21px/1 var(--f-d); text-transform: uppercase; letter-spacing: .03em; border: 1.5px solid transparent; transition: background-color .25s, color .25s, border-color .25s, transform .25s cubic-bezier(.2,.8,.2,1); white-space: nowrap; }
.btn .i { width: 21px; height: 21px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--solid { background: var(--bs-bg); color: var(--bs-ink); }
.btn--line { border-color: var(--p-ink); color: var(--p-ink); }
.btn--line:hover { background: var(--p-ink); color: var(--p); }
.btn--acc { background: var(--acc-fill); color: var(--acc-on); }
[data-skin="lime"] .btn--acc { border-color: #111310; }
.btn--acc:hover { background: var(--ink); color: #fff; }
.btn--line-ink { border-color: var(--ink); color: var(--ink); }
.btn--line-ink:hover { background: var(--ink); color: #fff; }
.lnk { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font: 800 21px/1 var(--f-d); text-transform: uppercase; letter-spacing: .03em; border-bottom: 2px solid currentColor; padding-top: 4px; }
.lnk .i { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.lnk:hover .i { transform: translate(3px, -3px); }
.lnk--ink { color: var(--ink); min-height: 40px; font-size: 19px; }
.sq { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; transition: background-color .2s, color .2s, opacity .2s; }
.sq--line { border: 1.5px solid var(--p-ink); color: var(--p-ink); }
.sq--line:hover { background: var(--p-ink); color: var(--p); }
.sq--ink { border: 1.5px solid var(--ink); color: var(--ink); }
.sq--ink:hover { background: var(--ink); color: #fff; }
.sq:disabled { opacity: .35; pointer-events: none; }
.pager { display: flex; align-items: center; gap: 12px; }
.pager__c { font: 800 22px/1 var(--f-d); letter-spacing: .04em; min-width: 72px; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- логотип: плашка с текстом ---------- */
.logo { display: inline-flex; align-items: center; height: 38px; padding: 3px 10px 0; background: var(--logo-bg); color: var(--logo-ink); font: 800 27px/1 var(--f-d); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; flex: none; }
.logo--plate { position: absolute; left: var(--pad); bottom: 56px; z-index: 3; }
.logo--ftr { height: 46px; font-size: 34px; padding: 4px 12px 0; }

/* ---------- шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: var(--p); color: var(--p-ink); }
.hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--p-line); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: clamp(12px, 1.4vw, 24px); padding: 0 var(--pad); transition: height .3s; }
.hdr.is-compact .hdr__in { height: 64px; }
.city { position: relative; }
.city__btn { display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 10px; border: 1px solid var(--p-line); font-size: 15px; font-weight: 500; }
.city__btn:hover { border-color: var(--p-ink); }
.city__list { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: #fff; color: var(--ink); padding: 6px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.35); z-index: 5; }
.city__list button { display: flex; justify-content: space-between; width: 100%; min-height: 44px; padding: 0 12px; align-items: center; font-size: 15px; text-align: left; }
.city__list button:hover, .city__list [aria-selected="true"] { background: var(--paper); }
.city__list small { color: var(--muted); font-size: 13px; }
.catbtn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; background: var(--p-ink); color: var(--p); font: 800 20px/1 var(--f-d); text-transform: uppercase; letter-spacing: .03em; }
.catbtn[aria-expanded="true"] { outline: 2px solid var(--p-ink); outline-offset: 3px; }
.nav { display: flex; gap: clamp(14px, 1.5vw, 28px); font-size: 15px; font-weight: 500; }
.nav a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: currentColor; }
.hdr__r { margin-left: auto; display: flex; align-items: center; gap: clamp(10px, 1.2vw, 20px); }
.open { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; }
.open i, .live { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; display: inline-block; flex: none; }
.open i::after, .live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid currentColor; animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.tel { font: 600 18px/1 var(--f-t); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tel:hover { text-decoration: underline; text-underline-offset: 4px; }
.hdr .sq { background: var(--p-ink); color: var(--p); }
.hdr .sq .i { width: 24px; height: 24px; }
.btn--hdr { min-height: 48px; padding: 0 20px; background: var(--bs-bg); color: var(--bs-ink); font-size: 20px; }
@media (max-width: 1560px) { .open { display: none; } }
@media (max-width: 1400px) { .nav { gap: 16px; } .nav a:nth-child(5) { display: none; } }
@media (max-width: 1320px) { .nav a:nth-child(n+4) { display: none; } }

/* мега-каталог: сплошной фон, дерево группа → техника → услуги */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); border-top: 1px solid var(--line); }
.mega__in { display: grid; grid-template-columns: 300px 320px 1fr; min-height: 440px; padding: 0 var(--pad); }
.mega__groups { padding: 20px 0; border-right: 1px solid var(--line); }
.mega__groups button, .mega__devs button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 0 16px; text-align: left; }
.mega__groups button { font: 800 24px/1 var(--f-d); text-transform: uppercase; letter-spacing: .02em; }
.mega__groups button small { font: 500 13px/1 var(--f-t); color: var(--muted); text-transform: none; letter-spacing: 0; }
.mega__groups [aria-selected="true"], .mega__groups button:hover { background: var(--paper); }
.mega__groups [aria-selected="true"]::before { content: ""; width: 7px; height: 7px; background: var(--ico); transform: rotate(45deg); flex: none; margin-right: -4px; }
.mega__devs { padding: 20px 0; border-right: 1px solid var(--line); max-height: 520px; overflow: auto; }
.mega__devs button { font-size: 15px; font-weight: 500; min-height: 44px; }
.mega__devs button span { color: var(--muted); font-size: 14px; font-weight: 400; }
.mega__devs .is-on, .mega__devs button:hover { background: var(--paper); }
.mega__svc { padding: 28px 0 28px 40px; display: grid; grid-template-columns: 1fr 220px; gap: 32px; align-content: start; }
.mega__svc h3 { font: 800 40px/.95 var(--f-d); text-transform: uppercase; margin-bottom: 6px; }
.mega__svc ul { margin: 18px 0 22px; }
.mega__svc li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.mega__svc li b { font-weight: 600; white-space: nowrap; }
.mega__svc img { width: 100%; height: 220px; object-fit: contain; }
.mega__svc .txt { font-size: 15px; }

/* ---------- плакат: общее ---------- */
.poster { position: relative; overflow: hidden; color: var(--p-ink); background: radial-gradient(85% 110% at 100% 0%, var(--p2) 0%, var(--p) 58%); }
.vlines { position: absolute; inset: 0 0 0 auto; width: 46%; pointer-events: none; z-index: 0; }
.vlines i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--p-line); }
.vlines i:nth-child(1) { left: 8%; } .vlines i:nth-child(2) { left: 34%; } .vlines i:nth-child(3) { left: 61%; } .vlines i:nth-child(4) { left: 87%; }
.vlines::before { content: ""; position: absolute; left: 0; right: 0; top: 64px; height: 1px; background: linear-gradient(90deg, var(--p-line) 50%, transparent 0) 0 0 / 8px 1px; }
.h-poster { font: 800 clamp(64px, 8.2vw, 140px)/.86 var(--f-d); text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; }
.h-poster--m { font-size: clamp(56px, 5.6vw, 96px); }
.poster .shead { color: var(--p-ink); }
.poster .shead i { background: var(--p-ink); }

/* ---------- 01 первый экран ---------- */
.hero { height: calc(100svh - var(--hdr)); min-height: 700px; max-height: 1100px; }
.hero__mark { position: absolute; left: var(--pad); right: var(--pad); top: clamp(4px, 1vh, 14px); font: 800 20vw/.8 var(--f-d); text-transform: uppercase; white-space: nowrap; text-align: center; letter-spacing: -.005em; z-index: 1; user-select: none; }
.hero__man { position: absolute; bottom: 0; left: 57%; transform: translateX(-50%); height: 84%; width: auto; max-width: none; z-index: 2; pointer-events: none; }
.hero__l { position: absolute; left: var(--pad); bottom: clamp(28px, 4.6vh, 48px); width: min(40vw, 560px); z-index: 3; }
.hero__l .cap { margin-bottom: 14px; }
.hero h1 { font: 800 clamp(48px, 4.6vw, 80px)/.88 var(--f-d); text-transform: uppercase; letter-spacing: -.003em; max-width: 9.2em; }
.hero__lead { margin-top: 18px; font-size: 15px; line-height: 1.5; max-width: 40ch; }
.hero__lead b { font-weight: 600; }
.hero .dia { margin-top: 22px; }
.hero__cta { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.hero__r { position: absolute; right: var(--pad); top: calc(var(--mark-h, 230px) + 24px); bottom: clamp(28px, 4.6vh, 48px); width: clamp(220px, 19vw, 300px); z-index: 3; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 18px; }
.crew { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.crew p { font-size: 14px; line-height: 1.3; }
.crew b { display: block; font: 800 30px/1 var(--f-d); text-transform: uppercase; }
.ava { display: flex; }
.ava img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--p-ink); margin-left: -12px; }
.ava img:first-child { margin-left: 0; }
.rate { display: grid; grid-template-columns: auto auto; grid-template-areas: "p n" "t t"; justify-content: end; align-items: center; column-gap: 12px; row-gap: 6px; }
.rate .plats { grid-area: p; }
.rate__n { grid-area: n; font: 800 46px/.9 var(--f-d); }
.rate__t { grid-area: t; font-size: 14px; line-height: 1.35; }
.rate:hover .rate__t { text-decoration: underline; text-underline-offset: 3px; }
.big { margin-top: auto; font: 800 clamp(34px, 3vw, 50px)/.9 var(--f-d); text-transform: uppercase; }
.big + .big { margin-top: 0; }

/* кружки-логотипы площадок */
.plats { display: inline-flex; }
.plats .pl { margin-left: -6px; box-shadow: 0 0 0 2px var(--p); }
.plats .pl:first-child { margin-left: 0; }
.plats .pl { position: relative; } .plats .pl:nth-child(1) { z-index: 3; } .plats .pl:nth-child(2) { z-index: 2; } .plats .pl:nth-child(3) { z-index: 1; }
.plats--l .pl { width: 44px; height: 44px; font-size: 13px; }
.plats--l .pl--ya { font-size: 22px; }
.pl { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font: 700 11px/1 var(--f-t); font-style: normal; flex: none; letter-spacing: -.02em; }
.pl--gis { background: #13862F; color: #fff; font-size: 11px; letter-spacing: -.05em; }
.pl--g { background: #fff; }
.pl--g svg { width: 58%; height: 58%; }
.pl--ya { background: #E8361A; color: #fff; font-size: 19px; font-weight: 700; }

/* ---------- белые слайды ---------- */
.slide { position: relative; background: #fff; padding: 26px var(--pad) clamp(72px, 7vw, 112px); border-top: 1px solid var(--line); overflow: clip; }
.shead { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: clamp(40px, 4.4vw, 64px); position: relative; z-index: 2; }
.shead i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.shead__n { margin-left: auto; font: 800 22px/1 var(--f-d); letter-spacing: .04em; color: inherit; }
.slide h2 { font: 600 clamp(36px, 3.3vw, 54px)/1.06 var(--f-t); letter-spacing: -.025em; text-wrap: balance; }
.slide h2 + .txt { margin-top: 20px; }

/* ---------- 02 каталог ---------- */
.catalog__grid { display: grid; grid-template-columns: minmax(340px, 30%) 1fr; gap: clamp(32px, 4vw, 72px); align-items: start; }
.catalog__l { position: sticky; top: calc(var(--hdr) + 24px); }
.groups { margin-top: 36px; border-bottom: 1px solid var(--line); }
.groups button { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; width: 100%; padding: 16px 0 14px; border-top: 1px solid var(--line); text-align: left; transition: color .2s; }
.groups b { font: 800 30px/1 var(--f-d); text-transform: uppercase; letter-spacing: .01em; display: flex; align-items: center; gap: 12px; }
.groups small { font: 600 13px/1 var(--f-t); color: var(--muted); letter-spacing: .04em; }
.groups span { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.groups [aria-selected="true"] b::before { content: ""; width: 9px; height: 9px; background: var(--ico); transform: rotate(45deg); flex: none; }
.groups [aria-selected="true"] b { color: var(--acc-word); }
[data-skin="lime"] .groups [aria-selected="true"] b { color: var(--ink); }
.groups button:hover b { color: var(--acc-word); }
.catalog__note { margin-top: 24px; font-size: 15px; color: var(--muted); max-width: 44ch; }
.devgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.dev { position: relative; display: flex; flex-direction: column; min-height: 312px; padding: 22px 22px 18px; background: #fff; transition: background-color .3s; overflow: hidden; }
.dev:hover { background: var(--paper); }
.dev h3 { font: 800 28px/.95 var(--f-d); text-transform: uppercase; letter-spacing: .01em; }
.dev__p { margin-top: 8px; font: 800 26px/1 var(--f-d); color: var(--num); }
.dev__p em { font-style: normal; font: 600 13px/1 var(--f-t); color: var(--muted); margin-right: 4px; text-transform: uppercase; letter-spacing: .04em; }
.dev img { margin: auto auto 0; height: 150px; width: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.dev:hover img { transform: translateY(-6px) scale(1.04); }
.dev__s { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.35; padding: 10px 52px 0 0; min-height: 50px; border-top: 1px solid var(--line); }
.dev__ar { position: absolute; bottom: 18px; right: 18px; width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--ink); transition: background-color .2s, color .2s; }
.dev:hover .dev__ar { background: var(--acc-fill); color: var(--acc-on); border-color: var(--acc-fill); }
[data-skin="lime"] .dev:hover .dev__ar { border-color: #111310; }
.dev--cta { background: var(--acc-fill); color: var(--acc-on); justify-content: space-between; }
.dev--cta:hover { background: var(--acc-fill); }
.dev--cta h3 { max-width: 9em; }
.dev--cta p { font-size: 15px; line-height: 1.45; }
.dev--cta .dev__ar { border-color: currentColor; position: static; margin-top: 18px; }

/* ---------- 03 манифест ---------- */
.manifest { min-height: min(820px, 92svh); padding: clamp(64px, 7vw, 104px) var(--pad) 150px; }
.manifest__txt { position: relative; z-index: 3; }
.manifest__txt > :not(h2) { max-width: min(52%, 600px); }
.manifest .h-poster { font-size: clamp(56px, 6.4vw, 116px); white-space: nowrap; }
.manifest__p { margin-top: 30px; font-size: 15px; line-height: 1.55; max-width: 52ch; }
.manifest__p b { font-weight: 600; }
.dia--row { margin-top: 36px; }
.manifest__img { position: absolute; right: var(--pad); bottom: 0; width: min(44%, 860px); height: auto; z-index: 2; pointer-events: none; }

/* ---------- 04 цифры ---------- */
.numbers__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 30%); gap: 40px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.numbers__top .txt { margin: 0; justify-self: end; }
.numbers__grid { display: grid; grid-template-columns: minmax(250px, 1fr) minmax(440px, 1.45fr) minmax(250px, 1fr); }
.numbers__col { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 40px 0 0; }
.numbers__col:first-child { padding-right: clamp(24px, 3vw, 48px); }
.numbers__col:last-child { padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--line); }
.num b { display: flex; align-items: flex-start; gap: 6px; font: 800 clamp(96px, 8.6vw, 150px)/.8 var(--f-d); color: var(--num); letter-spacing: -.01em; }
.num em { font-style: normal; font-size: .36em; line-height: 1; margin-top: .14em; text-transform: uppercase; background: var(--unit-bg); color: var(--unit-ink); padding: var(--unit-pad); }
.num p { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); max-width: 32ch; }
.num p strong { color: var(--ink); font-weight: 600; }
.stage { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding: 40px clamp(24px, 3vw, 48px) 0; }
.stage__pics { position: relative; aspect-ratio: 6 / 5; overflow: hidden; background: var(--paper); }
.stage__pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: blur(16px); transition: opacity 1.1s cubic-bezier(.4,0,.2,1), filter 1.1s cubic-bezier(.4,0,.2,1); }
.stage__pic.is-on { opacity: 1; filter: blur(0); }
.stage__cap { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n p" "t p"; align-items: end; column-gap: 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); transition: opacity .25s; }
.stage__cap.is-swap { opacity: 0; }
.stage__n { grid-area: n; font: 600 22px/1.2 var(--f-t); letter-spacing: -.01em; }
.stage__t { grid-area: t; font-size: 15px; color: var(--muted); margin-top: 4px; }
.stage__p { grid-area: p; font: 800 44px/.9 var(--f-d); color: var(--num); white-space: nowrap; }
.stage__p em { font: 600 13px/1 var(--f-t); font-style: normal; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-right: 8px; vertical-align: .55em; }
.stage__bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-top: 18px; }
.stage__bars button { position: relative; height: 28px; }
.stage__bars i { position: absolute; left: 0; right: 0; top: 12px; height: 3px; background: var(--line); overflow: hidden; }
.stage__bars i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.stage__bars .is-done i::after { transform: scaleX(1); }
.stage__bars .is-on i::after { animation: bar var(--dur, 3.4s) linear forwards; }
.stage.is-manual .stage__bars .is-on i::after { animation: none; transform: scaleX(1); }
.stage__bars button:hover i { background: #CFCCC7; }
@keyframes bar { to { transform: scaleX(1); } }

/* ---------- 05 кейсы ---------- */
.cases { padding: 26px var(--pad) clamp(72px, 7vw, 104px); }
.cases__top { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 40px; position: relative; z-index: 2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 48px; padding: 0 16px; border: 1px solid var(--p-line); font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: var(--p-ink); }
.chips sup { font-size: 13px; margin-left: 3px; }
.chips [aria-selected="true"] { background: var(--p-ink); color: var(--p); border-color: var(--p-ink); }
.cases__grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(420px, 600px) minmax(280px, 1fr); gap: clamp(28px, 3vw, 56px); align-items: stretch; position: relative; z-index: 2; }
.case-list { display: flex; flex-direction: column; min-height: 0; }
.case-info h3 { font: 800 clamp(36px, 3vw, 46px)/.92 var(--f-d); text-transform: uppercase; }
.case-info__n { display: flex; gap: 32px; margin: 24px 0; padding: 16px 0; border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); }
.case-info__n b { display: block; font: 800 40px/.9 var(--f-d); text-transform: uppercase; }
.case-info__n span { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.case-info dl { display: grid; grid-template-columns: 96px 1fr; gap: 12px 16px; font-size: 15px; line-height: 1.45; }
.case-info dt { font: 600 13px/1.6 var(--f-t); text-transform: uppercase; letter-spacing: .05em; }
.case-info .btn { margin-top: 28px; }
.case-info.is-swap { animation: swap .5s cubic-bezier(.2,.8,.2,1); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }
.ba { position: relative; aspect-ratio: 1; align-self: start; overflow: hidden; background: rgba(0,0,0,.2); user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__a { clip-path: inset(0 0 0 var(--x)); }
.ba__tag { position: absolute; top: 14px; z-index: 2; padding: 6px 10px 5px; background: #fff; color: #151515; font: 800 16px/1 var(--f-d); text-transform: uppercase; letter-spacing: .05em; }
.ba__tag--b { left: 14px; } .ba__tag--a { right: 14px; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; z-index: 2; pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; background: #fff; color: #151515; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.ba:has(input:focus-visible) { outline: 3px solid var(--p-ink); outline-offset: 4px; }
.case-list ol { counter-reset: c; flex: 1 1 0; min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--p-ink) transparent; border-bottom: 1px solid var(--p-line); }
.case-list li button { display: grid; grid-template-columns: 40px 1fr; gap: 8px; width: 100%; min-height: 48px; padding: 11px 8px 11px 0; border-top: 1px solid var(--p-line); text-align: left; font-size: 15px; line-height: 1.35; transition: padding .25s; }
.case-list li button::before { counter-increment: c; content: "[" counter(c, decimal-leading-zero) "]"; font: 600 13px/1.6 var(--f-t); }
.case-list li button:hover { padding-left: 6px; }
.case-list [aria-current="true"] { font-weight: 600; padding-left: 6px; }
.case-list [aria-current="true"]::before { content: ""; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); margin: 6px 0 0 4px; }
.case-list .pager { margin-top: 20px; }

/* ---------- 06 прайс ---------- */
.price__grid { display: grid; grid-template-columns: 1fr minmax(320px, 400px); gap: clamp(40px, 5vw, 96px); align-items: start; }
.tabs { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 36px 0 8px; border-bottom: 1px solid var(--line); }
.tabs button { min-height: 52px; font: 800 24px/1 var(--f-d); text-transform: uppercase; letter-spacing: .02em; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; padding-top: 4px; }
.tabs button:hover { color: var(--ink); }
.tabs [aria-selected="true"] { color: var(--ink); border-color: var(--acc-fill); }
[data-skin="lime"] .tabs [aria-selected="true"] { border-color: #111310; box-shadow: inset 0 -8px 0 -3px #C6F432; }
.prow { display: grid; grid-template-columns: 1fr 140px 170px 48px; align-items: center; gap: 20px; min-height: 76px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.prow.is-new { animation: swap .45s cubic-bezier(.2,.8,.2,1) both; }
.prow__n { font-size: 17px; font-weight: 500; line-height: 1.3; }
.prow__n small { display: block; font-size: 14px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.prow__t { font-size: 15px; color: var(--muted); }
.prow__p { font: 800 30px/1 var(--f-d); color: var(--num); text-align: right; white-space: nowrap; }
.prow__p em { font: 600 13px/1 var(--f-t); font-style: normal; color: var(--muted); margin-right: 5px; text-transform: uppercase; }
.prow .sq { width: 48px; height: 48px; }
#priceMore { margin-top: 28px; }
#priceMore[hidden] { display: none; }
.price__side { background: var(--paper); padding: 36px; position: sticky; top: calc(var(--hdr) + 24px); }
.price__side h3 { font: 800 36px/.95 var(--f-d); text-transform: uppercase; margin-bottom: 24px; }
.price__side .cap { margin: 30px 0 12px; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.pay span { padding: 9px 12px; border: 1px solid #CFCCC7; font-size: 14px; background: #fff; }
.pay__kaspi::before { content: ""; display: inline-block; width: 8px; height: 8px; background: #F14635; margin-right: 7px; vertical-align: 1px; }
.price__side .btn { width: 100%; }

/* ---------- 07 этапы ---------- */
.steps { min-height: 960px; padding: 72px var(--pad) 96px; }
.steps__ghost { position: absolute; left: calc(var(--pad) - .02em); top: 40px; z-index: 1; font: 800 clamp(180px, 16.5vw, 300px)/.8 var(--f-d); text-transform: uppercase; color: var(--p-ghost); white-space: nowrap; letter-spacing: -.01em; user-select: none; }
.steps__img { position: absolute; left: var(--pad); bottom: 0; height: 80%; width: auto; max-width: calc(57% - 2 * var(--pad)); object-fit: contain; object-position: 0 100%; z-index: 2; pointer-events: none; }
.steps__h { font-size: clamp(56px, 5.2vw, 88px); margin-bottom: 22px; }
/* правая колонка в потоке: при высоком заголовке блок растёт, а не обрезает кнопку */
.steps__r { position: relative; z-index: 3; margin-left: auto; width: min(40%, 600px); }
.steps__intro { font-size: 15px; max-width: 40ch; margin-bottom: 18px; }
.steps__list { counter-reset: s; border-top: 1px solid var(--p-line); }
.steps__list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 16px 0 15px; border-bottom: 1px solid var(--p-line); counter-increment: s; }
.steps__t { font: 800 clamp(28px, 2.4vw, 36px)/1 var(--f-d); text-transform: uppercase; letter-spacing: .01em; display: flex; align-items: baseline; gap: 14px; }
.steps__t::after { content: "[" counter(s, decimal-leading-zero) "]"; font: 600 13px/1 var(--f-t); letter-spacing: .04em; }
.steps__d { font: 600 13px/1 var(--f-t); text-transform: uppercase; letter-spacing: .05em; align-self: center; padding: 7px 10px 6px; border: 1px solid var(--p-ink); white-space: nowrap; }
.steps__list p { grid-column: 1 / -1; font-size: 15px; line-height: 1.45; max-width: 52ch; }
.steps__r .btn { margin-top: 30px; }

/* ---------- 08 команда ---------- */
.team__top { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(300px, .82fr) minmax(280px, .9fr); gap: clamp(32px, 4vw, 72px); align-items: stretch; }
.facts { margin-top: 32px; display: grid; gap: 18px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--muted); line-height: 1.4; }
.facts b { color: var(--ink); font-weight: 600; }
.facts .i { width: 24px; height: 24px; color: var(--ico); margin-top: -2px; }
.team__photo { position: relative; }
.team__photo img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; }
.team__photo figcaption { position: absolute; left: 0; bottom: 0; background: #fff; padding: 10px 14px 0 0; font-size: 13px; color: var(--muted); max-width: 80%; }
.team__r { display: flex; flex-direction: column; }
.team__r h3 { font: 600 clamp(24px, 2vw, 32px)/1.15 var(--f-t); letter-spacing: -.02em; }
.team__r .txt { margin-top: 14px; font-size: 15px; }
.team__r .pager { margin-top: auto; }
.rail { display: grid; grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); scroll-padding-left: 0; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.team__rail { margin-top: 48px; grid-auto-columns: calc((100% - 5 * 16px) / 5.35); grid-template-rows: auto auto auto auto; row-gap: 0; }
.tcard { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
.tcard__ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #E6E6E4; }
.tcard__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.tcard:hover .tcard__ph img { transform: scale(1.04); }
.tcard__y { position: absolute; left: 0; bottom: 0; padding: 10px 12px 6px; background: #fff; font: 800 26px/1 var(--f-d); text-transform: uppercase; }
.tcard__y small { display: block; font: 600 13px/1 var(--f-t); letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.tcard h3 { margin-top: 14px; font-size: 18px; font-weight: 600; line-height: 1.25; }
.tcard__role { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.tcard__f { font-size: 14px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); line-height: 1.4; align-self: start; }

/* ---------- 09 заявка ---------- */
.lead { min-height: 820px; padding: clamp(64px, 7vw, 104px) var(--pad); }
.lead__l { position: relative; z-index: 3; max-width: 50%; }
.lead__l .cap { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.lead .h-poster { font-size: clamp(60px, 6.4vw, 112px); }
.lead__p { margin-top: 28px; font-size: 16px; max-width: 44ch; }
.lead__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.lead__img { position: absolute; bottom: 0; right: 20%; height: 92%; width: auto; max-width: none; z-index: 2; pointer-events: none; }
.boss { position: absolute; z-index: 3; right: var(--pad); bottom: clamp(64px, 7vw, 104px); width: 360px; background: #fff; color: var(--ink); padding: 24px; display: grid; grid-template-columns: 64px 1fr; gap: 16px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.4); }
.boss img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.boss__q { font-size: 16px; font-weight: 600; line-height: 1.35; }
.boss__n { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.boss__n b { display: block; color: var(--ink); font-size: 15px; }
.boss .lnk { margin-top: 10px; font-size: 18px; min-height: 36px; }

/* ---------- 10 статья ---------- */
.article__grid { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 740px) minmax(300px, 1fr); gap: clamp(32px, 3.6vw, 64px); align-items: start; }
.toc-col { justify-self: end; width: 100%; max-width: 280px; align-self: stretch; }
.art { min-width: 0; }
.art h2 { max-width: 18em; }
.art__meta { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; margin: 32px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.art__meta img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.art__meta p { font-size: 14px; color: var(--muted); line-height: 1.4; }
.art__meta p b { display: block; color: var(--ink); font-size: 16px; font-weight: 600; }
.art__dates { text-align: right; }
.toc { position: sticky; top: calc(var(--hdr) + 24px); padding-top: 14px; border-top: 2px solid var(--ink); }
.toc ol { counter-reset: t; margin-top: 14px; display: grid; gap: 2px; }
.toc a { display: grid; grid-template-columns: 34px 1fr; padding: 8px 0 8px 12px; font-size: 15px; line-height: 1.35; color: var(--muted); border-left: 2px solid var(--line); counter-increment: t; transition: color .2s, border-color .2s; }
.toc a::before { content: "[" counter(t, decimal-leading-zero) "]"; font-size: 13px; font-weight: 600; padding-top: 1px; }
.toc a[aria-current="true"] { color: var(--ink); font-weight: 600; border-left-color: var(--ico); }
.toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.art__body { font-size: 17px; line-height: 1.65; }
.art__body > p + p, .art__more p { margin-top: 16px; }
.art__more { overflow: hidden; max-height: 0; }
.art__more.is-open { max-height: 4000px; transition: max-height 1s ease; }
.art__more h3 { font: 600 26px/1.2 var(--f-t); letter-spacing: -.02em; margin-top: 36px; scroll-margin-top: calc(var(--hdr) + 20px); }
.art__t { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 15px; font-variant-numeric: tabular-nums; }
.art__t th { text-align: left; font: 600 13px/1 var(--f-t); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--ink); }
.art__t td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.art__t td:last-child, .art__t th:last-child { text-align: right; font-weight: 600; }
#artToggle { margin-top: 28px; }
#artToggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.expert { position: relative; justify-self: start; width: 100%; max-width: 360px; align-self: stretch; }
.expert__card { position: sticky; top: calc(var(--hdr) + 24px); border: 1px solid var(--line); padding: 28px; display: grid; gap: 14px; }
.expert__who { display: flex; align-items: center; gap: 14px; }
.expert__ava { position: relative; flex: none; }
.expert__ava img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.expert__ava .live { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; background: var(--live); border: 2px solid #fff; color: var(--live); }
.expert__who p { font-size: 14px; color: var(--muted); line-height: 1.35; }
.expert__who b { display: block; color: var(--ink); font-size: 16px; }
.expert__t { font: 800 32px/.95 var(--f-d); text-transform: uppercase; margin-top: 6px; }
.expert__s { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.expert__s .live { background: var(--live); color: var(--live); }
.expert .btn { width: 100%; }

/* ---------- 11 FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(320px, 36%) 1fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.faq__l { position: sticky; top: calc(var(--hdr) + 24px); }
.faq__l .btn { margin-top: 28px; }
.faq__list { counter-reset: q; border-bottom: 1px solid var(--line); }
.qa { border-top: 1px solid var(--line); counter-increment: q; }
.qa summary { list-style: none; display: grid; grid-template-columns: 52px 1fr 48px; align-items: center; gap: 12px; min-height: 76px; padding: 12px 0; font: 600 19px/1.3 var(--f-t); letter-spacing: -.01em; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "[" counter(q, decimal-leading-zero) "]"; font-size: 13px; color: var(--muted); }
.qa summary .sq { width: 48px; height: 48px; border: 1.5px solid var(--ink); }
.qa summary .sq .i { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.qa[open] summary .sq { background: var(--acc-fill); color: var(--acc-on); border-color: var(--acc-fill); }
[data-skin="lime"] .qa[open] summary .sq { border-color: #111310; }
.qa[open] summary .sq .i { transform: rotate(45deg); }
.qa summary:hover { color: var(--acc-word); }
[data-skin="lime"] .qa summary:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.qa__a { padding: 0 60px 24px 64px; font-size: 16px; color: var(--muted); max-width: 72ch; }

/* ---------- 12 отзывы ---------- */
.reviews { padding: 26px var(--pad) clamp(72px, 7vw, 104px); }
.reviews__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.revgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.rsum { border: 1px solid var(--p-line); padding: 28px; display: flex; flex-direction: column; }
.rsum__head { display: flex; align-items: center; gap: 16px; }
.rsum__n { font: 800 110px/.8 var(--f-d); }
.rsum__t { margin: 14px 0 18px; font-size: 15px; }
.rsum__list { margin-top: auto; border-bottom: 1px solid var(--p-line); }
.rsum__list a { display: grid; grid-template-columns: 38px 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--p-line); }
.rsum__list .pl { grid-row: 1 / 3; box-shadow: none; }
.rsum__list span { font-size: 15px; font-weight: 600; }
.rsum__list b { grid-row: 1 / 3; grid-column: 3; font: 800 32px/1 var(--f-d); }
.rsum__list em { font-style: normal; font-size: 13px; }
.rsum__list a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.rcard { background: #fff; color: var(--ink); padding: 24px; display: flex; flex-direction: column; }
.rcard[hidden] { display: none; }
.rcard.is-new { animation: swap .5s cubic-bezier(.2,.8,.2,1) both; }
.rcard__h { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; }
.rcard__av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-fill); color: var(--acc-on); font: 800 19px/1 var(--f-d); padding-top: 2px; }
.rcard__h b { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.rcard__h small { font-size: 13px; color: var(--muted); }
.rcard__h .pl { width: 38px; height: 38px; }
.rcard__h .pl--ya { font-size: 19px; }
.rcard__h .pl--g { box-shadow: inset 0 0 0 1px var(--line); }
.stars { display: flex; gap: 2px; color: var(--star); margin: 16px 0 10px; }
.stars .i { width: 18px; height: 18px; }
.rcard__dev { font: 600 13px/1 var(--f-t); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-left: 8px; align-self: center; }
.rcard__t { font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rcard.is-open .rcard__t { -webkit-line-clamp: unset; display: block; }
.rcard__more { align-self: flex-start; margin-top: 2px; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.rcard__ph { display: flex; gap: 8px; margin-top: 14px; }
.rcard__ph button { width: 76px; height: 76px; overflow: hidden; }
.rcard__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rcard__ph button:hover img { transform: scale(1.08); }
.rcard__f { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; }
.rcard__f > span { font-size: 13px; color: var(--muted); }
.like { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .2s, color .2s; }
.like .i { width: 18px; height: 18px; color: #C9C6C1; transition: color .2s, transform .3s cubic-bezier(.2,.8,.2,1); }
.like:hover { border-color: var(--ink); }
.like[aria-pressed="true"] { border-color: var(--ink); }
.like[aria-pressed="true"] .i { color: #E0245E; transform: scale(1.18); }
.reviews__more { display: flex; gap: 14px; margin-top: 32px; }
.reviews__more [hidden] { display: none; }

/* ---------- 13 вызов мастера ---------- */
.visit { min-height: 920px; padding: 26px var(--pad) clamp(64px, 6vw, 96px); }
.visit__l { position: relative; z-index: 3; max-width: 40%; margin-top: 8px; }
.visit .h-poster { font-size: clamp(52px, 4.9vw, 84px); white-space: nowrap; }
.visit__big { display: flex; align-items: flex-start; gap: 10px; margin-top: -6px; font: 800 clamp(200px, 19vw, 330px)/.8 var(--f-d); letter-spacing: -.02em; }
.visit__big em { font-style: normal; font-size: .3em; line-height: 1; margin-top: .12em; text-transform: uppercase; letter-spacing: 0; }
.visit__p { margin-top: 20px; font-size: 16px; max-width: 42ch; }
.visit__p b { font-weight: 600; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.visit__img { position: absolute; bottom: 0; left: 52%; transform: translateX(-50%); height: 84%; width: auto; max-width: 34%; object-fit: contain; object-position: 50% 100%; z-index: 2; pointer-events: none; }
.visit__r { position: absolute; z-index: 3; right: var(--pad); top: 110px; width: min(26%, 400px); }
.districts { display: grid; gap: 6px; margin-top: 14px; }
.districts li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; min-height: 48px; padding: 12px 14px 10px; border: 1px solid var(--p-line); font-size: 15px; }
.districts b { font: 800 24px/1 var(--f-d); text-transform: uppercase; white-space: nowrap; }
.districts .is-ws { background: var(--p-ink); color: var(--p); border-color: var(--p-ink); }
.districts .is-ws span::after { content: " · мастерская"; }
.visit__addr { margin-top: 24px; display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; font-size: 15px; padding-top: 18px; border-top: 1px solid var(--p-line); }
.visit__addr dt { font: 600 13px/1.6 var(--f-t); text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 1360px) { .visit__img { left: 51%; height: 74%; } .visit__big { font-size: clamp(180px, 17vw, 260px); } }

/* ---------- 14 блог ---------- */
.blog__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.blog__nav { display: flex; align-items: center; gap: 32px; }
.blog__rail { grid-auto-columns: calc((100% - 3 * 16px) / 3.4); }
.post { display: flex; flex-direction: column; }
.post__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.post:hover .post__img img { transform: scale(1.04); }
.post__chip { align-self: flex-start; margin-top: 18px; padding: 6px 10px 5px; border: 1px solid var(--ink); font: 600 13px/1 var(--f-t); text-transform: uppercase; letter-spacing: .05em; }
.post h3 { margin-top: 14px; font: 600 21px/1.25 var(--f-t); letter-spacing: -.015em; }
.post:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.post p { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.post__m { margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- подвал ---------- */
.ftr { padding: 64px var(--pad) 28px; }
.ftr__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 32px; position: relative; z-index: 2; }
.ftr__c { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
.ftr__c .cap { margin-bottom: 6px; }
.ftr__c a:not(.btn):not(.logo):hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr__tel { font: 800 34px/1 var(--f-d); margin-top: 18px; }
.ftr__c .btn { margin-top: 10px; }
.ftr__rate { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.ftr__rate .pl { width: 38px; height: 38px; }
.ftr__rate .pl--ya { font-size: 19px; }
.ftr__mark { margin: 56px 0 20px; font: 800 20vw/.78 var(--f-d); text-transform: uppercase; white-space: nowrap; text-align: center; letter-spacing: -.005em; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 18px; border-top: 1px solid var(--p-line); font-size: 13px; }
.ftr__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- попапы ---------- */
.dlg { border: 0; padding: 40px; width: min(520px, 92vw); color: var(--ink); background: #fff; }
.dlg::backdrop, .lb::backdrop { background: rgba(10,10,10,.62); }
.dlg[open] { animation: pop .35s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(16px); } }
.dlg h3 { font: 800 40px/.95 var(--f-d); text-transform: uppercase; padding-right: 48px; }
.dlg > p { margin: 14px 0 24px; font-size: 15px; color: var(--muted); }
.dlg__x { position: absolute; top: 16px; right: 16px; }
.dlg__pl { display: grid; gap: 8px; margin-bottom: 20px; }
.dlg__pl a { display: grid; grid-template-columns: 40px 1fr 20px; align-items: center; gap: 14px; min-height: 64px; padding: 0 16px 0 12px; border: 1px solid var(--line); font-size: 16px; font-weight: 600; transition: border-color .2s; }
.dlg__pl a:hover { border-color: var(--ink); }
.dlg__pl .pl--g { box-shadow: inset 0 0 0 1px var(--line); }
.dlg .btn { width: 100%; }
.lb { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.lb img { max-width: 80vw; max-height: 86vh; object-fit: contain; }
.lb .sq { position: absolute; background: #fff; color: #151515; }
.lb__x { top: 0; right: -64px; } .lb__p { left: -64px; top: 50%; margin-top: -24px; } .lb__n { right: -64px; top: 50%; margin-top: -24px; }

/* ---------- переключатель тем (только для показа) ---------- */
.themes { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 80; display: flex; align-items: center; gap: 2px; padding: 5px 6px 5px 12px; background: #fff; color: #151515; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); font-size: 13px; }
.themes > span { padding-right: 6px; color: var(--muted); }
.themes a { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 10px; border: 1px solid transparent; }
.themes a:hover { border-color: var(--line); }
.themes a[aria-current="true"] { border-color: #151515; font-weight: 600; }
.themes i { width: 14px; height: 14px; border-radius: 50%; }
.themes [data-th="orange"] i { background: #D13A12; } .themes [data-th="lime"] i { background: #C6F432; box-shadow: inset 0 0 0 1px #9DBF22; } .themes [data-th="grey"] i { background: #5C5F63; }

/* ---------- появление при прокрутке: один авторский жест — плакатные заголовки «выезжают» из-под маски ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
  .js .rv.is-in { opacity: 1; transform: none; }
  .hero__man { animation: rise 1.2s cubic-bezier(.16,1,.3,1) both; }
  .hero__mark { animation: mark 1.2s cubic-bezier(.16,1,.3,1) both; }
  @keyframes rise { from { opacity: 0; transform: translate(-50%, 40px); } }
  @keyframes mark { from { opacity: 0; letter-spacing: .04em; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- широкие экраны ---------- */
@media (min-width: 1700px) {
  .devgrid { grid-template-columns: repeat(5, 1fr); }
  .team__rail { grid-auto-columns: calc((100% - 6 * 16px) / 6.35); }
  .blog__rail { grid-auto-columns: calc((100% - 4 * 16px) / 4.4); }
}
@media (max-width: 1360px) {
  .hero__man { height: 78%; left: 63.5%; }
  .devgrid { grid-template-columns: repeat(3, 1fr); }
  .cases__grid { grid-template-columns: minmax(280px, 1fr) minmax(400px, 520px) minmax(240px, .8fr); }
}
.lb [hidden] { display: none; }

/* отзывы — белый слайд */
.reviews .rsum { border-color: var(--line); background: var(--paper); }
.reviews .rsum__n { color: var(--num); }
.reviews .rsum__list, .reviews .rsum__list a { border-color: #D9D6D1; }
.reviews .plats .pl { box-shadow: 0 0 0 2px var(--paper); }
.reviews .rcard { border: 1px solid var(--line); }
.reviews__top h2 { max-width: 20em; }

/* ---------- мобильные элементы: на десктопе скрыты ---------- */
.hdr__call, .hdr__burger, .tabbar, .mdots { display: none; }
.mnav[hidden] { display: none; }
.toc__head { display: block; width: 100%; text-align: left; cursor: default; }
.toc__head .i { display: none; }

/* ---------- линии сетки не проходят через текст (десктоп) ---------- */
@media (min-width: 1280px) {
  /* первый экран: линии между мастером и правой колонкой цифр */
  .hero .vlines { left: 46%; right: calc(var(--pad) + clamp(220px, 19vw, 300px) + 24px); width: auto; }
  /* этапы: линии слева, за фото мастера, правая колонка со списком — чистая */
  .steps .vlines { inset: 0 auto 0 0; width: calc(100% - min(40%, 600px) - var(--pad) - 32px); }
  .steps .vlines::before { display: none; }
  /* манифест: линии только за фото, ниже заголовка */
  .manifest .vlines { top: clamp(220px, 19vw, 300px); }
  .manifest .vlines::before { display: none; }
  /* выезд: линии между текстом слева и колонкой районов, адреса и часов справа */
  .visit .vlines { left: calc(var(--pad) + 40%); right: calc(var(--pad) + min(26%, 400px) + 24px); width: auto; }
}

/* мобильные вставки в разметке: на десктопе скрыты */
.m-word, .m-only { display: none; }

/* ======================================================================
   МОБИЛКА И ПЛАНШЕТ (до 1279px), версия 2 «плакат». Десктоп 1280+ не меняется.
   Цветной блок = сцена: огромное слово за головой → фото на всю ширину → капс-заголовок
   наезжает на низ фото → короткий текст и кнопки. Белые блоки — крупная типографика,
   тонкие линии вместо рамок.
   ====================================================================== */
@media (max-width: 1279px) {
  :root { --pad: 16px; --hdr: 56px; --tab: calc(64px + env(safe-area-inset-bottom)); }
  body { padding-bottom: var(--tab); }
  html.is-menu { overflow: hidden; }
  .d-only, .logo--plate, .hero__mark, .hero .big, .hero__l .cap, .hero .dia, .hero .lnk { display: none !important; }
  .m-only { display: revert; }
  .txt { font-size: 15px; }
  .cap, .dia li { font-size: 14px; }
  .btn { min-height: 52px; padding: 0 20px; font-size: 19px; }

  /* ---------- шапка ---------- */
  .hdr__in, .hdr.is-compact .hdr__in { height: var(--hdr); gap: 8px; }
  .hdr .city, .catbtn, .nav, .open, .tel, .hdr__r > a.sq:not(.hdr__call), .btn--hdr, .mega { display: none; }
  .logo { height: 34px; font-size: 24px; }
  .hdr__call, .hdr__burger { display: inline-grid; width: 44px; height: 44px; }
  .hdr__burger { background: var(--p-ink); color: var(--p); }
  .hdr__burger .i-close, .hdr__burger[aria-expanded="true"] .i-open { display: none; }
  .hdr__burger[aria-expanded="true"] .i-close { display: block; }
  .hdr__call { background: transparent; color: var(--p-ink); border: 1.5px solid var(--p-line); }

  /* ---------- бургер-меню ---------- */
  .mnav { position: fixed; left: 0; right: 0; top: var(--hdr); bottom: 0; z-index: 70; background: #fff; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); }
  .mnav__in { padding: 8px var(--pad) calc(24px + var(--tab)); max-width: 720px; }
  .mnav__cap { margin: 22px 0 10px; font: 600 14px/1 var(--f-t); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .mnav__city { display: flex; gap: 8px; }
  .mnav__city button { min-height: 44px; padding: 0 16px; background: var(--paper); font-size: 15px; font-weight: 500; }
  .mnav__city [aria-checked="true"] { background: var(--ink); color: #fff; }
  .mtree { border-top: 1px solid var(--line); }
  .mtree__g { border-bottom: 1px solid var(--line); }
  .mtree__gb, .mtree__db { display: grid; align-items: center; width: 100%; text-align: left; }
  .mtree__gb { grid-template-columns: 1fr auto 20px; gap: 10px; min-height: 56px; }
  .mtree__gb b { font: 800 26px/1 var(--f-d); text-transform: uppercase; letter-spacing: .01em; }
  .mtree__gb small, .mtree__db small { font-size: 14px; color: var(--muted); white-space: nowrap; }
  .mtree__gb .i { transition: transform .25s; }
  .mtree__gb[aria-expanded="true"] .i { transform: rotate(180deg); }
  .mtree__gb[aria-expanded="true"] b { color: var(--acc-word); }
  [data-skin="lime"] .mtree__gb[aria-expanded="true"] b { color: var(--ink); }
  .mtree__devs { margin: 0 0 12px 10px; padding-left: 12px; border-left: 2px solid var(--line); }
  .mtree__db { grid-template-columns: 44px 1fr auto; gap: 12px; min-height: 52px; font-size: 16px; font-weight: 500; }
  .mtree__db[aria-expanded="true"] { font-weight: 600; }
  .mtree__ic { width: 44px; height: 44px; display: grid; place-items: center; }
  .mtree__ic img { width: 44px; height: 44px; object-fit: contain; }
  .mtree__ic i { font: 800 20px/1 var(--f-d); font-style: normal; color: var(--muted); }
  .mtree__svc { margin: 2px 0 12px 22px; padding-left: 12px; border-left: 2px solid var(--ico); }
  .mtree__svc li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .mtree__svc li b { font-weight: 600; white-space: nowrap; }
  .mtree__svc .lnk { margin-top: 6px; font-size: 18px; }
  .mnav__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mnav__tiles a { display: flex; align-items: center; min-height: 52px; padding: 0 14px; background: var(--paper); font: 800 20px/1 var(--f-d); text-transform: uppercase; letter-spacing: .02em; }
  .mnav__wa { width: 100%; margin-top: 20px; }
  .mnav__tel { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 16px; font: 800 26px/1 var(--f-d); }
  .mnav__tel small { font: 400 14px/1.3 var(--f-t); color: var(--muted); }

  /* ---------- нижнее меню ---------- */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; padding: 6px 4px env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.35); transform: translateY(calc(100% + 32px)); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
  .tabbar.is-on { transform: none; }
  .tabbar > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; min-width: 44px; font: 800 15px/1 var(--f-d); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
  .tabbar .i { width: 22px; height: 22px; }
  .tabbar__wa { margin: -18px 4px 0; background: #0E7A35; color: #fff !important; box-shadow: 0 8px 18px -8px rgba(0,0,0,.45); }
  .tabbar__wa .i { width: 26px; height: 26px; }
  .themes { position: static; transform: none; margin: 16px auto 8px; width: max-content; max-width: calc(100% - 32px); flex-wrap: wrap; justify-content: center; box-shadow: none; border: 1px solid var(--line); }

  /* ---------- общие: подпись секции = крупный номер-графика + метка ◆ ---------- */
  .slide { padding: 24px var(--pad) 56px; }
  .shead { align-items: flex-end; gap: 14px; margin-bottom: 22px; font-size: 14px; }
  .shead > span:last-of-type, .shead i { display: none; }
  .shead__n { order: -1; margin: 0; font: 800 76px/.74 var(--f-d); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
  .poster .shead__n { -webkit-text-stroke-color: var(--p-ink); }
  .shead > span:not(:last-of-type) { display: flex; align-items: center; gap: 8px; padding-bottom: 2px; font: 600 14px/1.2 var(--f-t); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
  .poster .shead > span:not(:last-of-type) { color: var(--p-ink); }
  .shead > span:not(:last-of-type)::before { content: ""; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); flex: none; }
  .slide h2 { font-size: clamp(36px, 10.2vw, 58px); line-height: .98; letter-spacing: -.04em; }
  .slide h2 + .txt { margin-top: 14px; }
  .h-poster, .h-poster--m { font-size: clamp(52px, 15.4vw, 96px); line-height: .84; white-space: normal; text-wrap: balance; }
  .poster h2 br { display: none; }

  /* ---------- плакатная сцена: слово → фото на всю ширину → заголовок наезжает на фото ---------- */
  .m-word, .poster .steps__ghost { display: flex; justify-content: center; position: relative; z-index: 1; width: calc(100% + 2 * var(--pad)); margin: 0 calc(-1 * var(--pad)); font: 800 var(--mwf, 40vw)/.8 var(--f-d); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; color: var(--p-ink); user-select: none; pointer-events: none; }
  .m-photo, .manifest__img, .lead__img, .visit__img, .steps__img { position: relative; z-index: 2; display: block; width: calc(100% + 2 * var(--pad)); max-width: none; height: auto; max-height: 128vw; margin: calc(var(--mwf, 40vw) * -.36) calc(-1 * var(--pad)) 0; object-fit: contain; object-position: 50% 100%; transform: none; left: auto; right: auto; bottom: auto; pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); }
  .manifest h2, .lead h2, .visit h2, .steps__h { position: relative; z-index: 3; margin-top: -.62em; }
  .vlines { display: block; inset: auto 0 auto 0; top: var(--vl-top, 0); height: var(--vl-h, 0); width: auto; z-index: 0; }
  .vlines::before, .vlines i:nth-child(4) { display: none; }
  .vlines i:nth-child(1) { left: 14%; } .vlines i:nth-child(2) { left: 50%; } .vlines i:nth-child(3) { left: 86%; }

  /* ---------- 01 первый экран ---------- */
  .hero { height: calc(100svh - var(--hdr)); min-height: 480px; max-height: 1000px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto auto auto auto;
    grid-template-areas: "stage stage" "h h" "lead lead" "crew rate" "cta cta"; padding: 4px var(--pad) 16px; }
  .hero__l, .hero__r { display: contents; }
  .hero .m-word { grid-area: stage; align-self: start; }
  .hero__man { position: static; grid-area: stage; justify-self: center; align-self: end; transform: none; left: auto; z-index: 2; height: calc(100% - var(--mwf, 40vw) * .42); max-height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: 50% 100%; animation-name: rise-m;
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); }
  @keyframes rise-m { from { opacity: 0; transform: translateY(30px); } }
  .hero h1 { grid-area: h; position: relative; z-index: 3; margin-top: -.42em; font-size: clamp(46px, 13.8vw, 84px); line-height: .86; max-width: none; text-wrap: balance; }
  .hero__lead { grid-area: lead; position: relative; z-index: 3; margin-top: 12px; font-size: 15px; max-width: 46ch; }
  .crew { grid-area: crew; flex-direction: row; align-items: center; gap: 10px; margin-top: 16px; text-align: left; }
  .crew__s { display: none; }
  .crew b { font-size: 20px; line-height: .95; }
  .ava img { width: 34px; height: 34px; margin-left: -10px; }
  .ava img:nth-child(n+4) { display: none; }
  .rate { grid-area: rate; align-self: center; justify-content: end; margin-top: 16px; text-align: right; }
  .rate .pl { width: 30px; height: 30px; }
  .rate .pl--gis { font-size: 10px; }
  .rate .pl--ya { font-size: 16px; }
  .rate__n { font-size: 44px; }
  .rate__t { font-size: 14px; }
  .rate__src { display: none; }
  .hero__cta { grid-area: cta; margin-top: 16px; }
  .hero__cta .btn { width: 100%; }

  /* ---------- 02 каталог: светлые плитки 2 колонки, одна цветная ---------- */
  .catalog__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .catalog__l { position: static; }
  .groups { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 18px calc(-1 * var(--pad)) 0; padding: 0 var(--pad); border: 0; }
  .groups::-webkit-scrollbar { display: none; }
  .groups li { flex: none; }
  .groups button { display: flex; align-items: center; gap: 8px; width: auto; min-height: 48px; padding: 0 14px; border: 0; background: var(--paper); white-space: nowrap; }
  .groups b { font-size: 21px; }
  .groups span, .groups [aria-selected="true"] b::before { display: none; }
  .groups small { font-size: 14px; }
  .groups [aria-selected="true"] { background: var(--ink); }
  .groups [aria-selected="true"] b, .groups [aria-selected="true"] small, [data-skin="lime"] .groups [aria-selected="true"] b { color: #fff; }
  .catalog__note { order: 3; font-size: 15px; }
  .devgrid { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 8px; background: none; border: 0; }
  .dev { min-height: 0; padding: 12px 12px 16px; background: var(--paper); }
  .dev:hover { background: var(--paper); }
  .dev h3 { font-size: 23px; min-height: 2em; }
  .dev__p { font-size: 26px; margin-top: 4px; }
  .dev__p em { font-size: 14px; }
  .dev img { order: -1; height: 132px; margin: 0 0 12px; }
  .dev__s, .dev > .dev__ar { display: none; }
  .dev--cta, .dev--cta:hover { justify-content: space-between; gap: 12px; padding: 16px; background: var(--acc-fill); }
  .dev--cta h3 { min-height: 0; font-size: 26px; }
  .dev--cta p { font-size: 14px; }
  .dev--cta .dev__ar { display: grid; margin-top: 10px; width: 44px; height: 44px; }

  /* ---------- 03 манифест ---------- */
  .manifest { min-height: 0; display: flex; flex-direction: column; padding: 28px var(--pad) 48px; }
  .manifest__txt { display: contents; }
  .manifest__txt > :not(h2) { max-width: none; }
  .manifest .m-word { order: 1; }
  .manifest__img { order: 2; max-height: 100vw; }
  .manifest h2 { order: 3; }
  .manifest .h-poster { font-size: clamp(50px, 14.6vw, 96px); white-space: normal; }
  .manifest__p { display: none; }
  .manifest__lead { order: 4; margin-top: 18px; font-size: 16px; line-height: 1.5; max-width: 52ch; }
  .dia--row { order: 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--p-line); }
  .dia--row li { font-size: 14px; }

  /* ---------- 04 в цифрах: фото во всю ширину, затем строки «огромная цифра + подпись» ---------- */
  .numbers__top { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 0; border: 0; }
  .numbers__top .txt { justify-self: start; }
  .numbers__grid { display: flex; flex-direction: column; }
  .numbers__col { display: contents; }
  .stage { order: -1; border: 0; padding: 20px 0 8px; }
  .stage__pics { margin: 0 calc(-1 * var(--pad)); aspect-ratio: 5 / 4; }
  .stage__cap { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; margin-top: 14px; padding-top: 0; border: 0; }
  .stage__n { font-size: 18px; }
  .stage__t { font-size: 14px; }
  .stage__p { font-size: 48px; }
  .stage__p em { font-size: 14px; display: block; margin: 0 0 4px; vertical-align: 0; }
  .num { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 16px; margin: 0; padding: 20px 0 18px; border-top: 1px solid var(--line); }
  .num b { font-size: clamp(88px, 27vw, 140px); line-height: .78; }
  .num em { font-size: .3em; }
  .num p { margin: 0; padding: 0 0 4px; border: 0; font-size: 15px; max-width: none; }

  /* ---------- 05 кейсы ---------- */
  .cases { padding: 24px var(--pad) 48px; }
  .cases__top { gap: 16px; margin-bottom: 18px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); width: calc(100% + 2 * var(--pad)); gap: 6px; }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; min-height: 48px; border: 0; background: #A72E0E; }
  [data-skin="lime"] .chips button { background: #9EC328; }
  [data-skin="grey"] .chips button { background: #4A4C4F; }
  .chips button[aria-selected="true"], [data-skin] .chips button[aria-selected="true"] { background: var(--p-ink); color: var(--p); }
  .chips sup { font-size: 14px; }
  .cases__grid { display: flex; flex-direction: column; gap: 14px; }
  .ba { order: 1; align-self: stretch; margin: 0 calc(-1 * var(--pad)); aspect-ratio: 1; }
  .ba__knob { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .ba:has(input:focus-visible) { outline-offset: -4px; }
  .case-list { order: 2; min-width: 0; }
  .case-list ol { flex: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border: 0; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scroll-snap-type: x proximity; }
  .case-list ol::-webkit-scrollbar { display: none; }
  .case-list li { flex: none; scroll-snap-align: start; }
  .case-list li button { display: flex; gap: 8px; align-items: center; width: auto; min-height: 48px; padding: 0 12px; border: 0; border-bottom: 3px solid transparent; white-space: nowrap; font-size: 15px; }
  .case-list li button:hover, .case-list [aria-current="true"] { padding-left: 12px; }
  .case-list li button::before { font-size: 14px; }
  .case-list [aria-current="true"] { border-bottom-color: var(--p-ink); }
  .case-list [aria-current="true"]::before { content: "[" counter(c, decimal-leading-zero) "]"; width: auto; height: auto; background: none; transform: none; margin: 0; }
  .case-list .pager { margin-top: 10px; justify-content: space-between; }
  .case-info { order: 3; }
  .case-info h3 { font-size: clamp(44px, 13vw, 72px); line-height: .86; }
  .case-info__n { margin: 18px 0; gap: 24px; }
  .case-info__n b { font-size: clamp(44px, 12.4vw, 64px); }
  .case-info__n span, .case-info dt { font-size: 14px; }
  .case-info dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .case-info dd { margin-bottom: 10px; }
  .case-info .btn { width: 100%; margin-top: 10px; }

  /* ---------- 06 прайс: строки с линиями, крупная цена справа ---------- */
  .price__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 20px; margin: 18px calc(-1 * var(--pad)) 4px; padding: 0 var(--pad); }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; font-size: 23px; min-height: 48px; }
  .ptable { display: grid; gap: 0; }
  .prow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n s" "t p"; gap: 6px 12px; min-height: 0; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); }
  .prow__n { grid-area: n; font-size: 17px; }
  .prow__t { grid-area: t; align-self: end; font-size: 14px; }
  .prow__p { grid-area: p; font-size: 36px; }
  .prow__p em { font-size: 14px; }
  .prow .sq { grid-area: s; justify-self: end; align-self: start; width: 44px; height: 44px; margin: -10px -10px 0 0; border: 0; }
  #priceMore { width: 100%; margin-top: 18px; }
  .price__side { position: static; padding: 22px; }
  .price__side h3 { font-size: 34px; }
  .pay span { font-size: 14px; border: 0; }

  /* ---------- 07 этапы ---------- */
  .steps { min-height: 0; display: flex; flex-direction: column; padding: 28px var(--pad) 48px; }
  .poster .steps__ghost { order: 1; position: relative; left: auto; top: auto; }
  .steps__img { order: 2; max-height: 112vw; }
  .steps__r { display: contents; }
  .steps__h { order: 3; }
  .steps__intro { order: 4; margin: 16px 0 14px; font-size: 15px; }
  .steps__list { order: 5; display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 420px); gap: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; border: 0; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scroll-padding: 0 var(--pad); }
  .steps__list::-webkit-scrollbar { display: none; }
  .steps__list li { scroll-snap-align: start; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 10px; padding: 16px 18px 16px 0; border: 0; border-top: 1px solid var(--p-ink); margin-right: 16px; }
  .steps__t { font-size: 30px; flex-wrap: wrap; }
  .steps__t::after { font-size: 14px; }
  .steps__d { justify-self: start; font-size: 14px; }
  .steps__list p { font-size: 15px; }
  .steps .mdots { order: 6; }
  .steps__r .btn { order: 7; width: 100%; margin-top: 18px; }

  /* ---------- слайдеры ---------- */
  .rail { gap: 12px; scroll-padding-left: var(--pad); margin-left: calc(-1 * var(--pad)); padding-left: var(--pad); }
  .mdots { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; margin-top: 14px; }
  .mdots button { width: 28px; height: 28px; display: grid; place-items: center; }
  .mdots i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .3; transition: opacity .2s, width .2s; }
  .mdots [aria-current="true"] i { opacity: 1; width: 20px; border-radius: 4px; }
  .mdots__c { font: 800 22px/1 var(--f-d); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
  .mdots__c em { font-style: normal; opacity: .55; }
  .mdots:has(.mdots__bar) { gap: 14px; }
  .mdots__bar { position: relative; width: 120px; height: 3px; background: color-mix(in srgb, currentColor 25%, transparent); }
  .mdots__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: currentColor; border-radius: 0; opacity: 1; width: auto; height: auto; transition: width .3s; }

  /* ---------- 08 команда: высокие фото, имя и стаж крупно ---------- */
  .team__top { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .facts { margin-top: 18px; gap: 12px; }
  .team__photo { margin: 0 calc(-1 * var(--pad)); }
  .team__photo img { height: auto; max-height: none; aspect-ratio: 4 / 3; }
  .team__photo figcaption { font-size: 14px; position: static; padding: 8px var(--pad) 0; max-width: none; background: none; }
  .team__r .pager { display: none; }
  .team__rail { margin-top: 22px; grid-auto-columns: min(86%, 340px); }
  .tcard__ph { aspect-ratio: 3 / 4; }
  .tcard__y { padding: 10px 14px 8px; font-size: 36px; }
  .tcard__y small { font-size: 14px; }
  .tcard h3 { margin-top: 12px; font: 800 28px/1 var(--f-d); text-transform: uppercase; letter-spacing: .01em; }
  .tcard__role { font-size: 15px; }
  .tcard__f { font-size: 15px; }

  /* ---------- 09 заявка ---------- */
  .lead { min-height: 0; display: flex; flex-direction: column; padding: 28px var(--pad) 48px; }
  .lead__l { display: contents; }
  .lead .m-word { order: 1; }
  .lead__img { order: 2; max-height: 118vw; }
  .lead h2 { order: 3; }
  .lead .h-poster { font-size: clamp(48px, 13.6vw, 92px); }
  .lead__l .cap { order: 4; margin: 18px 0 0; }
  .lead__p { order: 5; margin-top: 10px; font-size: 15px; }
  .lead__cta { order: 6; flex-direction: column; margin-top: 20px; }
  .lead__cta .btn { width: 100%; }
  .boss { order: 7; position: static; width: auto; margin-top: 20px; padding: 18px; grid-template-columns: 52px minmax(0, 1fr); box-shadow: none; }
  .boss img { width: 52px; height: 52px; }
  .boss__n { font-size: 14px; }

  /* ---------- 10 статья ---------- */
  .article__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .toc-col { order: 1; max-width: none; justify-self: stretch; }
  .expert { order: 2; max-width: none; justify-self: stretch; }
  .art { order: 3; margin-top: 18px; }
  .toc, .expert__card { position: static; }
  .toc { border: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 0; }
  .toc__head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; font-size: 14px; }
  .toc__head .i { display: block; transition: transform .25s; }
  .toc__head[aria-expanded="true"] .i { transform: rotate(180deg); }
  .toc.is-closed ol { display: none; }
  .toc ol { margin: 0 0 12px; }
  .toc a::before { font-size: 14px; }
  .expert__card { padding: 18px; gap: 12px; border: 0; background: var(--paper); }
  .expert__t { font-size: 30px; }
  .art__meta { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; margin: 20px 0; }
  .art__meta img { width: 48px; height: 48px; }
  .art__dates { grid-column: 1 / -1; text-align: left; }
  .art__body { font-size: 16px; }
  .art__more h3 { font-size: 22px; margin-top: 28px; }
  .art__t, .art__t th { font-size: 14px; }
  #artToggle { width: 100%; }

  /* ---------- 11 FAQ: без рамок у плюсов ---------- */
  .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .faq__l { position: static; }
  .faq__l .btn { width: 100%; margin-top: 18px; }
  .faq__list { order: 2; }
  .qa summary { grid-template-columns: minmax(0, 1fr) 44px; gap: 12px; min-height: 64px; font-size: 18px; }
  .qa summary::before { display: none; }
  .qa summary .sq, .qa[open] summary .sq { width: 44px; height: 44px; border: 0; background: none; color: var(--ico); }
  .qa summary .sq .i { width: 26px; height: 26px; }
  .qa__a { padding: 0 0 20px; font-size: 15px; }

  /* ---------- 12 отзывы ---------- */
  .reviews { padding: 24px var(--pad) 48px; }
  .reviews__top { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 18px; }
  .revgrid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scroll-padding: 0 var(--pad); }
  .revgrid::-webkit-scrollbar { display: none; }
  .revgrid > * { scroll-snap-align: start; }
  .reviews .rsum, .reviews .rcard { border: 0; background: var(--paper); padding: 20px; }
  .rsum__n { font-size: 112px; }
  .rsum__list em, .rcard__h small, .rcard__dev, .rcard__f > span { font-size: 14px; }
  .like { border: 0; background: #fff; }
  .reviews__more { flex-direction: column; }
  .reviews__more .btn { width: 100%; }

  /* ---------- 13 выезд ---------- */
  .visit { min-height: 0; display: flex; flex-direction: column; padding: 24px var(--pad) 48px; }
  .visit__l { display: contents; }
  .visit .shead { order: 0; }
  .visit .m-word { order: 1; }
  .visit__img { order: 2; max-height: 112vw; }
  .visit h2 { order: 3; }
  .visit .h-poster { font-size: clamp(50px, 14.6vw, 96px); white-space: normal; }
  .visit__big { display: none; }
  .visit__p { order: 4; margin-top: 16px; font-size: 15px; }
  .visit__cta { order: 5; flex-direction: column; margin-top: 20px; }
  .visit__cta .btn { width: 100%; }
  .visit__r { order: 6; position: static; width: auto; margin-top: 28px; }
  .districts { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 10px; border-top: 1px solid var(--p-ink); }
  .districts li { min-height: 46px; padding: 12px 0 10px; border: 0; border-bottom: 1px solid var(--p-line); }
  .districts b { font-size: 24px; }
  .districts .is-ws { background: none; color: inherit; font-weight: 600; }
  .districts .is-ws span::before { content: ""; display: inline-block; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); margin: 0 10px 2px 0; }
  .visit__addr { grid-template-columns: minmax(0, 1fr); gap: 2px; border-color: var(--p-ink); }
  .visit__addr dt { font-size: 14px; margin-top: 8px; }

  /* ---------- 14 блог ---------- */
  .blog__top { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
  .blog__nav .pager { display: none; }
  .blog__rail { grid-auto-columns: min(88%, 360px); }
  .post__img { aspect-ratio: 1 / 1; }
  .post__chip, .post__m { font-size: 14px; }
  .post h3 { font-size: 21px; }

  /* ---------- подвал ---------- */
  .ftr { padding: 40px var(--pad) 20px; }
  .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 16px; }
  .ftr__grid > :first-child { grid-column: 1 / -1; }
  .ftr__mark { margin: 32px 0 16px; }
  .ftr__legal { flex-direction: column; font-size: 14px; }

  /* ---------- попапы ---------- */
  .dlg { padding: 24px; }
  .dlg h3 { font-size: 32px; }
  .lb img { max-width: 92vw; max-height: 72vh; }
  .lb__x { top: -56px; right: 0; }
  .lb__p { left: 0; top: auto; bottom: -60px; margin: 0; }
  .lb__n { right: 0; top: auto; bottom: -60px; margin: 0; }

  .rail, .revgrid, .steps__list, .groups, .chips, .tabs, .case-list ol { overflow-y: hidden; }
}

/* планшет: больше карточек в слайдерах, сцена не выше экрана */
@media (min-width: 700px) and (max-width: 1279px) {
  .team__rail { grid-auto-columns: calc((100% - 2 * 12px) / 3.2); }
  .blog__rail, .revgrid { grid-auto-columns: calc((100% - 12px) / 2.15); }
  .steps__list { grid-auto-columns: calc((100% - 2 * 16px) / 2.3); }
  .lead__cta, .visit__cta { flex-direction: row; }
  .lead__cta .btn, .visit__cta .btn { width: auto; }
  .districts { max-width: 640px; }
  .ftr__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stage__pics { aspect-ratio: 16 / 10; }
  .ptable { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .manifest__img, .lead__img, .visit__img, .steps__img { max-height: 70vh; }
  .ba { aspect-ratio: 4 / 3; }
  .post__img { aspect-ratio: 4 / 3; }
}

/* низкий экран: первый экран без абзаца */
@media (max-width: 1279px) and (max-height: 720px) {
  .hero__lead { display: none; }
}

/* ======================================================================
   mobile-bar — общий компонент всех страниц: пилюля города в шапке, нижнее меню
   (Цены · Отзывы · WhatsApp · Адрес и часы) и шторка «Адрес». Разметка — _build/partials/mobile-bar.html,
   логика — mobile-bar.js. На десктопе (≥1280) скрыт.
   ====================================================================== */
.mb-city, .mb-bar { display: none; }
.mb-i { width: 22px; height: 22px; flex: none; }
.mb-i--s { width: 16px; height: 16px; }
.mb-sheet { border: 0; padding: 0; }
@media (max-width: 1279px) {
  /* шапка: логотип · пилюля города · трубка · бургер */
  .mb-city { display: block; }
  .mb-city__btn { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 10px 0 9px; border: 1.5px solid var(--p-line); border-radius: 999px; color: var(--p-ink); font: 600 15px/1 var(--f-t); white-space: nowrap; }
  .mb-city__btn .mb-i { width: 18px; height: 18px; }
  .mb-city__btn[aria-expanded="true"] { border-color: var(--p-ink); }
  .mb-city__btn[aria-expanded="true"] .mb-i--s { transform: rotate(180deg); }
  .mb-city__list { position: absolute; right: var(--pad); top: calc(100% - 2px); z-index: 90; width: min(300px, calc(100vw - 2 * var(--pad))); padding: 6px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px -12px rgba(0,0,0,.35); }
  .mb-city__list[hidden] { display: none; }
  .mb-city__list button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 12px; text-align: left; font-size: 16px; font-weight: 500; }
  .mb-city__list small { font-size: 14px; color: var(--muted); white-space: nowrap; }
  .mb-city__list [aria-selected="true"] { background: var(--paper); font-weight: 600; }
  .mb-city__list [aria-selected="true"]::before { content: ""; width: 7px; height: 7px; background: var(--ico); transform: rotate(45deg); flex: none; margin-right: -4px; }
  .hdr__r { gap: 8px; }

  /* нижнее меню: WhatsApp строго по центру (Адрес занимает две колонки) */
  .mb-bar { display: grid; grid-template-columns: 1fr 1fr 84px 2fr; align-items: end; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; padding: 6px 6px env(safe-area-inset-bottom); background: #fff; color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.35); transform: translateY(calc(100% + 40px)); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
  .mb-bar.is-on { transform: none; }
  .mb-bar > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 54px; min-width: 44px; font: 800 15px/1 var(--f-d); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
  .mb-bar > *:active { background: var(--paper); }
  .mb-bar__wa { position: relative; }
  .mb-bar__wa i { display: grid; place-items: center; width: 60px; height: 60px; margin-top: -26px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); border: 3px solid #fff; }
  .mb-bar__wa i .mb-i { width: 30px; height: 30px; }
  .mb-bar__addr { flex-direction: row; gap: 8px; }

  /* шторка «Адрес» */
  .mb-sheet { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: 100%; max-height: 90svh; background: #fff; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
  .mb-sheet::backdrop { background: rgba(10,10,10,.55); }
  .mb-sheet[open] { animation: mb-up .35s cubic-bezier(.2,.8,.2,1); }
  @keyframes mb-up { from { transform: translateY(40px); opacity: 0; } }
  .mb-sheet__in { position: relative; max-width: 640px; margin: 0 auto; padding: 14px var(--pad) calc(20px + env(safe-area-inset-bottom)); }
  .mb-sheet__grip { display: block; width: 44px; height: 4px; margin: 0 auto 14px; background: var(--line); }
  .mb-sheet__x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 48px; height: 48px; }
  .mb-sheet__cap { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; font: 600 14px/1.2 var(--f-t); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .mb-sheet__cap::before { content: ""; width: 7px; height: 7px; background: var(--ico); transform: rotate(45deg); flex: none; }
  .mb-sheet__addr { padding-right: 44px; font: 800 clamp(34px, 9.6vw, 48px)/.92 var(--f-d); text-transform: uppercase; letter-spacing: .005em; }
  .mb-sheet__note { margin-top: 8px; font-size: 15px; color: var(--muted); }
  .mb-sheet__note[hidden], .mb-sheet__photo[hidden] { display: none; }
  .mb-sheet__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 16px; background: var(--paper); }
  .mb-sheet__facts { margin: 16px 0 6px; border-top: 1px solid var(--line); }
  .mb-sheet__facts li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mb-sheet__facts .mb-i { color: var(--ico); margin-top: 1px; }
  .mb-sheet__facts b { display: block; font-size: 16px; font-weight: 600; }
  .mb-sheet__facts span { font-size: 15px; color: var(--muted); }
  .mb-sheet__status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #17A34A; margin: 0 8px 2px 0; }
  .mb-sheet__status.is-closed::before { background: #8A8A8A; }
  .mb-sheet__routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .mb-sheet__routes a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; background: var(--paper); font-size: 15px; font-weight: 600; }
  .mb-pl { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 700 11px/1 var(--f-t); font-style: normal; letter-spacing: -.05em; }
  .mb-pl--gis { background: #13862F; color: #fff; }
  .mb-pl--g { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .mb-pl--g svg { width: 60%; height: 60%; }
  .mb-pl--ya { background: #E8361A; color: #fff; font-size: 18px; }
  .mb-sheet__tel { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 14px; background: var(--acc-fill); color: var(--acc-on); font: 800 24px/1 var(--f-d); letter-spacing: .02em; }
  [data-skin="lime"] .mb-sheet__tel { border: 1.5px solid #111310; }
}
/* узкий телефон: логотип компактнее, чтобы ряд шапки влез */
@media (max-width: 399px) {
  .hdr__in, .hdr.is-compact .hdr__in { gap: 6px; }
  .hdr .logo { height: 32px; padding: 2px 8px 0; font-size: 21px; }
  .hdr__r { gap: 6px; }
}
@media (max-width: 374px) {
  .mb-city__btn { padding: 0 8px 0 12px; }
  .mb-city__btn .mb-i:first-child { display: none; }
}
@media (max-width: 339px) {
  .hdr .logo { height: 30px; padding: 2px 6px 0; font-size: 18px; }
  .mb-city__btn { padding: 0 6px 0 10px; font-size: 14px; }
}
