/* Soondri Wongamat — HERITAGE
   Палитра и шрифты — HERITAGE Brand System 1.0. Тонкий Onest — для крупных цифр и надписей, Cormorant Garamond — заголовки. */

@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;
  --forest: #173C32;
  --teak: #765A43;
  --char: #252B28;
  --sage: #ABB8A4;
  --lime-2: #E5DFD1;
  --night: #1D2220;
  --sky-a: #C9D2E2;
  --sky-b: #9FB4CF;

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

  --pad: clamp(16px, 4.2vw, 64px);
  --max: 1480px;
  --sec: clamp(96px, 13vw, 200px);
  --ease: cubic-bezier(.2, .75, .15, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--char); color: var(--lime);
  font: 400 16px/1.6 var(--f-body); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
::selection { background: var(--teak); color: var(--lime); }
:focus-visible { outline: 1.5px solid var(--teak); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--lime); color: var(--char); padding: 10px 14px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
@media (min-width: 901px) { .wrap { padding-right: max(var(--pad), 116px); } }
.section { padding: var(--sec) 0; position: relative; }

:where(main > section[data-tone="light"]) { background: var(--lime); color: var(--char); }
:where(main > section[data-tone="dark"], .footer) { background: var(--char); color: var(--lime); }

/* ---------- Типографика ---------- */
.label {
  display: flex; align-items: center; gap: 14px;
  font: 500 12px/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: clamp(24px, 3vw, 40px); opacity: .9;
}
.label span { font-variant-numeric: tabular-nums; opacity: .55; }
.label span::after { content: ''; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 14px; opacity: .6; }
.label--plain { margin-bottom: 18px; }

.title {
  font: 500 clamp(42px, 6.4vw, 104px)/.95 var(--f-head); letter-spacing: -.012em;
  text-wrap: balance;
}
.title em { color: var(--teak); }
[data-tone="dark"] .title em, .title--light em { color: var(--sage); }
.title--xl { font-size: clamp(48px, 8.2vw, 140px); }
.title sup { font: 300 .34em/1 var(--f-body); vertical-align: top; position: relative; top: .2em; margin-left: .04em; }
.title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.title .line > span { display: inline-block; will-change: transform; }

.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; max-width: 34em; opacity: .86; text-wrap: pretty; }

.num { font: 200 1em/1 var(--f-body); letter-spacing: -.055em; font-variant-numeric: tabular-nums lining-nums; }

.cap { position: absolute; right: var(--pad); bottom: 18px; z-index: 3; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font: 500 15px/1 var(--f-body); letter-spacing: .01em;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn--teak { background: var(--teak); color: var(--lime); }
.btn--teak:hover { background: #8a6a50; }
.btn--line { border: 1px solid currentColor; }
.btn--line:hover { background: currentColor; }
.btn--line:hover > * , .btn--line:hover { color: inherit; }
[data-tone="light"] .btn--line:hover, .villa .btn--line:hover { color: var(--lime); background: var(--char); border-color: var(--char); }
[data-tone="dark"] .btn--line:hover { color: var(--char); background: var(--lime); border-color: var(--lime); }
.btn--full { width: 100%; justify-content: space-between; }
.btn i { font-style: normal; font-size: 18px; }
.link { border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 15px; }

.round {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--char); flex: none;
  transition: transform .5s var(--ease), background-color .3s;
}
.round svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.round:hover { transform: translateY(-4px); }

/* ---------- Загрузка ---------- */
.loader { display: none; }
.js.motion .loader {
  position: fixed; inset: 0; z-index: 300; background: var(--char); color: var(--lime);
  display: grid; place-items: center;
}
.loader__shaft { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(238,233,222,.12); }
.loader__shaft i { position: absolute; left: -1px; bottom: 0; width: 3px; height: 0; background: var(--lime); }
.loader__count { position: relative; display: flex; align-items: baseline; gap: 12px; background: var(--char); padding: 10px 0; }
.loader__num { font: 200 clamp(84px, 12vw, 160px)/1 var(--f-body); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.loader__lbl { font: 500 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.loader__name { position: absolute; bottom: 32px; left: 0; right: 0; text-align: center; font: 500 12px/1 var(--f-body); letter-spacing: .3em; text-transform: uppercase; opacity: .55; }

/* ---------- Шапка ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  background: transparent !important; color: var(--char);
  transition: color .4s var(--ease);
}
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(238,233,222,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: opacity .4s var(--ease), background-color .4s var(--ease);
}
.header.is-solid::before { opacity: 1; }
.header[data-tone="dark"] { color: var(--lime); }
.header[data-tone="dark"]::before { background: rgba(37,43,40,.78); }
.header__logo { position: relative; width: 132px; flex: none; }
.header__logo img { width: 100%; height: auto; transition: opacity .4s; }
.header__logo .logo-light { position: absolute; inset: 0; opacity: 0; }
.header[data-tone="dark"] .logo-dark { opacity: 0; }
.header[data-tone="dark"] .logo-light { opacity: 1; }
.header__project { font: 500 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; padding-left: 26px; border-left: 1px solid currentColor; opacity: .85; }
.header__project span { opacity: .55; }
.header__nav { display: flex; gap: clamp(16px, 2vw, 30px); margin-left: auto; font-size: 14px; }
.header__nav a { position: relative; opacity: .82; transition: opacity .3s; }
.header__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.header__nav a:hover { opacity: 1; }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta { flex: none; font-size: 14px; font-weight: 500; padding: 11px 20px; border-radius: 999px; border: 1px solid currentColor; transition: background-color .3s, color .3s; }
.header__cta:hover { background: var(--teak); border-color: var(--teak); color: var(--lime); }
.header__burger { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.header__burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.header__burger i:first-child { top: 18px; }
.header__burger i:last-child { top: 25px; }
.header__burger[aria-expanded="true"] i:first-child { top: 21.5px; transform: rotate(45deg); }
.header__burger[aria-expanded="true"] i:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--forest); color: var(--lime);
  padding: calc(var(--header-h) + 24px) var(--pad) 32px; display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(238,233,222,.14); font: 500 clamp(28px, 7vw, 44px)/1.1 var(--f-head); }
.menu nav a span { font: 500 12px/1 var(--f-body); letter-spacing: .12em; opacity: .5; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 28px; font-size: 15px; opacity: .85; }
.menu-open .header { color: var(--lime); }
.menu-open .header::before { opacity: 0; }
.menu-open .header .logo-dark { opacity: 0; }
.menu-open .header .logo-light { opacity: 1; }

/* ---------- Лифт ---------- */
.lift {
  position: fixed; right: clamp(14px, 1.8vw, 30px); top: 50%; z-index: 50;
  transform: translateY(-50%); width: 64px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--char); pointer-events: none;
  transition: color .5s var(--ease);
}
.lift[data-tone="dark"] { color: var(--lime); }
.lift { transition: color .5s var(--ease), opacity .5s var(--ease); }
.lift.is-off { opacity: 0; }
.lift__lbl { font: 500 10px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.lift__num { font: 200 40px/1 var(--f-body); letter-spacing: -.04em; }
.lift__track { position: relative; width: 1px; height: 28vh; background: currentColor; opacity: .35; }
.lift__track::before { content: ''; position: absolute; left: -4px; right: -4px; top: 0; bottom: 0; background: repeating-linear-gradient(to top, currentColor 0 1px, transparent 1px calc(100% / 53)); opacity: .5; width: 9px; }
.lift__dot { position: absolute; left: -5px; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--teak); transform: translateY(50%); opacity: 1; box-shadow: 0 0 0 4px rgba(118,90,67,.18); }
.lift__zone { font: 500 10px/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; text-align: center; opacity: .7; max-width: 92px; }

/* одометр */
.odo { display: inline-flex; height: 1em; overflow: hidden; line-height: 1; vertical-align: top; }
.odo__col { display: flex; flex-direction: column; transition: transform .8s var(--ease); }
.odo__col span { display: block; height: 1em; text-align: center; font-variant-numeric: tabular-nums; }
.odo__col span { width: .62em; }
.odo__col:nth-child(3) { width: 0; overflow: hidden; transition: transform .8s var(--ease), width .5s var(--ease); }
.odo.has-a .odo__col:nth-child(3) { width: .62em; }

/* переключатель квоты */
.quota { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid rgba(238,233,222,.3); gap: 2px; }
.quota button { padding: 9px 16px; border-radius: 999px; font-size: 13px; white-space: nowrap; transition: background-color .3s, color .3s; }
.quota button[aria-pressed="true"] { background: var(--lime); color: var(--char); }
.quota button:not([aria-pressed="true"]):hover { background: rgba(238,233,222,.1); }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate;
  background: linear-gradient(100deg, var(--sky-a) 0%, #B8C6DC 55%, var(--sky-b) 100%);
  color: var(--lime);
  --img-h: max(126svh, 88vw);
  --img-top: 6svh;
  --tower-x: 50%;
  --word-top: 17svh;
  --word-size: min(17vw, 30svh);
  --gap: calc(var(--img-h) * .125);
}
.hero__stage { position: absolute; inset: 0; }
.hero__layer {
  position: absolute; left: var(--tower-x); top: var(--img-top);
  height: var(--img-h); aspect-ratio: 2048 / 1738;
  transform: translateX(-55.6%);
}
.hero__layer img { width: 100%; height: 100%; max-width: none; transform-origin: 55.6% 30%; }
.hero__bg { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%); mask-image: linear-gradient(to bottom, transparent 0, #000 7%); }
.hero__layer--tower { z-index: 2; }
.hero__word {
  position: absolute; left: 0; right: 0; top: var(--word-top); z-index: 1;
  display: flex; justify-content: center; align-items: flex-end; gap: var(--gap);
  font: 200 var(--word-size)/.78 var(--f-body); letter-spacing: -.07em; color: var(--char);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.hero__w { display: block; overflow: hidden; padding: .02em .04em .06em; }
.hero__w > span { display: inline-block; will-change: transform; }
.hero__fade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(to top, rgba(29,34,32,.9) 0%, rgba(29,34,32,.55) 22%, rgba(29,34,32,0) 48%); }

.hero__aside {
  position: absolute; z-index: 4; left: calc(var(--tower-x) + var(--img-h) * .14); top: 50svh;
  display: grid; grid-template-columns: auto auto; gap: 14px 18px; align-items: center; max-width: 300px; color: var(--char);
}
.hero__aside p { grid-column: 1 / -1; font-size: 14px; line-height: 1.45; max-width: 22ch; }
.hero__aside > span { font-size: 12px; line-height: 1.3; letter-spacing: .02em; opacity: .75; }
.hero__aside .round { background: var(--char); color: var(--lime); }

.hero__bottom { position: absolute; left: 0; right: 0; bottom: clamp(24px, 4.5svh, 48px); z-index: 4; display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: end; }
.hero__kicker { grid-column: 1 / -1; font: 500 12px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.hero__lead { font: 500 clamp(26px, 3.2vw, 46px)/1.05 var(--f-head); max-width: 18ch; text-wrap: balance; }
.hero__facts { display: flex; gap: clamp(20px, 3vw, 48px); }
.hero__facts li { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; border-left: 1px solid rgba(238,233,222,.35); }
.hero__facts b { font: 300 clamp(20px, 1.8vw, 26px)/1 var(--f-body); letter-spacing: -.02em; }
.hero__facts span { font-size: 12px; opacity: .7; }
.hero__note { position: absolute; z-index: 4; right: var(--pad); top: calc(var(--header-h) + 8px); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--char); opacity: .55; }

/* ---------- Концепция ---------- */
.manifesto {
  font: 300 clamp(28px, 3.7vw, 60px)/1.1 var(--f-body); letter-spacing: -.03em; max-width: 24em; text-wrap: pretty;
}
.concept__grid { margin-top: clamp(72px, 10vw, 150px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.concept__quote { position: relative; padding: clamp(28px, 4vw, 56px); background: var(--forest); color: var(--lime); min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.breeze { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.concept__quote > *:not(canvas) { position: relative; }
.concept__quote blockquote p { font: 500 clamp(26px, 2.6vw, 40px)/1.15 var(--f-head); text-wrap: pretty; }
.concept__pillars { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(37,43,40,.2); }
.concept__pillars li { padding: 26px 22px 30px 0; border-bottom: 1px solid rgba(37,43,40,.2); }
.concept__pillars li:nth-child(odd) { padding-right: 28px; border-right: 1px solid rgba(37,43,40,.2); }
.concept__pillars li:nth-child(even) { padding-left: 28px; }
.concept__pillars span { font-size: 12px; letter-spacing: .1em; opacity: .5; }
.concept__pillars h3 { font: 500 28px/1.1 var(--f-head); margin: 14px 0 10px; }
.concept__pillars p { font-size: 15px; opacity: .78; }

/* ---------- Цифры ---------- */
.numbers { padding-top: 0; }
.numbers__row { display: grid; grid-template-columns: 1.05fr 1.2fr .75fr; gap: clamp(16px, 3vw, 48px); border-top: 1px solid rgba(37,43,40,.2); padding-top: clamp(32px, 4vw, 56px); }
.numbers__row li { display: flex; align-items: flex-start; gap: 14px; }
.numbers__row .num { font-size: clamp(88px, 14vw, 250px); line-height: .8; }
.numbers__row span { font-size: 13px; line-height: 1.35; opacity: .7; padding-top: .6em; }
.facts { margin-top: clamp(56px, 8vw, 120px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 48px); }
.facts div { padding: 20px 0 22px; border-top: 1px solid rgba(37,43,40,.2); }
.facts dt { font: 500 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; opacity: .55; margin-bottom: 12px; }
.facts dd { font-size: 16px; line-height: 1.45; }

/* ---------- Beach ---------- */
.beach { position: relative; min-height: 112svh; display: flex; align-items: center; overflow: hidden; }
.beach__media, .poolvilla__media, .contact__bg { position: absolute; inset: -8% 0; }
.beach__media img, .poolvilla__media img, .contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.beach::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,34,32,.78) 0%, rgba(29,34,32,.45) 55%, rgba(29,34,32,.15) 100%); z-index: 1; }
.beach__inner { position: relative; z-index: 2; padding-top: var(--sec); padding-bottom: var(--sec); }
.runon { font: 300 clamp(30px, 4.3vw, 72px)/1.06 var(--f-body); letter-spacing: -.035em; max-width: 17em; text-wrap: pretty; }

/* ---------- Wellness ---------- */
.wellness { background: var(--night); }
.wellness__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); align-items: start; }
.wellness__text { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 40px); }
.wellness__text .lead { margin-top: 28px; }
.wellness__a { grid-column: 7 / 13; grid-row: 1 / span 2; }
.wellness__b { grid-column: 1 / 5; margin-top: clamp(40px, 8vw, 140px); }
.wellness__c { grid-column: 5 / 8; margin-top: clamp(100px, 16vw, 260px); }
.wellness figure img { width: 100%; height: auto; aspect-ratio: 1423 / 2048; object-fit: cover; }
figure figcaption { font-size: 12px; letter-spacing: .06em; opacity: .6; margin-top: 12px; }

/* ---------- Уровни (rows как в референсе) ---------- */
.levels__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 88px); }
.levels__head .label { margin-bottom: 0; order: 2; }
.rows { border-top: 1px solid rgba(37,43,40,.22); }
.rows--light { border-color: rgba(238,233,222,.2); }
.rows__item {
  display: grid; grid-template-columns: 80px 1fr minmax(260px, 34%); gap: 24px;
  padding: clamp(22px, 2.6vw, 34px) 0 clamp(28px, 3vw, 40px); border-bottom: 1px solid rgba(37,43,40,.22);
  align-items: end;
}
.rows--light .rows__item { border-color: rgba(238,233,222,.2); }
.rows__n { align-self: start; font-size: 12px; letter-spacing: .08em; opacity: .5; }
.rows__t { font: 200 clamp(54px, 8.4vw, 140px)/.8 var(--f-body); letter-spacing: -.06em; transition: transform .7s var(--ease), color .5s; }
.motion .rows__item { border-bottom-color: transparent !important; }
.rows__item { position: relative; }
.rows__item::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; opacity: .24; transform-origin: left; transition: transform 1.6s var(--ease); }
.motion .rows__item::after { transform: scaleX(0); }
.motion .rows__item.is-in::after { transform: scaleX(1); }
.rows__item:hover .rows__t { transform: translateX(14px); color: var(--teak); }
.rows--light .rows__item:hover .rows__t { color: var(--sage); }
.rows__d { font-size: 14px; line-height: 1.5; opacity: .85; display: grid; gap: 10px; }
.rows__d b { font-weight: 500; }
.levels__media { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(16px, 2vw, 32px); margin-top: clamp(48px, 6vw, 90px); align-items: end; }
.levels__media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.levels__media figure:last-child img { aspect-ratio: 4 / 5; }

/* ---------- Pool Villa ---------- */
.poolvilla { position: relative; min-height: 120svh; display: flex; align-items: flex-end; overflow: hidden; }
.poolvilla::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(29,34,32,.88) 0%, rgba(29,34,32,.35) 45%, rgba(29,34,32,.05) 75%); }
.poolvilla__inner { position: relative; z-index: 2; padding-bottom: clamp(56px, 8vw, 120px); padding-top: 40svh; }
.poolvilla__cols { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: clamp(28px, 3vw, 44px); }

.spec { display: grid; gap: 0; min-width: min(100%, 360px); }
.spec li { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid currentColor; border-color: rgba(127,127,127,.32); font-size: 15px; }
.spec li span { opacity: .65; }
.spec li b { font-weight: 500; text-align: right; }

/* ---------- Резиденции ---------- */
.residences__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(48px, 7vw, 100px); }
.residences__head .label { grid-column: 1 / -1; margin-bottom: 0; }
.types { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(37,43,40,.22); }
.types__item { position: relative; padding: 26px 24px 30px 0; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid rgba(37,43,40,.22); }
.types__item + .types__item { padding-left: 24px; border-left: 1px solid rgba(37,43,40,.22); }
.types__n { font-size: 12px; opacity: .5; letter-spacing: .08em; }
.types h3 { font: 500 32px/1.05 var(--f-head); margin-top: 26px; }
.types__area { font-size: 15px; opacity: .8; }
.types__area b { font: 200 clamp(28px, 2.4vw, 40px)/1.1 var(--f-body); letter-spacing: -.04em; opacity: 1; margin-right: 4px; }
.types__floors { font-size: 13px; opacity: .6; }
.types__price { font-size: 15px; font-weight: 500; color: var(--teak); margin-top: 6px; }
.types__go { margin-top: 18px; align-self: flex-start; font-size: 14px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.types__go::after { content: ' →'; transition: margin .3s; }
.types__go:hover::after { margin-left: 6px; }

.show { margin-top: clamp(80px, 10vw, 150px); }
.show__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.show__title { font: 500 clamp(30px, 3vw, 44px)/1 var(--f-head); }
.show__tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.show__tabs button { padding: 10px 16px; border: 1px solid rgba(37,43,40,.3); border-radius: 999px; font-size: 13px; transition: background-color .3s, color .3s, border-color .3s; }
.show__tabs button[aria-selected="true"] { background: var(--char); color: var(--lime); border-color: var(--char); }
.show__tabs button:hover { border-color: var(--char); }
.show__track { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); cursor: grab; overscroll-behavior-x: contain; }
.show__track::-webkit-scrollbar { display: none; }
.show__track.is-drag { cursor: grabbing; }
.show__set { display: none; gap: clamp(12px, 1.4vw, 22px); width: max-content; }
.show__set.is-on { display: flex; }
.show__set figure { height: clamp(300px, 64svh, 660px); flex: none; overflow: hidden; background: var(--lime-2); }
.show__set img { height: 100%; width: auto; max-width: none; transition: transform 1.2s var(--ease); cursor: zoom-in; }
.show__set figure:hover img { transform: scale(1.03); }
.show__hint { margin-top: 16px; font-size: 12px; opacity: .55; letter-spacing: .04em; }

/* ---------- Вертикаль (выбор этажа) ---------- */
.vertical { background: var(--forest); color: var(--lime); }
.vertical__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.vertical__head .label { grid-column: 1 / -1; margin-bottom: 0; }
.vx { display: grid; grid-template-columns: minmax(280px, 34%) 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.vx__tower { position: sticky; top: calc(var(--header-h) + 16px); }
.vx__svg { width: 100%; height: auto; max-height: calc(100svh - var(--header-h) - 80px); overflow: visible; }
.vx__svg .fl { fill: rgba(238,233,222,.08); stroke: rgba(238,233,222,.42); stroke-width: .6; cursor: pointer; transition: fill .25s, stroke .25s; }
.vx__svg .fl--am { fill: rgba(171,184,164,.28); }
.vx__svg .fl--ph { fill: rgba(238,233,222,.18); }
.vx__svg .fl:hover, .vx__svg .fl.is-hl { fill: rgba(171,184,164,.7); stroke: var(--sage); }
.vx__svg .fl.is-sel { fill: var(--teak); stroke: #b08a6a; }
.vx__svg .fl.is-cat { fill: rgba(238,233,222,.42); }
.vx__svg .bx { fill: rgba(238,233,222,.06); stroke: rgba(238,233,222,.38); stroke-width: .6; cursor: pointer; transition: fill .25s; }
.vx__svg .bx:hover { fill: rgba(171,184,164,.5); }
.vx__svg .bx--static { cursor: default; }
.vx__svg .bx--static:hover { fill: rgba(238,233,222,.06); }
.vx__svg .ground { stroke: rgba(238,233,222,.6); stroke-width: .8; }
.vx__svg .dash { stroke: rgba(238,233,222,.3); stroke-dasharray: 2 3; fill: none; stroke-width: .6; }
.vx__svg .sea { fill: none; stroke: rgba(171,184,164,.55); stroke-width: .7; }
.vx__svg text { fill: var(--lime); font: 500 8.5px/1 var(--f-body); letter-spacing: .06em; }
.vx__svg .zl { opacity: .62; transition: opacity .25s; }
.vx__svg .zl.is-on { opacity: 1; }
.vx__svg .zl line { stroke: rgba(238,233,222,.45); stroke-width: .5; }
.vx__svg .zl .zn { font-size: 8px; opacity: .6; }
.vx__svg .tip { pointer-events: none; }
.vx__svg .tip rect { fill: var(--lime); }
.vx__svg .tip text { fill: var(--char); font-size: 9px; }
.vx__legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; opacity: .75; }
.sw { display: inline-block; width: 12px; height: 8px; margin-right: 8px; vertical-align: middle; border: 1px solid rgba(238,233,222,.5); }
.sw--res { background: rgba(238,233,222,.08); }
.sw--am { background: rgba(171,184,164,.45); }
.sw--sel { background: var(--teak); border-color: var(--teak); }

.vx__panel { min-width: 0; }
.vx__top { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: end; padding-bottom: 20px; border-bottom: 1px solid rgba(238,233,222,.2); }
.vx__floor { display: flex; flex-direction: column; gap: 8px; }
.vx__floorlbl { font: 500 11px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; opacity: .6; }
.odo--big { font: 200 clamp(84px, 9vw, 150px)/1 var(--f-body); letter-spacing: -.06em; }
.vx__zone { font: 500 clamp(26px, 2.4vw, 36px)/1.05 var(--f-head); }
.vx__sum { font-size: 14px; opacity: .7; margin-top: 6px; }
.vx__ctrl { display: flex; flex-direction: column; gap: 8px; }
.vx__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(238,233,222,.45); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.vx__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.vx__btn:hover { background: var(--lime); color: var(--forest); }
.vx__btn:disabled { opacity: .3; pointer-events: none; }
.vx__range { display: none; width: 100%; margin: 18px 0 4px; accent-color: var(--teak); }
.vx__chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0 22px; }
.vx__chips button { font-size: 12px; padding: 7px 12px; border: 1px solid rgba(238,233,222,.3); border-radius: 999px; transition: background-color .3s, color .3s, border-color .3s; }
.vx__chips button:hover { border-color: var(--lime); }
.vx__chips button.is-on { background: var(--lime); color: var(--forest); border-color: var(--lime); }

.vx__body { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.vx__plan { margin: 0; }
.vx__planbox { background: var(--lime); padding: clamp(10px, 1.4vw, 20px); aspect-ratio: 1430 / 1046; display: grid; place-items: center; overflow: hidden; position: relative; }
.vx__planbox img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .35s var(--ease), transform .6s var(--ease); }
.vx__planbox.is-amenity { padding: 0; }
.vx__planbox.is-amenity img { object-fit: cover; mix-blend-mode: normal; }
.vx__planbox.is-crown { background: linear-gradient(180deg, #B8C6DC, #EEE9DE); }
.vx__planbox.is-crown img { object-fit: contain; }
.vx__planbox.is-swap img { opacity: 0; transform: scale(.985); }
.vx__plan figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; opacity: .65; margin-top: 10px; }
.vx__sea { letter-spacing: .08em; text-transform: uppercase; }

.vx__units { display: flex; flex-direction: column; border-top: 1px solid rgba(238,233,222,.2); }
.vx__units li { border-bottom: 1px solid rgba(238,233,222,.2); }
.vx__unit { width: 100%; display: grid; grid-template-columns: 54px 1fr auto 18px; gap: 10px; align-items: center; padding: 13px 4px; text-align: left; transition: background-color .25s, padding .35s var(--ease); }
.vx__unit:hover, .vx__unit:focus-visible { background: rgba(238,233,222,.07); padding-left: 10px; }
.vx__unit.is-cat { background: rgba(171,184,164,.16); }
.vx__unit .u-no { font-weight: 500; font-variant-numeric: tabular-nums; }
.vx__unit .u-type { font-size: 13px; opacity: .78; line-height: 1.3; }
.vx__unit .u-type i { font-style: normal; display: inline-block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid rgba(238,233,222,.35); border-radius: 99px; padding: 2px 7px; margin: 4px 4px 0 0; opacity: .9; }
.vx__unit .u-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.vx__unit .u-area { font: 300 18px/1 var(--f-body); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vx__unit .u-price { font-size: 13px; font-weight: 500; color: var(--sage); white-space: nowrap; }
.vx__unit.is-none .u-no, .vx__unit.is-none .u-type, .vx__unit.is-none .u-area { opacity: .55; }
.vx__unit.is-none .u-price { color: inherit; opacity: .5; font-weight: 400; }
.vx__quota { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-top: 18px; }
.vx__pnote { font-size: 12px; opacity: .6; }
.vx__svg .fl.is-none { fill: transparent; stroke: rgba(238,233,222,.22); }
.vx__unit .u-go { opacity: .6; }
.vx__am { padding: 4px 0; }
.vx__am li { padding: 12px 0; font-size: 15px; display: flex; gap: 12px; }
.vx__am li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); margin-top: 8px; flex: none; }
.vx__amtitle { font: 500 24px/1.1 var(--f-head); padding: 0 0 12px; border: 0 !important; }
.vx__amtitle::before { display: none !important; }

/* ---------- Пентхаусы ---------- */
.penthouses { background: var(--char); }
.penthouses__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.penthouses__text .lead { margin-top: 28px; }
.ph-list { margin-top: 36px; border-top: 1px solid rgba(238,233,222,.2); }
.ph-list li { border-bottom: 1px solid rgba(238,233,222,.2); }
.ph-list button { width: 100%; display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; align-items: center; padding: 16px 0; text-align: left; transition: padding .4s var(--ease), color .3s; }
.ph-list b.is-none { font: 400 14px/1 var(--f-body) !important; letter-spacing: 0 !important; opacity: .5; }
.ph-list button span:first-child { font-variant-numeric: tabular-nums; font-weight: 500; }
.ph-list button span:nth-child(2) { opacity: .6; font-size: 14px; }
.ph-list button b { font: 200 28px/1 var(--f-body); letter-spacing: -.03em; }
.ph-list button:hover { padding-left: 12px; color: var(--sage); }
.penthouses__plan img { width: 100%; height: auto; opacity: .9; }
.penthouses__plan figcaption { text-align: right; }

/* ---------- Sky ---------- */
.sky { position: relative; background: radial-gradient(120% 80% at 70% 0%, #2e3634 0%, var(--night) 60%); padding: var(--sec) 0; overflow: hidden; }
.sky__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 90px); align-items: center; }
.sky__arch {
  position: relative; width: min(100%, 460px); margin: 0 auto; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #8FA6C6 0%, #B6C4DA 38%, #DAD9E3 72%, #EEE9DE 100%);
}
.sky__crown { position: absolute; left: 0; right: 0; bottom: -18%; display: flex; justify-content: center; }
.sky__crown img { width: 88%; height: auto; }
.sky__levels li { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 44px); align-items: center; padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid rgba(238,233,222,.18); }
.sky__levels li:first-child { border-top: 1px solid rgba(238,233,222,.18); }
.sky__levels .num { font-size: clamp(72px, 9vw, 150px); line-height: .8; }
.sky__levels h3 { font: 500 clamp(26px, 2.4vw, 38px)/1.05 var(--f-head); }
.sky__levels p { font-size: 15px; opacity: .72; margin-top: 6px; }

/* ---------- Виллы ---------- */
.villas__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 60px; align-items: end; }
.villas__head .label { grid-column: 1 / -1; margin-bottom: 0; }
.villas__wide { margin: clamp(48px, 7vw, 100px) calc(var(--pad) * -1) 0; }
.villas__wide img { width: 100%; height: clamp(320px, 70svh, 780px); object-fit: cover; cursor: zoom-in; }
.villas__wide figcaption { padding: 0 var(--pad); }
.villa { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 90px); align-items: start; padding-top: clamp(80px, 10vw, 150px); }
.villa--rev .villa__text { order: 2; }
.villa__text { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 14px; }
.villa__text > p:not([class]) { font-size: 16px; opacity: .85; max-width: 30em; }
.villa__n { font: 500 12px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; opacity: .55; }
.villa__name { font: 500 clamp(40px, 4.4vw, 72px)/.95 var(--f-head); }
.villa__ru { font: 500 22px/1 var(--f-head); color: var(--teak); }
.villa__tags { font-size: 13px; letter-spacing: .02em; opacity: .65; }
.villa .spec { margin: 6px 0 12px; }
.villa .btn { align-self: flex-start; }
.villa__media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 22px); }
.villa__media figure { overflow: hidden; }
.villa__media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; transition: transform 1.2s var(--ease); }
.villa__media figure:hover img { transform: scale(1.03); }
.villa__main { grid-column: 1 / -1; }
.villa__main img { aspect-ratio: 16 / 10; }
.villas__note { margin-top: clamp(48px, 6vw, 80px); font-size: 14px; opacity: .65; }

/* ---------- Локация ---------- */
.location { background: var(--forest); }
.location__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.location__head .label { grid-column: 1 / -1; margin-bottom: 0; }
.site { margin-bottom: clamp(56px, 7vw, 100px); }
.site__img { position: relative; }
.site__img img { width: 100%; height: auto; cursor: zoom-in; }
.pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; color: var(--char); font: 500 12px/1 var(--f-body); white-space: nowrap; }
.pin i { width: 12px; height: 12px; border-radius: 50%; background: var(--teak); box-shadow: 0 0 0 0 rgba(118,90,67,.6); animation: pulse 2.4s infinite; flex: none; }
.pin span { background: var(--lime); padding: 6px 9px; border-radius: 99px; box-shadow: 0 6px 18px rgba(0,0,0,.15); transition: background-color .3s, color .3s; }
a.pin:hover span { background: var(--char); color: var(--lime); }
.pin--sea span { background: transparent; color: var(--lime); box-shadow: none; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(118,90,67,.55); } 70% { box-shadow: 0 0 0 14px rgba(118,90,67,0); } 100% { box-shadow: 0 0 0 0 rgba(118,90,67,0); } }
.map { margin-top: clamp(48px, 6vw, 80px); position: relative; aspect-ratio: 21 / 9; background: rgba(238,233,222,.06); border: 1px solid rgba(238,233,222,.18); }
.map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 20px; }
.map__ph p { font-size: 14px; opacity: .7; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(.95); }

/* ---------- Застройщик ---------- */
.dev__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.dev__head .lead { margin-top: 28px; }
.team { margin-top: 40px; border-top: 1px solid rgba(37,43,40,.2); }
.team div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(37,43,40,.2); font-size: 15px; }
.team dt { opacity: .6; }
.team dd { font-weight: 500; text-align: right; }
.track li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(37,43,40,.2); }
.track li:first-child { border-top: 1px solid rgba(37,43,40,.2); }
.track__y { font: 200 40px/1 var(--f-body); letter-spacing: -.04em; }
.track h3 { font: 500 26px/1.1 var(--f-head); margin-bottom: 6px; }
.track p { font-size: 15px; opacity: .75; }
.track .is-now h3 { color: var(--teak); }

/* ---------- Стоимость ---------- */
.costs { background: var(--char); }
.costs__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.costs__head .label { grid-column: 1 / -1; margin-bottom: 0; }
.costs__head .quota { grid-column: 2; justify-self: start; }
.costs__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.plan__title { font: 500 clamp(26px, 2.4vw, 34px)/1.1 var(--f-head); margin-bottom: 20px; }
.plan__table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.plan__table th, .plan__table td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid rgba(238,233,222,.18); }
.plan__table thead th { font: 500 11px/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.plan__table tbody th { font-weight: 400; opacity: .65; width: 26%; }
.plan__table b { font: 200 28px/1 var(--f-body); letter-spacing: -.03em; display: inline-block; margin-bottom: 4px; }
.plan__table .is-dim { opacity: .38; }
.plan__table td, .plan__table th { transition: opacity .4s var(--ease); }
.terms { margin-top: 44px; border-top: 1px solid rgba(238,233,222,.18); }
.terms li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(238,233,222,.18); font-size: 15px; }
.terms span { opacity: .6; }
.terms b { font-weight: 400; }
.calc { background: var(--lime); color: var(--char); padding: clamp(24px, 3vw, 44px); }
.calc__title { font: 500 clamp(26px, 2.4vw, 34px)/1.1 var(--f-head); margin-bottom: 24px; }
.calc__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 26px; }
.calc__chips button { font-size: 12px; padding: 8px 12px; border-radius: 99px; border: 1px solid rgba(37,43,40,.28); transition: background-color .3s, color .3s; }
.calc__chips button:hover, .calc__chips button.is-on { background: var(--char); color: var(--lime); border-color: var(--char); }
.calc__out div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(37,43,40,.18); }
.calc__out dt { font-size: 14px; opacity: .7; }
.calc__out dd { font: 300 clamp(20px, 1.8vw, 26px)/1 var(--f-body); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__unit { width: 100%; height: 52px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; font: 400 16px/1 var(--f-body); padding: 0 2px; cursor: pointer; }
.calc__unit:focus { outline: none; border-color: var(--teak); }
.calc__out { margin-bottom: 22px; }
.calc__fields { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0 20px; }
.calc__price-in { font-size: 22px !important; font-weight: 300 !important; letter-spacing: -.02em; }
.calc__hint { font-size: 13px; color: var(--teak); margin: -4px 0 14px; }
.froms { display: grid; grid-template-columns: repeat(5, auto); gap: 6px 22px; margin-bottom: clamp(36px, 4vw, 56px); padding-bottom: 28px; border-bottom: 1px solid rgba(238,233,222,.18); }
.froms li { display: flex; flex-direction: column; gap: 6px; }
.froms span { font-size: 12px; opacity: .6; }
.froms b { font: 300 clamp(18px, 1.5vw, 22px)/1.1 var(--f-body); letter-spacing: -.02em; white-space: nowrap; }
.ph-from { margin-top: 22px; font-size: 15px; opacity: .85; }
.ph-from b { font-weight: 500; color: var(--sage); }
.villas__note b { font-weight: 500; color: var(--teak); }
.um__price > b.is-ask { font: 500 clamp(22px, 2vw, 28px)/1.1 var(--f-head); color: var(--teak); }
.calc__out dd { white-space: nowrap !important; text-align: right; font-size: clamp(18px, 1.5vw, 22px) !important; }
.calc__out dt { flex: 1; }
.calc__out dd small { display: block; font: 400 13px/1.3 var(--f-body); letter-spacing: 0; opacity: .7; margin-top: 6px; }
.calc__price dt { opacity: 1 !important; font-weight: 500; }
.calc__price dd { font-size: clamp(30px, 3vw, 42px) !important; color: var(--teak); }
.calc__note { margin-top: 16px; font-size: 12px; line-height: 1.5; opacity: .6; }

/* ---------- Поля ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; border: 0; padding: 0; }
.field > span, .field legend { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; padding: 0; }
.field input[type="text"], .field input[type="number"] {
  width: 100%; height: 52px; padding: 0 2px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0;
  background: transparent; color: inherit; font: 400 18px/1 var(--f-body); outline: none; transition: border-color .3s;
}
.field input:focus { border-color: var(--teak); }
.field input[aria-invalid="true"] { border-color: #b0583e; }
.field input::placeholder { color: inherit; opacity: .4; }
.field--chips, .field--radio { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.field--chips legend, .field--radio legend { width: 100%; margin-bottom: 10px; }
.field--chips label, .field--radio label { position: relative; cursor: pointer; }
.field--chips input, .field--radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.field--chips span, .field--radio span { display: inline-block; padding: 9px 14px; border-radius: 99px; border: 1px solid currentColor; border-color: rgba(127,127,127,.45); font-size: 14px; transition: background-color .3s, color .3s, border-color .3s; }
.field--chips input:checked + span, .field--radio input:checked + span { background: var(--char); color: var(--lime); border-color: var(--char); }
.field--chips input:focus-visible + span, .field--radio input:focus-visible + span { outline: 1.5px solid var(--teak); outline-offset: 2px; }

/* ---------- HERITAGE ---------- */
.why__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 100px); }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 48px); }
.why__list li { padding: 24px 0 30px; border-top: 1px solid rgba(37,43,40,.2); }
.why__list span { font-size: 12px; opacity: .5; }
.why__list h3 { font: 500 28px/1.1 var(--f-head); margin: 14px 0 10px; }
.why__list p { font-size: 15px; opacity: .78; }

/* ---------- Контакт ---------- */
.contact { position: relative; padding: var(--sec) 0; overflow: hidden; }
.contact::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,60,50,.92) 0%, rgba(23,60,50,.78) 48%, rgba(23,60,50,.45) 100%); }
.contact__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr minmax(320px, 470px); gap: clamp(32px, 6vw, 100px); align-items: start; }
.contact__text .lead { margin-top: 24px; }
.contact__list { margin-top: 40px; border-top: 1px solid rgba(238,233,222,.22); max-width: 520px; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(238,233,222,.22); font-size: 15px; }
.contact__list span { opacity: .6; }
.contact__list a:hover { color: var(--sage); }
.form { background: var(--lime); color: var(--char); padding: clamp(24px, 3vw, 40px); }
.form__title { font: 500 32px/1 var(--f-head); margin-bottom: 26px; }
.form__note { margin-top: 14px; font-size: 12px; opacity: .6; }
.form__error { margin-top: 10px; font-size: 13px; color: #9b4a33; }

/* ---------- Подвал ---------- */
.footer { padding: clamp(64px, 8vw, 110px) 0 40px; background: var(--char); }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(238,233,222,.16); }
.footer__logo { width: min(360px, 70vw); height: auto; }
.footer__cols { display: flex; gap: clamp(32px, 6vw, 100px); }
.footer__cols div { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer__cols a { opacity: .85; }
.footer__cols a:hover { opacity: 1; color: var(--sage); }
.footer__cols p { opacity: .65; }
.footer__h { font: 500 11px/1 var(--f-body) !important; letter-spacing: .18em; text-transform: uppercase; opacity: .5 !important; margin-bottom: 8px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; font-size: 12px; letter-spacing: .08em; opacity: .6; }
.footer__legal { font-size: 12px; line-height: 1.6; opacity: .45; max-width: 980px; }

/* ---------- Модальные окна ---------- */
.modal { padding: 0; border: 0; background: transparent; color: var(--char); max-width: min(1180px, calc(100vw - 24px)); width: 100%; max-height: calc(100svh - 24px); }
.modal::backdrop { background: rgba(20,24,22,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: mIn .5s var(--ease); }
@keyframes mIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.modal__box { position: relative; background: var(--lime); padding: clamp(20px, 3vw, 44px); max-height: calc(100svh - 24px); overflow: auto; overscroll-behavior: contain; }
.modal__x { position: absolute; top: 10px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; line-height: 1; display: grid; place-items: center; transition: background-color .3s; }
.modal__x:hover { background: rgba(37,43,40,.08); }
.um { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.um__plan { background: #fff; padding: clamp(10px, 2vw, 24px); }
.um__plan img { width: 100%; height: auto; max-height: 68svh; object-fit: contain; }
.um__kicker { font: 500 11px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; opacity: .6; }
.um__title { font: 500 clamp(36px, 3.6vw, 56px)/1 var(--f-head); margin: 12px 0 8px; }
.um__area { font: 200 clamp(34px, 3.4vw, 50px)/1 var(--f-body); letter-spacing: -.04em; }
.um__area small { font-size: .4em; letter-spacing: 0; opacity: .7; margin-left: 6px; }
.um__price { margin-top: 18px; padding: 16px 0; border-top: 1px solid rgba(37,43,40,.18); border-bottom: 1px solid rgba(37,43,40,.18); }
.um__price > b { display: block; font: 300 clamp(28px, 2.6vw, 38px)/1 var(--f-body); letter-spacing: -.03em; color: var(--teak); }
.um__price > b.is-none { font: 500 16px/1.3 var(--f-body); color: inherit; letter-spacing: 0; }
.um__price > span { display: block; font-size: 12px; opacity: .65; margin-top: 8px; }
.um__sched { margin-top: 12px; font-size: 13px; }
.um__sched li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.um__sched span { opacity: .7; }
.um__sched b { font-weight: 500; white-space: nowrap; }
.um__rooms { margin-top: 18px; font-size: 15px; line-height: 1.55; opacity: .85; }
.um__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.um__tags li { font-size: 12px; padding: 6px 11px; border-radius: 99px; background: var(--forest); color: var(--lime); }
.um__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.um__note { margin-top: 16px; font-size: 12px; opacity: .55; }
.modal__box--wide { padding-top: clamp(28px, 3vw, 44px); }
.vm__title { font: 500 clamp(32px, 3vw, 46px)/1 var(--f-head); padding-right: 50px; }
.vm__tabs { display: flex; gap: 8px; margin: 18px 0; flex-wrap: wrap; }
.vm__tabs button { padding: 9px 16px; border-radius: 99px; border: 1px solid rgba(37,43,40,.3); font-size: 13px; }
.vm__tabs button[aria-selected="true"] { background: var(--char); color: var(--lime); border-color: var(--char); }
.vm__plan { background: #fff; padding: clamp(10px, 2vw, 24px); }
.vm__plan img { width: 100%; height: auto; max-height: 66svh; object-fit: contain; }
.vm__plan figcaption { margin-top: 10px; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100svh; width: 100vw; height: 100svh; }
.lightbox[open] { display: grid; place-items: center; animation: mIn .45s var(--ease); }
.lightbox::backdrop { background: rgba(20,24,22,.92); }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100svh - 90px); width: auto; height: auto; object-fit: contain; }
.lightbox .modal__x { color: var(--lime); position: fixed; }
.lightbox .modal__x:hover { background: rgba(238,233,222,.12); }
.lightbox__cap { position: fixed; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 13px; color: var(--lime); opacity: .7; padding: 0 20px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 400; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--lime); color: var(--char); padding: 14px 20px; font-size: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.25); transition: opacity .4s var(--ease), transform .4s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.sticky-cta { display: none; }

/* ---------- Анимации: начальные состояния ---------- */
.js.motion [data-reveal] { opacity: 0; transform: translateY(28px); }
.js.motion [data-clip] { clip-path: inset(12% 0 12% 0); }
.js.motion [data-clip] img { transform: scale(1.12); }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .header__nav { display: none; }
  .header__burger { display: block; }
  .header__cta { margin-left: auto; }
  .header__burger { margin-left: 0; }
  .types { grid-template-columns: 1fr 1fr; }
  .types__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .vx { grid-template-columns: minmax(240px, 36%) 1fr; }
  .vx__body { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .header { gap: 14px; }
  .header__project { display: none; }
  .header__logo { width: 116px; }
  .header__cta { padding: 9px 14px; font-size: 13px; }

  .header__cta { display: none; }
  .header__burger { margin-left: auto !important; }
  .lift { top: 14px; bottom: auto; left: auto; right: 64px; transform: none; width: auto; flex-direction: row; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 99px; background: rgba(37,43,40,.78); color: var(--lime) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 61; }
  .lift__lbl { font-size: 9px; }
  .lift__num { font-size: 20px; font-weight: 300; }
  .lift__track { display: none; }
  .lift__zone { font-size: 9px; max-width: none; text-align: left; }

  .hero {
    --img-h: 104svh; --img-top: 16svh; --tower-x: 64%;
    --word-top: calc(var(--header-h) + 5svh); --word-size: 27vw; --gap: 0px;
  }
  .hero__word { flex-direction: column; align-items: flex-start; gap: 0; padding: 0 var(--pad); line-height: .8; }
  .hero__aside { display: none; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__facts { flex-wrap: wrap; gap: 14px 18px; }
  .hero__facts li { padding-left: 10px; }
  .hero__note { top: auto; bottom: 8px; right: var(--pad); color: var(--lime); }
  .hero__fade { background: linear-gradient(to top, rgba(29,34,32,.94) 0%, rgba(29,34,32,.7) 30%, rgba(29,34,32,0) 58%); }

  .concept__grid, .numbers__row, .facts, .residences__head, .vertical__head, .penthouses__grid, .sky__inner, .villas__head, .location__head, .dev__grid, .costs__grid, .why__grid, .contact__grid, .poolvilla__cols { grid-template-columns: 1fr; }
  .numbers__row { gap: 28px; }
  .costs__head { grid-template-columns: 1fr; }
  .froms { grid-template-columns: 1fr 1fr; gap: 16px; }
  .costs__head .quota { grid-column: 1; }
  .plan__table .is-dim { display: none; }
  .plan__table b { font-size: 24px; }
  .quota button { padding: 9px 12px; font-size: 12px; }
  .numbers__row li { gap: 12px; }
  .concept__pillars { grid-template-columns: 1fr; }
  .concept__pillars li, .concept__pillars li:nth-child(odd), .concept__pillars li:nth-child(even) { padding: 22px 0; border-right: 0; }
  .concept__quote { min-height: 300px; }
  .wellness__grid { grid-template-columns: 1fr 1fr; }
  .wellness__text { grid-column: 1 / -1; position: static; }
  .wellness__a { grid-column: 1 / -1; grid-row: auto; }
  .wellness__b { grid-column: 1 / 2; margin-top: 0; }
  .wellness__c { grid-column: 2 / 3; margin-top: 18%; }
  .rows__item { grid-template-columns: 1fr; gap: 10px; }
  .rows__n { order: -1; }
  .levels__media { grid-template-columns: 1fr; }
  .levels__media figure:last-child img { aspect-ratio: 16 / 10; }
  .types { grid-template-columns: 1fr; }
  .types__item, .types__item + .types__item { padding: 22px 0; border-left: 0; }
  .types h3 { margin-top: 10px; }
  .show__set figure { height: 52svh; }

  .vx { grid-template-columns: 1fr; }
  .vx__tower { position: relative; top: 0; display: none; }
  .vx__top { grid-template-columns: auto 1fr; }
  .vx__ctrl { grid-column: 1 / -1; flex-direction: row; }
  .vx__range { display: block; }
  .vx__unit { grid-template-columns: 50px 1fr auto 14px; }
  .villa, .villa--rev { grid-template-columns: 1fr; }
  .villa--rev .villa__text { order: 0; }
  .villa__text { position: static; }
  .sky__crown img { width: 70%; }
  .map { aspect-ratio: 4 / 5; }
  .terms li, .contact__list li { grid-template-columns: 1fr; gap: 4px; }
  .why__list { grid-template-columns: 1fr; }
  .track li { grid-template-columns: 76px 1fr; }
  .track__y { font-size: 30px; }
  .um { grid-template-columns: 1fr; }
  .pin span { font-size: 10px; padding: 4px 7px; }
  .pin i { width: 9px; height: 9px; }

  .sticky-cta { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr auto; gap: 8px; transform: translateY(140%); transition: transform .5s var(--ease); }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta a { display: grid; place-items: center; min-height: 52px; border-radius: 99px; font-weight: 500; font-size: 15px; }
  .sticky-cta__main { background: var(--teak); color: var(--lime); }
  .sticky-cta__wa { background: var(--lime); color: var(--char); padding: 0 20px; }
  .footer { padding-bottom: 96px; }
}

@media (max-width: 520px) {
  .hero { --word-size: 28.5vw; --img-h: 94svh; --img-top: 13svh; --tower-x: 72%; }
  .hero__lead { font-size: 28px; }
  .numbers__row .num { font-size: 30vw; }
  .rows__t { font-size: 18vw; }
  .vx__top { gap: 14px; }
  .odo--big { font-size: 96px; }
  .ph-list button { grid-template-columns: 64px 1fr auto; }
  .ph-list button b { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
