@charset "UTF-8";
/* ============================================================
   ЖК HAYAT — лендинг. Тёмная премиальная гамма с золотом.
   Ночной фасад с тёплой подсветкой + графит + бронза.
   ============================================================ */

@import url('/assets/fonts/fonts.css');

:root {
  --bg:         #0B0F14;
  --bg-2:       #10161E;
  --bg-3:       #161E28;
  --panel:      #131A23;
  --panel-2:    #1A222D;

  --gold:       #C9A24A;
  --gold-lt:    #E5C889;
  --gold-dk:    #9C7C33;
  --gold-grad:  linear-gradient(135deg, #C9A24A 0%, #E5C889 52%, #B8903C 100%);

  --tx:         #FFFFFF;
  --tx-2:       #A7B0BB;
  --tx-3:       #6E7883;

  --hair:       rgba(201,162,74,.30);
  --hair-2:     rgba(201,162,74,.16);
  --line:       rgba(255,255,255,.10);
  --line-2:     rgba(255,255,255,.16);

  --ok:         #6FA96A;
  --hold:       #D3A343;
  --gone:       #8A6F6A;

  --pad:        clamp(20px, 5vw, 80px);
  --maxw:       1680px;
  --gap:        clamp(16px, 2.2vw, 32px);
  --r:          10px;
  --r-lg:       22px;
  --r-cut:      64px;

  --ff:         'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ff-serif:   'Cormorant Garamond', Georgia, serif;

  --ease:       cubic-bezier(.22,.61,.36,1);
  --ease-out:   cubic-bezier(.16,1,.3,1);
  --hdr-h:      86px;
}
@media (max-width: 900px) { :root { --hdr-h: 64px; --r-cut: 34px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--ff); font-size: 16px; line-height: 1.6;
  color: var(--tx); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; font-feature-settings: 'liga' 1, 'kern' 1;
}
img, video, svg, picture { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: #0B0F14; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; }
.h-display { font-size: clamp(56px, 9.5vw, 150px); font-weight: 800; letter-spacing: .04em; line-height: .9; }
.h1 { font-size: clamp(34px, 5vw, 76px); text-transform: uppercase; letter-spacing: .005em; }
.h2 { font-size: clamp(28px, 3.7vw, 58px); text-transform: uppercase; letter-spacing: .005em; }
.h3 { font-size: clamp(20px, 2vw, 30px); }
.h4 { font-size: clamp(16px, 1.25vw, 20px); font-weight: 700; }

.lead  { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.66; color: var(--tx-2); text-wrap: pretty; }
.body  { font-size: clamp(14.5px, 1vw, 16px); line-height: 1.7; color: var(--tx-2); text-wrap: pretty; }
.small { font-size: 13px; line-height: 1.55; color: var(--tx-3); }
.num   { font-variant-numeric: tabular-nums; }
.gold  { color: var(--gold-lt); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 8.5vw, 148px); position: relative; }
.section--tight { padding-block: clamp(48px, 5.5vw, 90px); }
.section--alt { background: var(--bg-2); }
.glow::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(60vw 60vh at 12% 18%, rgba(201,162,74,.10), transparent 60%);
}
.section > .wrap { position: relative; z-index: 1; }

.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: clamp(16px, 2vw, 26px);
}
.kicker::after { content: ''; width: 46px; height: 1px; background: var(--hair); }

.sec-head { margin-bottom: clamp(30px, 4vw, 62px); }
.sec-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sec-head .body, .sec-head .lead { max-width: 58ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px; border-radius: var(--r);
  font-size: 13.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  position: relative; overflow: hidden; white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s, color .3s;
}
.btn--gold { background: var(--gold-grad); color: #14100A; box-shadow: 0 14px 34px -16px rgba(201,162,74,.7); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -16px rgba(201,162,74,.85); }
.btn--line { color: var(--tx); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-lt); transform: translateY(-2px); }
.btn--gold-line { color: var(--gold-lt); box-shadow: inset 0 0 0 1px var(--hair); }
.btn--gold-line:hover { box-shadow: inset 0 0 0 1px var(--gold); background: rgba(201,162,74,.08); transform: translateY(-2px); }
.btn--sm { padding: 12px 20px; font-size: 12px; }
.btn--lg { padding: 20px 36px; font-size: 14px; }
.btn svg { flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-lt); padding-bottom: 3px; position: relative;
}
.link-arrow::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.link-arrow:hover::before { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { transition: transform .35s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   ШАПКА
   ============================================================ */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--hdr-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease), box-shadow .4s, backdrop-filter .4s;
}
.hdr.is-stuck {
  background: rgba(11,15,20,.88);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--hair-2);
}
.hdr__in { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 44px); width: 100%; }

.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand img { width: auto; height: clamp(32px, 2.8vw, 44px); }
.brand__tx { line-height: 1.1; }
.brand__tx b { display: block; font-size: clamp(14px, 1.2vw, 18px); font-weight: 800; letter-spacing: .11em; color: var(--tx); }
.brand__tx span { display: block; font-size: 9px; letter-spacing: .17em; text-transform: uppercase; color: var(--tx-3); margin-top: 3px; }
@media (max-width: 760px) { .brand__tx span { display: none; } }

.nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 32px); margin-inline: auto; }
@media (max-width: 1300px) { .nav { display: none; } }
.nav a {
  font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--tx-2); position: relative; padding: 8px 0; white-space: nowrap; transition: color .3s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav a:hover, .nav a.is-active { color: var(--tx); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.hdr__cta { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: none; }
.hdr__phone {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: var(--r);
  box-shadow: inset 0 0 0 1px var(--hair); color: var(--tx);
  font-size: 14px; font-weight: 700; white-space: nowrap; transition: all .3s;
}
.hdr__phone:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-lt); }
.hdr__phone svg { color: var(--gold); }
@media (max-width: 640px) { .hdr__phone span { display: none; } .hdr__phone { padding: 12px; } }

.fav-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border-radius: var(--r);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px var(--line-2); color: var(--tx); transition: all .25s;
}
.fav-pill:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-lt); }
.fav-pill b { color: var(--gold-lt); font-variant-numeric: tabular-nums; }
.fav-pill:not(.is-on) { display: none; }
@media (max-width: 900px) { .fav-pill { display: none !important; } }

.burger {
  width: 50px; height: 50px; display: grid; place-items: center; flex: none;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s;
}
.burger:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.burger i { display: block; width: 18px; height: 1.5px; background: var(--tx); position: relative; transition: background .3s; }
.burger i::before, .burger i::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: inherit;
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.burger i::before { top: -6px; }
.burger i::after  { top: 6px; }
body.menu-open .burger i { background: transparent; }
body.menu-open .burger i::before { top: 0; transform: rotate(45deg); background: var(--tx); }
body.menu-open .burger i::after  { top: 0; transform: rotate(-45deg); background: var(--tx); }

.menu {
  position: fixed; inset: 0; z-index: 89; background: var(--bg);
  padding: calc(var(--hdr-h) + 28px) var(--pad) 36px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  overflow-y: auto;
}
body.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
.menu a {
  font-size: clamp(22px, 5vw, 34px); font-weight: 800; text-transform: uppercase;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 16px;
}
.menu a small { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .12em; }
.menu__foot { margin-top: auto; padding-top: 26px; display: flex; flex-direction: column; gap: 12px; }

/* ============================================================
   01 — ПЕРВЫЙ ЭКРАН
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { position: absolute; inset: 0; display: block; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero__media img { animation: kb 34s ease-in-out infinite alternate; transform-origin: 62% 55%; }
@keyframes kb { from { transform: scale(1.04); } to { transform: scale(1.14); } }
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none; } }
.hero__media video { display: none; }
@media (max-width: 780px) { .hero__media img { display: none; } .hero__media video { display: block; } }

.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(9,13,18,.95) 0%, rgba(9,13,18,.88) 24%, rgba(9,13,18,.48) 50%, rgba(9,13,18,.26) 72%, rgba(9,13,18,.6) 100%),
    linear-gradient(to bottom, rgba(9,13,18,.78) 0%, transparent 22%, transparent 60%, rgba(9,13,18,.82) 100%);
}
.hero__arc { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__arc i { position: absolute; border: 1px solid transparent; border-radius: 50%; border-top-color: rgba(201,162,74,.28); border-right-color: rgba(201,162,74,.12); }
.hero__arc i:nth-child(1) { width: 92vw; height: 92vw; left: 20%; top: -36%; transform: rotate(16deg); }
.hero__arc i:nth-child(2) { width: 56vw; height: 56vw; right: -14%; bottom: -24%; transform: rotate(-40deg); border-top-color: rgba(201,162,74,.18); }

.hero__body { flex: 1; display: flex; align-items: center; padding-top: var(--hdr-h); }
.hero__in { max-width: 800px; padding-block: clamp(28px, 4vw, 56px); }

.hero__kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--tx-2); margin-bottom: 12px; }
.hero__title { color: var(--tx); text-shadow: 0 4px 60px rgba(0,0,0,.5); }
.hero__rule { width: 118px; height: 1px; background: var(--hair); margin: clamp(18px,2.2vw,32px) 0 clamp(16px,2vw,28px); }
.hero__sub {
  font-size: clamp(24px, 3.1vw, 46px); font-weight: 800; line-height: 1.16;
  text-transform: uppercase; color: var(--tx); max-width: 15ch;
}
.hero__sub b { font-weight: 800; color: var(--gold-lt); }

.hero__stats { display: flex; flex-wrap: wrap; margin: clamp(24px,2.8vw,42px) 0 clamp(22px,2.8vw,36px); }
.hero__st { padding: 2px 26px; border-left: 1px solid var(--hair-2); }
.hero__st:first-child { padding-left: 20px; border-left-color: var(--hair); }
@media (max-width: 620px) { .hero__st { padding-inline: 15px; margin-bottom: 14px; } .hero__st:first-child { padding-left: 13px; } }
.hero__st b { display: block; font-size: clamp(19px, 1.7vw, 25px); font-weight: 800; letter-spacing: -.01em; }
.hero__st b sup { font-size: .52em; font-weight: 700; color: var(--tx-2); letter-spacing: 0; top: -.55em; }
.hero__st span { display: block; font-size: 12px; color: var(--tx-3); margin-top: 3px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.play-ring { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px currentColor; flex: none; }

.hero__scroll {
  position: absolute; left: var(--pad); bottom: clamp(22px, 3vw, 40px); z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tx-3);
}
.hero__scroll i { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--gold); animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (max-width: 900px) { .hero__scroll { display: none; } }

.hero__count {
  position: absolute; right: clamp(18px, 2.6vw, 44px); top: 50%; transform: translateY(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; color: var(--tx-3);
}
.hero__count b { color: var(--tx); font-size: 17px; }
.hero__count i { width: 26px; height: 1px; background: var(--hair); }
@media (max-width: 1100px) { .hero__count { display: none; } }

.hero__place {
  position: absolute; right: clamp(18px, 2.6vw, 44px); bottom: clamp(22px, 3vw, 40px); z-index: 2;
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 22px;
  border-radius: var(--r-lg); background: rgba(19,26,35,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--hair-2);
}
.hero__place svg { color: var(--gold); flex: none; }
.hero__place b { display: block; font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero__place span { display: block; font-size: 12.5px; color: var(--tx-2); margin-top: 2px; }
@media (max-width: 900px) { .hero__place { display: none; } }

/* ============================================================
   Общие элементы
   ============================================================ */
.ph { position: relative; overflow: hidden; background: var(--panel); border-radius: var(--r-lg); }
.ph picture { display: block; width: 100%; height: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.ph--zoom:hover img { transform: scale(1.05); }
.ph--cut  { border-radius: var(--r-cut) var(--r) var(--r-cut) var(--r); }
.ph--cut2 { border-radius: var(--r) var(--r-cut) var(--r) var(--r-cut); }
.ph--gold { box-shadow: inset 0 0 0 1px var(--hair); }
.ph__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 16px;
  background: linear-gradient(to top, rgba(6,9,13,.9), transparent);
  font-size: 13px; font-weight: 600;
}

.stub {
  display: grid; place-content: center; gap: 10px; text-align: center; padding: 26px; min-height: 180px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 10px, transparent 10px 20px), var(--panel);
  border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--tx-3);
}
.stub svg { margin-inline: auto; color: var(--gold); opacity: .6; }
.stub b { font-size: 13.5px; font-weight: 700; color: var(--tx); }
.stub span { font-size: 12.5px; }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 440px); gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 6px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail--inline { margin-inline: 0; padding-inline: 0; }
.rail__nav { display: flex; gap: 8px; }
.rail-btn { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: all .25s; }
.rail-btn:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-lt); }
.rail-btn[disabled] { opacity: .25; pointer-events: none; }

.rv { opacity: 0; transform: translateY(24px); }
.rv.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.rv-d1.is-in { transition-delay: .08s; } .rv-d2.is-in { transition-delay: .16s; }
.rv-d3.is-in { transition-delay: .24s; } .rv-d4.is-in { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ============================================================
   03 — О КОМПЛЕКСЕ · «Жизнь в ритме комфорта»
   ============================================================ */
.about { position: relative; overflow: hidden; background: linear-gradient(120deg, #0A0E13 0%, #10161E 58%, #0C1116 100%); }
.about::after {
  content: ''; position: absolute; left: -6%; top: 6%; width: 46vw; height: 60vh; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(201,162,74,.13), transparent 62%);
}
.about__grid {
  display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  gap: clamp(28px, 4vw, 70px); align-items: center; position: relative; z-index: 1;
}
@media (max-width: 1040px) { .about__grid { grid-template-columns: 1fr; } }

.about__title { text-transform: uppercase; }
.about__title span { display: block; }
.about__title .g { color: var(--gold-lt); }

.about__lead {
  margin-top: clamp(20px, 2.4vw, 32px); padding-left: 20px;
  border-left: 1px solid var(--hair); max-width: 40ch;
}

.about__feats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(28px, 3.4vw, 48px);
}
@media (max-width: 700px) { .about__feats { grid-template-columns: repeat(2, 1fr); row-gap: 26px; } }
.about__f { padding-right: 18px; border-right: 1px solid var(--line); }
.about__f:last-child { border-right: 0; }
@media (max-width: 700px) { .about__f:nth-child(2n) { border-right: 0; } }
.about__f svg { color: var(--gold); margin-bottom: 16px; }
.about__f b { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 6px; }
.about__f span { display: block; font-size: 13px; color: var(--tx-3); line-height: 1.45; }

.about__cta { margin-top: clamp(28px, 3.4vw, 46px); }

/* правая композиция: большое фото со срезом + карточка-цитата внахлёст */
.about__art { position: relative; }
.about__ph {
  border-radius: var(--r-cut) var(--r-cut) var(--r) var(--r-cut);
  overflow: hidden; aspect-ratio: 16/10; box-shadow: inset 0 0 0 1px var(--hair-2), 0 40px 80px -50px #000;
}
.about__ph img { width: 100%; height: 100%; object-fit: cover; }
.about__quote {
  position: relative; margin-top: -8%; margin-left: 8%;
  display: grid; grid-template-columns: 1fr minmax(0,.62fr); align-items: stretch;
  border-radius: var(--r-cut) var(--r) var(--r-cut) var(--r-cut);
  overflow: hidden; background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--hair), 0 30px 70px -46px #000;
}
@media (max-width: 700px) { .about__quote { grid-template-columns: 1fr; margin-left: 0; margin-top: 18px; } }
.about__quote-tx { padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.about__quote-tx q { font-size: clamp(16px, 1.5vw, 23px); line-height: 1.42; font-weight: 600; quotes: none; }
.about__quote-tx q b { color: var(--gold-lt); font-weight: 700; }
.about__quote-tx svg { color: var(--gold); opacity: .7; }
.about__quote-ph { position: relative; min-height: 180px; overflow: hidden; }
.about__quote-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   04 — АРХИТЕКТУРА
   ============================================================ */
.arch__toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px;
  background: rgba(255,255,255,.04); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2);
  position: relative;
}
.arch__toggle::before {
  content: ''; position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: var(--tw, calc(50% - 4px)); background: var(--gold-grad); border-radius: 999px;
  transform: translateX(var(--tx, 0)); transition: transform .5s var(--ease-out), width .5s var(--ease-out);
}
.arch__toggle button {
  padding: 10px 22px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3);
  transition: color .3s; position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
}
.arch__toggle button[aria-pressed="true"] { color: #14100A; }

.arch__stage {
  position: relative; border-radius: var(--r-cut) var(--r) var(--r-cut) var(--r);
  overflow: hidden; aspect-ratio: 16/9; background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--hair-2);
}
@media (max-width: 720px) { .arch__stage { aspect-ratio: 4/3; } }
.arch__stage picture { position: absolute; inset: 0; display: block; }
.arch__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.arch__stage img.is-on { opacity: 1; }

.arch__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-top: var(--gap); }
.arch__grid > * { min-width: 0; }
.a-1 { grid-column: span 5; aspect-ratio: 4/5; }
.a-2 { grid-column: span 7; aspect-ratio: 16/10; align-self: end; }
.a-3 { grid-column: span 4; aspect-ratio: 1; }
.a-4 { grid-column: span 8; aspect-ratio: 21/9; }
@media (max-width: 860px) {
  .arch__grid { grid-template-columns: repeat(2, 1fr); }
  .a-1, .a-2, .a-3 { grid-column: span 1; aspect-ratio: 4/3; }
  .a-4 { grid-column: span 2; aspect-ratio: 16/9; }
}

.arch__note {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
  margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line);
}
@media (max-width: 820px) { .arch__note { grid-template-columns: 1fr; } }
.arch__note h4 { margin-bottom: 10px; }
.arch__note h4::before { content: ''; display: block; width: 34px; height: 1px; background: var(--gold); margin-bottom: 14px; }

/* ============================================================
   05 — ПЛАНИРОВКИ
   ============================================================ */
.plans__layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.plans__layout > * { min-width: 0; }
@media (max-width: 1100px) { .plans__layout { grid-template-columns: 1fr; } }

.filters {
  position: sticky; top: calc(var(--hdr-h) + 20px);
  display: flex; flex-direction: column; gap: 26px; padding: 28px;
  background: var(--panel); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line);
}
@media (max-width: 1100px) { .filters { position: static; } }
.f-group__t { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 13px; display: flex; justify-content: space-between; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line-2); color: var(--tx-2); transition: all .25s;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--hair); color: var(--tx); }
.chip[aria-pressed="true"] { background: var(--gold-grad); color: #14100A; box-shadow: none; }

.range { position: relative; height: 34px; margin-top: 6px; }
.range__track { position: absolute; inset: 15px 0 auto; height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; }
.range__fill  { position: absolute; height: 3px; background: var(--gold); border-radius: 3px; top: 15px; }
.range input { position: absolute; width: 100%; top: 6px; height: 22px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px var(--gold), 0 3px 10px -2px #000; cursor: grab; transition: transform .18s; }
.range input::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); }
.range input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px var(--gold); cursor: grab; }
.range__out { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-top: 2px; }

.house { display: flex; flex-direction: column-reverse; gap: 3px; }
.house__fl { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; font-size: 13px; font-weight: 700; color: var(--tx-2); transition: all .25s; width: 100%; text-align: left; }
.house__fl:hover { background: rgba(255,255,255,.05); color: var(--tx); }
.house__fl[aria-pressed="true"] { background: rgba(201,162,74,.14); color: var(--gold-lt); box-shadow: inset 0 0 0 1px var(--hair); }
.house__fl i { flex: 1; height: 10px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 9px, transparent 9px 12px); }
.house__fl[aria-pressed="true"] i { background: repeating-linear-gradient(90deg, var(--gold) 0 9px, transparent 9px 12px); }
.house__fl b { font-variant-numeric: tabular-nums; min-width: 16px; }
.house__fl small { font-size: 11px; font-weight: 600; opacity: .6; min-width: 44px; text-align: right; }
.f-reset { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-lt); }

/* шахматка */
.chess { background: var(--panel); border-radius: var(--r-lg); padding: clamp(18px,2.2vw,30px); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: var(--gap); }
.chess__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.chess__legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; font-weight: 600; color: var(--tx-3); }
.chess__legend span { display: inline-flex; align-items: center; gap: 7px; }
.chess__legend i { width: 10px; height: 10px; border-radius: 3px; }
.chess__body { overflow-x: auto; scrollbar-width: thin; }
.chess__row { display: flex; align-items: stretch; gap: 6px; margin-bottom: 6px; min-width: max-content; }
.chess__fl { flex: none; width: 82px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 6px; font-size: 13px; font-weight: 700; color: var(--tx-2); transition: all .25s; text-align: left; }
.chess__fl:hover { background: rgba(255,255,255,.05); }
.chess__fl[aria-pressed="true"] { background: rgba(201,162,74,.14); color: var(--gold-lt); }
.chess__fl b { font-size: 15px; font-variant-numeric: tabular-nums; }
.chess__fl small { font-size: 11px; opacity: .55; }
.chess__cells { display: flex; gap: 6px; flex: 1; }
.chess__cell {
  flex: 1 1 62px; min-width: 62px; height: 54px; border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-size: 12px; font-weight: 700; position: relative;
  transition: transform .2s var(--ease-out), box-shadow .2s, opacity .3s; font-variant-numeric: tabular-nums;
}
.chess__cell b { font-size: 13px; }
.chess__cell small { font-size: 10.5px; font-weight: 600; opacity: .75; }
.chess__cell.c-free { background: rgba(111,169,106,.14); color: #9CCB96; box-shadow: inset 0 0 0 1px rgba(111,169,106,.3); }
.chess__cell.c-res  { background: rgba(211,163,67,.15); color: var(--gold-lt); box-shadow: inset 0 0 0 1px rgba(211,163,67,.32); }
.chess__cell.c-sold { background: rgba(255,255,255,.04); color: var(--tx-3); box-shadow: inset 0 0 0 1px var(--line); cursor: default; }
.chess__cell.c-none { background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 6px, transparent 6px 12px); box-shadow: inset 0 0 0 1px var(--line); cursor: default; }
@media (hover: hover) { .chess__cell:not(.c-sold):not(.c-none):hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 24px -12px #000, inset 0 0 0 1px currentColor; z-index: 2; } }
.chess__cell.is-dim { opacity: .22; }
.chess__hint { font-size: 12.5px; color: var(--tx-3); margin-top: 14px; display: flex; align-items: center; gap: 8px; }

.plans__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.plans__count { font-size: 15px; font-weight: 700; }
.plans__count span { color: var(--tx-3); font-weight: 600; }
.sortsel {
  padding: 11px 38px 11px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line-2); background-color: transparent; appearance: none; cursor: pointer; color: var(--tx);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A24A' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.sortsel option { background: var(--panel); color: var(--tx); }

.plans__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: var(--gap); }
.apt {
  display: flex; flex-direction: column; background: var(--panel); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s var(--ease), transform .4s var(--ease-out); position: relative;
}
.apt:hover { box-shadow: inset 0 0 0 1px var(--hair), 0 30px 60px -40px #000; transform: translateY(-4px); }
.apt__plan { aspect-ratio: 1; background: #F4F1EA; position: relative; display: grid; place-items: center; padding: 16px; }
.apt__plan picture { display: block; width: 100%; height: 100%; }
.apt__plan img { width: 100%; height: 100%; object-fit: contain; }
.apt__plan .stub { background: none; border-color: rgba(23,20,15,.16); color: #6E6355; }
.apt__plan .stub b { color: #2A241C; }
.apt__badge {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; background: rgba(11,15,20,.9); font-size: 11.5px; font-weight: 700;
}
.apt__badge i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.st-free { color: #9CCB96; } .st-free i { background: var(--ok); }
.st-res  { color: var(--gold-lt); } .st-res i { background: var(--hold); }
.st-sold { color: var(--tx-3); } .st-sold i { background: var(--gone); }
.apt__fav { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: rgba(11,15,20,.85); color: var(--tx-2); transition: all .25s; }
.apt__fav:hover { transform: scale(1.1); color: var(--gold-lt); }
.apt__fav[aria-pressed="true"] { color: #D4635C; }
.apt__fav[aria-pressed="true"] svg { fill: currentColor; }
.apt__body { padding: 17px 19px 19px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.apt__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.apt__rooms { font-size: 15px; font-weight: 800; }
.apt__area { font-size: 17px; font-weight: 800; color: var(--gold-lt); font-variant-numeric: tabular-nums; }
.apt__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--tx-3); font-weight: 600; }
.apt__price { margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.apt__price b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.apt__price .ask { font-size: 13px; font-weight: 700; color: var(--tx-3); }
.apt__cta { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-lt); display: inline-flex; align-items: center; gap: 6px; }
.apt.is-sold { opacity: .5; } .apt.is-sold:hover { transform: none; }

.plans__empty { grid-column: 1/-1; padding: 56px 20px; text-align: center; }
.plans__empty b { display: block; font-size: 19px; margin-bottom: 8px; }
.plans__note {
  margin-top: clamp(26px, 3vw, 42px); padding: 24px 28px; background: var(--panel);
  border-radius: var(--r-lg); border-left: 2px solid var(--gold);
  display: flex; gap: 16px; align-items: flex-start;
}
.plans__note svg { flex: none; color: var(--gold); margin-top: 2px; }

/* ============================================================
   06 — ОТДЕЛКА
   ============================================================ */
.finish__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.finish__grid > * { min-width: 0; }
@media (max-width: 900px) { .finish__grid { grid-template-columns: 1fr; } }
.compare {
  position: relative; aspect-ratio: 16/10; border-radius: var(--r-cut) var(--r) var(--r-cut) var(--r);
  overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; background: var(--panel);
  grid-column: 1 / -1; box-shadow: inset 0 0 0 1px var(--hair-2);
}
.compare picture { position: absolute; inset: 0; display: block; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__top { clip-path: inset(0 calc(100% - var(--sp, 50%)) 0 0); }
.compare__hd { position: absolute; top: 0; bottom: 0; left: var(--sp, 50%); width: 2px; background: var(--gold); transform: translateX(-1px); pointer-events: none; }
.compare__hd::after { content: ''; position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--gold-grad); box-shadow: 0 8px 26px -8px #000; }
.compare__hd i { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 1; color: #14100A; display: grid; place-items: center; }
.compare__lb { position: absolute; top: 16px; padding: 8px 15px; border-radius: 999px; background: rgba(11,15,20,.68); backdrop-filter: blur(8px); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.compare__lb--l { left: 16px; } .compare__lb--r { right: 16px; }
.finish__card { display: flex; flex-direction: column; gap: 15px; }
.finish__card h3 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; text-transform: uppercase; }
.finish__card h3 span { font-size: 11px; font-weight: 700; letter-spacing: .13em; color: var(--gold); }
.finish__list { display: flex; flex-direction: column; gap: 10px; }
.finish__list li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--tx-2); }
.finish__list svg { flex: none; color: var(--gold); margin-top: 4px; }

/* ============================================================
   07 — ДВОР
   ============================================================ */
.yard__hero { border-radius: var(--r-cut) var(--r) var(--r-cut) var(--r); overflow: hidden; aspect-ratio: 21/9; margin-bottom: var(--gap); }
@media (max-width: 800px) { .yard__hero { aspect-ratio: 4/3; } }
.infra { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 1200px) { .infra { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px)  { .infra { grid-template-columns: repeat(2, 1fr); } }
.infra__i { background: var(--panel); padding: clamp(20px,2.2vw,30px) clamp(14px,1.4vw,20px); display: flex; flex-direction: column; gap: 12px; min-height: 162px; position: relative; transition: background-color .4s; }
.infra__i:hover { background: var(--panel-2); }
.infra__i::before { content: attr(data-n); position: absolute; top: 13px; right: 15px; font-size: 11px; font-weight: 700; color: var(--gold); opacity: .45; font-variant-numeric: tabular-nums; }
.infra__i svg { color: var(--gold); }
.infra__i b { font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; line-height: 1.35; margin-top: auto; }
.infra__i small { font-size: 12.5px; color: var(--tx-3); line-height: 1.45; }

/* ============================================================
   08 — КОФЕЙНЯ
   ============================================================ */
.coffee { position: relative; overflow: hidden; background: linear-gradient(120deg, #0A0E13, #141A22 60%, #0B0F14); }
.coffee__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px,5vw,80px); align-items: center; }
.coffee__grid > * { min-width: 0; }
@media (max-width: 950px) { .coffee__grid { grid-template-columns: 1fr; } }
.coffee__ph { border-radius: var(--r) var(--r-cut) var(--r) var(--r-cut); overflow: hidden; aspect-ratio: 4/3; box-shadow: inset 0 0 0 1px var(--hair-2); }
.coffee__tag { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 22px; }
.coffee__name { font-size: clamp(40px,6vw,96px); font-weight: 800; letter-spacing: .05em; line-height: 1; margin-bottom: 8px; }
.coffee__sub { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 26px; }

/* ============================================================
   09-13
   ============================================================ */
.common__card { border-radius: var(--r-cut) var(--r) var(--r-cut) var(--r); overflow: hidden; aspect-ratio: 3/4; position: relative; }

.tl { position: relative; padding-left: 28px; }
.tl::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl__i { position: relative; padding-bottom: 32px; }
.tl__i::before { content: ''; position: absolute; left: -27px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 1px var(--line-2); }
.tl__i.is-done::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,74,.16); }
.tl__d { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.tl__t { font-size: 17px; font-weight: 700; margin-bottom: 5px; }

.buy__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 900px) { .buy__grid { grid-template-columns: 1fr; } }
.buy__c { padding: clamp(26px,2.8vw,38px); background: var(--panel); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 13px; transition: all .4s var(--ease-out); }
.buy__c:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--hair), 0 30px 60px -42px #000; }
.buy__n { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.buy__c h3 { text-transform: uppercase; font-size: clamp(18px,1.6vw,24px); }

.loc__grid { display: grid; grid-template-columns: 400px 1fr; gap: clamp(24px,3vw,48px); align-items: stretch; }
.loc__grid > * { min-width: 0; }
@media (max-width: 1000px) { .loc__grid { grid-template-columns: 1fr; } }
.loc__map { border-radius: var(--r-cut) var(--r) var(--r-cut) var(--r); overflow: hidden; min-height: 480px; background: var(--panel); position: relative; box-shadow: inset 0 0 0 1px var(--line); }
.loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) brightness(.86) contrast(1.06); }
.loc__list { display: flex; flex-direction: column; }
.loc__i { display: flex; align-items: center; gap: 14px; padding: 17px 4px; border-bottom: 1px solid var(--line); }
.loc__i svg { color: var(--gold); flex: none; }
.loc__i b { font-size: 14px; font-weight: 700; }
.loc__i small { display: block; font-size: 12.5px; color: var(--tx-3); }
.loc__t { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--gold-lt); padding: 5px 12px; border-radius: 999px; background: rgba(201,162,74,.12); white-space: nowrap; }

.sales { position: relative; overflow: hidden; background: linear-gradient(120deg, #0A0E13, #12191F 55%, #0B0F14); }
.sales::before { content: ''; position: absolute; right: -8%; top: -20%; width: 60vw; height: 140%; background: radial-gradient(ellipse at center, rgba(201,162,74,.15), transparent 62%); pointer-events: none; }
.sales__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,80px); align-items: start; position: relative; }
.sales__grid > * { min-width: 0; }
@media (max-width: 950px) { .sales__grid { grid-template-columns: 1fr; } }
.contacts { display: flex; flex-direction: column; margin-top: 30px; }
.contacts a, .contacts div { display: flex; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); transition: color .25s; }
.contacts a:hover { color: var(--gold-lt); }
.contacts svg { flex: none; color: var(--gold); }
.contacts b { font-size: 16px; font-weight: 700; }
.contacts small { display: block; font-size: 12px; color: var(--tx-3); letter-spacing: .04em; margin-top: 2px; }

.form { display: flex; flex-direction: column; gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 21px 18px 9px; background: rgba(255,255,255,.03); border: 0;
  box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r); color: var(--tx);
  font-size: 16px; transition: box-shadow .3s, background-color .3s;
}
.field textarea { min-height: 106px; resize: vertical; padding-top: 26px; }
.field label { position: absolute; left: 18px; top: 18px; font-size: 15px; color: var(--tx-3); pointer-events: none; transition: all .22s var(--ease); }
.field input:focus, .field textarea:focus { outline: 0; box-shadow: inset 0 0 0 1px var(--gold); background: rgba(255,255,255,.05); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 7px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
}
.field.has-err input, .field.has-err textarea { box-shadow: inset 0 0 0 1px #C05A54; }
.field__err { font-size: 12px; color: #E08D87; margin-top: 5px; display: none; }
.field.has-err .field__err { display: block; }
.form__agree { display: flex; gap: 11px; align-items: flex-start; font-size: 12.5px; color: var(--tx-3); line-height: 1.5; }
.form__agree input { flex: none; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--gold); }
.form__agree a { text-decoration: underline; text-underline-offset: 2px; }
.form__ok, .form__fail { display: none; padding: 18px 20px; border-radius: var(--r); font-size: 14.5px; font-weight: 600; }
.form__ok { background: rgba(111,169,106,.12); color: #9CCB96; box-shadow: inset 0 0 0 1px rgba(111,169,106,.3); }
.form__fail { background: rgba(192,90,84,.12); color: #E08D87; box-shadow: inset 0 0 0 1px rgba(192,90,84,.3); }
.form.is-sent .form__ok { display: block; }
.form.is-sent .field, .form.is-sent .form__agree, .form.is-sent .btn { display: none; }
.form.is-fail .form__fail { display: block; }
.btn.is-busy { pointer-events: none; opacity: .7; }
.btn.is-busy .btn__t::after { content: ''; display: inline-block; width: 13px; height: 13px; margin-left: 9px; border: 2px solid rgba(0,0,0,.25); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }

.cta-band {
  background: linear-gradient(120deg, #12191F, #1B242E 55%, #101720); border-radius: var(--r-cut) var(--r) var(--r-cut) var(--r);
  padding: clamp(30px,3.6vw,56px); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: clamp(20px,3vw,48px); flex-wrap: wrap;
  box-shadow: inset 0 0 0 1px var(--hair-2);
}
.cta-band::before { content: ''; position: absolute; right: -10%; top: -60%; width: 46vw; height: 220%; background: radial-gradient(ellipse at center, rgba(201,162,74,.2), transparent 62%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h3 { max-width: 22ch; text-transform: uppercase; }
.cta-band p { color: var(--tx-2); max-width: 46ch; margin-top: 10px; font-size: 15px; }

.ftr { background: #080B0F; padding-block: clamp(48px,5vw,76px) 26px; border-top: 1px solid var(--line); }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(24px,3vw,48px); }
@media (max-width: 950px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr h5 { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 18px; }
.ftr__nav { display: flex; flex-direction: column; gap: 11px; }
.ftr__nav a { font-size: 14px; color: var(--tx-2); transition: color .25s; }
.ftr__nav a:hover { color: var(--gold-lt); }
.ftr__mark { font-size: 30px; font-weight: 800; letter-spacing: .2em; margin-bottom: 14px; }
.ftr__dev { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 10px 14px; background: #fff; border-radius: 8px; }
.ftr__dev img { width: 104px; }
.ftr__dev span { font-size: 10.5px; color: #5A5348; line-height: 1.35; font-weight: 600; }
.ftr__bot { margin-top: clamp(36px,4vw,56px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-size: 12.5px; color: var(--tx-3); }
.ftr__bot a:hover { color: var(--gold-lt); }
.ftr__alux { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; }

/* модалки, лайтбокс, панели */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: clamp(12px,3vw,40px); background: rgba(5,7,10,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: 100%; max-width: 620px; max-height: 92svh; overflow-y: auto; background: var(--panel); border-radius: var(--r-lg); padding: clamp(24px,3vw,40px); transform: translateY(16px) scale(.985); transition: transform .45s var(--ease-out); box-shadow: inset 0 0 0 1px var(--hair-2); }
.modal.is-open .modal__box { transform: none; }
.modal__box--video { max-width: min(430px,92vw); padding: 0; background: #000; overflow: hidden; }
.modal__box--video video { width: 100%; display: block; max-height: 88svh; }
.modal__box--wide { max-width: min(1200px,94vw); background: transparent; padding: 0; box-shadow: none; }
.modal__x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--tx); transition: all .25s; }
.modal__x:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
.lb__img { width: 100%; max-height: 88svh; object-fit: contain; border-radius: var(--r); }
.lb__cap { text-align: center; color: var(--tx-2); font-size: 13px; margin-top: 12px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; background: rgba(0,0,0,.6); color: #fff; transition: background-color .25s; }
.lb__nav:hover { background: rgba(0,0,0,.85); }
.lb__prev { left: -8px; } .lb__next { right: -8px; }
@media (max-width: 700px) { .lb__prev { left: 4px; } .lb__next { right: 4px; } }
body.no-scroll { overflow: hidden; }

.fab { position: fixed; right: clamp(14px,2vw,26px); bottom: clamp(14px,2vw,26px); z-index: 80; width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 30px -8px rgba(37,211,102,.6); transition: transform .3s var(--ease-out); opacity: 0; visibility: hidden; transform: scale(.7); }
.fab.is-on { opacity: 1; visibility: visible; transform: none; }
.fab:hover { transform: scale(1.08); }
.prog { position: fixed; top: 0; left: 0; height: 2px; background: var(--gold-grad); z-index: 95; width: 0; transition: width .1s linear; }

.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,15,20,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--hair-2); transform: translateY(110%); transition: transform .4s var(--ease-out); }
.mbar.is-on { transform: none; }
@media (max-width: 780px) { .mbar { display: flex; } .fab { display: none; } }
.mbar .btn { flex: 1; padding: 15px 12px; font-size: 12px; }

@media print { .hdr, .fab, .hero__scroll, .modal, .prog, .burger, .mbar { display: none !important; } body { background: #fff; color: #000; } }

/* ============================================================
   Счётчик разделов справа + двухстрочный заголовок
   ============================================================ */
.sec-count {
  position: absolute; right: clamp(14px, 1.8vw, 34px); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 2;
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,.16); font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.sec-count b { color: var(--tx); font-size: 19px; }
.sec-count i { width: 22px; height: 1px; background: var(--hair); }
@media (max-width: 1400px) { .sec-count { display: none; } }

.dual span { display: block; }
.dual .g { color: var(--gold-lt); }

.ic-chip {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none;
  color: var(--gold); box-shadow: inset 0 0 0 1px var(--hair); background: rgba(201,162,74,.06);
}
.ic-chip--fill { background: var(--gold-grad); color: #14100A; box-shadow: none; }
.ic-go {
  width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; flex: none;
  background: var(--gold-grad); color: #14100A; transition: transform .3s var(--ease-out), box-shadow .3s;
  box-shadow: 0 12px 30px -14px rgba(201,162,74,.8);
}
.ic-go:hover { transform: scale(1.08); }

/* ============================================================
   03 — ПЛАНИРОВКИ
   ============================================================ */
.plans { position: relative; overflow: hidden; }
.plans::before {
  content: ''; position: absolute; right: -6%; top: -12%; width: 60vw; height: 70vh; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(201,162,74,.10), transparent 62%);
}
.plans__top {
  display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr);
  gap: clamp(24px, 3.4vw, 60px); align-items: center; margin-bottom: clamp(28px, 3.4vw, 50px);
}
@media (max-width: 1040px) { .plans__top { grid-template-columns: 1fr; } }
.plans__hero {
  border-radius: var(--r-cut) var(--r) var(--r) var(--r); overflow: hidden;
  aspect-ratio: 16/9; box-shadow: inset 0 0 0 1px var(--hair-2); position: relative;
  margin-right: calc(var(--pad) * -1);
}
@media (max-width: 1040px) { .plans__hero { margin-right: 0; } }
.plans__hero picture { display: block; width: 100%; height: 100%; }
.plans__hero img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.plans__hero:hover img { transform: scale(1.04); }

/* панель фильтров */
.fbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(24px,3vw,40px); }
.fbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips--col { flex-direction: column; align-items: stretch; gap: 6px; }
.chips--col .chip { text-align: left; }

.fdrop { position: relative; }
.fdrop > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 12px; padding: 13px 20px;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13.5px; font-weight: 700; color: var(--tx-2); transition: all .25s; white-space: nowrap;
}
.fdrop > summary::-webkit-details-marker { display: none; }
.fdrop > summary:hover { box-shadow: inset 0 0 0 1px var(--hair); color: var(--tx); }
.fdrop[open] > summary { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-lt); }
.fdrop[open] > summary svg { transform: rotate(180deg); }
.fdrop > summary svg { transition: transform .3s; }
.fdrop__box {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 244px;
  padding: 20px; border-radius: var(--r-lg); background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--hair-2), 0 24px 50px -26px #000;
}
@media (max-width: 520px) { .fdrop__box { left: auto; right: 0; } }
.range__out { color: var(--gold-lt); }
.f-reset { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-lt); }
.plans__count { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--tx-2); }
.plans__count b { color: var(--tx); }

/* карточки */
.plans__wrap { position: relative; }
.plans__arw { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: var(--panel-2); }
.plans__arw--l { left: calc(var(--pad) * -1 + 6px); }
.plans__arw--r { right: calc(var(--pad) * -1 + 6px); }
@media (max-width: 1500px) { .plans__arw { display: none; } }

.plans__grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr);
  gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 8px;
}
.plans__grid::-webkit-scrollbar { display: none; }
.plans__grid > * { scroll-snap-align: start; }
@media (min-width: 1200px) { .plans__grid { grid-auto-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0,1fr)); overflow: visible; } }

.apt {
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1fr); align-items: center; gap: 14px;
  padding: 22px; background: var(--panel); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--hair-2); position: relative;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease-out);
}
.apt:hover { box-shadow: inset 0 0 0 1px var(--gold), 0 30px 60px -40px #000; transform: translateY(-4px); }
.apt__plan { border-radius: var(--r); overflow: hidden; background: #F4F1EA; aspect-ratio: 3/4; display: grid; place-items: center; padding: 10px; cursor: zoom-in; }
.apt__plan img { width: 100%; height: 100%; object-fit: contain; }
.apt__plan .stub { background: none; border-color: rgba(23,20,15,.16); color: #6E6355; min-height: 0; padding: 12px; }
.apt__plan .stub b { color: #2A241C; font-size: 12px; }
.apt__body { display: flex; flex-direction: column; gap: 4px; }
.apt__rooms { font-size: 14.5px; font-weight: 700; color: var(--tx); }
.apt__area { font-size: clamp(26px, 2.2vw, 34px); font-weight: 800; color: var(--gold-lt); line-height: 1.05; }
.apt__area sup { font-size: .5em; top: -.6em; }
.apt__floor { font-size: 13.5px; color: var(--tx-3); }
.apt__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.apt__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.apt__badge i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.st-free { color: var(--tx-2); } .st-free i { background: #4CAF6A; }
.st-res  { color: var(--tx-2); } .st-res  i { background: #E08A2B; }
.st-sold { color: var(--tx-3); } .st-sold i { background: var(--gone); }
.apt__go {
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; flex: none;
  color: var(--gold-lt); box-shadow: inset 0 0 0 1px var(--hair); transition: all .3s var(--ease-out);
}
.apt__go:hover { background: var(--gold-grad); color: #14100A; box-shadow: none; transform: scale(1.08); }
.apt__fav { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: var(--tx-3); transition: all .25s; z-index: 2; }
.apt__fav:hover { color: var(--gold-lt); transform: scale(1.12); }
.apt__fav[aria-pressed="true"] { color: #D4635C; }
.apt__fav[aria-pressed="true"] svg { fill: currentColor; }
.apt.is-sold { opacity: .5; } .apt.is-sold:hover { transform: none; }
.plans__empty { grid-column: 1/-1; padding: 48px 20px; text-align: center; }
.plans__empty b { display: block; font-size: 19px; margin-bottom: 8px; }

/* нижняя инфо-панель */
.infobar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,2.4vw,40px);
  margin-top: clamp(26px,3vw,44px); padding: clamp(24px,2.6vw,38px);
  background: var(--panel); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--hair-2);
}
@media (max-width: 900px) { .infobar { grid-template-columns: 1fr; } }
.infobar__i { display: flex; align-items: center; gap: 18px; padding-right: clamp(16px,2vw,32px); border-right: 1px solid var(--line); }
.infobar__i:last-child { border-right: 0; padding-right: 0; }
@media (max-width: 900px) { .infobar__i { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; } .infobar__i:last-child { border-bottom: 0; padding-bottom: 0; } }
.infobar__i b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.infobar__i span { display: block; font-size: 13px; color: var(--tx-3); line-height: 1.5; }
.infobar__big { font-size: clamp(46px,4.4vw,64px); font-weight: 800; line-height: .9; color: var(--gold-lt); flex: none; }

.infobar--wide { grid-template-columns: minmax(0,1fr) minmax(0,1.5fr) 240px; align-items: center; }
@media (max-width: 1200px) { .infobar--wide { grid-template-columns: 1fr; } }
.infobar__i--lead b { font-size: clamp(17px,1.5vw,22px); line-height: 1.3; margin: 0; }
.infobar__mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-inline: clamp(16px,2vw,32px); border-right: 1px solid var(--line); }
@media (max-width: 1200px) { .infobar__mini { border-right: 0; padding-inline: 0; } }
@media (max-width: 620px)  { .infobar__mini { grid-template-columns: repeat(2, 1fr); } }
.infobar__mini > div { display: flex; flex-direction: column; gap: 12px; }
.infobar__mini svg { color: var(--gold); }
.infobar__mini span { font-size: 12.5px; color: var(--tx-2); line-height: 1.45; }
.infobar__ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 16/10; }
.infobar__ph picture { display: block; width: 100%; height: 100%; }
.infobar__ph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1200px) { .infobar__ph { display: none; } }

/* ============================================================
   04 — ОТДЕЛКА
   ============================================================ */
.finish { position: relative; overflow: hidden; }
.finish::before {
  content: ''; position: absolute; right: 8%; top: -8%; width: 46vw; height: 46vw; pointer-events: none;
  border: 1px solid transparent; border-radius: 50%;
  border-left-color: rgba(201,162,74,.26); border-top-color: rgba(201,162,74,.16); transform: rotate(-14deg);
}
.finish__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(28px,3.4vw,48px); }
.finish__note { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; line-height: 1.55; color: var(--tx-2); max-width: 38ch; padding-top: 8px; }
.finish__note svg { color: var(--gold); flex: none; margin-top: 2px; }

.finish__cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
@media (max-width: 900px) { .finish__cards { grid-template-columns: 1fr; } }
.fcard {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 520px;
  display: flex; align-items: stretch; box-shadow: inset 0 0 0 1px var(--hair-2);
  transition: box-shadow .4s, transform .4s var(--ease-out);
}
.fcard:hover { box-shadow: inset 0 0 0 1px var(--gold), 0 40px 80px -50px #000; transform: translateY(-4px); }
.fcard__ph { position: absolute; inset: 0; z-index: 0; }
.fcard__ph picture { display: block; width: 100%; height: 100%; }
.fcard__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.fcard:hover .fcard__ph img { transform: scale(1.05); }
.fcard::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(96deg, rgba(9,12,17,.95) 0%, rgba(9,12,17,.86) 34%, rgba(9,12,17,.42) 62%, rgba(9,12,17,.28) 100%);
}
.fcard__in { position: relative; z-index: 2; padding: clamp(26px,2.6vw,40px); display: flex; flex-direction: column; gap: 18px; max-width: 380px; justify-content: center; }
.fcard__t { margin-top: 4px; position: relative; padding-bottom: 18px; }
.fcard__t::after { content: ''; position: absolute; left: 0; bottom: 0; width: 62px; height: 1px; background: var(--gold); }
.ticks { display: flex; flex-direction: column; gap: 13px; }
.ticks li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.45; color: var(--tx-2); }
.ticks svg { flex: none; color: var(--gold); margin-top: 1px; }

/* ============================================================
   Три карточки-перехода
   ============================================================ */
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 1000px) { .tri { grid-template-columns: 1fr; } }
.tri__c {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.72fr); gap: 18px; align-items: center;
  padding: clamp(22px,2.2vw,30px); background: var(--panel); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--hair-2); transition: all .4s var(--ease-out);
}
.tri__c:hover { box-shadow: inset 0 0 0 1px var(--gold), 0 30px 60px -42px #000; transform: translateY(-4px); }
.tri__tx { display: flex; flex-direction: column; gap: 12px; }
.tri__t { font-size: clamp(16px,1.4vw,20px); font-weight: 800; text-transform: uppercase; line-height: 1.25; }
.tri__ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4; align-self: stretch; }
.tri__ph picture { display: block; width: 100%; height: 100%; }
.tri__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.tri__c:hover .tri__ph img { transform: scale(1.06); }

/* ============================================================
   Ход строительства
   ============================================================ */
.prog__grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(24px,3vw,56px); align-items: start; }
@media (max-width: 900px) { .prog__grid { grid-template-columns: 1fr; } }
.prog__ph { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
@media (max-width: 520px) { .prog__ph { grid-template-columns: 1fr; } }

/* ============================================================
   Остались вопросы
   ============================================================ */
.ask {
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.15fr) minmax(0,.9fr);
  gap: clamp(24px,3vw,52px); align-items: center;
  padding: clamp(28px,3.2vw,50px); background: var(--panel); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--hair-2);
}
@media (max-width: 1100px) { .ask { grid-template-columns: 1fr; } }
.ask__form { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start; }
.ask__form .field { grid-column: 1; }
.ask__go {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  width: 62px; height: 62px; border-radius: 999px; display: grid; place-items: center;
  background: var(--gold-grad); color: #14100A; box-shadow: 0 14px 34px -16px rgba(201,162,74,.8);
  transition: transform .3s var(--ease-out);
}
.ask__go:hover { transform: scale(1.08); }
.ask__form .form__ok, .ask__form .form__fail { grid-column: 1 / -1; }
.ask__form.is-sent .field, .ask__form.is-sent .ask__go { display: none; }
.ask__contacts { display: flex; flex-direction: column; gap: 4px; padding-left: clamp(0px,2vw,34px); border-left: 1px solid var(--line); }
@media (max-width: 1100px) { .ask__contacts { border-left: 0; padding-left: 0; } }
.ask__contacts a, .ask__contacts div { display: flex; align-items: center; gap: 14px; padding: 11px 0; font-size: 15px; transition: color .25s; }
.ask__contacts a:hover { color: var(--gold-lt); }
.ask__contacts svg { color: var(--gold); flex: none; }

/* ============================================================
   Подвал
   ============================================================ */
.ftr { background: var(--bg); padding-block: clamp(24px,3vw,48px) 26px; }
.ftr__box {
  position: relative; display: grid; grid-template-columns: minmax(0,1fr) 420px;
  background: var(--panel); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--hair-2);
}
@media (max-width: 1100px) { .ftr__box { grid-template-columns: 1fr; } }
.ftr__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: clamp(20px,2.2vw,36px); padding: clamp(28px,3vw,46px); }
@media (max-width: 1240px) { .ftr__grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px)  { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px)  { .ftr__grid { grid-template-columns: 1fr; } }
.ftr__brand { display: flex; align-items: center; gap: 14px; }
.ftr__brand img { height: 46px; width: auto; }
.ftr__brand b { display: block; font-size: 24px; font-weight: 800; letter-spacing: .2em; }
.ftr__brand small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--tx-3); margin-top: 4px; }
.ftr__soc { display: flex; gap: 10px; margin-top: 20px; }
.ftr__soc a { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: var(--gold-lt); box-shadow: inset 0 0 0 1px var(--hair); transition: all .25s; }
.ftr__soc a:hover { background: rgba(201,162,74,.12); }
.ftr h5 { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.ftr__nav { display: flex; flex-direction: column; gap: 11px; }
.ftr__nav a { font-size: 14px; color: var(--tx-2); transition: color .25s; }
.ftr__nav a:hover { color: var(--gold-lt); }
.ftr__ph { position: relative; min-height: 260px; }
.ftr__ph picture { position: absolute; inset: 0; display: block; }
.ftr__ph img { width: 100%; height: 100%; object-fit: cover; }
.ftr__ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--panel) 0%, rgba(19,26,35,.35) 42%, transparent 100%); }
@media (max-width: 1100px) { .ftr__ph::after { background: linear-gradient(0deg, transparent 40%, var(--panel) 100%); } }
.ftr__bot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-size: 12.5px; color: var(--tx-3); padding-inline: 4px; }
.ftr__bot a:hover { color: var(--gold-lt); }
.ftr__alux { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; }

/* ============================================================
   Единая киношная градация фотографий под тёмную гамму
   ============================================================ */
.ph img, .about__ph img, .plans__hero img, .fcard__ph img,
.tri__ph img, .infobar__ph img, .ftr__ph img, .arch__stage img, .compare img {
  filter: saturate(.88) contrast(1.06) brightness(.9);
}
.ph, .about__ph, .plans__hero, .tri__ph, .infobar__ph { position: relative; }
.ph::after, .about__ph::after, .plans__hero::after, .tri__ph::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(11,15,20,.26) 0%, rgba(11,15,20,.04) 40%, rgba(120,80,30,.10) 100%);
  mix-blend-mode: multiply;
}
.ph__cap { z-index: 2; }
.apt__plan::after { display: none; }
.apt__plan img { filter: none; }

.infobar__i span.infobar__big {
  font-size: clamp(46px, 4.4vw, 64px); font-weight: 800; line-height: .9; color: var(--gold-lt);
}

.fcard__t { white-space: nowrap; font-size: clamp(26px, 2.8vw, 46px); }
@media (max-width: 420px) { .fcard__t { white-space: normal; } }

.hero__shade {
  background:
    linear-gradient(100deg, rgba(7,10,14,.97) 0%, rgba(7,10,14,.92) 30%, rgba(7,10,14,.58) 54%, rgba(7,10,14,.3) 76%, rgba(7,10,14,.66) 100%),
    linear-gradient(to bottom, rgba(7,10,14,.82) 0%, transparent 22%, transparent 58%, rgba(7,10,14,.88) 100%);
}

/* мелкая правка: «м²» не должно уезжать на новую строку */
.apt__area { white-space: nowrap; }
.apt__body { min-width: 0; }

/* карточки-заглушки в ряду планировок */
.apt--soon { opacity: .42; pointer-events: none; }
.apt--soon .apt__area { color: var(--tx-3); }
.st-soon { color: var(--tx-3); } .st-soon i { background: var(--tx-3); }

/* ============================================================
   «Лист» — фирменная форма фотопанели блока «О комплексе»
   ============================================================ */
.about__ph {
  border-radius: 140px 24px 24px 140px;
  box-shadow: inset 0 0 0 1px rgba(201,162,74,.42), 0 44px 90px -56px #000;
}
@media (max-width: 1040px) { .about__ph { border-radius: 70px 20px 20px 70px; } }
@media (max-width: 560px)  { .about__ph { border-radius: 40px 16px 16px 40px; } }
.about__quote {
  border-radius: 96px 20px 20px 20px;
  box-shadow: inset 0 0 0 1px rgba(201,162,74,.42), 0 34px 74px -50px #000;
}
@media (max-width: 700px) { .about__quote { border-radius: 48px 16px 16px 16px; } }
.about__quote-ph { border-radius: 0 20px 20px 0; overflow: hidden; }

/* карточки отделки — крупный срез сверху, как в макете */
.fcard { border-radius: 34px; }
.plans__hero { border-radius: 120px 20px 20px 20px; box-shadow: inset 0 0 0 1px rgba(201,162,74,.38); }
@media (max-width: 1040px) { .plans__hero { border-radius: 60px 18px 18px 18px; } }
.tri__c, .infobar, .ask, .cta-band, .ftr__box { border-radius: 26px; }
.tri__ph { border-radius: 18px; }

/* ============================================================
   МОБИЛЬНАЯ ВЕРСТКА — сквозной проход
   ============================================================ */
@media (max-width: 780px) {
  :root { --gap: 14px; --r-lg: 18px; }

  /* первый экран */
  .hero { min-height: 100svh; }
  .hero__in { padding-block: 18px 96px; }
  .h-display { font-size: clamp(52px, 17vw, 84px); letter-spacing: .05em; }
  .hero__kicker { font-size: 10.5px; letter-spacing: .18em; }
  .hero__rule { width: 84px; margin: 16px 0 14px; }
  .hero__sub { font-size: clamp(21px, 6.4vw, 30px); max-width: 100%; }
  .hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 0; margin: 26px 0 24px; }
  .hero__st { padding: 0 0 0 14px; margin: 0; border-left: 1px solid var(--hair-2); }
  .hero__st:first-child { padding-left: 14px; }
  .hero__st b { font-size: 19px; }
  .hero__st span { font-size: 11.5px; }
  .hero__actions { display: grid; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .hero__place, .hero__count, .hero__scroll { display: none; }

  /* секции */
  .section { padding-block: 56px; }
  .section--tight { padding-block: 40px; }
  .h1 { font-size: clamp(28px, 8.4vw, 40px); }
  .h2 { font-size: clamp(24px, 7.4vw, 34px); }
  .kicker { font-size: 10.5px; letter-spacing: .18em; margin-bottom: 14px; }
  .kicker::after { width: 28px; }

  /* о комплексе */
  .about__grid { gap: 26px; }
  .about__lead { padding-left: 14px; }
  .about__feats { grid-template-columns: 1fr 1fr; gap: 22px 14px; margin-top: 26px; }
  .about__f { padding-right: 12px; }
  .about__f svg { margin-bottom: 10px; width: 22px; height: 22px; }
  .about__f b { font-size: 11.5px; }
  .about__f span { font-size: 12px; }
  .about__cta .btn { width: 100%; }
  .about__ph { aspect-ratio: 4/3; }
  .about__quote { grid-template-columns: 1fr; margin: 14px 0 0; }
  .about__quote-ph { min-height: 130px; border-radius: 0 0 16px 16px; }

  /* планировки */
  .plans__top { gap: 20px; }
  .plans__hero { aspect-ratio: 16/10; }
  .fbar__row { gap: 8px; }
  .fdrop { position: static; }
  .fdrop__box { left: var(--pad); right: var(--pad); min-width: 0; width: auto; }
  .fdrop > summary { padding: 11px 16px; font-size: 12.5px; }
  .f-reset { font-size: 11.5px; }
  .plans__count { margin-left: 0; width: 100%; }
  .chip { padding: 9px 14px; font-size: 12.5px; }
  .plans__grid { grid-auto-columns: 78vw; }
  .apt { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .apt__plan { aspect-ratio: 4/3; }
  .apt__area { font-size: 30px; }
  .apt__fav { top: 12px; right: 12px; }
  .infobar { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .infobar__i { gap: 14px; }
  .infobar__big { font-size: 44px; }

  /* отделка */
  .finish__top { gap: 18px; }
  .finish__note { font-size: 13.5px; padding-top: 0; }
  .finish__cards { gap: 14px; }
  .fcard { min-height: 0; }
  .fcard::after { background: linear-gradient(180deg, rgba(9,12,17,.62) 0%, rgba(9,12,17,.9) 46%, rgba(9,12,17,.97) 100%); }
  .fcard__in { max-width: 100%; padding: 22px; padding-top: 190px; }
  .fcard__t { font-size: 30px; }
  .ticks li { font-size: 13.5px; }
  .fcard .btn { width: 100%; }
  .infobar--wide { grid-template-columns: 1fr; }
  .infobar__mini { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* архитектура */
  .arch__stage { aspect-ratio: 4/3; }
  .arch__toggle button { padding: 9px 16px; font-size: 11px; }
  .arch__note { gap: 22px; }

  /* двор, МОП */
  .yard__hero { aspect-ratio: 4/3; }
  .infra__i { min-height: 0; padding: 18px 14px; }
  .infra__i b { font-size: 11.5px; }
  .rail { grid-auto-columns: 78vw; }
  .common__card { aspect-ratio: 4/5; }

  /* кофейня */
  .coffee__name { font-size: clamp(38px, 12vw, 56px); }
  .coffee__ph { aspect-ratio: 4/3; }

  /* три карточки */
  .tri__c { grid-template-columns: 1fr 118px; padding: 18px; gap: 14px; }
  .tri__t { font-size: 15px; }
  .tri__ph { aspect-ratio: 3/4; }

  /* ход строительства, как купить */
  .prog__grid { gap: 26px; }
  .prog__ph { grid-template-columns: 1fr 1fr; gap: 12px; }
  .buy__c { padding: 22px; }

  /* расположение */
  .loc__map { min-height: 320px; }

  /* остались вопросы */
  .ask { padding: 22px; gap: 22px; }
  .ask__form { grid-template-columns: 1fr; }
  .ask__go { grid-column: 1; grid-row: auto; width: 100%; height: 56px; border-radius: var(--r); }
  .ask__contacts { padding-left: 0; }

  /* подвал */
  .ftr__grid { padding: 24px; gap: 22px; }
  .ftr__ph { min-height: 180px; }
  .ftr__bot { font-size: 11.5px; gap: 8px 16px; }
  .ftr__alux { margin-left: 0; width: 100%; }

  /* нижняя панель не должна перекрывать контент */
  body { padding-bottom: 78px; }
  .mbar .btn { font-size: 11.5px; padding: 14px 10px; }
}

@media (max-width: 420px) {
  .about__feats { grid-template-columns: 1fr; }
  .infobar__mini { grid-template-columns: 1fr; }
  .prog__ph { grid-template-columns: 1fr; }
  .tri__c { grid-template-columns: 1fr; }
  .tri__ph { aspect-ratio: 16/10; }
}

/* заглушки в ряду планировок — видимые, но явно неактивные */
.apt--soon {
  opacity: 1; pointer-events: none;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  border: 1px dashed rgba(255,255,255,.10);
}
.apt--soon .apt__plan { background: rgba(255,255,255,.03); }
.apt--soon .apt__plan .stub { background: none; border: 0; color: var(--tx-3); }
.apt--soon .apt__plan .stub b { color: var(--tx-3); }
.apt--soon .apt__rooms, .apt--soon .apt__floor { color: var(--tx-3); }
.apt--soon .apt__area { color: rgba(255,255,255,.14); }

/* фотопанель планировок не должна наезжать на фильтры */
.plans__top { align-items: stretch; }
.plans__hero { align-self: center; max-height: 560px; }
.plans__top > .rv:first-child { display: flex; flex-direction: column; justify-content: center; }

/* ============================================================
   СПЛЭШ-ЭКРАН
   ============================================================ */
body.is-loading { overflow: hidden; }

.splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: radial-gradient(80vw 80vh at 50% 42%, #131A24 0%, #0B0F14 62%, #070A0E 100%);
  overflow: hidden;
}
.splash.is-done { pointer-events: none; }
.splash.is-out { transition: opacity .5s .55s var(--ease); opacity: 0; visibility: hidden; }

.splash__arc { position: absolute; inset: 0; pointer-events: none; }
.splash__arc i {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px solid transparent; border-top-color: rgba(201,162,74,.34);
  transform: translate(-50%,-50%) rotate(0deg);
  animation: splashSpin 9s linear infinite;
}
.splash__arc i:nth-child(1) { width: min(78vw, 640px); height: min(78vw, 640px); }
.splash__arc i:nth-child(2) { width: min(56vw, 470px); height: min(56vw, 470px); border-top-color: transparent; border-right-color: rgba(201,162,74,.24); animation-duration: 6.5s; animation-direction: reverse; }
@keyframes splashSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.splash__in { position: relative; display: grid; justify-items: center; gap: 18px; text-align: center; padding-inline: 24px; }

.splash__mark {
  height: clamp(46px, 9vw, 64px); width: auto;
  opacity: 0; transform: translateY(14px) scale(.9);
  animation: splashMark .9s .1s var(--ease-out) forwards;
}
@keyframes splashMark { to { opacity: 1; transform: none; } }

.splash__word {
  display: flex; gap: clamp(6px, 1.6vw, 16px);
  font-size: clamp(44px, 13vw, 104px); font-weight: 800; letter-spacing: .06em; line-height: 1;
  color: var(--tx);
}
.splash__word span {
  display: inline-block; opacity: 0;
  transform: translateY(46%) rotateX(-70deg);
  animation: splashChar .85s cubic-bezier(.2,.9,.25,1) forwards;
  transform-origin: 50% 100%;
}
.splash__word span:nth-child(1) { animation-delay: .30s; }
.splash__word span:nth-child(2) { animation-delay: .40s; }
.splash__word span:nth-child(3) { animation-delay: .50s; }
.splash__word span:nth-child(4) { animation-delay: .60s; }
.splash__word span:nth-child(5) { animation-delay: .70s; }
@keyframes splashChar { to { opacity: 1; transform: none; } }

/* золотой блик пробегает по слову */
.splash__word::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(229,200,137,.85) 50%, transparent 62%);
  mix-blend-mode: overlay; transform: translateX(-120%);
  animation: splashShine 1.3s 1.05s var(--ease) forwards;
}
.splash__word { position: relative; }
@keyframes splashShine { to { transform: translateX(120%); } }

.splash__sub {
  font-size: clamp(10px, 2.6vw, 12px); font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--tx-3); opacity: 0; animation: splashMark .8s .95s var(--ease-out) forwards;
}
.splash__bar {
  width: min(52vw, 260px); height: 1px; background: rgba(255,255,255,.12); overflow: hidden;
  opacity: 0; animation: splashMark .6s 1.05s var(--ease-out) forwards; margin-top: 8px;
}
.splash__bar i { display: block; height: 100%; width: 0; background: var(--gold-grad); animation: splashBar 1.5s .55s var(--ease-out) forwards; }
@keyframes splashBar { to { width: 100%; } }

/* штора уходит вверх, открывая герой */
.splash__curtain {
  position: absolute; inset: 0; background: #070A0E; transform: translateY(100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.splash.is-out .splash__curtain { animation: curtain .95s var(--ease-out) forwards; }
@keyframes curtain { 0% { transform: translateY(0); } 100% { transform: translateY(-102%); } }
.splash.is-out .splash__in { animation: splashOut .5s var(--ease) forwards; }
@keyframes splashOut { to { opacity: 0; transform: translateY(-18px); } }

@media (prefers-reduced-motion: reduce) {
  .splash, .splash__arc i, .splash__word span, .splash__word::after, .splash__bar i { animation: none !important; }
  .splash { display: none; }
}

/* ============================================================
   ГЕРОЙ — вступительная анимация
   ============================================================ */
.hero__title { perspective: 900px; }
.hero__title .ch {
  display: inline-block;
  opacity: 0; transform: translateY(38%) rotateX(-62deg);
  transform-origin: 50% 100%;
  filter: blur(6px);
}
body.is-ready .hero__title .ch {
  animation: heroChar 1.05s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(.12s + var(--i) * .085s);
}
@keyframes heroChar { to { opacity: 1; transform: none; filter: blur(0); } }

.hero__kicker, .hero__rule, .hero__sub, .hero__stats, .hero__actions,
.hero__place, .hero__count, .hero__scroll {
  opacity: 0; transform: translateY(20px);
}
body.is-ready .hero__kicker { animation: heroUp .9s .05s var(--ease-out) forwards; }
body.is-ready .hero__rule   { animation: heroRule .9s .55s var(--ease-out) forwards; }
body.is-ready .hero__sub    { animation: heroUp .9s .66s var(--ease-out) forwards; }
body.is-ready .hero__stats  { animation: heroUp .9s .82s var(--ease-out) forwards; }
body.is-ready .hero__actions{ animation: heroUp .9s .96s var(--ease-out) forwards; }
body.is-ready .hero__place  { animation: heroUp .9s 1.12s var(--ease-out) forwards; }
body.is-ready .hero__count  { animation: heroUp .9s 1.2s var(--ease-out) forwards; }
body.is-ready .hero__scroll { animation: heroUp .9s 1.3s var(--ease-out) forwards; }
@keyframes heroUp   { to { opacity: 1; transform: none; } }
@keyframes heroRule { from { opacity: 0; width: 0; } to { opacity: 1; width: 118px; transform: none; } }

.hero__st { opacity: 0; transform: translateY(14px); }
body.is-ready .hero__st { animation: heroUp .8s var(--ease-out) forwards; }
body.is-ready .hero__st:nth-child(1) { animation-delay: .88s; }
body.is-ready .hero__st:nth-child(2) { animation-delay: .96s; }
body.is-ready .hero__st:nth-child(3) { animation-delay: 1.04s; }
body.is-ready .hero__st:nth-child(4) { animation-delay: 1.12s; }

/* фон героя: медленный наезд + мягкий подъём */
.hero__media img { opacity: 0; }
body.is-ready .hero__media img { animation: heroBg 2.2s var(--ease-out) forwards, kb 34s 2.2s ease-in-out infinite alternate; }
@keyframes heroBg { from { opacity: 0; transform: scale(1.16); } to { opacity: 1; transform: scale(1.04); } }

/* световой блик по фасаду */
.hero__sweep {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.hero__sweep::before {
  content: ''; position: absolute; top: -20%; bottom: -20%; width: 42%;
  background: linear-gradient(100deg, transparent, rgba(229,200,137,.14) 42%, rgba(255,236,196,.2) 50%, rgba(229,200,137,.12) 58%, transparent);
  transform: translateX(-140%) skewX(-14deg); opacity: 0;
}
body.is-ready .hero__sweep::before { animation: sweep 2.6s 1.1s var(--ease) forwards; }
@keyframes sweep { 0% { transform: translateX(-140%) skewX(-14deg); opacity: 0; } 22% { opacity: 1; } 100% { transform: translateX(340%) skewX(-14deg); opacity: 0; } }

/* золотые дуги прорисовываются */
.hero__arc { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__arc .arc { stroke: rgba(201,162,74,.42); stroke-width: 1.2; stroke-dasharray: 2600; stroke-dashoffset: 2600; }
.hero__arc .a2 { stroke: rgba(201,162,74,.26); }
body.is-ready .hero__arc .a1 { animation: draw 2.4s .5s var(--ease-out) forwards; }
body.is-ready .hero__arc .a2 { animation: draw 2.4s .9s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* лёгкий параллакс героя от указателя / наклона */
.hero__in { transform: translate3d(calc(var(--px,0) * -8px), calc(var(--py,0) * -6px), 0); transition: transform .6s var(--ease-out); }
.hero__media { transform: translate3d(calc(var(--px,0) * 12px), calc(var(--py,0) * 9px), 0) scale(1.04); transition: transform .9s var(--ease-out); }

/* герой растворяется при прокрутке */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__in {
      animation: heroFade linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 70%;
    }
    @keyframes heroFade { to { opacity: 0; transform: translateY(-60px) scale(.97); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title .ch, .hero__kicker, .hero__rule, .hero__sub, .hero__stats,
  .hero__actions, .hero__place, .hero__count, .hero__scroll, .hero__st, .hero__media img {
    opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important;
  }
  .hero__arc .arc { stroke-dashoffset: 0; }
}

/* ============================================================
   АНИМАЦИИ БЛОКОВ
   ============================================================ */
/* заголовки посл словам */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split .w > i {
  display: inline-block; font-style: inherit;
  transform: translateY(110%); opacity: 0;
}
.split.is-in .w > i {
  animation: wordUp .85s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(var(--w) * .055s);
}
@keyframes wordUp { to { transform: none; opacity: 1; } }

/* кикер: линия прочерчивается */
.kicker { opacity: 0; transform: translateY(10px); }
.kicker.is-in { animation: heroUp .7s var(--ease-out) forwards; }
.kicker::after { transform: scaleX(0); transform-origin: left; transition: transform .8s .25s var(--ease-out); }
.kicker.is-in::after { transform: scaleX(1); }

/* фотопанели — раскрываются шторкой */
.rv--clip { clip-path: inset(0 0 100% 0); opacity: 1; transform: none; }
.rv--clip.is-in { animation: clipUp 1.15s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes clipUp { to { clip-path: inset(0 0 0 0); } }
.rv--clip img { transform: scale(1.16); transition: transform 1.6s var(--ease-out); }
.rv--clip.is-in img { transform: scale(1); }

/* карточки — подъём со стаггером */
.stagger > * { opacity: 0; transform: translateY(26px); }
.stagger.is-in > * { animation: heroUp .8s var(--ease-out) forwards; }
.stagger.is-in > *:nth-child(1) { animation-delay: .04s; }
.stagger.is-in > *:nth-child(2) { animation-delay: .12s; }
.stagger.is-in > *:nth-child(3) { animation-delay: .20s; }
.stagger.is-in > *:nth-child(4) { animation-delay: .28s; }
.stagger.is-in > *:nth-child(5) { animation-delay: .36s; }
.stagger.is-in > *:nth-child(6) { animation-delay: .44s; }
.stagger.is-in > *:nth-child(7) { animation-delay: .52s; }

/* галочки списка — по очереди */
.ticks li { opacity: 0; transform: translateX(-12px); }
.is-in .ticks li, .ticks.is-in li { animation: tickIn .6s var(--ease-out) forwards; }
.is-in .ticks li:nth-child(1), .ticks.is-in li:nth-child(1) { animation-delay: .10s; }
.is-in .ticks li:nth-child(2), .ticks.is-in li:nth-child(2) { animation-delay: .18s; }
.is-in .ticks li:nth-child(3), .ticks.is-in li:nth-child(3) { animation-delay: .26s; }
.is-in .ticks li:nth-child(4), .ticks.is-in li:nth-child(4) { animation-delay: .34s; }
.is-in .ticks li:nth-child(5), .ticks.is-in li:nth-child(5) { animation-delay: .42s; }
@keyframes tickIn { to { opacity: 1; transform: none; } }

/* золотая линия под заголовком карточки отделки */
.fcard__t::after { transform: scaleX(0); transform-origin: left; transition: transform .9s .35s var(--ease-out); }
.fcard.is-in .fcard__t::after { transform: scaleX(1); }

/* цитата: кавычки всплывают */
.about__quote-tx svg { opacity: 0; transform: scale(.6); }
.about__art.is-in .about__quote-tx svg { animation: quoteIn .7s .35s var(--ease-out) forwards; }
@keyframes quoteIn { to { opacity: .7; transform: none; } }

/* инфраструктура: иконки подпрыгивают */
.infra__i svg { opacity: 0; transform: translateY(10px) scale(.85); }
.infra.is-in .infra__i svg { animation: icoIn .6s var(--ease-out) forwards; }
.infra.is-in .infra__i:nth-child(1) svg { animation-delay: .05s; }
.infra.is-in .infra__i:nth-child(2) svg { animation-delay: .11s; }
.infra.is-in .infra__i:nth-child(3) svg { animation-delay: .17s; }
.infra.is-in .infra__i:nth-child(4) svg { animation-delay: .23s; }
.infra.is-in .infra__i:nth-child(5) svg { animation-delay: .29s; }
.infra.is-in .infra__i:nth-child(6) svg { animation-delay: .35s; }
.infra.is-in .infra__i:nth-child(7) svg { animation-delay: .41s; }
@keyframes icoIn { to { opacity: 1; transform: none; } }

/* хронология: точки загораются по очереди */
.tl__i { opacity: 0; transform: translateX(-14px); }
.tl.is-in .tl__i { animation: tickIn .7s var(--ease-out) forwards; }
.tl.is-in .tl__i:nth-child(1) { animation-delay: .08s; }
.tl.is-in .tl__i:nth-child(2) { animation-delay: .22s; }
.tl.is-in .tl__i:nth-child(3) { animation-delay: .36s; }
.tl::before { transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease-out); }
.tl.is-in::before { transform: scaleY(1); }

/* счётчик разделов — активный «дышит» */
.sec-count b { position: relative; }
.sec-count b::after {
  content: ''; position: absolute; inset: -8px -10px; border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--hair-2); opacity: 0;
}
.section.is-active .sec-count b::after { animation: pulseBox 2.6s var(--ease) infinite; }
@keyframes pulseBox { 0%,100% { opacity: .25; } 50% { opacity: .8; } }

/* кнопки — золотой блик при наведении */
.btn--gold::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%);
  transform: translateX(-120%);
}
.btn--gold:hover::after { animation: btnShine .8s var(--ease) forwards; }
@keyframes btnShine { to { transform: translateX(120%); } }

/* магнит на золотой круглой кнопке */
.ic-go, .ask__go, .apt__go { transition: transform .28s var(--ease-out), background-color .3s, color .3s, box-shadow .3s; }

@media (prefers-reduced-motion: reduce) {
  .split .w > i, .stagger > *, .ticks li, .infra__i svg, .tl__i, .kicker,
  .about__quote-tx svg { opacity: 1 !important; transform: none !important; animation: none !important; }
  .rv--clip { clip-path: none !important; }
  .rv--clip img { transform: none !important; }
  .tl::before, .kicker::after, .fcard__t::after { transform: none !important; }
}

/* ============================================================
   МОБИЛЬНАЯ ОТДЕЛКА: жесты, отклик, шторки
   ============================================================ */
@media (hover: none) {
  /* тактильный отклик вместо hover */
  .btn:active { transform: scale(.97); }
  .chip:active, .fdrop > summary:active { transform: scale(.96); }
  .apt:active, .tri__c:active, .buy__c:active { transform: scale(.985); }
  .ic-go:active, .ask__go:active, .apt__go:active, .rail-btn:active { transform: scale(.92); }
  .ph--zoom:hover img { transform: none; }
}

@media (max-width: 780px) {
  /* модалки — шторкой снизу, как в приложениях */
  .modal { place-items: end stretch; padding: 0; }
  .modal__box {
    max-width: 100%; max-height: 92svh; border-radius: 26px 26px 0 0;
    padding: 26px 20px calc(26px + env(safe-area-inset-bottom));
    transform: translateY(100%); transition: transform .48s var(--ease-out);
  }
  .modal.is-open .modal__box { transform: none; }
  .modal__box::before {
    content: ''; display: block; width: 44px; height: 4px; border-radius: 999px;
    background: rgba(255,255,255,.22); margin: -8px auto 18px;
  }
  .modal__box--video, .modal__box--wide { border-radius: 22px; margin: auto; max-height: 88svh; }
  .modal__box--video::before, .modal__box--wide::before { display: none; }
  .modal__box--video { max-width: calc(100% - 24px); }

  /* подсказка «листайте» у горизонтальных лент */
  .rail { scroll-padding-inline: var(--pad); }
  .swipe-hint {
    display: flex; align-items: center; gap: 8px; margin-top: 12px;
    font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-3);
  }
  .swipe-hint i {
    width: 26px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent);
    animation: swipeHint 1.9s var(--ease) infinite;
  }
  @keyframes swipeHint { 0%,100% { transform: translateX(0); opacity: .5; } 50% { transform: translateX(8px); opacity: 1; } }

  /* крупнее зоны нажатия */
  .nav a, .ftr__nav a { padding-block: 10px; }
  .apt__fav { width: 40px; height: 40px; }
  .rail-btn { width: 44px; height: 44px; }

  /* мягче анимации — экономим кадры на слабых телефонах */
  .rv--clip.is-in img { transition-duration: 1.1s; }
  .split.is-in .w > i { animation-duration: .7s; }
}
@media (min-width: 781px) { .swipe-hint { display: none; } }

/* сплэш: подсветка под знаком */
.splash__mark { position: relative; }
.splash__in::before {
  content: ''; position: absolute; left: 50%; top: 4%; width: min(60vw, 320px); height: min(60vw, 320px);
  transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(201,162,74,.16), transparent 62%);
}

/* ============================================================
   ИСПРАВЛЕНИЕ: шторка вместо clip-path.
   Элемент, обрезанный в ноль, невидим для IntersectionObserver —
   его прямоугольник пуст, и «появление» никогда не срабатывает.
   ============================================================ */
.rv--clip { clip-path: none !important; position: relative; overflow: hidden; }
.rv--clip::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: var(--bg);
  transform: translateY(0);
}
.rv--clip.is-in::before { animation: curtainUp 1.05s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes curtainUp { to { transform: translateY(-101%); } }
.rv--clip img { transform: scale(1.14); transition: transform 1.7s var(--ease-out); }
.rv--clip.is-in img { transform: scale(1); }
/* внутри тёмных панелей шторка должна совпадать с фоном панели */
.about__quote.rv--clip::before, .tri__ph.rv--clip::before, .loc__map.rv--clip::before { background: var(--panel); }
@media (prefers-reduced-motion: reduce) {
  .rv--clip::before { display: none; }
  .rv--clip img { transform: none !important; }
}

/* сплэш: строка застройщика под названием комплекса */
.splash__dev {
  font-size: clamp(10.5px, 2.4vw, 12.5px); color: var(--tx-2); letter-spacing: .04em;
  opacity: 0; animation: splashMark .8s 1.1s var(--ease-out) forwards; margin-top: -6px;
}
/* шапка: бренд ЖК крупно, застройщик подписью */
.brand__tx b { letter-spacing: .2em; }
.brand__tx span { letter-spacing: .1em; text-transform: none; }

/* подпись застройщика видна и на телефоне — это снимает путаницу «ЖК против холдинга» */
@media (max-width: 760px) {
  .brand__tx span { display: block; font-size: 8.5px; letter-spacing: .08em; }
  .brand img { height: 30px; }
  .brand__tx b { font-size: 15px; letter-spacing: .18em; }
}
