/* FAJR — основные стили. Сетка: телефон до 767 px, компьютер от 768 px; меню сворачивается до 1399 px. */

@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--dark: #0d0d0d;
	--hero: #141414;
	--aside: #101010;
	--ph-dark: #1a1a1a;
	--ph-dark2: #1d1d1d;
	--black: #000;
	--light: #f3f0e9;
	--ph-light: #e0dacd;
	--on-dark: #f3f0e9;
	--muted-dark: #a8a39a;
	--sec-dark: #cfcac0;
	--text: #282828;
	--muted: #5e5a52;
	--body: #3d3a35;
	--gold: #cf9e5b;
	--gold-dark: #7e5a22;
	--line-dark: rgba(var(--on-dark-rgb), 0.16);
	--line-dark-2: rgba(var(--on-dark-rgb), 0.4);
	--on-dark-rgb: 243, 240, 233;
	--surface-rgb: 13, 13, 13;
	--panel: #121212;
	--ink: #0d0d0d;
	--gold-fill: #cf9e5b;
	--scheme: dark;
	--line-light: rgba(40, 40, 40, 0.18);
	--hw: 400;
	--gutter: 48px;
	--wrap: 1344px;
	--section: 128px;
}

@media (max-width: 767px) {
	:root { --gutter: 20px; --section: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--dark);
	color: var(--on-dark);
	font-family: "Montserrat", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.72; }
button, input, select, textarea { font: inherit; color: inherit; }
::placeholder { color: #8f8a80; opacity: 1; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--gold-fill); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.gold { color: var(--gold); }
.block { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Видимость по размеру экрана */
@media (max-width: 767px) {
	.only-desktop, .only-desktop-flex, .only-desktop-grid { display: none !important; }
	.only-mobile-flex { display: flex !important; }
}
@media (min-width: 768px) {
	.only-mobile, .only-mobile-flex { display: none !important; }
	.only-desktop-flex { display: inline-flex; }
	.only-desktop-grid { display: grid; }
}

/* ---------- Типографика ---------- */
.kicker {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold);
}
.kicker--dark { color: var(--gold-dark); }
.kicker--muted { color: var(--muted-dark); }
.h1, .h2 {
	font-weight: var(--hw);
	text-transform: uppercase;
	text-wrap: balance;
}
.h1 { font-size: clamp(30px, 4vw, 58px); line-height: 1.06; letter-spacing: -0.01em; }
.h2 { font-size: clamp(26px, 3.1vw, 44px); line-height: 1.12; letter-spacing: -0.005em; }
.muted { color: var(--muted); }
.muted-dark { color: var(--sec-dark); }
.num { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--gold-dark); }
.section--dark .num { color: var(--gold); }
@media (max-width: 767px) {
	.kicker { font-size: 11px; }
	.h2 { font-size: 26px; line-height: 1.14; }
	.num { font-size: 11px; }
}

/* ---------- Кнопки и ссылки ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 54px;
	padding: 0 28px;
	border: 1px solid transparent;
	background: none;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}
.btn--gold { background: var(--gold-fill); border-color: var(--gold-fill); color: var(--ink); }
.btn--outline { border-color: rgba(var(--on-dark-rgb), 0.5); font-weight: 600; }
.section--light .btn--outline { border-color: var(--text); }
.btn--sm { height: 44px; padding: 0 22px; letter-spacing: 0.14em; font-weight: 600; }
.btn--lg { font-size: 13px; padding: 0 30px; }
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	border-bottom: 1px solid rgba(40, 40, 40, 0.5);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	align-self: flex-start;
}
.link-arrow--light { border-bottom-color: rgba(var(--on-dark-rgb), 0.5); }
.link-plain { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.underline { border-bottom: 1px solid currentColor; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.square-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 54px; height: 54px; padding: 0; border: 1px solid var(--line-dark-2); background: none; cursor: pointer; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.square-btn[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.round-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-dark-2); border-radius: 50%; background: none; cursor: pointer; }
.round-nav { display: inline-flex; gap: 8px; }

/* ---------- Шапка ---------- */
.site-header {
	position: relative;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 26px var(--gutter);
	border-bottom: 1px solid rgba(var(--on-dark-rgb), 0.12);
	background: var(--dark);
}
.site-header__logo { display: flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.site-header__logo img { height: 40px; width: auto; }
.site-nav__list { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.site-nav__list a { display: flex; align-items: center; min-height: 44px; }
.site-nav__list .current-menu-item > a, .site-nav__list .current-menu-ancestor > a { color: var(--gold); }
.site-header__tools { display: flex; align-items: center; gap: 0 10px; }
.site-header__phone { display: flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.icon-count { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; font-size: 12px; font-weight: 600; }
.icon-count.has-items { color: var(--gold); }
.site-header__consult { margin-left: 8px; }
.site-header__call, .site-header__burger { display: none; }

.has-overlay-header .site-header { position: absolute; top: 0; left: 0; right: 0; border-bottom: 0; background: transparent; }

@media (max-width: 1399px) {
	.site-nav, .site-header__consult, .icon-count { display: none; }
	.site-header__burger, .site-header__call { display: inline-flex; }
	.site-header__tools { gap: 4px; }
}
@media (max-width: 767px) {
	.site-header { padding: 14px 12px 14px 20px; }
	.site-header__logo img { height: 30px; }
	.site-header__phone { display: none; }
	.has-overlay-header .site-header { position: relative; background: var(--hero); }
}

/* ---------- Меню на телефоне ---------- */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 60;
	overflow-y: auto;
	background: var(--dark);
	padding-bottom: 36px;
}
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 14px 20px; border-bottom: 1px solid rgba(var(--on-dark-rgb), 0.12); }
.mobile-menu__top img { height: 30px; width: auto; }
.mobile-menu__nav { padding: 12px 20px 0; }
.mnav { border-bottom: 1px solid var(--line-dark); }
.mnav__item { border-top: 1px solid var(--line-dark); }
.mnav__row { display: flex; align-items: center; }
.mnav__link { flex: 1 1 auto; display: flex; align-items: center; min-height: 60px; font-size: 22px; line-height: 1.2; font-weight: var(--hw); letter-spacing: 0.01em; text-transform: uppercase; }
.mnav__item.is-current > .mnav__row .mnav__link { color: var(--gold); }
.mnav__toggle { flex: 0 0 52px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; }
.mnav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mnav__sub { margin: 0 0 14px; padding-left: 2px; }
.mnav__sub a { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--sec-dark); }
.mobile-menu__lists { display: grid; gap: 8px; margin: 24px 20px 0; }
.mobile-menu__lists .btn { font-weight: 600; padding: 0 20px; }
.mobile-menu__contacts { margin: 36px 20px 0; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 8px; }
.mobile-menu__phone { display: flex; align-items: center; min-height: 44px; font-size: 26px; font-weight: var(--hw); color: var(--gold); }
.mobile-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.mobile-menu__actions .btn { padding: 0 12px; }
.mobile-menu__info { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; font-size: 14px; }
.mobile-menu__info dt { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }
.mobile-menu__insta { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
body.menu-open { overflow: hidden; }

.insta { display: flex; flex-direction: column; gap: 6px; }
.insta a { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid rgba(var(--on-dark-rgb), 0.5); font-size: 14px; }
.insta__note { font-size: 11px; line-height: 1.5; color: var(--muted-dark); }

/* ---------- Секции ---------- */
.section { padding: var(--section) 0; }
.section--light { background: var(--light); color: var(--text); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.section-head__main { display: flex; flex-direction: column; gap: 20px; }
.section-head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 400px; }
@media (max-width: 767px) {
	.section { padding: 64px 0 72px; }
	.section-head { flex-direction: column; align-items: stretch; gap: 14px; }
	.section-head__main { gap: 14px; }
	.section-head__aside { max-width: none; font-size: 15px; }
}

/* Места под фото */
.ph { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 18px; background: var(--ph-light); }
.ph__label { position: relative; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ph--dark { background: var(--ph-dark); justify-content: flex-end; }
.ph--dark2 { background: var(--ph-dark2); justify-content: center; }
.ph--dark .ph__label, .ph--dark2 .ph__label { color: var(--muted-dark); }
.ph__mark { position: absolute; left: -18%; top: 10%; width: 90%; opacity: 0.06; pointer-events: none; }
.cut-tr { clip-path: polygon(0 0, calc(100% - 52px) 0, 100% 52px, 100% 100%, 0 100%); }
.cut-bl { clip-path: polygon(0 0, 100% 0, 100% 100%, 52px 100%, 0 calc(100% - 52px)); align-items: flex-start; }
.cut-tl { clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%, 0 72px); }
.cut-br { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 72px), calc(100% - 72px) 100%, 0 100%); }
@media (max-width: 767px) {
	.ph { padding: 10px; }
	.ph__label { font-size: 10px; }
	.cut-tr { clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%); }
	.cut-bl { clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%, 0 calc(100% - 30px)); }
	.cut-tl { clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%, 0 44px); }
	.cut-br { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 44px) 100%, 0 100%); }
}

/* ---------- Поля форм ---------- */
.field { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); }
.field input, .field select, .field textarea {
	width: 100%;
	min-width: 0;
	height: 52px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--line-dark-2);
	border-radius: 0;
	background: transparent;
	color: var(--on-dark);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}
.field select { cursor: pointer; }
.field select option { background: var(--dark); color: var(--on-dark); }
.field textarea { height: auto; min-height: 96px; margin-top: 10px; padding-bottom: 10px; line-height: 1.5; resize: vertical; }
.field--sm input, .field--sm select { height: 48px; font-size: 15px; }
.consent { display: flex; align-items: flex-start; gap: 14px; min-height: 44px; font-size: 13px; line-height: 1.5; color: var(--sec-dark); cursor: pointer; }
.consent input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--gold); }
.consent a { border-bottom: 1px solid rgba(var(--on-dark-rgb), 0.5); }
.tabs { display: flex; gap: 28px; }
.tabs__btn { min-height: 44px; padding: 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted-dark); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.tabs__btn[aria-pressed="true"] { border-bottom-color: var(--gold); color: var(--on-dark); }

.lead-form { display: flex; flex-direction: column; gap: 22px; color-scheme: var(--scheme); color: var(--on-dark); }
.lead-form .btn { height: 56px; font-size: 13px; }
.lead-form--card { padding: 48px; background: var(--dark); clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 0 100%); }
@media (max-width: 767px) {
	.lead-form { gap: 18px; }
	.lead-form--card { padding: 28px 24px; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
	.field { gap: 2px; }
	.field input, .field select { height: 50px; }
}

/* ---------- Первый экран главной ---------- */
.hero { position: relative; display: flex; flex-wrap: wrap; background: var(--dark); }
.hero__main {
	position: relative;
	flex: 3 1 680px;
	min-width: 0;
	min-height: 900px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 56px;
	padding: 190px var(--gutter) 48px;
	background: var(--hero);
}
.hero__mark { position: absolute; right: -9%; top: -16%; width: 82%; opacity: 0.07; pointer-events: none; }
.hero__media-label { position: absolute; right: 24px; top: 112px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); }
.hero__media-m { display: none; }
.hero__media { position: absolute; inset: 0; pointer-events: none; }
.hero__media-el { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--hero) 92%, transparent) 0%, color-mix(in srgb, var(--hero) 70%, transparent) 45%, color-mix(in srgb, var(--hero) 20%, transparent) 100%), linear-gradient(0deg, color-mix(in srgb, var(--hero) 75%, transparent) 0%, transparent 40%); }
.hero__intro { position: relative; display: flex; flex-direction: column; gap: 28px; max-width: 940px; }
.hero__kicker { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.hero__kicker span { display: block; flex: 0 0 40px; height: 1px; background: var(--gold-fill); }
.hero__title { font-size: clamp(32px, 4.3vw, 62px); line-height: 1.06; font-weight: var(--hw); letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance; }
.hero__lead { max-width: 580px; font-size: 17px; color: var(--sec-dark); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 8px; }
.hero__actions .link-arrow { font-size: 13px; letter-spacing: 0.12em; }

.hero-search { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 20px 24px 24px; border: 1px solid rgba(var(--on-dark-rgb), 0.18); background: rgba(var(--surface-rgb), 0.86); color-scheme: var(--scheme); }
.hero-search__fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 20px; }
.hero-search__fields .field { flex: 1 1 150px; white-space: nowrap; }
.hero-search__pair { display: contents; }
.hero-search__pair .field { flex: 1 1 128px; }
.hero-search__submit { flex: 0 0 auto; height: 48px; padding: 0 26px; }

.hero__aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 150px 40px 48px; background: var(--aside); border-left: 1px solid rgba(var(--on-dark-rgb), 0.1); text-align: center; }
.hero__aside .kicker { font-size: 11px; letter-spacing: 0.2em; }
.hero__aside-photo { width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 4 / 5; clip-path: polygon(52px 0, 100% 0, 100% 100%, 0 100%, 0 52px); padding: 16px; }
.hero__aside-slide { display: contents; }
.hero__aside-photo--img { display: block; padding: 0; overflow: hidden; background: var(--ph-dark2); }
.hero__aside-photo--img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__aside-photo--img .ph__label { display: flex; height: 100%; align-items: flex-end; justify-content: center; padding: 16px; }
.hero__aside-title a:hover { color: var(--gold); }
button.hero__aside-count { background: none; color: inherit; cursor: pointer; font-family: inherit; }
button.hero__aside-count:hover { border-color: var(--gold); color: var(--gold); }
.hero__aside-title { font-size: 22px; line-height: 1.2; font-weight: var(--hw); letter-spacing: 0.02em; text-transform: uppercase; }
.hero__aside-text { font-size: 14px; line-height: 1.55; color: var(--muted-dark); }
.hero__aside-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 8px; }
.hero__aside-count { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid var(--line-dark-2); border-radius: 50%; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }

@media (max-width: 767px) {
	.hero { background: var(--hero); }
	.hero__main { flex-basis: 100%; min-height: 0; display: block; padding: 6px 0 40px; }
	.hero__mark, .hero__media-label, .hero__aside { display: none; }
	.hero__media-m { display: flex; height: 280px; margin: 0 20px; background: var(--ph-dark2); clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%); }
	.hero__media-m .ph__mark { left: 12%; top: -8%; width: 110%; opacity: 0.07; }
	.hero__media { position: relative; inset: auto; height: 280px; margin: 0 20px; overflow: hidden; clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%); }
	.hero__media::after { display: none; }
	.hero__intro { gap: 20px; padding: 32px 20px 36px; }
	.hero__kicker { gap: 12px; font-size: 11px; letter-spacing: 0.16em; }
	.hero__kicker span { flex-basis: 28px; }
	.hero__title { font-size: 30px; line-height: 1.1; }
	.hero__lead { font-size: 15px; }
	.hero__actions { margin-top: 4px; }
	.hero__actions .btn { width: 100%; }
	.hero-search { margin: 0 20px; padding: 16px 20px 20px; gap: 14px; background: var(--dark); }
	.hero-search__fields { flex-direction: column; align-items: stretch; gap: 14px; }
	.hero-search__fields .field { flex: none; }
	.hero-search__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
	.hero-search__fields .field--sm input, .hero-search__fields .field--sm select { font-size: 16px; }
	.hero-search__submit { height: 52px; margin-top: 6px; }
}

/* ---------- Каталог по типу ---------- */
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 24px; margin-top: 64px; }
.type-card { display: flex; flex-direction: column; gap: 18px; }
.type-card__photo { aspect-ratio: 4 / 5; }
.type-card__img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: cover; transition: filter .3s ease; }
.type-card:hover .type-card__img { filter: brightness(1.06); }
.type-card__photo.dark { background: var(--dark); }
.type-card__photo.dark .ph__label { color: var(--muted-dark); }
.type-card__head { display: flex; align-items: baseline; gap: 14px; }
.type-card__title { font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.type-card__text { font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 767px) {
	.type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; margin-top: 32px; }
	.type-card { gap: 10px; }
	.type-card__head { flex-direction: column; gap: 10px; }
	.type-card__title { font-size: 15px; }
	.type-card__text { font-size: 13px; line-height: 1.45; }
}

/* ---------- Эксклюзивные объекты на главной ---------- */
.ex-tabs { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0 32px; margin-top: 56px; }
.ex-tabs a { display: flex; align-items: center; gap: 18px; min-height: 56px; border-bottom: 1px solid var(--line-dark); font-size: 14px; font-weight: 500; color: var(--muted-dark); }
.ex-tabs a .num { color: inherit; }
.ex-tabs a[aria-current="true"] { border-bottom-color: var(--gold); color: var(--on-dark); }
.ex-tabs a[aria-current="true"] .num { color: var(--gold); }
.ex-feature { display: flex; flex-wrap: wrap; gap: 48px 72px; margin-top: 56px; }
.ex-feature__media { flex: 1.6 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; order: 2; }
.ex-feature__info { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; order: 1; }
.ex-feature__photo { aspect-ratio: 5 / 4; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 72px), calc(100% - 72px) 100%, 0 100%); justify-content: flex-start; padding: 22px; }
.ex-feature__photo .ph__mark { left: 18%; width: 96%; }
.ex-feature__photo--img { display: block; padding: 0; overflow: hidden; background: var(--ph-dark); }
.ex-feature__photo--img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ex-feature__title a:hover { color: var(--gold); }
.thumb--img { padding: 0; border: 0; overflow: hidden; cursor: pointer; }
.thumb--img img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: opacity .2s ease; }
.thumb--img.is-active img, .thumb--img:hover img { opacity: 1; }
.ex-tabs a:hover { color: var(--on-dark); }
.ex-feature__thumbs { width: 100%; align-items: center; gap: 12px; }
.thumb { width: 96px; aspect-ratio: 4 / 3; background: var(--ph-dark); }
.thumb.is-active { outline: 1px solid var(--gold); outline-offset: -1px; }
.ex-feature__count { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--muted-dark); }
.ex-feature__mnav { align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; }
.ex-feature__title { font-size: 28px; line-height: 1.16; font-weight: var(--hw); letter-spacing: 0.01em; text-transform: uppercase; }
.params { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; font-size: 14px; }
.params > div { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.params dt { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); }
.params dd { font-weight: 500; }
.ex-feature__price { font-size: 28px; line-height: 1.2; font-weight: 500; color: var(--gold); }
.ex-feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ex-feature__actions .square-btn .only-mobile { display: none; }
@media (max-width: 767px) {
	.ex-feature { flex-direction: column; gap: 24px; margin-top: 28px; }
	.ex-feature__media, .ex-feature__info { flex: none; order: 0; }
	.ex-feature__media { gap: 12px; }
	.ex-feature__photo { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 44px) 100%, 0 100%); }
	.ex-feature__info { gap: 16px; }
	.ex-feature__title { font-size: 22px; line-height: 1.18; }
	.params { gap: 0 16px; }
	.params > div { padding: 12px 0; }
	.params dt { font-size: 10px; }
	.ex-feature__price { font-size: 24px; }
	.ex-feature__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.ex-feature__actions .btn { grid-column: 1 / -1; }
	.ex-feature__actions .square-btn { width: auto; height: 48px; }
	.ex-feature__actions .square-btn .only-mobile { display: inline; }
}

/* ---------- Две колонки: заголовок слева, строки справа ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.split__side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.split__side .muted { max-width: 420px; }
.split__side .link-arrow { margin-top: 8px; }
.split__main { flex: 2 1 560px; min-width: 0; }
.rows { display: flex; flex-direction: column; border-bottom: 1px solid var(--line-light); }
.row-link { display: flex; align-items: flex-start; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line-light); }
.row-link .num { flex: 0 0 40px; padding-top: 5px; }
.row-link__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.row-link__title { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.row-link__text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.row-link__arrow { flex: 0 0 24px; margin-top: 2px; }
@media (max-width: 767px) {
	.split { flex-direction: column; gap: 28px; }
	.split__side { flex: none; gap: 14px; }
	.split__main { flex: none; }
	.row-link { gap: 14px; padding: 22px 0; }
	.row-link .num { flex-basis: 26px; padding-top: 3px; }
	.row-link__title { font-size: 16px; }
	.row-link__text { font-size: 14px; }
	.row-link__arrow { display: none; }
}

/* ---------- Подход и цифры ---------- */
.approach-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 48px 80px; }
.approach-head__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.approach-head__text p { max-width: 460px; }
.approach-head__photo { flex: 1 1 420px; min-width: 0; aspect-ratio: 16 / 10; padding: 22px; }
.approach-head__photo .ph__mark { left: -22%; top: 14%; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 40px 48px; margin-top: 88px; }
.point { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(var(--on-dark-rgb), 0.2); }
.point h3 { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.point p { font-size: 15px; color: var(--muted-dark); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px 48px; margin-top: 96px; }
.stats > div { display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dd { font-size: clamp(40px, 4.4vw, 64px); line-height: 1; font-weight: var(--hw); color: var(--gold); }
.stats dt { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }
@media (max-width: 767px) {
	.approach-head { flex-direction: column; align-items: stretch; gap: 28px; }
	.approach-head__text { flex: none; gap: 14px; font-size: 15px; }
	.approach-head__photo { flex: none; padding: 14px; }
	.points { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
	.point { gap: 8px; padding-top: 20px; }
	.point h3 { font-size: 16px; }
	.point p { font-size: 14px; }
	.stats { display: flex; flex-direction: column; gap: 0; margin-top: 44px; border-bottom: 1px solid rgba(var(--on-dark-rgb), 0.2); }
	.stats > div { flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(var(--on-dark-rgb), 0.2); }
	.stats dd { flex: 0 0 96px; font-size: 40px; }
	.stats dt { font-size: 11px; }
}

/* ---------- Консультация на главной ---------- */
.consult-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "text form" "contacts form"; gap: 0 80px; align-items: start; }
.consult-home__text { grid-area: text; display: flex; flex-direction: column; gap: 20px; }
.consult-home__text p { max-width: 440px; }
.consult-home__form { grid-area: form; }
.consult-home__contacts { grid-area: contacts; margin-top: 28px; }
.contact-list { display: flex; flex-direction: column; font-size: 15px; border-bottom: 1px solid var(--line-light); }
.contact-list > div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 16px 0; border-top: 1px solid var(--line-light); }
.contact-list dt { flex: 0 0 150px; padding-top: 3px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { font-weight: 600; }
.contact-list dd.normal { font-weight: 500; }
@media (max-width: 767px) {
	.consult-home { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "form" "contacts"; }
	.consult-home__text { gap: 14px; font-size: 15px; }
	.consult-home__form { margin-top: 28px; }
	.consult-home__contacts { margin-top: 32px; }
	.contact-list > div { flex-direction: column; gap: 2px; padding: 14px 0; }
	.contact-list dt { flex: none; padding-top: 0; }
}

/* ---------- Подвал ---------- */
.site-footer { background: var(--black); color: var(--on-dark); padding: 104px 0 36px; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 56px 80px; }
.site-footer__logo { display: block; flex: 0 1 520px; min-width: 0; }
.site-footer__logo img { width: 100%; max-width: 520px; }
.site-footer__cols { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 40px 32px; font-size: 14px; }
.footer-nav { display: flex; flex-direction: column; gap: 2px; }
.footer-nav .kicker { margin-bottom: 10px; font-size: 11px; }
.footer-nav__list a, .footer-contacts > span, .footer-contacts > a { display: flex; align-items: center; min-height: 44px; }
.footer-contacts__phone { font-weight: 600; }
.footer-contacts__hours { flex-direction: column; justify-content: center; align-items: flex-start !important; line-height: 1.5; }
.footer-contacts__links { flex-wrap: wrap; gap: 4px 18px; }
.footer-contacts__links a { border-bottom: 1px solid rgba(var(--on-dark-rgb), 0.5); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 88px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 12px; color: var(--muted-dark); }
.site-footer__docs { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer__note { flex: 1 1 100%; font-size: 11px; }
@media (max-width: 767px) {
	.site-footer { padding: 56px 0 28px; }
	.site-footer__top { flex-direction: column; gap: 44px; }
	.site-footer__logo { flex: none; width: 228px; }
	.site-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px 16px; width: 100%; }
	.footer-nav .kicker { margin-bottom: 6px; }
	.footer-contacts { grid-column: 1 / -1; }
	.site-footer__bottom { flex-direction: column; gap: 4px; margin-top: 36px; padding-top: 20px; }
	.site-footer__docs { flex-direction: column; gap: 0; }
	.site-footer__docs a { display: flex; align-items: center; min-height: 44px; }
	.site-footer__bottom > span:first-child { order: 2; margin-top: 8px; }
	.site-footer__note { order: 3; margin-top: 8px; }
}

/* ---------- Нижняя панель на телефоне ---------- */
.quickbar { display: none; }
@media (max-width: 767px) {
	.quickbar { position: sticky; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--dark); border-top: 1px solid rgba(var(--on-dark-rgb), 0.18); }
	.quickbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 64px; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
	.quickbar a + a { border-left: 1px solid rgba(var(--on-dark-rgb), 0.18); }
	.quickbar__main { background: var(--gold-fill); color: var(--ink); font-weight: 700 !important; }
}

/* ---------- Запасной шаблон ---------- */
.page-head { padding: 72px 0; }
.prose { max-width: 780px; color: var(--body); }
.prose p { margin-bottom: 1em; }

@media (max-width: 767px) { .br-d { display: none; } }

/* Планшет: эксклюзивный объект уходит под первый экран */
@media (min-width: 768px) and (max-width: 1099px) {
	.hero__main { min-height: 760px; }
	.hero__aside { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 16px 32px; padding: 40px var(--gutter); border-left: 0; border-top: 1px solid rgba(var(--on-dark-rgb), 0.1); text-align: left; }
	.hero__aside .kicker { flex: 1 1 100%; }
	.hero__aside-photo { flex: 0 0 200px; max-width: 200px; margin: 0; }
	.hero__aside-title, .hero__aside-text { flex: 1 1 280px; }
	.hero__aside-nav { justify-content: flex-start; }
}

/* ==========================================================
   Каталог
   ========================================================== */
.btn--md { height: 48px; padding: 0 20px; font-weight: 600; }
.btn--md.btn--gold { font-weight: 700; padding: 0 26px; }
.btn--outline-dark { border: 1px solid var(--text); color: var(--text); height: 54px; padding: 0 30px; }
.btn--outline .icon, .btn--md .icon { flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Путь по сайту */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: var(--muted-dark); }
.crumbs a { display: flex; align-items: center; min-height: 44px; }
.crumbs [aria-current] { color: var(--on-dark); }
@media (max-width: 767px) {
	.crumbs li:not(:nth-last-child(3)) { display: none; }
	.crumbs li:nth-last-child(3) a::before { content: "‹"; margin-right: 8px; font-size: 16px; }
}

.catalog-head { padding: 36px 0 72px; }
.catalog-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-top: 28px; }
.catalog-head__title { display: flex; flex-direction: column; gap: 18px; }
.subnav { display: flex; flex-wrap: wrap; gap: 0 32px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.subnav a { display: flex; align-items: center; min-height: 48px; border-bottom: 2px solid transparent; color: var(--muted-dark); }
.subnav a[aria-current] { border-bottom-color: var(--gold); color: var(--on-dark); }
a.tabs__btn { display: inline-flex; align-items: center; }

/* Панель фильтров */
.filters { display: flex; flex-direction: column; margin-top: 44px; padding: 26px 28px 28px; border: 1px solid rgba(var(--on-dark-rgb), 0.18); background: var(--panel); color-scheme: var(--scheme); }
.filters__body { display: flex; flex-direction: column; gap: 22px; }
.filters__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 24px; }
.filters__row:first-child { gap: 18px 36px; }
.filters__deal .tabs__btn { min-height: 48px; }
.filters__district { flex: 1 1 220px; min-width: 0; }
.pair { flex: 2 1 280px; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.pair .field { white-space: nowrap; }
.link-reset { display: inline-flex; min-height: 44px; align-items: center; margin-left: auto; padding: 0; border: 0; border-bottom: 1px solid rgba(var(--on-dark-rgb), 0.5); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.filters__more { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 22px 36px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.filters__more[data-collapsed] { display: none; }
.filters__more .field { flex: 1 1 200px; }
.filters__invest { flex: 1 1 100%; display: flex; flex-direction: column; gap: 12px; }
.filters__invest .kicker { font-size: 11px; }

.chipset { margin: 0; padding: 0; border: 0; min-width: 0; }
.chipset legend { padding: 0; margin-bottom: 6px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); }
.chipset__items { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 16px; border: 1px solid var(--line-dark-2); font-size: 13px; font-weight: 500; }
.chipset__items--rooms .chip:not(.chip--wide) span { width: 48px; padding: 0; font-size: 14px; }
.chip input:checked + span { background: var(--gold-fill); border-color: var(--gold-fill); color: var(--ink); font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; cursor: pointer; }
.check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--gold); }
.filters__more-btn[aria-expanded="true"] { border-color: var(--gold); color: var(--gold); }

/* Телефон: строка над результатами и фильтры на весь экран */
.mfilters-bar { flex-direction: column; gap: 14px; margin-top: 22px; padding: 14px 16px 16px; border: 1px solid rgba(var(--on-dark-rgb), 0.18); }
.mfilters-bar__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mfilters-bar__btns .btn { padding: 0 10px; font-size: 11px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1px solid var(--gold); color: var(--on-dark); font-size: 13px; }
.filters__top, .filters__foot { display: none; }

@media (max-width: 767px) {
	.catalog-head { padding: 0 0 32px; }
	.catalog-head .crumbs { margin-top: 6px; }
	.catalog-head__row { margin-top: 8px; gap: 18px; }
	.catalog-head__title { gap: 12px; }
	.subnav { gap: 0 20px; font-size: 11px; letter-spacing: 0.1em; }
	.subnav a { min-height: 44px; }
	.filters { display: none; }
	.filters.is-open { position: fixed; inset: 0; z-index: 70; display: flex; margin: 0; padding: 0; border: 0; background: var(--dark); overflow: hidden; }
	.filters__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 8px 14px 20px; border-bottom: 1px solid rgba(var(--on-dark-rgb), 0.12); }
	.filters__top .kicker { font-size: 10px; }
	.filters__title { font-size: 20px; line-height: 1.2; font-weight: var(--hw); letter-spacing: 0.02em; text-transform: uppercase; }
	.filters.is-open .filters__body { flex: 1 1 auto; overflow-y: auto; gap: 28px; padding: 20px 20px 36px; }
	.filters__row, .filters__row:first-child { flex-direction: column; align-items: stretch; gap: 28px; }
	.filters__deal { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
	.filters__deal .tabs__btn { justify-content: center; border: 1px solid var(--line-dark-2); font-size: 12px; letter-spacing: 0.14em; color: var(--on-dark); }
	.filters__deal .tabs__btn + .tabs__btn { border-left: 0; }
	.filters__deal .tabs__btn[aria-pressed="true"] { background: var(--gold-fill); border-color: var(--gold-fill); color: var(--ink); font-weight: 700; }
	.filters__district { flex: none; }
	.pair { flex: none; gap: 16px; }
	.filters__more, .filters__more[data-collapsed] { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding-top: 24px; }
	.filters__more .field { flex: none; }
	.chipset__items--rooms { flex-wrap: nowrap; }
	.chipset__items--rooms .chip { flex: 1 1 0; }
	.chipset__items--rooms .chip--wide { flex: 1.6 1 0; }
	.chipset__items--rooms .chip span, .chipset__items--rooms .chip:not(.chip--wide) span { width: 100%; padding: 0; }
	.chip span { height: 44px; padding: 0 14px; }
	.checks { flex-direction: column; gap: 4px; }
	.filters__foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; padding: 14px 20px 18px; border-top: 1px solid rgba(var(--on-dark-rgb), 0.18); background: var(--dark); }
	.filters__foot .btn { padding: 0 8px; font-size: 11px; letter-spacing: 0.1em; }
}

/* Результаты */
.catalog-results { padding: 56px 0 120px; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.results-bar__count { font-size: 15px; font-weight: 600; }
.results-bar__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.sort { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sort select { height: 44px; padding: 0 4px 0 0; border: 0; border-bottom: 1px solid rgba(40, 40, 40, 0.5); border-radius: 0; background: transparent; color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer; }
.seg button { height: 44px; padding: 0 18px; border: 1px solid var(--text); background: none; color: var(--text); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.seg button + button { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--light); }

.results { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 40px; margin-top: 36px; }
.results__list { flex: 1.6 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.results__map { position: sticky; top: 24px; flex: 1 1 400px; min-width: 0; height: 780px; overflow: hidden; background: var(--ph-light); clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 0 100%); }
.results.is-list .results__map { display: none; }
.results__map-canvas { position: absolute; inset: 0; }
.results__map-ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; }
.results__map.has-map .results__map-ph { display: none; }
.map-pin { position: absolute; padding: 6px 12px; background: var(--text); color: var(--light); font-size: 12px; font-weight: 600; white-space: nowrap; }
.map-pin--ex { background: var(--gold-fill); color: var(--ink); font-weight: 700; }
.results__map-close { display: none; }

.ogrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 44px 24px; }
.results.is-list .ogrid { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }

.ocard { display: flex; flex-direction: column; gap: 14px; }
.ocard__media { position: relative; }
.ocard__photo { display: flex; align-items: flex-end; aspect-ratio: 4 / 3; padding: 16px; overflow: hidden; background: var(--ph-light); clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%); }
.ocard__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ocard__photo:hover { opacity: 1; }
.ocard__photo:hover img { transform: scale(1.02); }
.ocard__photo img { transition: transform 0.4s ease; }
.ocard__tools { position: absolute; left: 12px; top: 12px; display: flex; gap: 8px; }
.ocard__btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(40, 40, 40, 0.4); background: var(--light); color: var(--text); cursor: pointer; }
.ocard__btn[aria-pressed="true"] { background: var(--gold-fill); border-color: var(--gold-fill); color: var(--ink); }
.ocard__btn[data-toggle-list="fav"][aria-pressed="true"] .icon path { fill: currentColor; }
.ocard__kind { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.badge { padding: 3px 9px; border: 1px solid var(--gold-dark); color: var(--gold-dark); font-size: 10px; letter-spacing: 0.14em; }
.ocard__title { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.ocard__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.ocard__specs { font-size: 14px; color: var(--muted); }
.ocard__price { font-size: 18px; font-weight: 600; white-space: nowrap; }

.more { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.more__count { font-size: 14px; color: var(--muted); }
.more__btn[aria-busy="true"] { opacity: 0.5; pointer-events: none; }
.empty { display: flex; flex-direction: column; gap: 14px; padding: 48px; border: 1px solid rgba(40, 40, 40, 0.2); }
.empty__title { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; font-weight: var(--hw); text-transform: uppercase; }
.empty p { max-width: 560px; color: var(--body); }
.empty__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

@media (max-width: 767px) {
	.catalog-results { padding: 28px 0 64px; }
	.results-bar { flex-wrap: nowrap; gap: 12px; }
	.results-bar__count { font-size: 14px; }
	.sort__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.sort select { font-size: 13px; }
	.results { margin-top: 24px; gap: 0; }
	.results__list { flex: none; width: 100%; gap: 40px; }
	.ogrid { display: flex; flex-direction: column; gap: 36px; }
	.ocard { gap: 12px; }
	.ocard__photo { padding: 14px; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
	.ocard__tools { left: 10px; top: 10px; }
	.ocard__kind { font-size: 10px; gap: 6px 10px; }
	.ocard__title { font-size: 16px; }
	.ocard__specs { font-size: 13px; }
	.ocard__price { font-size: 17px; }
	.more { flex-direction: column; gap: 12px; }
	.more__btn { width: 100%; }
	.more__count { font-size: 13px; }
	.empty { padding: 28px 24px; }
	.results__map { display: none; }
	.results__map.is-open { position: fixed; inset: 0; z-index: 70; display: block; height: auto; clip-path: none; }
	.results__map.is-open .results__map-close { display: flex; position: absolute; right: 12px; top: 12px; z-index: 2; background: var(--light); color: var(--text); }
}

/* Полоса с формой: заголовок слева, форма в строку */
.band__inner { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 48px 80px; }
.band__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.band__text p { max-width: 440px; }
.lead-form--inline { flex: 1.3 1 520px; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 18px 24px; }
.lead-form--inline .consent { grid-column: 1 / -1; }
.lead-form--inline .btn { height: 52px; font-size: 12px; }
@media (max-width: 767px) {
	.band__inner { flex-direction: column; align-items: stretch; gap: 24px; }
	.band__text { flex: none; gap: 14px; font-size: 15px; }
	.lead-form--inline { flex: none; display: flex; align-items: stretch; }
	.lead-form--inline .consent { order: 3; }
	.lead-form--inline .btn { order: 4; height: 54px; }
}

/* Всплывающее сообщение */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; max-width: calc(100% - 40px); padding: 14px 20px; background: var(--text); color: var(--light); font-size: 14px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 767px) { .toast { bottom: 80px; } }
@media (min-width: 768px) { .lead-form--inline .consent { order: 5; } }

/* ==========================================================================
   Шаг 3. Страница объекта
   ========================================================================== */
.badge--gold { border-color: var(--gold); color: var(--gold); padding: 5px 12px; font-size: 11px; letter-spacing: 0.16em; }
.round-btn--lg { width: 48px; height: 48px; }

/* Карточка на тёмном фоне */
.ocard--dark .ocard__photo { background: var(--ph-dark); clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%); }
.ocard--dark .ph__label { color: var(--muted-dark); }
.ocard--dark .ocard__btn { border-color: var(--line-dark-2); background: rgba(var(--surface-rgb), 0.7); color: var(--on-dark); }
.ocard--dark .ocard__btn[aria-pressed="true"] { background: var(--gold-fill); border-color: var(--gold-fill); color: var(--ink); }
.ocard--dark .ocard__kind { color: var(--muted-dark); }
.ocard--dark .badge { border-color: var(--gold); color: var(--gold); }
.ocard--dark .ocard__specs { color: var(--muted-dark); }
.ocard--dark .ocard__price { color: var(--gold); font-weight: 500; }
.ogrid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px 24px; }

.obj-top { background: var(--dark); padding: 36px 0 88px; }
.obj-top__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "crumbs crumbs" "head actions" "gallery gallery" "bar bar"; align-items: end; column-gap: 64px; }
.obj-crumbs { grid-area: crumbs; }
.obj-head { grid-area: head; display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.obj-head__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.obj-head__title { font-size: clamp(28px, 3.4vw, 50px); line-height: 1.08; font-weight: var(--hw); letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.obj-head__sub { font-size: 15px; color: var(--muted-dark); }
.obj-actions { grid-area: actions; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.obj-tool { height: 48px; padding: 0 18px; border-color: var(--line-dark-2); font-size: 11px; }
.obj-tool[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.obj-tool[data-toggle-list="fav"][aria-pressed="true"] .icon path { fill: currentColor; }
.obj-share { width: 48px; height: 48px; }

.obj-gallery { grid-area: gallery; margin-top: 44px; }
.obj-panel--photo { display: flex; gap: 12px; }
.obj-stage { position: relative; flex: 2.1 1 0; min-width: 0; aspect-ratio: 16 / 10; padding: 22px; border: 0; color: inherit; cursor: zoom-in; clip-path: polygon(0 0, 100% 0, 100% 100%, 72px 100%, 0 calc(100% - 72px)); }
.obj-stage:disabled { cursor: default; }
.obj-stage .ph__mark { left: 20%; top: 6%; width: 92%; }
.obj-stage > img:not(.ph__mark), .obj-side__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.obj-side { flex: 1 1 0; min-width: 0; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
.obj-side__item { position: relative; justify-content: space-between; gap: 12px; padding: 16px; }
.obj-side__btn { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.obj-all { position: relative; margin-left: auto; height: 44px; padding: 0 18px; background: rgba(var(--surface-rgb), 0.7); font-size: 11px; }
.obj-panel--plan { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 32px; background: var(--light); aspect-ratio: 16 / 7; overflow: auto; }
.obj-plan { display: flex; align-items: center; justify-content: center; max-height: 100%; }
.obj-plan img { max-height: 100%; width: auto; object-fit: contain; }
.obj-panel--video { position: relative; aspect-ratio: 16 / 9; max-height: 78vh; margin: 0 auto; background: var(--black); display: flex; align-items: center; justify-content: center; }
.obj-panel--video iframe, .obj-panel--video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.obj-panel--map, .obj-map { position: relative; aspect-ratio: 16 / 7; padding: 0; background: var(--ph-light); }
.obj-map__canvas { position: absolute; inset: 0; }
.obj-map__ph { position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; padding: 20px; color: var(--text); }
.has-map .obj-map__ph { display: none; }

.obj-bar { grid-area: bar; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: 16px; }
.obj-tabs { display: flex; flex-wrap: wrap; gap: 0 28px; }
.obj-count { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--muted-dark); }
.obj-count .round-btn { color: var(--on-dark); }

.obj-body { padding: 96px 0 128px; }
.obj-body__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 64px 72px; }
.obj-main { flex: 1.75 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 80px; }
.obj-tiles { grid-template-columns: repeat(auto-fit, minmax(min(118px, 100%), 1fr)); gap: 24px; }
.obj-tiles > div { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 1px solid var(--text); }
.obj-tiles dt { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.obj-tiles dd { font-size: 18px; line-height: 1.3; font-weight: 500; }
.obj-block { display: flex; flex-direction: column; gap: 22px; }
.obj-h2 { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.14; font-weight: var(--hw); text-transform: uppercase; text-wrap: balance; }
.obj-text { max-width: 680px; font-size: 17px; line-height: 1.7; color: var(--body); }
.obj-text > * + * { margin-top: 1em; }
.obj-params { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 56px; margin-top: 8px; font-size: 15px; }
.obj-params > div { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line-light); }
.obj-params dt { color: var(--muted); }
.obj-params dd { font-weight: 600; text-align: right; }
.obj-map { aspect-ratio: 16 / 8; margin-top: 8px; clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 0 100%); }
.obj-near { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px 32px; font-size: 15px; }
.obj-near > div { display: flex; flex-direction: column; gap: 2px; }
.obj-near dt { font-weight: 600; }
.obj-near dd { color: var(--muted); }

.obj-aside { position: sticky; top: 24px; flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 26px; padding: 40px 36px 36px; background: var(--dark); color: var(--on-dark); color-scheme: var(--scheme); clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%); scroll-margin-top: 24px; }
.obj-price { display: flex; flex-direction: column; gap: 6px; }
.obj-price .kicker { font-size: 11px; }
.obj-price__value { font-size: 34px; line-height: 1.15; font-weight: 500; color: var(--gold); }
.obj-price__per { font-size: 14px; color: var(--muted-dark); }
.obj-manager { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.obj-manager__who { display: flex; align-items: center; gap: 16px; }
.obj-manager__photo { flex: 0 0 60px; width: 60px; height: 60px; overflow: hidden; border-radius: 50%; background: var(--ph-dark2); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
.obj-manager__photo img { width: 100%; height: 100%; object-fit: cover; }
.obj-manager__photo .obj-manager__mark { width: 30px; height: auto; object-fit: contain; }
.obj-manager__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.obj-manager__name { font-size: 16px; font-weight: 600; }
.obj-manager__role { font-size: 13px; color: var(--muted-dark); }
.obj-manager__btns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.obj-manager__btns .btn { height: 48px; padding: 0 10px; border-color: var(--line-dark-2); font-size: 11px; }
.obj-form { gap: 18px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.obj-form__title { font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.obj-similar { padding: 120px 0 128px; }
.obj-similar__grid { margin-top: 56px; }

/* Фото во весь экран */
.viewer { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.94); color: var(--on-dark); }
.viewer__top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.viewer__count { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; }
.viewer__stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 72px 96px; }
.viewer__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.viewer__prev, .viewer__next { position: absolute; top: 50%; transform: translateY(-50%); color: var(--on-dark); background: rgba(var(--surface-rgb), 0.6); }
.viewer__prev { left: 24px; }
.viewer__next { right: 24px; }

@media (max-width: 1099px) {
	.obj-top__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumbs" "head" "actions" "gallery" "bar"; }
	.obj-actions { margin-top: 24px; }
	.obj-aside { position: static; }
}

@media (max-width: 767px) {
	.obj-top { padding: 0 0 48px; }
	.obj-top__grid { display: flex; flex-direction: column; align-items: stretch; }
	.obj-crumbs { order: 1; }
	.obj-gallery { order: 2; margin: 4px 0 0; }
	.obj-bar { order: 3; margin-top: 10px; flex-wrap: nowrap; gap: 12px; }
	.obj-head { order: 4; margin-top: 24px; gap: 12px; }
	.obj-mobile { order: 5; }
	.obj-back { align-items: center; gap: 8px; min-height: 44px; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: var(--muted-dark); }
	.obj-head__title { font-size: 26px; line-height: 1.12; }
	.obj-head__sub { font-size: 14px; }
	.obj-stage { flex-basis: 100%; aspect-ratio: 4 / 3; padding: 12px; clip-path: polygon(0 0, 100% 0, 100% 100%, 40px 100%, 0 calc(100% - 40px)); }
	.obj-panel--plan, .obj-panel--map { aspect-ratio: 4 / 3; padding: 16px; }
	.obj-panel--map { padding: 0; }
	.obj-tabs { gap: 0 18px; flex-wrap: nowrap; overflow-x: auto; }
	.obj-tabs .tabs__btn { font-size: 11px; letter-spacing: 0.12em; white-space: nowrap; }
	.obj-count { flex: 0 0 auto; font-size: 11px; }
	.obj-mobile { display: flex; flex-direction: column; gap: 22px; margin-top: 22px; }
	.obj-price__value { font-size: 28px; }
	.obj-tiles--dark { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
	.obj-tiles--dark > div { padding: 14px 0; border-top: 1px solid var(--line-dark); gap: 2px; }
	.obj-tiles--dark dt { color: var(--muted-dark); font-size: 10px; }
	.obj-tiles--dark dd { font-size: 15px; }
	.obj-mcta { display: flex; flex-direction: column; gap: 10px; }
	.obj-mcta .btn--gold { height: 56px; }
	.obj-mcta__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.obj-mcta__pair .obj-tool { padding: 0 8px; gap: 8px; letter-spacing: 0.08em; }

	.obj-body { padding: 56px 0 64px; }
	.obj-body__grid { gap: 56px; }
	.obj-main { flex-basis: 100%; gap: 56px; }
	.obj-h2 { font-size: 24px; }
	.obj-text { font-size: 16px; }
	.obj-params { font-size: 14px; gap: 0; }
	.obj-params > div { padding: 13px 0; }
	.obj-map { aspect-ratio: 4 / 3; clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%); }
	.obj-aside { flex-basis: 100%; padding: 28px 22px 24px; gap: 22px; clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%); }
	.obj-aside .obj-manager { padding-top: 0; border-top: 0; }

	.obj-similar { padding: 64px 0; }
	.obj-similar__grid { margin-top: 32px; }
	.obj-similar__grid > :nth-child(n+3) { display: none; }
	.obj-similar__more { margin-top: 32px; }

	.viewer__stage { padding: 64px 0; }
	.viewer__prev, .viewer__next { top: auto; bottom: 20px; transform: none; }
	.viewer__prev { left: 20px; }
	.viewer__next { right: 20px; }
}

/* ==========================================================================
   Шаг 3. Эксклюзивная недвижимость
   ========================================================================== */
.ex-hero { position: relative; overflow: hidden; min-height: 760px; display: flex; flex-direction: column; justify-content: flex-end; padding: 200px var(--gutter) 72px; background: var(--hero); }
.ex-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.ex-hero__mark { position: absolute; right: -6%; top: -22%; width: 72%; opacity: 0.07; pointer-events: none; }
.ex-hero__label { position: absolute; right: 24px; top: 112px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); }
.ex-hero__media-m { display: none; }
.ex-hero__row { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 64px; }
.ex-hero__intro { flex: 1 1 620px; min-width: 0; max-width: 900px; display: flex; flex-direction: column; gap: 26px; }
.ex-hero__title { font-size: clamp(32px, 4.3vw, 62px); line-height: 1.06; font-weight: var(--hw); letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance; }
.ex-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.ex-hero__actions .link-arrow { font-size: 13px; letter-spacing: 0.12em; }

.ex-criteria { padding: 120px 0 128px; }
.ex-criteria__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 40px 48px; margin-top: 64px; }
.ex-crit { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--text); }
.ex-crit h3 { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.ex-crit p { font-size: 15px; color: var(--muted); }

.ex-list { padding: 120px 0; }
.ex-items { display: flex; flex-direction: column; gap: 120px; }
.ex-item { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.ex-item--alt { flex-direction: row-reverse; flex-wrap: wrap-reverse; }
.ex-item__photo { position: relative; flex: 1.6 1 520px; min-width: 0; aspect-ratio: 16 / 10; padding: 22px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 72px), calc(100% - 72px) 100%, 0 100%); }
.ex-item--alt .ex-item__photo { clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%, 0 72px); justify-content: flex-end; }
.ex-item__photo:hover { opacity: 1; }
.ex-item__photo > img:not(.ph__mark) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ex-item__photo:hover > img:not(.ph__mark) { transform: scale(1.02); }
.ex-item__photo .ph__mark { left: 18%; top: 8%; width: 92%; }
.ex-item--alt .ex-item__photo .ph__mark { left: -20%; top: 12%; }
.ex-item__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ex-item__kicker { display: flex; align-items: baseline; gap: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-dark); }
.ex-item__title { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.14; font-weight: var(--hw); letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance; }
.ex-item__text { font-size: 16px; color: var(--sec-dark); }
.params--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
.ex-item__price { font-size: 30px; line-height: 1.2; font-weight: 500; color: var(--gold); }
.ex-item__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ex-item__actions .btn--outline { border-color: var(--line-dark-2); }
.ex-item__fav { width: 48px; height: 48px; }
.ex-item__fav[aria-pressed="true"] .icon path { fill: currentColor; }
.ex-more { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 96px; }
.ex-more .btn--outline { border-color: var(--line-dark-2); padding: 0 28px; }
.ex-more__count { font-size: 14px; color: var(--muted-dark); }
.ex-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 640px; }

.ex-private__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 80px; }
.ex-private__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ex-private__text > p { max-width: 460px; }
.ex-manager { display: grid; grid-template-columns: 200px minmax(0, 1fr); grid-template-areas: "photo info" "photo btns"; align-content: end; gap: 14px 28px; margin-top: 20px; }
.ex-manager__photo { grid-area: photo; aspect-ratio: 4 / 5; padding: 14px; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
.ex-manager__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-manager__info { grid-area: info; align-self: end; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.ex-manager__name { font-size: 20px; line-height: 1.25; font-weight: 600; }
.ex-manager__btns { grid-area: btns; align-self: end; display: flex; flex-wrap: wrap; gap: 10px; }
.ex-manager__btns .btn { height: 48px; padding: 0 18px; font-size: 11px; font-weight: 700; }
.ex-private__form { flex: 1 1 440px; min-width: 0; }
.ex-private__head { display: flex; flex-direction: column; gap: 10px; }
.ex-private__head .kicker { font-size: 11px; }
.ex-private__title { font-size: 24px; line-height: 1.2; font-weight: var(--hw); letter-spacing: 0.01em; text-transform: uppercase; }
.ex-private__head p { font-size: 15px; }

@media (max-width: 1099px) {
	.ex-hero { min-height: 640px; }
}
@media (max-width: 767px) {
	.ex-hero { min-height: 0; padding: 4px var(--gutter) 34px; justify-content: flex-start; }
	.ex-hero__mark { display: none; }
	.ex-hero__img { position: relative; inset: auto; opacity: 1; aspect-ratio: 5 / 4; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
	.ex-hero__media-m { position: relative; aspect-ratio: 5 / 4; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
	.ex-hero__media-m .ph__mark { left: 8%; top: 8%; width: 110%; }
	.ex-hero__row { margin-top: 28px; gap: 24px; }
	.ex-hero__intro { flex-basis: 100%; gap: 18px; }
	.ex-hero__title { font-size: 28px; line-height: 1.1; }
	.ex-hero__actions { flex-basis: 100%; }
	.ex-hero__actions .btn { width: 100%; }
	.ex-criteria { padding: 56px 0 64px; }
	.ex-criteria__grid { margin-top: 32px; gap: 28px; }
	.ex-list { padding: 56px 0 64px; }
	.ex-items { gap: 72px; }
	.ex-item, .ex-item--alt { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 20px; }
	.ex-item__photo { flex: none; aspect-ratio: 4 / 3; padding: 12px; }
	.ex-item--alt .ex-item__photo { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%); justify-content: flex-start; }
	.ex-item__photo { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%); }
	.ex-item__info { flex: none; gap: 16px; }
	.ex-item__kicker { font-size: 11px; }
	.ex-item__title { font-size: 22px; }
	.ex-item__text { font-size: 15px; }
	.params--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ex-item__price { font-size: 24px; }
	.ex-item__actions { display: grid; grid-template-columns: minmax(0, 1fr) 48px; }
	.ex-item__actions .btn--gold { grid-column: 1 / -1; height: 52px; }
	.ex-more { flex-direction: column; align-items: stretch; text-align: center; margin-top: 56px; }
	.ex-manager { grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "photo info" "btns btns"; gap: 20px 16px; }
	.ex-manager__name { font-size: 17px; }
	.ex-manager__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ex-manager__btns .btn { padding: 0 8px; }
	.ex-private__text { gap: 16px; }
}

/* ==========================================================================
   Шаг 3. Избранное и сравнение
   ========================================================================== */
.list-head { background: var(--dark); padding: 36px 0 56px; }
.list-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-top: 28px; }
.list-head__main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.list-head__title { font-size: clamp(32px, 4vw, 58px); }
.list-head__note { max-width: 560px; font-size: 15px; color: var(--sec-dark); }
.list-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.list-btn { height: 48px; border-color: var(--line-dark-2); font-size: 11px; }
.list-link { min-height: 48px; padding: 0; border: 0; border-bottom: 1px solid rgba(var(--on-dark-rgb), 0.5); background: none; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.list-link[data-armed] { color: var(--gold); border-bottom-color: var(--gold); }
.cmp-diff { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 13px; font-weight: 500; cursor: pointer; }
.cmp-diff input { width: 20px; height: 20px; margin: 0; accent-color: var(--gold); }

.list-body { padding: 56px 0 128px; }
.list-loading { padding: 40px 0; font-size: 15px; color: var(--muted); }

.fav-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px; }
.fav-main { flex: 1.7 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.fav-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line-light); }
.fav-toolbar__sel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.fav-all { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 500; cursor: pointer; }
.fav-all input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--text); }
.fav-compare { height: 48px; padding: 0 20px; font-size: 11px; }
.fav-grid { gap: 44px 24px; }
.ocard__btn--select[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--light); }
.ocard__btn--select[aria-pressed="false"] .icon { opacity: 0; }
.fav-aside { flex: 1 1 380px; gap: 24px; }
.fav-aside__head { display: flex; flex-direction: column; gap: 10px; }
.fav-aside__head .kicker { font-size: 11px; }
.fav-aside__title { font-size: 22px; line-height: 1.2; font-weight: var(--hw); letter-spacing: 0.01em; text-transform: uppercase; }
.fav-picked { display: flex; flex-direction: column; }
.fav-picked li { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.fav-picked li:last-child { border-bottom: 1px solid var(--line-dark); }
.fav-picked__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fav-picked__title { font-size: 15px; font-weight: 600; }
.fav-picked__meta { font-size: 13px; color: var(--muted-dark); }
.fav-picked__hint { font-size: 14px; }
.fav-form { gap: 18px; }

.list-empty { display: flex; flex-direction: column; gap: 120px; }
.list-empty__box { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; padding: 56px; border: 1px solid rgba(40, 40, 40, 0.2); }
.list-empty__icon { flex: 0 0 120px; display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; background: var(--ph-light); color: var(--gold-dark); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.list-empty__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.list-empty__title { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; font-weight: var(--hw); text-transform: uppercase; }
.list-empty__text p { max-width: 620px; font-size: 16px; color: var(--muted); }
.list-empty__btns { display: flex; flex-direction: column; gap: 12px; }
.list-empty__btns .btn { height: 52px; }
.list-empty__grid { margin-top: 56px; }

/* Таблица сравнения */
.cmp-legend { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; font-size: 14px; color: var(--muted); }
.cmp-legend > span:first-child { display: block; flex: 0 0 20px; width: 20px; height: 20px; background: #e6ddc9; border: 1px solid rgba(40, 40, 40, 0.25); }
.cmp-scroll { overflow-x: auto; }
.cmp-table { width: 100%; min-width: 980px; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.cmp-table thead th { padding: 0 12px 24px; text-align: left; vertical-align: top; font-weight: 400; }
.cmp-table thead .cmp-table__param { width: 200px; padding: 0 16px 24px 0; vertical-align: bottom; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cmp-head { display: flex; flex-direction: column; gap: 10px; }
.cmp-head__photo { position: relative; aspect-ratio: 4 / 3; padding: 12px; clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%); }
.cmp-head__photo:hover { opacity: 1; }
.cmp-head__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-head__kind { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cmp-head__title { font-size: 15px; line-height: 1.3; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.cmp-head__remove { align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.cmp-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; aspect-ratio: 4 / 3; padding: 16px; border: 1px dashed rgba(40, 40, 40, 0.5); text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.cmp-add--m { aspect-ratio: auto; flex-direction: row; min-height: 64px; margin-top: 28px; }
.cmp-table tbody th { padding: 16px 16px 16px 12px; text-align: left; font-weight: 500; color: var(--body); border-top: 1px solid var(--line-light); }
.cmp-table tbody td { padding: 16px 12px; font-weight: 600; border-top: 1px solid var(--line-light); }
.cmp-table tbody tr:first-child td { font-size: 17px; }
.cmp-table tr.is-diff { background: #e6ddc9; }
.cmp-table.only-diff tr.is-same { display: none; }
.cmp-table__cta th, .cmp-table__cta td { background: var(--light); }
.cmp-table__cta .btn { width: 100%; max-width: 220px; height: 48px; }
.cmp-pager { align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; font-size: 13px; font-weight: 600; }
.cmp-pager__btn { border-color: var(--text); color: var(--text); }
.cmp-pager__btn:not(:disabled) { background: var(--text); color: var(--light); }
.cmp-pager__btn:disabled { opacity: 0.4; cursor: default; }

@media (max-width: 767px) {
	.list-head { padding: 0 0 36px; }
	.list-head__row { margin-top: 12px; gap: 20px; }
	.list-head__main { flex-basis: 100%; gap: 12px; }
	.list-head__title { font-size: 30px; }
	.list-head__note { font-size: 14px; }
	.list-head__actions { gap: 12px 24px; }
	.list-body { padding: 32px 0 64px; }
	.fav-layout { gap: 48px; }
	.fav-main { flex-basis: 100%; gap: 24px; }
	.fav-toolbar { flex-wrap: nowrap; padding-bottom: 14px; }
	.fav-toolbar__sel { gap: 4px 16px; font-size: 14px; }
	.fav-all { display: none; }
	.fav-compare { flex: 0 0 auto; height: 44px; padding: 0 16px; }
	.fav-grid { gap: 36px; }
	.fav-aside { flex-basis: 100%; }
	.list-empty { gap: 64px; }
	.list-empty__box { flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px 22px; }
	.list-empty__icon { flex: 0 0 auto; width: 88px; height: 88px; }
	.list-empty__text { flex: none; }
	.list-empty__btns { align-self: stretch; }
	.list-empty__grid { margin-top: 32px; }
	.list-empty__grid > :nth-child(n+3) { display: none; }
	.list-empty__more { margin-top: 32px; }

	.cmp-legend { margin-bottom: 20px; font-size: 13px; }
	.cmp-scroll { overflow: visible; }
	.cmp-table, .cmp-table thead, .cmp-table tbody { display: block; min-width: 0; }
	.cmp-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
	.cmp-table.is-single tr { grid-template-columns: minmax(0, 1fr); }
	.cmp-table thead .cmp-table__param { display: none; }
	.cmp-table thead th { padding: 0 0 20px; }
	.cmp-table .is-off-m { display: none; }
	.cmp-table tbody th { grid-column: 1 / -1; padding: 12px 10px 2px; border-top: 1px solid var(--line-light); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
	.cmp-table tbody td { padding: 2px 10px 12px; border-top: 0; font-size: 14px; }
	.cmp-table tbody tr:first-child td { font-size: 15px; }
	.cmp-table__cta th { display: none; }
	.cmp-table__cta td { padding: 20px 0 0; }
	.cmp-table__cta .btn { max-width: none; }
	.cmp-head__title { font-size: 13px; }
	.cmp-head__kind { font-size: 10px; }
	.cmp-head__photo { clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
}

/* ==========================================================================
   Шаг 4. Страницы сайта
   ========================================================================== */
.page-top { background: var(--dark); padding: 36px 0 96px; }
.page-top--long { padding-bottom: 128px; }
.page-top--short { padding-bottom: 72px; }
.page-top--doc { padding-bottom: 72px; }
.page-top__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 80px; margin-top: 28px; }
.page-top__main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.page-title { font-size: clamp(32px, 4vw, 58px); line-height: 1.06; font-weight: var(--hw); letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.page-title--doc { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.1; }
.page-title--art { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; max-width: 1000px; }
.page-top__lead { flex: 0 1 460px; min-width: 0; font-size: 17px; line-height: 1.65; color: var(--sec-dark); }
.page-top__lead--inline { flex: none; max-width: 520px; }
.doc-meta { font-size: 14px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 12px; border: 1px solid rgba(var(--on-dark-rgb), 0.3); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sec-dark); }

/* Услуги */
.svc-list { margin-top: 72px; border-bottom: 1px solid rgba(var(--on-dark-rgb), 0.2); }
.svc-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 48px; padding: 44px 0; border-top: 1px solid rgba(var(--on-dark-rgb), 0.2); }
.svc-row > .num { flex: 0 0 56px; padding-top: 10px; }
.svc-row__title { flex: 1 1 320px; min-width: 0; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; font-weight: var(--hw); text-transform: uppercase; }
.svc-row__body { flex: 1.4 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.svc-row__body p { font-size: 16px; line-height: 1.65; color: var(--sec-dark); }

.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 80px; }
.split-head__main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split-head__text { flex: 1 1 380px; min-width: 0; max-width: 480px; font-size: 16px; }

.steps { display: grid; gap: 40px 32px; margin-top: 72px; }
.steps--5 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.steps--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px 48px; margin-top: 64px; }
.steps > * { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--text); }
.steps__title { font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.steps__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.steps--dark > * { border-top-color: var(--line-dark-2); }
.steps--dark .steps__text { color: var(--muted-dark); }

.svc-hero { display: flex; flex-wrap: wrap; align-items: stretch; gap: 40px 64px; margin-top: 28px; }
.svc-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; }
.svc-hero__text .page-top__lead { flex: none; max-width: 560px; }
.svc-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.svc-hero__btns .btn--outline { border-color: var(--line-dark-2); }
.svc-hero__photo { position: relative; flex: 1 1 440px; min-width: 0; aspect-ratio: 16 / 10; padding: 20px; justify-content: flex-end; clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 0 100%); }
.svc-hero__photo img:not(.ph__mark) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-hero__photo .ph__mark { left: 4%; top: 6%; width: 92%; }
.svc-hero--about .svc-hero__text { justify-content: flex-end; padding-bottom: 8px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px 32px; margin-top: 64px; }
.facts > div { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }
.facts dd { font-size: 17px; font-weight: 500; }
.big-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; margin-top: 64px; }
.big-stats > div { display: flex; flex-direction: column-reverse; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.big-stats dd { font-size: clamp(40px, 4vw, 64px); line-height: 1; font-weight: 300; color: var(--gold); }
.big-stats dt { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }

.stages { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 80px; }
.stages__head { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.stages__head p { max-width: 420px; font-size: 16px; }
.stages__list { flex: 1.6 1 560px; min-width: 0; border-bottom: 1px solid var(--line-dark); }
.stages__list li { display: flex; align-items: baseline; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.stages__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.stages__title { font-size: 16px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.stages__text { font-size: 14px; color: var(--muted-dark); }
.stages__term { flex: 0 0 auto; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sec-dark); }

.svc-price-faq { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 64px; }
.price-box { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 36px; border: 1px solid rgba(40, 40, 40, 0.2); }
.price-box__main { font-size: 22px; line-height: 1.35; font-weight: 500; }
.price-box__note { font-size: 14px; }
.faq-wrap { flex: 1.5 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.faq { border-bottom: 1px solid var(--line-light); }
.faq__item { border-top: 1px solid var(--line-light); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; min-height: 64px; padding: 16px 0; border: 0; background: none; color: var(--text); font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
.faq__icon { position: relative; flex: 0 0 14px; width: 14px; height: 14px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: currentColor; transition: transform 0.2s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 40px 22px 0; font-size: 15px; color: var(--muted); }
.svc-other { margin-top: 120px; padding-top: 64px; border-top: 1px solid var(--line-light); }
.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px 32px; margin-top: 48px; }
.svc-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 24px; border-top: 1px solid var(--text); }
.svc-card__title { font-size: 20px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.svc-card__text { font-size: 15px; color: var(--muted); }
.svc-card__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

/* О компании, команда */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px 24px; margin-top: 56px; }
.person { display: flex; flex-direction: column; gap: 6px; }
.person__photo { position: relative; aspect-ratio: 4 / 5; margin-bottom: 10px; padding: 14px; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person__name { font-size: 17px; font-weight: 600; }
.person__role { font-size: 14px; color: var(--muted); }
.people__more { margin-top: 32px; }
.reqs { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 80px; margin-top: 120px; padding-top: 64px; border-top: 1px solid var(--line-light); }
.reqs--dark { margin-top: 0; padding-top: 0; border-top: 0; }
.reqs__head { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.reqs__body { flex: 1.6 1 560px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.reqs__list { align-self: stretch; border-bottom: 1px solid var(--line-light); }
.reqs__list > div { display: grid; grid-template-columns: minmax(140px, 0.6fr) 1fr; gap: 24px; padding: 14px 0; border-top: 1px solid var(--line-light); font-size: 14px; }
.reqs__list dt { color: var(--muted); }
.reqs__list dd { font-weight: 600; }
.reqs--dark .reqs__list, .reqs--dark .reqs__list > div { border-color: var(--line-dark); }
.reqs--dark .reqs__list dt { color: var(--muted-dark); }
.reqs__docs { display: flex; flex-wrap: wrap; gap: 10px; }
.reqs__docs .btn { height: 44px; padding: 0 16px; font-size: 11px; }
.is-ph { cursor: default; opacity: 0.8; }

.team-tabs { flex-wrap: wrap; gap: 0 28px; }
.team-list { padding-top: 64px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 64px 24px; }
.agent { display: flex; flex-direction: column; gap: 12px; }
.agent__photo { position: relative; aspect-ratio: 4 / 5; margin-bottom: 8px; padding: 14px; clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%); }
.agent__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.agent__role { font-size: 11px; }
.agent__name { font-size: 22px; line-height: 1.25; font-weight: 500; }
.agent__about { font-size: 14px; }
.agent__facts > div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-top: 1px solid var(--line-light); font-size: 13px; }
.agent__facts > div:last-child { border-bottom: 1px solid var(--line-light); }
.agent__facts dt { color: var(--muted); }
.agent__facts dd { font-weight: 600; text-align: right; }
.agent__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.agent__btns .btn { height: 48px; padding: 0 10px; font-size: 11px; }

/* Контакты */
.contacts { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 80px; margin-top: 28px; }
.contacts__intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.contacts__intro .page-top__lead { flex: none; max-width: 440px; font-size: 16px; }
.contacts__list { flex: 1.5 1 520px; min-width: 0; border-bottom: 1px solid var(--line-dark); }
.contacts__list > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: center; gap: 16px 32px; padding: 24px 0; border-top: 1px solid var(--line-dark); }
.contacts__list dt { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }
.contacts__phone { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.contacts__big { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; font-weight: 400; color: var(--gold); }
.contacts__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.contacts__row .btn--outline, .contacts__phone .btn { height: 44px; padding: 0 18px; font-size: 11px; }
.contacts__row .btn--outline { border-color: var(--line-dark-2); }
.contacts__note { display: block; max-width: 420px; margin-top: 10px; font-size: 11px; color: var(--muted-dark); }
.contacts__col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.contacts__mail, .contacts__addr { font-size: 17px; font-weight: 500; }
.contacts__hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; font-size: 17px; }
.contacts__hours span:nth-child(odd) { color: var(--sec-dark); }
.contacts-map { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 64px; }
.contacts-map__main { flex: 1.5 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.office-map { position: relative; aspect-ratio: 16 / 10; padding: 0; clip-path: polygon(64px 0, 100% 0, 100% 100%, 0 100%, 0 64px); }
.office-map__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; }
.office-map__ph:hover { opacity: 1; background: #d8d1c2; }
.office-map__ph > span { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.office-map__coords { letter-spacing: 0.06em; text-transform: none; }
.has-map .office-map__ph { display: none; }
.office-addr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--text); }
.office-addr__text { font-size: 17px; font-weight: 600; }
.office-land > div { display: flex; flex-direction: column; gap: 8px; }
.office-land dd { font-size: 15px; color: var(--body); }
.contacts-form { flex: 1 1 400px; min-width: 0; }

/* Документы */
.doc__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 80px; }
.toc { display: flex; flex-direction: column; gap: 18px; }
.toc ol { border-bottom: 1px solid var(--line-light); }
.toc li a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-light); font-size: 14px; }
.toc .num { flex: 0 0 auto; }
.doc__nav { position: sticky; top: 24px; flex: 1 1 300px; min-width: 0; max-width: 380px; }
.doc__nav .link-arrow { margin-top: 10px; }
.doc__text { flex: 2 1 560px; min-width: 0; max-width: 780px; }
.prose-fajr { font-size: 17px; line-height: 1.75; color: var(--body); }
.prose-fajr > * + * { margin-top: 1.1em; }
.prose-fajr h2 { margin-top: 2.2em; scroll-margin-top: 24px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); }
.prose-fajr h2:first-child { margin-top: 0; }
.prose-fajr h3 { margin-top: 1.8em; font-size: 17px; font-weight: 600; color: var(--text); }
.prose-fajr a { border-bottom: 1px solid currentColor; color: var(--gold-dark); }
.prose-fajr ul, .prose-fajr ol { display: flex; flex-direction: column; }
.prose-fajr ul li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line-light); }
.prose-fajr ul li:last-child { border-bottom: 1px solid var(--line-light); }
.prose-fajr ul li::before { content: ""; position: absolute; left: 0; top: 1.4em; width: 12px; height: 1px; background: var(--gold-dark); }
.prose-fajr ol { counter-reset: n; }
.prose-fajr ol li { counter-increment: n; position: relative; padding: 6px 0 6px 32px; }
.prose-fajr ol li::before { content: counter(n) "."; position: absolute; left: 0; font-weight: 600; color: var(--gold-dark); }
.prose-fajr .is-style-fajr-important, .prose-fajr blockquote { padding: 20px 24px; border-left: 2px solid var(--gold-dark); background: #e6ddc9; font-size: 16px; color: var(--text); }
.prose-fajr .is-style-fajr-important::before { content: "Важно"; display: block; margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); }
.prose-fajr blockquote { margin: 0; }
.prose-fajr img { height: auto; }
.prose-fajr figure { margin: 2em 0; }
.prose-fajr figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.doc-num { color: var(--gold-dark); }
.page-prose { max-width: 780px; }

/* Спасибо, 404 */
.thanks { position: relative; overflow: hidden; background: var(--dark); padding: 96px 0 72px; }
.thanks__mark { position: absolute; right: -6%; top: -14%; width: 52%; opacity: 0.06; pointer-events: none; }
.thanks__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.thanks__check { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 10px; border: 1px solid var(--gold); color: var(--gold); }
.thanks__inner .page-top__lead { flex: none; }
.thanks .steps { align-self: stretch; margin-top: 48px; }
.thanks__bar { align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.thanks__bar .btn--outline { border-color: var(--line-dark-2); }
.thanks__links { display: flex; gap: 24px; margin-left: auto; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px 24px; margin-top: 56px; }
.blog-grid { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.pcard { display: flex; flex-direction: column; gap: 12px; }
.pcard__photo { position: relative; aspect-ratio: 4 / 3; margin-bottom: 4px; padding: 14px; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
.pcard__photo:hover { opacity: 1; }
.pcard__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pcard__cat { color: var(--gold-dark); }
.pcard__meta--dark { color: var(--muted-dark); }
.pcard__meta--dark .pcard__cat { color: var(--gold); }
.pcard__title { font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.pcard__text { font-size: 14px; color: var(--muted); }
.nf { background: var(--dark); padding: 72px 0 120px; }
.nf__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 96px; }
.nf__main { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.nf__code { font-size: clamp(120px, 14vw, 200px); line-height: 0.9; font-weight: 200; color: var(--gold); }
.nf__main .page-top__lead { flex: none; }
.nf__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.nf__btns .btn--outline { border-color: var(--line-dark-2); }
.nf__nav { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding-top: 24px; }
.nf__nav ul { border-bottom: 1px solid var(--line-dark); }
.nf__nav li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; border-top: 1px solid var(--line-dark); font-size: 15px; font-weight: 500; }
.nf__nav p { font-size: 14px; }
.nf__phone { font-weight: 600; color: var(--on-dark); }

/* Блог */
.blog-top { padding-bottom: 88px; }
.blog-tabs { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 48px; border-bottom: 1px solid var(--line-dark); }
.blog-tabs .tabs__btn { display: inline-flex; align-items: center; }
.blog-tabs .tabs__btn[aria-current] { border-bottom-color: var(--gold); color: var(--on-dark); }
.blog-feat { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; margin-top: 56px; }
.blog-feat__photo { position: relative; flex: 1.2 1 520px; min-width: 0; aspect-ratio: 16 / 10; padding: 20px; justify-content: flex-end; clip-path: polygon(0 0, 100% 0, 100% 100%, 64px 100%, 0 calc(100% - 64px)); }
.blog-feat__photo:hover { opacity: 1; }
.blog-feat__photo img:not(.ph__mark) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-feat__photo .ph__mark { left: 2%; top: 4%; width: 96%; }
.blog-feat__info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.blog-feat__title { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.14; font-weight: var(--hw); text-transform: uppercase; text-wrap: balance; }
.blog-feat__info p { font-size: 15px; }
.blog-empty { margin-top: 48px; }
.blog-more { display: flex; justify-content: center; margin-top: 56px; }
.blog-objects { margin-top: 96px; padding-top: 64px; border-top: 1px solid var(--line-light); }
.blog-objects .section-head__main p { max-width: 440px; font-size: 15px; }
.blog-objects__grid { margin-top: 48px; }

/* Статья */
.art-top { padding-bottom: 72px; }
.art-head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 28px; }
.art-head .page-top__lead { flex: none; max-width: 680px; }
.art-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 6px; }
.art-author { display: flex; align-items: center; gap: 12px; }
.art-author__photo { flex: 0 0 40px; width: 40px; height: 40px; overflow: hidden; background: var(--ph-dark2); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.art-author__photo img { width: 100%; height: 100%; object-fit: cover; }
.art-author__text { display: flex; flex-direction: column; }
.art-author__name { font-size: 14px; font-weight: 600; }
.art-author__role { font-size: 12px; color: var(--muted-dark); }
.art-date { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
.art-cover { position: relative; aspect-ratio: 21 / 9; margin-top: 48px; padding: 20px; justify-content: flex-end; clip-path: polygon(0 0, 100% 0, 100% 100%, 72px 100%, 0 calc(100% - 72px)); }
.art-cover img:not(.ph__mark) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-cover .ph__mark { left: 2%; top: 4%; width: 70%; }
.art__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 72px; }
.art__text { flex: 2 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 56px; }
.art__aside { position: sticky; top: 24px; flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.art-share { display: flex; flex-direction: column; gap: 14px; padding-top: 32px; border-top: 1px solid var(--line-light); }
.art-share__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.art-share__btns .btn { height: 44px; padding: 0 16px; font-size: 11px; }
.art-card { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 24px; border: 1px solid rgba(40, 40, 40, 0.2); }
.art-card__photo { position: relative; flex: 0 0 96px; aspect-ratio: 1; padding: 8px; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
.art-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-card__text { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 14px; }
.art-card__name { font-size: 18px; font-weight: 600; }
.art-form { padding: 32px 28px; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); gap: 18px; }
.art-form__title { font-size: 20px; line-height: 1.2; font-weight: var(--hw); text-transform: uppercase; }
.art-objects { padding-top: 0; }
.art-objects .container { padding-top: 72px; border-top: 1px solid var(--line-light); }
.contacts-form .lead-form, .art-form .lead-form { gap: 18px; }

@media (max-width: 1099px) {
	.doc__nav, .art__aside { position: static; max-width: none; }
}
@media (max-width: 767px) {
	.page-top { padding: 0 0 56px; }
	.page-top--long { padding-bottom: 64px; }
	.page-top__row { margin-top: 12px; gap: 16px; }
	.page-top__main { flex-basis: 100%; gap: 14px; }
	.page-title { font-size: 30px; line-height: 1.1; }
	.page-title--doc { font-size: 24px; }
	.page-title--art { font-size: 26px; }
	.page-top__lead { flex-basis: 100%; font-size: 15px; }
	.svc-list { margin-top: 36px; }
	.svc-row { flex-direction: column; gap: 14px; padding: 28px 0; }
	.svc-row > .num { flex: none; padding: 0; }
	.svc-row__title { flex: none; font-size: 26px; }
	.svc-row__body { flex: none; gap: 16px; }
	.svc-row__body p { font-size: 15px; }
	.split-head { gap: 16px; }
	.split-head__main, .split-head__text { flex-basis: 100%; }
	.steps { margin-top: 36px; gap: 0; }
	.steps > * { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 0; padding: 18px 0; border-top-color: var(--line-light); }
	.steps--dark > * { border-top-color: var(--line-dark); }
	.steps .num { grid-row: 1 / 3; padding-top: 3px; }
	.steps__title { font-size: 15px; }
	.steps__text { font-size: 14px; }
	.svc-hero { flex-direction: column-reverse; gap: 24px; margin-top: 12px; }
	.svc-hero__photo { flex: none; aspect-ratio: 4 / 3; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
	.svc-hero__text { flex: none; gap: 14px; }
	.svc-hero__btns { display: grid; grid-template-columns: minmax(0, 1fr); }
	.facts { margin-top: 36px; gap: 0; }
	.facts > div { padding: 14px 0; }
	.big-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; margin-top: 36px; }
	.big-stats dd { font-size: 40px; }
	.stages { gap: 28px; }
	.stages__head, .stages__list { flex-basis: 100%; }
	.stages__list li { gap: 6px 14px; padding: 16px 0; flex-wrap: wrap; }
	.stages__body { flex: 1 1 0; }
	.stages__term { flex-basis: 100%; padding-left: 34px; }
	.svc-price-faq { gap: 48px; }
	.price-box { flex-basis: 100%; padding: 24px; }
	.price-box__main { font-size: 18px; }
	.faq-wrap { flex-basis: 100%; gap: 24px; }
	.faq__q { font-size: 15px; }
	.faq__a { padding-right: 0; }
	.svc-other { margin-top: 64px; padding-top: 48px; }
	.svc-cards { margin-top: 28px; gap: 28px; }
	.people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; margin-top: 32px; }
	.person__name { font-size: 15px; }
	.person__role { font-size: 12px; }
	.reqs { margin-top: 64px; padding-top: 48px; gap: 24px; }
	.reqs__head, .reqs__body { flex-basis: 100%; }
	.reqs__list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.team-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 0 20px; margin-top: 8px; }
	.team-tabs .tabs__btn { white-space: nowrap; }
	.team-list { padding: 32px 0 64px; }
	.team-grid { gap: 48px; }
	.contacts { gap: 32px; margin-top: 12px; }
	.contacts__intro, .contacts__list { flex-basis: 100%; }
	.contacts__list > div { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px 0; }
	.contacts__phone .btn { width: 100%; }
	.contacts__hours { font-size: 15px; }
	.contacts-map { gap: 48px; }
	.contacts-map__main { flex-basis: 100%; gap: 24px; }
	.office-map { aspect-ratio: 4 / 3; clip-path: polygon(36px 0, 100% 0, 100% 100%, 0 100%, 0 36px); }
	.contacts-form { flex-basis: 100%; }
	.doc__grid { gap: 32px; }
	.doc__nav { flex-basis: 100%; }
	.prose-fajr { font-size: 16px; }
	.prose-fajr h2 { font-size: 17px; }
	.thanks { padding: 40px 0 56px; }
	.thanks__mark { width: 90%; top: 4%; }
	.thanks .steps { margin-top: 24px; }
	.thanks__bar { margin-top: 40px; flex-direction: column; align-items: stretch; }
	.thanks__links { margin: 8px 0 0; justify-content: space-between; }
	.pgrid { margin-top: 32px; gap: 36px; }
	.nf { padding: 40px 0 64px; }
	.nf__code { font-size: 112px; }
	.nf__btns { display: grid; grid-template-columns: minmax(0, 1fr); align-self: stretch; }
	.blog-top { padding-bottom: 48px; }
	.blog-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 0 20px; margin-top: 28px; }
	.blog-tabs .tabs__btn { white-space: nowrap; }
	.blog-feat { flex-direction: column; align-items: stretch; gap: 20px; margin-top: 32px; }
	.blog-feat__photo { flex: none; aspect-ratio: 4 / 3; clip-path: polygon(0 0, 100% 0, 100% 100%, 40px 100%, 0 calc(100% - 40px)); }
	.blog-feat__info { flex: none; gap: 14px; }
	.blog-feat__title { font-size: 22px; }
	.blog-more .btn { width: 100%; }
	.blog-objects { margin-top: 64px; padding-top: 48px; }
	.blog-objects__grid { margin-top: 28px; }
	.blog-objects__grid > :nth-child(n+3) { display: none; }
	.art-top { padding-bottom: 40px; }
	.art-head { margin-top: 12px; gap: 14px; }
	.art-cover { aspect-ratio: 4 / 3; margin-top: 28px; clip-path: polygon(0 0, 100% 0, 100% 100%, 40px 100%, 0 calc(100% - 40px)); }
	.art__grid { gap: 48px; }
	.art__text, .art__aside { flex-basis: 100%; }
	.art__text { gap: 40px; }
	.art-card { padding: 18px; }
	.art-form { padding: 28px 22px; }
	.art-objects .container { padding-top: 48px; }
}

/* Шаг 5. Сообщение об ошибке в форме заявки */
.form-error { grid-column: 1 / -1; padding: 12px 16px; border-left: 2px solid #e0795b; background: rgba(224, 121, 91, 0.12); font-size: 14px; line-height: 1.5; color: var(--on-dark); }
.section--light .lead-form:not(.lead-form--card) .form-error { color: var(--text); }
.lead-form button[disabled] { opacity: 0.7; cursor: progress; }

/* ==========================================================================
   Анимация кнопок: вариант «Срезанный угол» (утверждён 13 октября)
   При наведении у кнопки срезается правый верхний угол, как у фото и карточек.
   ========================================================================== */
:where(.btn, .square-btn, .ocard__btn) { position: relative; }
.btn, .square-btn, .ocard__btn {
	--cut: 14px;
	clip-path: polygon(0 0, 100% 0, 100% 0, 100% 100%, 0 100%);
	transition: clip-path 0.3s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
.btn--sm, .ocard__btn, .square-btn { --cut: 12px; }
.btn .icon, .link-arrow .icon, .link-plain .icon, .svc-card__more .icon { transition: transform 0.25s ease; }
.btn:hover, .link-arrow:hover, .link-plain:hover, .ocard__btn:hover, .square-btn:hover, .svc-card:hover { opacity: 1; }

@media (hover: hover) {
	.btn:not(:disabled):hover, .square-btn:hover, .ocard__btn:hover {
		clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
	}
	.btn--gold:not(:disabled):hover { background: #b98a4a; border-color: #b98a4a; --bc: transparent; }
	.btn--outline:hover, .square-btn:hover, .round-btn:hover { border-color: var(--gold); color: var(--gold); --bc: var(--gold); }
	.section--light .btn--outline:hover, .btn--outline-dark:hover { border-color: var(--gold-dark); color: var(--gold-dark); --bc: var(--gold-dark); }
	.ocard__btn:hover { border-color: var(--gold-dark); color: var(--gold-dark); --bc: var(--gold-dark); }
	.ocard--dark .ocard__btn:hover, .ocard__btn[aria-pressed="true"]:hover { border-color: var(--gold); color: var(--gold); --bc: var(--gold); }
	/* Рамка не разрывается: по линии среза рисуется диагональ того же цвета. */
	.btn:not(:disabled):hover::after, .square-btn:hover::after, .ocard__btn:hover::after { width: var(--cut); height: var(--cut); }
	.ocard__btn[aria-pressed="true"]:hover { color: var(--ink); }
	.btn:hover .icon, .link-arrow:hover .icon, .link-plain:hover .icon, .svc-card:hover .svc-card__more .icon { transform: translateX(4px); }
	.btn:hover .icon-phone, .btn:hover .icon-chat, .btn:hover .icon-heart, .btn:hover .icon-compare, .btn:hover .icon-share, .btn:hover .icon-doc, .btn:hover .icon-link, .btn:hover .icon-plus { transform: none; }
	.link-arrow, .link-plain, .list-link { transition: color 0.25s ease, border-color 0.25s ease; }
	.link-arrow:hover, .link-plain:hover { color: var(--gold-dark); border-bottom-color: var(--gold-dark); }
	.link-arrow--light:hover, .section--dark .link-arrow:hover, .page-top .link-arrow:hover, .site-footer .link-arrow:hover { color: var(--gold); border-bottom-color: var(--gold); }
	.list-link:hover { color: var(--gold); border-bottom-color: var(--gold); }
	.round-btn { transition: border-color 0.25s ease, color 0.25s ease; }
	.cmp-add:hover { opacity: 1; border-color: var(--gold-dark); color: var(--gold-dark); }
	.svc-card__title, .svc-row__title a, .pcard__title a, .ocard__title a { transition: color 0.25s ease; }
	.svc-card:hover .svc-card__title, .pcard__title a:hover, .ocard__title a:hover { opacity: 1; color: var(--gold-dark); }
	.svc-row__title a:hover, .ocard--dark .ocard__title a:hover { opacity: 1; color: var(--gold); }
}

/* Диагональ рамки на срезе (появляется вместе со срезом). */
.btn::after, .square-btn::after, .ocard__btn::after {
	content: "";
	position: absolute;
	top: -1px;
	right: -1px;
	width: 0;
	height: 0;
	pointer-events: none;
	background: linear-gradient(to top right, transparent calc(50% - 1.2px), var(--bc, transparent) calc(50% - 1.2px), var(--bc, transparent) 50%, transparent 50%);
	transition: width 0.3s ease, height 0.3s ease;
}

/* Нажатие: кнопка чуть «утапливается». */
.btn:not(:disabled):active, .square-btn:active, .ocard__btn:active, .round-btn:active { transform: scale(0.97); }

/* «В избранное» и «К сравнению»: короткий отклик иконки при добавлении. */
@keyframes fajr-pop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
[data-toggle-list].is-pop .icon { animation: fajr-pop 0.35s ease; }

@media (prefers-reduced-motion: reduce) {
	.btn, .square-btn, .ocard__btn, .btn::after, .square-btn::after, .ocard__btn::after, .round-btn, .cmp-add, .list-link, .link-arrow, .link-plain, .btn .icon, .link-arrow .icon { transition: none; }
	[data-toggle-list].is-pop .icon { animation: none; }
	.btn:active, .square-btn:active, .ocard__btn:active, .round-btn:active { transform: none; }
}
/* Срез угла обрезает внешнюю рамку фокуса — рисуем её внутри кнопки. */
.btn:focus-visible, .square-btn:focus-visible, .ocard__btn:focus-visible { outline-offset: -4px; }
.btn--gold:focus-visible { outline-color: var(--ink); }

/* Уведомление о cookie */
.cookie { position: fixed; left: 24px; bottom: 24px; z-index: 80; display: flex; align-items: center; gap: 16px 24px; max-width: 560px; padding: 18px 20px 18px 24px; border: 1px solid var(--line-dark); background: var(--dark); color: var(--sec-dark); font-size: 13px; line-height: 1.55; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }
.cookie a { border-bottom: 1px solid rgba(var(--on-dark-rgb), 0.5); color: var(--on-dark); }
.cookie .btn { flex: 0 0 auto; }
@media (max-width: 767px) {
	.cookie { left: 12px; right: 12px; bottom: 76px; flex-direction: column; align-items: stretch; padding: 16px; }
}

/* ==========================================================================
   Тема «День». Ночь — основная (как в макетах); днём тёмные блоки становятся
   светлыми, светлые — чуть темнее, чтобы сохранился ритм страницы.
   ========================================================================== */
:root[data-theme="light"] {
	--dark: #fbf9f5;
	--hero: #f6f2ea;
	--aside: #f3eee5;
	--ph-dark: #e9e3d7;
	--ph-dark2: #e4ddd0;
	--black: #e9e4da;
	--light: #efeae0;
	--ph-light: #e0d9cb;
	--on-dark: #1f1e1b;
	--muted-dark: #6b665d;
	--sec-dark: #47433c;
	--gold: #8a6127;
	--on-dark-rgb: 31, 30, 27;
	--surface-rgb: 251, 249, 245;
	--line-dark: rgba(31, 30, 27, 0.14);
	--line-dark-2: rgba(31, 30, 27, 0.36);
	--panel: #ffffff;
	--scheme: light;
}
:root { color-scheme: var(--scheme); }

/* Логотип: светлая надпись ночью, тёмная днём. */
.logo-day { display: none !important; }
:root[data-theme="light"] .logo-night { display: none !important; }
:root[data-theme="light"] .logo-day { display: block !important; }
@media (max-width: 767px) {
	:root[data-theme="light"] .logo-day.only-desktop { display: none !important; }
}
@media (min-width: 768px) {
	:root[data-theme="light"] .logo-day.only-mobile { display: none !important; }
}

/* Просмотр фото во весь экран всегда тёмный. */
.viewer { --on-dark: #f3f0e9; --on-dark-rgb: 243, 240, 233; --surface-rgb: 13, 13, 13; --line-dark-2: rgba(243, 240, 233, 0.4); --scheme: dark; }

/* Дневная тема: тени и полупрозрачные слои мягче. */
:root[data-theme="light"] .cookie { box-shadow: 0 12px 32px rgba(31, 30, 27, 0.12); }
:root[data-theme="light"] .site-header { border-bottom-color: rgba(31, 30, 27, 0.1); }
:root[data-theme="light"] .hero__mark, :root[data-theme="light"] .ex-hero__mark, :root[data-theme="light"] .thanks__mark { opacity: 0.12; }
:root[data-theme="light"] .ph__mark { opacity: 0.1; }

/* Переключатель темы */
.theme-toggle { color: inherit; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
@media (hover: hover) { .theme-toggle:hover { color: var(--gold); opacity: 1; } }
@media (min-width: 1400px) {
	.site-nav__list { gap: 0 16px; }
}
@media (min-width: 1400px) and (max-width: 1439px) {
	.site-nav__list { gap: 0 13px; }
	.site-header__tools { gap: 0 6px; }
	.icon-count { min-width: 38px; }
	.theme-toggle { width: 36px; }
}

/* ==========================================================================
   Рассрочка
   ========================================================================== */
.inst__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.inst__inputs { display: flex; flex-direction: column; gap: 34px; padding-top: 6px; }
.inst__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 24px; }
.inst__input { display: flex; flex-direction: column; gap: 8px; }
.inst__label-text { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 0; }
.inst__input input { width: 100%; height: 54px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--line-light); border-radius: 0; background: none; color: var(--body); font-family: inherit; font-size: 22px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.inst__input input:focus { outline: none; border-bottom-color: var(--gold-dark); }
.inst__input input:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.inst__hint { font-size: 12px; color: var(--muted); }
.inst__set { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.inst__seg { display: grid; grid-template-columns: repeat(4, 1fr); }
.inst__opt { position: relative; display: flex; cursor: pointer; }
.inst__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.inst__opt span { display: flex; flex: 1; align-items: center; justify-content: center; height: 52px; border: 1px solid var(--line-light); margin-left: -1px; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--body); transition: background-color .2s ease, color .2s ease; }
.inst__opt:first-child span { margin-left: 0; }
.inst__opt input:checked + span { position: relative; background: var(--gold-fill); border-color: var(--gold-fill); color: var(--ink); }
.inst__opt input:focus-visible + span { outline: 2px solid var(--gold-dark); outline-offset: 2px; position: relative; }
.inst__opt:hover input:not(:checked) + span { border-color: var(--gold-dark); position: relative; }
.inst__ticks { display: flex; justify-content: space-between; padding: 0 6px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.inst__field { display: flex; flex-direction: column; gap: 12px; }
.inst__label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.inst__label .inst__label-text { padding: 0; }
.inst__label output { font-size: 18px; font-weight: 600; color: var(--body); font-variant-numeric: tabular-nums; }
.inst input[type="range"] { width: 100%; height: 28px; margin: 0; accent-color: var(--gold-dark); cursor: pointer; }
.inst__scale { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); }
.inst__result { display: flex; flex-direction: column; gap: 20px; padding: 28px; background: var(--ph-light); clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
.inst__pay { display: flex; flex-direction: column; gap: 6px; }
.inst__pay-label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.inst__pay-value { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; font-weight: 500; color: var(--gold-dark); font-variant-numeric: tabular-nums; }
.inst__rows { display: flex; flex-direction: column; font-size: 14px; }
.inst__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-light); }
.inst__rows dt { color: var(--muted); }
.inst__rows dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.inst__cta { align-self: stretch; }
.inst__note { font-size: 13px; line-height: 1.55; color: var(--muted); max-width: 70ch; }
.inst__form { max-width: 560px; padding-top: 8px; }
.inst__form .lead-form { display: flex; flex-direction: column; gap: 16px; }
.inst__form-title { font-size: 20px; line-height: 1.2; font-weight: var(--hw); text-transform: uppercase; }
.inst__form-sum { font-size: 14px; color: var(--muted); }
.obj-price__inst { align-self: flex-start; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--gold-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.obj-mobile .obj-price__inst { color: var(--gold); }
.ocard__inst { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ocard--dark .ocard__inst { color: var(--muted-dark); }
@media (max-width: 899px) {
	.inst__grid { grid-template-columns: 1fr; }
	.inst__result { padding: 22px; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
}
.obj-price__alt { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line-light); font-size: 14px; }
.obj-price__alt span { color: var(--muted); }
.obj-price__alt b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.obj-mobile .obj-price__alt { border-top-color: var(--line-dark); }
.obj-mobile .obj-price__alt span { color: var(--muted-dark); }
.inst__share { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 10px; margin-top: -8px; }
.inst__share .btn { width: 100%; gap: 10px; padding: 0 16px; }
.inst__copied { min-height: 1.4em; margin-top: -10px; font-size: 13px; font-weight: 600; color: var(--gold-dark); }
.inst__copied:empty { display: none; }

/* ==========================================================================
   Анимированный логотип главной (вариант H)
   ========================================================================== */
.fx { position: relative; width: 100%; aspect-ratio: 937.26 / 268.41; perspective: 900px;
  --fx-g1: #8a5418; --fx-g2: #c8862e; --fx-g3: #f6c06a; --fx-depth: #5c3610;
  --fx-w1: #ffffff; --fx-w2: #d9d3c8; --fx-wdepth: #6f6a62; }
:root[data-theme="light"] .fx { --fx-g1: #7a470f; --fx-g2: #c07a25; --fx-g3: #f2b45a; --fx-depth: #5a3510; --fx-w1: #2e2c28; --fx-w2: #4a463f; --fx-wdepth: #9a948a; }
.fx-l { position: absolute; inset: 0; transform-style: preserve-3d; backface-visibility: hidden; }
.fx-l svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fx-depth { fill: var(--fx-depth); }
.fx-wdepth { fill: var(--fx-wdepth); }
.fx-spot { opacity: 0; }
.fx.fx--intro .fx-top { animation: fx-top 1.1s cubic-bezier(.2,.75,.25,1) both; }
.fx.fx--intro .fx-mid { animation: fx-mid 1.1s cubic-bezier(.2,.75,.25,1) .22s both; }
.fx.fx--intro .fx-bot { animation: fx-bot 1.1s cubic-bezier(.2,.75,.25,1) .44s both; }
.fx.fx--intro .fx-w { animation: fx-word .9s cubic-bezier(.2,.7,.2,1) both; }
.fx.fx--intro .fx-w1 { animation-delay: 1.55s; } .fx.fx--intro .fx-w2 { animation-delay: 1.68s; }
.fx.fx--intro .fx-w3 { animation-delay: 1.81s; } .fx.fx--intro .fx-w4 { animation-delay: 1.94s; }
.fx.fx--intro .fx-spot { animation: fx-spot 8s ease-in-out 1.9s infinite; }
@keyframes fx-top { 0% { transform: translate3d(-14%, -42%, 0) rotateY(75deg) rotateX(40deg) rotateZ(-25deg) scale(.6); opacity: 0; filter: saturate(0) brightness(1.7); } 35% { opacity: .6; } 100% { transform: none; opacity: 1; filter: none; } }
@keyframes fx-mid { 0% { transform: translate3d(16%, -18%, 0) rotateY(-70deg) rotateZ(30deg) scale(.6); opacity: 0; filter: saturate(0) brightness(1.7); } 35% { opacity: .6; } 100% { transform: none; opacity: 1; filter: none; } }
@keyframes fx-bot { 0% { transform: translate3d(18%, 40%, 0) rotateX(-75deg) rotateZ(20deg) scale(.6); opacity: 0; filter: saturate(0) brightness(1.8); } 35% { opacity: .6; } 100% { transform: none; opacity: 1; filter: none; } }
@keyframes fx-word { 0% { transform: translateY(18%) rotateX(-80deg); opacity: 0; filter: saturate(0) brightness(1.9); } 60% { opacity: 1; } 100% { transform: none; opacity: 1; filter: none; } }
@keyframes fx-spot {
  0% { opacity: 0; transform: translate(40px, 230px); }
  3% { opacity: 1; }
  9% { transform: translate(170px, 150px); }
  14% { opacity: 1; transform: translate(240px, 220px); }
  17% { opacity: 0; transform: translate(280px, 60px); }
  100% { opacity: 0; transform: translate(280px, 60px); }
}
@media (prefers-reduced-motion: reduce) { .fx.fx--intro .fx-l, .fx.fx--intro .fx-spot { animation: none !important; } }
.site-header__logo .fx { width: 140px; }
@media (max-width: 767px) { .site-header__logo .fx { width: 105px; } }

/* «Эксклюзив»: вкладки проектов */
.ex-tabs-nav { gap: 0 28px; margin-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.ex-tabs-nav a { margin-bottom: -1px; white-space: nowrap; }
@media (max-width: 767px) {
	.ex-tabs-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 28px; margin-right: calc(-1 * var(--gutter, 20px)); padding-right: var(--gutter, 20px); }
	.ex-tabs-nav::-webkit-scrollbar { display: none; }
}

/* ==========================================================================
   Шахматка проекта (тема 1.7.0). Данные — из Google-таблицы проекта.
   Свободная — золотая рамка, при наведении и выборе срезается угол; бронь —
   штриховка; продана и «не в продаже» — приглушены.
   ========================================================================== */
.shm { margin-bottom: 120px; }
.ex-list__sub { margin-bottom: 64px; }
.shm__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.shm__title { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.shm__meta { font-size: 14px; color: var(--muted-dark); }
.shm__stats { display: flex; flex-wrap: wrap; gap: 20px 48px; margin: 0; }
.shm__stat { display: flex; flex-direction: column-reverse; gap: 8px; }
.shm__stat dt { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }
.shm__stat dd { margin: 0; font-size: clamp(30px, 3.2vw, 48px); line-height: 1; font-weight: 300; font-variant-numeric: tabular-nums; }
.shm__stat--free dd { color: var(--gold); }

.shm__nav { margin-top: 56px; }
.shm__houses { flex-wrap: wrap; gap: 8px 32px; border-bottom: 1px solid var(--line-dark); }
.shm__houses .tabs__btn { margin-bottom: -1px; }
.shm__secs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.shm-sec-btn { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-width: 128px; min-height: 58px; padding: 8px 16px; border: 1px solid var(--line-dark-2); background: none; color: var(--on-dark); text-align: left; cursor: pointer; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.shm-sec-btn__name { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.shm-sec-btn__free { font-size: 13px; color: var(--muted-dark); }
.shm-sec-btn[aria-pressed="true"] { border-color: var(--gold-fill); background: var(--gold-fill); color: var(--ink); }
.shm-sec-btn[aria-pressed="true"] .shm-sec-btn__free { color: rgba(13, 13, 13, 0.72); }
.shm-sec-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (hover: hover) { .shm-sec-btn:not([aria-pressed="true"]):hover { border-color: var(--gold); } }

.shm__tools { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.shm__areas .chip span { height: 44px; }
.shm__only { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; font-weight: 500; color: var(--sec-dark); cursor: pointer; }
.shm__only input { width: 22px; height: 22px; margin: 0; accent-color: var(--gold); }

.shm__body { display: grid; grid-template-columns: minmax(0, 1fr) 392px; align-items: start; gap: 48px; margin-top: 40px; }
.shm__boards { min-width: 0; }
.shm-sec + .shm-sec { margin-top: 56px; }
.shm--js .shm-sec + .shm-sec { margin-top: 0; }
.shm-sec__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sec-dark); }
.shm-sec__title span { letter-spacing: 0.04em; text-transform: none; font-weight: 500; font-size: 13px; color: var(--gold); }
.shm-sec__scroll { overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--line-dark-2) transparent; }
.shm-grid { display: flex; flex-direction: column; gap: 4px; min-width: min-content; }
.shm-row { display: grid; grid-template-columns: 48px repeat(var(--cols, 12), minmax(54px, 1fr)); gap: 4px; }
.shm-fl { position: sticky; left: 0; z-index: 1; display: flex; align-items: center; padding-right: 8px; background: var(--dark); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted-dark); }
.shm-row--head .shm-fl { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.shm-hn { display: flex; align-items: center; justify-content: center; height: 26px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted-dark); }

.shm-c { display: flex; align-items: center; justify-content: center; height: 40px; padding: 0; border: 1px solid transparent; background: none; color: inherit; font: inherit; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shm-c.f { border-color: rgba(207, 158, 91, 0.7); background: rgba(207, 158, 91, 0.1); color: var(--on-dark); cursor: pointer; clip-path: polygon(0 0, 100% 0, 100% 0, 100% 100%, 0 100%); transition: background-color 0.2s, color 0.2s, clip-path 0.25s ease, opacity 0.2s; }
:root[data-theme="light"] .shm-c.f { border-color: var(--gold); background: rgba(207, 158, 91, 0.16); }
.shm-c.f.is-picked { border-color: var(--gold-fill); background: var(--gold-fill); color: var(--ink); font-weight: 700; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.shm-c.f:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.shm-c.f:disabled { cursor: default; }
@media (hover: hover) {
	.shm-c.f:not(:disabled):hover { border-color: var(--gold-fill); background: var(--gold-fill); color: var(--ink); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
}
.shm-c.f:not(:disabled):active { transform: scale(0.96); }
.shm-c.r { border: 1px dashed var(--line-dark-2); color: var(--muted-dark); background: repeating-linear-gradient(135deg, rgba(var(--on-dark-rgb), 0.09) 0 2px, transparent 2px 7px); }
.shm-c.s { background: rgba(var(--on-dark-rgb), 0.06); color: rgba(var(--on-dark-rgb), 0.34); }
.shm-c.o { border-color: rgba(var(--on-dark-rgb), 0.1); color: rgba(var(--on-dark-rgb), 0.26); }
.shm-c.is-out { opacity: 0.22; }
.shm--only .shm-c:not(.f) { border-color: transparent; background: rgba(var(--on-dark-rgb), 0.03); color: transparent; }

.shm__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--sec-dark); }
.shm__legend li { display: inline-flex; align-items: center; gap: 10px; }
.shm__legend i.shm-c { width: 30px; height: 20px; cursor: default; }
.shm__legend-note { margin-left: auto; color: var(--muted-dark); }

.shm__aside { position: sticky; top: 32px; }
.shm-pick { display: flex; flex-direction: column; gap: 20px; padding: 36px 32px; border: 1px solid var(--line-dark); background: var(--panel); clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); outline: none; }
.shm-pick__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 24px; }
.shm-pick__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -10px -8px -10px 0; padding: 0; border: 1px solid var(--line-dark-2); background: none; color: var(--on-dark); cursor: pointer; }
.shm-pick__close[hidden] { display: none; }
.shm-pick__lead { font-size: 16px; line-height: 1.5; color: var(--sec-dark); }
.shm-pick__area { font-size: 48px; line-height: 1; font-weight: 300; color: var(--gold); font-variant-numeric: tabular-nums; }
.shm-pick__info { display: flex; flex-direction: column; gap: 16px; }
.shm-pick__info .params > div:nth-child(-n+2) { border-top-color: var(--line-dark-2); }
.shm-pick__hint { font-size: 13px; line-height: 1.5; color: var(--muted-dark); }
.shm-pick__form { gap: 16px; }
.shm-pick__wa { width: 100%; border-color: var(--line-dark-2); }
.shm__note { margin-top: 32px; font-size: 13px; color: var(--muted-dark); }
.shm__backdrop { position: fixed; inset: 0; z-index: 74; background: rgba(0, 0, 0, 0.6); }
.shm__backdrop[hidden] { display: none; }

@media (max-width: 1099px) {
	.shm__body { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.shm__aside { position: static; }
	.shm__aside.is-sheet { position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 75; max-height: 90vh; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; animation: shm-up 0.25s ease; }
	.shm__aside.is-sheet .shm-pick { padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); border: 0; border-top: 2px solid var(--gold-fill); clip-path: none; box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.4); }
	.shm__aside.is-sheet .shm-pick__area { font-size: 40px; }
	@keyframes shm-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (max-width: 767px) {
	.shm { margin-bottom: 72px; }
	.ex-list__sub { margin-bottom: 36px; }
	.shm__head { gap: 28px; }
	.shm__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; width: 100%; padding-top: 20px; border-top: 1px solid var(--line-dark); }
	.shm__stat dd { font-size: 32px; }
	.shm__nav { margin-top: 36px; }
	.shm__houses { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 24px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
	.shm__houses .tabs__btn { white-space: nowrap; }
	.shm__secs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
	.shm__houses::-webkit-scrollbar, .shm__secs::-webkit-scrollbar { display: none; }
	.shm-sec-btn { flex: 0 0 auto; min-width: 116px; }
	.shm__tools { flex-direction: column; align-items: stretch; gap: 14px; }
	.shm__areas .chipset__items { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
	.shm__areas .chip { flex: 0 0 auto; }
	.shm__body { margin-top: 28px; }
	.shm-sec__scroll { margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
	.shm-row { grid-template-columns: 36px repeat(var(--cols, 12), 52px); }
	.shm-c { height: 40px; font-size: 12px; }
	.shm__legend { gap: 10px 20px; font-size: 12px; }
	.shm__legend-note { margin-left: 0; flex-basis: 100%; }
	.shm-pick { padding: 28px 22px; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
}
@media (prefers-reduced-motion: reduce) {
	.shm-c.f, .shm-sec-btn { transition: none; }
	.shm__aside.is-sheet { animation: none; }
	.shm-c.f:not(:disabled):active { transform: none; }
}

/* Калькулятор рассрочки под шахматкой (тема 1.7.1–1.7.2): разметка и формулы как на странице объекта,
   цвета — тёмного экрана (переменные калькулятора переопределены внутри блока). */
.shm-inst { --muted: var(--muted-dark); --body: var(--on-dark); --text: var(--on-dark); --line-light: var(--line-dark-2); --ph-light: var(--panel); --gold-dark: var(--gold);
	display: flex; flex-direction: column; gap: 28px; margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line-dark); scroll-margin-top: 24px; }
.shm-inst[hidden] { display: none; }
.shm-inst__head { display: flex; flex-direction: column; gap: 14px; }
.shm-inst__apt { font-size: 15px; font-weight: 500; color: var(--sec-dark); font-variant-numeric: tabular-nums; }
.shm-inst .inst__input input { color: var(--on-dark); }
.shm-inst .inst__input input::placeholder { color: var(--muted-dark); font-weight: 500; font-size: 18px; }
.shm-inst__fee-hint { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.shm-inst__fee-hint [hidden] { display: none; }
.shm-inst__reset { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--gold); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.shm-inst .inst__result { border: 1px solid var(--line-dark); }
.shm-inst__need { font-size: 13px; color: var(--muted-dark); }
.shm-inst__need[hidden] { display: none; }
.shm-inst .inst__share .btn { border-color: var(--line-dark-2); }
.shm-inst .inst__share .btn:disabled { opacity: 0.45; cursor: default; }
.shm-inst .inst__opt span { border-color: var(--line-dark-2); }
.shm-inst .inst__form { max-width: 560px; }
.shm-inst input[type="range"] { accent-color: var(--gold); }
.shm-pick__calc { align-self: flex-start; font-size: 13px; letter-spacing: 0.1em; }
@media (max-width: 767px) {
	.shm-inst { margin-top: 48px; padding-top: 40px; gap: 22px; }
	.shm-inst .inst__input input { font-size: 20px; }
}

/* Прайс в калькуляторе шахматки (тема 1.8.0): схема оплаты и срок — кнопками, цена в карточке квартиры. */
.shm-inst [hidden] { display: none !important; }
.shm-inst__schemes, .shm-inst__terms, .shm-inst__disc { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.shm-inst__disc .inst__opt span { padding: 0 8px; font-size: 15px; text-align: center; }
.shm-inst [data-shm-inst-row="disc"] dd { color: var(--gold); }
.shm-inst__schemes .inst__opt span { padding: 0 8px; font-size: 14px; line-height: 1.2; text-align: center; }
.shm-inst--price .inst__inputs { gap: 30px; }
.shm-pick__price { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line-dark-2); }
.shm-pick__price[hidden] { display: none; }
.shm-pick__price-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }
.shm-pick__price b { font-size: 26px; line-height: 1.15; font-weight: 500; color: var(--gold); font-variant-numeric: tabular-nums; }
.shm-pick__price-m2 { font-size: 13px; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
	.shm-inst__schemes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.shm-inst__schemes .inst__opt:nth-child(n+3) span { margin-top: -1px; }
	.shm-inst__schemes .inst__opt:nth-child(odd) span { margin-left: 0; }
}

/* Розыгрыш под калькулятором (тема 1.9.0): текст акции и вращающаяся 3D-модель приза. */
.shm-promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 40px 56px; margin-top: 72px; padding: 48px; background: radial-gradient(120% 90% at 85% 50%, rgba(207, 158, 91, 0.16), transparent 60%), var(--panel); border: 1px solid var(--line-dark); clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%); }
.shm-promo__text { display: flex; flex-direction: column; gap: 18px; }
.shm-promo__lead { font-size: 18px; line-height: 1.55; color: var(--on-dark); }
.shm-promo__legal { display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.5; color: var(--muted-dark); }
.shm-promo__legal a:not(.link-arrow) { border-bottom: 1px solid rgba(var(--on-dark-rgb), 0.5); color: var(--on-dark); }
.shm-promo__legal .link-arrow { font-size: 13px; letter-spacing: 0.1em; }
.model3d { position: relative; aspect-ratio: 16 / 10; overflow: hidden; touch-action: pan-y; cursor: grab; }
.model3d.is-static { cursor: default; }
.model3d.is-grabbing { cursor: grabbing; }
.model3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.6s ease; }
.model3d.is-ready .model3d__canvas { opacity: 1; }
.model3d__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.6s ease; }
.model3d.is-ready .model3d__poster, .model3d.is-ready .model3d__mark { opacity: 0; }
.model3d__mark { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%); opacity: 0.12; transition: opacity 0.6s ease; }
.model3d__status { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 12px; color: var(--muted-dark); }
.model3d__hint { position: absolute; right: 8px; bottom: 8px; padding: 6px 10px; border: 1px solid var(--line-dark-2); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.model3d.is-ready .model3d__hint { opacity: 1; animation: model3d-hint 0.4s ease 6s forwards; }
@keyframes model3d-hint { to { opacity: 0; } }
.model3d__admin { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 10px 12px; border: 1px dashed var(--line-dark-2); font-size: 12px; color: var(--muted-dark); text-align: center; }
@media (max-width: 899px) {
	.shm-promo { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
}
@media (max-width: 767px) {
	.shm-promo { margin-top: 48px; padding: 28px 20px; }
	.shm-promo__lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .model3d__canvas, .model3d__poster, .model3d__mark { transition: none; } }

/* Шахматка по поэтажным планам (тема 1.10.0): колонки — планировки, в ячейке площадь и номер квартиры. */
.shm-c.x { visibility: hidden; }
.shm-sec--plan .shm-c { flex-direction: column; gap: 1px; height: 46px; line-height: 1.1; }
.shm-sec--plan .shm-c small { font-size: 10px; font-weight: 500; opacity: 0.7; letter-spacing: 0.02em; }
.shm-sec--plan .shm-hn { font-size: 10px; letter-spacing: 0.04em; white-space: nowrap; }
.shm-sec--plan .shm-row { grid-template-columns: 48px repeat(var(--cols, 10), minmax(58px, 1fr)); }
@media (max-width: 767px) {
	.shm-sec--plan .shm-row { grid-template-columns: 36px repeat(var(--cols, 10), 56px); }
	.shm-sec--plan .shm-c { height: 46px; }
}

/* Планировки квартир (тема 1.12.0): миниатюра в карточке и просмотр во весь экран. */
.shm-pick__plan { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.shm-pick__plan[hidden] { display: none; }
.shm-pick__plan-btn { display: block; width: 100%; padding: 12px; border: 0; background: #f6f3ec; cursor: zoom-in; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.shm-pick__plan-btn img { display: block; width: 100%; height: auto; max-height: 260px; object-fit: contain; }
.shm-pick__plan-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.shm-pick__plan figcaption { font-size: 12px; color: var(--muted-dark); }
.shm-viewer { position: fixed; inset: 0; z-index: 210; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 56px 16px 24px; background: rgba(0, 0, 0, 0.92); }
.shm-viewer[hidden] { display: none; }
.shm-viewer__stage { max-width: 100%; max-height: calc(100% - 40px); overflow: auto; background: #f6f3ec; padding: 16px; }
.shm-viewer__stage img { display: block; max-width: min(1400px, calc(100vw - 64px)); max-height: calc(100vh - 140px); width: auto; height: auto; cursor: zoom-in; }
.shm-viewer.is-zoomed .shm-viewer__stage img { max-width: none; max-height: none; width: auto; cursor: zoom-out; }
.shm-viewer__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.4); background: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.shm-viewer__hint { margin: 0; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
