﻿/* ============================================================================
   /stalinki — Сталинки ЦАО. Стили страницы-хаба.
   Подключается ПОСЛЕ ../../colors_and_type.css и site.css.
   Палитра / типографика / мотивы — строго из эталона (index.html):
   навы #272F42 · тиловый #39474A · терракота #BB5C3C · песок #D1C5BC ·
   офф-вайт #EDECEB. Углы квадратные, хэйрлайны @20%, без теней.
   ========================================================================== */

/* ============================ ШАПКА (общая система) ===================== */
.st-topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
.st-topbar__row { display: flex; align-items: center; justify-content: space-between;
  padding-top: 34px; padding-bottom: 34px; }
.st-topbar .brand img { height: 48px; width: auto; display: block; }
.st-topbar__right { display: flex; align-items: center; gap: 30px; }
.st-topnav { display: flex; align-items: center; gap: 34px; }
.st-topnav a { font-size: 18px; text-decoration: none; color: var(--platinum); opacity: .92; }
.st-topnav a:hover { color: var(--orange); opacity: 1; }
.st-topbar__phone { color: var(--platinum); font-size: 18px; text-decoration: none; white-space: nowrap; }
.st-topbar .brand { flex: none; }
.st-menu-btn { display: inline-flex; align-items: center; gap: 11px; background: none; border: 0;
  color: var(--platinum); cursor: pointer; font-family: var(--font-sans); font-size: 18px;
  letter-spacing: .04em; }
.st-menu-btn .bars { width: 16px; display: flex; flex-direction: column; gap: 3px; }
.st-menu-btn .bars i { height: 1.5px; background: var(--platinum); display: block; }
@media (max-width: 1080px){ .st-topnav, .st-topbar__phone { display: none; } }

/* Меню-оверлей */
.st-overlay { overflow-y: auto; overscroll-behavior: contain; position: fixed; inset: 0; z-index: 60; background: var(--pear); color: var(--platinum);
  transform: translateY(-100%); transition: transform .5s var(--ease); display: flex; flex-direction: column;
  padding: 34px 70px; }
.st-overlay.open { transform: translateY(0); }
.st-overlay__top { display: flex; justify-content: space-between; align-items: center; }
.st-overlay__top img { height: 46px; }
.st-overlay__top button { background: none; border: 0; color: var(--platinum); font-family: var(--font-sans);
  font-size: 18px; letter-spacing: .04em; cursor: pointer; }
.st-overlay nav { margin: auto 0; display: flex; flex-direction: column; gap: 2px; }
.st-overlay nav a { font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: 52px; line-height: 1.12; text-decoration: none; color: var(--platinum); }
.st-overlay nav a:hover { color: var(--orange); }
.st-overlay__foot { display: flex; gap: 34px; flex-wrap: wrap; color: var(--on-dark-70); font-size: 16px; }
@media (max-width: 560px){ .st-overlay{ padding: 26px 22px; } .st-overlay nav a{ font-size: 34px; } }

/* ============================ ФУТЕР (общая система) ===================== */
.st-foot { position: relative; background: var(--space); color: var(--platinum); overflow: hidden; }
.st-foot__wave { position: absolute; inset: 0; background: url(../../assets/pattern-waves.png) center/520px;
  opacity: .03; filter: invert(1); pointer-events: none; }
.st-foot__in { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 70px; }
.st-foot__brand { display: flex; align-items: flex-start; gap: 120px; flex-wrap: wrap; }
.st-foot__brand img { height: 54px; }
.st-foot__brand p { max-width: 480px; font-size: 18px; line-height: 1.5; color: var(--on-dark); }
.st-foot__cols { display: grid; grid-template-columns: repeat(4, auto); gap: 56px; margin-top: 80px; }
.st-foot__cols h4 { font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 22px; }
.st-foot__cols a { display: block; font-size: 17px; text-decoration: none; color: var(--platinum); opacity: .78; margin-bottom: 13px; }
.st-foot__cols a:hover { color: var(--orange); opacity: 1; }
.st-legal { position: relative; z-index: 2; background: var(--orange); }
.st-legal__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-top: 12px; padding-bottom: 12px; color: var(--platinum); font-size: 15px; }
@media (max-width: 880px){ .st-foot__cols { grid-template-columns: 1fr 1fr; gap: 40px; } .st-foot__brand{ gap: 40px; } }
@media (max-width: 560px){ .st-foot__cols { grid-template-columns: 1fr; } }

/* ---- Заголовки секций (общий ритм) -------------------------------------- */
.st-secthead { display: flex; flex-direction: column; gap: 22px; margin-bottom: 70px; }
.st-secthead--center { align-items: center; text-align: center; }
.st-secthead .st-eyebrow { margin: 0; }
.st-h2 { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 1.0; word-spacing: -0.06em; text-wrap: balance;
  letter-spacing: -.005em; color: var(--ink); max-width: 18ch; }
.st-section--dark .st-h2, .st-section--space .st-h2 { color: var(--platinum); }
.st-secthead--center .st-h2 { max-width: 22ch; }
.st-section--dark .st-secthead .st-eyebrow, .st-section--space .st-secthead .st-eyebrow { color: var(--orange); }
.st-intro { font-size: 19px; line-height: 1.5; color: var(--ink-60); max-width: 60ch; }
.st-secthead--center .st-intro { max-width: 52ch; }
.st-section--dark .st-intro, .st-section--space .st-intro { color: var(--on-dark-70); }
@media (max-width: 700px){ .st-h2 { font-size: 36px; } .st-secthead { margin-bottom: 46px; } }

/* ---- Сброс (эталон: всё на border-box) ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* ---- Базовая сетка страницы --------------------------------------------- */
.st { background: var(--paper); color: var(--ink); }
.st a { text-decoration: none; }
.st-wrap { width: 1440px; max-width: 100%; margin: 0 auto; }
.st-pad  { padding-left: 70px; padding-right: 70px; }
/* Мобильный гейт горизонт-скролла (§9): внутренние overflow-x:auto-скроллеры
   (.vh-table-wrap — таблица min-width:720; .st-trust__tags) пропускают intrinsic-ширину
   контента в body.scrollWidth на ≤375 (Chromium nested-scroller). overflow-x:clip на
   обёртке гасит фантомный leak, сохраняя внутренний скролл таблицы. Только мобайл —
   на десктопе clip сломал бы position:sticky у .st-trust__media (там .st-trust 1-колоночный). */
@media (max-width: 700px){ .st-wrap{ overflow-x: clip; } }
@media (max-width: 1100px){ .st-pad{ padding-left: 6vw; padding-right: 6vw; } }
@media (max-width: 560px){ .st-pad{ padding-left: 22px; padding-right: 22px; } }

.st-section { padding-top: 140px; padding-bottom: 140px; }
@media (max-width: 1100px){ .st-section{ padding-top: 96px; padding-bottom: 96px; } }
@media (max-width: 560px){ .st-section{ padding-top: 68px; padding-bottom: 68px; } }
.st-section--dark  { background: var(--pear);  color: var(--platinum); }
.st-section--space { background: var(--space); color: var(--platinum); }

/* Надзаголовок-eyebrow (трекинг, капс).
   Решение владельца В-1 (11.06.2026): нумерованные кикеры скрываем display:none ВЕЗДЕ,
   текст остаётся в DOM (SEO-сущности целы). Функциональные лейблы (.st-btn__lab) — не eyebrow, не затронуты. */
.st-eyebrow { display: none; font-family: var(--font-label); font-weight: 500; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.st-section--dark .st-eyebrow, .st-section--space .st-eyebrow { color: var(--orange); }

/* Искра-буллет (4-лучевая звезда) */
.st-spark { width: 16px; height: 16px; flex: none; background: currentColor;
  clip-path: polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%); }
.st-spark--orange { background: var(--orange); }

/* Плейсхолдер изображения (фото подставим позже) — квадрат в палитре,
   тонкая диагональная штриховка + моно-подпись «что сюда встанет». */
.st-ph { position: relative; overflow: hidden; background: var(--krayola);
  background-image: repeating-linear-gradient(45deg, rgba(39,47,66,.07) 0 2px, transparent 2px 11px);
  display: flex; align-items: flex-end; }
.st-ph::after { content: attr(data-ph); font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-60);
  padding: 14px 16px; line-height: 1.35; max-width: 80%; }
.st-ph--dark { background: var(--pear);
  background-image: repeating-linear-gradient(45deg, rgba(237,236,235,.06) 0 2px, transparent 2px 11px); }
.st-ph--dark::after { color: var(--on-dark-70); }
.st-ph--center { align-items: center; justify-content: center; }
.st-ph--center::after { text-align: center; }

/* Угловые кроп-метки (как в типографике эталона) */
.st-crop { position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 4; }
.st-crop::before, .st-crop::after { content:""; position: absolute; background: currentColor; }
.st-crop::before { width: 18px; height: 1.5px; top: 0; left: 0; }
.st-crop::after  { width: 1.5px; height: 18px; top: 0; left: 0; }
.st-crop.tr { right: 0; transform: scaleX(-1); }
.st-crop.bl { bottom: 0; transform: scaleY(-1); }
.st-crop.br { right: 0; bottom: 0; transform: scale(-1,-1); }

/* Фирменная кнопка (надпись + тёмная квадрат-крышка с шевроном -45°) */
.st-btn { display: inline-flex; height: 50px; cursor: pointer; text-decoration: none;
  font-family: var(--font-sans); width: max-content; border: 0; background: none; }
.st-btn__lab { display: flex; align-items: center; padding: 0 28px; font-size: 20px;
  color: var(--platinum); white-space: nowrap; }
.st-btn__cap { width: 50px; display: flex; align-items: center; justify-content: center;
  transition: width .3s var(--ease); }
.st-btn__cap svg { width: 13px; height: 13px; transform: rotate(-45deg); color: var(--platinum); }
.st-btn:hover .st-btn__cap { width: 60px; }
.st-btn--orange .st-btn__lab { background: var(--orange); }
.st-btn--orange .st-btn__cap { background: var(--orange-deep); }
.st-btn--navy   .st-btn__lab { background: var(--pear); }
.st-btn--navy   .st-btn__cap { background: var(--pear-deep); }
.st-btn--ghost  .st-btn__lab { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.st-btn--ghost  .st-btn__cap { background: var(--pear); }

/* ============================ S1 · ГЕРО ================================== */
.st-hero { position: relative; min-height: 100vh; background: var(--pear-ink);
  display: flex; flex-direction: column; overflow: hidden; padding-bottom: 56px; }
.st-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-hero__veil-t { position: absolute; left: 0; right: 0; top: 0; height: 200px;
  background: linear-gradient(180deg, rgba(18,16,24,.5) 0%, rgba(18,16,24,0) 100%); }
.st-hero__veil-b { position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
  background: linear-gradient(0deg, rgba(18,16,24,.74) 12%, rgba(18,16,24,.34) 50%, rgba(18,16,24,0) 100%); }
.st-hero__veil-l { position: absolute; top: 0; bottom: 0; left: 0; width: 30%;
  background: linear-gradient(90deg, rgba(18,16,24,.46) 24%, rgba(18,16,24,0) 100%); }
.st-hero__veil-r { position: absolute; top: 0; bottom: 0; right: 0; width: 26%;
  background: linear-gradient(270deg, rgba(18,16,24,.34) 20%, rgba(18,16,24,0) 100%); }
/* scrim · контраст текста на фото @375 (фото не трогаем, усиливаем только затемнение под текстом) */
@media (max-width: 560px){
  .st-hero__veil-b{ height:82%; background:linear-gradient(0deg, rgba(18,16,24,.9) 0%, rgba(18,16,24,.56) 44%, rgba(18,16,24,0) 100%); }
  .st-hero__veil-t{ height:32%; background:linear-gradient(180deg, rgba(18,16,24,.62) 0%, rgba(18,16,24,0) 100%); }
}
.st-breadcrumbs { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px;
  font-size: 14px; letter-spacing: .04em; color: var(--on-dark-70); padding-top: 140px; }
.st-breadcrumbs a { color: var(--on-dark-70); text-decoration: none; }
.st-breadcrumbs a:hover { color: var(--orange); }
.st-breadcrumbs .sep { color: rgba(237,236,235,.4); }
.st-breadcrumbs .cur { color: var(--platinum); }
.st-hero__eyebrow-row { position: relative; z-index: 3; display: flex; gap: 22px; flex-wrap: wrap;
  align-items: center; padding-top: 22px; }
.st-hero__eyebrow-row span { font-size: 18px; letter-spacing: .02em; color: var(--on-dark); }
.st-hero__eyebrow-row .dot { color: var(--orange); }

.st-hero h1 { position: relative; z-index: 3; font-family: var(--font-display); font-weight: 400;
  text-transform: uppercase; font-size: clamp(48px, 7.4vw, 104px); line-height: .92;
  letter-spacing: -.015em; color: var(--platinum); margin-top: 50px; max-width: 13ch; }
.st-hero__voice { position: relative; z-index: 3; margin: 22px 0 0; max-width: 46ch;
  font-family: var(--font-display-editorial); font-style: italic;
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--on-dark); }
.st-hero__voice b { font-style: normal; font-weight: 700; color: var(--platinum); }

.st-hero__bottom { position: relative; z-index: 3; border-top: 1px solid var(--line-dark);
  padding-top: 30px; display: grid; grid-template-columns: 1.5fr .8fr; gap: 60px; align-items: end; }
.st-hero__lead { font-size: 20px; line-height: 1.5; color: var(--on-dark); max-width: 600px; margin: 0; }
.st-hero__lead b { font-weight: 700; color: var(--platinum); }

.st-hero__stats { display: flex; margin-top: 0; border-top: 0; }
.st-hstat { padding: 24px 40px 0 0; margin-right: 40px; border-right: 1px solid var(--line-dark); }
.st-hstat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.st-hstat__n { font-family: var(--font-display); font-weight: 400; font-size: 46px; line-height: 1;
  letter-spacing: -.01em; color: var(--platinum); display: flex; align-items: baseline; gap: 12px; }
.st-hstat__n span { font-size: 26px; color: var(--on-dark-70); }
.st-hstat__t { font-size: 14px; line-height: 1.35; color: var(--on-dark-70); margin-top: 14px; max-width: 160px; }

.st-hero__right { padding-bottom: 4px; }
.st-hero__addr-label { font-size: 18px; color: var(--platinum); }
.st-hero__addr { font-size: 19px; line-height: 1.5; color: var(--on-dark); margin: 14px 0 30px; max-width: 40ch; }

.st-hero__cta-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.st-hero__anchor { font-size: 14px; letter-spacing: .03em; color: var(--on-dark-70); text-decoration: none; }
.st-hero__anchor:hover { color: var(--orange); }
.st-hero__anchor .ar { color: var(--orange); padding-left: 4px; }

.vh-intro { font-size: 20px; line-height: 1.55; color: var(--ink); max-width: 70ch; margin: 26px 0 0; }
.vh-intro b { font-weight: 700; }

@media (max-width: 1100px){
  .st-hero__bottom { grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: start; }
  .st-hero__bottom > * { min-width: 0; }
  .st-hero__right { padding-bottom: 0; }
  .st-hero__cta-wrap { align-items: flex-start; }
}
@media (max-width: 700px){
  .st-hero__stats { flex-wrap: wrap; gap: 18px 0; }
  .st-hstat { padding-right: 24px; margin-right: 24px; }
  .st-hstat__n { font-size: 38px; }
}
@media (max-width: 560px){
  .st-hero__cta-wrap { align-self: stretch; gap: 14px; }
  .st-hero__cta-wrap .st-btn { width: 100%; }
  .st-hero__cta-wrap .st-btn__lab { flex: 1; justify-content: center; font-size: 16px; padding: 0 16px; }
}

/* ============================ S2 · ЧТО СЧИТАЕТСЯ ========================= */
.st-def__top { display: grid; grid-template-columns: 1.12fr .88fr; gap: 70px; align-items: start; }
.st-def__lead { font-family: var(--font-display-editorial); font-weight: 500; font-size: 30px;
  line-height: 1.34; letter-spacing: 0; color: var(--ink); }
.st-def__lead .accent { color: var(--orange); font-style: italic; }
.st-def__chips { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.st-def__chip { font-family: var(--font-label); font-weight: 500; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-60); border: 1px solid var(--line); padding: 9px 15px; }
.st-def__chip--period { font-family: var(--font-mono); letter-spacing: .04em; color: var(--orange);
  border-color: rgba(187,92,60,.42); }
.st-def__cols { display: grid; grid-template-columns: 1fr 1fr; margin-top: 62px;
  border-top: 1px solid var(--line); }
.st-def__cols p { font-size: 20px; line-height: 1.5; color: var(--ink); text-align: left;
  text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; padding: 34px 56px 0 0; }
.st-def__cols p:nth-child(2) { border-left: 1px solid var(--line); padding-left: 56px; padding-right: 0; }
.st-def__cols a { color: var(--orange); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
@media (max-width: 1100px){
  .st-def__top { grid-template-columns: 1fr; gap: 32px; }
  .st-def__cols { grid-template-columns: 1fr; }
  .st-def__cols p { padding: 30px 0 0; }
  .st-def__cols p:nth-child(2){ border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}

/* ============================ S3 · ПАРАМЕТРЫ СЕГМЕНТА (стат-полоса) ====== */
.st-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.st-stat { padding: 46px 40px 46px 0; border-bottom: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark); padding-left: 40px; }
.st-stat:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.st-stat__mark { color: var(--orange); margin-bottom: 24px; }
.st-stat__n { font-family: var(--font-display); font-weight: 400; font-size: 54px; line-height: .96;
  letter-spacing: -.01em; color: var(--platinum); }
.st-stat__l { font-size: 16px; line-height: 1.4; color: var(--on-dark-70); margin-top: 16px; }
@media (max-width: 880px){ .st-stats { grid-template-columns: 1fr 1fr; }
  .st-stat:nth-child(3n+1){ border-left: 1px solid var(--line-dark); padding-left: 40px; }
  .st-stat:nth-child(2n+1){ border-left: 0; padding-left: 0; } .st-stat__n { font-size: 42px; } }
@media (max-width: 540px){ .st-stats { grid-template-columns: 1fr; }
  .st-stat, .st-stat:nth-child(n){ border-left: 0; padding-left: 0; } }

/* ============================ S3 · ТРИ ТИПА ============================== */
.st-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.st-type { position: relative; overflow: hidden; min-height: 560px; padding: 40px;
  display: flex; flex-direction: column; color: var(--platinum); }
.st-type__wave { position: absolute; inset: 0; background: url(../../assets/pattern-waves.png) center/360px;
  opacity: .03; filter: invert(1); pointer-events: none; }
.st-type__photo { position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .28; mix-blend-mode: luminosity; pointer-events: none; }
.st-type--orange { background: var(--orange); }
.st-type--navy   { background: var(--pear); }
.st-type--space  { background: var(--space); }
.st-type__year { position: relative; z-index: 2; align-self: flex-start; font-family: var(--font-mono);
  font-size: 14px; letter-spacing: .04em; color: var(--platinum); opacity: .8; }
.st-type h3 { position: relative; z-index: 2; font-family: var(--font-display); font-weight: 400;
  font-size: 34px; line-height: 1.02; margin-top: 30px; color: var(--platinum); }
.st-type__facts { position: relative; z-index: 2; margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.st-type__facts p { font-size: 16px; line-height: 1.5; color: var(--on-dark); }
.st-type__nums { position: relative; z-index: 2; margin-top: auto; padding-top: 26px; font-size: 17px;
  border-top: 1px solid var(--line-dark); color: var(--platinum); }
.st-type__link { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 12px;
  margin-top: 22px; font-size: 18px; color: var(--platinum); text-decoration: none; }
.st-type__link svg { width: 13px; height: 13px; transform: rotate(-45deg); }
.st-type__link:hover { color: #fff; }

/* ============================ S4 · ПРЕМИУМ-АДРЕСА ======================== */
/* Индекс лежит на тёмной (--space) секции → светлый текст, тёмные хэйрлайны */
.st-index { border-top: 1px solid var(--line-dark); }
.st-addr { display: grid; grid-template-columns: 60px 1.1fr 1.4fr auto;
  gap: 30px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line-dark);
  text-decoration: none; color: var(--platinum); position: relative; transition: padding .35s var(--ease); }
.st-addr__no { font-family: var(--font-mono); font-size: 14px; color: rgba(237,236,235,.45); }
.st-addr__name { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.02; color: var(--platinum); }
.st-addr__name .dist { display: block; font-family: var(--font-sans); font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-top: 10px; }
.st-addr__note { font-size: 16px; line-height: 1.45; color: var(--on-dark-70); max-width: 46ch; }
.st-addr__meta { text-align: right; white-space: nowrap; }
.st-addr__meta .price { font-family: var(--font-sans); font-weight: 700; font-size: 20px; color: var(--platinum); }
.st-addr__meta .years { font-family: var(--font-mono); font-size: 14px; color: rgba(237,236,235,.5); margin-top: 8px; }
.st-addr__meta .arr { display: inline-block; margin-left: 8px; color: var(--orange); }
.st-addr::after { content:""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--orange); transition: width .4s var(--ease); }
.st-addr:hover { padding-left: 18px; }
.st-addr:hover::after { width: 100%; }
.st-addr:hover .st-addr__name { color: var(--orange); }

/* ============================ S5 · ТИПОЛОГИЯ ============================= */
.st-typo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 80px; }
.st-typo__row { display: grid; grid-template-columns: 92px 1fr; gap: 26px; align-items: start;
  padding: 40px 0; border-top: 1px solid var(--line); }
.st-typo__no { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: .9; color: var(--orange); }
.st-typo__row h4 { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--ink); }
.st-typo__row p { font-size: 16px; line-height: 1.55; color: var(--ink-60); margin-top: 14px; }
.st-typo__row .hero-num { font-family: var(--font-sans); font-weight: 700; font-size: 22px; color: var(--ink); display: block; margin-top: 16px; }
.st-typo__spec { margin-top: 20px; }
.st-typo__spec .row { display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
  padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.st-typo__spec .row:last-child { border-bottom: 1px solid var(--line); }
.st-typo__spec .k { color: var(--ink); }
.st-typo__spec .v { font-family: var(--font-mono); color: var(--ink-60); white-space: nowrap; text-align: right; }
.st-typo__note { font-size: 15px; line-height: 1.55; color: var(--ink-60); margin-top: 16px; }

/* ============================ S6 · OFF-MARKET / ЦЕНЫ ===================== */
.st-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: end; }
.st-tier { padding: 0 30px; border-left: 1px solid var(--line-dark); }
.st-tier:first-child { border-left: 0; padding-left: 0; }
.st-tier__mark { color: var(--orange); margin-bottom: 26px; }
.st-tier .price { font-family: var(--font-display); font-weight: 400; font-size: 46px; line-height: 1; color: var(--platinum); }
.st-tier .type { font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.1; color: var(--platinum); margin-top: 16px; }
.st-tier .desc { font-size: 16px; line-height: 1.5; color: var(--on-dark-70); margin-top: 14px; }
.st-tier.s1 { padding-bottom: 0; }
.st-tier.s2 { padding-bottom: 36px; }
.st-tier.s3 { padding-bottom: 72px; }
.st-tier.s4 { padding-bottom: 108px; }
.st-tier.s4 .price { color: var(--orange); }
.st-tiers__base { height: 1px; background: var(--line-dark); margin-top: 0; }

/* ============================ S7 · 23 ГОДА ============================== */
.st-trust { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.st-trust__media { position: sticky; top: 100px; background: var(--pear); aspect-ratio: 4/5; overflow: hidden; }
.st-trust__media .band { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: var(--orange); }
.st-trust__media .wave { position: absolute; inset: 0; background: url(../../assets/pattern-waves.png) center/300px; opacity: .03; filter: invert(1); }
.st-trust__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; z-index: 2; }
.st-trust h2 { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 1.0; color: var(--ink); }
.st-trust p.lead { font-size: 19px; line-height: 1.5; color: var(--ink); margin-top: 28px; max-width: 56ch; }
.st-trust__quote { font-family: var(--font-display); font-style: normal; font-weight: 400; text-transform: uppercase;
  font-size: 30px; line-height: 1.32; letter-spacing: 0; color: var(--ink); margin: 30px 0 0;
  padding-left: 28px; border-left: 2px solid var(--orange); max-width: 30ch; }
.st-trust__cols { margin-top: 34px; padding-top: 32px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.st-trust__cols p { font-size: 20px; line-height: 1.5; color: var(--ink); margin: 0; }
.st-trust__cols p b, .st-trust__cols p strong { color: var(--ink); font-weight: 700; }
@media (max-width: 700px){ .st-trust__cols { grid-template-columns: 1fr; gap: 22px; } }
/* Trust · стат-лид + индекс зданий + голос (де-уплотнение прозы) */
.st-trust__lead { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line);
  font-size: 18px; line-height: 1.5; color: var(--ink); max-width: 60ch; }
.st-trust__lead b { font-weight: 700; }
.st-trust__idxlabel { font-family: var(--font-label); font-weight: 500; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-top: 24px; }
.st-trust__index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.st-trust__cap { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-label);
  font-weight: 500; font-size: 13px; letter-spacing: .02em; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); padding: 10px 16px; background: #fff;
  transition: border-color .25s var(--ease,ease), color .25s var(--ease,ease), background .25s var(--ease,ease); }
.st-trust__cap .n { font-family: var(--font-mono); font-size: 11px; color: var(--orange); }
a.st-trust__cap:hover { background: var(--pear); color: var(--platinum); border-color: var(--pear); }
a.st-trust__cap:hover .n { color: var(--orange); }
.st-trust__cap--static { color: var(--ink-60); }
.st-trust__voice { margin-top: 26px; font-size: 16px; line-height: 1.62; color: var(--ink-60); max-width: 72ch; }
.st-trust__tags { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px 16px; margin-top: 34px; padding-top: 28px;
  border-top: 1px solid var(--line); align-items: center; }
.st-trust__tags span { font-size: 14px; color: var(--ink-60); white-space: nowrap; }
.st-trust__tags .sep { color: var(--orange); }
.st-trust__tags a { color: var(--orange); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.st-trust__tags a svg { width: 12px; height: 12px; transform: rotate(-45deg); }

/* ============================ S8 · FAQ ================================== */
.st-faq { border-top: 1px solid var(--line); }
.st-faq__item { border-bottom: 1px solid var(--line); }
.st-faq__q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; gap: 24px; padding: 32px 0; color: var(--ink); font-family: inherit; }
.st-faq__q .st-spark { color: var(--ink-40); transition: color .3s; }
.st-faq__q h4 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; flex: 1; color: var(--ink); }
.st-faq__chev { flex: none; transition: transform .35s var(--ease); color: var(--ink); }
.st-faq__chev svg { width: 16px; height: 16px; transform: rotate(45deg); }
.st-faq__item.open .st-faq__chev { transform: rotate(90deg); }
.st-faq__item.open .st-faq__q .st-spark { color: var(--orange); }
.st-faq__body { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.st-faq__inner { padding: 0 0 36px 46px; }
.st-faq__inner p { font-size: 20px; line-height: 1.5; color: var(--ink); max-width: 76ch; }
.st-faq__inner b { color: var(--ink); font-weight: 700; }
.st-faq__spec { margin: 0 0 22px; max-width: 76ch; }
.st-faq__spec .row { display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
  padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; }
.st-faq__spec .row:last-child { border-bottom: 1px solid var(--line); }
.st-faq__spec .k { color: var(--ink); }
.st-faq__spec .v { font-family: var(--font-mono); color: var(--ink-60); white-space: nowrap; text-align: right; }

/* ============================ S9 · СОСЕДНИЕ ПЛАСТЫ ======================= */
.st-near { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.st-near__card { position: relative; display: flex; flex-direction: column; min-height: 240px;
  padding: 34px; background: #fff; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); transition: background .3s var(--ease); overflow: hidden; }
.st-near__card:hover { background: var(--pear); color: var(--platinum); }
.st-near__card h4 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.05; max-width: 20ch; min-height: 3.15em; margin: 0; }
.st-near__card p { font-size: 15px; line-height: 1.5; color: var(--ink-60); margin-top: 25px; }
.st-near__card:hover p { color: var(--on-dark-70); }
.st-near__card .anchor { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 12px;
  font-size: 17px; color: var(--orange); }
.st-near__card .anchor svg { width: 12px; height: 12px; transform: rotate(-45deg); }
.st-near__card:hover .anchor { color: var(--platinum); }

/* ============================ S10 · CTA ================================= */
.st-cta { position: relative; background: var(--orange); color: var(--platinum); overflow: hidden; }
.st-cta__wave { position: absolute; inset: 0; background: url(../../assets/pattern-waves.png) center/420px;
  opacity: .03; filter: invert(1); pointer-events: none; }
.st-cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.st-cta h2 { font-family: var(--font-display); font-weight: 400; font-size: 60px; line-height: 1.02; color: var(--platinum); }
.st-cta p { font-size: 19px; line-height: 1.5; color: var(--platinum); margin-top: 26px; max-width: 52ch; }
.st-cta__act { display: flex; align-items: center; gap: 22px; margin-top: 38px; flex-wrap: wrap; }
.st-cta__act .micro { font-size: 15px; color: rgba(237,236,235,.8); }
.st-cta__contacts { border-top: 1px solid rgba(237,236,235,.28); padding-top: 30px; }
.st-cta__contacts dl { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin: 0; }
.st-cta__contacts dt { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: rgba(237,236,235,.7); }
.st-cta__contacts dd { margin: 8px 0 0; font-size: 19px; color: var(--platinum); }
.st-cta__contacts a { color: var(--platinum); text-decoration: none; border-bottom: 1px solid rgba(237,236,235,.4); }

/* ============================ MOTION ==================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .st-btn__cap, .st-addr, .st-faq__chev, .st-faq__body, .st-near__card { transition: none !important; }
}

/* ============================ АДАПТИВ =================================== */
@media (max-width: 1100px){
  .st-def { grid-template-columns: 1fr; gap: 44px; }
  .st-types { grid-template-columns: 1fr; }
  .st-type { min-height: 0; }
  .st-typo { grid-template-columns: 1fr; gap: 0; }
  .st-tiers { grid-template-columns: 1fr 1fr; gap: 30px 0; align-items: stretch; }
  .st-tier { padding-bottom: 0 !important; border-left: 0; padding-left: 30px; }
  .st-tier:nth-child(odd){ padding-left: 0; }
  .st-trust { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .st-trust > * { min-width: 0; }
  .st-near { grid-template-columns: 1fr 1fr; }
  .st-cta__inner { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 700px){
  .st-def__lead { font-size: 30px; }
  .st-deflist__row { grid-template-columns: 18px 1fr; }
  .st-deflist__row h4 { grid-column: 2; }
  .st-deflist__row p { grid-column: 2; margin-top: 8px; }
  .st-addr { grid-template-columns: 1fr; gap: 14px; }
  .st-addr__meta { text-align: left; }
  .st-near { grid-template-columns: 1fr; }
  .st-cta h2 { font-size: 40px; }
  .st-cta__contacts dl { grid-template-columns: 1fr; }
  .st-trust h2 { font-size: 40px; }
  .st-faq__q h4 { font-size: 21px; }
}

/* ============================================================================
   ТУМБЛЕРЫ (Tweaks) — экспрессивные перекройки настроения.
   1) Акцент — перекрашивает всю акцентную систему через --orange/--orange-deep
      (это делается из JS на documentElement, классы тут не нужны).
   2) Ритм — Журнал ⇄ Каталог: воздух + масштаб дисплея.
   3) Геро — Фото / Тёмный / Тон.
   ========================================================================== */

/* --- Геро: дуотон-навы (тинт фото) --- */
.st-hero__tint { position: absolute; inset: 0; background: var(--pear);
  mix-blend-mode: color; opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; z-index: 2; }
.st-hero.hero-tone .st-hero__tint { opacity: .62; }
.st-hero.hero-tone .st-hero__img { filter: grayscale(.65) contrast(1.06) brightness(.92); }

/* --- Геро: тёмный типографский (фото скрыто, тонкая редакционная сетка точек) --- */
.st-hero.hero-dark { background: #1B2230; }
.st-hero.hero-dark .st-hero__img { opacity: 0; }
.st-hero.hero-dark::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(circle at 1px 1px, rgba(237,236,235,.06) 1px, transparent 0);
  background-size: 30px 30px; }
.st-hero.hero-dark .st-hero__veil-l, .st-hero.hero-dark .st-hero__veil-r { opacity: 0; }
.st-hero.hero-dark .st-hero__veil-t { opacity: .5; }
@media (prefers-reduced-motion: reduce){ .st-hero__tint { transition: none; } }

/* --- Ритм: Каталог (плотнее, тише, меньше воздуха) --- */
.rhythm-catalog .st-section { padding-top: 92px; padding-bottom: 92px; }
.rhythm-catalog .st-secthead { margin-bottom: 46px; }
.rhythm-catalog .st-h2 { font-size: 44px; }
.rhythm-catalog .st-hero { min-height: 740px; }
.rhythm-catalog .st-hero h1 { font-size: 60px; }
.rhythm-catalog .st-hero__lead { margin-top: 20px; }
.rhythm-catalog .st-hero__proof { margin: 30px 0 22px; }
.rhythm-catalog .st-def__lead { font-size: 33px; }
.rhythm-catalog .st-deflist__row { padding: 22px 0; }
.rhythm-catalog .st-type { min-height: 470px; padding: 34px; }
.rhythm-catalog .st-type h3 { font-size: 30px; margin-top: 24px; }
.rhythm-catalog .st-addr { padding: 24px 0; }
.rhythm-catalog .st-addr__name { font-size: 26px; }
.rhythm-catalog .st-typo__row { padding: 30px 0; }
.rhythm-catalog .st-typo__no { font-size: 46px; }
.rhythm-catalog .st-tier .price { font-size: 40px; }
.rhythm-catalog .st-trust { gap: 60px; }
.rhythm-catalog .st-trust h2 { font-size: 46px; }
.rhythm-catalog .st-faq__q { padding: 24px 0; }
.rhythm-catalog .st-faq__q h4 { font-size: 23px; }
.rhythm-catalog .st-near__card { min-height: 210px; padding: 28px; }
.rhythm-catalog .st-cta h2 { font-size: 50px; }
@media (max-width: 700px){
  .rhythm-catalog .st-h2 { font-size: 34px; }
  .rhythm-catalog .st-hero h1 { font-size: 40px; }
}

/* --- Панель тумблеров (vanilla, под хост-протокол) --- */
.tw-panel { position: fixed; right: 16px; bottom: 16px; z-index: 2147483646; width: 252px;
  display: none; flex-direction: column;
  background: rgba(237,236,235,.86); color: var(--ink);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(39,47,66,.14);
  box-shadow: 0 14px 44px rgba(27,34,48,.22); font-family: var(--font-sans); }
.tw-panel.open { display: flex; }
.tw-hd { display: flex; align-items: center; justify-content: space-between;
  padding: 13px 12px 13px 16px; cursor: move; user-select: none; border-bottom: 1px solid rgba(39,47,66,.12); }
.tw-hd b { font-family: var(--font-display); font-weight: 400; font-size: 16px; letter-spacing: .01em; }
.tw-x { border: 0; background: none; color: var(--ink-60); width: 24px; height: 24px; cursor: pointer; font-size: 14px; }
.tw-x:hover { color: var(--orange); }
.tw-body { padding: 16px; display: flex; flex-direction: column; gap: 18px; }
.tw-row { display: flex; flex-direction: column; gap: 8px; }
.tw-lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-60); font-weight: 500; }
.tw-seg { display: flex; border: 1px solid rgba(39,47,66,.2); }
.tw-seg button { flex: 1; appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-sans); font-size: 13px; color: var(--ink-60); padding: 9px 4px; line-height: 1.1;
  border-right: 1px solid rgba(39,47,66,.2); transition: background .2s var(--ease), color .2s var(--ease); }
.tw-seg button:last-child { border-right: 0; }
.tw-seg button[data-on="1"] { background: var(--pear); color: var(--platinum); }
.tw-chips { display: flex; gap: 8px; }
.tw-chip { flex: 1; height: 40px; border: 1px solid rgba(39,47,66,.2); cursor: pointer; position: relative;
  padding: 0; background: var(--c); transition: transform .12s var(--ease); }
.tw-chip:hover { transform: translateY(-1px); }
.tw-chip[data-on="1"] { box-shadow: 0 0 0 2px var(--pear); }
.tw-chip span { position: absolute; left: 6px; bottom: 5px; font-size: 10px; letter-spacing: .06em;
  text-transform: uppercase; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); }


/* ============================================================================
   VISOTKI-SPECIFIC (.vh-*) — хаб коллекции 9 зданий. Chrome/атомы — общие (.st-*).
   ========================================================================== */

/* S2 · Манифест «Семь сестёр» (TMH-разворот) */
.vh-manifest { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: start; margin-top: 0; }
.vh-manifest > div:first-child .vh-intro { margin-bottom: 40px; }
.vh-manifest__year { font-family: var(--font-display); font-weight: 400; font-size: clamp(96px, 12vw, 168px);
  line-height: .78; letter-spacing: -.02em; color: var(--orange); margin: 34px 0 22px; }
.vh-manifest__lead { font-family: var(--font-display-editorial); font-weight: 500; font-size: clamp(25px, 2.3vw, 33px);
  line-height: 1.32; color: var(--ink); }
.vh-manifest__lead .accent { color: var(--orange); font-style: italic; }
.vh-points { display: flex; flex-direction: column; position: sticky; top: 96px; align-self: start; }
.vh-point { display: grid; grid-template-columns: 20px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); align-items: start; }
.vh-points .vh-point:first-child { border-top: none; }
.vh-points .vh-point:last-child { border-bottom: 1px solid var(--line); }
.vh-point .st-spark { color: var(--orange); margin-top: 5px; }
.vh-point h4 { font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.1; color: var(--ink); margin-top: 0; margin-bottom: 8px; }
.vh-point p { font-size: 16px; line-height: 1.55; color: var(--ink-60); }
.vh-manifest__note { grid-column: 1 / -1; margin-top: 16px; padding-top: 30px; border-top: 1px solid var(--line); }
.vh-manifest__note p { font-family: var(--font-display-editorial); font-style: italic; font-weight: 500;
  font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4; color: var(--ink); max-width: 46ch; }
.vh-manifest__cta { margin-top: 48px; }
@media (max-width: 1000px){ .vh-manifest { grid-template-columns: 1fr; gap: 40px; } .vh-manifest__cta { margin-top: 36px; } }

/* S3 · Грид девяти зданий (кураторская витрина) */
.vh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vh-card { position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.vh-card--hero { grid-column: span 2; flex-direction: row; }
.vh-card__photo { position: relative; aspect-ratio: 16/11; background: var(--pear); overflow: hidden; flex: none; }
.vh-card--hero .vh-card__photo { width: 56%; aspect-ratio: auto; min-height: 420px; }
.vh-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* кадрирование зданий в карточке 16/11: показываем крону/корпус, а не середину */
.vh-card__photo img[src*="hero-leningradskaya"] { object-position: center 22%; }
.vh-card__photo img[src*="hero-naberezhnoy"]    { object-position: center 40%; }
.vh-card__photo img[src*="hero-mgu"]            { object-position: center top; }
.vh-card__photo img[src*="hero-kotelnicheskaya"]{ object-position: center 30%; }
.vh-card__wave { position: absolute; inset: 0; background: url(../../assets/pattern-waves.png) center/300px; opacity: .03; filter: invert(1); }
.vh-card__big { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(56px, 7vw, 104px); line-height: 1;
  color: var(--platinum); opacity: .26; letter-spacing: -.01em; }
.vh-card__hint { position: absolute; left: 16px; bottom: 14px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-70); }
.vh-card__tag { position: absolute; top: 0; left: 0; z-index: 2; font-family: var(--font-label); font-weight: 500;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: var(--orange); color: var(--platinum); padding: 8px 13px; }
.vh-card__tag--soon { background: var(--space); }
.vh-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.vh-card--hero .vh-card__body { padding: 40px; justify-content: center; }
/* П6 (§3-S5): порядковый номер карточки убран (visotki≠modernizm — год не несёт, ловушка (а) N/A). */
.vh-card__no { display: none; font-family: var(--font-mono); font-size: 13px; color: var(--ink-40); }
.vh-card__name { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.04; color: var(--ink); margin-top: 8px; }
.vh-card--hero .vh-card__name { font-size: 40px; }
.vh-card__addr { font-family: var(--font-sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-top: 12px; }
.vh-card__spec { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-60); }
.vh-card__arch { font-size: 15px; line-height: 1.5; color: var(--ink-60); margin-top: 14px; }
.vh-card__note { font-size: 15px; line-height: 1.55; color: var(--ink-60); margin-top: 12px; }
.vh-card__link { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--orange); }
.vh-card__link svg { width: 12px; height: 12px; transform: rotate(-45deg); }
.vh-card__soon { margin-top: auto; padding-top: 22px; font-family: var(--font-label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-40); }
a.vh-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(27,34,48,.13); }
a.vh-card:hover .vh-card__name { color: var(--orange); }
@media (max-width: 1000px){ .vh-grid { grid-template-columns: 1fr 1fr; }
  .vh-card--hero { grid-column: span 2; flex-direction: column; }
  .vh-card--hero .vh-card__photo { width: 100%; min-height: 0; aspect-ratio: 16/9; } }
@media (max-width: 640px){ .vh-grid { grid-template-columns: 1fr; } .vh-card--hero { grid-column: span 1; } }

/* S4 · Сравнительная таблица 9 зданий */
.vh-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vh-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 720px; }
.vh-table th, .vh-table td { text-align: left; padding: 17px 20px 17px 0; border-bottom: 1px solid var(--line-dark); }
.vh-table thead th { font-family: var(--font-label); font-weight: 500; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-dark-70); border-bottom: 1px solid var(--platinum); }
.vh-table td.name { font-family: var(--font-display); font-size: 19px; color: var(--platinum); }
.vh-table td.num { font-family: var(--font-mono); font-size: 15px; color: var(--on-dark-70); white-space: nowrap; }
.vh-table td.st-ok { color: var(--orange); font-family: var(--font-sans); font-size: 14px; }
.vh-table td.st-soon { color: var(--on-dark-70); font-family: var(--font-sans); font-size: 14px; opacity: .7; }
.vh-table tbody tr:hover td { background: rgba(237,236,235,.05); }

/* S5 · Три факт-блока (банки / охрана / типология) — на тёмной */
.vh-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.vh-fact { padding: 42px 40px 0 40px; border-left: 1px solid var(--line-dark); }
.vh-fact:first-child { border-left: 0; padding-left: 0; }
.vh-fact__mark { color: var(--orange); margin-bottom: 22px; }
.vh-fact h3 { font-family: var(--font-display); font-weight: 400; font-size: 25px; line-height: 1.05; color: var(--platinum); }
.vh-fact p { font-size: 16px; line-height: 1.62; color: var(--on-dark-70); margin-top: 16px; }
.vh-fact p b { color: var(--platinum); font-weight: 700; }
.vh-facts__link { margin-top: 44px; display: inline-flex; align-items: center; gap: 12px; font-size: 18px; color: var(--orange); text-decoration: none; }
.vh-facts__link svg { width: 13px; height: 13px; transform: rotate(-45deg); }
@media (max-width: 900px){ .vh-facts { grid-template-columns: 1fr; }
  .vh-fact { border-left: 0; padding-left: 0; padding-top: 34px; } }


/* ===== ХАБ st-hero — оркестрованный вход (CSS-only, gated) ===== */
@media (prefers-reduced-motion: no-preference){
  .st-hero__eyebrow-row, .st-hero h1, .st-hero__voice, .st-hero__stats, .st-hero__cta-wrap {
    opacity: 0; animation: khHeroIn .75s var(--ease) both; }
  .st-hero__eyebrow-row { animation-delay: .12s; }
  .st-hero h1 { animation-delay: .22s; }
  .st-hero__voice { animation-delay: .40s; }
  .st-hero__stats { animation-delay: .52s; }
  .st-hero__cta-wrap { animation-delay: .60s; }
}
@keyframes khHeroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* === Вариант A · фикс-шапка (хаб: оверлей -> фикс, тёмный фон) === */
.st-topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--pear-ink); }
.st-topbar .brand img { height: 34px; }
.st-topbar__row { position: relative; padding-top: 13px; padding-bottom: 13px; }
.st-topnav { position: absolute; left: 50%; transform: translateX(-50%); }

/* ===== Контакты — форма обратной связи 1-в-1 с главной ===== */
.sd-contact { background: var(--paper); color: var(--ink); position: relative; }
.sd-contact .st-eyebrow { color: var(--ink-60); }
.sd-contact__grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,6fr); gap: 90px; align-items: start; }
.sd-contact__h { font-family: var(--font-display); font-weight: 400; font-size: 48px; line-height: 1.0; letter-spacing: -.01em; margin: 20px 0 0; color: var(--ink); text-transform: uppercase; }
.sd-contact__lead { font-family: var(--font-sans); font-size: 20px; line-height: 1.5; margin-top: 28px; max-width: 40ch; color: var(--ink); }
.sd-contact__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px 30px; align-items: end; min-width: 0; }
.sd-field { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sd-field:not(.sd-field--half) { grid-column: 1 / -1; }
.sd-field label { font-family: var(--font-sans); font-size: 20px; color: var(--ink); line-height: 1; }
.sd-field input { width: 100%; box-sizing: border-box; font-family: var(--font-sans); font-size: 20px; color: var(--ink); background: transparent; border: 0;
  border-bottom: 1px solid var(--ink); padding: 0 0 12px; outline: none; transition: border-color .35s var(--ease); }
.sd-field input:focus { border-bottom-color: var(--orange); }
.sd-contact__priv { grid-column: 1 / -1; font-size: 16px; color: var(--ink-60); margin: 0; line-height: 1.4; }
.sd-contact__priv a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color .25s var(--ease); }
.sd-contact__priv a:hover { color: var(--orange); }
.sd-contact__form .st-btn { grid-column: 1 / -1; width: 310px; max-width: 100%; }
.sd-contact__coords { display: flex; flex-wrap: wrap; gap: 24px 80px; margin-top: 140px; }
.sd-contact__big { font-family: var(--font-sans); font-weight: 700; font-size: clamp(34px,4.4vw,64px); line-height: 1;
  letter-spacing: -.02em; color: var(--ink); text-transform: uppercase; text-decoration: none; transition: color .4s var(--ease); }
.sd-contact__big:hover { color: var(--orange); }
.sd-contact__caps { display: flex; flex-wrap: wrap; gap: 40px 60px; margin-top: 46px; }
.sd-contact__caps > div, .sd-contact__caps > a { display: flex; flex-direction: column; gap: 6px; min-width: 200px; text-decoration: none; }
.sd-cap__k { font-size: 20px; color: var(--ink); opacity: .6; }
.sd-cap__v { font-size: 20px; font-weight: 700; color: var(--ink); text-transform: uppercase; }
@media (max-width: 900px){ .sd-contact__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; } .sd-contact__grid > * { min-width: 0; } }
@media (max-width: 560px){ .sd-contact__form { grid-template-columns: minmax(0, 1fr); } }
/* 375-фикс · email «solomon_estate@mail.ru» (22 симв. uppercase) при нижней
   границе clamp 34px = 360px ширины, уезжал за край (+15 на 375, +30 на 360).
   Эталонный паттерн контактов (cao--zamoskvoreche): кегль по ширине вьюпорта.
   Адрес не меняем. */
@media (max-width: 560px){
  .sd-contact__coords { min-width: 0; }
  .sd-contact__big { font-size: clamp(22px, 7vw, 34px); overflow-wrap: anywhere; word-break: break-word; }
}

/* ============================================================================
   MOBILE PORT — F4hub (visotki, 9 высоток) · полный page-level мобильный слой
   Эталон: visotki--mgu.css (ENHANCE + m-fold + vh-tc). Тип F4hub, цель ~16 экранов.
   ВСЕ визуальные правки — только @media (десктоп 1440 байт-в-байт). Hover —
   только desktop-интеракция (статичный рендер не меняет). M≥N: текст весь в DOM.
   ========================================================================== */

/* — §2 ГЕРО · мобильный потолок H1 (F4hub: clamp(48px,7.4vw,104px) на 375 = ~28px,
     добавляем явный мобильный потолок и overflow-guard) — */
@media (max-width: 640px){
  .st-hero h1 { font-size: clamp(28px, 8vw, 40px); overflow-wrap: break-word; word-break: normal; max-width: 100%; }
  .st-hero__voice { font-size: clamp(16px, 4.4vw, 19px); }
  .st-hero__eyebrow-row span { font-size: 15px; }
}
@media (max-width: 480px){
  .st-hero h1 { font-size: clamp(26px, 7.6vw, 34px); }
}

/* — §6 БРЕЙКИ · overflow-guard на узких вьюпортах — */
@media (max-width: 480px){
  body { overflow-x: hidden; max-width: 100vw; }
}

/* — §5 РИТМ · сжать вертикаль грида/секций на мобиле (≤1100/≤560 уже в базе) — */
@media (max-width: 640px){
  .st-section { overflow: hidden; }
  .st-h2 { max-width: 100%; overflow-wrap: break-word; word-break: normal; }
  .st-secthead { overflow: hidden; }
  .st-intro { font-size: 16px; line-height: 1.5; }
  .vh-intro { font-size: 16px; line-height: 1.55; }
}

/* ============================================================================
   ENHANCE · дизайн объёмного текста + анимации (эталон mgu, 15.06).
   Плейбук: QA/_taste/_MOBILE-DESIGN-PLAYBOOK.md. Vanilla, motion ≤2/5, reduced-motion-safe.
   Все ENHANCE-визуалы mobile-gated (≤640) — десктоп не трогаем.
   ========================================================================== */
:root{ --ease-soft: cubic-bezier(.16,1,.3,1); --dur-reveal:.7s; --rise:18px; }

/* — Г2 · прогресс чтения (тонкая терракотовая полоса сверху) — mobile-only — */
.read-progress{ display:none; position:fixed; top:0; left:0; height:2px; width:100%; background:var(--orange);
  z-index:60; transform:scaleX(0); transform-origin:0 50%; pointer-events:none; }
@media (max-width: 640px){ .read-progress{ display:block; } }
@supports (animation-timeline: scroll()){
  @media (prefers-reduced-motion:no-preference) and (max-width: 640px){
    .read-progress{ animation:rp-grow linear both; animation-timeline:scroll(root block); }
  }
}
@keyframes rp-grow{ to{ transform:scaleX(1); } }

@media (max-width: 640px){
  /* — В5 · ровные переносы (без сирот в теле, балансировка заголовков) — */
  .vh-intro, .st-intro, .vh-manifest__lead, .vh-point p, .vh-fact p, .st-trust__voice,
  .st-trust__lead, .st-faq__inner p, .sd-contact__lead, .vh-card__arch, .vh-card__note{ text-wrap:pretty; }
  .st-h2, .vh-manifest__note p, .st-trust__quote, .vh-fact h3, .vh-card__name{ text-wrap:balance; }

  /* — Д5 · draw-on подчёркивание заголовков секций — */
  .st-secthead .st-h2{ position:relative; }

  /* — В3 · буквица старта главы (только где класс lux-lead) — */
  .lux-lead::first-letter{ float:left; font-family:var(--font-display); font-weight:400;
    font-size:3.1em; line-height:.72; padding:.04em .12em 0 0; color:var(--orange); }
}
/* — оранжевая полоска под заголовком секции — убрана только на visotki — */
.ds-scope .st-secthead::after{ display:none!important; }

/* — Д2 · каскад появления коллекций (карточки/строки по очереди).
     Глобально (как эталон mgu): на десктопе заменяет .reveal у детей коллекции —
     то же поведение opacity:0→in + rise, финальный стейт идентичен. — */
[data-stagger]>*{ opacity:0; transform:translateY(var(--rise));
  transition:opacity var(--dur-reveal) var(--ease-soft), transform var(--dur-reveal) var(--ease-soft);
  transition-delay:calc(min(var(--i,0),6) * 100ms); }
[data-stagger].in>*{ opacity:1; transform:none; }
@supports (initial-letter: 2){ @media (max-width: 640px){
  .lux-lead::first-letter{ float:none; font-size:inherit; initial-letter:3; margin-right:.1em; } } }
@supports (initial-letter:2){ @media (max-width:480px){ .lux-lead::first-letter{ initial-letter:2; } } }

/* — Д7 · hover/tap карточек (дорогой микро-подъём; desktop-интеракция, статик не меняет) — */
@media (hover:hover){
  .vh-fact, .st-near__card{ transition:transform .24s var(--ease), border-color .24s var(--ease); }
}
.vh-card:active, .st-near__card:active{ transform:translateY(-1px); }

@media (prefers-reduced-motion:reduce){
  [data-stagger]>*{ opacity:1!important; transform:none!important; transition:none!important; }
  .st-secthead .st-h2::after{ transition:none; transform:scaleX(1); }
  .read-progress{ display:none; }
}

/* ============================================================================
   §6 REFLOW · коллекции → ленты-свайпы; таблица 8×7 → карточки; манифест pull-quote
   Все ≤640, десктоп не трогаем.
   ========================================================================== */

/* — Б2 · pull-quote на манифест-ноте (сильная фраза голоса, терракотовая кромка) — */
@media (max-width: 640px){
  .vh-manifest__note{ margin-top: 8px; padding-top: 0; border-top: 0; }
  .vh-manifest__note p{ padding-left: 20px; border-left: 2px solid var(--orange);
    font-size: clamp(19px, 5.4vw, 23px); line-height: 1.32; }
  .vh-manifest__year{ font-size: clamp(72px, 20vw, 110px); }
  .vh-manifest__lead{ font-size: clamp(21px, 5.6vw, 26px); }
  .vh-point h4{ font-size: 19px; }
}

/* — Грид 9 зданий: hero-карточка крупно сверху + остальные горизонтальной лентой-свайпом — */
@media (max-width: 640px){
  .vh-grid{ display: flex; flex-wrap: nowrap; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; margin: 0 -22px; padding: 4px 22px 12px; scrollbar-width: none; }
  .vh-grid::-webkit-scrollbar{ display: none; }
  .vh-grid > *{ flex: 0 0 84%; scroll-snap-align: start; min-width: 0; }
  /* hero-карточка первой в ленте, чуть крупнее, вертикальная (фото сверху) */
  .vh-card--hero{ flex: 0 0 90%; }
  .vh-card--hero .vh-card__photo{ min-height: 0; aspect-ratio: 16/10; }
  .vh-card--hero .vh-card__body{ padding: 24px; }
  .vh-card--hero .vh-card__name{ font-size: 28px; }
  .vh-card__body{ padding: 20px 20px 22px; }
  .vh-card__name{ font-size: 22px; }
  .vh-card__photo{ aspect-ratio: 16/10; }
}

/* — Факт-блоки S5 (3 на тёмной) — каскад уже data-stagger; компактнее на мобиле — */
@media (max-width: 640px){
  .vh-fact{ padding-top: 30px; }
  .vh-fact h3{ font-size: 23px; }
  .vh-fact p{ font-size: 15px; line-height: 1.6; }
}

/* — Связанные (S8, 6 карточек) → лента-свайп — */
@media (max-width: 640px){
  .st-near{ display: flex; flex-wrap: nowrap; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; margin: 0 -22px; padding: 4px 22px 12px; scrollbar-width: none; }
  .st-near::-webkit-scrollbar{ display: none; }
  .st-near > *{ flex: 0 0 78%; scroll-snap-align: start; min-width: 0; }
  .st-near__card{ min-height: 0; }
}

/* — Индекс зданий S6 (st-trust__index, 6 капсул) — лента-свайп без обрезки — */
@media (max-width: 640px){
  .st-trust__index{ flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; margin: 14px -22px 0; padding: 0 22px 4px; }
  .st-trust__index::-webkit-scrollbar{ display: none; }
  .st-trust__index > *{ flex: 0 0 auto; white-space: nowrap; }
  .st-trust h2{ font-size: clamp(28px, 7.4vw, 40px); }
  .st-trust__quote{ font-size: clamp(22px, 6vw, 30px); }
  .st-trust__voice{ font-size: 15px; }
}

/* — S7 CTA-форма / контакты (эталонные мобильные правила) — */
@media (max-width: 640px){
  .st-cta h2{ font-size: 40px; }
  .sd-contact__h{ font-size: clamp(26px, 7vw, 42px); }
  .sd-contact__coords{ overflow: hidden; min-width: 0; flex-direction: column; gap: 16px; margin-top: 48px; }
  .sd-contact__caps > div, .sd-contact__caps > a{ min-width: 0; width: 100%; }
  .sd-contact__caps{ gap: 20px; }
  .sd-contact__form .st-btn{ width: 100%; }
  .sd-contact__form > *{ min-width: 0; }
}

/* ============================================================================
   B2 · ТАБЛИЦА 8 зданий × 7 полей → карточки на ≤640 (числа НЕ режем).
   Десктоп ≥641 — таблица как была; ≤640 — карточки, таблица display:none.
   Каждая карточка: имя (полная ширина) + spec-сетка год/этажи/высота + адрес +
   архитекторы + статус-ссылка. Все 8 строк, все поля сохранены (M≥N).
   ========================================================================== */
.vh-table-wrap{ position: relative; }
.vh-table-cards{ display: none; }
@media (min-width: 641px){ .vh-table-cards{ display: none; } }
@media (max-width: 640px){
  .vh-table{ display: none; }
  .vh-table-cards{ display: flex; flex-direction: column; gap: 0; }
  .vh-tc{ padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
  .vh-tc:first-child{ border-top: 1px solid var(--platinum); }
  .vh-tc__top{ display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
  .vh-tc__name{ font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.05;
    color: var(--platinum); }
  .vh-tc__status{ flex: none; font-family: var(--font-sans); font-size: 13px; white-space: nowrap; }
  .vh-tc__status.is-ok{ color: var(--orange); }
  .vh-tc__status.is-soon{ color: var(--on-dark-70); opacity: .8; }
  .vh-tc__addr{ font-family: var(--font-sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--orange); margin-top: 10px; }
  .vh-tc__spec{ display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px;
    font-family: var(--font-mono); font-size: 14px; color: var(--on-dark-70); }
  .vh-tc__spec b{ color: var(--platinum); font-weight: 400; }
  .vh-tc__arch{ font-family: var(--font-mono); font-size: 13px; color: var(--on-dark-70); margin-top: 10px; }
}

/* ============================================================================
   M-FOLD · мобильное прогрессивное раскрытие ВТОРИЧНОЙ прозы.
   Десктоп ≥641 — display:contents (раскладка как была). ≤640 — нативный <details>:
   виден тезис + кнопка, текст ВЕСЬ в DOM (M≥N, SEO-safe).
   ========================================================================== */
.m-fold{ display: contents; }
.m-fold > summary{ display: none; }
@media (max-width: 640px){
  .m-fold{ display: block; }
  .m-fold > summary{
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
    margin-top: 6px; padding: 14px 0; width: 100%;
    font-family: var(--font-label); font-weight: 700; font-size: 13px; letter-spacing: .1em;
    text-transform: uppercase; color: var(--orange); border-top: 1px solid var(--line); }
  .st-section--dark .m-fold > summary, .st-section--space .m-fold > summary{ border-top-color: var(--line-dark); }
  .m-fold > summary::-webkit-details-marker{ display: none; }
  .m-fold > summary::after{ content: ' \25BE'; font-size: 11px; margin-left: auto; }
  .m-fold[open] > summary::after{ content: ' \25B4'; }
  .m-fold > *:not(summary){ margin-top: 16px; }
  .m-fold .reveal{ opacity: 1 !important; transform: none !important; transition: none !important; }
}
.sd-contact__caps > a { color: inherit; }
.sd-contact__caps > a:hover .sd-cap__v { color: var(--orange); transition: color .3s; }
/* === Footer contact block === */
.st-foot__contact { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 26px 64px; margin-top: 60px; padding-top: 36px; border-top: 1px solid rgba(237,236,235,.18); }
.st-foot__contact-big { text-decoration: none; color: var(--platinum); font-family: var(--font-sans); font-size: clamp(20px,2.8vw,36px); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; transition: opacity .25s; }
.st-foot__contact-big:hover { opacity: .65; }
.st-foot__contact-cap { text-decoration: none; display: flex; flex-direction: column; gap: 4px; min-width: 200px; }
.st-foot__contact-cap > span:first-child { font-size: 16px; color: rgba(234,233,232,.55); }
.st-foot__contact-cap > span:last-child { font-size: 18px; font-weight: 700; text-transform: uppercase; color: var(--platinum); transition: opacity .25s; }
.st-foot__contact-cap:hover > span:last-child { opacity: .65; }
@media (max-width: 640px) { .st-foot__contact { gap: 20px 40px; } .st-foot__contact-big { font-size: clamp(18px,5vw,26px); } }
/* Убрать оранжевые черты (motion-plus draw-on), исправлено (2026-06) */
.ds-scope .st-secthead::after { display: none !important; }
.ds-scope .st-secthead.in::after { display: none !important; }
.ds-scope .st-secthead--center::after { display: none !important; }

