/* ==========================================================================
   СмартБаня — дизайн-система v2 «Белая студия»
   Белый фон, чёрная типографика, один акцент. В центре каждой страницы — баня:
   реалистичный 3D-рендер на белом подиуме. Никаких рамок-«бумаги», штампов и теней-плашек.
   Имена классов те же, что в v1 (шаблоны не меняются). Mobile-first: 760 / 1080.
   Старые имена переменных (--paper, --soot…) сохранены как синонимы для инлайновых стилей в шаблонах.
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --ink: #0C0C0D;
  --ink-2: #4E4E4B;
  --ink-3: #8C8C87;
  --g1: #F5F5F3;            /* подложки */
  --g2: #E6E6E2;            /* волосяные линии */
  --ember: #E8451E;         /* единственный акцент */
  --ember-d: #C2330F;
  --moss: #3F7A52;
  --pine: #C9955A;
  --soot: #0C0C0D;
  --paper: #FFFFFF; --paper-2: #F5F5F3; --paper-3: #FFFFFF;
  --line: 1px solid var(--g2);
  --hair: 1px solid var(--g2);
  --r: 20px;                /* радиус карточек и сцены */
  --r-s: 12px;
  --f-display: 'Sofia Sans Extra Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-text: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --f-hand: var(--f-text);
  --gut: 18px;
  --tabbar: 62px;
  --hdr: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--f-text); padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px)); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember-d); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- типографика ---------- */
.d1, .d2, .d3, .d4 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; text-wrap: balance; }
.d1 { font-size: clamp(76px, 23vw, 250px); line-height: .8; font-weight: 900; }
.d2 { font-size: clamp(48px, 12vw, 104px); line-height: .86; }
.d3 { font-size: clamp(32px, 7.4vw, 50px); }
.d4 { font-size: clamp(24px, 5.6vw, 30px); font-weight: 700; line-height: 1; }
.lead { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.hand { font: italic 400 15px/1.4 var(--f-text); color: var(--ink-3); transform: none !important; }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.em { color: var(--ember); }
.muted { color: var(--ink-3); }

/* ---------- каркас ---------- */
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: var(--gut); }
.sec { padding-block: 64px; }
.sec--flush { padding-top: 56px; }
.sec--soot { background: var(--soot); color: #fff; }
.sec--soot .muted, .sec--soot .lead, .sec--soot .mono { color: #9A9A95; }
.sec--band { background: var(--g1); }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; }
.sec-head__n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-3); }
.sec-head__n::before { content: '— '; }
.sec-head__more { font-size: 14px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; justify-self: start; padding-bottom: 1px; }
.sec-head p { color: var(--ink-2); max-width: 56ch; }
.sec--soot .sec-head p { color: #9A9A95; }
.rule { border: 0; border-top: var(--line); margin: 0; }
.rule--dash { border-top: 1px dashed var(--g2); }

/* ---------- шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); height: var(--hdr); border-bottom: 1px solid transparent; }
.hdr__in { display: flex; align-items: center; gap: 12px; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--f-display); font-weight: 900; font-size: 27px; text-transform: uppercase; line-height: 1; letter-spacing: .01em; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo svg { width: 26px; height: 26px; flex: none; }
.logo b { color: var(--ember); font-weight: 900; }
.hdr__nav { display: none; }
.hdr__tel { margin-left: auto; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hdr__tel small { display: none; }
.hdr__burger { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--g1); display: grid; place-items: center; padding: 0; }
.hdr__burger i { display: block; width: 16px; height: 1.5px; background: var(--ink); box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink); }

.tabbar { position: fixed; inset: auto 0 0 0; z-index: 60; height: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px)); padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.tabbar a { display: grid; place-items: center; align-content: center; gap: 2px; text-decoration: none; font-size: 10.5px; font-weight: 500; color: var(--ink-2); border-radius: 14px; }
.tabbar svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.tabbar a[aria-current] { color: var(--ink); }
.tabbar .is-cta { background: var(--ink); color: #fff; }

.menu { position: fixed; inset: 0; z-index: 80; background: #fff; color: var(--ink); padding: 14px var(--gut) 90px; overflow: auto; transform: translateY(-102%); transition: transform .32s cubic-bezier(.2, .7, .2, 1); visibility: hidden; }
.menu.is-open { transform: none; visibility: visible; }
.menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.menu__x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--g1); font: 400 22px/1 var(--f-text); }
.menu__list a { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; font-family: var(--f-display); font-weight: 800; font-size: 52px; line-height: 1; text-transform: uppercase; text-decoration: none; }
.menu__list a span { font: 400 12px var(--f-text); color: var(--ink-3); text-transform: none; }
.menu__sub { margin-top: 28px; padding-top: 20px; border-top: var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 15px; }
.menu__sub a { color: var(--ink-2); text-decoration: none; }

/* ---------- кнопки, ярлыки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 28px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font: 600 16px/1 var(--f-text); text-decoration: none; transition: background .18s, color .18s, border-color .18s, transform .12s; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.btn:hover { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn:active { transform: scale(.98); }
.btn--ember { background: var(--ember); border-color: var(--ember); }
.btn--ember:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--g2); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.sec--soot .btn { background: #fff; color: var(--ink); border-color: #fff; }
.sec--soot .btn:hover { background: var(--ember); border-color: var(--ember); color: #fff; }
.sec--soot .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--sm { min-height: 44px; font-size: 14.5px; padding: 8px 20px; }
.btn--wide { width: 100%; }
.btn .arr { font-weight: 400; transition: transform .18s; }
.btn:hover .arr { transform: translateX(3px); }

.tag { display: inline-block; font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--g1); color: var(--ink-2); white-space: nowrap; line-height: 1.2; }
.tag--ink { background: var(--ink); color: #fff; }
.tag--ember { background: var(--ember); color: #fff; }
.tag--moss { background: #E7F1EA; color: var(--moss); }

/* «штамп» стал лаконичным круглым знаком */
.stamp { --c: var(--ink); display: inline-grid; place-items: center; width: 96px; aspect-ratio: 1; border: 1px solid var(--c); border-radius: 50%; color: var(--c); text-align: center; font-family: var(--f-display); text-transform: uppercase; line-height: .86; flex: none; background: #fff; }
.stamp b { display: block; font-size: 42px; font-weight: 900; }
.stamp span { display: block; font-size: 15px; font-weight: 700; letter-spacing: .06em; }
.stamp small { display: none; }
.stamp--sm { width: 62px; }
.stamp--sm b { font-size: 25px; }
.stamp--sm span { font-size: 10.5px; }
.stamp--ink { --c: var(--ink); }

.dimline { display: flex; align-items: center; gap: 12px; font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.dimline::after { content: ''; flex: 1; height: 1px; background: var(--g2); }

/* ---------- бегущая строка: тихая ---------- */
.ticker { overflow: hidden; border-block: var(--line); }
.ticker__row { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker__row span { font: 500 13px var(--f-text); color: var(--ink-2); padding: 14px 0; white-space: nowrap; }
.ticker__row span::after { content: '·'; color: var(--ink-3); margin-inline: 18px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- СЦЕНА: баня на белом подиуме ---------- */
.stage { position: relative; border-radius: var(--r); background: radial-gradient(120% 90% at 50% 38%, #fff 0%, #fff 34%, #F3F3F1 100%); overflow: hidden; transition: background .4s; }
.stage.is-eve { background: radial-gradient(120% 90% at 50% 40%, #1c1e23 0%, #101114 70%); }
.stage__svg { position: relative; aspect-ratio: 1.42; }
.stage__svg > img, .stage__svg > svg, .stage__svg > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.stage__svg canvas.b3d { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; outline: 0; }
.stage__svg canvas.b3d:active { cursor: grabbing; }
.stage.has-3d .stage__svg > img, .stage.has-3d .stage__svg > svg, .stage.has-3d .stage__svg > picture { visibility: hidden; }
.stage__meta { position: absolute; left: 16px; bottom: 12px; z-index: 3; display: flex; gap: 10px; font: 500 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); pointer-events: none; }
.stage__meta:empty { display: none; }
.stage__meta span + span::before { content: '· '; }
.stage.is-eve .stage__meta { color: #8f9197; }
.stage__tools { position: absolute; right: 12px; top: 12px; z-index: 3; display: flex; gap: 6px; }
.tool { height: 34px; padding: 0 13px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px var(--g2); font: 500 12.5px var(--f-text); display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.tool[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.stage.is-eve .tool { background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); color: #fff; }
.stage.is-eve .tool[aria-pressed="true"] { background: #fff; color: var(--ink); }
.stage.has-3d::after { content: '↔ вращайте'; position: absolute; right: 16px; bottom: 12px; font: 500 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); pointer-events: none; transition: opacity .3s; }
.stage.has-3d:has(.is-touched)::after { opacity: 0; }

/* ---------- первый экран ---------- */
.hero { padding-top: 12px; position: relative; overflow: hidden; }
.hero__in { display: flex; flex-direction: column; }
.hero__text { display: contents; }
.hero__kicker { order: 1; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; }
.hero__title { order: 2; position: relative; text-align: center; z-index: 0; }
.hero__title .d1 { display: flex; flex-wrap: wrap; justify-content: center; column-gap: .2em; font-size: 29vw; line-height: .78; }
.hero__title .d1 span { display: block; }
.hero__title .d1 .em { order: -1; flex-basis: 100%; color: var(--ink-3); font: 500 12px/1 var(--f-mono); letter-spacing: .32em; margin: 2px 0 12px; }
.hero__title .stamp { display: none; position: absolute; right: 0; bottom: -64px; top: auto; width: 74px; transform: rotate(8deg); z-index: 3; }
.hero__title .stamp b { font-size: 32px; }
.hero__title .stamp span { font-size: 12px; }
.hero__stage { order: 3; margin: -17vw calc(var(--gut) * -1) 0; position: relative; z-index: 1; }
.hero__stage .stage { background: none; border-radius: 0; overflow: visible; }
.hero__stage .stage.is-eve { background: none; }
.hero__stage .stage__svg { aspect-ratio: 1.3; }
.hero__stage .stage__tools, .hero__stage .stage__meta, .hero__stage .stage.has-3d::after { display: none; }
.hero__stage .cfg-trims { margin: 0 var(--gut); }
.hero__lead { order: 4; margin: 22px auto 0; text-align: center; }
.hero__cta { order: 5; display: grid; gap: 10px; margin-top: 22px; }
.hero__facts { order: 6; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; margin-top: 44px; padding-top: 28px; border-top: var(--line); }
.fact b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 9.4vw, 52px); line-height: .9; text-transform: uppercase; white-space: nowrap; }
.fact span { font-size: 13px; color: var(--ink-3); line-height: 1.35; display: block; margin-top: 8px; max-width: 24ch; }

/* ---------- ленты ---------- */
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px var(--gut) 14px; margin-inline: calc(var(--gut) * -1); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: 0 0 80%; }
.rail--sm > * { flex-basis: 62%; }

/* ---------- категория ---------- */
.cat { display: grid; grid-template-rows: auto 1fr; text-decoration: none; position: relative; color: var(--ink); }
.cat:hover { color: var(--ink); }
.cat__pic { border-radius: var(--r); background: var(--g1); aspect-ratio: 1.25; overflow: hidden; }
.cat__pic svg, .cat__pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.cat:hover .cat__pic svg, .cat:hover .cat__pic img { transform: scale(1.05); }
.cat__body { padding: 14px 2px 0; display: grid; gap: 4px; }
.cat__n { display: none; }
.cat__name { font-family: var(--f-display); font-weight: 800; font-size: 34px; line-height: .92; text-transform: uppercase; }
.cat__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.cat__meta b { font-size: 14px; color: var(--ink); font-weight: 600; }

/* ---------- карточка модели ---------- */
.grid { display: grid; gap: 30px 16px; }
.card { display: flex; flex-direction: column; text-decoration: none; position: relative; min-width: 0; color: var(--ink); }
.card:hover { color: var(--ink); }
.card__pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--g1); }
.card__pic img, .card__pic svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card__pic img.is-render, .card__pic svg { object-fit: contain; }
.card:hover .card__pic img, .card:hover .card__pic svg { transform: scale(1.04); }
.card__tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 5px; flex-wrap: wrap; z-index: 1; }
.card__tags .tag { background: rgba(255, 255, 255, .92); color: var(--ink); }
.card__tags .tag--ember { background: var(--ember); color: #fff; }
.card__tags .tag--ink { background: var(--ink); color: #fff; }
.card__days { position: absolute; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); border-radius: 999px; font-size: 12px; font-weight: 500; padding: 4px 10px; }
.card__body { padding: 14px 2px 0; display: grid; gap: 6px; flex: 1; align-content: start; }
.card__name { font-family: var(--f-display); font-weight: 800; font-size: 30px; line-height: .94; text-transform: uppercase; }
.card__dims { display: flex; gap: 12px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.card__dims b { color: var(--ink-2); font-weight: 500; }
.card__foot { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: 6px; }
.price { font: 600 19px/1.1 var(--f-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price small { font-weight: 400; font-size: 12px; color: var(--ink-3); margin-right: 5px; }
.card__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; background: var(--g1); color: var(--ink); flex: none; transition: background .18s, color .18s; }
.card:hover .card__go { background: var(--ink); color: #fff; }

.filters { display: flex; gap: 6px; overflow-x: auto; padding: 0 var(--gut) 12px; margin-inline: calc(var(--gut) * -1); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 16px; border: 1px solid var(--g2); border-radius: 999px; background: #fff; font: 500 14px var(--f-text); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip sup { font-size: 10px; color: var(--ink-3); }
.chip.is-on sup, .chip[aria-pressed="true"] sup { color: #9A9A95; }
.listbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); padding: 8px 0 18px; }
.listbar select { font: 500 13px var(--f-text); border: 1px solid var(--g2); background: #fff; height: 36px; padding: 0 12px; border-radius: 999px; color: var(--ink); }

/* ---------- три комплектации ---------- */
.trims { display: grid; gap: 12px; }
.trim { padding: 22px 20px; border-radius: var(--r); background: #fff; display: grid; gap: 10px; position: relative; box-shadow: inset 0 0 0 1px var(--g2); }
.sec--band .trim { box-shadow: none; }
.trim__n { font: 500 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.trim__name { font-family: var(--f-display); font-weight: 900; font-size: 56px; line-height: .84; text-transform: uppercase; }
.trim__tag { position: absolute; right: 16px; top: 18px; }
.trim ul { display: grid; gap: 7px; font-size: 15px; color: var(--ink-2); }
.trim li { padding-left: 16px; position: relative; }
.trim li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 1px; background: currentColor; }
.trim__foot { display: flex; justify-content: space-between; align-items: end; border-top: var(--line); padding-top: 14px; margin-top: 6px; }
.trim--hot { background: var(--ink); color: #fff; box-shadow: none; }
.trim--hot ul { color: #C9C9C4; }
.trim--hot .trim__foot { border-color: rgba(255, 255, 255, .16); }
.trim--hot .price small, .trim--hot .trim__n { color: #9A9A95; }
.trim--hot .tag { background: rgba(255, 255, 255, .12); color: #fff; }
.trim--hot .tag--ember { background: var(--ember); }

/* ---------- 21 день ---------- */
.days { border-radius: var(--r); background: #fff; overflow: hidden; padding: 6px 0 4px; }
.sec--soot .days { background: #17171a; color: #fff !important; }
.days__ruler { display: grid; grid-template-columns: repeat(21, 1fr); font: 400 8.5px var(--f-mono); color: var(--ink-3); padding: 8px 0 6px; }
.days__ruler i { font-style: normal; text-align: center; }
.days__ruler i.is-m { color: inherit; font-weight: 700; }
.sec--soot .days__ruler i.is-m { color: #fff; }
.days__bars { display: grid; grid-template-columns: repeat(21, 1fr); gap: 6px 0; padding: 6px 0 12px; }
.days__bar { height: 26px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 11px var(--f-text); display: flex; align-items: center; padding-left: 10px; white-space: nowrap; overflow: hidden; }
.sec--soot .days__bar { background: #fff; color: var(--ink); }
.days__bar--e, .sec--soot .days__bar--e { background: var(--ember); color: #fff; }
.days__bar--p, .sec--soot .days__bar--p { background: #4a4a4f; color: #fff; }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 84px 1fr; gap: 0 12px; padding: 18px 0; border-top: var(--line); }
.step:first-child { border-top: 0; }
.step__d { font-family: var(--f-display); font-weight: 900; font-size: 46px; line-height: .85; }
.step__d small { display: block; font: 400 11px var(--f-text); color: var(--ink-3); margin-top: 6px; text-transform: none; }
.step h3 { font: 600 18px/1.25 var(--f-text); }
.step p { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }
.sec--soot .step { border-color: rgba(255, 255, 255, .14); }
.sec--soot .step p { color: #9A9A95; }

/* ---------- КОНСТРУКТОР ---------- */
.cfg { display: block; }
.cfg__stage { position: sticky; top: var(--hdr); z-index: 20; margin-inline: calc(var(--gut) * -1); border-radius: 0; box-shadow: 0 1px 0 var(--g2); }
.cfg__stage .stage__svg { aspect-ratio: 1.42; max-height: 44vh; width: 100%; }
.cfg__panel { padding-top: 22px; display: grid; gap: 30px; min-width: 0; }
.cfg-trims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 18px; background: var(--g1); }
.cfg-trim { border: 0; border-radius: 14px; background: transparent; padding: 11px 10px 10px; text-align: left; display: grid; gap: 2px; min-width: 0; transition: background .18s, box-shadow .18s; }
.cfg-trim b { font: 600 15px/1.2 var(--f-text); }
.cfg-trim span { font: 500 13px var(--f-text); color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cfg-trim small { font-size: 11px; color: var(--ink-3); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cfg-trim[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 0 0 1px rgba(0, 0, 0, .04); }
.cfg-own { font-size: 13px; color: var(--ember-d); min-height: 18px; }
.opt__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.opt__title { font: 600 18px/1.2 var(--f-text); }
.opt__cur { font-size: 13px; color: var(--ink-3); text-align: right; }
.opt__hint { font-size: 13.5px; color: var(--ink-3); margin: 3px 0 12px; }
.sw-row { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { width: 44px; height: 44px; border: 0; border-radius: 50%; padding: 4px; background: transparent; position: relative; box-shadow: inset 0 0 0 1px var(--g2); transition: box-shadow .15s; }
.sw i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.sw[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.ch-list { display: grid; gap: 8px; }
.ch { display: grid; grid-template-columns: 20px 1fr auto; gap: 2px 12px; align-items: start; text-align: left; border: 0; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--g2); padding: 14px 16px; width: 100%; transition: box-shadow .15s, background .15s; }
.ch__mark { width: 18px; height: 18px; border-radius: 50%; margin-top: 2px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px #C8C8C3; }
.ch--multi .ch__mark { border-radius: 6px; }
.ch__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.ch__desc { grid-column: 2 / -1; font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.ch__price { font-size: 13px; white-space: nowrap; text-align: right; padding-top: 2px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ch__price em { display: block; font-style: normal; color: var(--ink-3); font-size: 11.5px; }
.ch[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.ch[aria-pressed="true"] .ch__mark { background: var(--ink); box-shadow: none; }
.ch[aria-pressed="true"] .ch__mark::after { content: ''; width: 6px; height: 6px; background: #fff; border-radius: inherit; }
.ch--multi[aria-pressed="true"] .ch__mark::after { width: 9px; height: 5px; background: none; border: solid #fff; border-width: 0 0 1.5px 1.5px; border-radius: 0; transform: rotate(-45deg) translate(1px, -1px); }

.receipt { background: var(--g1); border-radius: var(--r); padding: 22px 20px 20px; position: relative; font-size: 14px; }
.sec--band .receipt { background: #fff; }
.receipt__head { padding-bottom: 14px; margin-bottom: 12px; border-bottom: var(--line); display: grid; gap: 4px; font-size: 12px; color: var(--ink-3); }
.receipt__head b { font-family: var(--f-display); font-weight: 800; font-size: 32px; line-height: .95; text-transform: uppercase; color: var(--ink); }
.receipt__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.receipt__row span:first-child { color: var(--ink-2); }
.receipt__row span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.receipt__row--base { font-weight: 600; }
.receipt__total { border-top: var(--line); margin-top: 12px; padding-top: 14px; display: flex; justify-content: space-between; align-items: end; color: var(--ink-3); font-size: 13px; line-height: 1.4; }
.receipt__total b { font-family: var(--f-display); font-weight: 900; font-size: 50px; line-height: .85; color: var(--ink); }
.receipt__note { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; line-height: 1.45; }
.receipt__actions { display: grid; gap: 8px; margin-top: 16px; }

.buybar { position: fixed; inset: auto 0 calc(var(--tabbar) + env(safe-area-inset-bottom, 0px)) 0; z-index: 55; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 9px var(--gut); }
.buybar__sum { display: flex; align-items: end; gap: 12px; min-width: 0; }
.buybar__sum > b { font: 700 24px/1 var(--f-text); white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.buybar__sum span { font-size: 11.5px; color: var(--ink-3); line-height: 1.25; white-space: nowrap; }
.buybar__sum span b { font-weight: 600; color: var(--ink); }
body.has-buybar { padding-bottom: calc(var(--tabbar) + 66px + env(safe-area-inset-bottom, 0px)); }

/* ---------- паспорт, галерея, планировка ---------- */
.pass { border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px var(--g2); }
.sec--band .pass { box-shadow: none; }
.pass__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; font: 500 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); border-bottom: var(--line); }
.pass dl { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; }
.pass dt, .pass dd { padding: 12px 18px; border-top: var(--line); font-size: 14.5px; }
.pass dt { color: var(--ink-3); font-size: 13.5px; }
.pass dt:first-of-type, .pass dt:first-of-type + dd { border-top: 0; }

.gal { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
.gal::-webkit-scrollbar { display: none; }
.gal figure { flex: 0 0 86%; scroll-snap-align: center; border-radius: var(--r); overflow: hidden; background: var(--g1); position: relative; }
.gal img, .gal svg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); border-radius: 999px; font-size: 12px; font-weight: 500; padding: 4px 11px; }

.rooms { display: grid; border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px var(--g2); }
.sec--band .rooms { box-shadow: none; }
.room { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 13px 18px; border-top: var(--line); font-size: 15px; }
.room:first-child { border-top: 0; }
.room b { font-weight: 600; font-variant-numeric: tabular-nums; }

.crumbs { display: flex; gap: 6px; overflow-x: auto; white-space: nowrap; font-size: 12.5px; color: var(--ink-3); padding-block: 14px; scrollbar-width: none; }
.crumbs a { text-decoration: none; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--g2); }

/* ---------- журнал ---------- */
.art { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 16px 0; border-top: var(--line); text-decoration: none; align-items: start; color: var(--ink); }
.art:hover { color: var(--ink); }
.art:hover .art__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.art__pic { aspect-ratio: 1; border-radius: var(--r-s); background: var(--g1); overflow: hidden; }
.sec--band .art__pic { background: #fff; }
.art__pic img, .art__pic svg { width: 100%; height: 100%; object-fit: cover; }
.art__meta { display: flex; gap: 10px; font-size: 12px; color: var(--ink-3); margin-bottom: 5px; }
.art__title { font: 600 17px/1.25 var(--f-text); }
.art p { font-size: 14px; color: var(--ink-2); margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art--lead { grid-template-columns: 1fr; border-top: 0; }
.art--lead .art__pic { aspect-ratio: 16 / 10; border-radius: var(--r); }
.art--lead .art__title { font-family: var(--f-display); font-weight: 800; font-size: 40px; line-height: .94; text-transform: uppercase; }

.ticket { display: grid; grid-template-columns: 1fr auto; border-radius: var(--r); background: var(--g1); color: var(--ink); text-decoration: none; position: relative; overflow: hidden; transition: background .2s, color .2s; }
.ticket:hover { background: var(--ink); color: #fff; }
.ticket__main { padding: 22px 20px; display: grid; gap: 8px; font-size: 14.5px; }
.ticket__main .d3 { color: inherit; }
.ticket__main .mono { color: inherit; opacity: .6; }
.ticket__stub { padding: 20px 18px; align-self: end; font-size: 12.5px; opacity: .6; white-space: nowrap; }
.ticket--ink { background: var(--ink); color: #fff; }
.ticket--ink:hover { background: var(--ember); }
.ticket--paper { background: #fff; box-shadow: inset 0 0 0 1px var(--g2); }
.sec--band .ticket { background: #fff; }
.sec--band .ticket--ink { background: var(--ink); }
.sec--band .ticket:hover { background: var(--ink); color: #fff; }

/* ---------- статья ---------- */
.prose { font-size: 17px; line-height: 1.65; max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 8vw, 46px); line-height: .95; text-transform: uppercase; margin-top: 1.7em; }
.prose h3 { font: 600 20px/1.25 var(--f-text); margin-top: 1.6em; }
.prose ul, .prose ol { display: grid; gap: .5em; padding-left: 0; }
.prose ul > li { padding-left: 20px; position: relative; }
.prose ul > li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 8px; height: 1px; background: var(--ink); }
.prose ol { counter-reset: ol; }
.prose ol > li { padding-left: 34px; position: relative; counter-increment: ol; }
.prose ol > li::before { content: counter(ol, decimal-leading-zero); position: absolute; left: 0; top: .28em; font: 500 12px var(--f-mono); color: var(--ink-3); }
.prose strong { font-weight: 600; }
.prose a { color: var(--ink); text-decoration-color: var(--ember); text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--ember-d); }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 18px; border-left: 2px solid var(--ink); font-size: 21px; line-height: 1.4; font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; border-radius: var(--r-s); box-shadow: inset 0 0 0 1px var(--g2); }
.prose th { font-size: 12px; font-weight: 500; text-align: left; color: var(--ink-3); padding: 12px 14px; white-space: nowrap; background: var(--g1); }
.prose td { padding: 12px 14px; border-top: var(--line); vertical-align: top; }
.prose figure { margin-block: 1.8em; border-radius: var(--r); overflow: hidden; background: var(--g1); }
.prose figcaption { padding: 10px 16px 14px; font-size: 12.5px; color: var(--ink-3); }
.art-head { padding-block: 6px 26px; }
.art-head .d2 { font-size: clamp(46px, 12vw, 96px); }
.art-head__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.note { border-radius: var(--r-s); background: var(--g1); padding: 16px 18px; position: relative; font-size: 15.5px; border-left: 2px solid var(--ember); }
.note b:first-child { font-size: 12px; font-weight: 600; display: block; margin-bottom: 3px; color: var(--ember-d); }
.toc { border-radius: var(--r-s); background: var(--g1); }
.toc summary { padding: 14px 18px; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: '+'; font-weight: 400; }
.toc[open] summary::after { content: '–'; }
.toc ol { padding: 0 18px 16px; counter-reset: t; display: grid; gap: 7px; font-size: 14.5px; }
.toc li { counter-increment: t; padding-left: 30px; position: relative; }
.toc li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 0; font: 400 11px var(--f-mono); color: var(--ink-3); top: 4px; }
.toc a { text-decoration: none; }

/* ---------- тест ---------- */
.quiz { border-radius: var(--r); background: var(--g1); overflow: hidden; font-size: 16px; line-height: 1.5; }
.sec--band .quiz { background: #fff; }
.quiz__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 20px 10px; font-size: 12.5px; color: var(--ink-3); }
.quiz__prog { height: 2px; background: var(--g2); margin-inline: 20px; }
.quiz__prog i { display: block; height: 100%; background: var(--ink); width: 0; transition: width .3s; }
.quiz__body { padding: 22px 20px 18px; }
.quiz__q { font-family: var(--f-display); font-weight: 800; font-size: 38px; line-height: .95; text-transform: uppercase; margin-top: 0 !important; }
.quiz__hint { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.quiz__answers { display: grid; gap: 8px; margin-top: 18px; }
.ans { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; text-align: left; border: 0; border-radius: 16px; background: #fff; padding: 14px 16px; font-size: 15.5px; line-height: 1.3; width: 100%; box-shadow: inset 0 0 0 1px var(--g2); transition: box-shadow .15s, background .15s; }
.sec--band .ans { background: var(--g1); box-shadow: none; }
.ans::before { content: attr(data-k); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; background: var(--g1); }
.ans:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.ans.is-on { box-shadow: inset 0 0 0 2px var(--ink); }
.ans.is-on::before { background: var(--ink); color: #fff; }
.quiz__foot { display: flex; justify-content: space-between; gap: 10px; padding: 0 20px 20px; }
.quiz__result { padding: 22px 20px; display: grid; gap: 14px; }

/* ---------- FAQ ---------- */
.faq { border-bottom: var(--line); }
.faq details { border-top: var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-weight: 600; font-size: 16.5px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 400 18px/1 var(--f-text); background: var(--g1); transition: transform .2s, background .2s; }
.sec--band .faq summary::after { background: #fff; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq__a { padding: 0 0 20px; color: var(--ink-2); font-size: 15.5px; max-width: 66ch; }
.faq__a > * + * { margin-top: .7em; }
.sec--soot .faq, .sec--soot .faq details { border-color: rgba(255, 255, 255, .16); }
.sec--soot .faq summary::after { background: rgba(255, 255, 255, .1); color: #fff; }
.sec--soot .faq details[open] summary::after { background: #fff; color: var(--ink); }
.sec--soot .faq__a { color: #A9A9A4; }

/* ---------- формы, шторка ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.input { width: 100%; height: 54px; border: 0; box-shadow: inset 0 0 0 1px var(--g2); background: #fff; padding: 0 16px; font: 500 16.5px var(--f-text); color: var(--ink); border-radius: 14px; -webkit-appearance: none; appearance: none; }
.input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--ink); }
textarea.input { height: auto; padding-block: 14px; min-height: 100px; resize: vertical; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230C0C0D' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; padding-right: 40px; }
.form { display: grid; gap: 14px; }
.form__legal { font-size: 12px; color: var(--ink-3); line-height: 1.45; }
.sheet { position: fixed; inset: 0; z-index: 90; display: grid; align-items: end; background: rgba(12, 12, 13, .45); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.sheet.is-open { opacity: 1; visibility: visible; }
.sheet__box { background: #fff; border-radius: 26px 26px 0 0; padding: 12px var(--gut) calc(24px + env(safe-area-inset-bottom, 0px)); max-height: 92vh; overflow: auto; transform: translateY(30px); transition: transform .28s cubic-bezier(.2, .7, .2, 1); position: relative; }
.sheet.is-open .sheet__box { transform: none; }
.sheet__grip { width: 40px; height: 4px; border-radius: 4px; background: var(--g2); margin: 0 auto 18px; }
.sheet__x { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--g1); font: 400 20px/1 var(--f-text); }

/* ---------- гео ---------- */
.geo-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.geo-list a { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-top: var(--line); text-decoration: none; font-size: 15px; }
.geo-list a span { font-size: 12px; color: var(--ink-3); }

/* ---------- сравнение ---------- */
.vs { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px var(--g2); font-size: 15px; line-height: 1.45; }
.vs > div { padding: 13px 16px; border-top: var(--line); }
.vs > div:nth-child(odd) { border-right: var(--line); }
.vs > .vs__h { border-top: 0; font-family: var(--f-display); font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; }
.vs b { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); margin-bottom: 2px; }

/* ---------- инфографика ---------- */
.ig { display: block; width: 100%; height: auto; background: var(--g1); max-width: 560px; margin-inline: auto; }
.ig text { font-family: var(--f-mono); font-size: 12px; fill: var(--ink); }
.ig .t-d { font-family: var(--f-display); font-weight: 800; font-size: 30px; text-transform: uppercase; }
.ig .t-d2 { font-family: var(--f-display); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.ig .t-h { font-family: var(--f-text); font-style: italic; font-size: 13px; font-weight: 500; fill: var(--ember-d); }
.ig .t-s { font-size: 11px; fill: var(--ink-2); }
.ig .t-e { fill: var(--ember-d); font-weight: 700; }
.ig .t-w { fill: #fff; }
.ig .ln { stroke: var(--ink); stroke-width: 1.25; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ig .ln-e { stroke: var(--ember); stroke-width: 1.25; fill: none; stroke-linecap: round; }
.ig .ln-h { stroke: var(--ink); stroke-width: 1; fill: none; opacity: .25; }
.ig .dash { stroke-dasharray: 4 4; }
.ig .f-ink { fill: var(--ink); } .ig .f-ember { fill: var(--ember); } .ig .f-pine { fill: var(--pine); } .ig .f-paper { fill: #fff; } .ig .f-p2 { fill: #E9E9E6; } .ig .f-moss { fill: var(--moss); } .ig .f-steel { fill: #9AA0A6; } .ig .f-wool { fill: #E7CD7F; } .ig .f-none { fill: none; }
.prose figure .ig { max-width: none; }

/* ссылки-компоненты внутри .prose */
.prose a.card, .prose a.ticket, .prose a.ticket--paper, .prose a.btn--ghost { color: var(--ink); text-decoration: none; }
.prose a.btn, .prose a.ticket--ink, .prose a.btn--ember, .prose a.ticket:hover, .prose a.btn--ghost:hover { color: #fff; text-decoration: none; }
.prose .quiz h3, .prose .card h3, .prose .ticket span { margin-top: 0; }

/* ---------- подвал ---------- */
.ftr { background: var(--soot); color: #A9A9A4; padding: 56px 0 30px; font-size: 14.5px; }
.ftr .logo { color: #fff; font-size: 40px; }
.ftr__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; margin-top: 34px; }
.ftr h4 { font: 500 12px var(--f-text); color: #6F6F6B; margin-bottom: 10px; }
.ftr a { text-decoration: none; display: block; padding: 4px 0; }
.ftr a:hover { color: #fff; }
.ftr__tel { font-family: var(--f-display); font-weight: 800; font-size: 46px; color: #fff; line-height: 1; }
.ftr__legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; color: #6F6F6B; display: grid; gap: 4px; }

/* ---------- появление ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .rv.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .ticker__row { animation: none; } html { scroll-behavior: auto; } }

/* ==========================================================================  Планшет  */
@media (min-width: 760px) {
  :root { --gut: 32px; --hdr: 68px; }
  .sec { padding-block: 104px; }
  .sec-head { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 44px; }
  .sec-head__n, .sec-head p { grid-column: 1 / -1; }
  .sec-head__more { grid-row: 2; grid-column: 2; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 44px 20px; }
  .rail > * { flex-basis: 38%; }
  .hero__cta { grid-template-columns: auto auto; justify-content: center; }
  .hero__facts { grid-template-columns: repeat(4, 1fr); }
  .hero__title .d1 { font-size: 24vw; }
  .hero__stage { margin-top: -12vw; }
  .hero__stage .cfg-trims { max-width: 520px; margin-inline: auto; }
  .trims { grid-template-columns: repeat(3, 1fr); }
  .trim { padding: 28px 26px; }
  .gal figure { flex-basis: 46%; }
  .ftr__cols { grid-template-columns: repeat(4, 1fr); }
  .geo-list { grid-template-columns: repeat(3, 1fr); }
  .art { grid-template-columns: 150px 1fr; }
  .sheet { align-items: center; justify-items: center; }
  .sheet__box { width: min(500px, 92vw); border-radius: 26px; padding: 32px; }
  .sheet__grip { display: none; }
  .hdr__tel small { display: block; font-weight: 400; font-size: 11px; color: var(--ink-3); }
  .cfg__stage { margin-inline: 0; border-radius: var(--r); box-shadow: none; }
  .cfg__stage .stage__svg { max-height: 52vh; }
}

/* ==========================================================================  Десктоп  */
@media (min-width: 1080px) {
  body, body.has-buybar { padding-bottom: 0; }
  .tabbar, .hdr__burger { display: none; }
  .hdr__nav { display: flex; gap: 28px; margin-left: 40px; font-size: 14px; font-weight: 500; }
  .hdr__nav a { text-decoration: none; padding: 6px 0; color: var(--ink-2); }
  .hdr__nav a:hover, .hdr__nav a[aria-current] { color: var(--ink); }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 56px 24px; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .rail { overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0; margin: 0; }
  .hero { padding-top: 26px; }
  .hero__title .d1 { font-size: min(17.4vw, 310px); flex-wrap: wrap; white-space: nowrap; }
  .hero__title .d1 .em { font-size: 13px; margin-bottom: 16px; }
  .hero__title .stamp { display: inline-grid; width: 112px; right: 5%; bottom: -150px; }
  .hero__title .stamp b { font-size: 50px; }
  .hero__title .stamp span { font-size: 17px; }
  .hero__stage { margin: -9.4vw auto 0; width: min(1100px, 82%); }
  .hero__stage .stage__svg { aspect-ratio: 1.9; }
  .hero__stage .cfg-trims { margin-top: -14px; position: relative; }
  .hero__lead { margin-top: 18px; }
  .cfg { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(380px, 1fr); gap: 0 48px; align-items: start; }
  .cfg__stage { top: calc(var(--hdr) + 16px); }
  .cfg__stage .stage__svg { max-height: none; }
  .cfg__panel { padding-top: 0; }
  .buybar { position: sticky; inset: auto; bottom: 16px; grid-column: 2; border: 0; border-radius: 22px; margin-top: 22px; padding: 14px 16px 14px 22px; box-shadow: 0 10px 40px rgba(0, 0, 0, .12), 0 0 0 1px var(--g2); }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .two--wide { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
  .arts { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0 56px; }
  .gal figure { flex-basis: 31%; }
  .faq summary { font-size: 18px; }
}


/* ================= v3: живые фото первыми, конструктор ниже, плавающая баня, вид внутри ================= */
.stage { background: radial-gradient(120% 90% at 50% 30%, #fff 0%, #fff 40%, #F4F4F2 100%); }

/* переключатель вида */
.stage__views { position: absolute; left: 12px; top: 12px; z-index: 4; display: none; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px var(--g2), 0 4px 14px -6px rgba(0, 0, 0, .2); }
.stage.has-inside .stage__views { display: inline-flex; }
.stage__views button { border: 0; background: transparent; height: 30px; padding: 0 14px; border-radius: 999px; font: 500 12.5px var(--f-text); color: var(--ink-2); }
.stage__views button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.stage__rooms { position: absolute; left: 12px; bottom: 12px; z-index: 4; display: none; gap: 6px; }
.stage.is-inside .stage__rooms { display: flex; }
.stage.is-inside .stage__meta, .stage.is-inside [data-cfg-tool="dims"] { display: none; }
.stage.is-inside.has-3d::after { content: '↔ осмотритесь'; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }

/* плавающая сцена: при прокрутке опций баня уменьшается и едет вместе с вами */
.cfg__stage .stage__svg { transition: max-height .34s cubic-bezier(.2, .7, .2, 1); margin-inline: auto; }
.cfg__stage { transition: box-shadow .3s; }
.cfg__stage.is-compact { box-shadow: 0 14px 28px -20px rgba(0, 0, 0, .45), 0 1px 0 var(--g2); }
.cfg__stage.is-compact .stage__svg { max-height: min(23vh, 168px); }
.cfg__stage.is-compact .stage__meta, .cfg__stage.is-compact .stage__tools, .cfg__stage.is-compact .stage__rooms, .cfg__stage.is-compact::after { display: none !important; }
.cfg__stage.is-compact .stage__views { left: 8px; top: 8px; transform: scale(.88); transform-origin: left top; }
.sec--cfg { padding-top: 34px; scroll-margin-top: calc(var(--hdr) + 4px); }
.sec--cfg .sec-head { margin-bottom: 18px; }

/* шапка модели и галерея живых фото */
.mhead { display: grid; gap: 16px; padding-block: 4px 18px; }
.mhead .d2 { font-size: clamp(40px, 11.5vw, 88px); }
.mhead .lead { margin-top: 12px; max-width: 56ch; }
.mhead__buy { display: grid; gap: 14px; }
.mhead__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.mhead__price small { font-size: 14px; color: var(--ink-3); }
.mhead__price b { font: 700 34px/1 var(--f-text); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mhead__price span { flex-basis: 100%; font-size: 13.5px; color: var(--ink-3); }
.mhead__cta { display: flex; gap: 8px; flex-wrap: wrap; }
.mgal { position: relative; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
.mgal::-webkit-scrollbar { display: none; }
.mgal figure { flex: 0 0 88%; scroll-snap-align: center; border-radius: var(--r); overflow: hidden; background: var(--g1); position: relative; cursor: zoom-in; }
.mgal img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.mgal figure.is-3d img { object-fit: contain; background: #fff; }
.mgal figure.is-3d { background: #fff; box-shadow: inset 0 0 0 1px var(--g2); }
.mgal figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); border-radius: 999px; font-size: 12px; font-weight: 500; padding: 4px 11px; }
.mgal__more { display: none; }
.mgal__note { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }

/* лайтбокс */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(12, 12, 12, .96); display: none; grid-template-columns: auto 1fr auto; align-items: center; }
.lb.is-open { display: grid; }
.lb figure { grid-column: 2; height: 100dvh; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 54px 0 14px; min-width: 0; }
.lb img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; border-radius: 10px; background: #fff; }
.lb figcaption { color: #bdbdb8; font: 500 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding-top: 12px; }
.lb button { border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; margin: 0 8px; }
.lb button:hover { background: rgba(255, 255, 255, .22); }
.lb__x { position: absolute; right: 6px; top: 8px; z-index: 2; }

/* заставка раздела: своя баня поверх гигантского слова */
.chero { overflow: hidden; }
.chero__stage { position: relative; display: grid; justify-items: center; margin: 6px calc(var(--gut) * -1) 0; }
.chero__word { font: 900 min(calc(175vw / var(--n, 6)), 33vw, 340px)/.8 var(--f-display); text-transform: uppercase; white-space: nowrap; letter-spacing: -.005em; color: var(--ink); }
.chero__stage img { position: relative; width: min(112%, 1040px); max-width: none; aspect-ratio: 1.6; object-fit: contain; margin-top: min(-13vw, -40px); }
.chero__text { padding-top: 0; }

/* мини-конструктор на главной */
.mini { display: grid; gap: 18px; margin-bottom: 26px; }
.mini__stage .stage__svg { aspect-ratio: 1.42; }
.mini__side { display: grid; gap: 14px; align-content: center; }
.mini__sum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini__sum small { display: block; font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.mini__sum b { font: 700 26px/1 var(--f-text); letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero__stage .stage__views { display: none !important; }

@media (min-width: 760px) {
  .mgal figure { flex-basis: 46%; }
  .chero__stage img { margin-top: -9vw; }
}
@media (min-width: 1080px) {
  .mhead { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; padding-bottom: 26px; }
  .mhead__buy { justify-items: end; text-align: right; }
  .mhead__price { justify-content: flex-end; }
  .mgal { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 2.3; overflow: hidden; border-radius: var(--r); margin: 0; padding: 0; }
  .mgal figure { border-radius: 0; min-height: 0; }
  .mgal figure:first-child { grid-row: span 2; }
  .mgal figure:nth-of-type(n+6) { display: none; }
  .mgal figure:hover img { transform: scale(1.03); }
  .mgal img { aspect-ratio: auto; }
  .mgal__more { display: inline-flex; position: absolute; right: 14px; bottom: 14px; z-index: 2; border: 0; height: 36px; padding: 0 16px; align-items: center; border-radius: 999px; background: #fff; font: 600 13px var(--f-text); box-shadow: 0 4px 16px -6px rgba(0, 0, 0, .35); }
  .sec--cfg { padding-top: 56px; }
  .chero__stage { margin-inline: 0; }
  .chero__stage img { width: min(78%, 1040px); margin-top: -8.4vw; }
  .chero__text { max-width: 920px; }
  .mini { grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr); gap: 40px; align-items: center; margin-bottom: 40px; }
  .lb button { width: 52px; height: 52px; margin: 0 18px; }
}

/* 3D-разрез в блоке «Планировка» и в галерее */
.plan3d { margin: 0 0 16px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--g2); overflow: hidden; position: relative; }
.plan3d img { width: 100%; height: auto; aspect-ratio: 1.42; object-fit: contain; display: block; }
.plan3d figcaption { position: absolute; left: 12px; bottom: 10px; font: 500 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.stage__views button { padding: 0 12px; }

/* подсказки адреса (DaData) */
.has-sug { position: relative; }
.sug { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin-top: 4px; background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .16), 0 0 0 1px var(--g2); overflow: hidden; max-height: 280px; overflow-y: auto; }
.sug__i { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 11px 14px; font: 400 14.5px/1.3 var(--f-text); color: var(--ink); }
.sug__i + .sug__i { border-top: 1px solid var(--g1); }
.sug__i:hover, .sug__i.is-on { background: var(--g1); }
[data-geo-delivery] { color: var(--ink-2) !important; }
