/* Stoochy Luxury Tower — v2. Тёмный фон, Rubik, направление C (решения владельца 02.10.2026).
   Мотив: горизонтальные ленты фасада (тонкие линии) и бронзовый козырёк крыши (акцент).
   Подпись страницы: экскурсия по зданию «от улицы до офиса» со «светящимся табло лифта». */

:root {
  color-scheme: dark;
  /* палитра взята с рендеров */
  --night: #0d1117;      /* стекло ночью — основной грунт */
  --slate: #151b23;      /* приподнятые поверхности */
  --slate-2: #1d2530;
  --stone: #ede8df;      /* текст — тёплый камень, не чистый белый */
  --steel: #9fb0c2;      /* вторичный текст — сталь фасада, контраст на --night ≈ 8:1 */
  --bronze: #c9a06a;     /* козырёк крыши — единственный акцент */
  --bronze-deep: #a8814d;
  --leaf: #7f9f72;       /* озеленение — только маленькие метки */
  --hair: rgba(237,232,223,.12);
  --hair-2: rgba(237,232,223,.22);

  --f: "Rubik", "Arial Hebrew", system-ui, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --r: 4px; --r-2: 8px;
  --wrap: 1240px;
  --gutter: 16px;
  --header-h: 64px;
  --sec: 56px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 900px) { :root { --gutter: 48px; --sec: 88px; --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { background: var(--night); color: var(--stone); font-family: var(--f); font-size: 16px; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); position: relative; }

/* типографика */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s3); font-size: 14px; line-height: 1.2; color: var(--bronze); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.display { font-weight: 300; font-size: clamp(36px, 9.6vw, 104px); line-height: 1.02; letter-spacing: 0; }
.h2 { font-weight: 300; font-size: clamp(32px, 6.4vw, 64px); line-height: 1.08; max-width: 16em; }
.h3 { font-weight: 500; font-size: 19px; line-height: 1.3; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: var(--steel); max-width: 34em; }
.mark { color: var(--bronze); }
.wordmark { direction: ltr; unicode-bidi: isolate; display: inline-block; font-weight: 500; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--stone); }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s3); min-height: 54px; padding-inline: var(--s6);
  border-radius: 999px; font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-bronze { background: var(--bronze); color: var(--night); }
.btn-bronze:hover { background: #d6b07c; }
.btn-ghost { border: 1px solid var(--hair-2); color: var(--stone); background: rgba(13,17,23,.62); }
.btn-ghost:hover { border-color: var(--stone); }
.btn-play .ring { width: 36px; height: 36px; margin-inline-start: -14px; border-radius: 50%; background: var(--stone); color: var(--night); display: grid; place-items: center; }
.btn-play .ring svg { width: 14px; height: 14px; margin-left: 2px; }
.btn-play .dur { color: var(--steel); font-weight: 400; }

.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1; padding: 6px 10px; border-radius: 999px; background: rgba(13,17,23,.66); color: var(--stone); backdrop-filter: blur(6px); }

/* ── шапка ── */
.hdr { position: fixed; z-index: 60; inset-block-start: 0; inset-inline: 0; height: var(--header-h);
  transition: background-color .3s var(--ease), border-color .3s var(--ease); border-block-end: 1px solid transparent; }
.hdr.solid { background: rgba(13,17,23,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--hair); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: var(--s5); }
.hdr .logo img { height: 40px; width: auto; }
.nav { display: none; gap: var(--s5); margin-inline-start: auto; font-size: 15px; color: var(--steel); }
.nav a { padding-block: var(--s2); position: relative; }
.nav a:hover, .nav a.on { color: var(--stone); }
.nav a.on::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 1px; background: var(--bronze); }
.hdr-end { display: flex; align-items: center; gap: var(--s2); margin-inline-start: auto; }
.lang { display: flex; font-size: 14px; color: var(--steel); }
.lang a { min-width: 40px; min-height: 44px; display: grid; place-items: center; }
.lang a[aria-current] { color: var(--stone); }
.hdr .btn { min-height: 44px; padding-inline: var(--s5); font-size: 15px; display: none; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--hair-2); }
.burger svg { width: 18px; height: 18px; }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .hdr-end { margin-inline-start: var(--s6); }
  .hdr .btn { display: inline-flex; }
  .burger { display: none; }
}

/* мобильное меню */
.menu { position: fixed; inset: 0; z-index: 70; background: var(--night); padding: var(--s5) var(--gutter); display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.menu.open { opacity: 1; visibility: visible; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: calc(var(--header-h) - var(--s5)); }
.menu nav { display: grid; margin-block: var(--s7) auto; }
.menu nav a { font-size: 32px; font-weight: 300; line-height: 1.2; padding-block: var(--s3); border-block-end: 1px solid var(--hair); display: flex; justify-content: space-between; align-items: baseline; }
.menu nav a small { font-size: 13px; color: var(--steel); }
.menu .btn { width: 100%; }

/* ── 1 · первый экран ── */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(13,17,23,.7) 0, rgba(13,17,23,.25) 20%, rgba(13,17,23,.45) 38%, rgba(13,17,23,.9) 62%, var(--night) 100%); }
@media (min-width: 900px) { .hero::after { background: linear-gradient(to bottom, rgba(13,17,23,.6) 0, rgba(13,17,23,0) 22%, rgba(13,17,23,.2) 45%, rgba(13,17,23,.88) 74%, var(--night) 100%), linear-gradient(to left, rgba(13,17,23,.55) 0, rgba(13,17,23,0) 55%); } }
.hero-in { padding-block: calc(var(--header-h) + var(--s8)) var(--s5); display: grid; gap: var(--s5); }
.hero .display { max-width: 11em; }
.hero .lead { color: var(--stone); opacity: .86; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero-cta .btn { flex: 1 1 auto; }
.hero .tag-render { position: absolute; inset-block-start: calc(var(--header-h) + var(--s4)); inset-inline-end: var(--gutter); }
.rail { display: grid; grid-template-columns: repeat(2, 1fr); border-block-start: 1px solid var(--hair-2); margin-block-start: var(--s3); }
.rail div { padding: var(--s4) 0; }
.rail div:nth-child(odd) { padding-inline-end: var(--s4); border-inline-end: 1px solid var(--hair); }
.rail div:nth-child(even) { padding-inline-start: var(--s4); }
.rail div:nth-child(-n+2) { border-block-end: 1px solid var(--hair); }
.rail b { display: flex; align-items: baseline; gap: 6px; font-weight: 300; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.rail b small { font-size: 14px; font-weight: 400; color: var(--bronze); }
.rail > div > span { display: block; margin-block-start: var(--s2); font-size: 13px; line-height: 1.35; color: var(--steel); }
.offer-chip { display: inline-flex; align-items: center; gap: var(--s3); font-size: 15px; justify-self: start; padding-block: var(--s2); padding-inline: var(--s2) var(--s4);
  border-radius: 999px; background: rgba(201,160,106,.14); border: 1px solid rgba(201,160,106,.4); }
.offer-chip .n { width: 30px; height: 30px; border-radius: 50%; background: var(--bronze); color: var(--night); display: grid; place-items: center; font-weight: 500; }
@media (min-width: 900px) {
  .hero-in { padding-block-end: var(--s7); grid-template-columns: 1fr auto; align-items: end; column-gap: var(--s8); }
  .hero-in > * { grid-column: 1; }
  .hero-cta .btn { flex: 0 0 auto; }
  .rail { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); margin-block-start: var(--s6); }
  .rail div, .rail div:nth-child(odd), .rail div:nth-child(even) { padding: var(--s5) var(--s5) var(--s2); border: 0; border-inline-start: 1px solid var(--hair); }
  .rail div:first-child { border-inline-start: 0; padding-inline-start: 0; }
  .rail b { font-size: 44px; }
}
.scroll-cue { display: none; }
@media (min-width: 900px) {
  .scroll-cue { display: flex; position: absolute; inset-block-start: 50%; inset-inline-start: var(--gutter); writing-mode: vertical-rl; gap: var(--s3); align-items: center; font-size: 12px; color: var(--steel); }
  .scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--steel), transparent); }
}

/* ── 2 · вступление ── */
.intro .grid { display: grid; gap: var(--s7); }
.statement { font-weight: 300; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.32; }
.statement .mark { font-weight: 400; }
.intro .meta { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); margin-block-start: var(--s6); font-size: 14px; color: var(--steel); }
.intro .meta b { color: var(--stone); font-weight: 500; }
.stack { position: relative; min-height: 420px; }
.stack figure { position: absolute; overflow: hidden; border-radius: var(--r-2); }
.stack figure img { width: 100%; height: 100%; object-fit: cover; }
.stack .a { inset-block-start: 0; inset-inline-end: 0; width: 78%; aspect-ratio: 4/5; }
.stack .b { inset-block-end: 0; inset-inline-start: 0; width: 52%; aspect-ratio: 1/1; border: 6px solid var(--night); }
.stack .tag { position: absolute; inset-block-start: var(--s3); inset-inline-start: var(--s3); }
@media (min-width: 900px) { .intro .grid { grid-template-columns: 6fr 5fr; gap: var(--s9); align-items: center; } .stack { min-height: 620px; } }

/* ── 3 · экскурсия: 6 остановок ── */
.tour { padding-block: var(--sec) 0; background: var(--night); }
.t-head { display: grid; gap: var(--s3); margin-block-end: var(--s5); }
.t-stage { position: relative; }
.t-slide { margin: 0; }
.t-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-cap { display: grid; gap: var(--s2); }
.t-num { font-size: 13px; color: var(--bronze); }
.t-cap h3 { font-weight: 300; font-size: 28px; line-height: 1.1; }
.t-cap p { font-size: 15px; color: var(--steel); max-width: 30em; }
.t-render { position: absolute; z-index: 3; inset-block-start: var(--s3); inset-inline-end: var(--s3); }
.t-rail { list-style: none; margin: 0; display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; padding-block: var(--s2); }
.t-rail::-webkit-scrollbar { display: none; }
.t-rail button { flex: none; display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding-inline: var(--s4); border-radius: 999px;
  border: 1px solid var(--hair-2); color: var(--steel); font-size: 14px; white-space: nowrap; transition: color .25s, border-color .25s, background-color .25s; }
.t-rail button .ltr { font-size: 12px; color: var(--steel); opacity: .7; }
.t-rail button[aria-current] { color: var(--night); background: var(--stone); border-color: var(--stone); }
.t-rail button[aria-current] .ltr { color: var(--night); }
.t-prog { height: 1px; background: var(--hair); position: relative; display: none; }
.t-prog i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: var(--bronze); }

/* телефон и планшет: лента карточек со щелчком */
@media (max-width: 999px) {
  .t-scroll { padding-block-end: var(--sec); }
  .t-pin { display: flex; flex-direction: column-reverse; gap: var(--s3); }
  .t-bar { padding-inline: var(--gutter); }
  .t-stage { display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% - 2 * var(--gutter)); gap: var(--s3); overflow-x: auto;
    scroll-snap-type: x mandatory; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .t-stage::-webkit-scrollbar { display: none; }
  .t-slide { position: relative; scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: var(--r-2); overflow: hidden; isolation: isolate; }
  .t-slide picture { position: absolute; inset: 0; z-index: -2; }
  .t-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(13,17,23,.92) 0, rgba(13,17,23,.4) 34%, rgba(13,17,23,0) 58%); }
  .t-cap { position: absolute; inset-inline: 0; inset-block-end: 0; padding: var(--s5); }
  .t-render { display: none; }
  .t-slide::before { content: var(--render-lbl, "הדמיה"); position: absolute; z-index: 2; inset-block-start: var(--s3); inset-inline-end: var(--s3); font-size: 12px; line-height: 1; padding: 6px 10px; border-radius: 999px; background: rgba(13,17,23,.66); }
}
@media (min-width: 640px) and (max-width: 999px) { .t-stage { grid-auto-columns: 62%; } .t-slide { aspect-ratio: 4 / 5; } }

/* компьютер: кадр на весь экран, остановки сменяются прокруткой */
@media (min-width: 1000px) {
  .t-scroll { height: 600vh; position: relative; }
  .t-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; }
  .t-stage { position: absolute; inset: 0; }
  .t-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
  .t-slide picture { position: absolute; inset: 0; overflow: hidden; }
  .t-slide img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
  .t-slide img { object-position: 50% 50% !important; }
  .t-slide.on { opacity: 1; z-index: 1; }
  .t-slide.on img { transform: scale(1); }
  .t-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(13,17,23,.94) 0, rgba(13,17,23,.55) 26%, rgba(13,17,23,0) 52%), linear-gradient(to bottom, rgba(13,17,23,.5) 0, rgba(13,17,23,0) 18%); }
  .t-render { inset-block-start: calc(var(--header-h) + var(--s4)); inset-inline-end: var(--gutter); }
  .t-cap { position: absolute; z-index: 3; inset-inline-start: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); inset-block-end: 148px; max-width: 640px;
    opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease) .15s, transform .6s var(--ease) .15s; }
  .t-slide.on .t-cap { opacity: 1; transform: none; }
  .t-cap h3 { font-size: clamp(48px, 5vw, 76px); line-height: 1.02; }
  .t-cap p { font-size: 19px; color: var(--stone); opacity: .82; }
  .t-num { font-size: 14px; }
  .t-bar { position: absolute; z-index: 4; inset-inline: 0; inset-block-end: var(--s6); max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: var(--s3); }
  .t-rail { justify-content: space-between; overflow: visible; padding: 0; }
  .t-rail button { border: 0; padding-inline: 0; min-height: 44px; background: none !important; color: var(--steel); font-size: 15px; }
  .t-rail button:hover { color: var(--stone); }
  .t-rail button[aria-current] { color: var(--stone); }
  .t-rail button[aria-current] .ltr { color: var(--bronze); opacity: 1; }
  .t-prog { display: block; }
}
@media (prefers-reduced-motion: reduce) { .t-slide img { transform: none !important; } }

/* ── 4 · в здании: 5 преимуществ сеткой, без фото ── */
.bldg-in { display: grid; gap: var(--s6); }
.bldg-head { display: grid; gap: var(--s4); align-content: start; }
.feats { display: grid; grid-template-columns: 1fr; border-block-start: 1px solid var(--hair); }
.feats li { display: grid; grid-template-columns: 40px 1fr; column-gap: var(--s4); row-gap: var(--s1); align-items: start; padding-block: var(--s5); border-block-end: 1px solid var(--hair); }
.f-ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(201,160,106,.45); display: grid; place-items: center; color: var(--bronze); }
.f-ic svg { width: 20px; height: 20px; }
.feats h3 { font-weight: 400; font-size: 20px; line-height: 1.3; }
.feats p { font-size: 15px; line-height: 1.5; color: var(--steel); }
.feats .feat-cta { display: flex; align-items: center; border-block-end: 0; padding-block-end: 0; }
.feats .feat-cta .btn { width: 100%; }
@media (min-width: 700px) {
  .feats { grid-template-columns: 1fr 1fr; column-gap: var(--s6); }
  .feats .feat-cta .btn { width: auto; }
}
@media (min-width: 1100px) {
  .bldg-in { gap: var(--s7); }
  .feats { grid-template-columns: repeat(3, 1fr); column-gap: 0; border: 0; }
  .feats li { grid-template-columns: 1fr; row-gap: var(--s3); padding: var(--s6) var(--s5) var(--s6) var(--s5); border-block-end: 1px solid var(--hair); border-inline-start: 1px solid var(--hair); }
  .feats li:nth-child(3n+1) { border-inline-start: 0; padding-inline-start: 0; }
  .feats li:nth-child(n+4) { border-block-end: 0; }
  .f-ic { grid-row: auto; width: 48px; height: 48px; margin-block-end: var(--s2); }
  .f-ic svg { width: 22px; height: 22px; }
  .feats h3 { font-size: 22px; }
  .feats .feat-cta { padding-inline-start: var(--s5); }
}

/* ── 5 · офис: план этажа с юнитами ── */
.office { background: var(--slate); }
.of-head { display: grid; gap: var(--s4); margin-block-end: var(--s6); }
.of-head .lead { max-width: 30em; }
.floor { display: grid; gap: var(--s4); }
.fl-plan { border-radius: var(--r-2); background: #f1eee8; overflow: hidden; position: relative; }
.fl-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.fl-canvas { position: relative; width: 860px; aspect-ratio: 2430 / 1535; direction: ltr; }
.fl-canvas img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; mix-blend-mode: multiply; opacity: .92; }
.fl-units { position: absolute; inset: 0; width: 100%; height: 100%; }
.fl-units .u { fill: rgba(201,160,106,.10); stroke: rgba(168,129,77,.55); stroke-width: 2; cursor: pointer; transition: fill .2s, stroke .2s; outline: none; }
.fl-units .u:hover, .fl-units .u:focus-visible { fill: rgba(201,160,106,.38); stroke: #8a6a3d; stroke-width: 4; }
.fl-units .u.on { fill: rgba(201,160,106,.62); stroke: #6e5228; stroke-width: 6; }
.fl-meta { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); background: #e7e2d9; color: #3b3f46; font-size: 13px; }
.fl-meta .tag { background: #12151b; color: var(--stone); }
.fl-side { display: grid; gap: var(--s4); align-content: start; }
.uc-card { display: grid; gap: var(--s2); padding: var(--s5); border: 1px solid var(--hair-2); border-radius: var(--r-2); background: var(--night); }
.uc-k { font-size: 13px; color: var(--bronze); }
.uc-n { font-weight: 300; font-size: 56px; line-height: 1; font-variant-numeric: tabular-nums; justify-self: start; }
.uc-a { font-size: 16px; color: var(--steel); margin-block-end: var(--s3); }
.uc-card .btn { width: 100%; }
.uc-card.empty .btn { opacity: .5; pointer-events: none; }
.uc-list { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); gap: var(--s2); overflow-x: auto; scrollbar-width: none; padding-block-end: var(--s1); }
.uc-list::-webkit-scrollbar { display: none; }
.uc { display: grid; justify-items: start; gap: 2px; min-width: 88px; min-height: 52px; padding: var(--s2) var(--s3); border-radius: var(--r); border: 1px solid var(--hair); text-align: start; transition: border-color .2s, background-color .2s; }
.uc b { font-weight: 500; font-size: 16px; }
.uc span { font-size: 12px; color: var(--steel); }
.uc:hover { border-color: var(--hair-2); }
.uc[aria-pressed="true"] { border-color: var(--bronze); background: rgba(201,160,106,.12); }
.fl-note { font-size: 13px; color: var(--steel); margin-block-start: var(--s4); }
.steps3 { list-style: none; display: grid; gap: 0; margin-block-start: var(--s6); border-block-start: 1px solid var(--hair); }
.steps3 li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s4); padding-block: var(--s5); border-block-end: 1px solid var(--hair); }
.steps3 .n { font-weight: 300; font-size: 30px; line-height: 1; color: var(--bronze); }
.steps3 p { color: var(--steel); font-size: 15px; margin-block-start: var(--s1); }
@media (min-width: 900px) {
  .of-head { grid-template-columns: 1fr 1fr; align-items: end; column-gap: var(--s8); margin-block-end: var(--s6); }
  .floor { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s5); align-items: start; }
  .fl-scroll { overflow: visible; }
  .fl-canvas { width: 100%; }
  .uc-list { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(3, 1fr); max-height: 360px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }
  .uc { min-width: 0; }
  .steps3 { grid-template-columns: repeat(3, 1fr); border: 0; column-gap: var(--s6); }
  .steps3 li { border-block: 1px solid var(--hair); }
}

/* ── 6 · фильм ── */
.film { padding-block: 0; }
.film-card { position: relative; display: block; width: 100%; aspect-ratio: 4/5; overflow: hidden; isolation: isolate; text-align: start; }
.film-card picture { position: absolute; inset: 0; z-index: -2; }
.film-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.film-card:hover img { transform: scale(1.03); }
.film-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at center, rgba(13,17,23,.72), rgba(13,17,23,.38) 70%, rgba(13,17,23,.6)); }
.film-in > span:last-child { color: var(--stone); opacity: .85; }
.film-in { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: var(--s5); padding: var(--gutter); text-align: center; }
.film-play { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: rgba(237,232,223,.12); border: 1px solid rgba(237,232,223,.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .4s var(--ease), background-color .3s; }
.film-card:hover .film-play { transform: scale(1.06); background: var(--bronze); color: var(--night); }
.film-play svg { width: 28px; height: 28px; margin-left: 4px; }
.film-in h2 { font-weight: 300; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.1; }
.film-in span { color: var(--steel); font-size: 15px; }
@media (min-width: 900px) { .film-card { aspect-ratio: 21/9; } }

/* ── 7 · расположение: светлая карта + «что рядом» ── */
.loc-head { display: grid; gap: var(--s4); margin-block-end: var(--s6); }
.loc-grid { display: grid; gap: var(--s3); }
.mapbox { position: relative; height: 440px; border-radius: var(--r-2); overflow: hidden; background: #ece8e1; isolation: isolate; }
.map-poster { position: absolute; inset: 0; z-index: 0; transition: opacity .8s var(--ease); }
.map-poster img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.8); }
.mapbox.ready .map-poster { opacity: 0; pointer-events: none; }
.map-gl, .map-gl.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; direction: ltr; opacity: 0; transition: opacity .8s var(--ease); }
.mapbox.ready .map-gl { opacity: 1; }
.map-ui { position: absolute; z-index: 3; inset-block-start: var(--s3); inset-inline-end: var(--s3); display: grid; gap: 6px; }
.mb { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r); background: rgba(255,255,255,.92); border: 1px solid rgba(18,21,27,.12); color: #2a2f37; font-size: 20px; line-height: 1;
  box-shadow: 0 2px 8px rgba(18,21,27,.08); }
.mb svg { width: 18px; height: 18px; }
.mb-t { font-size: 12px; font-weight: 500; }
.mb-t[aria-pressed="true"] { color: #fff; background: #12151b; border-color: #12151b; }
.mapbox:not(.ready) .map-ui { display: none; }
.near { display: grid; gap: var(--s3); padding: var(--s5); border-radius: var(--r-2); background: var(--slate); border: 1px solid var(--hair); align-content: start; }
.near-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.mc-k { font-size: 13px; color: var(--bronze); }
.near-note { font-size: 12px; color: var(--steel); }
.near-list { display: grid; }
.nb { width: 100%; display: grid; grid-template-columns: 40px 1fr auto; gap: var(--s3); align-items: center; min-height: 64px; padding: var(--s2) 0; border-block-end: 1px solid var(--hair); text-align: start; transition: background-color .2s; }
.near-list li:last-child .nb { border-block-end: 0; }
.nb-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.nb-ic svg { width: 20px; height: 20px; }
.nb-bus { background: #4f6d8a; } .nb-mall { background: #a8814d; } .nb-train { background: #3b4553; } .nb-lrt { background: #9b3b3b; }
.nb-t b { display: block; font-weight: 400; font-size: 16px; line-height: 1.3; }
.nb-t small { display: block; font-size: 13px; color: var(--steel); line-height: 1.4; }
.nb-d { font-size: 15px; color: var(--stone); white-space: nowrap; font-variant-numeric: tabular-nums; }
.nb:hover .nb-t b, .nb[aria-pressed="true"] .nb-t b { color: var(--bronze); }
.nb[aria-pressed="true"] .nb-ic { box-shadow: 0 0 0 2px var(--slate), 0 0 0 4px var(--bronze); }
.mc-go { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-block-start: var(--s2); }
.mc-go .btn { min-height: 48px; padding-inline: var(--s3); font-size: 15px; }
.map-attr { margin-block-start: var(--s2); font-size: 11px; color: var(--steel); opacity: .7; }
.map-attr a { text-decoration: underline; text-underline-offset: 2px; }
/* метки */
.pin { position: relative; width: 0; height: 0; cursor: pointer; }
.pin .c { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 2px solid #fff; box-shadow: 0 3px 10px rgba(18,21,27,.25); }
.pin .c svg { width: 16px; height: 16px; }
.pin .lb { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); white-space: nowrap; font: 500 12px/1 var(--f); color: #1d222a; background: #fff; padding: 6px 9px; border-radius: 999px; box-shadow: 0 3px 10px rgba(18,21,27,.18); }
.pin.bus .c { left: -9px; top: -9px; width: 18px; height: 18px; border-width: 2px; }
.pin.bus .c svg { width: 10px; height: 10px; }
.pin.bus .lb { display: none; bottom: 14px; }
.pin.bus:hover .lb, .pin.on .lb { display: block; }
.pin.muted { opacity: .35; }
.tw-pin { position: relative; width: 0; height: 0; z-index: 5; }
.tw-pin .dot { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: #a8814d; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(18,21,27,.35); }
.tw-pin .ring { position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #a8814d; animation: twPulse 2.4s ease-out infinite; }
.tw-pin .lbl { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); white-space: nowrap; font: 500 13px/1 var(--f); color: #fff; background: #12151b; padding: 8px 12px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.tw-pin .lbl::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: #12151b; transform: translateX(-50%) rotate(45deg); }
@keyframes twPulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.maplibregl-cooperative-gesture-screen { font: 15px/1.4 var(--f); }
.maplibregl-ctrl-attrib { display: none !important; }
@media (min-width: 900px) {
  .loc-head { grid-template-columns: 1fr 1fr; align-items: end; column-gap: var(--s8); margin-block-end: var(--s6); }
  .loc-grid { grid-template-columns: 360px minmax(0, 1fr); gap: var(--s4); }
  .near { order: -1; padding: var(--s6) var(--s5); align-self: start; }
  .mapbox { height: min(72vh, 640px); }
  .map-ui { inset-block-start: var(--s4); inset-inline-end: var(--s4); }
}
@media (prefers-reduced-motion: reduce) { .tw-pin .ring { animation: none; opacity: .5; } }

/* ── 8 · в цифрах: полоса фактов ── */
.facts-band { padding-block: 0 var(--sec); }
.facts-band .eyebrow { margin-block-end: var(--s4); font-weight: 400; }
.fb { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-block-start: 1px solid var(--hair); }
.fb li { display: grid; gap: var(--s2); align-content: start; padding: var(--s4) var(--s3) var(--s4) 0; border-block-end: 1px solid var(--hair); }
.fb li:nth-child(odd) { border-inline-end: 1px solid var(--hair); }
.fb li:nth-child(even) { padding-inline-start: var(--s4); }
.fb b { display: flex; align-items: baseline; gap: 6px; font-weight: 300; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.fb b small { font-size: 14px; font-weight: 400; color: var(--bronze); }
.fb span { font-size: 14px; line-height: 1.4; color: var(--steel); }
@media (min-width: 900px) {
  .fb { grid-template-columns: repeat(6, 1fr); border-block: 1px solid var(--hair); }
  .fb li, .fb li:nth-child(odd), .fb li:nth-child(even) { padding: var(--s5) var(--s4); border-block-end: 0; border-inline-end: 0; border-inline-start: 1px solid var(--hair); }
  .fb li:first-child { border-inline-start: 0; padding-inline-start: 0; }
  .fb b { font-size: 40px; }
}

/* ── 9 · условия: карточка оффера ── */
.of-card { position: relative; display: grid; gap: var(--s5); padding: var(--s6) var(--s5); border-radius: var(--r-2); background: var(--slate);
  border: 1px solid rgba(201,160,106,.35); overflow: hidden; isolation: isolate; }
.of-num { font-weight: 300; font-size: 112px; line-height: .8; color: var(--bronze); justify-self: start; pointer-events: none; user-select: none; }
.of-body { display: grid; gap: var(--s4); justify-items: start; }
.of-body .h2 { max-width: 12em; }
.of-body .h2 .mark { display: block; }
.of-tags { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); }
.of-tags li { font-size: 14px; line-height: 1; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--hair-2); color: var(--stone); }
.of-note { font-size: 15px; color: var(--steel); }
.of-cta { display: grid; grid-template-columns: 1fr; gap: var(--s2); width: 100%; margin-block-start: var(--s2); }
@media (min-width: 900px) {
  .of-card { grid-template-columns: 5fr 7fr; align-items: center; padding: var(--s7) var(--s7); gap: var(--s7); }
  .of-num { font-size: clamp(260px, 26vw, 380px); justify-self: center; }
  .of-cta { grid-template-columns: auto auto; justify-content: start; width: auto; }
}

/* ── 10 · вопросы ── */
.faq .grid { display: grid; gap: var(--s5); }
.faq-side { display: grid; gap: var(--s3); align-content: start; }
.ask-card { display: none; }
.qa details { border-block-end: 1px solid var(--hair); }
.qa details:first-child { border-block-start: 1px solid var(--hair); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 68px; padding-block: var(--s4); font-size: 18px; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover, .qa details[open] summary { color: var(--bronze); }
.qa summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hair-2); position: relative; transition: border-color .3s, background-color .3s; }
.qa summary .pm::before, .qa summary .pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1px; background: var(--stone); transform: translate(-50%, -50%); }
.qa summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.qa details[open] .pm { border-color: var(--bronze); background: var(--bronze); }
.qa details[open] .pm::before, .qa details[open] .pm::after { background: var(--night); }
.qa details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.qa .a { display: grid; gap: var(--s3); justify-items: start; padding-block-end: var(--s5); padding-inline-end: 48px; color: var(--steel); }
.qa .a p { max-width: 40em; }
.qa details[open] .a { animation: qaIn .35s var(--ease); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.qa-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; color: var(--bronze); }
.qa-more:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 900px) {
  .faq .grid { grid-template-columns: 4fr 7fr; gap: var(--s8); }
  .faq-side { position: sticky; top: calc(var(--header-h) + var(--s5)); gap: var(--s4); }
  .ask-card { display: grid; gap: var(--s2); margin-block-start: var(--s5); padding: var(--s5); border-radius: var(--r-2); border: 1px solid var(--hair); background: var(--slate); }
  .ask-card b { font-weight: 400; font-size: 20px; }
  .ask-card p { font-size: 15px; color: var(--steel); }
  .ask-btns { display: flex; flex-wrap: wrap; gap: var(--s2); margin-block-start: var(--s3); }
  .ask-btns .btn { min-height: 46px; padding-inline: var(--s4); font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .qa details[open] .a { animation: none; } }

/* ── 11 · контакт: светлая карточка формы ── */
.contact { position: relative; padding-block: var(--sec); background: var(--slate); overflow: hidden; isolation: isolate; }
.ct-bg { display: none; }
.ct-in { display: grid; gap: var(--s6); }
.ct-copy { display: grid; gap: var(--s3); align-content: start; }
.ct-copy .lead { max-width: 28em; }
.direct { display: none; }
/* поля: плавающая подпись, ошибки, согласие */
.fl { position: relative; }
.fl label { position: absolute; inset-inline-start: var(--s4); top: 19px; font-size: 16px; pointer-events: none; transition: top .2s var(--ease), font-size .2s var(--ease), color .2s; }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label { top: 8px; font-size: 12px; }
.err { font-size: 13px; margin-block-start: var(--s1); display: none; }
.err.on { display: block; }
.check { display: grid; grid-template-columns: 44px 1fr; gap: var(--s2); align-items: center; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 44px; height: 44px; margin: 0; cursor: pointer; border-radius: var(--r); }
.check input:focus-visible { outline: 2px solid #a8814d; outline-offset: -4px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.sent { display: none; }
/* карточка */
.fcard { --ink: #12151b; --ink-2: #4b5059; --line: #d9d3c8; --paper: #f5f1ea;
  position: relative; padding: var(--s5); border-radius: 14px; background: var(--paper); color: var(--ink);
  box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(201,160,106,.5); }
.fcard::before { content: ""; position: absolute; inset-inline: var(--s5); inset-block-start: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--bronze); }
.fc-head { display: grid; gap: var(--s3); margin-block-end: var(--s5); }
.fc-head h3 { font-weight: 400; font-size: 26px; line-height: 1.15; }
.fc-offer { display: inline-flex; align-items: center; gap: var(--s3); justify-self: start; font-size: 14px; line-height: 1.35; padding-block: 6px; padding-inline: 6px 14px; border-radius: 999px; background: #ece4d6; color: #5a4524; }
.fc-offer .n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bronze); color: var(--ink); font-weight: 500; }
.fcard .form { display: grid; gap: var(--s4); }
.fcard .row2 { display: grid; gap: var(--s3); }
.fcard .fl input { height: 58px; padding: 22px var(--s4) 6px; font: inherit; font-size: 17px; width: 100%; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.fcard .fl input:focus { border-color: #a8814d; box-shadow: 0 0 0 3px rgba(201,160,106,.25); outline: none; }
.fcard .fl label { color: #5c6068; }
.fcard .fl input:focus + label, .fcard .fl input:not(:placeholder-shown) + label { color: #8a6a3d; }
.fcard .fl input[aria-invalid="true"] { border-color: #c4523f; }
.fcard .err { color: #b2402e; }
.chips-f { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s2); min-width: 0; }
.chips-f legend { padding: 0; margin-block-end: var(--s2); font-size: 14px; color: var(--ink-2); }
.chips-r { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding-inline: var(--s4); border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; color: #12151b; transition: background-color .12s, border-color .12s, color .12s; }
.chip:hover span { border-color: #b9ab93; }
.chip input:checked + span { background: #12151b; border-color: #12151b; color: #fff; }
.chip input:focus-visible + span { outline: 2px solid #a8814d; outline-offset: 2px; }
.btn-dark { background: var(--ink, #12151b); color: #fff; }
.btn-dark:hover { background: #262b33; }
.fc-submit { width: 100%; min-height: 58px; font-size: 17px; border: 0; cursor: pointer; font-family: inherit; }
.fcard .check { color: var(--ink-2); grid-template-columns: 44px 1fr; }
.fcard .check input { background: linear-gradient(#fff, #fff) center / 20px 20px no-repeat, linear-gradient(#b9ab93, #b9ab93) center / 22px 22px no-repeat; }
.fcard .check input:checked { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23fff' stroke-width='2.5'/%3E%3C/svg%3E") center / 16px 16px no-repeat, linear-gradient(#12151b, #12151b) center / 22px 22px no-repeat; }
.fcard .legal { color: var(--ink-2); font-size: 13px; margin-block-start: calc(var(--s2) * -1); }
.fcard .sent { display: none; text-align: center; justify-items: center; gap: var(--s3); padding: var(--s5) 0; border: 0; background: none; }
.fcard .form.done { display: none; } .fcard .form.done + .sent { display: grid; }
.sent-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bronze); color: var(--ink); }
.sent-ic svg { width: 26px; height: 26px; }
.fcard .sent h3 { font-weight: 400; font-size: 28px; }
.fcard .sent p { color: var(--ink-2); }
.fcard .tbd { color: #9a6b10; border-bottom-color: rgba(154,107,16,.5); font-size: 12px; }
@media (min-width: 640px) { .fcard .row2 { grid-template-columns: 1fr 1fr; } .fcard { padding: var(--s6); } .fcard::before { inset-inline: var(--s6); } }
@media (min-width: 1000px) {
  .contact { padding-block: var(--s9); background: var(--night); }
  .ct-bg { display: block; position: absolute; inset: 0; z-index: -1; }
  .ct-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
  .ct-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(13,17,23,.96) 0, rgba(13,17,23,.86) 40%, rgba(13,17,23,.45) 75%, rgba(13,17,23,.35) 100%); }
  .ct-in { grid-template-columns: minmax(0, 1fr) 540px; gap: var(--s8); align-items: center; }
  .direct { display: grid; gap: var(--s2); margin-block-start: var(--s4); max-width: 420px; }
  .direct a, .direct button { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: var(--s3); padding: var(--s3); border: 1px solid var(--hair); border-radius: var(--r-2); text-align: start; background: rgba(13,17,23,.4); transition: border-color .2s; }
  .direct a:hover, .direct button:hover { border-color: var(--bronze); }
  .direct .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--slate); display: grid; place-items: center; color: var(--bronze); }
  .direct .ic svg { width: 20px; height: 20px; }
  .direct b { display: block; font-weight: 500; }
  .direct small { color: var(--steel); font-size: 14px; }
  .fc-head h3 { font-size: 30px; }
}
/* когда видна форма, нижняя панель телефона не нужна */
body.at-form .dock { opacity: 0; pointer-events: none; transform: translateY(16px); }

/* ── подвал ── */
.foot { padding-block: var(--s6) calc(var(--s6) + 76px); border-block-start: 1px solid var(--hair); overflow: hidden; }
.foot .big { direction: ltr; font-weight: 300; font-size: min(8.4vw, 112px); line-height: .9; color: var(--slate-2); white-space: nowrap; letter-spacing: -.01em; text-align: center; }
.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4) var(--s6); margin-block-start: var(--s6); font-size: 14px; color: var(--steel); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.foot nav a { min-height: 44px; display: inline-flex; align-items: center; }
.foot nav a:hover { color: var(--stone); }
@media (min-width: 900px) { .foot { padding-block-end: var(--s6); } }

/* ── закреплённая панель (телефон), консультант, просмотрщики ── */
.dock { position: fixed; z-index: 50; inset-inline: var(--s3); inset-block-end: calc(var(--s3) + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 54px 54px; gap: var(--s2);
  padding: 6px; border-radius: 999px; background: rgba(21,27,35,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--hair);
  transform: translateY(140%); transition: transform .35s var(--ease); }
.dock.on { transform: none; }
.dock .btn { min-height: 48px; padding-inline: var(--s4); }
.dock .ib { width: 54px; height: 48px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--hair-2); }
.dock svg { width: 20px; height: 20px; }
.ask { display: none; }
@media (min-width: 900px) {
  .dock { display: none; }
  .ask { display: inline-flex; position: fixed; z-index: 50; inset-block-end: var(--s5); inset-inline-start: var(--s5); align-items: center; gap: var(--s3);
    min-height: 56px; padding-inline: var(--s2) var(--s5); border-radius: 999px; background: rgba(21,27,35,.92); border: 1px solid var(--hair-2); backdrop-filter: blur(12px);
    opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
  .ask.on { opacity: 1; transform: none; pointer-events: auto; }
  .ask .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--bronze); color: var(--night); display: grid; place-items: center; }
  .ask svg { width: 18px; height: 18px; }
}
.chat { position: fixed; z-index: 80; inset-inline: var(--s3); inset-block-end: var(--s3); max-width: 400px; margin-inline-start: auto; background: var(--slate); border: 1px solid var(--hair-2);
  border-radius: 16px; padding: var(--s5); box-shadow: 0 24px 64px rgba(0,0,0,.5); display: none; }
.chat.open { display: block; }
.chat-head { display: flex; align-items: center; gap: var(--s3); }
.chat-head .av { width: 40px; height: 40px; border-radius: 50%; background: var(--bronze); color: var(--night); display: grid; place-items: center; font-weight: 500; }
.chat-head small { display: block; font-size: 12px; color: var(--leaf); }
.chat .x { margin-inline-start: auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--steel); }
.bubble { margin-block: var(--s5); padding: var(--s4); border-radius: 12px; background: var(--night); color: var(--steel); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-block-end: var(--s4); }
.chips a { min-height: 40px; display: inline-flex; align-items: center; padding-inline: var(--s4); border-radius: 999px; border: 1px solid var(--hair-2); font-size: 14px; }
.chat .btn { width: 100%; }
@media (min-width: 900px) { .chat { inset-inline: var(--s5) auto; inset-block-end: calc(var(--s5) + 72px); width: 400px; } }

dialog { border: 0; padding: 0; background: transparent; color: var(--stone); max-width: none; max-height: none; width: 100%; height: 100%; }
dialog::backdrop { background: rgba(5,7,10,.94); }
.dlg { position: fixed; inset: 0; display: grid; place-items: center; padding: var(--s8) var(--s3) var(--s5); }
.dlg video { width: min(100%, 1400px); max-height: 82vh; border-radius: var(--r-2); background: #000; }
.dlg .x { position: fixed; inset-block-start: var(--s4); inset-inline-end: var(--s4); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--hair-2); display: grid; place-items: center; background: rgba(13,17,23,.6); }
.dlg .x svg { width: 18px; height: 18px; }
.lb figure { display: grid; gap: var(--s3); justify-items: center; }
.lb img { max-width: min(100%, 1500px); max-height: 80vh; border-radius: var(--r); }
.lb figcaption { color: var(--steel); font-size: 14px; }
.lb .nav-b { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--hair-2); display: grid; place-items: center; background: rgba(13,17,23,.6); }
.lb .prev { inset-inline-start: var(--s4); } .lb .next { inset-inline-end: var(--s4); }
.lb .nav-b svg { width: 20px; height: 20px; }

/* появление при прокрутке */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* метка черновика — только превью */
.draft { position: fixed; z-index: 90; top: calc(var(--header-h) + 8px); left: 8px; font: 12px/1 system-ui, sans-serif; padding: 6px 10px; border-radius: 12px; background: #e3b35a; color: #12151b; pointer-events: none; }
.tbd { color: #e3b35a; border-bottom: 1px dashed rgba(227,179,90,.7); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
.hdr .logo { display: flex; align-items: center; min-height: 44px; }

.hero .eyebrow { justify-self: start; }

/* заголовок первого экрана: марка + «офисы в аренду» (просьба владельца 02.10) */
.h1 { display: grid; gap: var(--s2); font-weight: 300; line-height: 1; max-width: none; }
.h1-brand { display: block; font-size: clamp(44px, 11.5vw, 120px); line-height: .95; letter-spacing: -.01em; }
.h1-what { display: inline-flex; align-items: center; gap: var(--s3); justify-self: start; font-weight: 400; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.1; color: var(--bronze); }
.h1-what::before { content: ""; width: clamp(24px, 3vw, 48px); height: 1px; background: currentColor; }

/* типографика: без висячих слов и без разрывов внутри «числа + единицы» */
.h1, .h2, .display, .statement, .film-in h2, .stop h3, .panel .copy h3, .tile h3, .h3, .qa summary { text-wrap: balance; }
p, .lead, .qa .a, .tile p, .stop p, .process p, .spec dd { text-wrap: pretty; }
bdi, .ltr, .nw { white-space: nowrap; }
.h1-brand { justify-self: start; width: fit-content; }

/* ── 2 · «Здание уже стоит»: лаконично, без лишнего воздуха (просьба владельца 02.10) ── */
.hero-in { padding-block-end: var(--s5); }
.intro { padding-block: var(--s6) var(--s6); }
.intro-in { display: grid; gap: var(--s5); padding-block-start: var(--s6); border-block-start: 1px solid var(--hair); }
.intro-main { display: grid; gap: var(--s4); }
.intro .statement { font-weight: 300; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.22; max-width: 19em; }
.intro .statement .mark { font-weight: 400; }
.intro-side { display: grid; gap: var(--s4); align-content: end; }
.intro-side p { font-size: 17px; line-height: 1.6; color: var(--steel); max-width: 26em; }
.intro-tags { display: flex; flex-wrap: wrap; gap: var(--s2); }
.intro-tags li { font-size: 13px; line-height: 1; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--hair-2); color: var(--stone); }
.intro-tags li:first-child { border-color: rgba(201,160,106,.55); color: var(--bronze); }
@media (min-width: 900px) {
  .intro { padding-block: var(--s6) var(--s7); }
  .intro-in { grid-template-columns: 7fr 4fr; column-gap: var(--s9); align-items: end; padding-block-start: var(--s6); }
}
@media (max-width: 899px) { .intro + .tour { padding-block-start: var(--s7); } }

/* латинская марка внутри ивритской строки: место под «хвост» последней буквы (r срезалась у края, 02.10) */
bdi[dir="ltr"] { padding-inline-end: .08em; }
.h1-brand { padding-inline-end: .06em; }

/* во время экскурсии плавающие кнопки не перекрывают ленту остановок */
body.in-tour .ask, body.in-tour .dock { opacity: 0; pointer-events: none; transform: translateY(16px); }
@media (max-width: 699px) { .feats .feat-cta { display: none; } }
.fl-plan { scroll-margin-top: calc(var(--header-h) + var(--s3)); }

/* единый ритм: заголовки блоков ближе к содержимому (владелец 02.10: «огромные расстояния») */
.sec .h2[style*="margin-block-start:24px"] { margin-block-start: var(--s3) !important; }
.sec .lead[style*="margin-block-start:20px"] { margin-block-start: var(--s3) !important; }
.bldg-in { gap: var(--s5); }
@media (min-width: 1100px) { .bldg-in { gap: var(--s6); } }
.contact .grid[style] { margin-block-start: var(--s6) !important; }
.faq .qa { margin-block-start: 0; }
.fb b.fb-w { font-size: 30px; }
@media (min-width: 900px) { .fb b.fb-w { font-size: 34px; } }

/* ── LTR (ru/en): зеркалим стрелки и направленные затемнения ── */
[dir="ltr"] .qa-more svg, [dir="ltr"] .lb .nav-b svg, [dir="ltr"] .direct .arr { transform: scaleX(-1); }
@media (min-width: 900px) {
  [dir="ltr"] .hero::after { background: linear-gradient(to bottom, rgba(13,17,23,.6) 0, rgba(13,17,23,0) 22%, rgba(13,17,23,.2) 45%, rgba(13,17,23,.88) 74%, var(--night) 100%), linear-gradient(to right, rgba(13,17,23,.55) 0, rgba(13,17,23,0) 55%); }
}
@media (min-width: 1000px) {
  [dir="ltr"] .ct-bg::after { background: linear-gradient(to right, rgba(13,17,23,.96) 0, rgba(13,17,23,.86) 40%, rgba(13,17,23,.45) 75%, rgba(13,17,23,.35) 100%); }
  [dir="ltr"] .ct-bg img { object-position: 70% 50%; }
}
[dir="ltr"] .h1, [dir="ltr"] .h2, [dir="ltr"] .display { letter-spacing: -.01em; }
.fc-wa-note { font-size: 13px; color: #4b5059; text-align: center; margin-block-start: calc(var(--s2) * -1); }

html[lang="ru"] { --render-lbl: "Визуализация"; }
html[lang="en"] { --render-lbl: "Rendering"; }
