/* Ostium — демо-сайт. Цвета с логотипа: чёрный #0B0806, белый, зелёный #77B52F.
   Шрифты: Oswald (узкие заголовки), Golos Text (текст) — оба с казахскими буквами.
   Сначала телефон, затем min-width. Каждый блок помещается в один экран (svh). Анимации — только transform/opacity. */

:root {
  --ink: #0B0806;
  --ink-2: #15110E;
  --ink-3: #221D19;
  --line: rgba(255, 255, 255, .14);
  --line-d: rgba(11, 8, 6, .14);
  --paper: #F3F2EE;
  --white: #fff;
  --green: #77B52F;
  --green-2: #8BC946;
  --green-ink: #3F6E12;
  --muted: #A39C93;
  --muted-d: #5F5953;
  --r: 22px;
  --r-s: 14px;
  --gut: 16px;
  --top-h: 64px;        /* высота шапки с отступом */
  --pad: 48px;          /* вертикальный отступ блока */
  --ease: cubic-bezier(.22, .8, .2, 1);
  --f-d: "Oswald", "Arial Narrow", sans-serif;
  --f-t: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font: 400 16px/1.5 var(--f-t);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* язык: показываем только нужные куски */
html[data-lang="ru"] [data-l="kz"], html[data-lang="kz"] [data-l="ru"] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--green); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }
.d-only { display: none; }
.m-only { display: inline; }

.h-display { font: 700 clamp(34px, 10vw, 104px)/.92 var(--f-d); text-transform: uppercase; letter-spacing: -.005em; overflow-wrap: normal; word-break: normal; hyphens: none; }
@media (max-width: 1023px) { html[data-lang="kz"] .h-display:not(.hero__title):not(.band__big) { font-size: clamp(30px, 8.6vw, 66px); } }
/* выделенные слова: на телефоне сплошной зелёный, на компьютере — толстый контур на тёмном фоне */
.h-display em { font-style: normal; color: var(--green); }
.light .h-display em { color: var(--green-ink); }
.light, .band { --stroke: var(--ink); }
.lead { font-size: 16px; color: var(--muted); max-width: 640px; margin-top: 10px; }
.light .lead { color: var(--muted-d); }
.light { background: var(--paper); color: var(--ink); }
.sec-head { margin-bottom: 18px; }

/* слова заголовков выезжают из-под маски */
.sw-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.sw-word > i { display: inline-block; font-style: inherit; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.is-in .sw-word > i, .sw-done .sw-word > i { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- логотип ---------- */
.logo { display: inline-flex; align-items: center; position: relative; padding-right: 14px; line-height: 1; }
.logo__word { font: 700 23px/1 var(--f-t); letter-spacing: -.03em; color: #fff; }
.logo__br { position: absolute; right: 0; top: -6px; bottom: -6px; width: 11px; border: 3px solid var(--green); border-left: 0; }
.logo--big .logo__word { font-size: 44px; }
.logo--big { padding-right: 26px; }
.logo--big .logo__br { width: 20px; border-width: 5px; top: -11px; bottom: -11px; }

/* ---------- кнопка-«ручка» ---------- */
.hbtn {
  --bg: var(--green); --fg: var(--ink); --knob: var(--ink); --kfg: var(--green);
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 22px 6px 6px;
  background: var(--bg); color: var(--fg); border: 0; border-radius: 999px; text-decoration: none;
  font: 600 15px/1.15 var(--f-t); letter-spacing: .01em; position: relative; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease), opacity .3s;
  -webkit-tap-highlight-color: transparent;
}
.hbtn::after { content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1; transform: translateX(-101%); transition: transform .55s var(--ease); }
.hbtn__knob { width: 44px; height: 44px; border-radius: 50%; background: var(--knob); display: grid; place-items: center; flex: none; transition: transform .55s var(--ease); }
.hbtn__knob svg { width: 24px; height: 24px; fill: none; stroke: var(--kfg); stroke-width: 2.4; stroke-linecap: round; transform-origin: 6px 12px; transition: transform .45s var(--ease); }
.hbtn__knob svg circle { fill: var(--kfg); stroke: none; }
.hbtn__t { transition: color .4s var(--ease); }
@media (hover: hover) {
  .hbtn:not(:disabled):hover::after { transform: none; }
  .hbtn:not(:disabled):hover .hbtn__t { color: var(--white); }
  .hbtn:not(:disabled):hover .hbtn__knob { background: var(--green); transform: rotate(360deg); }
  .hbtn:not(:disabled):hover .hbtn__knob svg { stroke: var(--ink); }
  .hbtn:not(:disabled):hover .hbtn__knob svg circle { fill: var(--ink); }
}
.hbtn:active { transform: scale(.97); }
.hbtn:active .hbtn__knob svg { transform: rotate(32deg); }
.hbtn:disabled { opacity: .35; cursor: default; }
.hbtn--sm { min-height: 44px; padding: 4px 14px 4px 4px; font-size: 14px; gap: 8px; }
.hbtn--sm .hbtn__knob { width: 36px; height: 36px; }
.hbtn--sm .hbtn__knob svg { width: 20px; height: 20px; }
.hbtn--full { width: 100%; justify-content: flex-start; }
.hbtn--light { --bg: var(--white); }
.hbtn--dark { --bg: var(--ink); --fg: var(--white); --knob: var(--green); --kfg: var(--ink); }
.hbtn--dark::after { background: var(--white); }
@media (hover: hover) { .hbtn--dark:hover .hbtn__t { color: var(--ink); } }
.hbtn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.hbtn--ghost::after { background: var(--green); }
@media (hover: hover) { .hbtn--ghost:hover .hbtn__t { color: var(--ink); } .hbtn--ghost:hover .hbtn__knob { background: var(--ink); } .hbtn--ghost:hover .hbtn__knob svg { stroke: var(--green); } .hbtn--ghost:hover .hbtn__knob svg circle { fill: var(--green); } }
.hbtn--wa .wa-ico, .wa-ico { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.hbtn--wa .hbtn__knob svg { transform: none !important; stroke: var(--green); }
.hbtn--wa .hbtn__knob svg path:last-child { fill: var(--green); stroke: none; }

.link-btn { background: none; border: 0; padding: 10px 0; min-height: 44px; color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--green); font-size: 15px; text-align: left; }
.chip-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: inherit; text-decoration: none; font-size: 14px; font-weight: 500; transition: border-color .3s, background-color .3s; }
.chip-btn:hover { border-color: var(--green); }
.light .chip-btn { border-color: var(--line-d); }
.want { min-height: 44px; min-width: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--green); color: var(--ink); font-weight: 600; font-size: 14px; transition: transform .3s var(--ease); }
.want:active { transform: scale(.96); }
.want--big { min-height: 52px; padding: 0 26px; font-size: 15px; }

/* ---------- стрелки каруселей и слайдера ---------- */
.arr { position: absolute; z-index: 3; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(11, 8, 6, .62); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .3s, background-color .3s, transform .3s var(--ease); }
.arr svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.arr--prev { left: 8px; }
.arr--next { right: 8px; }
.arr:hover { background: var(--green); color: var(--ink); border-color: var(--green); }
.arr:active { transform: scale(.94); }
.arr:disabled { opacity: 0; pointer-events: none; }
.light .arr { background: rgba(255, 255, 255, .9); color: var(--ink); border-color: var(--line-d); }
.light .arr:hover { background: var(--ink); color: #fff; }
.car { position: relative; }
.car__row { scrollbar-width: none; overscroll-behavior-x: contain; }
.car__row::-webkit-scrollbar { display: none; }

/* ---------- заставка (при каждой загрузке) ---------- */
.intro { position: fixed; inset: 0; z-index: 90; perspective: 1400px; cursor: pointer; animation: introFailsafe 0s 3s forwards; }
@keyframes introFailsafe { to { visibility: hidden; pointer-events: none; } }
.intro__leaf { position: absolute; top: 0; bottom: 0; width: 50.2%; background: var(--ink); transition: transform .8s cubic-bezier(.7, 0, .2, 1); will-change: transform; }
.intro__leaf--l { left: 0; transform-origin: left center; }
.intro__leaf--r { right: 0; transform-origin: right center; }
.intro__core { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transition: opacity .3s; }
.intro__gap { width: 2px; height: 34vh; background: var(--green); transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease); }
.intro__num { font: 600 15px/1 var(--f-d); letter-spacing: .12em; color: var(--muted); }
.intro__num b { color: #fff; font-size: 22px; }
.intro.is-run .intro__gap { transform: scaleY(1); }
.intro.is-open { pointer-events: none; }
.intro.is-open .intro__core { opacity: 0; }
.intro.is-open .intro__leaf--l { transform: translateX(-100%) rotateY(18deg); }
.intro.is-open .intro__leaf--r { transform: translateX(100%) rotateY(-18deg); }
.intro.is-gone { display: none; }
html.no-intro .intro { display: none; }

/* ---------- шапка ---------- */
/* телефон: логотип · «Замер» · меню; язык — внутри меню */
.top .lang { display: none; }
.menu .lang--menu { display: grid; margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; }
.lang--menu button { height: 48px; font: 600 15px/1 var(--f-t); letter-spacing: 0; color: var(--muted); }
.top { position: fixed; z-index: 50; top: 8px; left: 8px; right: 8px; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 5px 0 12px; min-width: 0; border-radius: 18px; background: rgba(21, 17, 14, .92); border: 1px solid var(--line); transition: transform .5s var(--ease); }
.top__logo { text-decoration: none; display: flex; align-items: center; gap: 12px; min-height: 44px; }
.top__logo .logo__word { font-size: 21px; }
.top__nav { display: none; }
.top__logo { flex: 0 1 auto; min-width: 0; }
.top__right { display: flex; align-items: center; gap: 6px; flex: none; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 1px; }
.lang button { min-width: 40px; height: 44px; border: 0; background: none; border-radius: 999px; font: 600 12px/1 var(--f-t); letter-spacing: .06em; color: var(--muted); padding: 0 6px; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.top .hbtn--sm { padding: 0 14px; gap: 0; }
.top .hbtn--sm .hbtn__knob { display: none; }
.burger { width: 44px; height: 44px; border: 0; background: var(--ink-3); border-radius: 12px; display: grid; place-content: center; gap: 6px; }
.burger span { width: 18px; height: 2px; background: #fff; transition: transform .35s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); padding: 84px var(--gut) 100px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__nav a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 700 clamp(24px, 7vw, 30px)/1.05 var(--f-d); text-transform: uppercase; opacity: 0; transform: translateY(16px); animation: menuIn .5s var(--ease) forwards; }
.menu__nav a:nth-child(2) { animation-delay: .04s } .menu__nav a:nth-child(3) { animation-delay: .08s } .menu__nav a:nth-child(4) { animation-delay: .12s } .menu__nav a:nth-child(5) { animation-delay: .16s } .menu__nav a:nth-child(6) { animation-delay: .2s } .menu__nav a:nth-child(7) { animation-delay: .24s } .menu__nav a:nth-child(8) { animation-delay: .28s } .menu__nav a:nth-child(9) { animation-delay: .32s }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.menu__info { color: var(--muted); margin-top: 20px; }
.menu__info a { color: #fff; font-weight: 600; font-size: 20px; text-decoration: none; }

/* ---------- 1. первый экран: слайдер ---------- */
.hero { padding: 72px 8px 0; }
.hero__frame { position: relative; border-radius: var(--r); overflow: hidden; height: calc(100svh - 80px); min-height: 520px; background: var(--ink-2); display: flex; flex-direction: column; justify-content: flex-end; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.06); transition: transform 7s linear; }
.hero__slide.is-on img { transform: scale(1); }
.hero__slides::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11, 8, 6, .1) 0%, rgba(11, 8, 6, 0) 18%, rgba(11, 8, 6, .5) 42%, rgba(11, 8, 6, .94) 68%, var(--ink) 100%); }
.hero__media .arr { top: 30%; }
.hero__dots { position: absolute; z-index: 3; left: 0; right: 0; top: calc(30% + 40px); display: flex; justify-content: center; gap: 6px; }
.hero__dots i { width: 22px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); transition: background-color .4s, width .4s var(--ease); }
.hero__dots i.is-on { background: var(--green); width: 34px; }
.hero__text { position: relative; z-index: 2; padding: 0 16px 84px; pointer-events: none; }
.hero__text a, .hero__text button { pointer-events: auto; }
.hero__cta .link-btn { display: none; }
.hero__title { font-size: clamp(50px, 15vw, 168px); margin-bottom: 10px; }
html[data-lang="kz"] .hero__title { font-size: clamp(42px, 12.4vw, 140px); }
.hero__sub { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .86); max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin-top: 14px; }
.hero__cta .link-btn { color: rgba(255, 255, 255, .86); font-size: 14px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.facts li { display: flex; align-items: baseline; gap: 5px; font-size: 13px; color: var(--muted); line-height: 1.25; }
.facts li::before { content: ""; width: 7px; height: 7px; flex: none; background: var(--green); transform: translateY(-1px); }
.facts b { color: #fff; font-weight: 600; }
.rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; text-decoration: none; font-size: 13px; color: var(--muted); min-height: 44px; }
.rating__n { font: 700 18px/1 var(--f-d); color: #fff; }
.rating__stars { color: var(--green); letter-spacing: 1px; }

/* бегущая строка */
.ticker { overflow: hidden; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ticker__row { display: flex; width: max-content; animation: tick 38s linear infinite; font: 600 15px/1 var(--f-d); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ticker__row span { padding-right: .4em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- 2. каталог ---------- */
.shelf { padding: 64px 0 28px; position: relative; }
.shelf__head { margin-bottom: 14px; }
.shelf__lead { color: var(--muted); margin-top: 8px; max-width: 560px; font-size: 15px; }
.shelf__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px calc((100vw - var(--cw)) / 2) 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; --cw: min(76vw, 46svh * .75); }
.shelf__track::-webkit-scrollbar { display: none; }
.dcard { flex: 0 0 var(--cw); scroll-snap-align: center; transform-origin: 50% 70%; will-change: transform; display: flex; flex-direction: column; }
.dcard__stage { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--ink-2); container-type: inline-size; cursor: zoom-in; }
.dcard__stage img { width: 100%; height: 100%; object-fit: cover; }
.dcard__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11, 8, 6, .85) 100%); }
.dcard__ring { position: absolute; z-index: 1; left: 8%; right: 8%; bottom: 7%; height: 15%; border: 1.5px solid var(--green); border-radius: 50%; opacity: var(--lit, 0); transform: scale(calc(.8 + var(--lit, 0) * .2)); }
.dcard__name { position: absolute; z-index: 2; left: 16px; right: 12px; bottom: 14px; font: 700 clamp(28px, 15cqi, 80px)/.88 var(--f-d); text-transform: uppercase; }
.dcard__txt { color: var(--muted); font-size: 14px; line-height: 1.4; margin: 10px 4px 10px; min-height: 2.8em; }
.dcard__btns { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 2px; }
.dcard__btns .chip-btn, .dcard__btns .want { min-height: 48px; }
.shelf__bar { margin-top: 4px; }
.shelf__progress { display: block; height: 2px; background: var(--line); overflow: hidden; }
.shelf__progress i { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(var(--p, .16)); }

/* ---------- 3. одна цена за любую высоту ---------- */
.opener { height: 330vh; position: relative; background: var(--ink); }
.opener__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 70px var(--gut) 92px; overflow: hidden; }
.opener__room { position: relative; flex: none; height: min(calc(100svh - 400px), calc((100vw - 32px) / .6325)); aspect-ratio: .6325; border-radius: 6px; overflow: hidden; transform-origin: var(--ox, 50%) var(--oy, 51%); transform: scale(var(--zoom, 1)); will-change: transform; background: var(--ink-2); }
.opener__room > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* дверь растёт: поверх «низкой» двери с фальшпанелью открываем «высокую» снизу вверх */
.opener__b { clip-path: inset(var(--top, 28.63%) 30.96% 11.54% 31.03%); }
.opener__edge { position: absolute; left: 31.03%; right: 30.96%; top: var(--top, 28.63%); height: 3px; margin-top: -1px; background: rgba(20, 12, 6, .78); box-shadow: 0 1px 2px rgba(0, 0, 0, .35); opacity: var(--edge, 1); }
.opener__dim { position: absolute; left: 72.5%; top: var(--top, 28.63%); bottom: 11.54%; width: 1px; }
.opener__dim i { position: absolute; inset: 0; background: rgba(11, 8, 6, .55); }
.opener__dim i::before, .opener__dim i::after { content: ""; position: absolute; left: -5px; width: 11px; height: 1px; background: rgba(11, 8, 6, .55); }
.opener__dim i::before { top: 0; } .opener__dim i::after { bottom: 0; }
.opener__dim b { position: absolute; left: 8px; top: -4px; font: 700 clamp(15px, 2.4vh, 24px)/1 var(--f-d); color: var(--ink); white-space: nowrap; }
.opener__dim small { position: absolute; left: 8px; top: calc(clamp(15px, 2.4vh, 24px) - 2px); font: 600 10px/1 var(--f-t); letter-spacing: .08em; color: rgba(11, 8, 6, .6); }
/* дверь открывается: за полотном — светлый следующий блок */
.opener__hole { position: absolute; left: 34.98%; right: 35.05%; top: 12.67%; bottom: 11.83%; background: linear-gradient(180deg, #FBFAF6, var(--paper)); perspective: 900px; opacity: var(--hole, 0); }
.opener__leaf { position: absolute; inset: 0; transform-origin: 0 50%; transform: rotateY(calc(var(--open, 0) * -100deg)); will-change: transform; backface-visibility: hidden; }
.opener__leaf img { width: 100%; height: 100%; object-fit: cover; }
.opener__shade { position: absolute; inset: 0; background: #000; opacity: calc(var(--open, 0) * .45); }
.opener__text { width: 100%; max-width: 560px; text-align: center; opacity: var(--tout, 1); transform: translateY(calc((1 - var(--tout, 1)) * -20px)); }
.opener__text .h-display { font-size: clamp(30px, 8.4vw, 84px); }
.opener__p, .opener__text .hbtn { opacity: var(--txt, 0); transform: translateY(calc((1 - var(--txt, 0)) * 18px)); }
.opener__p { color: var(--muted); margin: 8px auto 12px; font-size: 14.5px; line-height: 1.45; }
.opener__flood { position: absolute; inset: 0; z-index: 5; background: var(--paper); opacity: var(--flood, 0); pointer-events: none; }

/* ---------- 4. цвета ---------- */
.colors { padding: var(--pad) 0; }
.swatches { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px var(--gut) 4px; scrollbar-width: none; }
.swatches::-webkit-scrollbar { display: none; }
.sw { flex: 0 0 min(40vw, 30svh * .7); scroll-snap-align: start; border: 0; padding: 0; background: none; text-align: left; color: var(--ink); position: relative; }
.sw__tex { display: block; aspect-ratio: 3 / 4.2; border-radius: var(--r-s); background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(11, 8, 6, .08), 0 10px 24px -14px rgba(11, 8, 6, .5); transition: transform .5s var(--ease); }
.sw:hover .sw__tex { transform: translateY(-5px); }
.sw__name { display: block; margin-top: 10px; font: 600 16px/1.15 var(--f-d); text-transform: uppercase; }
.sw__name::after { content: " →"; color: var(--green-ink); }

/* ---------- 5. квиз «Собери сам» ---------- */
.calc { padding: var(--pad) 0; background: var(--ink-2); }
.calc__grid { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 16px 12px; align-items: start; }
.calc__head { grid-column: 1 / -1; }
.calc__lead { color: var(--muted); font-size: 15px; margin-top: 8px; }
.pv { position: sticky; top: 76px; }
.pv__room { position: relative; aspect-ratio: .6325; border-radius: var(--r-s); overflow: hidden; background: var(--ink-3); }
.pv__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv__door { position: absolute; left: 30.63%; top: 10.58%; width: 38.80%; height: 77.875%; transform-origin: 50% 100%; transform: scaleY(var(--hs, .7527)); transition: transform .8s var(--ease); }
.pv__room[data-h="ceil"] .pv__door, .pv__room[data-type="ceil"] .pv__door { --hs: 1; }
.pv__img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s; }
.pv__tint { position: absolute; inset: 0; background: var(--tex, none) center / cover; mix-blend-mode: multiply; -webkit-mask: var(--mask) center / 100% 100% no-repeat; mask: var(--mask) center / 100% 100% no-repeat; opacity: var(--tint, 0); transition: opacity .4s; }
.pv__h { position: absolute; right: 6px; top: 8px; padding: 4px 8px; border-radius: 8px; background: rgba(11, 8, 6, .72); font: 600 11px/1 var(--f-d); letter-spacing: .06em; color: var(--muted); }
.pv__h b { color: #fff; font-size: 14px; }
.pv__qty { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: 8px; background: rgba(11, 8, 6, .72); font: 700 18px/1 var(--f-d); color: var(--green); }

.quiz { min-width: 0; background: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 10px 12px; }
.quiz__top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; min-height: 36px; }
.quiz__step { font: 600 13px var(--f-d); letter-spacing: .08em; color: var(--muted); }
.quiz__step b { color: #fff; font-size: 18px; }
.quiz__bar { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.quiz__bar i { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(.2); transition: transform .5s var(--ease); }
.quiz__back { border: 0; background: none; color: var(--muted); min-height: 44px; font-size: 13px; padding: 0 4px; }
.q { border: 0; padding: 0; margin: 0; min-width: 0; animation: qIn .45s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateX(20px); } }
.q__t { font: 700 20px/1.05 var(--f-d); text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.q__grid--types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.opt { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / .86; display: flex; align-items: flex-end; padding: 7px; font-weight: 600; font-size: 12.5px; line-height: 1.15; cursor: pointer; isolation: isolate; }
.opt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.opt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(11, 8, 6, .88)); }
.opt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--green); opacity: 0; transition: opacity .3s; }
.opt:has(input:checked)::after { opacity: 1; }
.opt:has(input:checked) img { transform: scale(1.06); }
.opt input, .row input, .chip input, .col input, .seg__o input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:focus-visible), .row:has(input:focus-visible), .chip:has(input:focus-visible), .col:has(input:focus-visible), .seg__o:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.q__list { display: grid; gap: 6px; }
.row { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 10px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .3s, background-color .3s; }
.row::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--muted); flex: none; transition: border .25s; }
.row:has(input:checked) { border-color: var(--green); background: rgba(119, 181, 47, .08); }
.row:has(input:checked)::before { border: 6px solid var(--green); }
.row b { display: block; font-weight: 600; font-size: 14px; }
.row small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; }
.q__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.chip span { display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 12px; border: 1.5px solid var(--line); font: 600 22px var(--f-d); cursor: pointer; transition: border-color .3s, background-color .3s, color .3s; }
.chip:has(input:checked) span { background: var(--green); border-color: var(--green); color: var(--ink); }
.q__grid--colors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 6px; }
.col { display: flex; flex-direction: column; gap: 4px; font-size: 12px; line-height: 1.2; font-weight: 500; cursor: pointer; }
.col__tex { height: 46px; border-radius: 10px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.col:has(input:checked) .col__tex { box-shadow: inset 0 0 0 3px var(--green); }
.col__tex--any { display: grid; place-items: center; font: 700 16px var(--f-d); background: var(--ink-3); }
.field { display: block; margin-bottom: 10px; }
.field__l { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; }
.field input { width: 100%; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--ink-2); font-size: 16px; color: #fff; transition: border-color .3s; }
.field input::placeholder { color: #6f6861; }
.field input:focus { border-color: var(--green); outline: 0; }
.field input[aria-invalid="true"] { border-color: #E0613A; }
/* WhatsApp / Позвонить — два равных переключателя */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); }
.seg__o { position: relative; display: block; cursor: pointer; }
.seg__o > span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 6px; border-radius: 10px; font-weight: 600; font-size: 13.5px; text-align: center; line-height: 1.15; color: var(--muted); transition: background-color .3s, color .3s; }
.seg__o:has(input:checked) > span { background: var(--green); color: var(--ink); }
.q__err { color: #F08A68; font-size: 13px; margin: -2px 0 8px; }
.q__msg { white-space: pre-wrap; font: 13px/1.45 var(--f-t); background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin: 0 0 10px; color: rgba(255, 255, 255, .85); max-height: 30svh; overflow: auto; }
.q--done .q__t { color: var(--green); }
.quiz__nav { margin-top: 10px; }
.quiz__nav [hidden] { display: none; }
.quiz .hbtn--full { min-height: 52px; padding: 4px 16px 4px 4px; font-size: 14px; }
.quiz .hbtn--full .hbtn__knob { width: 42px; height: 42px; }

/* ---------- 6. ЖК ---------- */
.objects { padding: var(--pad) 0; }
.reel-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 4px; }
.reel { flex: none; height: min(64vw * 16 / 9, 50svh); aspect-ratio: 9 / 16; scroll-snap-align: center; position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink-2); cursor: zoom-in; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11, 8, 6, .92)); pointer-events: none; }
.reel__cap { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 8px; }
.reel__cap h3 { font: 700 24px/1 var(--f-d); text-transform: uppercase; }
.reel__cap p { font-size: 13px; color: rgba(255, 255, 255, .82); margin: 5px 0 0; line-height: 1.3; }
.reel__cap a { font-size: 13px; color: var(--green); text-decoration: none; display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; padding-right: 8px; }
.objects__foot { margin-top: 16px; }

/* ---------- 7. как работаем: карусель ---------- */
.process { padding: var(--pad) 0; }
.steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 4px; counter-reset: s; }
.step { flex: 0 0 min(82vw, 420px); scroll-snap-align: center; background: var(--ink); color: #fff; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
/* фото этапа крупно: на телефоне почти квадрат, видно, что происходит; карточка целиком в экране */
.step__img { aspect-ratio: 1 / 1.02; max-height: calc(100svh - 64px - 82px - 300px); overflow: hidden; cursor: zoom-in; }
.step__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.step__body { padding: 14px 16px 18px; }
.step__n { font: 700 13px var(--f-d); color: var(--green); letter-spacing: .1em; }
.step__body h3 { font: 700 24px/1 var(--f-d); text-transform: uppercase; margin: 6px 0 8px; }
.step__body p { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.process .arr { top: 40%; }

/* рассрочка */
.band { background: var(--green); color: var(--ink); padding: 44px 0; }
.band__in { display: grid; gap: 14px; }
.band__big { font-size: clamp(44px, 15vw, 200px); line-height: 1; margin-bottom: .05em; }
.band__txt { font-size: 16px; max-width: 520px; }

/* ---------- 8. отзывы ---------- */
.reviews { padding: var(--pad) 0; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; }
.reviews__score { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; min-height: 44px; border: 1px solid var(--line); border-radius: var(--r-s); text-decoration: none; font-size: 14px; color: var(--muted); }
.reviews__score b { font: 700 28px/1 var(--f-d); color: var(--green); }
.rv-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 4px; }
.rv { flex: 0 0 min(84vw, 440px); scroll-snap-align: center; margin: 0; padding: 20px 18px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.rv blockquote { margin: 0; font-size: 15px; line-height: 1.55; }
.rv blockquote::before { content: "“"; display: block; font: 700 54px/.6 var(--f-d); color: var(--green); margin-bottom: 8px; height: 22px; }
.rv figcaption b { display: block; font-weight: 600; }
.rv figcaption span { font-size: 13px; color: var(--muted); }
.reviews .arr { top: 50%; }

/* ---------- 9. вопросы ---------- */
.faq { padding: var(--pad) 0; }
.faq__grid { display: grid; gap: 14px; }
.faq__ask { display: none; }
.faq__list details { border-bottom: 1px solid var(--line-d); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 54px; padding: 8px 0; font: 600 16.5px/1.25 var(--f-t); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--green); font: 400 20px/1 var(--f-t); transition: transform .4s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list p { padding: 0 0 14px; color: var(--muted-d); max-width: 620px; font-size: 15px; line-height: 1.45; }

/* ---------- 10. салоны ---------- */
.contacts { padding: var(--pad) 0; }
.contacts__grid { display: grid; gap: 12px; margin-top: 16px; }
.salons { display: grid; gap: 10px; }
.salons__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); }
.salons__tabs button { min-height: 48px; border: 0; border-radius: 12px; background: none; color: var(--muted); font: 700 clamp(15px, 4.4vw, 20px)/1 var(--f-d); text-transform: uppercase; transition: background-color .3s, color .3s; }
.salons__tabs button[aria-selected="true"] { background: var(--green); color: var(--ink); }
.salon { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 10px 14px 12px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--ink-2); }
.salon[hidden] { display: none; }
.salon__tel { grid-column: 1 / -1; display: inline-flex; min-height: 44px; align-items: center; font-size: 21px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.salon__time { grid-column: 1; color: var(--muted); font-size: 13px; line-height: 1.3; }
.salon .chip-btn { grid-column: 2; }
.salons__wa { display: grid; gap: 2px; }
.salons__ig { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); text-decoration: none; font-size: 14px; }
.map { position: relative; z-index: 0; isolation: isolate; height: min(240px, 30svh); border-radius: var(--r); overflow: hidden; background: var(--ink-3); }
.map > div { position: absolute; inset: 0; }
.map__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.pin { display: grid; place-items: center; }
.pin span { width: 46px; height: 46px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--ink); border: 3px solid var(--green); display: grid; place-items: center; }
.pin span b { transform: rotate(45deg); color: #fff; font: 700 15px var(--f-t); }
.pin.is-on span { background: var(--green); }
.pin.is-on span b { color: var(--ink); }

.final { padding: 64px 0; border-top: 1px solid var(--line); }
.final__in { display: grid; gap: 22px; }
.final .h-display { font-size: clamp(38px, 11vw, 120px); }
.final__btns { display: flex; flex-wrap: wrap; gap: 10px; }

.foot { padding: 32px 0 20px; border-top: 1px solid var(--line); }
.foot__in { display: grid; gap: 10px; }
.foot__in .logo { justify-self: start; }
.foot__slogan { font: 700 22px/1.1 var(--f-d); text-transform: uppercase; margin-top: 6px; }
.foot__small { font-size: 13px; color: var(--muted); }
.foot__by a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: color .2s; }
.foot__by a:hover, .foot__by a:focus-visible { color: var(--paper); text-decoration-color: var(--green); }

/* ---------- нижняя панель ---------- */
.dock { position: fixed; z-index: 40; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); display: flex; gap: 8px; padding: 6px; border-radius: 20px; background: rgba(21, 17, 14, .94); border: 1px solid var(--line); transition: transform .5s var(--ease); }
.dock.is-hidden { transform: translateY(140%); }
.dock__main { flex: 1; min-height: 52px; border: 0; border-radius: 14px; background: var(--green); color: var(--ink); font: 600 16px var(--f-t); display: flex; align-items: center; justify-content: center; gap: 10px; }
.dock__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; display: block; }
.dock__wa { min-width: 60px; min-height: 52px; border-radius: 14px; background: var(--ink-3); display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: var(--green); padding: 0 14px; }
.dock__wa svg { width: 26px; height: 26px; }
.dock__wa svg path:last-child { fill: var(--green); stroke: none; }
.dock__wa span { display: none; color: #fff; font-weight: 600; font-size: 14px; }

/* ---------- короткая форма ---------- */
.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 100%; max-height: 92svh; background: transparent; color: #fff; }
.sheet::backdrop { background: rgba(5, 4, 3, .72); }
.sheet__in { position: relative; background: var(--ink-2); border-radius: 26px 26px 0 0; padding: 24px 18px calc(20px + env(safe-area-inset-bottom)); border-top: 3px solid var(--green); max-height: 92svh; overflow-y: auto; }
.sheet[open] .sheet__in { animation: sheetUp .5s var(--ease); }
@keyframes sheetUp { from { transform: translateY(100%); } }
.sheet__x, .gal__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink); color: #fff; font-size: 16px; }
.sheet__t { font-size: 38px; margin-bottom: 10px; padding-right: 44px; }
.sheet__p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.sheet__ctx { margin: -6px 0 14px; padding: 10px 14px; border-radius: var(--r-s); background: rgba(119, 181, 47, .12); border: 1px solid rgba(119, 181, 47, .4); font-size: 14px; }
.sheet .field { margin-bottom: 12px; }
.sheet .field input { min-height: 52px; }
.sheet .hbtn--full { margin-top: 4px; }

/* ---------- галерея ---------- */
.gal { border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: var(--ink); color: #fff; }
.gal[open] { display: flex; flex-direction: column; animation: galIn .45s var(--ease); }
@keyframes galIn { from { opacity: 0; transform: scale(.98); } }
.gal::backdrop { background: var(--ink); }
.gal__top { position: relative; padding: 14px 70px 10px 16px; display: flex; align-items: baseline; gap: 12px; min-height: 64px; }
.gal__t { font: 700 clamp(20px, 6vw, 30px)/1 var(--f-d); text-transform: uppercase; min-width: 0; }
.gal__n { color: var(--muted); font: 600 14px var(--f-d); letter-spacing: .08em; white-space: nowrap; flex: none; }
.gal__x { top: 10px; }
.gal__row { flex: 1; min-height: 0; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px; scrollbar-width: none; }
.gal__row::-webkit-scrollbar { display: none; }
.gal__row figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.gal__row img, .gal__row video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-s); cursor: default; }
.gal__bottom { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
.gal__arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 20px; }

@media (max-width: 359px) {
  .top { padding-left: 10px; gap: 4px; }
  .top__logo .logo__word { font-size: 19px; }
  .top .hbtn--sm { padding: 0 12px; font-size: 13px; }
  .calc__grid { grid-template-columns: 34% minmax(0, 1fr); }
}

/* ============ планшет ============ */
@media (min-width: 600px) {
  :root { --gut: 28px; --pad: 56px; }
  .shelf__track { --cw: min(46vw, 46svh * .75); }
  .sw { flex-basis: min(26vw, 30svh * .7); }
  .q__grid--types { grid-template-columns: repeat(3, 1fr); }
  .q__grid--colors { grid-template-columns: repeat(3, 1fr); }
  .q__chips { grid-template-columns: repeat(4, 1fr); }
  .quiz { padding: 16px 16px 16px; }
  .q__t { font-size: 26px; }
  .opt { font-size: 13.5px; padding: 9px; }
  .col__tex { height: 60px; }
  .step { flex-basis: min(56vw, 420px, (100svh - 480px) * .8); }
  .step__img { aspect-ratio: 4 / 5; max-height: none; }
  .rv { flex-basis: min(56vw, 440px); }
  .arr--prev { left: 14px; } .arr--next { right: 14px; }
  .sheet { margin: auto; max-width: 520px; }
  .sheet__in { border-radius: 26px; border-top: 0; box-shadow: inset 0 3px 0 var(--green); padding: 32px 30px 28px; }
  .facts { grid-template-columns: repeat(4, auto); justify-content: start; }
  .dock__wa span { display: inline; }
  .map { height: min(320px, 30svh); }
  .opener__room { height: min(calc(100svh - 470px), calc((100vw - 56px) / .6325)); }
}

/* ============ компьютер ============ */
@media (min-width: 1024px) {
  :root { --gut: 40px; --pad: 72px; }
  html { scroll-padding-top: 80px; }
  body { padding-bottom: 0; font-size: 17px; }
  .d-only { display: inline; }
  .m-only { display: none; }
  .dock { display: none; }
  .top { top: 12px; left: 12px; right: 12px; height: 64px; padding: 0 8px 0 22px; }
  .top__nav { display: flex; gap: 4px; }
  .top__nav a { padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 14px; color: rgba(255, 255, 255, .8); transition: color .3s, background-color .3s; }
  .top__nav a:hover { color: #fff; background: var(--ink-3); }
  .burger { display: none; }
  .top .lang { display: flex; }
  .hbtn--sm { min-height: 48px; font-size: 14px; }
  .top .hbtn--sm { padding: 4px 16px 4px 4px; gap: 10px; }
  .top .hbtn--sm .hbtn__knob { display: grid; }
  .h-display { font-size: clamp(48px, min(5.4vw, 9vh), 100px); }
  .h-display em { color: transparent; -webkit-text-stroke: 2px var(--stroke, #fff); }
  .light .h-display em { color: transparent; }
  .arr { width: 56px; height: 56px; margin-top: -28px; }
  .arr--prev { left: 24px; } .arr--next { right: 24px; }

  /* первый экран: текст слева, слайдер справа */
  .hero { padding: 88px 12px 0; }
  .hero__frame { height: calc(100vh - 100px); min-height: 560px; display: grid; grid-template-columns: minmax(0, 1fr) 50%; align-items: end; }
  .hero__media { position: relative; grid-column: 2; grid-row: 1; height: 100%; min-height: 0; }
  .hero__slides::after { display: none; } /* на компьютере текст на своей панели — затемнение фото не нужно */
  .hero__media .arr { top: 50%; }
  .hero__dots { top: auto; bottom: 22px; }
  .hero__text { grid-column: 1; grid-row: 1; padding: 0 44px 40px; align-self: end; }
  .hero__cta .link-btn { display: inline-flex; }
  .hero__title { font-size: clamp(76px, min(8vw, 12.5vh), 168px); }
  html[data-lang="kz"] .hero__title { font-size: clamp(64px, min(6.8vw, 11vh), 130px); }
  .hero__sub { font-size: 19px; }
  .facts { display: flex; flex-wrap: wrap; gap: 6px 16px; } /* на узком компьютере факты переносятся, а не заезжают на фото */

  /* каталог: закреплённая сцена, лента едет по горизонтали до последней карточки */
  .shelf { padding: 0; }
  .shelf__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow: hidden; padding: 96px 0 22px; }
  .shelf__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 10px; flex: none; }
  .shelf__head .h-display { font-size: clamp(44px, min(4.6vw, 7.4vh), 92px); }
  .shelf__lead { max-width: 380px; margin: 0; font-size: 16px; }
  .shelf__track { --cw: calc((100vh - 96px - 22px - 150px - 12px) * .72); flex: 1; min-height: 0; overflow: visible; scroll-snap-type: none; padding: 8px calc(50vw - var(--cw) / 2) 6px; gap: 28px; will-change: transform; }
  .dcard { height: 100%; }
  .dcard__stage { aspect-ratio: auto; flex: 1; min-height: 0; }
  .dcard__txt { font-size: 14.5px; min-height: 0; margin: 10px 2px 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .shelf__bar { flex: none; }

  /* одна цена: комната слева, текст справа */
  .opener__stage { flex-direction: row; gap: 7vw; padding: 92px 40px 28px; }
  .opener__room { height: calc(100vh - 120px); }
  .opener__text { text-align: left; max-width: 520px; }
  .opener__p { margin-left: 0; font-size: 17px; }
  .opener__text .h-display { font-size: clamp(48px, min(5.6vw, 9.4vh), 96px); }

  .swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 1360px; margin: 0 auto; padding: 28px var(--gut) 0; overflow: visible; }
  .sw__tex { aspect-ratio: auto; height: min(26vw, 100vh - 380px); }
  .sw__name { font-size: 19px; }

  /* квиз: превью слева, вопросы справа */
  .calc__grid { grid-template-columns: auto minmax(0, 1fr); gap: 18px 40px; }
  .calc__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
  .calc__lead { margin: 0; max-width: 360px; }
  .pv { position: relative; top: 0; }
  .pv__room { height: min(calc(100vh - 260px), 620px); width: auto; }
  .pv__h { right: 10px; top: 12px; padding: 6px 10px; } .pv__h b { font-size: 18px; }
  .pv__qty { left: 12px; bottom: 12px; font-size: 24px; }
  .quiz { padding: 22px 26px 22px; }
  .q__t { font-size: 32px; margin-bottom: 14px; }
  .q__grid--types { gap: 10px; }
  .opt { aspect-ratio: auto; height: min(15vh, 150px); font-size: 14px; padding: 10px; }
  .row { min-height: 64px; padding: 10px 16px; }
  .row b { font-size: 16px; } .row small { font-size: 13px; }
  .col { font-size: 13px; }
  .col__tex { height: min(9vh, 86px); }
  .seg__o > span { font-size: 15px; min-height: 48px; }
  .quiz .hbtn--full { min-height: 56px; font-size: 15px; }

  .reel { height: min(22vw * 16 / 9, 100vh - 380px); }
  .reel-row { gap: 18px; padding-inline: 96px; }
  .steps, .rv-row { gap: 18px; padding-inline: 96px; }
  /* фото этапа высокое (4:5), ширина карточки подобрана так, чтобы карточка целиком влезала в экран */
  .step { flex-basis: min(30vw, 440px, (100vh - 370px) * .8); }
  .step__img { aspect-ratio: 4 / 5; height: auto; max-height: none; }
  .step__body { padding: 14px 20px 16px; }
  .step__body h3 { font-size: 26px; margin: 4px 0 6px; }
  .step__body p { font-size: 15px; line-height: 1.4; }
  .process .arr { top: calc(min(30vw, 440px, (100vh - 370px) * .8) * .625 + 4px); }
  .rv { flex-basis: min(30vw, 460px); padding: 26px 24px; }

  .band { padding: 64px 0; }
  .band__in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; column-gap: 40px; }
  .band__big { grid-column: 1 / -1; font-size: min(14vw, 22vh, 200px); }

  .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 60px; align-items: start; }
  .faq__ask { display: inline-flex; margin-top: 22px; }
  .faq__list summary { min-height: 60px; font-size: 18px; }

  .contacts__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 22px; margin-top: 24px; }
  .salons { align-content: start; }
  .map { height: min(520px, 100vh - 280px); }

  .final { padding: 96px 0; }
  .final__in { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; }
  .foot__in { grid-template-columns: auto 1fr; column-gap: 40px; align-items: start; }
  .foot__in .logo { grid-row: span 4; }

  .gal__row figure { flex-basis: 70%; }
}

/* меньше движения */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .intro { display: none; }
  .ticker__row { animation: none; }
  .sw-word > i, [data-reveal] { transform: none !important; opacity: 1 !important; }
  .opener { height: auto; }
  .opener__stage { position: relative; height: auto; min-height: 100svh; }
  .opener__b { clip-path: inset(10.58% 30.96% 11.54% 31.03%); }
  .opener__edge { display: none; }
  .opener__dim { top: 10.58%; }
  .opener__p, .opener__text .hbtn { opacity: 1; transform: none; }
}

/* 24.11: на телефоне и планшете точки слайдера и стрелки не должны заезжать на заголовок */
@media (max-width: 1023px) {
  .hero__dots { top: 18px; bottom: auto; }
  .hero__media .arr { top: 22%; }
  .hero__title { font-size: clamp(46px, min(13vw, 8.6svh), 112px); }
  html[data-lang="kz"] .hero__title { font-size: clamp(40px, min(11vw, 7.4svh), 96px); }
}
