:root { 	--accent: #710d31;
	--accent-hover: #85052e;
	--accent-soft: rgba(113, 13, 49, .08);
	--ok: #2f6b4f;

	--bg: #ffffff;
	--surface: #ffffff;
	--soft: #f6f5f7;
	--ink: #232023;
	--muted: #6d6870;
	--line: #e6e2e8;
	--sky: #f2f6fb;

	--f-body: 'Manrope', system-ui, sans-serif;
	--f-head: 'Manrope', system-ui, sans-serif;
	--f-label: 'Manrope', system-ui, sans-serif;
	--h-weight: 700;
	--h-case: none;
	--h-track: 0;
	--h-size: clamp(30px, 4vw, 56px);
	--h-line: 1.05;
	--label-case: uppercase;
	--label-track: .2em;

	--radius: 16px;
	--btn-radius: 999px;
	--pad: clamp(16px, 4vw, 56px);
	--max: 1360px;
	--top-h: 80px; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-body); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--accent); color: #fff; }
.skip:focus { top: 12px; }
.page-head, .catalog, .unit, .where, .more, .unit-missing { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.eyebrow, .mono { 	margin: 0 0 16px;
	font: 500 12px/1.4 var(--f-label); letter-spacing: var(--label-track); text-transform: var(--label-case);
	color: var(--muted); }
.h2-wrap { margin: 0 0 32px; }
.h2 { margin: 0; font: var(--h-weight) var(--h-size)/var(--h-line) var(--f-head); letter-spacing: var(--h-track); text-transform: var(--h-case); text-wrap: balance; }
.note { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
.btn { 	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 0 28px;
	border: 1.5px solid transparent; border-radius: var(--btn-radius);
	font: 600 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
	cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--line { border-color: var(--accent-ink); color: var(--accent-ink); background: transparent; }
.btn--line:hover { background: var(--accent); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); }
.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { background: #f4e9ee; }
.top { position: fixed; inset: 0 0 auto; z-index: 20; color: var(--ink); transition: background-color .3s, color .3s, box-shadow .3s; }
.top:not(.is-solid) { color: #fff; }
.top.is-solid { background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; max-width: var(--max); height: var(--top-h); margin: 0 auto; padding: 0 var(--pad); }
.logo { flex: 0 0 auto; display: block; width: 180px; }
.logo img { width: 100%; transition: filter .3s; }
.top:not(.is-solid) .logo img { filter: brightness(0) invert(1); }
.nav { display: flex; gap: clamp(14px, 1.6vw, 26px); margin-left: auto; }
.nav a { font: 500 13px/1 var(--f-body); text-decoration: none; white-space: nowrap; opacity: .9; }
.nav a:hover, .nav a[aria-current] { opacity: 1; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.top__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.top__phone::before { content: ''; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.top__cta { min-height: 42px; padding: 0 18px; font-size: 12px; }
.burger { display: none; }
.spec { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 32px; border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec div:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.spec div:nth-child(even) { padding-left: 20px; }
.spec dt { font: 400 12px var(--f-label); text-transform: uppercase; color: var(--muted); }
.spec dd { margin: 0; font: 500 15px var(--f-label); color: var(--accent-ink); }
@keyframes wobble {
	50% { transform: rotate(6deg) translateY(-6px); }
}
@keyframes hint {
	0% { transform: scaleY(0); }
	50% { transform: scaleY(1); }
	100% { transform: scaleY(0); transform-origin: bottom; }
}
.facts__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; }
.facade { position: relative; margin-bottom: 24px; }
.facade__frame { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(30, 40, 70, .12); }
.facade__svg { display: block; width: 100%; height: auto; }
.facade__svg .floor { fill: transparent; transition: fill .15s; }
.facade__svg [role="button"].floor { cursor: pointer; }
.facade__svg .floor.is-free:hover, .facade__svg .floor.is-free:focus-visible { fill: rgba(113, 13, 49, .42); outline: none; }
.facade__svg .floor.is-active { fill: rgba(113, 13, 49, .64); }
.facade__svg .floor.is-none[role] { cursor: not-allowed; }
.facade__svg .qlabel { font: 600 21px var(--f-body); fill: #fff; letter-spacing: .04em; paint-order: stroke; stroke: rgba(113, 13, 49, .92); stroke-width: 10px; stroke-linejoin: round; pointer-events: none; }
.facade__tip { position: absolute; left: 18px; top: 18px; z-index: 1; padding: 12px 18px; background: var(--surface); color: var(--ink); border-radius: max(4px, calc(var(--radius) / 2)); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); font-size: 14px; }
.facade__tip b { display: block; font-size: 16px; color: var(--accent-ink); }
.facade__swipe { display: none; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.page-head { padding-top: calc(var(--top-h) + 32px); padding-bottom: 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 20px; font: 400 13px var(--f-label); color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs > * + *::before { content: '/'; margin-right: 10px; opacity: .5; }
.crumbs [aria-current] { color: var(--ink); }
.page-head .h2-wrap { margin-bottom: 14px; }
.page-head__sub { margin: 0; color: var(--muted); }
.page-head__sub b { color: var(--accent-ink); }
.catalog { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-areas: "facade filters" "bar bar" "list list" "empty empty" "more more" "note note"; column-gap: 24px; align-items: start; padding-block: 24px clamp(40px, 6vw, 96px); }
.catalog > .facade { grid-area: facade; margin: 0; }
.catalog > .filters { grid-area: filters; align-self: stretch; align-content: start; }
.catalog > .results__bar { grid-area: bar; }
.catalog > .results, .catalog > .chess, .catalog > .table-wrap { grid-area: list; }
.catalog > .results__empty { grid-area: empty; }
.catalog > .results__more { grid-area: more; }
.catalog > .note { grid-area: note; }
.filters { display: grid; gap: 16px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.chips legend { display: block; margin: 0 0 8px; padding: 0; font: 500 11.5px var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 7px 14px; font: 500 13px var(--f-body); white-space: nowrap; color: var(--ink); border: 1px solid var(--line); border-radius: var(--btn-radius); cursor: pointer; transition: color .15s, border-color .15s, background-color .15s; }
.chips span:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.filters__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.filters__reset { grid-column: 1 / -1; min-height: 46px; }
.field { display: grid; gap: 6px; font: 500 11.5px var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { width: 100%; min-height: 46px; padding: 0 14px; font: 400 15px var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: min(var(--radius), 12px); }
.results__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 28px 0 16px; scroll-margin-top: calc(var(--top-h) + 16px); }
.results__count { margin: 0; font-size: 14px; color: var(--muted); }
.views { display: inline-flex; padding: 4px; background: var(--soft); border-radius: var(--btn-radius); }
.views button { padding: 8px 16px; font: 600 12px var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: none; border: 0; border-radius: var(--btn-radius); cursor: pointer; }
.views button[aria-checked="true"] { color: #fff; background: var(--accent); }
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin: 0; padding: 0; list-style: none; }
.card { display: grid; grid-template-rows: auto 1fr; height: 100%; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .25s, box-shadow .25s; }
.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(30, 30, 50, .1); }
.card__plan { aspect-ratio: 4 / 3; padding: 16px; background: #fff; border-bottom: 1px solid var(--line); }
.card__plan img { width: 100%; height: 100%; object-fit: contain; }
.card__body { display: grid; gap: 4px; padding: 16px 20px 20px; }
.card__top { display: flex; justify-content: space-between; gap: 8px; font: 500 11px var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: 15px; font-weight: 600; }
.card__area { font: var(--h-weight) 30px/1.1 var(--f-head); color: var(--accent-ink); }
.card__area small { font: 400 13px var(--f-body); color: var(--muted); }
.card__price { margin-top: 4px; font-size: 14px; }
.card__price--ask { color: var(--muted); }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font: 500 11px var(--f-body); letter-spacing: .02em; text-transform: none; background: var(--accent-soft); color: var(--accent-ink); }
.tag--done { color: var(--ok); background: rgba(47, 107, 79, .1); }
.results__empty { padding: 40px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.results__more { display: flex; margin: 28px auto 0; }
.chess { display: grid; gap: 24px; }
.chess__queue { overflow-x: auto; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.chess__title { margin: 0 0 12px; font: 700 13px var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.chess__row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.chess__row.is-closed { opacity: .45; }
.chess__floor { flex: 0 0 28px; font: 600 12px var(--f-label); text-align: right; color: var(--muted); }
.chess__cells { display: flex; gap: 6px; }
.cell { display: grid; place-items: center; flex: 0 0 auto; width: 58px; height: 48px; font: 400 13px/1.05 var(--f-label); text-decoration: none; border-radius: min(var(--radius), 10px); }
.cell b { font-weight: 700; }
.cell small { font-size: 10.5px; opacity: .8; }
.cell.is-free { color: var(--accent-ink); background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(113, 13, 49, .25); transition: background-color .15s, color .15s; }
.cell.is-free:hover, .cell.is-current { color: #fff; background: var(--accent); }
.cell.is-dim { opacity: .3; }
.cell.is-off { color: #a9a5ad; background: repeating-linear-gradient(135deg, #f2f1f4 0 6px, #eae8ed 6px 12px); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { padding: 14px 18px; font: 600 11.5px var(--f-label); letter-spacing: .12em; text-transform: uppercase; text-align: left; color: var(--muted); border-bottom: 1px solid var(--line); }
.table td { padding: 12px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--accent-soft); }
.table td a { font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.table .num { font-variant-numeric: tabular-nums; }
.unit { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding-block: 8px clamp(32px, 4vw, 56px); }
.unit__plan { position: relative; margin: 0; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.unit__zoom { display: block; width: 100%; padding: 0; background: none; border: 0; cursor: zoom-in; }
.unit__zoom img { width: 100%; max-height: 72vh; object-fit: contain; }
.unit__info { align-self: start; position: sticky; top: calc(var(--top-h) + 20px); padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.unit__info .h2 { font-size: clamp(28px, 3vw, 44px); }
.unit__info .h2-wrap { margin-bottom: 14px; }
.unit__badge { margin: 0 0 20px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0 0 24px; font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; font-weight: 600; }
.unit__price { padding: 18px 0; border-block: 1px solid var(--line); margin-bottom: 24px; }
.unit__price strong { display: block; font: var(--h-weight) 34px/1.15 var(--f-head); color: var(--accent-ink); }
.unit__price span { font-size: 13px; color: var(--muted); }
.unit__actions { display: grid; gap: 10px; }
.unit__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 20px; font-size: 13px; }
.unit__nav a { color: var(--accent-ink); text-decoration: none; }
.unit__share { padding: 0; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; }
.where { padding-block: clamp(24px, 4vw, 56px); }
.where__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.where__floor { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.chess--row .chess__cells { flex-wrap: wrap; }
.facade--mini { margin: 0; }
.more { padding-block: clamp(24px, 4vw, 56px); }
.unit-missing { padding-block: calc(var(--top-h) + 40px) 40px; text-align: center; }
.unit-bar { display: none; }
.contacts { 	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px;
	width: min(calc(100% - 2 * var(--pad)), calc(var(--max) - 2 * var(--pad)));
	margin: clamp(24px, 4vw, 64px) auto 0; padding: clamp(28px, 4vw, 56px);
	color: #fff; background: var(--accent); border-radius: var(--radius); }
.contacts .eyebrow { color: rgba(255, 255, 255, .7); }
.contacts p { margin: 4px 0; }
.contacts__phone { font: var(--h-weight) clamp(28px, 3vw, 42px)/1.2 var(--f-head); text-decoration: none; }
.contacts__addr { margin-top: 16px !important; opacity: .85; }
.contacts__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.contacts .btn--accent { background: #fff; color: var(--accent); }
.contacts .btn--line { border-color: #fff; color: #fff; }
.contacts .btn--line:hover { background: #fff; color: var(--accent); }
.foot { max-width: var(--max); margin: 0 auto; padding: 32px var(--pad) 104px; font-size: 13px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 16px; }
.foot__nav a { text-decoration: none; color: var(--accent-ink); }
.foot p { margin: 0 0 4px; }
.foot__muted { color: var(--muted); }
dialog { width: min(1080px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; color: var(--ink); background: var(--bg); border: 0; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(20, 20, 40, .3); }
dialog::backdrop { background: rgba(30, 15, 22, .5); backdrop-filter: blur(4px); }
.dlg-close { position: absolute; top: 14px; right: 14px; z-index: 2; margin: 0; }
.close { width: 44px; height: 44px; font-size: 26px; line-height: 1; color: var(--accent-ink); background: var(--surface); border: 1.5px solid var(--accent-ink); border-radius: 50%; cursor: pointer; }
.lead { width: min(480px, calc(100vw - 32px)); }
.lead__form { display: grid; gap: 16px; padding: 44px 32px 32px; }
.lead__form .h2-wrap { margin: 0; padding-right: 48px; }
.lead__form .h2 { font-size: clamp(24px, 2.6vw, 34px); }
.lead__subject { margin: -6px 0 0; color: var(--muted); font-size: 14px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.lead__error { margin: 0; min-height: 1.2em; color: #c0392b; font-size: 13px; }
.lead__done { display: grid; justify-items: center; gap: 12px; padding: 52px 32px 36px; text-align: center; }
.lead__done .h2-wrap { margin: 0; }
.lead__done .h2 { font-size: clamp(26px, 2.8vw, 36px); }
.lead__done p { margin: 0; color: var(--muted); }
.lead__done-mark { display: grid; place-items: center; width: 64px; height: 64px; font-size: 30px; color: #fff !important; background: var(--accent); border-radius: 50%; }
.zoom { display: grid; place-items: center; padding: 56px 24px 24px; background: #fff; }
.zoom:not([open]) { display: none; }
.zoom img { max-height: calc(100dvh - 120px); width: auto; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.card, .btn { transition: none; }
}
@media (max-width: 1500px) {
	.top__cta { display: none; }
}
@media (max-width: 1180px) {
	.nav { display: none; }
	.nav.is-open { display: grid; position: fixed; inset: var(--top-h) 0 auto; gap: 0; padding: 8px var(--pad) 24px; color: var(--ink); background: var(--bg); box-shadow: 0 20px 40px rgba(0, 0, 0, .12); }
	.nav.is-open a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
	.top__phone { margin-left: auto; }
	.burger { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #fff; background: var(--accent); border: 0; border-radius: var(--btn-radius); cursor: pointer; }
	.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: currentColor; content: ''; transition: transform .2s; }
	.burger span::before { transform: translateY(-6px); }
	.burger span::after { transform: translateY(4.5px); }
	.burger[aria-expanded="true"] span { background: transparent; }
	.burger[aria-expanded="true"] span::before { transform: translateY(0) rotate(45deg); }
	.burger[aria-expanded="true"] span::after { transform: translateY(-1.5px) rotate(-45deg); }
	.facts__list { grid-template-columns: repeat(3, 1fr); }
	.catalog { grid-template-columns: minmax(0, 1fr); grid-template-areas: "facade" "filters" "bar" "list" "empty" "more" "note"; }
	.catalog > .facade { margin-bottom: 20px; }
	.filters__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.unit { grid-template-columns: 1fr; }
	.unit__info { position: static; }
	.where__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	:root { --top-h: 64px; }
	.logo { width: 132px; }
	.top__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.top__phone::before { width: 44px; height: 44px; background-size: 20px; }
	.spec { grid-template-columns: 1fr; }
	.spec div:nth-child(odd), .spec div:nth-child(even) { padding-inline: 0; border-right: 0; }
	.facts__list { grid-template-columns: 1fr 1fr; gap: 10px; }
	.facade:not(.facade--mini) { margin-inline: calc(var(--pad) * -1); }
	.facade:not(.facade--mini) .facade__frame { border-radius: 0; border: 0; padding: 0; overflow-x: auto; overscroll-behavior-x: contain; box-shadow: none; }
	.facade:not(.facade--mini) .facade__svg { width: 980px; max-width: none; }
	.facade__tip { position: static; display: block; margin: 0 var(--pad); border-radius: 0 0 12px 12px; box-shadow: 0 6px 16px rgba(0, 0, 0, .06); }
	.facade__swipe { display: block; padding-inline: var(--pad); }
	.filters { padding: 16px; }
	.filters__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
	.views { width: 100%; }
	.views button { flex: 1; padding-inline: 6px; }
	.results { grid-template-columns: 1fr; }
	.card { grid-template-columns: 120px 1fr; grid-template-rows: none; }
	.card__plan { aspect-ratio: auto; padding: 8px; border-bottom: 0; border-right: 1px solid var(--line); }
	.card__area { font-size: 26px; }
	.chess__queue { padding: 14px; margin-inline: calc(var(--pad) * -1); border-radius: 0; border-inline: 0; }
	.cell { width: 52px; height: 44px; }
	.unit__plan { padding: 16px; }
	.unit__info { padding: 22px; }
	.where__floor { padding: 18px; }
	.unit-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--pad) max(10px, env(safe-area-inset-bottom)); font-weight: 600; background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line); }
	.unit-bar[hidden] { display: none; }
	.unit-bar .btn { min-height: 44px; padding: 0 18px; flex: 0 0 auto; }
	.contacts__cta, .contacts__cta .btn { width: 100%; }
	.lead__form { padding: 44px 20px 24px; }
}


/*
 * «Центральный» — вариант по пожеланиям клиентки, редакция 3.
 * Язык: архитектурный и редакционный, как у лучших девелоперов (Sminex, Level, Aman Residences):
 * тонкие линии вместо карточек, острые углы, крупная лёгкая типографика, нумерация разделов, подписи под фото.
 * Цвета бренда: бордовый #710d31, белый, небесно-голубой.
 * Слой поверх base.css (общие компоненты подбора и карточки помещения).
 */

/* ===================== Токены ===================== */

:root {
	--accent: #710d31;
	--accent-hover: #8c1440;
	--accent-soft: rgba(113, 13, 49, .07);
	--wine-deep: #22060f;
	--wine-ink: #f1c9d5;
	--ok: #2f6b4f;

	--bg: #faf8f4;
	--surface: #ffffff;
	--soft: #f1ece5;
	--sky: #e3edf6;
	--sky-ink: #3f6585;
	--ink: #161214;
	--muted: #6c6468;
	--line: rgba(22, 18, 20, .14);
	--line-strong: rgba(22, 18, 20, .32);

	--f-body: 'Manrope', system-ui, sans-serif;
	--f-head: 'Manrope', system-ui, sans-serif;
	--f-label: 'Manrope', system-ui, sans-serif;
	--f-accent: 'Cormorant Garamond', Georgia, serif;
	--h-weight: 300;
	--h-size: clamp(32px, 4.4vw, 74px);
	--h-line: 1.02;
	--h-track: -.015em;
	--label-track: .22em;

	--radius: 2px;
	--btn-radius: 2px;
	--pad: clamp(16px, 4.4vw, 72px);
	--max: 1480px;
	--top-h: 84px;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--ease-io: cubic-bezier(.76, 0, .24, 1);
}

body { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
::selection { background: var(--accent); color: #fff; }

/* ===================== Типографика ===================== */

.h2 { margin: 0; font: 300 var(--h-size)/var(--h-line) var(--f-head); letter-spacing: var(--h-track); text-transform: uppercase; text-wrap: balance; }
.h2 em, .hero__title em, .day__title em, .contacts .h2 em {
	font-family: var(--f-accent); font-style: italic; font-weight: 300; text-transform: none;
	letter-spacing: -.01em; font-size: 1.16em; line-height: .9; color: var(--accent-ink);
}
.ln { padding-bottom: .04em; } /* строки SplitText: не обрезать нижние выносные */
.kicker { display: block; margin: 0 0 18px; font: 600 11px/1.4 var(--f-label); letter-spacing: var(--label-track); text-transform: uppercase; color: var(--accent-ink); }
.kicker--light { color: rgba(255, 255, 255, .78); }
.eyebrow { font-weight: 600; color: var(--accent-ink); }
.link { padding: 0; font: inherit; font-weight: 700; color: var(--accent-ink); background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* Заголовок раздела: номер слева, подпись и заголовок справа */
.sec-head { position: relative; display: grid; grid-template-columns: minmax(64px, 1fr) minmax(0, 11fr); column-gap: 24px; margin-bottom: clamp(36px, 5vw, 72px); padding-top: 22px; border-top: 1px solid var(--line-strong); }
.sec-head > * { grid-column: 2; }
.sec-head .h2 { max-width: 15em; }
.sec-head__n { grid-column: 1 !important; grid-row: 1 / span 3; margin: 0; font: 200 clamp(14px, 1.1vw, 16px)/1.4 var(--f-label); letter-spacing: .12em; color: var(--muted); }
.sec-head__n::after { content: ' /'; opacity: .5; }
.sec-head--tight { grid-template-columns: 1fr; margin-bottom: 32px; }
.sec-head--tight > *, .sec-head--tight .sec-head__n { grid-column: 1 !important; grid-row: auto; }
.sec-head--tight .sec-head__n { margin-bottom: 10px; }
.sec-head--light { border-color: rgba(255, 255, 255, .3); }
.sec-head--light .sec-head__n { color: rgba(255, 255, 255, .55); }
.sec-head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 40px; }
.sec-head--row > div:first-child { display: grid; grid-template-columns: minmax(64px, auto) minmax(0, 1fr); column-gap: 24px; }
.sec-head--row > div:first-child > * { grid-column: 2; }
.sec-head--row .sec-head__n { grid-column: 1 !important; }

.pick, .q3, .real, .now, .about, .place, .buy, .progress { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); padding-block: clamp(64px, 9vw, 150px) 0; }

/* ===================== Кнопки и ссылки ===================== */

.btn { min-height: 58px; padding: 0 32px; font: 600 12px/1 var(--f-body); letter-spacing: .16em; border-radius: var(--btn-radius); transition: background-color .3s, color .3s, border-color .3s; }
.btn--accent:hover { background: var(--wine-deep); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); background: transparent; }
.btn--light { color: var(--accent); background: #fff; }
.btn--light:hover { color: #fff; background: var(--accent); }

.link-arrow { display: inline-flex; align-items: center; gap: 14px; padding: 0; font: 600 12px var(--f-body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink); background: none; border: 0; cursor: pointer; }
.link-arrow i { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.link-arrow i::before { content: '→'; font-style: normal; font-size: 16px; }
.link-arrow:hover i { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateX(4px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover i { color: var(--accent); background: #fff; border-color: #fff; }

/* Кнопка фильма */
.play { display: inline-flex; align-items: center; gap: 16px; padding: 0; color: #fff; background: none; border: 0; cursor: pointer; text-align: left; }
.play__ring { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; transition: background-color .3s, color .3s; }
.play__ring::after { content: ''; position: absolute; inset: -1px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; animation: ring 2.4s var(--ease) infinite; }
.play__ring svg { width: 18px; height: 18px; fill: currentColor; margin-left: 3px; }
.play:hover .play__ring { color: var(--accent); background: #fff; }
.play__txt { font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .8); }
.play__txt b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Круглый штамп с бегущей надписью */
.stamp { position: relative; display: grid; place-items: center; width: 104px; height: 104px; color: var(--ink); }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.stamp text { font: 600 9.6px var(--f-label); letter-spacing: .2em; text-transform: uppercase; fill: currentColor; }
.stamp i { display: grid; place-items: center; width: 42px; height: 42px; font: 300 22px var(--f-head); font-style: normal; border: 1px solid currentColor; border-radius: 50%; }
.stamp--accent { color: var(--accent-ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===================== Шапка ===================== */

.top { padding-top: env(safe-area-inset-top, 0px); }
.top.is-solid { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.nav a { font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.nav a:hover, .nav a[aria-current] { text-decoration-thickness: 1px; text-underline-offset: 10px; }
.top__cta { min-height: 44px; }

/* ===================== Первый экран ===================== */

.hero { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 100svh; color: #fff; background: var(--wine-deep); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.4s; }
.hero__video.is-playing { opacity: 1; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
	linear-gradient(180deg, rgba(18, 5, 10, .55) 0%, rgba(18, 5, 10, 0) 26%, rgba(18, 5, 10, .05) 55%, rgba(18, 5, 10, .78) 100%),
	linear-gradient(90deg, rgba(18, 5, 10, .45) 0%, rgba(18, 5, 10, 0) 58%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; width: 100%; max-width: var(--max); margin: 0 auto; padding: calc(var(--top-h) + 40px) var(--pad) clamp(32px, 4vw, 56px); }
.hero__text { min-width: 0; }
.hero__title { max-width: 13em; margin: 0 0 36px; font: 300 clamp(40px, 6.4vw, 112px)/.98 var(--f-head); letter-spacing: -.025em; text-transform: uppercase; text-wrap: balance; }
.hero__title em { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }

.launch { position: relative; display: grid; gap: 6px; width: min(330px, 100%); padding: 28px 28px 24px; text-decoration: none; color: var(--ink); background: var(--bg); transition: transform .5s var(--ease); }
.launch .stamp { position: absolute; top: -52px; right: -26px; width: 104px; height: 104px; color: #fff; background: var(--accent); border-radius: 50%; }
.launch .stamp i { border-color: rgba(255, 255, 255, .6); }
.launch__q { font: 600 11px var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); }
.launch__price { margin: 6px 0 4px; font: 200 clamp(44px, 3.8vw, 58px)/1 var(--f-head); letter-spacing: -.04em; }
.launch__price small { font: 500 14px var(--f-body); letter-spacing: 0; color: var(--muted); }
.launch__go { margin-top: 12px; padding-top: 16px; font: 600 11.5px var(--f-label); letter-spacing: .16em; text-transform: uppercase; border-top: 1px solid var(--line); }
.launch__go i { display: inline-block; font-style: normal; transition: transform .4s var(--ease); }
.launch:hover .launch__go i { transform: translateX(8px); }

.hero__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.hero__facts > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 20px 20px 28px 0; border-top: 1px solid rgba(255, 255, 255, .3); }
.hero__facts > div + div { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hero__facts dd { margin: 0; font: 200 clamp(24px, 2.4vw, 38px)/1 var(--f-head); letter-spacing: -.02em; }
.hero__facts dt { font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.hero__scroll { display: none; }

/* ===================== Бегущая строка ===================== */

.ticker { overflow: hidden; color: var(--ink); background: var(--bg); border-bottom: 1px solid var(--line); }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 36px; padding: 22px 0 22px 36px; font: italic 300 clamp(22px, 2.2vw, 32px)/1 var(--f-accent); white-space: nowrap; }
.ticker span::after { content: ''; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ===================== 01 · Подбор ===================== */

.qstat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 32px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.qstat a { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 12px; height: 100%; padding: 22px 24px 24px 0; text-decoration: none; transition: color .3s; }
.qstat__item + .qstat__item a { padding-left: 24px; border-left: 1px solid var(--line); }
.qstat a::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.qstat__item + .qstat__item a::before { left: 24px; }
.qstat a:hover::before { transform: scaleX(1); }
.qstat__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.qstat__head b { font: 600 12px var(--f-label); letter-spacing: .18em; text-transform: uppercase; }
.qstat__status { font-size: 13px; color: var(--muted); }
.is-done .qstat__status { color: var(--ok); }
.is-new .qstat__status { color: var(--accent-ink); font-weight: 700; }
.qstat__n { font: 200 clamp(56px, 6vw, 96px)/.85 var(--f-head); letter-spacing: -.05em; }
.is-new .qstat__n { color: var(--accent-ink); }
.qstat__meta { grid-column: 1; font-size: 13.5px; color: var(--muted); }
.qstat__go { grid-column: 2; grid-row: 2 / span 2; align-self: end; font: 600 11px var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); }
.qstat a:hover .qstat__go { opacity: 1; transform: none; }

.facade__frame { border-radius: 0; box-shadow: none; background: var(--sky); }
.facade__canvas { position: relative; margin-top: -11%; }
.facade__svg .floor.is-free { fill: rgba(255, 255, 255, 0); }
.facade__svg .floor.is-free:hover, .facade__svg .floor.is-free:focus-visible { fill: rgba(113, 13, 49, .55); }
.facade__svg .floor.is-active { fill: rgba(113, 13, 49, .72); }
.facade__svg .floor.is-q.is-free { fill: rgba(113, 13, 49, .26); }
.facade__pins { position: absolute; inset: 0; pointer-events: none; }
.pin { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; transform: translate(-50%, calc(-100% - 16px)); font: 600 11px var(--f-label); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; text-decoration: none; color: var(--ink); background: var(--bg); pointer-events: auto; transition: color .3s, background-color .3s; }
.pin::after { content: ''; position: absolute; left: 50%; bottom: -16px; width: 1px; height: 16px; background: var(--bg); }
.pin:hover { color: #fff; background: var(--accent); }
.pin small { font: inherit; color: var(--accent-ink); }
.pin:hover small { color: var(--wine-ink); }
.pin--new { color: #fff; background: var(--accent); }
.pin--new::after { background: var(--accent); }
.pin--new small { color: var(--wine-ink); }
.facade__tip { display: grid; gap: 3px; left: 22px; top: 22px; padding: 14px 18px; border-radius: 0; box-shadow: 0 20px 40px rgba(20, 10, 15, .16); pointer-events: none; }
.facade__tip b { font: 600 11px var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.facade__tip.is-follow { left: 0; top: 0; transition: transform .08s linear; }
.facade__tip-from { font-size: 12.5px; color: var(--muted); }

/* Индекс по типам: строки как в оглавлении */
.kinds { display: block; margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.kind { position: relative; display: grid; grid-template-columns: 56px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) 48px; align-items: center; gap: 16px; padding: 22px 0; text-decoration: none; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: color .4s; }
.kind::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-io); }
.kind:hover { color: #fff; }
.kind:hover::before { transform: scaleY(1); }
.kind__i { padding-left: 4px; font: 300 13px var(--f-label); letter-spacing: .1em; color: var(--muted); transition: color .4s; }
.kind__title { font: 300 clamp(24px, 2.6vw, 40px)/1 var(--f-head); letter-spacing: -.02em; text-transform: uppercase; }
.kind__count { font: 200 clamp(30px, 3vw, 46px)/1 var(--f-head); letter-spacing: -.04em; }
.kind__count::after { content: ' в продаже'; font: 400 13px var(--f-body); letter-spacing: 0; color: var(--muted); transition: color .4s; }
.kind__meta, .kind__price { font-size: 14.5px; color: var(--muted); transition: color .4s; }
.kind__price { font-weight: 700; color: var(--ink); }
.kind:hover .kind__i, .kind:hover .kind__meta, .kind:hover .kind__count::after { color: rgba(255, 255, 255, .7); }
.kind:hover .kind__price { color: #fff; }
.kind__go { justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; transition: transform .5s var(--ease); }
.kind__go::before { content: '→'; font-size: 16px; }
.kind:hover .kind__go { transform: rotate(-45deg); }

/* ===================== 02 · 3 очередь ===================== */

.q3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.q3__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 32px; color: var(--accent-ink); }
.q3__price b { font: 200 clamp(72px, 9vw, 148px)/.85 var(--f-head); letter-spacing: -.06em; }
.q3__price small { font: 500 16px var(--f-body); color: var(--muted); }
.q3__list { margin: 0 0 40px; border-top: 1px solid var(--line); }
.q3__list > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.q3__list dt { font: 600 11px/1.9 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.q3__list dd { margin: 0; font-size: 16px; }
.q3__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.q3__media { position: relative; margin: 0; overflow: hidden; }
.q3__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }

/* Подписи под фото — как в журнале */
figcaption { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
figcaption b { display: block; margin-bottom: 2px; font: 600 11px var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }

/* ===================== 03 · Дом уже стоит ===================== */

.real { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: center; }
.real__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.real__media img, .real__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.real__media video { opacity: 0; transition: opacity 1s; }
.real__media video.is-playing { opacity: 1; }
.real__text { position: relative; max-width: 560px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.real__text .sec-head__n { margin-bottom: 10px; }
.real__text .h2 { margin-bottom: 26px; }
.real__lead { margin: 0 0 36px; font-size: 17px; color: var(--muted); }
.real__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.real .stamp { position: absolute; right: 0; top: -52px; background: var(--bg); border-radius: 50%; color: var(--ok); }

/* ===================== 04 · Один день ===================== */

.day { position: relative; margin-top: clamp(64px, 9vw, 150px); }
.day__stage { position: relative; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; background: var(--wine-deep); }
.day__scene { position: absolute; inset: 0; overflow: hidden; }
.day__media { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.day__media img, .day__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.day__media video { opacity: 0; transition: opacity 1s; }
.day__media video.is-playing { opacity: 1; }
.day__media::after { content: ''; position: absolute; inset: 0; background:
	linear-gradient(0deg, rgba(18, 4, 9, .85) 0%, rgba(18, 4, 9, .2) 45%, rgba(18, 4, 9, 0) 65%),
	linear-gradient(180deg, rgba(18, 4, 9, .5) 0%, rgba(18, 4, 9, 0) 28%); }
.day__text { position: absolute; left: 0; right: 0; bottom: 0; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(48px, 9vh, 110px); }
.day__text > * { max-width: 760px; }
.day__time { display: none; }
.day__tag { margin: 0 0 18px; font: 600 11px var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--wine-ink); }
.day__tag::before { content: ''; display: inline-block; width: 28px; height: 1px; margin-right: 12px; vertical-align: middle; background: currentColor; }
.day__title { margin: 0 0 16px; font: 300 clamp(40px, 6vw, 100px)/.96 var(--f-head); letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; }
.day__title em { color: #f6d3dd; }
.day__text p:last-child { margin: 0; font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, .82); max-width: 50ch; }
.day__ui { position: absolute; inset: 0; z-index: 5; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 8px 24px; max-width: var(--max); margin: 0 auto; padding: calc(var(--top-h) + 28px) var(--pad) 0; pointer-events: none; }
.day__ui .kicker { grid-column: 1; margin: 0; }
.day__n { margin-right: 10px; opacity: .6; }
.day__clock { grid-column: 2; grid-row: 1 / span 2; justify-self: end; margin: 0; font: 200 clamp(64px, 10vw, 168px)/.85 var(--f-head); letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: #fff; }
.day__steps { grid-column: 1; display: flex; margin: 18px 0 0; padding: 0; list-style: none; }
.day__steps li { padding: 12px 18px 0 0; margin-right: 18px; font: 600 11px var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); border-top: 1px solid rgba(255, 255, 255, .3); transition: color .4s, border-color .4s; }
.day__steps li.is-on { color: #fff; border-top: 2px solid #fff; }
.day__steps li.is-done { color: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .7); }
.life__note { max-width: var(--max); margin: 14px auto 0; padding: 0 var(--pad); font-size: 12px; color: var(--muted); }

.no-scenes .day__stage { height: auto; min-height: 0; display: grid; gap: 2px; }
.no-scenes .day__scene { position: relative; min-height: 86svh; }
.no-scenes .day__ui { position: relative; inset: auto; padding-block: 56px 32px; background: var(--wine-deep); }
.no-scenes .day__clock, .no-scenes .day__steps { display: none; }
.no-scenes .day__time { display: block; margin: 0 0 6px; font: 200 48px/1 var(--f-head); letter-spacing: -.04em; }

/* ===================== 05 · Уже сейчас ===================== */

.now__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px) clamp(16px, 2vw, 32px); align-items: start; }
.now__item { margin: 0; }
.now__media { position: relative; overflow: hidden; background: var(--soft); }
.now__media img, .now__media video { width: 100%; height: 100%; object-fit: cover; }
.now__media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; }
.now__media video.is-playing { opacity: 1; }
.now__item--yard { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.now__item--yard .now__media { aspect-ratio: 16 / 11; }
.now__item--marble { grid-column: 9 / span 4; }
.now__item--marble .now__media { aspect-ratio: 3 / 4; }
.now__item--sea { grid-column: 8 / span 3; margin-top: 12%; }
.now__item--sea .now__media { aspect-ratio: 4 / 5; }
.now__item--num { grid-column: 11 / span 2; align-self: end; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.now__big { margin: 0 0 10px; font: 200 clamp(56px, 6vw, 96px)/.85 var(--f-head); letter-spacing: -.05em; color: var(--sky-ink); }
.now__item--num p:last-child { margin: 0; font-size: 13.5px; color: var(--muted); }
.now__item--num b { color: var(--ink); }

/* ===================== 06 · Для бизнеса ===================== */

.biz { margin-top: clamp(64px, 9vw, 150px); color: #fff; background: var(--wine-deep); }
.biz__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px) clamp(32px, 5vw, 96px); max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 150px) var(--pad); }
.biz .sec-head { grid-column: 1 / -1; margin-bottom: 0; }
.biz .h2 em { color: #f2a9be; }
.biz__lead { margin: 0; max-width: 46ch; font-size: 18px; color: rgba(255, 255, 255, .78); }
.biz__why { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; padding: 0; list-style: none; counter-reset: why; }
.biz__why li { padding: 18px 0 22px; font-size: 14.5px; color: rgba(255, 255, 255, .66); border-top: 1px solid rgba(255, 255, 255, .2); counter-increment: why; }
.biz__why li::before { content: '0' counter(why); display: block; margin-bottom: 14px; font: 300 12px var(--f-label); letter-spacing: .14em; color: #f2a9be; }
.biz__why b { display: block; margin-bottom: 6px; font: 400 19px var(--f-head); text-transform: uppercase; letter-spacing: .01em; color: #fff; }
.biz__uses { grid-column: 1 / -1; margin: 0; padding: 26px 0; font: italic 300 clamp(24px, 2.6vw, 38px)/1.3 var(--f-accent); color: rgba(255, 255, 255, .92); border-block: 1px solid rgba(255, 255, 255, .2); }
.biz__uses .kicker { margin-bottom: 10px; font-style: normal; }
.biz__offers { grid-column: 1 / -1; }
.biz__offers-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.biz__offers-head p { margin: 0; font-size: 16px; color: rgba(255, 255, 255, .78); }
.biz__offers-head b { font: 200 44px var(--f-head); letter-spacing: -.04em; color: #fff; }
.biz__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .3); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr) 44px; align-items: center; gap: 16px; padding: 18px 0; text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .16); transition: padding .5s var(--ease), background-color .4s; }
.offer:hover { padding-inline: 16px; background: rgba(255, 255, 255, .06); }
.offer__area { font: 200 clamp(28px, 2.6vw, 40px)/1 var(--f-head); letter-spacing: -.03em; }
.offer__where { font-size: 14px; color: rgba(255, 255, 255, .66); }
.offer__price { font-size: 15px; font-weight: 600; }
.offer__go { justify-self: end; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; }
.offer__go::before { content: '→'; }
.biz__cta { grid-column: 1 / -1; }

/* ===================== 07 · О комплексе ===================== */

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.about__text { max-width: 56ch; font-size: 16.5px; color: var(--muted); }
.about__text .h2 { color: var(--ink); }
.about__media { margin: 0; overflow: hidden; }
.about__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.nums { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: clamp(24px, 4vw, 64px) 0 0; border-top: 1px solid var(--line-strong); }
.nums > div { display: flex; flex-direction: column; gap: 8px; padding: 24px 20px 0 0; }
.nums > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.nums dd { margin: 0; font: 200 clamp(40px, 4.6vw, 76px)/1 var(--f-head); letter-spacing: -.05em; white-space: nowrap; }
.nums > div:last-child dd { color: var(--accent-ink); }
.nums dt { font-size: 13px; color: var(--muted); }

/* ===================== 08 · Расположение ===================== */

.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.place__media { position: sticky; top: calc(var(--top-h) + 24px); margin: 0; overflow: hidden; }
.place__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.walk { width: 100%; margin: 0 0 28px; border-collapse: collapse; border-top: 1px solid var(--line-strong); }
.walk th, .walk td { padding: 16px 0; text-align: left; border-bottom: 1px solid var(--line); }
.walk th { width: 110px; font: 200 26px/1 var(--f-head); letter-spacing: -.03em; color: var(--accent-ink); white-space: nowrap; }
.walk td { font-size: 15.5px; }
.walk td:last-child { text-align: right; font-size: 13px; color: var(--muted); white-space: nowrap; }
.drive { margin: 0; font-size: 15px; color: var(--muted); }
.drive .kicker { display: inline; margin-right: 12px; }

/* ===================== 09 · Покупка и вопросы ===================== */

.buy__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 clamp(40px, 5vw, 72px); padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.buy__list li { display: grid; align-content: start; gap: 10px; padding: 24px 24px 28px 0; }
.buy__list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.buy__n { margin-bottom: 28px; font: 200 48px/1 var(--f-head); letter-spacing: -.04em; color: var(--accent-ink); }
.buy__list h3 { margin: 0; font: 400 22px/1.15 var(--f-head); text-transform: uppercase; letter-spacing: .01em; }
.buy__list p { margin: 0; color: var(--muted); }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 24px 56px 24px 0; font: 300 clamp(19px, 1.7vw, 26px)/1.25 var(--f-head); text-transform: uppercase; letter-spacing: .005em; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; font: 200 26px var(--f-head); border: 1px solid var(--line-strong); border-radius: 50%; transition: transform .4s var(--ease), background-color .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); color: #fff; background: var(--accent); border-color: var(--accent); }
.faq details p { margin: 0; padding: 0 56px 26px 0; max-width: 70ch; color: var(--muted); }
.buy__note { margin: 24px 0 0; color: var(--muted); }

/* ===================== 10 · Ход строительства ===================== */

.tabs { display: inline-flex; flex-wrap: wrap; gap: 26px; }
.tabs button { position: relative; padding: 8px 0; font: 600 11.5px var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); background: none; border: 0; cursor: pointer; transition: color .3s; }
.tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.tabs button[aria-selected="true"] { color: var(--accent-ink); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.build__status { min-height: 1.6em; margin: -24px 0 28px; max-width: 70ch; color: var(--muted); }
.build { position: relative; }
.build__track { display: flex; gap: clamp(14px, 1.6vw, 24px); margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 8px; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.build__track::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; scroll-snap-align: start; }
.shot button { position: relative; display: block; width: auto; height: clamp(260px, 32vw, 480px); aspect-ratio: 3 / 2; padding: 0; overflow: hidden; background: var(--soft); border: 0; cursor: zoom-in; }
.shot--tall button { aspect-ratio: 2 / 3; }
.shot--video.shot--tall button { aspect-ratio: 9 / 16; }
.shot img, .shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.shot button:hover img, .shot button:hover video { transform: scale(1.04); }
.shot__play { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 10px; font: 600 10.5px var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.shot__play::before { content: ''; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 7l9 5-9 5z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.shot__cap { max-width: 34ch; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.shot__cap span { display: block; margin-bottom: 3px; font: 600 10.5px var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); }
.build__ctrl { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.build__bar { flex: 1; height: 1px; margin-right: 12px; background: var(--line); overflow: hidden; }
.build__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transition: transform .2s linear; }
.build__arrow, .viewer__arrow, .fp__arrow { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; color: var(--ink); background: transparent; border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.build__arrow:hover, .viewer__arrow:hover, .fp__arrow:hover:not(:disabled) { color: #fff; background: var(--accent); border-color: var(--accent); }
.build__arrow svg, .viewer__arrow svg, .fp__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.queues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.queue { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px 20px 20px 0; }
.queue + .queue { padding-left: 20px; border-left: 1px solid var(--line); }
.queue p { margin: 0; font-size: 13px; color: var(--muted); }
.queue__n { font: 200 40px/1 var(--f-head); letter-spacing: -.04em; color: var(--accent-ink); }
.queue .queue__status { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.queue__status--done { color: var(--ok) !important; }
.queue__status--new { color: var(--accent-ink) !important; }
.doc { padding: 7px 10px; font: 600 10.5px var(--f-label); letter-spacing: .12em; color: var(--accent-ink); border: 1px solid var(--accent-ink); }

.viewer { width: min(1280px, calc(100vw - 24px)); padding: 0; color: #fff; background: #0e0a0c; border-radius: 0; }
.viewer img { width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; }
.viewer video { display: block; width: 100%; max-height: calc(100dvh - 120px); background: #000; }
.viewer__cap { margin: 0; padding: 14px 20px 18px; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.viewer__arrow { position: absolute; top: calc(50% - 46px); color: #fff; border-color: rgba(255, 255, 255, .5); }
.viewer__arrow--prev { left: 14px; }
.viewer__arrow--next { right: 14px; }

/* Фильм о проекте */
.film { width: min(1280px, calc(100vw - 24px)); max-height: none; padding: 0; background: #000; border-radius: 0; }
.film video { display: block; width: 100%; max-height: calc(100dvh - 24px); background: #000; }
.film::backdrop { background: rgba(10, 4, 7, .88); }
.close { border-radius: 50%; }
.close--light { color: #fff; background: rgba(0, 0, 0, .4); border-color: rgba(255, 255, 255, .7); }

/* ===================== Контакты и подвал ===================== */

.contacts { width: auto; max-width: none; margin: clamp(80px, 10vw, 160px) 0 0; padding: clamp(56px, 8vw, 120px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); color: #fff; background: var(--accent); border-radius: 0; align-items: end; }
.contacts .eyebrow { display: block; color: rgba(255, 255, 255, .7); }
.contacts .h2 { margin: 0 0 18px; font-size: clamp(36px, 5vw, 84px); }
.contacts .h2 em { color: var(--wine-ink); }
.contacts__phone { font: 200 clamp(32px, 3.6vw, 56px)/1.1 var(--f-head); letter-spacing: -.03em; text-decoration: none; }
.contacts a { color: #fff; }
.contacts .btn--light { color: var(--accent); }
.contacts .btn--ghost { border-color: rgba(255, 255, 255, .6); }

.foot { max-width: var(--max); padding: 48px var(--pad) 112px; color: var(--muted); }
.foot__in { display: grid; grid-template-columns: 180px 1fr auto; align-items: start; gap: 24px 48px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.foot__logo { width: 160px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; }
.foot__nav a { font-weight: 500; color: var(--ink); text-decoration: none; }
.foot__nav a:hover { color: var(--accent-ink); }
.foot__contacts { display: grid; gap: 4px; text-align: right; }
.foot__contacts a { font: 300 20px var(--f-head); color: var(--accent-ink); text-decoration: none; }
.foot__legal { margin: 20px 0 0; max-width: 110ch; font-size: 12px; line-height: 1.6; }

.dock { display: none; }

/* ===================== Заставка ===================== */

.intro { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; color: #fff; background: var(--accent); }
.has-intro .intro { display: grid; }
.has-intro body { overflow: hidden; }
.intro__in { display: grid; justify-items: center; gap: 22px; padding: 24px; }
.intro__logo { width: min(340px, 70vw); filter: brightness(0) invert(1); }
.intro__line { width: min(260px, 50vw); height: 1px; background: rgba(255, 255, 255, .7); transform-origin: left; }
.intro__note { margin: 0; font: 600 11px var(--f-label); letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }

/* ===================== Избранное ===================== */

.top__fav { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: inherit; background: none; border: 1px solid currentColor; border-radius: 50%; cursor: pointer; opacity: .9; transition: opacity .2s, color .2s; }
.top__fav:hover { opacity: 1; color: var(--accent-ink); }
.top:not(.is-solid) .top__fav:hover { color: #fff; }
.top__fav svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.top__fav b { position: absolute; top: -5px; right: -5px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; font: 700 10.5px var(--f-body); color: #fff; background: var(--accent); border: 2px solid var(--bg); border-radius: 999px; }
.top__fav.is-bump b { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.fav { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--ink); background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: fill .2s; }
.fav:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.fav[aria-pressed="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.fav.is-pop { animation: pop .45s var(--ease); }
@keyframes pop { 35% { transform: scale(1.22); } }
.card-wrap { position: relative; }
.fav--card { position: absolute; top: 12px; right: 12px; z-index: 1; }

.favs { width: min(560px, calc(100vw - 24px)); border-radius: 0; }
.favs__in { display: grid; gap: 14px; padding: 36px 28px 28px; }
.favs__in .eyebrow { margin: 0; }
.favs__title { margin: 0 0 6px; font: 300 36px/1 var(--f-head); letter-spacing: -.02em; text-transform: uppercase; }
.favs__list { display: grid; max-height: min(52vh, 460px); margin: 0; padding: 0; overflow-y: auto; list-style: none; border-top: 1px solid var(--line); }
.favs__item { position: relative; border-bottom: 1px solid var(--line); }
.favs__link { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 14px; padding: 12px 52px 12px 0; text-decoration: none; }
.favs__link:hover .favs__txt b { color: var(--accent-ink); }
.favs__link img { width: 76px; height: 60px; object-fit: contain; background: #fff; }
.favs__txt { display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.favs__txt b { font: 600 15px var(--f-head); color: var(--ink); transition: color .2s; }
.favs__price { font-weight: 700; color: var(--accent-ink); }
.favs__rm { position: absolute; right: 0; top: 50%; width: 36px; height: 36px; padding: 0; font-size: 20px; line-height: 1; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 50%; transform: translateY(-50%); cursor: pointer; }
.favs__rm:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.favs__empty { display: grid; justify-items: start; gap: 14px; padding: 20px 0; color: var(--muted); }
.favs__empty p { margin: 0; }
.favs__heart { color: var(--accent-ink); font-weight: 800; }
.favs__send { width: 100%; }

/* ===================== План этажа ===================== */

.fp { width: min(1360px, calc(100vw - 24px)); height: min(880px, calc(100dvh - 24px)); max-height: none; padding: 0; overflow: hidden; background: var(--bg); border-radius: 0; }
.fp[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.fp__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px 84px 16px 28px; border-bottom: 1px solid var(--line); }
.fp__q { margin: 0 0 4px; font: 600 11px var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); }
.fp__h { margin: 0; font: 300 clamp(20px, 2vw, 30px)/1.1 var(--f-head); text-transform: uppercase; letter-spacing: -.01em; }
.fp__nav { display: flex; align-items: center; gap: 10px; }
.fp__arrow { width: 46px; height: 46px; }
.fp__arrow:disabled { opacity: .3; cursor: default; }
.fp__floor select { min-width: 150px; min-height: 46px; padding: 0 40px 0 18px; font: 300 20px var(--f-head); text-transform: uppercase; color: var(--ink); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23710d31' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; appearance: none; cursor: pointer; }
.fp__count { justify-self: end; display: flex; align-items: center; gap: 14px; margin: 0; font-size: 12.5px; line-height: 1.2; color: var(--muted); }
.fp__count span { max-width: 9em; text-align: right; }
.fp__count b { font: 200 52px/1 var(--f-head); letter-spacing: -.04em; color: var(--accent-ink); }
.fp__body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; min-height: 0; }
.fp__plan { position: relative; min-height: 0; padding: 20px; background: #fff; }
.fp__scroll { width: 100%; height: 100%; }
.fp__svg { display: block; width: 100%; height: 100%; }
.fp__svg.is-enter { animation: fpIn .5s var(--ease); }
@keyframes fpIn { from { opacity: 0; transform: scale(.98); } }
.room path { transition: fill .25s, stroke .25s; }
.room.is-free { cursor: pointer; }
.room.is-free path { fill: rgba(113, 13, 49, .08); stroke: rgba(113, 13, 49, .5); stroke-width: 3; }
.room.is-free:hover path, .room.is-free:focus-visible path, .room.is-free.is-hover path { fill: rgba(113, 13, 49, .38); stroke: var(--accent); stroke-width: 5; }
.room.is-current path, .room.is-selected path { fill: rgba(113, 13, 49, .52); stroke: var(--accent); stroke-width: 8; }
.room.is-free:focus-visible { outline: none; }
.room.is-off path { fill: rgba(244, 240, 242, .8); stroke: none; }
.room__mark circle { fill: var(--accent); stroke: #fff; stroke-width: 5; transition: transform .3s var(--ease); transform-box: fill-box; transform-origin: center; }
.room.is-free:hover .room__mark circle, .room.is-hover .room__mark circle, .room.is-selected .room__mark circle { transform: scale(1.12); }
.room__mark text { fill: #fff; font-family: var(--f-head); font-weight: 700; text-anchor: middle; pointer-events: none; }
.fp__tip { position: absolute; left: 0; top: 0; z-index: 2; display: grid; gap: 2px; padding: 12px 16px; font-size: 13px; color: var(--muted); background: var(--surface); box-shadow: 0 16px 40px rgba(30, 10, 20, .18); pointer-events: none; }
.fp__tip b { font: 600 16px var(--f-head); color: var(--ink); }
.fp__tip-price { font-weight: 700; color: var(--accent-ink); }
.fp__side { display: block; min-height: 0; padding: 20px 22px; border-left: 1px solid var(--line); }
.fp__listview { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 14px; height: 100%; }
.fp__legend { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: var(--muted); }
.fp__legend i { width: 14px; height: 14px; }
.fp__legend i:not(:first-child) { margin-left: 12px; }
.fp__legend .is-free { background: rgba(113, 13, 49, .25); box-shadow: inset 0 0 0 1px var(--accent); }
.fp__legend .is-off { background: #ece7ea; }
.fp__list { display: block; margin: 0; padding: 0; overflow-y: auto; list-style: none; border-top: 1px solid var(--line); overscroll-behavior: contain; }
.fp-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 2px 12px; padding: 14px 6px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background-color .2s, padding .4s var(--ease); }
.fp-item:hover, .fp-item.is-hover, .fp-item.is-current, .fp-item.is-selected { padding-left: 14px; background: var(--accent-soft); }
.fp-item__num { grid-row: span 2; align-self: center; font: 300 18px var(--f-head); color: var(--accent-ink); }
.fp-item__kind { font-size: 13.5px; font-weight: 600; }
.fp-item__area { grid-row: span 2; align-self: center; font: 200 24px var(--f-head); letter-spacing: -.03em; }
.fp-item__price { font-size: 12.5px; color: var(--muted); }
.fp__all { min-height: 46px; font-size: 11px; padding-inline: 16px; white-space: normal; text-align: center; }
.fp__detail { display: grid; align-content: start; gap: 14px; height: 100%; overflow-y: auto; overscroll-behavior: contain; animation: fpIn .4s var(--ease); }
.fp__back { justify-self: start; padding: 6px 0; font: 600 11px var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); background: none; border: 0; cursor: pointer; }
.fp__dplan { margin: 0; padding: 14px; background: #fff; border: 1px solid var(--line); }
.fp__dplan img { width: 100%; max-height: 220px; object-fit: contain; }
.fp__dhead { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; }
.fp__dkind { grid-column: 1; margin: 0; font: 600 10.5px var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fp__dtitle { grid-column: 1; margin: 0; font: 300 28px/1.1 var(--f-head); letter-spacing: -.02em; text-transform: uppercase; }
.fp__dtitle span { color: var(--accent-ink); }
.fav--detail { grid-column: 2; grid-row: 1 / span 2; }
.fp__dspecs { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; margin: 0; font-size: 13.5px; border-top: 1px solid var(--line); }
.fp__dspecs dt, .fp__dspecs dd { padding: 8px 0; border-bottom: 1px solid var(--line); }
.fp__dspecs dt { color: var(--muted); }
.fp__dspecs dd { margin: 0; text-align: right; font-weight: 600; }
.fp__dprice { display: grid; margin: 0; font: 200 32px/1.05 var(--f-head); letter-spacing: -.03em; color: var(--accent-ink); }
.fp__dprice small { font: 500 12.5px var(--f-body); letter-spacing: 0; color: var(--muted); }
.fp__dact { display: grid; gap: 8px; }
.fp__dact .btn { min-height: 50px; }

/* ===================== Подбор и карточка помещения ===================== */

.page-head .h2 { text-transform: uppercase; }
.facade__frame, .filters, .card, .card__plan, .chess__queue, .table-wrap, .unit__plan, .unit__info, .where__floor, .results__empty, .field input, .field select, .views, .views button, .chips span, .cell, dialog { border-radius: 0; }
.filters { background: transparent; border: 0; border-top: 1px solid var(--line-strong); padding: 20px 0 0; }
.chips span { border-color: var(--line-strong); }
.views { background: transparent; border-bottom: 1px solid var(--line); padding: 0; }
.views button { padding: 10px 14px; }
.card { border-color: var(--line); background: var(--surface); transition: border-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(20, 10, 15, .1); }
.card__title { font-weight: 500; }
.card__area { font: 200 34px/1.05 var(--f-head); letter-spacing: -.03em; color: var(--ink); }
.card__total { margin-top: 6px; font: 600 16px var(--f-body); color: var(--accent-ink); }
.card__price { margin-top: 0; font-size: 12.5px; color: var(--muted); }
.tag { border-radius: 0; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 10px; }
.unit__info .h2 { font-size: clamp(28px, 3vw, 46px); }
.unit__price strong { font: 200 42px/1.05 var(--f-head); letter-spacing: -.03em; }
.unit__ppm { display: block; margin: 4px 0; font-weight: 700; color: var(--ink) !important; }
.unit__onplan { position: absolute; right: 16px; bottom: 16px; padding: 12px 16px; font: 600 11px var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); background: var(--paper); border: 1px solid var(--accent); cursor: pointer; }
.unit__onplan:hover { color: #fff; background: var(--accent); }
.unit__fav { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.where__plan { margin-top: 16px; }
[data-page="unit"] .dock { display: none; }

/* ===================== Курсор-подсказка ===================== */

.cursor { position: fixed; left: 0; top: 0; z-index: 60; display: grid; place-items: center; width: 92px; height: 92px; margin: -46px 0 0 -46px; font: 600 10.5px var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: 50%; pointer-events: none; opacity: 0; scale: .3; transition: opacity .25s, scale .35s var(--ease); }
.cursor.is-on { opacity: 1; scale: 1; }

/* ===================== Переходы, плавная прокрутка ===================== */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .3s ease both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

.reveal-on .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.ticker__track, .stamp svg, .play__ring::after { animation: none; }
	.fav.is-pop, .top__fav.is-bump b, .fp__svg.is-enter, .fp__detail { animation: none; }
	::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ===================== Адаптив ===================== */

@media (max-width: 1180px) {
	.top__fav { margin-left: auto; }
	.top__phone { margin-left: 0; }
	.hero__in { grid-template-columns: 1fr; }
	.launch { justify-self: start; }
	.hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero__facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.kind { grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 44px; }
	.kind__meta { display: none; }
	.q3, .real, .about, .place, .biz__in { grid-template-columns: 1fr; }
	.place__media { position: static; }
	.place__media img { aspect-ratio: 16 / 10; }
	.real__media { aspect-ratio: 4 / 3; }
	.now__item--yard { grid-column: 1 / -1; grid-row: auto; }
	.now__item--marble { grid-column: 1 / span 5; }
	.now__item--sea { grid-column: 6 / span 4; }
	.now__item--num { grid-column: 10 / span 3; }
	.nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nums > div:nth-child(4) { padding-left: 0; border-left: 0; }
	.queues { grid-template-columns: 1fr; }
	.queue + .queue { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
	.fp__body { grid-template-columns: minmax(0, 1fr) 300px; }
	.foot__in { grid-template-columns: 1fr; }
	.foot__contacts { text-align: left; }
}

@media (max-width: 900px) {
	.fp { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; }
	.fp__head { grid-template-columns: 1fr auto; padding: max(14px, env(safe-area-inset-top)) 72px 12px 16px; gap: 10px; }
	.fp__nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
	.fp__count { grid-column: 2; grid-row: 1; }
	.fp__count span { display: none; }
	.fp__count b { font-size: 40px; }
	.fp__body { display: block; overflow-y: auto; overscroll-behavior: contain; }
	.fp__plan { padding: 8px; }
	.fp__scroll, .fp__svg { height: auto; }
	.fp__side { border-left: 0; border-top: 1px solid var(--line); padding: 16px 16px max(16px, env(safe-area-inset-bottom)); }
	.fp__listview { display: grid; grid-template-rows: none; height: auto; }
	.fp__list { overflow: visible; }
	.fp__detail { height: auto; overflow: visible; scroll-margin-top: 8px; }
	.fp__dplan img { max-height: 260px; }
	.biz__why { grid-template-columns: 1fr; }
	.buy__list { grid-template-columns: 1fr; }
	.buy__list li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
	.buy__n { margin-bottom: 10px; }
}

@media (max-width: 720px) {
	:root { --top-h: 64px; }
	.sec-head { grid-template-columns: 1fr; padding-top: 16px; }
	.sec-head > *, .sec-head .sec-head__n { grid-column: 1 !important; grid-row: auto; }
	.sec-head__n { margin-bottom: 8px; }
	.sec-head--row > div:first-child { grid-template-columns: 1fr; }
	.sec-head--row > div:first-child > * { grid-column: 1; }
	.h2 { font-size: clamp(30px, 8.6vw, 40px); }

	.hero__in { padding-top: calc(var(--top-h) + 24px); padding-bottom: 36px; gap: 56px; }
	.hero__title { font-size: clamp(36px, 10.4vw, 50px); margin-bottom: 26px; }
	.hero__actions { gap: 18px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.launch { width: calc(100% - 40px); padding: 22px 22px 20px; }
	.launch .stamp { top: -46px; right: -30px; width: 92px; height: 92px; }
	.launch__price { font-size: 44px; }
	.hero__facts > div { padding: 14px 12px 20px 0; }
	.hero__facts > div + div { padding-left: 12px; }
	.hero__facts > div:nth-child(3) { padding-left: 0; }
	.hero__facts dt { font-size: 11.5px; }
	.ticker span { padding-block: 16px; font-size: 22px; }

	.qstat { grid-template-columns: 1fr; }
	.qstat__item + .qstat__item a { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
	.qstat__item + .qstat__item a::before { left: 0; }
	.qstat a { padding-block: 18px; }
	.qstat__n { font-size: 56px; }
	.qstat__go { opacity: 1; transform: none; }
	.facade:not(.facade--mini) .facade__frame { background: var(--sky); }
	.facade:not(.facade--mini) .facade__canvas { width: 980px; margin-top: -150px; }
	.facade:not(.facade--mini) .facade__svg { width: 100%; }
	.pin { font-size: 10px; padding: 8px 11px; }
	.kind { grid-template-columns: 1fr auto 40px; gap: 4px 12px; padding: 18px 0; }
	.kind__i { display: none; }
	.kind__title { grid-column: 1; font-size: 24px; }
	.kind__count { grid-column: 2; grid-row: 1; font-size: 30px; }
	.kind__count::after { content: ''; }
	.kind__price { grid-column: 1 / span 2; font-size: 13.5px; }
	.kind__go { grid-column: 3; grid-row: 1 / span 2; width: 38px; height: 38px; }

	.q3__price b { font-size: 76px; }
	.q3__list > div { grid-template-columns: 1fr; gap: 4px; }
	.q3__actions .btn, .real__actions .btn { flex: 1 1 100%; }
	.real .stamp { top: -40px; width: 84px; height: 84px; }
	.real .stamp i { width: 34px; height: 34px; font-size: 18px; }

	.day__ui { grid-template-columns: 1fr auto; padding-top: calc(var(--top-h) + 16px); }
	.day__clock { font-size: 56px; }
	.day__steps { grid-column: 1 / -1; }
	.day__steps li { flex: 1; margin-right: 4px; padding: 0; height: 0; font-size: 0; }
	.day__text { padding-bottom: 40px; }
	.day__title { font-size: clamp(34px, 10vw, 48px); }

	.now__grid { grid-template-columns: 1fr 1fr; }
	.now__item--yard { grid-column: 1 / -1; }
	.now__item--yard .now__media { aspect-ratio: 4 / 3; }
	.now__item--marble { grid-column: 1; }
	.now__item--sea { grid-column: 2; margin-top: 30%; }
	.now__item--num { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 16px; }
	.now__big { margin: 0; }

	.biz__offers-head b { font-size: 36px; }
	.offer { grid-template-columns: 1fr auto; gap: 4px 12px; }
	.offer__where { grid-column: 1; }
	.offer__price { grid-column: 1; }
	.offer__go { grid-column: 2; grid-row: 1 / span 3; }
	.biz__cta .btn { width: 100%; white-space: normal; text-align: center; }

	.nums { grid-template-columns: 1fr 1fr; }
	.nums > div { padding: 20px 0 0; }
	.nums > div + div { padding-left: 0; border-left: 0; }
	.nums > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
	.walk th { width: 80px; font-size: 20px; }
	.walk td { font-size: 14px; }
	.faq summary { font-size: 18px; padding-right: 52px; }
	.faq details p { padding-right: 0; }

	.tabs { gap: 18px; }
	.shot button { height: 62vw; }
	.build__arrow { display: none; }
	.build__bar { margin-right: 0; }
	.queue { grid-template-columns: auto 1fr; }
	.queue .doc { grid-column: 2; justify-self: start; }
	.viewer__arrow { top: auto; bottom: 60px; width: 44px; height: 44px; }

	.contacts { padding-block: 56px; }
	.contacts__cta, .contacts__cta .btn { width: 100%; }
	.foot { padding-bottom: 120px; }
	.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 24; display: flex; gap: 10px; padding: 10px max(16px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
	.dock.is-on { transform: none; }
	.dock__main { flex: 1; min-height: 52px; }
	.dock__call { flex: 0 0 52px; height: 52px; border: 1px solid var(--line-strong); border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23710d31'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / 20px no-repeat; }
	.unit__onplan { position: static; margin-top: 12px; width: 100%; }

	.top__fav { width: 44px; height: 44px; color: #fff; background: var(--accent); border-color: var(--accent); }
	.top:not(.is-solid) .top__fav { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
	.top__fav b { border-color: var(--accent); background: #fff; color: var(--accent); }
	.favs { width: 100vw; max-width: 100vw; margin: auto 0 0; }
	.favs__in { padding: 32px 16px max(20px, env(safe-area-inset-bottom)); }
}
.burger { border-radius: 50%; }

/* ===================== Вау-эффекты ===================== */

/* Цифры-табло */
.roll { display: inline-block; height: 1em; overflow: hidden; line-height: 1; vertical-align: top; }
.roll__col { display: block; }
.roll__col span { display: block; height: 1em; line-height: 1; }
.roll__sep { display: inline-block; line-height: 1; vertical-align: top; white-space: pre; }
.q3__price b, .qstat__n, .nums dd { line-height: 1; }

/* ===================== Читаемость на телефоне ===================== */
.roll { font-variant-numeric: tabular-nums; }
.hero__title, .day__title, .day__text p, .hero__facts, .play__txt { text-shadow: 0 1px 24px rgba(20, 4, 10, .35); }
@media (max-width: 720px) {
	/* на вертикальном видео светлый фасад — плотнее затемняем верх и низ, текст не сливается с домом */
	.hero::before { background:
		linear-gradient(180deg, rgba(18, 5, 10, .62) 0%, rgba(18, 5, 10, .3) 30%, rgba(18, 5, 10, .45) 55%, rgba(18, 5, 10, .88) 100%); }
	.day__media::after { background:
		linear-gradient(0deg, rgba(18, 4, 9, .92) 0%, rgba(18, 4, 9, .6) 38%, rgba(18, 4, 9, .1) 62%, rgba(18, 4, 9, .45) 100%); }
}
@media (max-width: 720px) {
	.launch .stamp { top: -34px; right: -14px; width: 76px; height: 76px; }
	.launch .stamp text { font-size: 10.5px; }
	.launch .stamp i { width: 30px; height: 30px; font-size: 16px; }
	.hero__in { gap: 64px; }
}
@media (max-width: 720px) { .hero__in { padding-bottom: 52px; } }

/* ===================== Редакция 4: без нумерации и штампов, факты вместо слоганов ===================== */

.sec-head { grid-template-columns: 1fr; }
.sec-head > * { grid-column: 1; }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 20px 64px; }
.sec-head--split > div { min-width: 0; }
.sec-head__lead { margin: 0; max-width: 46ch; font-size: 16px; color: var(--muted); }
.sec-head--row > div:first-child { display: block; }

.hero__lead { max-width: 44ch; margin: -14px 0 32px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, .86); }
.play__txt { font-size: 12.5px; }

.link-arrow i { width: auto; height: auto; border: 0; border-radius: 0; font-style: normal; transition: transform .4s var(--ease); }
.link-arrow i::before { content: none; }
.link-arrow { gap: 10px; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.link-arrow:hover i { color: inherit; background: none; transform: translateX(6px); }
.link-arrow--light:hover i { color: #fff; background: none; }

.pick__asof { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }

.real__facts { margin: 0 0 32px; border-top: 1px solid var(--line); }
.real__facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.real__facts dt { color: var(--muted); }
.real__facts dd { margin: 0; font-weight: 600; text-align: right; }

/* Инфраструктура: что и где — как в паспорте объекта */
.amen { max-width: var(--max); margin-inline: auto; padding: clamp(64px, 9vw, 150px) var(--pad) 0; }
.amen__table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line-strong); }
.amen__table thead th { padding: 12px 0; font: 600 11px var(--f-label); letter-spacing: .16em; text-transform: uppercase; text-align: left; color: var(--muted); border-bottom: 1px solid var(--line); }
.amen__table thead th:last-child, .amen__table td { text-align: right; }
.amen__table tbody th { padding: 22px 0; font: 300 clamp(20px, 2vw, 30px)/1.2 var(--f-head); letter-spacing: -.015em; text-align: left; }
.amen__table td { padding: 22px 0 22px 24px; font-size: 15px; color: var(--muted); white-space: nowrap; }
.amen__table tbody tr { border-bottom: 1px solid var(--line); transition: background-color .3s; }
.amen__table tbody tr:hover { background: var(--accent-soft); }

.now__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.now__item--yard { grid-column: 1 / span 6; grid-row: auto; }
.now__item--yard .now__media { aspect-ratio: 4 / 5; }
.now__item--marble { grid-column: 7 / span 3; margin-top: 18%; }
.now__item--entrance { grid-column: 10 / span 3; }
.now__item--marble .now__media, .now__item--entrance .now__media { aspect-ratio: 9 / 16; }

.faq__title { margin: 0 0 16px; font: 600 11px var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* меньше лишнего увеличения кадров — видео остаётся чётким */
.day__media img, .day__media video { image-rendering: auto; }

@media (max-width: 900px) {
	.sec-head--split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.hero__lead { margin: -8px 0 24px; font-size: 15.5px; }
	.amen__table thead { display: none; }
	.amen__table tbody tr { display: grid; gap: 4px; padding: 16px 0; }
	.amen__table tbody th { padding: 0; font-size: 20px; }
	.amen__table td { padding: 0; text-align: left; white-space: normal; font-size: 13.5px; }
	.now__grid { grid-template-columns: 1fr 1fr; }
	.now__item--yard { grid-column: 1 / -1; }
	.now__item--yard .now__media { aspect-ratio: 4 / 3; }
	.now__item--marble { grid-column: 1; margin-top: 0; }
	.now__item--entrance { grid-column: 2; margin-top: 18%; }
}


/*
 * Редакция 5: светлая и тёмная тема, бордовая линия-проводник,
 * блок «апартамент на плане этажа» и финальное предложение в рамке.
 */

/* ===================== Токены ===================== */

:root {
	--accent-ink: #710d31;      /* бордовый для текста и тонких контуров */
	--paper: #ffffff;           /* подложка под чертежи планировок (сами чертежи — на белом) */
	--guide: #710d31;           /* линия-проводник на светлом */
	--guide-hi: #d0587f;        /* та же линия поверх тёмных кадров первого экрана */
	--guide-w: 1.6px;
	--lit: rgba(255, 214, 150, .42); /* «свет в окнах» этажа */
	--sold: rgba(244, 240, 242, .82);
	--fav-bg: rgba(255, 255, 255, .92);
	--cell-off-a: #f2f1f4;
	--cell-off-b: #eae8ed;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--accent-ink: #c8b08a; --accent-soft: rgba(200, 176, 138, .1); --accent-hover: #8c1440; --ok: #79c09c;
		--bg: #101113; --surface: #17181b; --soft: #1d1f22; --sky: #1a232c; --sky-ink: #a9c4dc;
		--ink: #eceae6; --muted: #a29f99; --line: rgba(236, 234, 230, .12); --line-strong: rgba(236, 234, 230, .28);
		--paper: #ece7e2; --guide: #c8283f; --guide-hi: #c8283f; --guide-w: 1.8px; --lit: rgba(255, 214, 150, .5);
		--sold: rgba(214, 206, 210, .8); --fav-bg: rgba(26, 17, 21, .9); --cell-off-a: #1f171b; --cell-off-b: #251c21;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--accent-ink: #c8b08a; --accent-soft: rgba(200, 176, 138, .1); --accent-hover: #8c1440; --ok: #79c09c;
	--bg: #101113; --surface: #17181b; --soft: #1d1f22; --sky: #1a232c; --sky-ink: #a9c4dc;
	--ink: #eceae6; --muted: #a29f99; --line: rgba(236, 234, 230, .12); --line-strong: rgba(236, 234, 230, .28);
	--paper: #ece7e2; --guide: #c8283f; --guide-hi: #c8283f; --guide-w: 1.8px; --lit: rgba(255, 214, 150, .5);
	--sold: rgba(214, 206, 210, .8); --fav-bg: rgba(26, 17, 21, .9); --cell-off-a: #1f171b; --cell-off-b: #251c21;
	color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

html, body { background: var(--bg); color: var(--ink); }
body { transition: background-color .4s, color .4s; }

/* Литералы цвета из прошлых редакций — через токены, чтобы обе темы читались */
.card__plan, .unit__plan, .zoom, .fp__plan, .fp__dplan, .favs__link img { background: var(--paper); }
.fp__plan { color: #161214; }
.room.is-off path { fill: var(--sold); }
.fp__legend .is-off { background: var(--sold); }
.fav { background: var(--fav-bg); }
.cell.is-off { color: var(--muted); background: repeating-linear-gradient(135deg, var(--cell-off-a) 0 6px, var(--cell-off-b) 6px 12px); }
.fp__tip { color: var(--muted); }

/* Тёмная тема: логотип в шапке и подвале — светлым, иконка звонка — читаемым тоном */
:root[data-theme="dark"] .top.is-solid .logo img, :root[data-theme="dark"] .foot__logo { filter: brightness(0) invert(.94); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .top.is-solid .logo img, :root:not([data-theme="light"]) .foot__logo { filter: brightness(0) invert(.94); }
}

/* ===================== Переключатель темы ===================== */

.top__theme { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: inherit; background: none; border: 1px solid currentColor; border-radius: 50%; cursor: pointer; transition: color .3s, background-color .3s; }
.top__theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .6s var(--ease); }
.top__theme-half { fill: currentColor; stroke: none; }
.top__theme[aria-pressed="true"] svg { transform: rotate(180deg); }
.top__theme:hover { color: var(--accent-ink); }
.top:not(.is-solid) .top__theme:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.top__theme:focus-visible, .top__fav:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ===================== Слово «ЦЕНТРАЛЬНЫЙ» на первом экране ===================== */

.mark { margin: 0 0 clamp(20px, 2.6vw, 34px); font: 200 clamp(28px, 9.2vw, 66px)/1 var(--f-head); letter-spacing: .2em; color: #fff; white-space: nowrap; text-shadow: 0 1px 24px rgba(20, 4, 10, .35); }
.mark__w { display: inline-block; padding-top: .3em; }
.mark__y { position: relative; display: inline-block; }
/* дуга «Й»: отдельный элемент, чтобы её мог «взять» проводник; без скриптов это обычная буква */
.mark__breve { position: absolute; left: calc(50% - .2em / 2); width: .235em; height: .1em; top: -.14em; transform: translateX(-50%); overflow: visible; transition: opacity .7s var(--ease); }
.mark__breve path { fill: none; stroke: currentColor; stroke-width: max(1.4px, .046em); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mark.is-guided .mark__breve { opacity: 0; }

/* ===================== Апартамент на плане этажа ===================== */

.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(28px, 5vw, 96px); margin-top: clamp(48px, 6vw, 96px); padding-top: 24px; border-top: 1px solid var(--line-strong); }
.spot__plan { order: 2; position: relative; margin: 0; cursor: pointer; }
.spot__svg { display: block; width: 100%; height: auto; max-height: 78svh; background: var(--paper); }
.spot__plan figcaption { margin-top: 12px; }
.spot__r { stroke-width: 3; transition: fill .8s var(--ease); }
.spot__r.is-free { fill: rgba(113, 13, 49, .05); stroke: rgba(113, 13, 49, .26); }
.spot__r.is-off { fill: var(--sold); stroke: none; }
.spot__r.is-me { fill: rgba(113, 13, 49, .2); stroke: #710d31; stroke-width: 7; }
.has-guide .spot__r.is-me { fill: rgba(113, 13, 49, 0); stroke: none; }
.has-guide .spot.is-lit .spot__r.is-me { fill: rgba(113, 13, 49, .2); }
.spot__mark { transition: opacity .6s var(--ease), transform .8s var(--ease); transform-box: fill-box; transform-origin: center; }
.has-guide .spot:not(.is-lit) .spot__mark { opacity: 0; transform: scale(.7); }
.spot__mark circle { fill: #710d31; stroke: #fff; stroke-width: 6; }
.spot__mark text { fill: #fff; font-family: var(--f-head); font-weight: 700; text-anchor: middle; }
.spot__info { min-width: 0; }
.spot__title { margin: 0 0 28px; font: 300 clamp(28px, 3vw, 48px)/1.04 var(--f-head); letter-spacing: -.015em; text-transform: uppercase; text-wrap: balance; }
.spot__specs { margin: 0 0 28px; border-top: 1px solid var(--line); }
.spot__specs > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spot__specs dt { font: 600 11px/1.9 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.spot__specs dd { margin: 0; font-size: 16px; }
.spot__price { display: grid; gap: 6px; margin: 0 0 32px; font: 200 clamp(36px, 3.6vw, 56px)/1 var(--f-head); letter-spacing: -.04em; color: var(--accent-ink); }
.spot__price small { font: 500 13.5px var(--f-body); letter-spacing: 0; color: var(--muted); }
.spot__act { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

/* Этаж на фасаде, который «обвела» линия: в окнах загорается свет */
.facade__svg .floor.is-lit, .facade__svg .floor.is-lit:hover { fill: var(--lit); transition: fill .7s var(--ease); }

/* ===================== Финал: предложение в рамке ===================== */

.contacts { display: block; width: auto; max-width: var(--max); margin: clamp(80px, 10vw, 160px) auto 0; padding: 0 var(--pad); color: var(--ink); background: none; border-radius: 0; }
.contacts a { color: inherit; }
.offer-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: end; gap: clamp(28px, 5vw, 96px); padding: clamp(28px, 5.4vw, 88px); background: var(--surface); border: 1px solid var(--accent-ink); transition: border-color .5s; }
.has-guide .offer-card { border-color: var(--line); }
.has-guide .offer-card.is-framed { border-color: transparent; }
.offer-card__body { min-width: 0; }
.contacts .h2 { margin: 0 0 22px; font-size: clamp(34px, 5vw, 84px); }
.contacts .h2 em { color: var(--accent-ink); }
.offer-card__lead { max-width: 48ch; margin: 0 0 30px; font-size: clamp(16px, 1.2vw, 18px); color: var(--muted); }
.offer-card__facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; padding: 18px 0 0; list-style: none; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.offer-card__facts b { color: var(--ink); font-weight: 700; }
.offer-card__picked { margin: 20px 0 0; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.offer-card__side { display: grid; gap: 14px; min-width: 0; }
.contacts__phone { font: 200 clamp(30px, 3.2vw, 52px)/1.1 var(--f-head); letter-spacing: -.03em; color: var(--accent-ink) !important; white-space: nowrap; }
.contacts__addr { margin: 0 0 12px !important; font-size: 14.5px; line-height: 1.6; color: var(--muted); opacity: 1; }
.contacts__addr a { color: var(--ink); }
.contacts__cta { display: grid; gap: 10px; }
.contacts__cta .btn { width: 100%; }
.contacts .btn--accent { color: #fff; background: var(--accent); }
.contacts .btn--accent:hover { background: var(--wine-deep); }
.contacts .btn--line { color: var(--accent-ink); background: transparent; border-color: var(--accent-ink); }
.contacts .btn--line:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

/* ===================== Линия-проводник ===================== */

.guide { position: absolute; left: 0; top: 0; z-index: 15; width: 100%; height: 1px; overflow: visible; pointer-events: none; }
.guide__svg { position: absolute; left: 0; top: 0; width: 100%; height: 1px; overflow: visible; }
.guide { --guide-w: 2px; }
:root[data-theme="dark"] .guide { --guide-w: 2.1px; }
.guide__g { --gc: var(--guide); }
.guide__g--ondark { --gc: var(--guide-hi); }
.guide__seg { fill: none; stroke: var(--gc); stroke-linecap: butt; stroke-linejoin: round; }
.guide__seg:first-child { stroke-linecap: round; }
.guide__head, .guide__dot { fill: var(--gc); }
/* «Й» в заголовке 3 очереди: та же дуга, что в слове на первом экране */
.h2 .mark__y .mark__breve { left: calc(50% + .04em); top: .02em; }
.nowrap { white-space: nowrap; }
.h2 .mark__breve path { stroke-width: max(1.6px, .06em); }
[data-yo].is-guided .mark__breve { opacity: 0; }
/* сцена «Один день» закрывает проводник — линия уходит за неё и появляется ниже */
.day__stage { z-index: 16; }
.day__steps li.is-on { border-top-color: var(--guide-hi); }

/* Элементы, частью которых становится линия */
.q3__price b, .walk th { transition: color .5s; }
.walk tbody tr.is-traced th { color: var(--accent-ink); }
.amen__table tbody tr.is-traced th { color: var(--accent-ink); transition: color .5s; }
@media print { .guide { display: none; } }

/* ===================== Адаптив ===================== */

@media (max-width: 1180px) {
	.top__theme { margin-left: auto; }
	.top__fav { margin-left: 0; }
}
@media (max-width: 900px) {
	.spot { grid-template-columns: 1fr; }
	.spot__plan { order: 0; }
	.offer-card { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 720px) {
	.top__in { gap: 10px; }
	.top__theme { width: 44px; height: 44px; }
	.top:not(.is-solid) .top__theme { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
	.top.is-solid .top__theme { border-color: var(--line-strong); }
	.spot__specs > div { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
	.spot__specs dd { font-size: 15px; }
	.spot__act .btn { width: 100%; }
	.contacts { padding: 0 var(--pad); }
	.offer-card { padding: 28px 22px 24px; }
	.offer-card__facts { flex-direction: column; gap: 8px; }
	.contacts__phone { font-size: 32px; }
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .dock__call { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e48aa5'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
}
:root[data-theme="dark"] .dock__call { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e48aa5'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }

/* Чертежи на белом фоне сливаются с подложкой в обеих темах */
.unit__plan img, .card__plan img, .fp__dplan img, .favs__link img, .spot__svg image, .fp__svg image { mix-blend-mode: multiply; }

/* ===================== Подземный паркинг ===================== */

.parking { max-width: var(--max); margin-inline: auto; padding: clamp(64px, 9vw, 150px) var(--pad) 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: end; }
.parking__media { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #0e1416; }
.parking__media img, .parking__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.parking__media video { opacity: 0; transition: opacity 1s; }
.parking__media video.is-playing { opacity: 1; }
.parking__text { min-width: 0; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.parking__text .h2 { margin-bottom: 26px; }
.parking__lead { max-width: 44ch; margin: 0 0 30px; font-size: 17px; color: var(--muted); }
/* «220» в разметке машино-места: три линии, как на полу паркинга */
.parking__num { position: relative; display: grid; width: fit-content; justify-items: start; gap: 6px; margin: clamp(40px, 5vw, 72px) 0 0; padding: clamp(22px, 2.4vw, 34px) clamp(30px, 3.4vw, 52px) clamp(26px, 3vw, 40px); border: 1px solid var(--accent-ink); border-bottom: 0; }
.has-guide .parking__num { border-color: var(--line); }
.has-guide .parking__num.is-traced { border-color: transparent; }
.parking__num b { font: 200 clamp(84px, 10vw, 168px)/.82 var(--f-head); letter-spacing: -.06em; color: var(--accent-ink); }
.parking__num span { font: 600 11px var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
	.parking { grid-template-columns: 1fr; }
	.parking__media { aspect-ratio: 4 / 4.4; }
}
.amen__table th a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 5px; }

/* ===================== «Один день» на телефоне: кадр целиком, как в кино ===================== */
@media (max-width: 720px) and (orientation: portrait) {
	.day__media { inset: auto 0 auto 0; top: calc(var(--top-h) + env(safe-area-inset-top, 0px) + 92px); height: min(92vw, 46svh); }
	.day__media::after { background: linear-gradient(180deg, rgba(34, 6, 15, 0) 62%, var(--wine-deep) 100%) !important; }
	.day__text { padding-bottom: 96px; }
	.day__title { font-size: clamp(30px, 9vw, 42px); }
}

/* ===================== Баннер «Старт продаж» (картинка с прежнего сайта, как есть) ===================== */
.promo { width: min(1024px, calc(100vw - 24px)); max-height: none; padding: 0; overflow: visible; background: transparent; box-shadow: 0 40px 90px rgba(10, 2, 6, .45); }
.promo::backdrop { background: rgba(20, 8, 14, .62); backdrop-filter: blur(3px); }
.promo[open] { animation: promo-in .6s var(--ease) both; }
@keyframes promo-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.promo__img { display: block; width: 100%; padding: 0; background: none; border: 0; cursor: pointer; }
.promo__img img { display: block; width: 100%; height: auto; }
.promo__x { position: absolute; top: 10px; right: 10px; z-index: 2; margin: 0; }
.promo__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; font: 300 28px/1 var(--f-head); color: #222; background: #ccc; border: 0; border-radius: 8px; cursor: pointer; transition: background-color .3s; }
.promo__close:hover { background: #e2e2e2; }
.promo__close:focus-visible, .promo__img:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .promo[open] { animation: none; } }

/* ===================== Уведомление о cookie ===================== */
.cookie { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 25; display: flex; align-items: center; gap: 18px; width: max-content; max-width: calc(100vw - 32px); padding: 10px 10px 10px 24px; font-size: 14.5px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 18px 40px rgba(20, 8, 14, .16); transform: translateX(-50%); }
.cookie p { margin: 0; }
.cookie a { color: inherit; text-underline-offset: 3px; }
.cookie__ok { min-height: 40px; padding: 0 20px; font: 600 11.5px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--accent); border: 0; border-radius: 999px; cursor: pointer; transition: background-color .3s; }
.cookie__ok:hover { background: var(--wine-deep); }
@media (max-width: 1180px) { .cookie { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* ===================== Подвал: большое слово «ЦЕНТРАЛЬНЫЙ» с бордовой дугой ===================== */
.foot__mark { margin: clamp(32px, 5vw, 72px) 0 0; font: 200 min(13.3vw, 206px)/.9 var(--f-head); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; overflow: hidden; padding-top: .12em; text-transform: uppercase; }
.foot__mark .mark__breve { left: calc(50% + .03em); top: .02em; }
.foot__mark .mark__breve path { stroke: var(--accent-ink); stroke-width: max(1.4px, .045em); }
.foot__legal { margin-top: 26px; }

/* ===================== Читаемость: описания крупнее и контрастнее ===================== */
:root { --muted: #5d5559; }
.sec-head__lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; }
.real__lead, .parking__lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; }
.about__text { font-size: clamp(16.5px, 1.25vw, 18.5px); }
.hero__facts dt { font-size: 13px; color: rgba(255, 255, 255, .78); }
.qstat__meta { font-size: 14.5px; }
@media (max-width: 720px) { .hero__facts dt { font-size: 12px; } }

/* «Как выглядит дом сейчас» — три кадра одной высоты, ровные верх и низ */
.now__grid { align-items: start; }
.now__item--marble, .now__item--entrance { margin-top: 0 !important; }
.now__item--yard .now__media { aspect-ratio: 16 / 15.2; }
@media (max-width: 1180px) and (min-width: 721px) { .now__item--yard .now__media { aspect-ratio: 16 / 11; } }
@media (max-width: 720px) { .now__item--yard .now__media { aspect-ratio: 4 / 3; } }

/* «Один день» на ПК: подписи сверху читаются на любом кадре */
.day__ui::before { content: ''; position: absolute; top: 0; left: 50%; width: 100vw; transform: translateX(-50%); height: min(42svh, 360px); z-index: -1; background: linear-gradient(180deg, rgba(18, 4, 9, .66) 0%, rgba(18, 4, 9, .3) 55%, rgba(18, 4, 9, 0) 100%); pointer-events: none; }
.day__steps li { color: rgba(255, 255, 255, .62); }

/* ===================== Окно «очередь → этаж → апартамент», редакция 6 =====================
 * Те же функции и те же планы, новый вид: лента этажей очереди, крупный номер этажа,
 * план на «листе», аккуратный список и карточка апартамента. */
.fp { width: min(1440px, calc(100vw - 32px)); height: min(920px, calc(100dvh - 32px)); background: var(--bg); box-shadow: 0 50px 120px rgba(10, 2, 6, .38); }
.fp[open] { animation: fp-open .5s var(--ease) both; }
@keyframes fp-open { from { opacity: 0; transform: translateY(16px); } }
.fp::backdrop { background: rgba(18, 6, 12, .62); backdrop-filter: blur(6px); }
.fp .dlg-close { top: 18px; right: 18px; }
.fp__head { grid-template-columns: minmax(0, 1fr) auto auto; gap: 20px 32px; padding: 22px 92px 20px 32px; }
.fp__q { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.fp__q::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.fp__h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; font: 200 clamp(34px, 3.6vw, 58px)/.95 var(--f-head); letter-spacing: -.035em; }
.fp__h small { font: 500 14px var(--f-body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.fp__nav { gap: 8px; }
.fp__floor select { min-width: 160px; font-size: 18px; border: 1px solid var(--line-strong); }
.fp__count { display: grid; justify-items: end; gap: 6px; text-align: right; }
.fp__count b { font-size: clamp(44px, 4vw, 64px); line-height: .85; }
.fp__count span { max-width: 12em; font-size: 12.5px; }

.fp__body { grid-template-columns: 96px minmax(0, 1fr) minmax(320px, 380px); }

/* лента этажей: очередь «по высоте», текущий этаж — бордовый, полоска — сколько свободно */
.fp__rail { display: flex; flex-direction: column-reverse; justify-content: center; gap: 2px; min-height: 0; padding: 18px 12px; overflow-y: auto; border-right: 1px solid var(--line); scrollbar-width: none; }
.fp__rail::-webkit-scrollbar { display: none; }
.fp__rf { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 8px; min-height: 40px; padding: 6px 10px; font: inherit; color: var(--ink); text-align: left; background: none; border: 0; border-radius: 2px; cursor: pointer; transition: background-color .25s, color .25s; }
.fp__rf b { font: 300 19px/1 var(--f-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fp__rf-n { justify-self: end; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.fp__rf-bar { grid-column: 1 / -1; display: block; height: 2px; margin-top: 6px; background: var(--line); }
.fp__rf-bar::after { content: ''; display: block; width: calc(var(--k, 0) * 100%); height: 100%; background: var(--accent-ink); opacity: .55; transition: opacity .25s; }
.fp__rf:hover { background: var(--accent-soft); }
.fp__rf.is-empty { color: var(--muted); }
.fp__rf.is-on { color: #fff; background: var(--accent); }
.fp__rf.is-on .fp__rf-n { color: rgba(255, 255, 255, .78); }
.fp__rf.is-on .fp__rf-bar { background: rgba(255, 255, 255, .25); }
.fp__rf.is-on .fp__rf-bar::after { background: #fff; opacity: 1; }
.fp__rf:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

/* план — на «листе»: светлая подложка, лёгкая рамка, легенда снизу */
.fp__plan { display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 22px 28px 16px; background: var(--paper); }
.fp__scroll { min-height: 0; }
.fp__legend { justify-content: flex-start; padding-top: 12px; color: #6c6468; border-top: 1px solid rgba(22, 18, 20, .1); }
.fp__hint { margin-left: auto; font-size: 12px; color: #8a8286; }
.room.is-free path { fill: rgba(113, 13, 49, .06); stroke: rgba(113, 13, 49, .42); stroke-width: 3; }
.room.is-free:hover path, .room.is-free:focus-visible path, .room.is-free.is-hover path { fill: rgba(113, 13, 49, .3); stroke: #710d31; stroke-width: 6; }
.room.is-current path, .room.is-selected path { fill: rgba(113, 13, 49, .46); stroke: #710d31; stroke-width: 9; }
.room__mark circle { fill: #710d31; }

/* список: крупный номер, тип и цена, площадь справа */
.fp__side { padding: 22px 24px; }
.fp__listview { grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; }
.fp__listhead { margin: 0; font: 600 11px var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.fp-item { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 2px 14px; padding: 14px 10px 14px 8px; position: relative; }
.fp-item::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--accent-ink); transform: scaleY(0); transition: transform .35s var(--ease); }
.fp-item:hover, .fp-item.is-hover, .fp-item.is-current, .fp-item.is-selected { padding-left: 16px; }
.fp-item:hover::before, .fp-item.is-hover::before, .fp-item.is-current::before, .fp-item.is-selected::before { transform: none; }
.fp-item__num { font: 200 26px/1 var(--f-head); letter-spacing: -.03em; white-space: nowrap; }
.fp-item__kind { font-size: 14px; }
.fp-item__area { font: 300 22px var(--f-head); }
.fp-item__price { font-size: 13px; }

/* карточка апартамента */
.fp__dplan { padding: 18px; border: 0; background: var(--paper); }
.fp__dplan img { max-height: 240px; }
.fp__dtitle { font: 200 34px/1.05 var(--f-head); }
.fp__dspecs { font-size: 14px; }
.fp__dprice { font-size: 36px; }

@media (max-width: 1180px) {
	.fp__body { grid-template-columns: 84px minmax(0, 1fr) 300px; }
	.fp__count span { display: none; }
}
@media (max-width: 900px) {
	.fp { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; box-shadow: none; }
	.fp .dlg-close { top: max(12px, env(safe-area-inset-top)); right: 12px; }
	.fp__head { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: max(14px, env(safe-area-inset-top)) 68px 12px 16px; }
	.fp__h { font-size: 34px; }
	.fp__h small { flex-basis: 100%; font-size: 13px; }
	.fp__nav { display: none; } /* на телефоне этажи листаются лентой ниже — те же функции, удобнее пальцем */
	.fp__count { grid-column: 2; grid-row: 1; }
	.fp__count b { font-size: 40px; }
	.fp__body { display: block; }
	.fp__rail { position: sticky; top: 0; z-index: 3; flex-direction: row; justify-content: flex-start; gap: 6px; padding: 10px 16px; overflow-x: auto; overflow-y: hidden; background: var(--bg); border-right: 0; border-bottom: 1px solid var(--line); }
	.fp__rf { flex: 0 0 auto; min-width: 58px; min-height: 48px; border: 1px solid var(--line); }
	.fp__rf.is-on { border-color: var(--accent); }
	.fp__plan { padding: 10px 10px 12px; }
	.fp__hint { display: none; }
	.fp__side { padding: 16px 16px max(16px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .fp[open] { animation: none; } }
.fp__rail { gap: 4px; padding: 18px 10px; }
.fp__rf { min-height: 46px; padding: 6px 10px 6px 12px; }
.fp__rf b { font-size: 22px; }
.fp__floor select { min-width: 140px; font-size: 16px; }

/* ===================== Шапка на ПК: всё помещается, кнопка записи видна всегда ===================== */
@media (min-width: 1181px) {
	.top__in { gap: 14px; }
	.nav { gap: clamp(14px, 1.3vw, 24px); margin-left: auto; margin-right: 6px; }
	.top__cta { flex: 0 0 auto; display: inline-flex !important; align-items: center; padding: 0 20px; letter-spacing: .12em; white-space: nowrap; }
	.top__cta-short { display: none; }
	.top__phone { flex: 0 0 auto; }
}
/* на ПК номер телефона — иконкой с подсказкой: полностью номер есть в финальном блоке и в подвале */
@media (min-width: 1181px) {
	.top__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.top__phone::before { width: 44px; height: 44px; background-size: 18px; }
}
/* узкие ноутбуки: короткая подпись кнопки и логотип чуть меньше */
@media (min-width: 1181px) and (max-width: 1440px) {
	.top__cta-full { display: none; }
	.top__cta-short { display: inline; }
	.logo { width: 150px; }
	.nav a { font-size: 12.5px; }
}

/* Подвал: слово «ЦЕНТРАЛЬНЫЙ» всегда целиком во всю ширину — размер от ширины подвала, а не окна */
.foot { container-type: inline-size; }
.foot__mark { font-size: calc(100cqw / 7); overflow: visible; }

/* «Один день»: сцены непрозрачные и на своих слоях — смена кадра без подложки и без дрожания */
.day__scene { background: var(--wine-deep); will-change: opacity, clip-path; backface-visibility: hidden; }
.day__media { will-change: transform, opacity; }
.day__media video { transition-duration: .5s; }

/*
 * Калькулятор «Покупателю / Инвестору» (вариант сайта с калькулятором).
 */

/* Кнопка-вызов: на ПК — внизу слева, на телефоне — в нижней панели */
.calc-fab { position: fixed; left: max(24px, env(safe-area-inset-left)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 22; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 22px 0 16px; font: 600 11.5px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--accent); border: 0; border-radius: 999px; box-shadow: 0 18px 40px rgba(60, 6, 26, .35); cursor: pointer; transition: transform .4s var(--ease), background-color .3s; }
.calc-fab svg, .dock__calc svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.calc-fab:not(.is-on) { opacity: 0; transform: translateY(16px); pointer-events: none; }
.calc-fab { transition: transform .4s var(--ease), opacity .4s, background-color .3s; }
.calc-fab.is-on:hover { transform: translateY(-3px); background: var(--wine-deep); }
.calc-fab:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.dock__calc { display: none; }
@media (max-width: 1180px) {
	.calc-fab { display: none; }
	.dock__calc { flex: 0 0 52px; display: grid; place-items: center; height: 52px; padding: 0; color: var(--accent-ink); background: none; border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer; }
}

/* Блок-приглашение в разделе «Способы покупки» */
.calc-cta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 24px 48px; margin: clamp(40px, 5vw, 72px) 0; padding: clamp(24px, 3.4vw, 48px); background: var(--surface); border: 1px solid var(--line); }
.calc-cta__h { margin: 0 0 12px; font: 300 clamp(26px, 2.6vw, 40px)/1.05 var(--f-head); letter-spacing: -.015em; text-transform: uppercase; }
.calc-cta__h em { font: italic 300 1.12em/1 var(--f-accent); text-transform: none; color: var(--accent-ink); }
.calc-cta__text p:last-child { max-width: 52ch; margin: 0; color: var(--muted); }
.calc-cta__act { display: grid; gap: 10px; }
@media (max-width: 900px) { .calc-cta { grid-template-columns: 1fr; } }

/* ===================== Окно ===================== */
.calc { width: min(1180px, calc(100vw - 32px)); height: min(860px, calc(100dvh - 32px)); max-height: none; padding: 0; overflow: hidden; color: var(--ink); background: var(--bg); box-shadow: 0 50px 120px rgba(10, 2, 6, .4); }
.calc[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: fp-open .5s var(--ease) both; }
.calc::backdrop { background: rgba(18, 6, 12, .62); backdrop-filter: blur(6px); }
.calc .dlg-close { top: 18px; right: 18px; }
.calc__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; padding: 26px 92px 22px 32px; border-bottom: 1px solid var(--line); }
.calc__head .kicker { margin-bottom: 8px; }
.calc__h { margin: 0; font: 200 clamp(30px, 3.2vw, 50px)/1 var(--f-head); letter-spacing: -.03em; text-transform: uppercase; }
.calc__h em { font: italic 300 1.1em/1 var(--f-accent); text-transform: none; color: var(--accent-ink); }

/* переключатель «Покупателю / Инвестору» — бегунок едет под активную вкладку */
.calc__switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; isolation: isolate; }
.calc__switch button { position: relative; z-index: 1; min-width: 150px; min-height: 46px; padding: 0 22px; font: 600 12px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: none; border: 0; border-radius: 999px; cursor: pointer; transition: color .35s; }
.calc__switch button[aria-selected="true"] { color: #fff; }
.calc__switch button:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.calc__thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--accent); border-radius: 999px; transition: transform .5s var(--ease); }
.calc[data-tab="investor"] .calc__thumb { transform: translateX(100%); }

.calc__body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.calc__pane { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 0; min-height: 100%; }
.calc__pane[hidden] { display: none; }
.calc__form { display: grid; align-content: start; gap: 22px; padding: 28px 32px 36px; }
.calc__res { position: sticky; top: 0; align-self: start; display: grid; gap: 14px; padding: 30px 32px; min-height: 100%; background: var(--surface); border-left: 1px solid var(--line); }
.calc__unit { margin: 0; padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border-left: 2px solid var(--accent-ink); }
.calc__group { margin: 10px 0 -6px; padding-top: 16px; font: 600 11px var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); border-top: 1px solid var(--line); }
.calc__row { display: grid; gap: 10px; }
.calc__l { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 600 11px var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.calc__l small { font: 400 12px var(--f-body); letter-spacing: 0; text-transform: none; }

/* сегменты */
.calc__seg { display: flex; flex-wrap: wrap; gap: 6px; }
.calc__seg button { min-height: 42px; padding: 0 16px; font: 500 14px var(--f-body); color: var(--ink); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.calc__seg button:hover { border-color: var(--accent-ink); }
.calc__seg button[aria-pressed="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.calc__seg button:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

/* поле: подпись, число и ползунок */
.calc__f { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; }
.calc__f .calc__l { grid-column: 1; }
.calc__v { grid-column: 2; display: inline-flex; align-items: baseline; gap: 6px; padding-bottom: 2px; border-bottom: 1px solid var(--line-strong); }
.calc__v input { width: 9ch; padding: 0; font: 300 24px/1.2 var(--f-head); letter-spacing: -.02em; text-align: right; color: var(--ink); background: none; border: 0; outline: none; -moz-appearance: textfield; }
.calc__v input::-webkit-outer-spin-button, .calc__v input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__v:focus-within { border-color: var(--accent-ink); }
.calc__v i { font-style: normal; font-size: 13px; color: var(--muted); }
.calc__f input[type=range] { grid-column: 1 / -1; width: 100%; height: 22px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.calc__f input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--accent-ink) var(--p, 50%), var(--line-strong) var(--p, 50%)); }
.calc__f input[type=range]::-moz-range-track { height: 2px; background: var(--line-strong); }
.calc__f input[type=range]::-moz-range-progress { height: 2px; background: var(--accent-ink); }
.calc__f input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; background: var(--bg); border: 2px solid var(--accent-ink); border-radius: 50%; transition: transform .2s; }
.calc__f input[type=range]::-moz-range-thumb { width: 16px; height: 16px; background: var(--bg); border: 2px solid var(--accent-ink); border-radius: 50%; }
.calc__f input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2); }
.calc__f input[type=range]:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; }
.calc__sub { display: grid; gap: 22px; padding: 4px 0 0 18px; border-left: 2px solid var(--accent-ink); }
.calc__sub[hidden] { display: none; }
.calc__note { margin: -6px 0 0; font-size: 13px; color: var(--muted); }

/* результат */
.calc__rl { margin: 0; font: 600 11px var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.calc__big { margin: 0 0 6px; font: 200 clamp(40px, 4vw, 60px)/1 var(--f-head); letter-spacing: -.04em; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.calc__lines { margin: 0; border-top: 1px solid var(--line); }
.calc__lines > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.calc__lines dt { color: var(--muted); }
.calc__lines dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.calc__act { display: grid; gap: 14px; margin-top: 6px; }
.calc__act .link-arrow { justify-self: start; }
.calc__fine { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* график чистого дохода по месяцам */
.calc__chart { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 4px; height: 110px; padding-top: 6px; }
.calc__col { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 4px; }
.calc__col i { align-self: end; height: var(--h, 0%); min-height: 2px; background: var(--line-strong); transition: height .5s var(--ease); }
.calc__col.is-season i { background: var(--accent-ink); }
.calc__col.is-neg i { background: repeating-linear-gradient(135deg, var(--line-strong) 0 3px, transparent 3px 6px); }
.calc__col small { font-size: 10px; text-align: center; text-transform: uppercase; color: var(--muted); }

/* нижняя строка итога — только на телефоне */
.calc__bar { display: none; }

@media (max-width: 900px) {
	.calc { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; box-shadow: none; }
	.calc .dlg-close { top: max(12px, env(safe-area-inset-top)); right: 12px; }
	.calc__head { padding: max(16px, env(safe-area-inset-top)) 68px 16px 16px; }
	.calc__switch { width: 100%; }
	.calc__switch button { min-width: 0; padding: 0 10px; }
	.calc__pane { grid-template-columns: 1fr; }
	.calc__form { padding: 22px 16px 28px; }
	.calc__res { position: static; min-height: 0; padding: 24px 16px 32px; border-left: 0; border-top: 1px solid var(--line); }
	.calc__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); font-size: 13px; color: #fff; background: var(--accent); }
	.calc__bar b { font: 300 22px var(--f-head); letter-spacing: -.02em; }
	.calc__v input { font-size: 22px; width: 8ch; }
}
@media (prefers-reduced-motion: reduce) { .calc[open] { animation: none; } .calc__thumb, .calc__col i { transition: none; } }

/* условия застройщика: рассрочка и «Крымская ипотека» */
.calc__seg button:disabled { opacity: .38; cursor: not-allowed; border-style: dashed; }
.calc__seg button:disabled:hover { border-color: var(--line-strong); }
.calc__hint { font-size: 12.5px; color: var(--muted); }
.calc__offer { display: grid; gap: 4px; margin: 0; padding: 14px 16px; background: color-mix(in srgb, var(--accent) 9%, transparent); border-radius: 10px; }
.calc__offer b { font: 600 15px var(--f-body); color: var(--ink); }
.calc__offer span { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------- Чат Jivo в оболочке сайта ---------- */

/* Чат Jivo — родной виджет, как на прежнем сайте, на любом экране: ярлык «Напишите нам, мы онлайн!»,
   всплывающее приглашение менеджера (имя и фото — из кабинета Jivo), круглая кнопка на телефоне.
   Цвет — бренда (setWidgetColor). На телефоне нижняя панель оставляет место справа под кнопку Jivo. */
}

.chat-fab svg, .dock__chat svg, .unit-bar__chat svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.chat-fab { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 22; display: inline-flex; align-items: center; height: 56px; padding: 0 17px; color: #fff; background: var(--accent); border: 0; border-radius: 999px; box-shadow: 0 18px 40px rgba(60, 6, 26, .35); cursor: pointer; transition: transform .4s var(--ease), opacity .35s, background-color .3s, box-shadow .3s; }
.chat-fab:hover { box-shadow: 0 22px 48px rgba(60, 6, 26, .45); }
.chat-fab:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.chat-fab__txt { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font: 600 11.5px var(--f-body); letter-spacing: .16em; text-transform: uppercase; transition: max-width .5s var(--ease), opacity .3s, margin .5s var(--ease); }
.chat-fab:hover .chat-fab__txt, .chat-fab:focus-visible .chat-fab__txt { max-width: 220px; margin-left: 12px; opacity: 1; }
html.jv-open .chat-fab { opacity: 0; transform: scale(.85); pointer-events: none; }

/* точка: зелёная — менеджер в сети, тёплая — пришёл ответ, пока окно было свёрнуто */
.chat-dot { position: absolute; top: 9px; right: 9px; display: none; width: 10px; height: 10px; background: #5fd59a; border: 2px solid var(--accent); border-radius: 50%; }
.chat-fab .chat-dot { top: 10px; right: 12px; }
html.jv-online .chat-dot { display: block; }
html.jv-unread .chat-dot { display: block; background: #ffcf7a; animation: chatPing 1.6s var(--ease) infinite; }
@keyframes chatPing { 0% { box-shadow: 0 0 0 0 rgba(255, 207, 122, .7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 207, 122, 0); } }
.is-wait svg { animation: chatWait 1s ease-in-out infinite; }
@keyframes chatWait { 50% { opacity: .35; } }

.dock__chat, .unit-bar__chat { display: none; }
.unit-bar__act { display: flex; align-items: center; gap: 10px; }

@media (max-width: 720px) {
	.chat-fab { display: none; }
	html.jv-ready .dock { padding-right: calc(84px + env(safe-area-inset-right, 0px)); }
	html.jv-ready .unit-bar { padding-right: calc(80px + env(safe-area-inset-right, 0px)); }
	/* свой значок чата — только если Jivo не загрузился (блокировщик): откроет форму заявки */
	html:not(.jv-failed) .dock__chat, html:not(.jv-failed) .unit-bar__chat { display: none !important; }
	.dock__chat, .unit-bar__chat { position: relative; display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; padding: 0; color: var(--accent-ink); background: none; border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer; }
	.unit-bar__chat { flex-basis: 44px; width: 44px; height: 44px; }
	.dock__chat .chat-dot, .unit-bar__chat .chat-dot { top: 6px; right: 6px; border-color: var(--bg); }
}
@media (prefers-reduced-motion: reduce) {
	.chat-fab, .chat-fab__txt { transition: none; }
	html.jv-unread .chat-dot, .is-wait svg { animation: none; }
}
@media (max-width: 720px) {
	/* три кнопки в нижней панели: основная сжимается, а не выталкивает круглые за край */
	.dock__main { min-width: 0; padding-inline: 14px; }
}

/* ловушка для спам-ботов в форме заявки: людям не видна */
.lead__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* мессенджеры в контактах и соцсети в подвале — как на прежнем сайте */
.msgr { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.msgr__a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; border: 1px solid var(--line-strong); border-radius: 999px; transition: border-color .25s, color .25s; }
.msgr__a:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.msgr__a svg, .socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.socials { display: inline-flex; gap: 10px; margin-top: 8px; justify-content: flex-end; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--muted) !important; border: 1px solid var(--line); border-radius: 50%; }
.socials a:hover { color: var(--accent-ink) !important; border-color: var(--accent-ink); }
@media (max-width: 1180px) { .socials { justify-content: flex-start; } }

/* ---------- 3D-прогулка ---------- */

/* плитка на странице апартамента — под планировкой, только по выбору */
.tour-tile { display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 16px; width: 100%; margin-top: 14px; padding: 10px 18px 10px 10px; text-align: left; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); cursor: pointer; transition: border-color .3s, background-color .3s; }
.tour-tile:hover { border-color: var(--accent-ink); }
.tour-tile img { width: 112px; height: 74px; object-fit: cover; }
.tour-tile__txt { display: grid; gap: 4px; min-width: 0; }
.tour-tile__txt b { font: 600 15px/1.2 var(--f-head); letter-spacing: -.01em; text-transform: uppercase; }
.tour-tile__txt span { font-size: 13px; color: var(--muted); }
.tour-tile__go { display: grid; place-items: center; width: 44px; height: 44px; font: 600 13px var(--f-head); letter-spacing: .04em; color: #fff; background: var(--accent); border-radius: 50%; }
.fp__tour { margin-top: 6px; font-size: 11px; }
.fp__tour i { width: 40px; height: 40px; }

/* окно прогулки — всегда тёмное, как просмотровый зал */
.tour { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; color: #eceae6; background: #0d0e10; border: 0; overflow: hidden; }
.tour[open] { position: fixed; inset: 0; display: grid; grid-template-rows: auto 1fr auto; }
.tour::backdrop { background: rgba(8, 8, 10, .8); }
html.tour-open { overflow: hidden; }

.tour__top { display: grid; grid-template-columns: minmax(0, auto) 1fr auto; align-items: center; gap: 12px 28px; padding: max(14px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 14px max(20px, env(safe-area-inset-left)); border-bottom: 1px solid rgba(236, 234, 230, .1); }
.tour__eyebrow { margin: 0 0 4px; font: 600 11px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #c8b08a; }
.tour__title { margin: 0; font: 600 clamp(17px, 1.6vw, 22px)/1.15 var(--f-head); letter-spacing: -.01em; text-transform: uppercase; }
.tour__rooms { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; justify-self: center; }
.tour__rooms::-webkit-scrollbar { display: none; }
.tour__rooms button { flex: 0 0 auto; min-height: 38px; padding: 0 16px; font: 600 11.5px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(236, 234, 230, .72); background: transparent; border: 1px solid rgba(236, 234, 230, .2); border-radius: 999px; cursor: pointer; transition: color .25s, background-color .25s, border-color .25s; }
.tour__rooms button:hover { color: #fff; border-color: rgba(236, 234, 230, .5); }
.tour__rooms button[aria-pressed="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.tour__close { position: relative; width: 44px; height: 44px; padding: 0; background: none; border: 1px solid rgba(236, 234, 230, .25); border-radius: 50%; cursor: pointer; }
.tour__close i::before, .tour__close i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: #eceae6; transform: translate(-50%, -50%) rotate(45deg); }
.tour__close i::after { transform: translate(-50%, -50%) rotate(-45deg); }

.tour__stage { position: relative; min-height: 0; overflow: hidden; background: #e7e2da; touch-action: none; user-select: none; -webkit-user-select: none; }
.tour__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.tour__canvas:active { cursor: grabbing; }
.tour__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.tour__stage.is-live .tour__poster { opacity: 0; pointer-events: none; }
.tour__stage.is-static .tour__poster { filter: none; }
.tour__load { position: absolute; left: 50%; bottom: 32px; display: grid; grid-template-columns: auto 160px auto; align-items: center; gap: 14px; padding: 12px 18px; color: #eceae6; background: rgba(13, 14, 16, .78); backdrop-filter: blur(8px); transform: translateX(-50%); font: 600 11px var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.tour__bar { height: 2px; background: rgba(236, 234, 230, .2); }
.tour__bar i { display: block; width: 0; height: 100%; background: #c8b08a; transition: width .2s; }
.tour__load-n { min-width: 3.5ch; text-align: right; font-variant-numeric: tabular-nums; }
.tour__err { position: absolute; left: 50%; bottom: 24px; width: min(560px, calc(100% - 32px)); margin: 0; padding: 12px 16px; font-size: 14px; color: #eceae6; background: rgba(13, 14, 16, .82); transform: translateX(-50%); text-align: center; }

.tour__stick { position: absolute; left: max(24px, env(safe-area-inset-left)); bottom: 24px; display: grid; place-items: center; width: 120px; height: 120px; background: rgba(13, 14, 16, .35); border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; backdrop-filter: blur(6px); touch-action: none; }
.tour__stick i { width: 46px; height: 46px; background: rgba(255, 255, 255, .9); border-radius: 50%; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.tour__stage:not(.is-live) .tour__stick { display: none; }

.tour__foot { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 28px; padding: 14px max(20px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); border-top: 1px solid rgba(236, 234, 230, .1); }
.tour__hint { position: absolute; top: 14px; left: 50%; max-width: calc(100% - 28px); margin: 0; padding: 9px 16px; font-size: 13.5px; line-height: 1.35; color: #eceae6; text-align: center; background: rgba(13, 14, 16, .74); backdrop-filter: blur(8px); border-radius: 999px; transform: translateX(-50%); transition: opacity .5s, transform .5s; pointer-events: none; }
.tour__hint.is-gone { opacity: 0; transform: translate(-50%, -8px); }
.tour__stage:not(.is-live) .tour__hint { opacity: 0; }
.tour__note { grid-column: 1; margin: 0; font-size: 12.5px; color: rgba(236, 234, 230, .55); }
.tour__cta { grid-column: 2; grid-row: 1; }

@media (max-width: 720px) {
	.tour__top { grid-template-columns: 1fr auto; }
	.tour__rooms { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
	.tour__close { grid-column: 2; grid-row: 1; }
	.tour__foot { grid-template-columns: 1fr; gap: 10px; padding-top: 10px; }
	.tour__cta { grid-column: 1; grid-row: auto; width: 100%; min-height: 48px; }
	.tour__note { font-size: 11.5px; line-height: 1.4; }
	.tour__hint { top: 10px; font-size: 12.5px; border-radius: 14px; width: max-content; }
	.tour__top { padding-bottom: 10px; }
	.tour__stick { width: 104px; height: 104px; bottom: 18px; }
	.tour-tile { grid-template-columns: 88px 1fr auto; }
	.tour-tile img { width: 88px; height: 60px; }
}
.tour__veil { position: absolute; inset: 0; background: #0d0e10; opacity: 0; pointer-events: none; }

/* ---------- Типографика застройщика ----------
   Заголовки и цифры — Onest: уверенный гротеск вместо тонкого Manrope 200/300 и курсивной антиквы.
   Курсивные вставки в заголовках становятся прямыми и выделяются цветом, как в каталогах девелоперов. */
:root { --f-head: 'Onest', 'Manrope', system-ui, sans-serif; --f-accent: var(--f-head); }

.h2, .hero__title, .day__title, .kind__title, .faq summary, .favs__title, .fp__h, .fp__dtitle, .fp__floor select, .tour__title { font-weight: 600 !important; letter-spacing: -.02em !important; }
.h2 em, .hero__title em, .h2 i:not([class]) { font-family: var(--f-head) !important; font-style: normal !important; font-weight: 600 !important; text-transform: uppercase !important; color: var(--accent-ink); }

.spot__price, .contacts__phone, .launch__price, .hero__facts dd, .qstat__n, .kind__count, .q3__price b, .day__clock, .now__big,
.biz__offers-head b, .offer__area, .nums dd, .walk th, .buy__n, .queue__n, .fp__count b, .fp-item__area, .fp__dprice,
.card__area, .unit__price strong, .no-scenes .day__time, .foot__contacts a, .fp-item__num, .calc__total b { font-weight: 300 !important; letter-spacing: -.04em !important; }

.ticker span, .biz__uses { font-family: var(--f-head) !important; font-style: normal !important; font-weight: 500 !important; text-transform: uppercase; letter-spacing: .02em; font-size: .78em; }
.sec-head__n { font-weight: 500 !important; }
@media (max-width: 720px) {
	.q3__price b { font-size: 62px; }
}
.calc-cta__h, .calc__h { font-weight: 600 !important; letter-spacing: -.02em !important; }
.calc-cta__h em, .calc__h em { font: 600 1em/1 var(--f-head) !important; font-style: normal !important; text-transform: uppercase !important; color: var(--accent-ink); }
.launch__price { font-size: clamp(36px, 3.1vw, 50px) !important; }


/* ---------- Страницы WordPress: политика, фотоотчёты, документы, рубрики ---------- */
.wp-page { width: min(1100px, 100% - 2 * var(--gutter, 24px)); margin: 0 auto; padding: calc(var(--top-h, 84px) + 48px) 0 96px; }
.wp-page__head { display: grid; gap: 14px; margin-bottom: 40px; }
.wp-page__head .h2 { font-size: clamp(30px, 4vw, 56px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.crumbs a { color: inherit; }
.wp-content { max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--ink); }
.wp-content h2, .wp-content h3 { margin: 1.8em 0 .6em; font-family: var(--f-head); font-weight: 600; line-height: 1.2; text-transform: none; }
.wp-content a { color: var(--accent-ink); }
.wp-content img { max-width: 100%; height: auto; }
.wp-content .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 24px 0; }
.wp-content .gallery-item { margin: 0; }
.wp-content .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 0 !important; }
.wp-content table { width: 100%; border-collapse: collapse; }
.wp-content td, .wp-content th { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.wp-page__nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.wp-page__nav a { color: var(--ink); text-decoration: none; }
.wp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; margin: 0; padding: 0; list-style: none; }
.wp-card a { display: grid; gap: 8px; color: var(--ink); text-decoration: none; }
.wp-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.wp-card__date { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wp-card__title { font: 600 19px/1.25 var(--f-head); }
.wp-pager { margin-top: 40px; }
.wp-pager .nav-links { display: flex; gap: 8px; }
.wp-pager .page-numbers { padding: 8px 14px; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; }
.wp-pager .current { background: var(--accent); color: #fff; border-color: var(--accent); }
.docs-all { margin: 28px 0 0; }
a.doc { color: inherit; }
/* фотоотчёты: картинки подряд в тексте → сетка */
.wp-content p:has(> a > img), .wp-content p:has(> img) { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; max-width: none; }
.wp-content p:has(> a > img) a { display: block; }
.wp-content p:has(> a > img) img, .wp-content p:has(> img) img { float: none; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; margin: 0; }
.wp-content:has(p > a > img) { max-width: none; }
.wp-content .alignleft { float: left; margin: 0 16px 12px 0; }
.wp-content .alignright { float: right; margin: 0 0 12px 16px; }
.wp-content .aligncenter { display: block; margin: 0 auto 12px; }
.wp-content p:has(> a > img) br { display: none; }
.wp-contacts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-bottom: 40px; }
.wp-contacts__grid .contacts__phone { display: inline-block; margin: 6px 0 16px; }
.wp-contacts__addr { font: 300 24px/1.3 var(--f-head); }
.wp-contacts .socials { justify-content: flex-start; }
.foot__dev { display: flex; justify-content: center; margin: 0; padding: 8px max(16px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.foot__dev a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; font: 600 11.5px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none; border: 1px solid var(--line-strong); border-radius: 999px; transition: color .25s, border-color .25s; }
.foot__dev a::after { content: '↗'; font-size: 13px; letter-spacing: 0; }
.foot__dev a:hover, .foot__dev a:focus-visible { color: var(--accent-ink); border-color: var(--accent-ink); }
