/* Lucean Bay Jomtien Pattaya: лендинг HERITAGE.
   Айдентика HERITAGE Brand System 1.0: Limestone #EEE9DE, Forest #173C32, Teak #765A43 (кнопки), Charcoal #252B28,
   Sage #ABB8A4; Cormorant Garamond 500 для заголовков и цифр, Onest для текста. Без курсива и жирного Cormorant.
   Идея по референсам владельца (QClay, Eloqwnt): страница как набор скруглённых панелей на светлом шалфейном холсте,
   «окна» с видом на море. Отличается от Layan, Soondri, ONCE и LOVE it, где углы прямые и сцены идут во всю ширину.
   Радиусы: панели 28 px (на телефоне 20), карточки и фото 18 px, кнопки и чипы полностью круглые, поля 12 px. */

@font-face { font-family: 'Onest'; src: url(../fonts/onest-var.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url(../fonts/cormorant-var.woff2) format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --lime: #EEE9DE;
  --paper: #F6F3EC;
  --mist: #D9DDD3;          /* холст: Sage, разбавленный Limestone */
  --forest: #173C32;
  --forest-2: #1D4A3E;
  --teak: #765A43;
  --teak-hi: #87684F;
  --char: #252B28;
  --sage: #ABB8A4;

  --ink: var(--char);
  --mute: rgba(37, 43, 40, .7);
  --mute-d: rgba(238, 233, 222, .72);
  --line: rgba(37, 43, 40, .14);
  --line-d: rgba(238, 233, 222, .18);

  --f-body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-head: 'Cormorant Garamond', 'Times New Roman', serif;

  --gut: 14px;
  --r: 28px;
  --r-card: 18px;
  --pad: clamp(20px, 4.2vw, 68px);
  --sec: clamp(72px, 9vw, 136px);
  --max: 1360px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}
@media (max-width: 760px) { :root { --gut: 8px; --r: 20px; --r-card: 14px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--mist); overflow-x: clip; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; padding-bottom: var(--gut);
  font-variant-numeric: lining-nums;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
b, strong { font-weight: 600; }
::selection { background: var(--teak); color: var(--lime); }
:focus-visible { outline: 2px solid var(--teak); outline-offset: 3px; }
[data-theme="dark"] :focus-visible { outline-color: var(--sage); }
[hidden] { display: none !important; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 400; background: var(--lime); color: var(--forest); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Типографика ---------- */
.title { font: 500 clamp(38px, 5.2vw, 80px)/1.02 var(--f-head); letter-spacing: -.012em; color: var(--forest); text-wrap: balance; }
[data-theme="dark"] .title { color: var(--lime); }
.lead { margin-top: 20px; max-width: 60ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--mute); text-wrap: pretty; }
[data-theme="dark"] .lead { color: var(--mute-d); }
.sub { font: 500 clamp(28px, 3vw, 42px)/1.05 var(--f-head); color: var(--forest); }
.note { margin-top: 26px; max-width: 92ch; font-size: 13.5px; line-height: 1.55; color: var(--mute); }
[data-theme="dark"] .note { color: var(--mute-d); }
figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: 11.5px; letter-spacing: .02em; color: rgba(238, 233, 222, .86); text-shadow: 0 1px 8px rgba(0, 0, 0, .35); pointer-events: none; }
.reveal-lines .w { display: inline-block; overflow: clip; overflow-clip-margin: .2em; vertical-align: top; padding-bottom: .04em; }
.reveal-lines .w > span { display: inline-block; }

/* ---------- Кнопки, чипы ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: 999px; white-space: nowrap;
  font: 500 15.5px/1 var(--f-body); letter-spacing: .005em;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--teak { background: var(--teak); color: var(--lime); }
.btn--teak:hover { background: var(--teak-hi); }
.btn--glass { color: var(--lime); background: rgba(238, 233, 222, .12); border: 1px solid rgba(238, 233, 222, .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(238, 233, 222, .24); }
.btn--line { color: var(--lime); border: 1px solid var(--line-d); }
.btn--line:hover { border-color: var(--lime); }
.btn--wide { width: 100%; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; font-size: 14.5px; color: var(--ink); white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.pill:hover { border-color: var(--forest); }
.pill.is-on { background: var(--forest); border-color: var(--forest); color: var(--lime); }
.pill--tour::before { content: '360°'; font: 600 10.5px/1 var(--f-body); letter-spacing: .04em; padding: 4px 6px; border-radius: 999px; background: var(--forest); color: var(--lime); }
.link-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 15px; color: var(--sage); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-btn::after { content: ''; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg) translate(-1px, 1px); }
.link-btn:hover { color: var(--lime); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 13.5px; color: var(--mute-d); }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(23, 60, 50, .07); }
.seg button { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--mute); transition: background-color .3s var(--ease), color .3s var(--ease); white-space: nowrap; }
.seg button.is-on, .seg button[aria-selected="true"] { background: var(--forest); color: var(--lime); }
.seg--wrap { flex-wrap: wrap; border-radius: 22px; }

/* ---------- Панели ---------- */
.panel {
  position: relative; margin: var(--gut) var(--gut) 0; border-radius: var(--r);
  background: var(--lime); padding: var(--sec) var(--pad); overflow: clip;
}
.panel--dark { background: var(--forest); color: var(--lime); }
.panel > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* ---------- Шапка ---------- */
.hdr {
  position: fixed; z-index: 100; top: calc(var(--gut) + 10px); left: calc(var(--gut) + 12px); right: calc(var(--gut) + 12px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  height: 62px; padding: 0 8px 0 24px; border-radius: 999px;
  color: var(--lime); border: 1px solid rgba(238, 233, 222, .22);
  background: rgba(23, 60, 50, .16); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .6s var(--ease);
}
.hdr.is-solid { color: var(--forest); background: rgba(238, 233, 222, .84); border-color: rgba(23, 60, 50, .1); box-shadow: 0 10px 40px -18px rgba(23, 60, 50, .35); }
.hdr.is-hidden { transform: translateY(calc(-100% - 40px)); }
.hdr__logo { position: relative; display: block; width: 150px; }
.hdr__logo img { width: 100%; height: auto; transition: opacity .45s var(--ease); }
.hdr__logo .on-light { position: absolute; inset: 0; opacity: 0; }
.hdr.is-solid .on-light { opacity: 1; }
.hdr.is-solid .on-dark { opacity: 0; }
.hdr__nav { display: flex; justify-content: center; gap: 4px; }
.hdr__nav a { padding: 9px 14px; border-radius: 999px; font-size: 14.5px; opacity: .88; transition: background-color .3s var(--ease), opacity .3s; }
.hdr__nav a:hover, .hdr__nav a.is-on { opacity: 1; background: rgba(238, 233, 222, .14); }
.hdr.is-solid .hdr__nav a:hover, .hdr.is-solid .hdr__nav a.is-on { background: rgba(23, 60, 50, .08); }
.hdr__tools { display: flex; align-items: center; gap: 8px; grid-column: 3; justify-self: end; }
.hdr__cta { height: 46px; padding: 0 22px; font-size: 14.5px; }
.hdr__burger { display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center; align-content: center; gap: 6px; background: rgba(238, 233, 222, .14); }
.hdr.is-solid .hdr__burger { background: rgba(23, 60, 50, .08); }
.hdr__burger span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.hdr__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  position: fixed; z-index: 90; inset: var(--gut); border-radius: var(--r); background: var(--forest); color: var(--lime);
  display: flex; flex-direction: column; justify-content: space-between; padding: 110px 26px 26px;
  opacity: 0; transform: translateY(-12px); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.menu.is-open { opacity: 1; transform: none; }
.menu__nav { display: grid; gap: 4px; }
.menu__nav a { font: 500 clamp(30px, 8vw, 44px)/1.15 var(--f-head); }
.menu__foot { display: grid; gap: 14px; }
.menu__tel { font-size: 16px; color: var(--mute-d); text-align: center; }

/* ---------- Первый экран ---------- */
.hero { height: calc(100svh - var(--gut) * 2); min-height: 600px; max-height: 1100px; padding: 0; color: var(--lime); display: grid; align-items: end; background: var(--forest); }
.hero > * { max-width: none; }
.hero__media { position: absolute; inset: 0; margin: 0; }
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-on { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 60, 50, .32) 0%, rgba(23, 60, 50, 0) 26%, rgba(23, 60, 50, .06) 42%, rgba(20, 38, 32, .8) 100%), linear-gradient(90deg, rgba(20, 38, 32, .58) 0%, rgba(20, 38, 32, .22) 42%, rgba(20, 38, 32, 0) 68%); }
.hero__in { position: relative; z-index: 2; margin: 0; padding: 0 var(--pad) clamp(30px, 5.4vw, 72px); max-width: 980px; }
.hero__eyebrow { font: 500 13px/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--lime); text-shadow: 0 1px 14px rgba(15, 30, 25, .55); }
.hero__lead, .hero__title { text-shadow: 0 2px 24px rgba(15, 30, 25, .28); }
.hero__title { margin-top: 14px; font: 500 clamp(76px, 12.4vw, 196px)/.86 var(--f-head); letter-spacing: -.025em; }
.hero__title .ln { display: inline-block; overflow: clip; overflow-clip-margin: .1em; vertical-align: bottom; padding-bottom: .05em; }
.hero__title .ln > span { display: inline-block; }
.hero__lead { margin-top: 22px; max-width: 46ch; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: rgba(238, 233, 222, .9); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* ---------- Бегущая строка ---------- */
.ticker { margin: var(--gut) 0 0; overflow: clip; padding: 18px 0; color: var(--forest); }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__row { display: flex; align-items: center; flex: none; }
.ticker__row li { display: inline-flex; align-items: baseline; gap: 8px; font-size: 15px; color: var(--mute); white-space: nowrap; }
.ticker__row li b { font: 500 25px/1 var(--f-head); color: var(--forest); }
.ticker__row li::after { content: ''; align-self: center; width: 7px; height: 7px; margin: 0 30px; border-radius: 50%; border: 1px solid var(--teak); }

/* ---------- О проекте ---------- */
.about__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 36px; }
.facts div { padding: 16px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--mute); }
.facts dd { margin-top: 4px; font-size: 16px; line-height: 1.4; }
.about__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: clip; }
.parallax { position: absolute; inset: -9% 0; }
.parallax img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: clamp(56px, 7vw, 104px); }
.stats li { padding-top: 20px; border-top: 1px solid var(--line); }
.stats b { display: block; font: 500 clamp(46px, 5.6vw, 88px)/.95 var(--f-head); color: var(--forest); font-variant-numeric: lining-nums; letter-spacing: -.02em; }
.stats span { display: block; margin-top: 10px; font-size: 14px; color: var(--mute); max-width: 18ch; }

/* ---------- Клуб ---------- */
.club { padding-left: 0; padding-right: 0; }
.club__head { padding: 0 var(--pad); }
.deck { position: relative; max-width: none; margin-top: clamp(40px, 5vw, 64px); overflow: clip; }
.deck__track { display: flex; gap: 18px; padding: 0 var(--pad); width: max-content; }
.chap {
  flex: none; width: min(1180px, calc(100vw - var(--gut) * 2 - var(--pad) * 2 - 60px)); height: clamp(540px, 70vh, 720px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; padding: 14px; border-radius: 24px;
  background: rgba(238, 233, 222, .05); border: 1px solid var(--line-d);
}
.chap__media { display: grid; gap: 14px; min-height: 0; }
.chap__media--two { grid-template-rows: 1.5fr 1fr; }
.chap__media--three { grid-template-columns: 1fr 1fr; grid-template-rows: 1.5fr 1fr; }
.chap__media--three .ph--a { grid-column: 1 / -1; }
.chap__media--video { grid-template-rows: 1.6fr 1fr; }
.ph { position: relative; overflow: clip; border-radius: var(--r-card); min-height: 0; background: var(--forest-2); }
.ph img, .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph video { opacity: 0; transition: opacity 1s var(--ease); }
.ph video.is-on { opacity: 1; }
.chap__body { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(18px, 2.4vw, 34px); }
.chap__lvl { font: 500 13px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.chap__t { margin-top: 14px; font: 500 clamp(36px, 3.8vw, 58px)/1 var(--f-head); }
.chap__p { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--mute-d); max-width: 44ch; }
.deck__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px var(--pad) 0; max-width: var(--max); }
.deck__tabs button { text-align: left; padding-top: 14px; position: relative; font-size: 14.5px; color: var(--mute-d); transition: color .3s; }
.deck__tabs button[aria-selected="true"] { color: var(--lime); }
.deck__tabs i { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-d); overflow: hidden; }
.deck__tabs i::after { content: ''; position: absolute; inset: 0; background: var(--lime); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ---------- Здоровье ---------- */
.health__grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.health__mark { width: 44px; height: 44px; margin-bottom: 26px; }
.ticks { display: grid; gap: 12px; margin-top: 30px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 1.5px solid var(--teak); border-bottom: 1.5px solid var(--teak); transform: rotate(-45deg); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(168px, auto); gap: 12px; }
.perk { display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border-radius: var(--r-card); background: var(--paper); }
.perk b { font: 500 clamp(44px, 4.4vw, 64px)/.95 var(--f-head); color: var(--forest); letter-spacing: -.02em; }
.perk span { margin-top: 12px; font-weight: 500; font-size: 15.5px; line-height: 1.3; }
.perk small { margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--mute); }
.perk--img { grid-row: span 3; position: relative; overflow: clip; padding: 0; }
.perk--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.perk--accent { background: var(--forest); color: var(--lime); }
.perk--accent b { color: var(--lime); }
.perk--accent small { color: var(--mute-d); }

/* ---------- Квартиры ---------- */
.homes__head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.tours { padding: 20px 22px; border-radius: var(--r-card); background: var(--paper); max-width: 470px; }
.tours__t { font: 500 24px/1 var(--f-head); color: var(--forest); }
.tours__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tours__row .pill { height: 38px; padding: 0 14px 0 8px; font-size: 14px; background: var(--lime); }
.tours__note { margin-top: 12px; font-size: 12.5px; color: var(--mute); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(32px, 4vw, 52px); }
.units { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 14px; margin-top: 22px; }
.units li { display: contents; }
.ucard {
  position: relative; display: flex; flex-direction: column; text-align: left; width: 100%;
  border-radius: var(--r-card); background: var(--paper); overflow: clip;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s var(--ease);
}
.ucard:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -30px rgba(23, 60, 50, .45); }
.ucard__media { position: relative; aspect-ratio: 16 / 11; margin: 8px 8px 0; border-radius: 12px; background: #fff; overflow: clip; }
.ucard__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ucard__plan { object-fit: contain; padding: 7% 8%; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.ucard__photo { object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.ucard:hover .ucard__photo, .ucard:focus-visible .ucard__photo { opacity: 1; transform: none; }
.ucard__badge { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 5px 9px; border-radius: 999px; background: var(--forest); color: var(--lime); font: 600 11px/1 var(--f-body); letter-spacing: .04em; }
.ucard__body { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 18px 18px; }
.ucard__t { font: 500 30px/1 var(--f-head); color: var(--forest); }
.ucard__a { align-self: end; font-size: 14.5px; color: var(--mute); white-space: nowrap; }
.ucard__c { font-size: 13.5px; color: var(--mute); }
.ucard__p { grid-column: 1 / -1; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.ucard__p b { font: 500 22px/1 var(--f-head); color: var(--ink); }
.ucard.is-out { opacity: 0; transform: scale(.97); }

/* ---------- Этажи ---------- */
.floors__grid { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(28px, 4vw, 64px); margin-top: clamp(36px, 4vw, 56px); align-items: stretch; }
.tower { position: relative; display: flex; align-items: stretch; min-height: 560px; touch-action: none; }
.tower__bars { flex: 1; display: flex; flex-direction: column-reverse; gap: 2px; padding-left: 64px; }
.tower__bars .bar { position: relative; flex: 1; min-height: 4px; border-radius: 3px; background: rgba(238, 233, 222, .14); transition: background-color .25s, transform .3s var(--ease); transform-origin: left; }
.tower__bars .bar--club { background: rgba(171, 184, 164, .46); }
.tower__bars .bar--none { background: rgba(238, 233, 222, .05); }
.tower__bars .bar--narrow { margin-right: 46%; }
.tower__bars .bar--ph { margin-right: 46%; }
.tower__bars .bar.is-zone { background: rgba(238, 233, 222, .4); }
.tower__bars .bar.is-cur { background: var(--lime); transform: scaleX(1.04); }
.tower__bars .bar[data-label]::before { content: attr(data-label); position: absolute; left: -64px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--mute-d); white-space: nowrap; }
.tower__range { position: absolute; inset: 0 0 0 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ns-resize; writing-mode: vertical-lr; direction: rtl; }
.floor-card { display: grid; grid-template-rows: auto 1fr; gap: 22px; min-width: 0; }
.floor-card__top { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 44px); align-items: end; }
.floor-card__n { font: 500 clamp(84px, 10vw, 150px)/.8 var(--f-head); letter-spacing: -.03em; display: flex; align-items: baseline; gap: 12px; font-variant-numeric: lining-nums tabular-nums; }
.floor-card__n small { font: 400 15px/1 var(--f-body); letter-spacing: 0; color: var(--mute-d); }
.floor-card__t { font: 500 clamp(26px, 2.6vw, 36px)/1.05 var(--f-head); }
.floor-card__p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--mute-d); max-width: 52ch; }
.floor-card__plan { position: relative; display: block; width: 100%; min-height: 260px; border-radius: var(--r-card); background: var(--lime); overflow: clip; }
.floor-card__plan img { width: 100%; height: 100%; object-fit: contain; padding: 2%; transition: opacity .35s var(--ease); }
.floor-card__plan.is-swap img { opacity: 0; }
.floor-card__zoom { position: absolute; right: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; background: var(--forest); color: var(--lime); font-size: 13.5px; }
.floor-card__empty { display: grid; place-items: center; min-height: 260px; border-radius: var(--r-card); border: 1px dashed var(--line-d); color: var(--mute-d); font-size: 15px; padding: 20px; text-align: center; }

/* ---------- Цены ---------- */
.price-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: clamp(32px, 4vw, 52px); }
.pcard { display: flex; flex-direction: column; padding: 22px 20px 20px; border-radius: var(--r-card); background: var(--paper); }
.pcard:first-child { background: var(--forest); color: var(--lime); }
.pcard__n { font: 500 26px/1.05 var(--f-head); color: var(--forest); }
.pcard:first-child .pcard__n { color: var(--lime); }
.pcard__a { margin-top: 6px; font-size: 13.5px; color: var(--mute); }
.pcard:first-child .pcard__a, .pcard:first-child .pcard__s, .pcard:first-child .pcard__l { color: var(--mute-d); }
.pcard__l { margin-top: 28px; font-size: 12.5px; color: var(--mute); }
.pcard__v { margin-top: 4px; font: 500 clamp(30px, 2.6vw, 40px)/1 var(--f-head); letter-spacing: -.01em; }
.pcard__s { margin-top: 6px; font-size: 13px; color: var(--mute); }
.pcard__tq { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.pcard:first-child .pcard__tq { border-color: var(--line-d); }
.pcard__tq b { font-weight: 500; }
.pcard__tq { margin-top: 18px; }

.pay { margin-top: clamp(64px, 7vw, 104px); }
.pay__head { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.pay__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 36px; }
.venn { position: relative; display: flex; justify-content: center; align-items: center; padding: 20px 0; }
.venn__c {
  position: relative; flex: none; width: clamp(150px, 15vw, 220px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; border: 1px solid var(--forest); margin: 0 -1.6vw;
  background: rgba(238, 233, 222, .55); transition: transform .8s var(--ease);
}
.venn__c:nth-child(2) { background: rgba(171, 184, 164, .3); }
.venn__c:nth-child(3) { background: var(--forest); color: var(--lime); border-color: var(--forest); }
.venn__c b { font: 500 clamp(40px, 4vw, 60px)/1 var(--f-head); }
.venn__c span { margin-top: 6px; font-size: 13.5px; }
.steps { display: grid; gap: 4px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 76px 1fr; gap: 6px 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li b { grid-row: span 2; font: 500 40px/1 var(--f-head); color: var(--forest); }
.steps li span { font-weight: 500; font-size: 16px; }
.steps li small { font-size: 14px; color: var(--mute); }
.steps__dates { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.steps__dates i { font-style: normal; font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--mute); }

.calc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; margin-top: clamp(40px, 5vw, 64px); padding: 14px; border-radius: 24px; background: var(--paper); }
.calc__in { display: grid; gap: 16px; align-content: start; padding: clamp(14px, 2vw, 26px); }
.calc__in .sub { margin-bottom: 4px; }
.calc__out { padding: clamp(18px, 2.4vw, 30px); border-radius: var(--r-card); background: var(--forest); color: var(--lime); }
.calc__rows li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line-d); font-size: 15px; }
.calc__rows li:last-child { border-bottom: 0; }
.calc__rows li span small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--mute-d); }
.calc__rows li b { font: 500 26px/1 var(--f-head); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.calc__rows li.is-total b { font-size: 34px; }
.calc__fees { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--mute-d); }

/* ---------- Поля ---------- */
.field { display: grid; gap: 7px; }
.field > span, .field legend { font-size: 13.5px; font-weight: 500; color: var(--mute); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 12px; border: 1px solid rgba(37, 43, 40, .24);
  background: #FBFAF6; color: var(--ink); font-size: 16px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%), linear-gradient(135deg, var(--forest) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(23, 60, 50, .14); }
.field small { font-size: 12.5px; color: var(--mute); line-height: 1.45; }
.field [aria-invalid="true"] { border-color: #9A3B2E; box-shadow: 0 0 0 3px rgba(154, 59, 46, .12); }
::placeholder { color: rgba(37, 43, 40, .5); }

/* ---------- Готово к заезду ---------- */
.ready { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 84px); align-items: center; }
.ready > * { margin: 0; max-width: none; }
.ready__img { position: relative; aspect-ratio: 5 / 6; border-radius: var(--r-card); overflow: clip; }
.ready__text .seg { margin-top: 30px; }
.ready__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; min-height: 230px; }
.ready__lists h3 { font: 500 22px/1 var(--f-head); color: var(--forest); margin-bottom: 12px; }
.ready__lists li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

/* ---------- Локация ---------- */
.location__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-top: clamp(36px, 4vw, 56px); align-items: center; }
.rings { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: center; }
.rings__c { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(23, 60, 50, .2); transform: translate(-50%, -50%); }
.rings__c i { position: absolute; left: 50%; top: 100%; transform: translate(-50%, -50%); padding: 2px 8px; border-radius: 999px; background: var(--lime); font-style: normal; font-size: 11.5px; color: var(--mute); white-space: nowrap; }
.rings__c--1 { width: 16%; height: 16%; background: rgba(171, 184, 164, .3); }
.rings__c--2 { width: 44%; height: 44%; }
.rings__c--3 { width: 66%; height: 66%; }
.rings__c--4 { width: 88%; height: 88%; }
.rings__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 13%; aspect-ratio: 1; border-radius: 50%; background: var(--forest); color: var(--lime); display: grid; place-content: center; text-align: center; font: 500 clamp(11px, 1.1vw, 14px)/1.05 var(--f-head); padding: 4px; }
.rings__pts { position: absolute; inset: 0; }
.rpt { position: absolute; display: flex; align-items: center; gap: 6px; transform: translate(-6px, -50%); font-size: 12px; line-height: 1.15; color: var(--ink); white-space: nowrap; }
.rpt::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--teak); box-shadow: 0 0 0 3px var(--lime); }
.rpt--l { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -50%); }
.rpt--sea::before { background: #4F7A86; }
.rpt--far { color: var(--forest); font-weight: 500; }
.rings__legend { position: absolute; left: 0; right: 0; bottom: -44px; text-align: center; font-size: 12.5px; color: var(--mute); }
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.places h3 { font: 500 24px/1 var(--f-head); color: var(--forest); margin-bottom: 10px; }
.places li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.35; }
.places li b { font: 500 18px/1.2 var(--f-head); color: var(--forest); white-space: nowrap; }
.places .note { grid-column: 1 / -1; margin-top: 0; }
.location__wide { position: relative; margin-top: clamp(56px, 6vw, 96px); aspect-ratio: 21 / 9; border-radius: var(--r-card); overflow: clip; }

/* ---------- Сроки ---------- */
.timeline { padding-bottom: calc(var(--sec) * .8); }
.tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(36px, 4vw, 56px); position: relative; }
.tl li { position: relative; padding-top: 34px; }
.tl li::before { content: ''; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--lime); border: 1.5px solid var(--forest); z-index: 1; transition: background-color .4s; }
.tl li.is-on::before { background: var(--forest); }
.tl time { display: block; font: 500 clamp(26px, 2.4vw, 34px)/1 var(--f-head); color: var(--forest); }
.tl b { display: block; margin-top: 12px; font-weight: 500; font-size: 16px; }
.tl p { margin-top: 6px; font-size: 14.5px; color: var(--mute); max-width: 30ch; }
.tl__bar { position: relative; height: 1px; margin-top: calc(-1 * (100% - 6px)); }
.timeline .tl::after { content: ''; position: absolute; left: 6px; right: 0; top: 6px; height: 1px; background: var(--line); }
.timeline .tl::before { content: ''; position: absolute; left: 6px; right: 0; top: 6px; height: 1px; background: var(--forest); transform: scaleX(var(--tl, 0)); transform-origin: left; z-index: 1; }
.tl__bar { display: none; }

/* ---------- Застройщик ---------- */
.dev__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.dev .btn { margin-top: 30px; }
.credits li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line-d); font-size: 15px; }
.credits span { color: var(--mute-d); }
.credits b { font-weight: 500; }
.dev__img { position: relative; margin-top: clamp(48px, 6vw, 80px); aspect-ratio: 16 / 7; border-radius: var(--r-card); overflow: clip; }
.dev__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Вопросы ---------- */
.faq__list { margin-top: clamp(28px, 3vw, 44px); max-width: 980px; margin-left: 0; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); }
.faq > * { margin: 0; max-width: none; }
.faq__list { margin-top: 0; }
.faq details { border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; cursor: pointer; padding: 22px 48px 22px 0; font: 500 clamp(21px, 1.9vw, 27px)/1.2 var(--f-head); color: var(--forest); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--teak); transition: transform .4s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 48px 24px 0; font-size: 16px; line-height: 1.65; color: var(--mute); max-width: 70ch; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- Заявка ---------- */
.contact { min-height: 640px; }
.contact__bg { position: absolute; inset: 0; max-width: none; margin: 0; }
.contact__bg img, .contact__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__bg video { opacity: 0; transition: opacity 1.2s var(--ease); }
.contact__bg video.is-on { opacity: 1; }
.contact__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 38, 32, .9) 0%, rgba(20, 38, 32, .72) 45%, rgba(20, 38, 32, .5) 100%); }
.contact__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.contact__ways { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.contact__ways a { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 15px; transition: border-color .3s, background-color .3s; }
.contact__ways a:hover { border-color: var(--lime); background: rgba(238, 233, 222, .08); }
.contact__hours { margin-top: 16px; font-size: 14px; color: var(--mute-d); }
.form { display: grid; gap: 16px; padding: clamp(20px, 2.6vw, 34px); border-radius: 22px; background: var(--lime); color: var(--ink); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { position: relative; cursor: pointer; }
.checks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checks span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(37, 43, 40, .24); font-size: 14.5px; transition: background-color .25s, color .25s, border-color .25s; }
.checks input:checked + span { background: var(--forest); color: var(--lime); border-color: var(--forest); }
.checks input:focus-visible + span { outline: 2px solid var(--teak); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error { font-size: 14px; color: #8E3527; }
.form__legal { font-size: 12.5px; line-height: 1.45; color: var(--mute); }
.form.is-sent .form__fields { opacity: .4; }

/* ---------- Подвал ---------- */
.foot { padding-top: clamp(48px, 5vw, 72px); padding-bottom: 36px; }
.foot__top { display: grid; grid-template-columns: auto 1fr auto; gap: 32px 56px; align-items: start; }
.foot__logo { width: 480px; height: auto; }
.foot__links, .foot__contacts { display: grid; gap: 8px; font-size: 15px; }
.foot__links a:hover, .foot__contacts a:hover { color: var(--teak); }
.foot__legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; color: var(--mute); max-width: 120ch; margin-left: 0; }

/* ---------- Плавающая консультация ---------- */
.consult {
  position: fixed; z-index: 80; right: calc(var(--gut) + 14px); bottom: calc(var(--gut) + 14px);
  display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px;
  background: var(--forest); color: var(--lime); box-shadow: 0 18px 40px -16px rgba(23, 60, 50, .55);
  transform: translateY(140%); opacity: 0; transition: transform .7s var(--ease), opacity .5s var(--ease);
}
.consult.is-on { transform: none; opacity: 1; }
.consult__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teak); }
.consult__t { display: grid; font-size: 14.5px; font-weight: 500; line-height: 1.2; }
.consult__t small { font-size: 12px; font-weight: 400; color: var(--mute-d); }

/* ---------- Карточка планировки ---------- */
dialog { padding: 0; border: 0; color: inherit; background: none; max-width: none; max-height: none; }
.unit { width: min(1280px, calc(100vw - 32px)); height: min(820px, calc(100dvh - 32px)); margin: auto; }
.unit::backdrop { background: rgba(20, 38, 32, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.unit__in { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; height: 100%; border-radius: 26px; background: var(--lime); overflow: hidden; }
.unit__media { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: 14px; min-height: 0; }
.unit__tabs { justify-self: start; }
.unit__stage { position: relative; min-height: 0; border-radius: var(--r-card); background: #fff; overflow: hidden; }
.unit__stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.unit__stage .is-plan { object-fit: contain; padding: 2%; cursor: zoom-in; }
.unit__stage .is-photo { object-fit: cover; }
.unit__stage .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(238, 233, 222, .9); display: grid; place-items: center; }
.unit__stage .nav::before { content: ''; width: 9px; height: 9px; border-top: 1.5px solid var(--forest); border-right: 1.5px solid var(--forest); }
.unit__stage .nav--p { left: 12px; } .unit__stage .nav--p::before { transform: translateX(2px) rotate(-135deg); }
.unit__stage .nav--n { right: 12px; } .unit__stage .nav--n::before { transform: translateX(-2px) rotate(45deg); }
.unit__stage .tour { position: absolute; inset: 0; display: grid; place-content: center; gap: 18px; text-align: center; padding: 30px; background: var(--forest); color: var(--lime); }
.unit__stage .tour p { max-width: 36ch; font-size: 15px; color: var(--mute-d); }
.unit__stage .tour b { font: 500 46px/1 var(--f-head); }
.unit__variants { display: flex; flex-wrap: wrap; gap: 6px; }
.unit__variants .pill { height: 34px; font-size: 13.5px; }
.unit__info { display: flex; flex-direction: column; gap: 14px; padding: 46px clamp(20px, 2.6vw, 36px) 24px; overflow: auto; overscroll-behavior: contain; }
.unit__cat { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--teak); font-weight: 500; }
.unit__t { font: 500 clamp(40px, 4vw, 58px)/.95 var(--f-head); color: var(--forest); }
.unit__note { font-size: 15.5px; line-height: 1.55; color: var(--mute); }
.unit__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.unit__specs div { padding: 11px 0; border-top: 1px solid var(--line); }
.unit__specs dt { font-size: 12.5px; color: var(--mute); }
.unit__specs dd { margin-top: 2px; font-size: 15.5px; }
.unit__price { padding: 16px 18px; border-radius: var(--r-card); background: var(--paper); }
.unit__price p { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 14px; color: var(--mute); }
.unit__price p + p { margin-top: 6px; }
.unit__price b { font: 500 26px/1 var(--f-head); color: var(--ink); }
.unit__price small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--mute); }
.unit__more summary { cursor: pointer; font-weight: 500; font-size: 15px; padding: 6px 0; }
.unit__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.unit__lists h4 { margin: 0 0 6px; font: 500 18px/1 var(--f-head); color: var(--forest); }
.unit__lists li { font-size: 13.5px; padding: 4px 0; color: var(--mute); }
.x { position: absolute; z-index: 5; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); }
.x::before, .x::after { content: ''; position: absolute; left: 14px; top: 21px; width: 16px; height: 1.5px; background: var(--lime); transform: rotate(45deg); }
.x::after { transform: rotate(-45deg); }
.x--light { background: rgba(238, 233, 222, .14); }

.lightbox { width: 100vw; height: 100dvh; margin: 0; background: rgba(15, 28, 23, .96); color: var(--lime); }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lightbox__t { padding: 22px 70px 10px 24px; font: 500 24px/1.1 var(--f-head); }
.lightbox__stage { position: relative; overflow: hidden; margin: 0 16px 16px; border-radius: var(--r-card); background: #fff; cursor: zoom-in; touch-action: none; }
.lightbox__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 2%; transform-origin: 0 0; transition: transform .45s var(--ease); }
.lightbox__stage.is-zoom { cursor: grab; }
.lightbox__stage.is-zoom img { transition: none; }

.toast { position: fixed; z-index: 300; left: 50%; bottom: 24px; transform: translate(-50%, 150%); padding: 13px 20px; border-radius: 999px; background: var(--char); color: var(--lime); font-size: 14.5px; transition: transform .6s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); }

/* View Transitions: карточка раскрывается в окно планировки */
::view-transition-group(unit-media) { animation-duration: .6s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .hdr__nav { display: none; }
  .hdr__burger { display: grid; }
  .hdr { grid-template-columns: auto 1fr auto; }
  .price-cards { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perk--img { grid-row: auto; grid-column: 1 / -1; min-height: 240px; }
  .stats { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__logo { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .about__grid, .health__grid, .homes__head, .pay__grid, .calc, .location__grid, .dev__grid, .contact__grid, .faq, .floors__grid { grid-template-columns: 1fr; }
  .ready { grid-template-columns: 1fr; }
  .about__img { aspect-ratio: 4 / 4.4; }
  .tours { max-width: none; }
  .chap { grid-template-columns: 1fr; height: auto; width: calc(100vw - var(--gut) * 2 - 48px); }
  .chap__media { height: 58vw; max-height: 420px; }
  .deck__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain; }
  .deck__track::-webkit-scrollbar { display: none; }
  .chap { scroll-snap-align: center; }
  .tower { min-height: 300px; height: 300px; }
  .tower__bars { flex-direction: row; gap: 2px; padding-left: 0; padding-bottom: 26px; align-items: flex-end; }
  .tower__bars .bar { min-height: 0; height: 100%; }
  .tower__bars .bar--narrow, .tower__bars .bar--ph { margin-right: 0; height: 70%; }
  .tower__bars .bar[data-label]::before { left: 50%; top: auto; bottom: -22px; transform: translateX(-50%); }
  .tower__range { writing-mode: horizontal-tb; direction: ltr; cursor: ew-resize; }
  .tower__bars .bar.is-cur { transform: scaleY(1.04); }
  .tower__bars .bar.lbl-d::before { display: none; }
  .rings { margin-bottom: 44px; }
  .tl { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline .tl::before, .timeline .tl::after { display: none; }
  .unit { width: 100vw; height: 100dvh; }
  .unit__in { grid-template-columns: 1fr; grid-template-rows: auto 1fr; border-radius: 0; overflow: auto; }
  .unit__media { height: 62vh; min-height: 360px; }
  .unit__info { overflow: visible; padding-top: 20px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hdr { height: 56px; padding-left: 18px; top: calc(var(--gut) + 6px); left: calc(var(--gut) + 6px); right: calc(var(--gut) + 6px); }
  .hdr__logo { width: 124px; }
  .hdr__cta { display: none; }
  .hero { min-height: 560px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .ticker__row li b { font-size: 22px; }
  .facts { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:last-child { grid-column: 1 / -1; }
  .chap__media--three { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .chap__media--three .ph--b, .chap__media--three .ph--c, .chap__media--two .ph--b, .chap__media--video .ph--b { display: none; }
  .chap__media--two, .chap__media--video { grid-template-rows: 1fr; }
  .chap__media { height: 64vw; }
  .chap__body { padding: 10px 6px 8px; }
  .deck__tabs { margin-top: 18px; gap: 8px; }
  .deck__tabs button { font-size: 13px; }
  .perks { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 8px; }
  .perk { padding: 16px; min-height: 150px; }
  .units { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ucard__media { margin: 6px 6px 0; aspect-ratio: 1 / 1; }
  .ucard__plan { padding: 6%; }
  .ucard__body { grid-template-columns: 1fr; padding: 12px 12px 14px; gap: 2px; }
  .ucard__t { font-size: 23px; }
  .ucard__a { font-size: 13px; }
  .ucard__c { font-size: 12px; line-height: 1.35; }
  .ucard__p { margin-top: 8px; padding-top: 8px; font-size: 12px; line-height: 1.35; }
  .ucard__p b { font-size: 18px; }
  .ucard__badge { top: 6px; left: 6px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 0 var(--pad) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .price-cards { grid-template-columns: 1fr; }
  .venn__c { width: 31vw; margin: 0 -3vw; }
  .steps li { grid-template-columns: 62px 1fr; }
  .calc { padding: 8px; }
  .ready__lists { grid-template-columns: 1fr; min-height: 0; }
  .ready__img { aspect-ratio: 4 / 4.2; }
  .places { grid-template-columns: 1fr; }
  .rpt { font-size: 10.5px; gap: 4px; }
  .rpt::before { width: 7px; height: 7px; }
  .floor-card__top { grid-template-columns: 1fr; gap: 12px; }
  .location__wide { aspect-ratio: 4 / 5; }
  .tl { grid-template-columns: 1fr; }
  .credits li { grid-template-columns: 1fr; gap: 2px; }
  .dev__img { aspect-ratio: 4 / 5; }
  .foot__top { grid-template-columns: 1fr; }
  .foot__logo { width: 180px; content: url(../logo/heritage-wordmark-forest.svg); }
  .consult { right: calc(var(--gut) + 8px); bottom: calc(var(--gut) + 8px); padding: 6px 16px 6px 6px; gap: 10px; }
  .consult__ic { width: 36px; height: 36px; }
  .consult__t small { display: none; }
  .unit__media { height: 56vh; }
  .unit__specs, .unit__lists { grid-template-columns: 1fr 1fr; }
  .lightbox__t { font-size: 19px; }
}

/* ---------- Анимации: начальные состояния только при включённом JS и без reduce ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .ln > span { transform: translateY(105%); }
  .js .hero__eyebrow, .js .hero__lead, .js .hero__cta { opacity: 0; transform: translateY(18px); }
  .js .hero:not(.is-in) { clip-path: inset(6% 10% 6% 10% round 40px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .ticker__track { transform: none !important; flex-wrap: wrap; width: auto; }
  .ticker__row:nth-child(n+2) { display: none; }
  .ticker__row { flex-wrap: wrap; row-gap: 8px; justify-content: center; padding: 0 var(--pad); }
}
