/* Шрифты: один файл на семейство, только нужные символы (русский, латиница, цифры, знаки). */
@font-face { font-family: 'Sofia X'; src: url(/shared/fonts/sofia-sans-extra-condensed-ru-lat.woff2) format('woff2'); font-weight: 300 800; font-display: block; }
@font-face { font-family: 'Golos'; src: url(/shared/fonts/golos-text-ru-lat.woff2) format('woff2'); font-weight: 400 600; font-display: block; }

:root {
  --ink: #11120f; --ink-2: #1b1c18; --bone: #efe9de; --bone-2: #cfc7b8; --mute: #a39d91;
  --line: rgba(239, 233, 222, .16); --blue: #2563eb; --blue-d: #1d4fc4;
  --display: 'Sofia X', 'Arial Narrow', sans-serif; --text: 'Golos', system-ui, sans-serif;
  --box: 60px; --ease: cubic-bezier(.7, 0, .2, 1); --out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 16px/1.5 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--bone); color: var(--ink); padding: 10px 14px; }
.skip:focus { top: 12px; }

/* Короб ставни: логотип и лёгкая навигация */
.box { position: sticky; top: 0; z-index: 20; height: var(--box); display: flex; align-items: center; gap: 24px; padding: 0 max(20px, env(safe-area-inset-left)); background: var(--ink); border-bottom: 1px solid var(--line); }
.box-logo { display: block; flex: none; padding: 7px 0; }
.box-logo img { height: 34px; width: auto; }
.box-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.box-all { font: 500 14px/1 var(--text); letter-spacing: .02em; text-decoration: none; padding: 14px 12px; color: var(--bone); }
.box-all:hover { text-decoration: underline; text-underline-offset: 5px; }
.dock { display: flex; align-items: baseline; gap: 14px; min-width: 0; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--out); pointer-events: none; }
.dock-name { font: 600 24px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-price { font: 400 22px/1 var(--display); color: var(--bone-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dock-cta { display: none; }
.is-docked .dock { opacity: 1; transform: none; }
.is-docked .dock-cta { display: inline-flex; }

/* Ставни */
.shutters { display: flex; height: calc(100svh - var(--box)); min-height: 560px; background: var(--ink); overflow: hidden; }
.band { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; transition: flex-grow .9s var(--ease); border-right: 1px solid rgba(0,0,0,.5); isolation: isolate; }
.band[data-active] { flex-grow: 9.5; }
.band-hit { position: absolute; inset: 0; z-index: 5; }
.band[data-active] .band-hit { display: none; }
.band-media { position: absolute; inset: 0; z-index: -2; background: var(--ink-2); }
.band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-tall { opacity: 0; transition: opacity .5s; }
.band:not([data-active]) .band-tall { opacity: 1; }
/* У раскрытой ставни вертикальный кадр не виден — и не загружается */
.band[data-active] .band-tall { display: none; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,18,15,.28) 0%, rgba(17,18,15,0) 30%, rgba(17,18,15,.15) 55%, rgba(17,18,15,.86) 100%); transition: background-color .6s; }
.band:not([data-active])::after { background-color: rgba(17,18,15,.42); }
@media (hover: hover) and (pointer: fine) {
  .shutters:not(.is-moving) .band:not([data-active]):hover { flex-grow: 1.7; }
  .shutters:not(.is-moving) .band:not([data-active]):hover::after { background-color: rgba(17,18,15,.12); }
}
/* Вход: ставни опускаются из короба */
@media (prefers-reduced-motion: no-preference) {
  .band { animation: roll 1.1s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
  @keyframes roll { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  .band[data-active] .band-open > * { animation: rise .9s var(--out) both; animation-delay: calc(.5s + var(--k, 0) * 70ms); }
  .open-meta { --k: 0 } .open-title { --k: 1 } .open-price { --k: 2 } .open-specs { --k: 3 } .open-actions { --k: 4 }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } }
}

.band-spine { position: absolute; inset: 20px 0 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; pointer-events: none; transition: opacity .35s; }
.band[data-active] .band-spine { opacity: 0; }
.spine-no { font: 500 13px/1 var(--text); letter-spacing: .08em; color: var(--bone-2); }
.spine-name, .spine-price { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.spine-name { margin-top: auto; font: 600 clamp(24px, 2.1vw, 34px)/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.spine-price { font: 400 clamp(19px, 1.5vw, 24px)/1 var(--display); color: var(--bone-2); font-variant-numeric: tabular-nums; }

.band-open { position: absolute; left: clamp(24px, 3.4vw, 56px); bottom: clamp(24px, 4.4vh, 52px); width: min(64vw, 940px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.band[data-active] .band-open { opacity: 1; visibility: visible; transition: opacity .5s .45s; }
.open-meta { margin: 0 0 6px; font: 500 14px/1.3 var(--text); letter-spacing: .04em; color: var(--bone-2); }
.open-title { margin: 0; font: 700 clamp(64px, 8.6vw, 156px)/.84 var(--display); text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; outline: none; }
.open-price { margin: 18px 0 0; display: flex; align-items: baseline; gap: 10px; font-family: var(--display); }
.op-from { font: 400 30px/1 var(--display); color: var(--bone-2); }
.op-num { font: 300 clamp(48px, 5vw, 84px)/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.op-q { font: 400 13px/1 var(--text); color: var(--bone-2); margin-left: 6px; }
.open-specs { list-style: none; margin: 18px 0 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 28px; border-top: 1px solid var(--line); font: 400 15px/1.4 var(--text); color: var(--bone-2); max-width: 760px; }
.open-specs b { color: var(--bone); font-weight: 600; }
.open-actions { margin-top: 24px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.open-more { font: 500 14px/1 var(--text); padding: 14px 2px; text-underline-offset: 5px; }
.open-note { margin: 12px 0 0; font: 500 13px/1.3 var(--text); color: var(--bone); display: inline-block; padding: 6px 10px; border: 1px solid rgba(239,233,222,.45); }
.drawer-thumb[hidden] { display: none; }
.drawer-thumb[hidden] + .drawer-kind { margin-top: 72px; }
.d-specs .is-long dd { font-size: clamp(40px, 4.4vw, 76px); }
.all-text { margin: 18px 0 0; max-width: 34ch; font: 400 20px/1.4 var(--text); }

.btn-bone, .btn-ink, .btn-blue { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 0; font: 600 15px/1 var(--text); letter-spacing: .01em; transition: transform .15s, background-color .2s; }
.btn-bone { background: var(--bone); color: var(--ink); }
.btn-bone:hover { background: #fff; }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: #000; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); }
.btn-bone:active, .btn-ink:active, .btn-blue:active { transform: scale(.97); }
.dock-cta { min-height: 40px; padding: 0 16px; border: 0; background: var(--bone); color: var(--ink); font: 600 14px/1 var(--text); }

.band-frames { position: absolute; right: clamp(20px, 2.4vw, 40px); bottom: clamp(24px, 4.4vh, 52px); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.band[data-active] .band-frames:not([hidden]) { opacity: 1; visibility: visible; transition: opacity .5s .7s; }
.frame-cap { margin: 0; max-width: 24ch; text-align: right; font: 400 13px/1.35 var(--text); color: var(--bone-2); }
.frame-viz { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.frame-nav { display: flex; align-items: center; border: 1px solid rgba(239,233,222,.4); background: rgba(17,18,15,.35); backdrop-filter: blur(6px); }
.frame-btn { width: 48px; height: 48px; border: 0; background: none; font-size: 18px; }
.frame-btn:hover { background: rgba(239,233,222,.12); }
.frame-count { min-width: 64px; text-align: center; font: 400 18px/1 var(--display); color: var(--bone-2); font-variant-numeric: tabular-nums; }
.frame-count b { color: var(--bone); font-weight: 600; }

/* Ламели: смена кадра полосами, как у жалюзи */
.slats { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.slat { position: absolute; left: 0; right: 0; overflow: hidden; transform-origin: 50% 0; animation: slat .62s var(--ease) both; }
.slat img { position: absolute; left: 0; width: 100%; object-fit: cover; }
@keyframes slat { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Ставня «Все объекты» — фирменный синий и арка из логотипа */
.band-all { background: var(--blue); }
.band-all .band-media { background: var(--blue); }
.band-all::after { display: none; }
.band-all .arch { position: absolute; right: 5%; bottom: 0; height: 88%; width: auto; fill: none; stroke: rgba(255,255,255,.28); stroke-width: .35; transition: opacity .6s; }
.band-all:not([data-active]) .arch { opacity: .0; }
.band-all .spine-no { font: 600 26px/1 var(--display); color: #fff; }
.band-all .spine-name { color: #fff; }
.band-all .open-title { font-size: clamp(64px, 9vw, 168px); }
.band-all .btn-bone { background: #fff; color: #0c2a72; }

/* Подробности */
.detail { background: var(--bone); color: var(--ink); padding: clamp(48px, 8vw, 112px) clamp(20px, 4vw, 56px) clamp(56px, 8vw, 104px); scroll-margin-top: var(--box); }
.detail[hidden] { display: none; }
.d-head { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: start; }
.d-no { margin: 0; font: 500 22px/1 var(--display); letter-spacing: .06em; color: #6b665c; }
.d-summary { margin: 0; font: 400 clamp(22px, 2.2vw, 32px)/1.3 var(--text); letter-spacing: -.01em; max-width: 30ch; text-wrap: pretty; }
.d-specs { margin: clamp(40px, 6vw, 88px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #1112; }
.d-specs div { padding: 20px 20px 0 0; border-right: 1px solid #1112; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.d-specs div + div { padding-left: 20px; }
.d-specs div:last-child { border-right: 0; }
.d-specs dt { font: 400 14px/1.35 var(--text); color: #5b574f; margin-top: 8px; }
.d-specs dd { margin: 0; font: 300 clamp(56px, 7.4vw, 128px)/.9 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.d-strip { margin: clamp(48px, 7vw, 96px) calc(-1 * clamp(20px, 4vw, 56px)) 0; padding: 0 clamp(20px, 4vw, 56px) 12px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #1114 transparent; }
.d-strip figure { margin: 0; flex: none; height: clamp(260px, 62vh, 640px); scroll-snap-align: start; display: flex; flex-direction: column; }
.d-strip img { height: calc(100% - 34px); width: auto; aspect-ratio: auto; object-fit: cover; background: #ddd5c7; }
.d-strip figcaption { padding-top: 10px; font: 400 13px/1.3 var(--text); color: #4f4b44; white-space: nowrap; }
.d-strip figcaption span { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; margin-right: 6px; color: #6b665c; }
.d-cols { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); }
.d-high { list-style: none; margin: 0; padding: 0; counter-reset: h; }
.d-high li { counter-increment: h; display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; border-top: 1px solid #1112; font: 500 19px/1.35 var(--text); }
.d-high li::before { content: counter(h, decimal-leading-zero); font: 500 18px/1.3 var(--display); color: #6b665c; }
.d-facts { margin: 0; }
.d-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid #1112; font-size: 16px; }
.d-facts dt { color: #5b574f; }
.d-facts dd { margin: 0; font-weight: 600; text-align: right; }
.d-cta { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 24px 48px; padding-top: 28px; border-top: 2px solid var(--ink); }
.d-cta-name { margin: 0; font: 700 clamp(40px, 4.4vw, 72px)/.9 var(--display); text-transform: uppercase; }
.d-cta-price { margin: 8px 0 0; font: 300 clamp(32px, 3vw, 48px)/1 var(--display); font-variant-numeric: tabular-nums; }
.d-cta-price span { font: 400 13px/1 var(--text); color: #5b574f; }
.d-cta-what { margin: 0; max-width: 40ch; font-size: 15px; color: #3f3c36; }

/* Футер: логотип и три ссылки */
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: 24px clamp(20px, 4vw, 56px) calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot-logo { display: block; padding: 6px 0; }
.foot-logo img { height: 34px; width: auto; }
.foot-links { display: flex; gap: 28px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--bone); font: 500 14px/1.2 var(--text); text-decoration: none; white-space: nowrap; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Нижняя панель на телефоне */
.mbar { display: none; }

/* Cookie */
.cookie { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: min(440px, calc(100vw - 32px)); background: var(--ink-2); color: var(--bone); border: 1px solid rgba(239,233,222,.22); box-shadow: 0 18px 50px rgba(0,0,0,.45); font-size: 14px; }
.cookie[hidden], .cookie [hidden] { display: none; }
.cookie-bar { display: grid; gap: 12px; padding: 16px; }
.cookie-bar p { margin: 0; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.cookie-actions button, .cookie-save { min-height: 44px; padding: 0 14px; border: 1px solid rgba(239,233,222,.35); background: transparent; color: var(--bone); font: 600 14px/1 var(--text); }
.cookie-accept { background: var(--bone) !important; color: var(--ink) !important; border-color: var(--bone) !important; }
.cookie-actions button:hover, .cookie-save:hover { border-color: var(--bone); }
.cookie-gear[aria-expanded=true] { background: rgba(239,233,222,.1); }
.cookie-details { display: grid; gap: 10px; padding: 16px 16px 0; color: var(--bone-2); font-size: 13px; }
.cookie-details label { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.cookie-details input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--bone); }
.cookie-details a { color: var(--bone); font-size: 13px; text-underline-offset: 3px; }
.cookie-save { justify-self: start; }

/* Заявка: шторка справа (на телефоне — снизу) */
.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(480px, 100vw); max-width: 100vw; padding: 0; border: 0; background: var(--ink-2); color: var(--bone); overflow: auto; overscroll-behavior: contain; }
.drawer::backdrop { background: rgba(8,8,6,.66); }
.drawer[open] { animation: slide-in .5s var(--out); }
@keyframes slide-in { from { transform: translateX(100%); } }
.drawer-in { position: relative; min-height: 100%; display: flex; flex-direction: column; padding: 0 32px; }
.drawer-x { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #c9c3b8; -webkit-tap-highlight-color: transparent; }
.drawer-x svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)); }
.drawer-x:hover, .drawer-x:focus-visible { color: #fff; }
.drawer-x:focus, .drawer-x:focus-visible, .drawer-title:focus { outline: none; }
.drawer-thumb { margin: 0 -32px 24px; height: 180px; background: var(--blue) center / cover no-repeat; }
.drawer-kind { margin: 0; font: 500 12px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); }
.drawer-title { margin: 0; padding-right: 52px; font: 700 48px/.9 var(--display); text-transform: uppercase; }
.drawer-what { margin: 12px 0 0; color: var(--bone-2); font-size: 15px; }
.lf { flex: 1; margin-top: 24px; display: flex; flex-direction: column; gap: 4px; }
/* Кнопка прижата к низу окна и видна всегда */
.lf-foot { position: sticky; bottom: 0; margin: auto -32px 0; padding: 20px 32px calc(32px + env(safe-area-inset-bottom)); background: var(--ink-2); }
.lf-submit { gap: 10px; }
.lf-icon { display: inline-flex; }
.lf-icon[hidden] { display: none; }
.lf-icon svg { width: 18px; height: 18px; }
.lf-channels { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lf-channels legend { padding: 0; margin-bottom: 10px; }
.lf-label { display: block; font: 500 13px/1 var(--text); color: var(--bone-2); margin-bottom: 8px; letter-spacing: .02em; }
.lf-channel { position: relative; }
.lf-channel input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lf-channel span { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 1px solid rgba(239,233,222,.3); font-weight: 600; transition: background-color .2s, border-color .2s, color .2s; }
.lf-channel i { display: inline-flex; width: 20px; height: 20px; }
.lf-channel svg { width: 20px; height: 20px; }
.lf-channel input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.lf-channel input:focus-visible + span { outline: 2px solid var(--bone); outline-offset: 3px; }
.lf-field { margin-top: 10px; }
.lf input[type=tel], .lf input[type=text], .lf select { width: 100%; min-height: 52px; padding: 0 14px; background: transparent; border: 1px solid rgba(239,233,222,.3); border-radius: 0; color: var(--bone); font: 400 16px/1 var(--text); }
.lf input:focus, .lf select:focus { border-color: var(--bone); outline: none; }
.lf input[aria-invalid] { border-color: #ff8a73; }
.lf select { appearance: none; background: transparent; }
.lf select option { background: var(--ink-2); color: var(--bone); }
.quiz-phone-row { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.quiz-phone-fallback { grid-template-columns: 1fr; }
.quiz-phone-fallback select { display: none; }
.quiz-hint { margin: 8px 0 0; font-size: 12px; color: var(--mute); }
.lf-error { margin: 4px 0 0; min-height: 0; font-size: 13px; color: #ff9c87; }
.lf-error:empty { display: none; }
.lf-consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; margin-top: 16px; font-size: 13px; color: var(--bone-2); }
.lf-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--bone); }
.lf [type=submit] { width: 100%; }
.lf [type=submit]:disabled { opacity: .7; cursor: progress; }
.drawer-done { margin-top: 28px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.drawer-done h3 { margin: 0; font: 700 44px/.9 var(--display); text-transform: uppercase; outline: none; }
.drawer-done p { color: var(--bone-2); margin: 14px 0 24px; }

/* Ловушка для ботов */
.lf-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Юридические страницы */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 32px) clamp(56px, 7vw, 96px); }
.legal h1 { margin: 0; font: 700 clamp(48px, 7vw, 96px)/.9 var(--display); text-transform: uppercase; text-wrap: balance; }
.legal-meta { margin: 16px 0 0; color: var(--mute); font-size: 14px; }
.legal section { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal h2 { margin: 0 0 12px; font: 600 clamp(26px, 3vw, 34px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.legal p { margin: 0 0 12px; color: var(--bone-2); font-size: 16px; line-height: 1.65; }
.legal strong { color: var(--bone); }
.legal a { color: var(--bone); text-underline-offset: 3px; }
.legal-actions { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.legal-actions .btn-bone, .legal .btn-bone { color: var(--ink); text-decoration: none; }
.legal-alt { font-size: 15px; }

/* Телефон и узкие экраны: ставни становятся горизонтальными ламелями */
@media (max-width: 899px) {
  :root { --box: 56px; }
  .box-logo img { height: 30px; }
  .box-all { padding: 14px 8px; font-size: 13px; }
  .dock { display: none; }
  .shutters { flex-direction: column; height: calc(100svh - var(--box)); min-height: 600px; }
  .band { flex: 0 0 62px; border-right: 0; border-bottom: 1px solid rgba(0,0,0,.55); transition: flex .8s var(--ease); }
  .band[data-active] { flex: 1 1 auto; }
  @media (prefers-reduced-motion: no-preference) {
    @keyframes roll { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
  }
  .band-spine { inset: 0 16px; flex-direction: row; align-items: center; gap: 12px; }
  .spine-name, .spine-price { writing-mode: horizontal-tb; transform: none; }
  .spine-name { margin: 0; font-size: 22px; flex: 1; overflow: hidden; text-overflow: ellipsis; }
  .spine-price { font-size: 20px; }
  .spine-no { width: 22px; }
  .band:not([data-active])::after { background-color: rgba(17,18,15,.6); }
  .band[data-active]::after { background: linear-gradient(180deg, rgba(17,18,15,.2) 0%, rgba(17,18,15,0) 22%, rgba(17,18,15,.5) 48%, rgba(17,18,15,.92) 78%); }
  .band-tall { display: none; }
  .band-open { left: 16px; right: 16px; bottom: 16px; width: auto; }
  .open-meta { font-size: 13px; }
  .open-title { font-size: clamp(46px, 14vw, 72px); }
  .open-price { margin-top: 10px; flex-wrap: wrap; }
  .op-from { font-size: 24px; }
  .op-num { font-size: clamp(40px, 12vw, 56px); }
  .open-specs { margin-top: 12px; padding-top: 10px; gap: 2px 16px; font-size: 13px; }
  .open-actions { margin-top: 14px; gap: 12px; }
  .open-actions .btn-bone { flex: 1; }
  .open-more { display: none; }
  .band-frames { top: 14px; right: 12px; bottom: auto; }
  .frame-cap { display: none; }
  .frame-btn { width: 44px; height: 44px; }
  .frame-count { min-width: 52px; font-size: 16px; }
  .band-all .arch { height: 80%; right: -8%; }
  .all-text { font-size: 17px; }
  .band-all .open-title { font-size: clamp(52px, 16vw, 80px); }
  /* Закреплённая панель внизу после первого экрана */
  .dock-cta, .is-docked .dock-cta { display: none; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 16px; background: var(--ink); border-top: 1px solid var(--line);
    transform: translateY(105%); transition: transform .45s var(--out); }
  .mbar.is-on { transform: none; }
  .mbar-txt { margin: 0; min-width: 0; display: grid; }
  .mbar-name { font: 700 22px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar-price { margin-top: 3px; font: 400 18px/1 var(--display); color: var(--bone-2); font-variant-numeric: tabular-nums; }
  .mbar-btn { min-height: 48px; padding: 0 20px; border: 0; background: var(--bone); color: var(--ink); font: 600 15px/1 var(--text); }
  .foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot-links { width: 100%; justify-content: space-between; gap: 12px; }
  .foot-links a { font-size: 13px; }
  .cookie { left: 8px; right: 8px; width: auto; bottom: calc(8px + env(safe-area-inset-bottom)); }
  .cookie-bar { gap: 10px; padding: 12px; font-size: 13px; }
  .cookie-actions { grid-template-columns: 1fr 1fr auto; gap: 6px; }
  .cookie-actions button { padding: 0 10px; font-size: 13px; }
  .d-head { grid-template-columns: 1fr; gap: 12px; }
  .d-specs { grid-template-columns: 1fr 1fr; }
  .d-specs div { padding: 16px 12px 16px 0; border-bottom: 1px solid #1112; }
  .d-specs div + div { padding-left: 0; }
  .d-specs div:nth-child(even) { padding-left: 14px; border-right: 0; }
  .d-specs dd { font-size: clamp(44px, 13vw, 64px); white-space: normal; }
  .d-strip figure { height: 56vh; max-height: 460px; }
  .d-strip figure:not(.is-tall) img { width: 82vw; }
  .d-cols { grid-template-columns: 1fr; }
  .d-cta { grid-template-columns: 1fr; }
  .d-cta .btn-ink { width: 100%; }
  .drawer { margin: 0; width: 100vw; height: 100dvh; max-height: 100dvh; }
  .drawer[open] { animation-name: sheet-in; }
  @keyframes sheet-in { from { transform: translateY(100%); } }
  .drawer-in { padding: 0 20px; }
  .lf-foot { margin: auto -20px 0; padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); }
  .drawer-thumb { margin: 0 -20px 18px; height: 120px; }
  .drawer-title { font-size: 40px; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .band { flex-basis: 55px; }
  .open-specs { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.thanks { min-height: calc(100svh - var(--box) - 120px); display: flex; flex-direction: column; justify-content: center; }
.thanks h1 { font-size: clamp(64px, 12vw, 160px); }
.thanks #ty-text { margin-top: 20px; font-size: clamp(18px, 2vw, 24px); color: var(--bone); max-width: 32ch; }
