/* Город у моря — вариант 1. Светлый визуал (лавандовый фон, фиолетовый, Onest + Playfair), страницы и анимации из варианта 3. */

:root {
  --bg: #EEF1F7;
  --bg-2: #FFFFFF;
  --bg-3: #E4E8F2;
  --glass: #FFFFFF;
  --glass-2: rgba(26, 26, 60, .04);
  --line: rgba(26, 26, 60, .12);
  --line-2: rgba(26, 26, 60, .22);
  --text: #1A1A3C;
  --muted: #4C5170;
  --dim: #7C8199;
  --accent: #3B2577;
  --accent-2: #2C1B5C;
  --lav: #3B2577;
  --lav-soft: #EDE9F7;
  --gold: #D99A1E;
  --fg: #1A1A3C;
  --fg-rgb: 26, 26, 60;
  --inv: #FFFFFF;
  --shade-rgb: 26, 22, 60;
  --lav-rgb: 59, 37, 119;
  --shadow: 0 24px 60px -34px rgba(26, 26, 60, .35);
  --pad: clamp(16px, 4.4vw, 72px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --serif: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --it: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--fg); }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; }

.container { width: 100%; max-width: 1680px; margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(90px, 14vh, 180px) 0; position: relative; }
.section--tight { padding: clamp(60px, 9vh, 120px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Типографика ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 18px; margin: 0 0 26px;
  font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--lav);
}
.eyebrow::before { content: ''; width: 48px; height: 1px; background: currentColor; opacity: .7; }
.display {
  margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(54px, 7.4vw, 132px);
  line-height: .96; letter-spacing: -.015em;
}
.display em, .h2 em, .h3 em, .serif-em { font-style: italic; color: var(--lav); font-weight: 500; }
.h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 4.8vw, 88px); line-height: 1; letter-spacing: -.01em; }
.h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 2.6vw, 44px); line-height: 1.05; }
.lead { font-size: clamp(17px, 1.3vw, 21px); color: var(--muted); max-width: 620px; margin: 24px 0 0; }
.muted { color: var(--muted); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(40px, 7vh, 80px); }
.head-row .lead { margin: 0; max-width: 460px; }
.split-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Кнопки ---------- */
.btn {
  --fill: var(--accent);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 66px; padding: 8px 9px 8px 32px; border-radius: 999px; border: 0;
  background: var(--fg); color: var(--inv); font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--fill);
  transform: translateY(102%); transition: transform .7s var(--ease);
}
.btn:hover { color: var(--fg); }
.btn:hover::before { transform: none; }
.btn__icon {
  width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--accent); color: var(--fg);
  display: inline-flex; align-items: center; justify-content: center; transition: transform .6s var(--ease), background-color .5s, color .5s;
}
.btn:hover .btn__icon { transform: rotate(45deg); background: var(--fg); color: var(--accent); }
.btn--glass { --fill: var(--fg); background: rgba(var(--fg-rgb), .06); color: var(--fg); border: 1px solid var(--line-2); padding: 8px 30px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--glass:hover { color: var(--inv); }
.btn--accent { --fill: var(--fg); background: var(--accent); color: var(--fg); }
.btn--accent .btn__icon { background: var(--fg); color: var(--accent); }
.btn--accent:hover { color: var(--inv); }
.btn--accent:hover .btn__icon { background: var(--accent); color: var(--fg); }
.btn--sm { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn--wide { width: 100%; justify-content: space-between; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.circle-btn {
  width: 56px; height: 56px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--fg);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease), border-color .4s;
}
.circle-btn:hover { background: var(--fg); color: var(--inv); border-color: var(--fg); }
.link-line { position: relative; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; }
.link-line span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .6s var(--ease); }
.link-line:hover span { background-size: 0 1px; background-position: 100% 100%; }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: 26px; }
.review-glass, .stats-bar__row, .filters, .h-type__side, .h-half__tag, .mode-switch, .modal .lead-form, .lightbox__stage {
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
}
.stars { color: var(--gold); letter-spacing: .2em; font-size: 15px; }

/* ---------- Прелоадер и переход между страницами ---------- */
.preloader, .curtain { display: none; }
.js .preloader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 300; background: var(--bg);
}
.preloader__inner { display: grid; justify-items: center; gap: 22px; text-align: center; }
.preloader__mark { width: 64px; height: 64px; color: var(--fg); }
.preloader__word { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 6vw, 84px); line-height: 1; overflow: hidden; }
.preloader__word > span { display: inline-block; }
.preloader__word em { color: var(--lav); }
.preloader__bar { width: 240px; height: 1px; background: var(--line); }
.preloader__bar i { display: block; height: 100%; background: var(--fg); transform: scaleX(0); transform-origin: left; }
.preloader__count { position: fixed; right: var(--pad); bottom: 24px; font-family: var(--serif); font-weight: 600; font-size: clamp(70px, 11vw, 180px); line-height: 1; color: rgba(var(--fg-rgb), .1); }

.js .curtain { display: block; position: fixed; inset: 0; z-index: 280; pointer-events: none; }
.curtain__layer { position: absolute; inset: 0; transform: translateY(100%); }
.curtain__layer--a { background: var(--accent); }
.curtain__layer--b { background: var(--bg-2); display: grid; place-items: center; }
.curtain__title { font-family: var(--it); font-weight: 500; font-size: clamp(40px, 6vw, 96px); font-style: italic; color: var(--lav); opacity: 0; }
.curtain.is-covering { pointer-events: all; }

/* ---------- Курсор ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor { display: block; position: fixed; inset: 0; z-index: 270; pointer-events: none; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; opacity: 0; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--fg); }
  .cursor__ring {
    width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 1px solid rgba(var(--fg-rgb), .4); display: grid; place-items: center;
    transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .4s, border-color .4s;
  }
  .cursor__label { font-size: 13px; font-weight: 600; color: var(--inv); opacity: 0; white-space: nowrap; transition: opacity .3s; }
  .cursor.is-hover .cursor__ring { width: 66px; height: 66px; margin: -33px 0 0 -33px; border-color: var(--fg); background: rgba(var(--fg-rgb), .06); }
  .cursor.is-label .cursor__ring { width: 108px; height: 108px; margin: -54px 0 0 -54px; background: var(--fg); border-color: var(--fg); }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-label .cursor__dot { opacity: 0 !important; }
}

/* ---------- Шапка ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 90; transition: transform .7s var(--ease), background-color .5s, border-color .5s; border-bottom: 1px solid var(--line); }
.header__inner { max-width: 1680px; margin: 0 auto; padding: 18px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: padding .6s var(--ease); }
.header.is-scrolled { background: rgba(var(--shade-rgb), .72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.header.is-scrolled .header__inner { padding-top: 10px; padding-bottom: 10px; }
.header.is-hidden { transform: translateY(-105%); }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.logo__mark { width: 50px; height: 50px; transition: width .6s var(--ease), height .6s var(--ease); }
.header.is-scrolled .logo__mark { width: 40px; height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text em { font-family: var(--serif); font-weight: 600; font-size: 28px; font-weight: 500; }
.logo__text small { font-size: 10.5px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; gap: clamp(12px, 1.6vw, 30px); }
.nav a { position: relative; white-space: nowrap; text-decoration: none; font-size: 15.5px; font-weight: 500; padding: 6px 0; color: rgba(var(--fg-rgb), .88); transition: color .3s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--lav); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.menu-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(var(--fg-rgb), .04); cursor: pointer; position: relative; flex: none;
  transition: background-color .4s, border-color .4s;
}
.menu-btn:hover { background: var(--fg); }
.menu-btn:hover i { background: var(--bg); }
.menu-btn i { position: absolute; left: 16px; right: 16px; height: 1.5px; background: var(--fg); transition: transform .6s var(--ease), top .6s var(--ease), background-color .3s; }
.menu-btn i:first-child { top: 21px; } .menu-btn i:last-child { top: 29px; }
.menu-open .menu-btn i:first-child { top: 25px; transform: rotate(45deg); }
.menu-open .menu-btn i:last-child { top: 25px; transform: rotate(-45deg); }

/* Полноэкранное меню */
.menu {
  position: fixed; inset: 0; z-index: 85; background: var(--bg-2); visibility: hidden;
  clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-io), visibility 0s 1s;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 6vw; padding: 130px var(--pad) 48px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.menu-open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-io), visibility 0s; }
.menu__nav { display: flex; flex-direction: column; align-self: center; }
.menu__nav a { display: flex; align-items: baseline; gap: 22px; padding: 6px 0; text-decoration: none; overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__nav a span { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(32px, min(5vw, 5.8vh), 78px); line-height: 1.12; transform: translateY(110%); transition: transform 1s var(--ease), color .4s; }
.menu__nav a small { font-size: 13px; color: var(--dim); min-width: 28px; transform: translateY(300%); transition: transform 1s var(--ease); }
.menu__nav a[aria-current="page"] span { color: var(--lav); font-style: italic; }
.menu__nav a:hover span { color: var(--lav); }
.menu-open .menu__nav a span, .menu-open .menu__nav a small { transform: none; }
.menu__side { align-self: end; display: flex; flex-direction: column; gap: 28px; opacity: 0; transform: translateY(30px); transition: opacity .8s .3s, transform 1s .3s var(--ease); }
.menu-open .menu__side { opacity: 1; transform: none; }
.menu__img { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; }
.menu__img img { width: 100%; height: 100%; object-fit: cover; }
.menu__contacts a { display: block; text-decoration: none; font-size: 22px; }
.menu__contacts p { margin: 6px 0 0; color: var(--muted); }

/* ---------- Первый экран (главная) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.hero__bg { position: absolute; inset: -4%; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; will-change: transform; }
.hero__shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(var(--shade-rgb), .86) 0%, rgba(var(--shade-rgb), .6) 38%, rgba(var(--shade-rgb), .1) 70%),
  linear-gradient(180deg, rgba(var(--shade-rgb), .35) 0%, rgba(var(--shade-rgb), 0) 25%, rgba(var(--shade-rgb), 0) 70%, var(--bg) 100%); }
.hero__lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__lines svg { width: 100%; height: 100%; }
.hero__lines path { fill: none; stroke: rgba(var(--lav-rgb), .28); stroke-width: 1; }
.hero__content { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-top: 120px; }
.hero__inner { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: 40px; align-items: center; }
.hero__text .lead { color: var(--muted); max-width: 640px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.review-glass { padding: 28px 30px; }
.review-glass p { margin: 14px 0 18px; font-family: var(--it); font-weight: 500; font-style: italic; font-size: 28px; line-height: 1.15; }
.review-glass small { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }
.review-glass .meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.stats-bar { position: relative; z-index: 2; margin: 50px auto 40px; }
.stats-bar__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 26px; }
.stat { display: flex; align-items: center; gap: 22px; padding: 30px 34px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--serif); font-weight: 600; font-size: clamp(46px, 4vw, 66px); line-height: 1; white-space: nowrap; }
.stat__txt { font-size: 15px; color: var(--muted); line-height: 1.4; }
.stat__icon { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; }

/* ---------- Внутренний первый экран ---------- */
.phero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; padding: 160px 0 clamp(60px, 9vh, 110px); }
.phero--short { min-height: 56vh; }
.phero__bg { position: absolute; inset: -6% 0; z-index: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(var(--shade-rgb), .55) 0%, rgba(var(--shade-rgb), .35) 40%, var(--bg) 100%), linear-gradient(90deg, rgba(var(--shade-rgb), .7), rgba(var(--shade-rgb), 0) 70%); }
.phero > .container { position: relative; z-index: 2; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--dim); }
.phero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 30px 60px; }
.phero__row .lead { margin: 0; max-width: 480px; }
.phero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Манифест ---------- */
.manifesto__text { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.6vw, 82px); line-height: 1.08; max-width: 1400px; font-weight: 500; }
.manifesto__text em { color: var(--lav); }
.manifesto__text .w { opacity: .16; }

/* ---------- Список услуг с картинкой у курсора ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list a {
  display: grid; grid-template-columns: 70px 1.3fr 1fr 64px; gap: 28px; align-items: center; padding: clamp(26px, 4vh, 44px) 0;
  border-bottom: 1px solid var(--line); text-decoration: none; position: relative;
}
.svc-list a::before { content: ''; position: absolute; inset: 0 calc(var(--pad) * -1); background: rgba(var(--fg-rgb), .035); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); z-index: -1; }
.svc-list a:hover::before { transform: none; }
.svc-list .n { font-size: 14px; color: var(--dim); }
.svc-list h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 3.8vw, 68px); line-height: 1; transition: transform 1s cubic-bezier(.22, 1, .36, 1), color .6s ease; }
@media (hover: hover) { .svc-list a:hover h3 { transform: translateX(10px); color: var(--lav); } }
.svc-list p { margin: 0; color: var(--muted); font-size: 16px; }
.svc-list .circle-btn { pointer-events: none; }
.svc-list a:hover .circle-btn { background: var(--fg); color: var(--inv); transform: rotate(45deg); }
.hover-img { position: fixed; top: 0; left: 0; z-index: 40; width: 300px; height: 380px; margin: -190px 0 0 -150px; border-radius: 999px 999px 24px 24px; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.6); }
.hover-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.hover-img img.is-on { opacity: 1; }
.svc-also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; color: var(--muted); }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; color: var(--text); transition: background-color .4s, color .4s; }
.chip:hover { background: var(--fg); color: var(--inv); }

/* ---------- Карточки объектов ---------- */
.pcard { position: relative; }
.pcard > a { display: block; text-decoration: none; }
.pcard__img {
  position: relative; aspect-ratio: 4 / 4.3; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-3) repeating-linear-gradient(135deg, rgba(var(--fg-rgb), .025) 0 1px, transparent 1px 18px);
}
.pcard__img .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; transition: transform 1.2s var(--ease), letter-spacing .9s var(--ease); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img .ph { transform: scale(1.06); letter-spacing: .32em; }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard .tag { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 7px 14px; border-radius: 999px; background: rgba(var(--shade-rgb), .6); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 500; }
.pcard .ex { position: absolute; top: 16px; right: 16px; z-index: 1; font-size: 12px; color: var(--dim); }
.pcard__body { padding: 20px 4px 0; }
.pcard__price { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.1; }
.pcard__body h3 { margin: 6px 0 4px; font-size: 17px; font-weight: 500; }
.pcard__body p { margin: 0; font-size: 15px; color: var(--muted); }
.pcard__meta { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pcard__meta li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Горизонтальная лента */
.hscroll { position: relative; overflow-x: clip; }
.hscroll__track { display: flex; gap: 26px; width: max-content; padding: 0 var(--pad); will-change: transform; }
.hscroll .pcard { width: clamp(290px, 27vw, 440px); flex: none; }
.pcard--more { width: clamp(290px, 27vw, 440px); flex: none; aspect-ratio: 4 / 4.3; border-radius: 24px; background: var(--accent); display: flex; flex-direction: column; justify-content: space-between; padding: 36px; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: clamp(46px, 4.4vw, 80px); line-height: .95; }
.pcard--more em { color: var(--lav); }
.pcard--more:hover .circle-btn { background: var(--fg); color: var(--accent); transform: rotate(45deg); }

/* ---------- Лента-картинка с текстом ---------- */
.band { position: relative; height: 92vh; min-height: 540px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.band__frame { position: absolute; inset: 0; overflow: hidden; }
.band__frame img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.band__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade-rgb), .25) 0%, rgba(var(--shade-rgb), .55) 100%); }
.band__text { position: relative; z-index: 1; margin: 0; white-space: nowrap; font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 6.6vw, 124px); line-height: 1.1; letter-spacing: -.01em; color: var(--fg); }
.band__run { display: inline-block; padding: 0 var(--pad); will-change: transform; }
.band__text em { color: var(--lav); }
.band__caption { position: absolute; left: 50%; bottom: 7vh; z-index: 1; transform: translateX(-50%); width: min(520px, calc(100% - 2 * var(--pad))); margin: 0; text-align: center; color: rgba(var(--fg-rgb), .86); }

/* ---------- Карточки преимуществ ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; perspective: 1200px; }
.why { padding: 34px 30px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; transform-style: preserve-3d; transition: border-color .4s; }
.why:hover { border-color: var(--line-2); }
.why__num { font-family: var(--serif); font-weight: 600; font-size: clamp(64px, 5.6vw, 104px); line-height: .9; }
.why__num small { font-size: .45em; color: var(--lav); }
.why__num--text { font-size: clamp(34px, 2.6vw, 46px); line-height: 1.05; }
.why p { margin: 0; color: var(--muted); }

/* ---------- Этапы с линией ---------- */
.process { position: relative; }
.process__list { list-style: none; margin: 0; padding: 0 0 0 clamp(70px, 9vw, 160px); position: relative; }
.process__line { position: absolute; left: clamp(22px, 3vw, 54px); top: 0; bottom: 0; width: 1px; background: var(--line); }
.process__line i { position: absolute; inset: 0; background: linear-gradient(var(--lav), var(--accent)); transform-origin: top; transform: scaleY(0); }
.process__item { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 5vh 0; border-bottom: 1px solid var(--line); }
.process__dot { position: absolute; left: calc(clamp(70px, 9vw, 160px) * -1 + clamp(22px, 3vw, 54px) - 9px); top: calc(5vh + 14px); width: 19px; height: 19px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); transition: background-color .5s, border-color .5s, box-shadow .5s; }
.process__item.is-on .process__dot { background: var(--lav); border-color: var(--lav); box-shadow: 0 0 0 8px rgba(var(--lav-rgb), .12); }
.process__item h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 3.4vw, 60px); line-height: 1; display: flex; gap: 22px; align-items: baseline; }
.process__item h3 small { font-family: var(--sans); font-size: 14px; color: var(--dim); }
.process__item p { margin: 0; color: var(--muted); font-size: 18px; max-width: 520px; align-self: center; }

/* ---------- Команда ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 44px); }
.member { margin: 0; }
.member__arch { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 26px 26px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3) repeating-linear-gradient(135deg, rgba(var(--fg-rgb), .025) 0 1px, transparent 1px 18px); display: grid; place-items: center; color: var(--dim); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; transition: border-radius 1s var(--ease), transform 1s var(--ease); }
.member__arch::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(59, 37, 119, .55)); opacity: 0; transition: opacity .7s; }
.member:hover .member__arch { border-radius: 26px; transform: translateY(-10px); }
.member:hover .member__arch::after { opacity: 1; }
.member figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.member b { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 2.4vw, 42px); font-weight: 500; }
.member span { color: var(--muted); }

/* ---------- Отзывы ---------- */
.quotes-marquee { overflow: hidden; padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.quotes-marquee__track { display: flex; gap: 22px; width: max-content; }
.qcard { width: clamp(320px, 32vw, 520px); flex: none; padding: 34px; display: flex; flex-direction: column; gap: 22px; }
.qcard p { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 1.9vw, 32px); line-height: 1.2; }
.qcard footer { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: rgba(var(--lav-rgb), .14); color: var(--lav); display: grid; place-items: center; font-weight: 600; flex: none; }
.qcard footer div span { display: block; font-size: 14px; color: var(--muted); }
.reviews-grid { columns: 3 340px; column-gap: 22px; }
.reviews-grid .qcard { width: auto; break-inside: avoid; margin-bottom: 22px; }
.rating-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 30px 50px; padding: 36px 40px; }
.rating-hero__big { font-family: var(--serif); font-weight: 600; font-size: clamp(90px, 9vw, 160px); line-height: .85; }
.rating-hero__links { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; }

/* ---------- Форма ---------- */
.cta-sec { position: relative; overflow: hidden; }
.cta-sec__bg { position: absolute; inset: 0; z-index: 0; opacity: .35; }
.cta-sec__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-sec::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--bg) 0%, rgba(var(--shade-rgb), .6) 30%, rgba(var(--shade-rgb), .6) 70%, var(--bg) 100%); }
.cta-sec > .container { position: relative; z-index: 2; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
.form-grid__intro .lead { margin-bottom: 34px; }
.contact-lines { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.contact-lines a { text-decoration: none; font-size: 20px; }
.lead-form { padding: clamp(26px, 3vw, 48px); display: flex; flex-direction: column; gap: 6px; }
.lead-form h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 600; font-size: 34px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; padding: 30px 0 12px; font-size: 18px; outline: none; border-radius: 0; resize: none;
}
.field select { appearance: none; cursor: pointer; }
.field select option { color: #111; }
.field label { position: absolute; left: 0; top: 28px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .5s var(--ease), color .3s; }
.field::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--lav); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.7); color: var(--lav); }
.pills { border: 0; margin: 20px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills legend { padding: 0; margin-bottom: 12px; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; transition: background-color .4s var(--ease), color .4s, border-color .4s; }
.pills input:checked + span { background: var(--fg); color: var(--inv); border-color: var(--fg); }
.pills input:focus-visible + span { outline: 2px solid var(--lav); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 12px; font-size: 14px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
.form-ok { display: none; padding: 20px 0 0; color: var(--lav); }
.lead-form.is-sent .form-ok { display: block; }

/* ---------- Каталог ---------- */
.filters { position: sticky; top: 84px; z-index: 20; padding: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-bottom: 40px; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(var(--fg-rgb), .05); }
.seg button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 15px; color: var(--muted); transition: background-color .4s var(--ease), color .4s; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--inv); font-weight: 600; }
.filters select, .filters input { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(var(--fg-rgb), .04); font-size: 15px; outline: none; }
.filters select option { color: #111; }
.filters input { width: 140px; }
.filters__count { margin-left: auto; color: var(--muted); font-size: 15px; }
.filters__count b { color: var(--fg); }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 26px; }
.cat-grid .pcard.is-hidden { display: none; }
.cat-empty { display: none; padding: 60px 0; text-align: center; color: var(--muted); }
.cat-empty.is-on { display: block; }
.cat-more { display: flex; justify-content: center; margin-top: 60px; }
.note { font-size: 14px; color: var(--dim); }

/* ---------- Страница объекта ---------- */
.obj-top { padding-top: 140px; }
.obj-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 34px; }
.obj-head .h2 { font-size: clamp(40px, 4.2vw, 76px); }
.obj-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.obj-tags span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; }
.obj-tags span:first-child { background: var(--fg); color: var(--inv); border-color: var(--fg); font-weight: 600; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: min(70vh, 640px); }
.gallery__item { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3) repeating-linear-gradient(135deg, rgba(var(--fg-rgb), .025) 0 1px, transparent 1px 18px); cursor: zoom-in; padding: 0; color: var(--dim); }
.gallery__item:first-child { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.gallery__count { position: absolute; right: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(var(--shade-rgb), .7); color: var(--fg); font-size: 14px; }
.obj-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: 5vw; margin-top: 60px; align-items: start; }
.obj-side { position: sticky; top: 100px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.obj-price { font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 3.4vw, 60px); line-height: 1; }
.obj-price small { display: block; margin-top: 8px; font-family: var(--sans); font-size: 15px; color: var(--muted); }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kv div { padding: 14px; border-radius: 16px; background: rgba(var(--fg-rgb), .05); }
.kv span { display: block; font-size: 13px; color: var(--muted); }
.kv b { font-weight: 600; }
.realtor { display: flex; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.realtor .avatar { width: 60px; height: 60px; }
.realtor small { display: block; color: var(--muted); }
.params { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.params li { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.params li span { color: var(--muted); }
.obj-map { margin-top: 40px; aspect-ratio: 16 / 7; border-radius: 24px; border: 1px solid var(--line); background: var(--bg-3) repeating-linear-gradient(0deg, rgba(var(--fg-rgb), .03) 0 1px, transparent 1px 40px), repeating-linear-gradient(90deg, rgba(var(--fg-rgb), .03) 0 1px, transparent 1px 40px); display: grid; place-items: center; color: var(--muted); text-align: center; }
.pin { width: 54px; height: 54px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 0 auto 10px; box-shadow: 0 0 0 0 rgba(59, 37, 119, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 26px rgba(59, 37, 119, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 37, 119, 0); } }

/* Лайтбокс и модальное окно */
.lightbox, .modal { position: fixed; inset: 0; z-index: 200; display: none; }
.lightbox.is-open, .modal.is-open { display: block; }
.lightbox__bg, .modal__bg { position: absolute; inset: 0; background: rgba(8, 6, 20, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox__stage { position: absolute; inset: 8vh 8vw; border-radius: 24px; overflow: hidden; background: var(--bg-3) repeating-linear-gradient(135deg, rgba(var(--fg-rgb), .025) 0 1px, transparent 1px 18px); display: grid; place-items: center; color: var(--dim); letter-spacing: .2em; text-transform: uppercase; font-size: 14px; }
.lightbox__stage img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__close, .modal__close { position: absolute; top: 24px; right: 24px; z-index: 2; }
.lightbox__nav { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; align-items: center; z-index: 2; color: var(--fg); }
.modal__box { position: absolute; top: 50%; left: 50%; width: min(560px, calc(100% - 32px)); max-height: calc(100% - 40px); overflow-y: auto; transform: translate(-50%, -50%); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.2vw, 36px); line-height: 1.15; }
.faq__q i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; position: relative; transition: transform .6s var(--ease), background-color .4s; }
.faq__q i::before, .faq__q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__q i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .6s var(--ease); }
.faq__item.is-open .faq__q i { background: var(--fg); color: var(--inv); }
.faq__item.is-open .faq__q i::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { height: 0; overflow: hidden; }
.faq__a p { margin: 0; padding: 0 60px 30px 0; color: var(--muted); font-size: 18px; max-width: 820px; }
.no-js .faq__a, html:not(.js) .faq__a { height: auto; }

/* ---------- Услуги: блоки ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 34px 30px; min-height: 260px; display: flex; flex-direction: column; gap: 18px; }
.feature__n { font-size: 14px; color: var(--lav); }
.feature h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; }
.feature p { margin: 0; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aud { padding: clamp(28px, 3vw, 48px); }
.aud--accent { background: var(--accent); border-color: var(--accent); }
.aud h3 { margin: 10px 0 24px; font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 3vw, 54px); line-height: 1; }
.aud ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.aud li { display: flex; gap: 14px; }
.aud li::before { content: ''; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--lav); flex: none; }
.aud--accent li::before { background: var(--fg); }
.aud blockquote { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid rgba(var(--fg-rgb), .25); font-family: var(--it); font-weight: 500; font-style: italic; font-size: 22px; line-height: 1.3; }
.aud blockquote cite { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: 14px; opacity: .75; }
.other-svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.other-svc a { padding: 28px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: background-color .5s, border-color .5s, transform .7s var(--ease); }
.other-svc a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-6px); }
.other-svc b { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.05; }
.other-svc span { color: var(--muted); font-size: 15px; }
.other-svc a:hover span { color: rgba(var(--fg-rgb), .85); }

/* ---------- О нас / Контакты ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.about-img { aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px; overflow: hidden; }
.about-img img { width: 100%; height: 115%; object-fit: cover; }
.values { list-style: none; margin: 40px 0 0; padding: 0; }
.values li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.values li span { color: var(--lav); font-size: 14px; padding-top: 6px; }
.values b { display: block; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; margin-bottom: 6px; }
.values p { margin: 0; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ccard { padding: 30px; display: flex; flex-direction: column; gap: 12px; min-height: 230px; }
.ccard small { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.ccard b { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; }
.ccard p { margin: 0; color: var(--muted); }
.ccard .copy { margin-top: auto; align-self: flex-start; background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: 14px; transition: background-color .4s, color .4s; }
.ccard .copy:hover { background: var(--fg); color: var(--inv); }
.open-now { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.open-now i { width: 8px; height: 8px; border-radius: 50%; background: #6BD99B; box-shadow: 0 0 0 0 rgba(107, 217, 155, .6); animation: pulse2 2s infinite; }
.open-now.is-closed i { background: #E88; animation: none; }
@keyframes pulse2 { 70% { box-shadow: 0 0 0 10px rgba(107, 217, 155, 0); } 100% { box-shadow: 0 0 0 0 rgba(107, 217, 155, 0); } }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 220; transform: translate(-50%, 180%); visibility: hidden; padding: 14px 22px; border-radius: 999px; background: var(--fg); color: var(--inv); font-weight: 600; transition: transform .6s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.prose { max-width: 820px; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 34px; margin: 48px 0 14px; line-height: 1.1; }
.prose p, .prose li { color: var(--muted); font-size: 18px; }

/* ---------- Подвал ---------- */
.footer { position: relative; background: var(--bg); padding: clamp(80px, 13vh, 150px) 0 28px; overflow: hidden; border-top: 1px solid var(--line); }
.footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 30px; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.footer__cta .h2 { max-width: 900px; }
.footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__cta + .footer__cols { padding-top: 60px; }
.footer__cols h4 { margin: 0 0 16px; font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.footer__cols a { display: block; text-decoration: none; margin-bottom: 8px; color: rgba(var(--fg-rgb), .86); transition: color .3s, transform .5s var(--ease); }
.footer__cols a:hover { color: var(--lav); transform: translateX(6px); }
.footer__cols p { margin: 0 0 8px; color: var(--muted); }
.footer__phone { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 3.4vw, 60px); line-height: 1; }
.footer__giant { position: relative; margin: 12vh 0 3vh; font-family: var(--serif); font-weight: 600; }
.fg { display: flex; justify-content: center; align-items: baseline; gap: 2.4vw; line-height: 1.05; white-space: nowrap; }
.fg span { font-size: 15vw; letter-spacing: -.02em; }
.fg .g2 { font-style: italic; }
.fg--outline span { color: transparent; -webkit-text-stroke: 1px rgba(var(--fg-rgb), .26); }
.fg--fill { position: absolute; inset: 0; }
.fg--fill .g1 { color: var(--fg); }
.fg--fill .g2 { color: var(--lav); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.footer__bottom a { color: var(--dim); }

/* ---------- Адаптив ---------- */
@media (max-width: 1520px) {
  .header__phone span { display: none; }
}
@media (max-width: 1240px) {
  .nav { display: none; }
}
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .review-glass { max-width: 440px; }
  .stats-bar__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-list a { grid-template-columns: 50px 1fr 56px; }
  .svc-list p { display: none; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .obj-body, .form-grid, .about-split { grid-template-columns: minmax(0, 1fr); }
  .obj-side { position: relative; top: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .other-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu { grid-template-columns: 1fr; }
  .menu__img { display: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .hscroll__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); padding-bottom: 12px; }
  .hscroll .pcard, .pcard--more { scroll-snap-align: start; width: 78vw; }
  .band { height: 70vh; min-height: 440px; }
  .band__text { white-space: normal; font-size: clamp(40px, 11vw, 64px); line-height: 1.05; }
  .band__run { display: block; }
  .process__item { grid-template-columns: 1fr; gap: 14px; }
  .filters { position: relative; top: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header__right .btn, .header__phone { display: none; }
  .logo__text em { font-size: 23px; }
  .logo__mark { width: 42px; height: 42px; }
  .hero__content { padding-top: 110px; }
  .stats-bar__row { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; border-top: 1px solid var(--line); padding: 22px 24px; }
  .stat:first-child { border-top: 0; }
  .why-grid, .team-grid, .feature-grid, .two-col, .other-svc, .contact-grid, .cat-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 70vh; }
  .gallery__item:first-child { grid-column: span 2; grid-row: auto; }
  .params { grid-template-columns: 1fr; }
  .filters input { width: calc(50% - 9px); }
  .filters__count { margin-left: 0; }
  .footer__cols { grid-template-columns: 1fr; }
  .faq__a p { padding-right: 0; }
  .menu { padding-top: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .preloader, .js .curtain { display: none; }
  .manifesto__text .w { opacity: 1 !important; }
}

/* состояния, которые выставляет скрипт в <head> до отрисовки */
.is-entering .curtain__layer { transform: none; }
.is-visited .preloader, .is-entering .preloader { display: none !important; }

/* =====================================================================
   Разные композиции страниц
   ===================================================================== */

/* Общий отступ под шапку для страниц без фото сверху */
.top-pad { padding-top: clamp(130px, 18vh, 190px); }

/* --- Каталог: типографический заголовок со счётчиком --- */
.h-cat { padding-bottom: 30px; }
.h-cat__row { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.h-cat__title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(76px, 13vw, 240px); line-height: .82; letter-spacing: -.03em; }
.h-cat__title em { font-style: italic; color: var(--accent); }
.h-cat__count { text-align: right; }
.h-cat__count b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(70px, 8vw, 150px); line-height: .85; }
.h-cat__count span { color: var(--muted); }
.h-cat__districts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.h-cat__districts button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; transition: background-color .4s, color .4s; }
.h-cat__districts button:hover, .h-cat__districts button[aria-pressed="true"] { background: var(--text); color: var(--fg); }

/* --- Купить: текст + арка с печатью --- */
.h-split { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 80px; overflow: hidden; }
.h-split__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; align-items: center; }
.h-split .display { font-size: clamp(56px, 6.4vw, 118px); }
.h-split__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.arch { position: relative; aspect-ratio: 4 / 5.2; border-radius: 999px 999px 30px 30px; overflow: hidden; }
.arch img { width: 100%; height: 118%; object-fit: cover; }
.arch-wrap { position: relative; }
.arch-wrap::before { content: ''; position: absolute; inset: -18px; border: 1px solid var(--line-2); border-radius: 999px 999px 40px 40px; }
.stamp { position: absolute; z-index: 2; left: -70px; top: 16%; width: 160px; height: 160px; }
.stamp svg { width: 100%; height: 100%; }
.stamp text { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 3.2px; fill: var(--fg); }
.split-facts { display: flex; flex-wrap: wrap; gap: 26px 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.split-facts div b { display: block; font-family: var(--serif); font-weight: 600; font-size: 44px; font-weight: 500; line-height: 1; }
.split-facts div span { color: var(--muted); font-size: 15px; }

/* Плитки-аккордеон «что купить» */
.tiles { display: flex; gap: 14px; height: min(70vh, 620px); }
.tile { position: relative; flex: 1; min-width: 0; border-radius: 26px; overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: flex-grow .9s var(--ease); background: var(--bg-3); }
.tile:hover, .tile:focus-visible { flex-grow: 2.6; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.1); transition: transform 1.4s var(--ease), opacity .8s; }
.tile:hover img { transform: none; opacity: .85; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade-rgb), 0) 30%, rgba(var(--shade-rgb), .85)); }
.tile__in { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; }
.tile__n { position: absolute; z-index: 1; top: 24px; left: 28px; font-size: 14px; color: var(--muted); }
.tile b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 3vw, 56px); line-height: 1; white-space: nowrap; }
.tile p { margin: 12px 0 0; max-width: 340px; color: var(--muted); opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .8s var(--ease); }
.tile:hover p { opacity: 1; transform: none; }
.tile .circle-btn { position: absolute; z-index: 1; top: 20px; right: 20px; }
.tile:hover .circle-btn { background: var(--fg); color: var(--inv); transform: rotate(45deg); }

/* Горизонтальные шаги-карточки */
.hsteps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.hstep { padding: 28px 24px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; }
.hstep b { font-family: var(--serif); font-weight: 600; font-size: 70px; font-weight: 500; line-height: .8; color: var(--lav); }
.hstep h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.05; }
.hstep p { margin: 0; color: var(--muted); font-size: 15px; }

/* --- Продать: цветной типографический экран --- */
.h-type { position: relative; min-height: 100vh; overflow: hidden; background: var(--accent); display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 60px; }
.h-type__marquee { position: absolute; left: 0; top: 18vh; white-space: nowrap; font-family: var(--it); font-weight: 500; font-style: italic; font-size: clamp(120px, 22vw, 400px); line-height: 1; color: rgba(var(--fg-rgb), .1); will-change: transform; pointer-events: none; }
.h-type__grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 6vw; align-items: end; }
.h-type .display { font-size: clamp(64px, 8vw, 150px); }
.h-type .display em { color: var(--fg); }
.h-type .lead { color: rgba(var(--fg-rgb), .85); }
.h-type .eyebrow { color: var(--fg); }
.h-type .crumbs { color: rgba(var(--fg-rgb), .7); }
.h-type .btn__icon { background: var(--bg); }
.h-type .btn--glass { border-color: rgba(var(--fg-rgb), .45); }
.h-type__side { padding: 30px; background: rgba(var(--shade-rgb), .22); border-color: rgba(var(--fg-rgb), .2); }
.h-type__side ul { list-style: none; margin: 0; padding: 0; }
.h-type__side li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(var(--fg-rgb), .18); }
.h-type__side li:last-child { border-bottom: 0; }
.h-type__side li span { color: rgba(var(--fg-rgb), .6); font-size: 14px; min-width: 24px; padding-top: 3px; }

/* Две колонки «мы / вы» */
.we-you { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.we-you > div { padding: clamp(28px, 3vw, 50px); }
.we-you h3 { margin: 0 0 26px; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 3vw, 54px); line-height: 1; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.checks li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.checks li i { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); flex: none; display: grid; place-items: center; }
.checks li i svg { width: 15px; height: 15px; stroke: var(--fg); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.checks--light li i { background: transparent; border: 1px solid var(--line-2); }

/* Липкий заголовок + шаги справа */
.sticky-steps { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6vw; }
.sticky-steps__head { position: sticky; top: 120px; align-self: start; }
.sticky-steps__list { list-style: none; margin: 0; padding: 0; }
.sticky-steps__list li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 6vh 0; border-top: 1px solid var(--line); }
.sticky-steps__list b { font-family: var(--serif); font-weight: 600; font-size: clamp(70px, 6vw, 110px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--lav); }
.sticky-steps__list h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 2.8vw, 48px); line-height: 1; }
.sticky-steps__list p { margin: 0; color: var(--muted); font-size: 18px; }

/* Широкая цветная плашка-призыв */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; background: var(--accent); padding: clamp(36px, 6vw, 90px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 30px; }
.cta-band .h2 em { color: var(--fg); }
.cta-band__big { position: absolute; right: -2vw; top: -6vw; font-family: var(--serif); font-weight: 600; font-size: clamp(160px, 22vw, 380px); line-height: 1; color: rgba(var(--fg-rgb), .1); pointer-events: none; }
.cta-band .btn__icon { background: var(--bg); }

/* --- Аренда: переключатель «снять / сдать» --- */
.h-toggle { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 140px 0 80px; text-align: center; }
.h-toggle__bg { position: absolute; inset: -5% 0; z-index: 0; }
.h-toggle__bg img { width: 100%; height: 100%; object-fit: cover; }
.h-toggle::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(var(--shade-rgb), .55) 0%, rgba(var(--shade-rgb), .85) 70%, var(--bg) 100%); }
.h-toggle > .container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.h-toggle .crumbs { justify-content: center; }
.h-toggle .display { font-size: clamp(64px, 8.4vw, 160px); }
.h-toggle .lead { margin-left: auto; margin-right: auto; text-align: center; }
.mode-switch { position: relative; display: inline-flex; padding: 6px; border-radius: 999px; background: rgba(var(--fg-rgb), .08); border: 1px solid var(--line-2); margin: 0 0 40px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.mode-switch button { position: relative; z-index: 1; min-width: 170px; min-height: 56px; border: 0; background: none; cursor: pointer; font-size: 17px; font-weight: 600; color: rgba(var(--fg-rgb), .8); transition: color .5s; }
.mode-switch button[aria-pressed="true"] { color: var(--inv); }
.mode-switch__pill { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: 170px; border-radius: 999px; background: var(--fg); transition: transform .7s var(--ease); }
.mode-switch[data-mode="let"] .mode-switch__pill { transform: translateX(100%); }
[data-show] { display: none; }
[data-show].is-on { display: block; }
.mode-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mode-cards .feature { min-height: 230px; }
.mode-panel.is-on { display: block; }

/* --- Новостройки: огромное «0 ₽» на фото --- */
.h-full { position: relative; height: 100vh; min-height: 680px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.h-full__bg { position: absolute; inset: 0; z-index: 0; }
.h-full__bg img { width: 100%; height: 100%; object-fit: cover; }
.h-full::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(var(--shade-rgb), .55); }
.h-full::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 1; background: linear-gradient(transparent, var(--bg)); }
.h-full > .container { position: relative; z-index: 2; }
.h-full__zero { font-family: var(--serif); font-weight: 600; font-size: clamp(150px, 26vw, 460px); line-height: .8; letter-spacing: -.04em; }
.h-full__zero em { color: var(--lav); }
.h-full .display { font-size: clamp(36px, 3.6vw, 64px); margin-top: 10px; }
.h-full .crumbs { justify-content: center; }
.h-full .lead { margin: 22px auto 0; text-align: center; }
.h-full__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Горизонтальная лента критериев */
.criteria .hscroll__track .crit { width: clamp(300px, 30vw, 480px); flex: none; min-height: 420px; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.crit__n { font-family: var(--serif); font-weight: 600; font-size: 120px; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--lav); }
.crit h3 { margin: 0 0 12px; font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1; }
.crit p { margin: 0; color: var(--muted); }

/* --- Дома и участки: экран пополам --- */
.h-half { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.h-half__img { position: relative; overflow: hidden; }
.h-half__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-half__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--shade-rgb), .2), rgba(var(--shade-rgb), 0)); }
.h-half__img .h-half__tag { position: absolute; z-index: 1; left: var(--pad); bottom: 50px; max-width: 360px; padding: 26px; }
.h-half__tag b { display: block; font-family: var(--serif); font-weight: 600; font-size: 32px; font-weight: 500; line-height: 1.05; margin-bottom: 8px; }
.h-half__panel { display: flex; flex-direction: column; justify-content: center; padding: 150px clamp(24px, 5vw, 90px) 80px; }
.h-half__panel .display { font-size: clamp(56px, 6vw, 112px); }

/* Путь из шагов с линией */
.rail { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rail svg.rail__path { position: absolute; left: 0; right: 0; top: 34px; width: 100%; height: 40px; overflow: visible; pointer-events: none; }
.rail__path path { fill: none; stroke: var(--lav); stroke-width: 1.5; stroke-dasharray: 6 8; }
.rail__step { position: relative; }
.rail__ico { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); margin-bottom: 26px; position: relative; z-index: 1; }
.rail__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rail__step h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.05; }
.rail__step p { margin: 0; color: var(--muted); }
.rail-note { margin-top: 50px; padding: 26px 30px; display: flex; gap: 18px; align-items: center; }
.rail-note b { font-family: var(--serif); font-weight: 600; font-size: 26px; font-weight: 500; }

/* --- О нас: огромная цифра + лента фото --- */
.h-number { padding: clamp(150px, 20vh, 210px) 0 60px; }
.h-number__grid { display: grid; grid-template-columns: auto 1fr; gap: 5vw; align-items: end; }
.h-number__big { font-family: var(--serif); font-weight: 600; font-size: clamp(180px, 26vw, 460px); line-height: .78; letter-spacing: -.05em; }
.h-number__big sup { font-size: .32em; color: var(--lav); vertical-align: top; position: relative; top: .25em; }
.h-number__text .display { font-size: clamp(46px, 4.6vw, 86px); }
.strip { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 14px; margin-top: 70px; height: min(52vh, 480px); }
.strip > div { border-radius: 24px; overflow: hidden; }
.strip > div:nth-child(2) { margin-top: 60px; }
.strip img { width: 100%; height: 120%; object-fit: cover; }
.values-big { list-style: none; margin: 0; padding: 0; }
.values-big li { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 30px; align-items: baseline; padding: 4.5vh 0; border-top: 1px solid var(--line); }
.values-big li span { color: var(--lav); }
.values-big b { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 3.4vw, 60px); line-height: 1; transition: transform 1s cubic-bezier(.22, 1, .36, 1), color .6s ease; }
.values-big li span { transition: color .6s ease; }
@media (hover: hover) { .values-big li:hover b { transform: translateX(8px); color: var(--lav); } }
.values-big p { margin: 0; color: var(--muted); font-size: 18px; }

/* --- Отзывы: огромный рейтинг и слайдер --- */
.h-rating { padding: clamp(150px, 20vh, 210px) 0 60px; text-align: center; }
.h-rating .crumbs { justify-content: center; }
.h-rating__big { font-family: var(--serif); font-weight: 600; font-size: clamp(200px, 30vw, 520px); line-height: .8; letter-spacing: -.04em; }
.h-rating__stars { display: flex; justify-content: center; gap: 1.4vw; margin: 10px 0 24px; font-size: clamp(30px, 3.6vw, 64px); color: var(--gold); }
.h-rating__stars span { display: inline-block; }
.h-rating .lead { margin: 0 auto; }
.h-rating__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.qslider { position: relative; }
.qslider__stage { display: grid; min-height: 46vh; align-items: center; }
.qslide { grid-area: 1 / 1; visibility: hidden; }
.qslide.is-on { visibility: visible; }
.qslide p { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.4vw, 80px); line-height: 1.08; max-width: 1300px; }
.qslide footer { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.qslide footer div span { display: block; color: var(--muted); font-size: 15px; }
.qslider__nav { display: flex; align-items: center; gap: 16px; margin-top: 50px; }
.qslider__bar { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.qslider__bar i { position: absolute; inset: 0; background: var(--lav); transform-origin: left; transform: scaleX(0); }
.qslider__count { font-size: 15px; color: var(--muted); min-width: 60px; text-align: center; }
.sources { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.source { padding: 40px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: background-color .5s, border-color .5s; }
.source:hover { background: var(--accent); border-color: var(--accent); }
.source b { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 3.6vw, 64px); line-height: 1; }
.source--soon { border-style: dashed; opacity: .7; }
.source--soon:hover { background: transparent; border-color: var(--line); }

/* --- Контакты: карта + список --- */
.h-map { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 100vh; }
.h-map__map { position: relative; background: var(--bg-3); overflow: hidden; }
.h-map__map::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(var(--fg-rgb), .045) 0 1px, transparent 1px 56px), repeating-linear-gradient(90deg, rgba(var(--fg-rgb), .045) 0 1px, transparent 1px 56px); }
.h-map__map svg.roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.roads path { fill: none; stroke: rgba(var(--lav-rgb), .22); stroke-width: 10; stroke-linecap: round; }
.roads path.thin { stroke-width: 3; stroke: rgba(var(--fg-rgb), .1); }
.roads path.water { fill: rgba(59, 37, 119, .16); stroke: none; }
.h-map__pin { position: absolute; left: 52%; top: 46%; transform: translate(-50%, -100%); text-align: center; z-index: 2; }
.h-map__pin .pin { margin-bottom: 14px; }
.h-map__pin span { display: inline-block; padding: 10px 16px; border-radius: 14px; background: var(--fg); color: var(--inv); font-size: 14px; font-weight: 600; white-space: nowrap; }
.h-map__note { position: absolute; left: 24px; bottom: 24px; z-index: 2; font-size: 13px; color: var(--dim); }
.h-map__info { padding: 150px clamp(24px, 5vw, 90px) 70px; display: flex; flex-direction: column; justify-content: center; }
.h-map__info .display { font-size: clamp(56px, 5.6vw, 104px); }
.clock { display: flex; align-items: baseline; gap: 16px; margin: 30px 0 6px; }
.clock b { font-family: var(--serif); font-weight: 600; font-size: clamp(60px, 5vw, 92px); line-height: 1; }
.clock span { color: var(--muted); }
.clist { list-style: none; margin: 34px 0 0; padding: 0; }
.clist li { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.clist li small { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.clist li a, .clist li b { text-decoration: none; font-size: 19px; font-weight: 500; }
.clist .copy { background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; font-size: 13px; cursor: pointer; transition: background-color .4s, color .4s; }
.clist .copy:hover { background: var(--fg); color: var(--inv); }

/* --- Политика: документ с оглавлением --- */
.doc { display: grid; grid-template-columns: 280px 1fr; gap: 6vw; }
.doc__toc { position: sticky; top: 120px; align-self: start; list-style: none; margin: 0; padding: 0; counter-reset: t; }
.doc__toc a { display: block; padding: 10px 0 10px 18px; border-left: 1px solid var(--line); text-decoration: none; color: var(--muted); transition: color .3s, border-color .3s, padding .5s var(--ease); }
.doc__toc a.is-on { color: var(--text); border-color: var(--accent); padding-left: 26px; }
.doc .prose h2 { scroll-margin-top: 120px; }
.doc-head .display { font-size: clamp(50px, 6vw, 110px); }

/* --- Адаптив для новых блоков --- */
@media (max-width: 1100px) {
  .h-split__grid, .h-type__grid, .we-you, .sticky-steps, .h-half, .h-map, .doc, .h-number__grid { grid-template-columns: 1fr; }
  .h-split .arch-wrap { max-width: 460px; margin: 30px auto 0; }
  .stamp { left: -20px; width: 120px; height: 120px; }
  .tiles { flex-direction: column; height: auto; }
  .tile { min-height: 200px; }
  .tile:hover { flex-grow: 1; }
  .tile p { opacity: 1; transform: none; }
  .hsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mode-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-steps__head { position: relative; top: 0; }
  .h-half__img { min-height: 60vh; }
  .h-half__panel { padding-top: 60px; }
  .h-map__map { min-height: 60vh; order: 2; }
  .h-map__info { padding-top: 130px; }
  .doc__toc { position: relative; top: 0; }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail svg.rail__path { display: none; }
  .values-big li { grid-template-columns: 60px 1fr; }
  .values-big p { grid-column: 2; }
  .sources { grid-template-columns: 1fr; }
  .h-cat__row { grid-template-columns: 1fr; }
  .h-cat__count { text-align: left; }
}
@media (max-width: 720px) {
  .hsteps, .mode-cards, .rail { grid-template-columns: 1fr; }
  .mode-switch button { min-width: 130px; }
  .mode-switch__pill { width: 130px; }
  .strip { grid-template-columns: 1fr 1fr; height: 40vh; }
  .strip > div:nth-child(3) { display: none; }
  .clist li { grid-template-columns: 1fr auto; }
  .clist li small { grid-column: 1 / -1; }
  .sticky-steps__list li { grid-template-columns: 70px 1fr; }
}

.obj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 26px; }
@media (max-width: 1100px) { .obj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .obj-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .h-number__big { font-size: 40vw; }
  .h-rating__big { font-size: 46vw; }
  .h-full__zero { font-size: 40vw; }
  .h-cat__title { font-size: 18vw; }
}
.why-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .why-grid--3 { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .fg--fill { clip-path: none !important; } }

/* =====================================================================
   Визуал первого варианта: светлый фон, белые карточки, фиолетовый,
   Onest для заголовков и Playfair Display курсивом для акцентов
   ===================================================================== */

::selection { background: var(--accent); color: #fff; }
:focus-visible { outline-color: var(--accent); }
em, .serif-em { font-family: var(--it); font-weight: 500; letter-spacing: -.005em; }

/* Тёмные участки: фото, фиолетовые блоки, подвал */
.phero, .band, .footer, .h-type, .cta-band, .h-toggle, .h-full, .tile, .aud--accent, .lightbox,
.pcard--more, .section--purple, .h-half__img {
  --bg: #1A1A3C; --bg-2: #221F4A; --bg-3: #2A2656;
  --glass: rgba(255, 255, 255, .08); --glass-2: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, .16); --line-2: rgba(255, 255, 255, .32);
  --text: #FFFFFF; --muted: rgba(255, 255, 255, .76); --dim: rgba(255, 255, 255, .52);
  --lav: #C9C2E6; --fg: #FFFFFF; --fg-rgb: 255, 255, 255; --inv: #1A1A3C; --lav-rgb: 201, 194, 230;
  color: var(--text);
}

/* Типографика */
.eyebrow { color: var(--lav); font-weight: 600; font-size: 12.5px; letter-spacing: .2em; gap: 12px; }
.eyebrow::before { width: 8px; height: 8px; border-radius: 50%; opacity: 1; }
.display { font-size: clamp(44px, 5.8vw, 104px); line-height: 1.02; letter-spacing: -.035em; }
.h2 { font-size: clamp(34px, 3.9vw, 68px); line-height: 1.05; letter-spacing: -.03em; }
.h3 { font-size: clamp(26px, 2.2vw, 38px); letter-spacing: -.02em; }
.display em, .h2 em, .h3 em { color: var(--lav); font-weight: 500; letter-spacing: -.015em; }
.manifesto__text { font-size: clamp(30px, 3.6vw, 64px); letter-spacing: -.03em; line-height: 1.12; }
.svc-list h3, .process__item h3, .values-big b, .menu__nav a span, .member b, .why__num, .stat__num, .pcard__price,
.footer__phone, .obj-price, .clock b, .h-cat__title, .h-cat__count b, .h-number__big, .h-rating__big, .h-full__zero,
.band__text, .fg span, .aud h3, .we-you h3, .crit h3, .tile b, .other-svc b, .source b, .rail__step h3, .hstep h3,
.sticky-steps__list h3, .feature h3, .lead-form h3, .prose h2, .ccard b, .rating-hero__big, .split-facts div b { letter-spacing: -.03em; }
.lead { color: var(--muted); }

/* Кнопки */
.btn { --fill: #1A1A3C; background: var(--accent); color: #fff; min-height: 60px; font-size: 16px; padding: 7px 8px 7px 30px; }
.btn:hover { color: #fff; }
.btn__icon { width: 44px; height: 44px; background: #fff; color: var(--accent); }
.btn:hover .btn__icon { background: var(--accent); color: #fff; }
.btn--glass { --fill: var(--accent); background: transparent; color: var(--text); border: 1px solid var(--line-2); padding: 7px 28px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn--glass:hover { color: #fff; border-color: var(--accent); }
.btn--accent { --fill: #1A1A3C; background: var(--accent); color: #fff; }
.btn--accent .btn__icon { background: #fff; color: var(--accent); }
.btn--accent:hover { color: #fff; }
.btn--accent:hover .btn__icon { background: var(--accent); color: #fff; }
.btn--sm { min-height: 50px; padding: 0 24px; font-size: 15px; }
.phero .btn, .band .btn, .footer .btn, .h-type .btn, .cta-band .btn, .h-toggle .btn, .h-full .btn, .section--purple .btn, .aud--accent .btn {
  --fill: var(--accent); background: #fff; color: #1A1A3C;
}
.phero .btn:hover, .footer .btn:hover, .h-type .btn:hover, .cta-band .btn:hover, .h-toggle .btn:hover, .h-full .btn:hover, .section--purple .btn:hover { color: #fff; }
.phero .btn .btn__icon, .footer .btn .btn__icon, .h-type .btn .btn__icon, .cta-band .btn .btn__icon, .h-toggle .btn .btn__icon, .h-full .btn .btn__icon, .section--purple .btn .btn__icon { background: var(--accent); color: #fff; }
.phero .btn:hover .btn__icon, .footer .btn:hover .btn__icon, .h-type .btn:hover .btn__icon, .cta-band .btn:hover .btn__icon, .h-toggle .btn:hover .btn__icon, .h-full .btn:hover .btn__icon, .section--purple .btn:hover .btn__icon { background: #fff; color: var(--accent); }
.phero .btn--glass, .footer .btn--glass, .h-type .btn--glass, .cta-band .btn--glass, .h-toggle .btn--glass, .h-full .btn--glass, .section--purple .btn--glass { --fill: #fff; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.phero .btn--glass:hover, .footer .btn--glass:hover, .h-type .btn--glass:hover, .cta-band .btn--glass:hover, .h-toggle .btn--glass:hover, .h-full .btn--glass:hover, .section--purple .btn--glass:hover { color: #1A1A3C; }
.circle-btn:hover, .svc-list a:hover .circle-btn, .tile:hover .circle-btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip { background: #fff; border-color: transparent; }
.chip:hover { background: var(--accent); color: #fff; }

/* Карточки — белые, мягкая тень, как в первом варианте */
.glass { background: #fff; border: 1px solid rgba(26, 26, 60, .06); border-radius: 28px; box-shadow: var(--shadow); }
.phero .glass, .band .glass, .footer .glass, .h-type .glass, .cta-band .glass, .h-toggle .glass, .h-full .glass, .section--purple .glass, .h-half__img .glass {
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); box-shadow: none;
}
.section--panel { background: #fff; border-radius: clamp(28px, 4vw, 56px); margin: 0 clamp(8px, 1.2vw, 20px); }
.section--panel .glass { box-shadow: 0 0 0 1px rgba(26, 26, 60, .06); }
.section--purple { background: var(--accent); border-radius: clamp(28px, 4vw, 56px); margin: 0 clamp(8px, 1.2vw, 20px); }
.section--purple .why__num small { color: var(--lav); }
.section--panel + .section, .section--purple + .section, .section + .section--panel, .section + .section--purple { margin-top: 0; }

/* Прелоадер, курсор */
.preloader__word em { color: var(--accent); }
.preloader__bar i { background: var(--accent); }
.cursor__dot { background: var(--accent); }
.cursor__ring { border-color: rgba(59, 37, 119, .45) !important; }
.cursor.is-hover .cursor__ring { background: rgba(59, 37, 119, .08); border-color: var(--accent) !important; }
.cursor.is-label .cursor__ring { background: var(--accent); }
.cursor__label { color: #fff; }

/* Шапка: верхняя строка, логотип, меню в белой «пилюле» */
.header { background: rgba(238, 241, 247, .88); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 0; }
.header.is-scrolled { background: rgba(238, 241, 247, .94); box-shadow: 0 14px 40px -26px rgba(26, 26, 60, .4); }
.topbar { border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); overflow: hidden; max-height: 46px; transition: max-height .6s var(--ease), opacity .4s, border-color .4s; }
.topbar__in { max-width: 1680px; margin: 0 auto; padding: 11px var(--pad); display: flex; align-items: center; gap: 28px; }
.topbar__in span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar .ico { width: 15px; height: 15px; }
.topbar__phone { margin-left: auto; font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap; }
.header.is-scrolled .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.header__inner { padding-top: 16px; padding-bottom: 16px; }
.logo__text b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.logo__text small { text-transform: none; letter-spacing: 0; font-size: 12.5px; margin-top: 3px; }
.nav { background: #fff; border-radius: 999px; padding: 6px; gap: 2px; box-shadow: 0 10px 30px -22px rgba(26, 26, 60, .4); }
.nav a { color: var(--text); padding: 11px 17px; border-radius: 999px; font-size: 15px; transition: background-color .4s, color .3s; }
.nav a::after { display: none; }
.nav a:hover { background: var(--lav-soft); color: var(--accent); }
.nav a[aria-current="page"] { background: var(--accent); color: #fff; }
.header__right { gap: 10px; }
.icon-btn { width: 50px; height: 50px; flex: none; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; box-shadow: 0 10px 30px -22px rgba(26, 26, 60, .4); transition: transform .5s var(--ease), background-color .4s, color .4s; }
.icon-btn:hover { transform: translateY(-2px); background: var(--accent); color: #fff; }
.icon-btn--wa { color: #1F8A4C; }
.icon-btn--wa:hover { background: #1F8A4C; }
.menu-btn { background: #fff; border: 0; width: 50px; height: 50px; box-shadow: 0 10px 30px -22px rgba(26, 26, 60, .4); }
.menu-btn i { background: var(--text); left: 15px; right: 15px; }
.menu-btn i:first-child { top: 20px; } .menu-btn i:last-child { top: 28px; }
.menu-open .menu-btn i:first-child, .menu-open .menu-btn i:last-child { top: 24px; }
.menu-btn:hover { background: var(--accent); }
.menu-btn:hover i { background: #fff; }
.menu { padding-top: 160px; }
.menu__nav a[aria-current="page"] span { font-family: var(--it); font-weight: 500; }

/* Первый экран главной — как в первом варианте */
.h1hero { position: relative; padding: clamp(160px, 21vh, 210px) 0 clamp(50px, 7vh, 90px); }
.h1hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 5vw; align-items: center; }
.dot-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.dot-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.h1hero__title { margin: 0; font-size: clamp(44px, 5.5vw, 92px); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; }
.h1hero__l { display: block; max-width: 11em; }
.h1hero__sea { display: flex; align-items: center; gap: .3em; margin-top: .06em; }
.h1hero__sea em { font-family: var(--it); font-style: italic; font-weight: 500; color: var(--accent); font-size: 1.1em; line-height: 1.12; letter-spacing: -.01em; }
.wave { width: 1.6em; height: auto; flex: none; }
.wave path { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }
.h1hero .lead { max-width: 580px; margin-top: 28px; }
.h1hero__svc { list-style: none; padding: 0; margin: clamp(36px, 6vh, 64px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.h1hero__svc a { position: relative; display: block; padding-top: 16px; text-decoration: none; }
.h1hero__svc a::before, .h1hero__svc a::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.h1hero__svc a::after { background: var(--accent); height: 2px; transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.h1hero__svc a:hover::after { transform: scaleX(1); }
.h1hero__svc small { font-size: 12.5px; font-weight: 600; color: var(--accent); }
.h1hero__svc b { display: block; margin-top: 8px; font-size: 16px; font-weight: 600; transition: color .4s; }
.h1hero__svc span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.h1hero__svc a:hover b { color: var(--accent); }
.h1hero__media { position: relative; width: 100%; max-width: 580px; justify-self: end; }
.h1hero__arch { position: relative; margin-left: 14%; aspect-ratio: 5 / 6.8; border-radius: 999px 999px 34px 34px; overflow: hidden; background: var(--bg-3); }
.h1hero__arch img { width: 100%; height: 110%; object-fit: cover; object-position: 50% 0%; }
.h1hero__arch-line { position: absolute; top: -16px; right: -16px; bottom: -16px; left: calc(14% - 16px); border: 1px solid var(--line-2); border-radius: 999px 999px 48px 48px; pointer-events: none; }
.h1hero .stamp { left: -2%; top: 13%; width: clamp(120px, 12.5vw, 196px); height: auto; aspect-ratio: 1; filter: drop-shadow(0 24px 34px rgba(59, 37, 119, .35)); }
.h1hero__review { position: absolute; z-index: 3; left: -8%; bottom: -14%; width: min(400px, 80%); padding: 24px 26px; border-radius: 24px; background: #fff; box-shadow: 0 34px 80px -34px rgba(26, 26, 60, .5); }
.h1hero__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }
.h1hero__rating .stars { font-size: 14px; letter-spacing: .14em; }
.badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--lav-soft); color: var(--accent); font-size: 13px; font-weight: 600; }
.badge .ico { width: 14px; height: 14px; }
.h1hero__review p { margin: 14px 0 16px; font-size: 15.5px; line-height: 1.55; }
.h1hero__review footer { display: flex; align-items: center; gap: 12px; }
.h1hero__review footer b { display: block; font-size: 15px; }
.h1hero__review footer small { color: var(--muted); font-size: 13px; }
.avatar { background: var(--lav-soft); color: var(--accent); }
.stats-sec { padding-top: clamp(60px, 9vh, 110px); }
.stat__num { font-size: clamp(40px, 3.4vw, 56px); }
.stat__icon { color: var(--accent); }

/* Отдельные элементы */
.stamp text { fill: #fff; }
.checks li i svg { stroke: #fff; }
.pin { color: #fff; }
.pcard .tag { background: var(--accent); color: #fff; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.gallery__count { color: #fff; }
.obj-tags span:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.pills input:checked + span, .seg button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.seg { background: #fff; }
.filters select, .filters input { background: #fff; color: var(--text); }
.filters__count b { color: var(--text); }
.h-cat__districts button { background: #fff; border-color: transparent; }
.h-cat__districts button:hover, .h-cat__districts button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.faq__item.is-open .faq__q i { background: var(--accent); border-color: var(--accent); color: #fff; }
.faq__q { font-weight: 500; font-size: clamp(20px, 1.7vw, 28px); letter-spacing: -.015em; }
.other-svc a:hover, .source:hover { color: #fff; }
.other-svc a:hover span, .source:hover span, .source:hover p { color: rgba(255, 255, 255, .8); }
.source--soon:hover { color: var(--text); }
.ccard .copy:hover, .clist .copy:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.h-map__pin span { background: #fff; color: var(--text); box-shadow: 0 14px 30px -18px rgba(26, 26, 60, .5); }
.modal__close { background: #fff; color: var(--text); border-color: #fff; }
.qcard p { font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.55; letter-spacing: 0; }
.qslide p { font-weight: 500; font-size: clamp(28px, 3.4vw, 58px); letter-spacing: -.025em; line-height: 1.12; }
.member__arch { border-color: transparent; }
.lead-form h3 { font-size: 30px; }
.toast { background: var(--accent); color: #fff; }
.process__item.is-on .process__dot { box-shadow: 0 0 0 8px rgba(59, 37, 119, .12); }
.h-number__big sup { margin-right: .08em; }
.fg .g2 { font-family: var(--it); font-weight: 500; }
.h-type__marquee { color: rgba(255, 255, 255, .1); }

/* Фото-экраны и лента — скруглённые панели */
.phero, .h-toggle, .h-full, .h-type { border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px); }
.phero::before { background: linear-gradient(180deg, rgba(var(--shade-rgb), .55) 0%, rgba(var(--shade-rgb), .35) 45%, rgba(var(--shade-rgb), .7) 100%), linear-gradient(90deg, rgba(var(--shade-rgb), .6), rgba(var(--shade-rgb), 0) 70%); }
.h-toggle::before { background: radial-gradient(ellipse at center, rgba(var(--shade-rgb), .5) 0%, rgba(var(--shade-rgb), .82) 80%); }
.h-full::after { display: none; }
.band { margin: 0 clamp(8px, 1.2vw, 20px); border-radius: clamp(28px, 4vw, 56px); }
.h-half__img { border-radius: 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0; }

/* Форма — светлая, на белой карточке */
.cta-sec__bg, .cta-sec::before { display: none; }

/* Подвал — тёмно-синий со скруглением сверху, как в первом варианте */
.footer { border-top: 0; border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; }
.stamp text { font-size: 11px; letter-spacing: 0; }

/* Адаптив */
@media (max-width: 1520px) { .header__cta { display: none; } }
@media (max-width: 1240px) { .topbar__hours { display: none; } }
@media (max-width: 1100px) {
  .h1hero__grid { grid-template-columns: minmax(0, 1fr); gap: 60px; }
  .h1hero__media { justify-self: center; max-width: 480px; margin-bottom: 70px; }
  .h1hero__review { left: -4%; }
  .h1hero__svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-half__img { border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px); }
}
@media (max-width: 720px) {
  .topbar { display: none; }
  .header__right .icon-btn--wa { display: none; }
  .header__right .icon-btn { width: 44px; height: 44px; }
  .menu-btn { width: 44px; height: 44px; }
  .menu-btn i { left: 13px; right: 13px; }
  .menu-btn i:first-child { top: 17px; } .menu-btn i:last-child { top: 25px; }
  .menu-open .menu-btn i:first-child, .menu-open .menu-btn i:last-child { top: 21px; }
  .logo__text b { font-size: 18px; }
  .logo__text small { font-size: 11.5px; }
  .h1hero { padding-top: 120px; }
  .h1hero__title { font-size: clamp(38px, 11vw, 54px); }
  .h1hero__media { max-width: 340px; margin: 0 auto 120px; }
  .h1hero__arch { margin-left: 10%; }
  .h1hero__arch-line { left: calc(10% - 12px); top: -12px; right: -12px; bottom: -12px; }
  .h1hero .stamp { width: 104px; left: -4%; }
  .h1hero__review { left: -2%; right: -2%; width: auto; bottom: -26%; padding: 20px; }
  .h1hero__review p { font-size: 14.5px; }
  .menu { padding-top: 100px; }
  .section--panel, .section--purple, .band { margin: 0 6px; }
}

/* закреплённая лента объектов: белая панель рисуется псевдоэлементом, чтобы не ломать закрепление */
.section--panel.hscroll { margin: 0; background: none; border-radius: 0; isolation: isolate; }
.section--panel.hscroll::before { content: ''; position: absolute; z-index: -1; inset: 0 clamp(8px, 1.2vw, 20px); background: #fff; border-radius: clamp(28px, 4vw, 56px); }
@media (max-width: 720px) { .section--panel.hscroll::before { inset: 0 6px; } }

.section--panel.hscroll .hscroll__track { padding-right: calc(var(--pad) + 24px); }
.filters { top: 96px; }
.tile b { font-size: clamp(22px, 1.9vw, 36px); }
@media (max-width: 720px) {
  .svc-list a { grid-template-columns: 30px minmax(0, 1fr) 46px; gap: 14px; }
  .svc-list h3 { font-size: clamp(26px, 7.4vw, 38px); }
  .svc-list .circle-btn { width: 46px; height: 46px; }
}
@media (max-width: 720px) {
  .h1hero__media { margin-bottom: 20px; }
  .h1hero__review { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -70px 6px 0; }
}
@media (max-width: 720px) { .h1hero__arch-line { display: none; } }

/* Контакты: как найти офис в здании (фото офиса) */
.find__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5vw; align-items: center; }
.find__steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 4px; }
.find__steps li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.find__steps b { font-size: 14px; font-weight: 600; color: var(--accent); padding-top: 6px; }
.find__steps h3 { margin: 0 0 6px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.find__steps p { margin: 0; color: var(--muted); }
.find__photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: min(78vh, 680px); }
.find__ph { margin: 0; border-radius: 28px; overflow: hidden; background: var(--bg-3); }
.find__ph--tall { grid-row: span 2; }
.find__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.find__ph:hover img { transform: scale(1.04); }
.strip img { object-position: 50% 40%; }
@media (max-width: 1100px) { .find__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .find__photos { height: 120vw; gap: 8px; } .find__ph { border-radius: 20px; } }

/* Контакты: каналы в Telegram и MAX с QR-кодами */
.channels__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chan { display: flex; align-items: center; gap: 28px; padding: 24px; text-decoration: none; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.chan:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -36px rgba(26, 26, 60, .45); }
.chan__qr { flex: none; width: 168px; height: 168px; padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.chan__qr img { width: 100%; height: 100%; display: block; }
.chan__txt small { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.chan__txt b { display: block; margin: 8px 0 18px; font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.chan__btn { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--accent); }
.chan__btn i { width: 34px; height: 34px; border-radius: 50%; background: var(--lav-soft); display: grid; place-items: center; transition: transform .5s var(--ease), background-color .3s, color .3s; }
.chan:hover .chan__btn i { transform: translateX(4px); background: var(--accent); color: #fff; }
@media (max-width: 1100px) { .channels__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .chan__qr { display: none; } .chan { padding: 22px; } }

/* ---------- Политика и согласие: таблицы, списки ---------- */
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); }
.prose b { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose .tbl { margin: 18px 0 28px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th { text-align: left; font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: rgba(59, 37, 119, .05); padding: 14px 18px; }
.prose td { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--muted); vertical-align: top; line-height: 1.45; }
.prose td:first-child { color: var(--text); font-weight: 500; }
.prose--single { max-width: 820px; }
.prose--single p { margin: 0 0 16px; }
.doc-note { margin-top: 30px !important; padding-top: 22px; border-top: 1px solid var(--line); font-size: 16px !important; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 720px) {
  .prose table, .prose tbody, .prose tr, .prose td { display: block; }
  .prose thead { display: none; }
  .prose tr { padding: 14px 16px; border-top: 1px solid var(--line); }
  .prose tr:first-child { border-top: 0; }
  .prose td { border: 0; padding: 3px 0; }
  .prose td::before { content: attr(data-l); display: block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
  .prose .tbl--kv td::before { display: none; }
}

/* ---------- Плашка о политике (первый заход) ---------- */
.policy-bar { position: fixed; left: 50%; bottom: 24px; z-index: 150; width: min(820px, calc(100% - 32px)); display: flex; align-items: center; gap: 18px; padding: 16px 16px 16px 20px; border-radius: 24px; background: #fff; border: 1px solid rgba(59, 37, 119, .12); box-shadow: 0 30px 70px -30px rgba(26, 26, 60, .45), 0 2px 8px rgba(26, 26, 60, .06); color: #1A1A3C; transform: translate(-50%, 140%); opacity: 0; transition: transform .8s cubic-bezier(.16, 1, .3, 1), opacity .5s; }
.policy-bar[hidden] { display: none; }
.policy-bar.is-on { transform: translate(-50%, 0); opacity: 1; }
.policy-bar__ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #EEEAF8; color: #3B2577; display: grid; place-items: center; }
.policy-bar__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.policy-bar p { margin: 0; flex: 1; font-size: 14.5px; line-height: 1.45; color: #4A4A68; }
.policy-bar a { color: #3B2577; font-weight: 600; text-underline-offset: 3px; }
.policy-bar__ok { flex: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 999px; background: #3B2577; color: #fff; transition: background-color .3s, transform .3s; }
.policy-bar__ok:hover { background: #2A1A5A; transform: translateY(-1px); }
.policy-bar__ok:focus-visible { outline: 2px solid #3B2577; outline-offset: 3px; }
@media (max-width: 640px) {
  .policy-bar { bottom: 12px; width: calc(100% - 24px); flex-wrap: wrap; gap: 12px 14px; padding: 16px; border-radius: 22px; }
  .policy-bar__ico { width: 38px; height: 38px; }
  .policy-bar p { flex: 1 1 calc(100% - 52px); font-size: 14px; }
  .policy-bar__ok { width: 100%; padding: 13px; }
}
@media (prefers-reduced-motion: reduce) { .policy-bar { transition: opacity .3s; } }

/* =====================================================================
   Каталог и страница объекта (шаблоны под WordPress: карточка, архив, запись)
   ===================================================================== */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Карточка объекта */
.pcard__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.pcard__img { aspect-ratio: 4 / 3.2; }
.pcard .ex { top: auto; bottom: 14px; right: 14px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .88); color: var(--muted); font-size: 11.5px; letter-spacing: .02em; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 4px 0; }
.pcard__title { margin: 6px 0 4px; font-size: 17px; font-weight: 500; line-height: 1.3; }
.pcard__place { margin: 0; font-size: 15px; color: var(--muted); }
.pcard__meta { margin-bottom: 18px; }
.pcard__more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; padding: 5px 5px 5px 20px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; font-weight: 600; color: var(--text); transition: background-color .45s var(--ease), color .45s, border-color .45s; }
.pcard__arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; transition: transform .6s var(--ease); }
.pcard__arrow .ico { width: 16px; height: 16px; }
.pcard:hover .pcard__more, .pcard__link:focus-visible .pcard__more { background: var(--accent); border-color: var(--accent); color: #fff; }
.pcard:hover .pcard__arrow { background: #fff; color: var(--accent); transform: rotate(45deg); }
.pcard__link:focus-visible { outline: none; }
.pcard__link:focus-visible .pcard__img { outline: 2px solid var(--accent); outline-offset: 4px; }
.cat-grid { align-items: stretch; }

/* Каталог: шапка */
.h-cat__sub { max-width: 620px; margin: 28px 0 0; }
.h-cat__count span { display: block; margin-top: 8px; }

/* Фильтры: GET-форма */
.filters { position: relative; top: auto; display: block; padding: 24px; margin: 0 0 28px; }
.filters__deal { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.filters__deal legend, .ffield > span { display: block; margin-bottom: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 0; }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--bg); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; color: var(--muted); transition: background-color .4s var(--ease), color .4s; }
.seg label:hover span { color: var(--text); }
.seg input:checked + span { background: var(--accent); color: #fff; font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.filters__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.ffield { display: block; margin: 0; }
.filters .ffield select, .filters .ffield input { width: 100%; min-height: 56px; padding: 0 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; transition: border-color .3s, background-color .3s; }
.filters .ffield select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B2577' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 18px; }
.filters .ffield select:focus, .filters .ffield input:focus { border-color: var(--accent); background-color: #fff; outline: none; }
.filters .ffield input::placeholder { color: var(--dim); }
.filters__btns { display: flex; align-items: center; gap: 18px; }
.filters__btns .btn { min-height: 56px; }
.filters__reset { border: 0; background: none; padding: 6px 2px; cursor: pointer; font: inherit; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); transition: color .3s; }
.filters__reset:hover { color: var(--accent); text-decoration-color: currentColor; }

.cat-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 8px; }
.cat-bar__count { margin: 0; font-size: 17px; color: var(--muted); }
.cat-bar__count b { color: var(--text); font-weight: 600; }
.cat-bar__sort { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.cat-bar__sort select { border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; padding: 6px 0; }
.cat-note { margin: 0 0 34px; }

/* Ничего не найдено */
.cat-empty { display: block; max-width: 640px; margin: 10px auto 0; padding: 56px 32px; text-align: center; border-radius: 28px; background: #fff; box-shadow: var(--shadow); color: var(--muted); }
.cat-empty__ico { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-soft); color: var(--accent); }
.cat-empty__ico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cat-empty h3 { margin: 0 0 10px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; color: var(--text); letter-spacing: -.02em; }
.cat-empty p { margin: 0 auto 28px; max-width: 480px; font-size: 16px; line-height: 1.55; }
.cat-empty__btns { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; }

/* Показать ещё */
.cat-more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 64px; }
.cat-more__info { margin: 0; font-size: 15px; color: var(--muted); }
.cat-more__info b { color: var(--text); }
.cat-more__bar { width: 220px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.cat-more__bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .8s var(--ease); }
.cat-more .btn { margin-top: 10px; }

/* Страница объекта */
.obj-head { align-items: flex-end; }
.obj-head__main { min-width: 0; }
.obj-place { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 17px; color: var(--muted); }
.obj-place .ico { color: var(--accent); flex: none; }
.obj-share { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .4s var(--ease), color .4s, border-color .4s; }
.obj-share .ico { width: 18px; height: 18px; color: var(--accent); transition: color .4s; }
.obj-share:hover, .obj-share.is-done { background: var(--accent); border-color: var(--accent); color: #fff; }
.obj-share:hover .ico, .obj-share.is-done .ico { color: #fff; }

.ogal { display: grid; gap: 14px; }
.ogal__main { position: relative; border-radius: 28px; overflow: hidden; background: var(--bg-3); }
.ogal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; width: 100%; height: clamp(320px, 46vw, 72vh); }
.ogal__track::-webkit-scrollbar { display: none; }
.ogal__slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ogal__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ogal__count, .ogal__ex { position: absolute; z-index: 2; padding: 8px 14px; border-radius: 999px; font-size: 14px; pointer-events: none; }
.ogal__count { right: 18px; bottom: 18px; background: rgba(26, 22, 60, .72); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ogal__count b { font-weight: 600; }
.ogal__ex { left: 18px; top: 18px; background: rgba(255, 255, 255, .9); color: var(--muted); font-size: 12px; }
.ogal__nav { position: absolute; z-index: 2; top: 50%; margin-top: -28px; background: rgba(255, 255, 255, .92); border-color: transparent; color: var(--accent); box-shadow: 0 10px 30px -12px rgba(26, 26, 60, .5); }
.ogal__nav--prev { left: 18px; } .ogal__nav--next { right: 18px; }
.ogal__thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.ogal__thumbs::-webkit-scrollbar { display: none; }
.ogal__thumb { flex: 0 0 auto; width: clamp(96px, 11vw, 150px); aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .4s, outline-color .4s; background: var(--bg-3); }
.ogal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ogal__thumb:hover { opacity: .85; }
.ogal__thumb[aria-current="true"] { opacity: 1; outline-color: var(--accent); }

.obj-desc p { margin: 0 0 16px; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 720px; }
.obj-sub { margin: 44px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.params { margin-top: 14px; }
.obj-side { gap: 18px; }
.obj-side .kv div { background: var(--bg); }
.btn--wa { justify-content: flex-start; gap: 14px; padding: 10px 28px; white-space: normal; text-align: left; line-height: 1.2; min-height: 68px; }
.btn--wa .ico { width: 26px; height: 26px; flex: none; }
.btn--wa small { display: block; font-size: 14px; font-weight: 500; opacity: .8; }
.obj-side__note { margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--lav-soft); color: var(--accent); font-size: 14.5px; line-height: 1.45; }
.realtor__logo { width: 52px; height: 52px; border-radius: 50%; flex: none; }
.realtor a { color: var(--accent); }
.obj-similar .note { margin: -30px 0 30px; }

@media (max-width: 1100px) {
  .filters__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .filters__row .ffield:first-child { grid-column: 1 / -1; }
  .filters__btns { grid-column: 1 / -1; }
  .obj-main { order: 2; }
  .obj-side { order: 1; }
  .obj-body { margin-top: 32px; }
}
@media (max-width: 720px) {
  .filters { padding: 18px; border-radius: 24px; }
  .seg { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; }
  .seg::-webkit-scrollbar { display: none; }
  .seg span { white-space: nowrap; min-height: 44px; padding: 0 16px; }
  .filters__row { gap: 12px; }
  .filters .ffield select, .filters .ffield input { min-height: 52px; border-radius: 16px; padding: 0 16px; }
  .filters__btns { justify-content: space-between; }
  .filters__btns .btn { flex: 1; justify-content: space-between; }
  .cat-bar { align-items: flex-start; flex-direction: column; gap: 4px; }
  .cat-empty { padding: 40px 20px; }
  .cat-empty__btns .btn { width: 100%; justify-content: space-between; }
  .obj-head { flex-direction: column; align-items: flex-start; margin-bottom: 22px; }
  .obj-place { font-size: 15px; align-items: flex-start; }
  .obj-share { min-height: 44px; padding: 0 18px; }
  .ogal__main { border-radius: 22px; margin: 0 calc(var(--pad) * -1 + 8px); }
  .ogal__track { height: auto; aspect-ratio: 4 / 3.4; }
  .ogal__nav { display: none; }
  .ogal__thumb { width: 78px; border-radius: 12px; }
  .obj-desc p { font-size: 16px; }
  .obj-side { padding: 22px; }
  .obj-similar .note { margin: -20px 0 24px; }
}

/* Пустое место под фото объекта (в WordPress сюда встанет первое фото из галереи) */
.ph-box { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center; background: linear-gradient(160deg, #F6F4FC, #E6E2F3); color: var(--dim); font-size: 14px; line-height: 1.35; }
.ph-box::after { content: ''; position: absolute; inset: 10px; border: 1.5px dashed rgba(59, 37, 119, .18); border-radius: 18px; pointer-events: none; }
.ph-box svg { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; opacity: .55; transition: transform .8s var(--ease), opacity .4s; }
.ph-box small { font-size: 12.5px; color: var(--dim); opacity: .8; }
.pcard:hover .ph-box svg { transform: scale(1.12); opacity: .8; }
.ogal__slide { position: relative; }
.ph-box--big { font-size: 17px; gap: 12px; }
.ph-box--big svg { width: 54px; height: 54px; }
.ph-box--big::after { inset: 16px; border-radius: 22px; }
.ph-box--sm { gap: 2px; font-size: 12px; font-weight: 600; }
.ph-box--sm svg { width: 20px; height: 20px; }
.ph-box--sm::after { inset: 4px; border-radius: 10px; }
.ogal__thumb { position: relative; }
.lightbox__stage .ph-box { background: #F6F4FC; font-size: 18px; }
.lightbox__stage .ph-box svg { width: 64px; height: 64px; }

/* Несколько телефонов */
.topbar__phones { margin-left: auto; display: flex; gap: 22px; }
.topbar__phones .topbar__phone { margin-left: 0; }
.footer__phone--2 { margin-top: 6px; }
.footer__cols .footer__phone + .footer__phone { margin-bottom: 10px; }
.menu__alt, .contact-lines__alt { font-size: 16px !important; color: var(--muted); }
@media (max-width: 720px) { .topbar__phones .topbar__phone + .topbar__phone { display: none; } }

/* Команда: фото сотрудников */
.member__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease); }
.member:hover .member__arch img { transform: scale(1.04); }
.member__ph { color: var(--dim); }
.team-life { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 14px; margin-top: clamp(40px, 6vw, 80px); height: min(62vh, 560px); }
.team-life__item { position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: var(--bg-3); }
.team-life__item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); }
.team-life__item:hover img { transform: scale(1.04); }
.team-life__item figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 13.5px; font-weight: 500; color: var(--text); }

/* Дома на этапе строительства */
.stroy__grid { display: grid; grid-template-columns: 1fr 1.3fr; grid-template-rows: 1fr 1fr; gap: 14px; height: min(86vh, 780px); }
.stroy__ph:first-child { grid-row: span 2; }
.stroy__ph { margin: 0; border-radius: 24px; overflow: hidden; background: var(--bg-3); }
.stroy__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stroy__ph:hover img { transform: scale(1.04); }
.stroy__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.stroy__cta .btn { gap: 12px; padding: 7px 30px; }

/* Каталог: баннер «дома на этапе строительства» */
.cat-promo { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 28px; margin-top: 70px; padding: 14px 28px 14px 14px; text-decoration: none; color: inherit; transition: transform .6s var(--ease); }
.cat-promo:hover { transform: translateY(-4px); }
.cat-promo__img { display: block; height: 150px; border-radius: 18px; overflow: hidden; }
.cat-promo__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-promo__txt small { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.cat-promo__txt b { display: block; margin: 6px 0; font-size: clamp(24px, 2.2vw, 34px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.cat-promo__txt b em { font-family: var(--it); font-style: italic; font-weight: 500; color: var(--accent); }
.cat-promo__txt > span { color: var(--muted); font-size: 15.5px; }
.cat-promo:hover .circle-btn { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }

@media (max-width: 1100px) {
  .team-life { grid-template-columns: 1fr 1fr; height: auto; }
  .team-life__item { aspect-ratio: 4 / 5; }
  .team-life__item--group { grid-row: span 2; aspect-ratio: auto; }
  .stroy__grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .stroy__ph, .stroy__ph:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
  .stroy__ph:first-child { aspect-ratio: 4 / 4.6; }
}
@media (max-width: 720px) {
  .team-life { gap: 10px; }
  .team-life__item figcaption { left: 10px; bottom: 10px; font-size: 12px; padding: 6px 10px; }
  .stroy__grid { gap: 10px; }
  .stroy__cta .btn { width: 100%; justify-content: center; }
  .cat-promo { grid-template-columns: 1fr; gap: 16px; padding: 12px 12px 20px; margin-top: 50px; }
  .cat-promo__img { height: 180px; }
  .cat-promo .circle-btn { display: none; }
  .cat-promo__txt { padding: 0 8px; }
}

/* Фиолетовая карточка «Продать» — фон не должен перебиваться белым .glass */
.aud--accent.glass { background: var(--accent); border-color: var(--accent); color: #fff; }
.aud--accent.glass .eyebrow { color: rgba(255, 255, 255, .75); }
.aud--accent.glass li::before { background: #fff; }

/* Главная: первый экран — новый текст клиента */
.h1hero__lead b { display: block; margin-bottom: 8px; color: var(--text); font-weight: 600; }

/* Аренда: как мы работаем */
.rentx__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rentx__card { position: relative; padding: clamp(28px, 3vw, 48px); overflow: hidden; }
.rentx__card h3 { margin: 10px 0 18px; font-size: clamp(26px, 2.2vw, 36px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; max-width: 90%; }
.rentx__card p { margin: 0 0 12px; color: var(--muted); font-size: 16.5px; line-height: 1.55; }
.rentx__card p b { color: var(--text); }
.rentx__n { position: absolute; top: 18px; right: 26px; font-size: clamp(60px, 6vw, 96px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: rgba(59, 37, 119, .08); }
.rentx__card--accent.glass { background: var(--accent); border-color: var(--accent); color: #fff; }
.rentx__card--accent .eyebrow { color: rgba(255, 255, 255, .75); }
.rentx__card--accent .eyebrow::before { background: #fff; }
.rentx__card--accent p { color: rgba(255, 255, 255, .85); }
.rentx__card--accent .rentx__n { color: rgba(255, 255, 255, .12); }
.rentx__small { margin-top: 18px !important; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 14.5px !important; }
.rentx__list { margin-top: 18px; padding: clamp(28px, 3vw, 48px); }
.rentx__list h3 { margin: 0 0 22px; font-size: clamp(24px, 2vw, 32px); font-weight: 600; letter-spacing: -.02em; }
.rentx__list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
.rentx__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; line-height: 1.45; color: var(--text); }
.rentx__list li i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lav-soft); color: var(--accent); display: grid; place-items: center; }
.rentx__list li i svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rentx__notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.rentx__note { padding: 22px 26px; border-radius: 22px; background: var(--lav-soft); display: flex; flex-direction: column; gap: 6px; font-size: 16.5px; line-height: 1.45; color: var(--text); }
.rentx__note b { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.rentx__note--warn { background: #FFF4E0; }
.rentx__note--warn b { color: #A86A00; }
.rentx__pay { margin: 22px 0 0; color: var(--muted); font-size: 15.5px; }
.rentx__contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 30px; margin-top: 30px; padding: 22px 26px; }
.rentx__who { display: flex; align-items: center; gap: 16px; max-width: 520px; }
.rentx__who .avatar { width: 56px; height: 56px; font-size: 20px; }
.rentx__who b { display: block; font-size: 20px; }
.rentx__who span { color: var(--muted); font-size: 15px; }
.rentx__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.rentx__btns .btn--glass { gap: 10px; }
@media (max-width: 900px) {
  .rentx__grid, .rentx__notes, .rentx__list ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .rentx__btns, .rentx__btns .btn { width: 100%; }
  .rentx__btns .btn { justify-content: space-between; }
  .rentx__btns .btn--glass { justify-content: center; }
}
.rentx__card .eyebrow { padding-right: 90px; }
@media (max-width: 720px) { .rentx__n { font-size: 52px; top: 16px; right: 18px; } .rentx__card .eyebrow { padding-right: 64px; } }

/* Сотрудники: имя и должность в две строки */
.member figcaption { display: block; }
.member figcaption b { display: block; font-size: clamp(26px, 2.1vw, 36px); line-height: 1.1; letter-spacing: -.02em; }
.member figcaption span { display: block; margin-top: 8px; font-size: 15px; }

/* Плитки «Что вы ищете?»: рисованные иллюстрации — ярче, чем фото */
.tile img { opacity: .85; transform: scale(1.04); }
.tile:hover img { opacity: 1; }
.tile__in { left: 22px; right: 22px; bottom: 26px; }
.tile b { white-space: normal; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
/* описание не занимает места, пока плитка свёрнута — название стоит внизу и не налезает на рисунок */
@media (min-width: 721px) {
  .tile p { max-height: 0; margin-top: 0; overflow: hidden; transition: opacity .6s, transform .8s var(--ease), max-height .8s var(--ease), margin-top .8s var(--ease); }
  .tile:hover p, .tile:focus-visible p { max-height: 120px; margin-top: 12px; }
}
@media (max-width: 720px) {
  .tile { min-height: 230px; }
  .tile::after { background: linear-gradient(90deg, rgba(var(--shade-rgb), .88) 0%, rgba(var(--shade-rgb), .55) 55%, rgba(var(--shade-rgb), .15) 100%); }
  .tile img { object-position: 50% 32% !important; }
}

/* Команда: четыре человека — четыре колонки, на планшете две */
.team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) and (min-width: 721px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* MAX рядом с WhatsApp */
.icon-btn--max { color: #5A4BE0; }
.icon-btn--max:hover { background: #5A4BE0; color: #fff; }
.msg-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--max .ico { width: 20px; height: 20px; margin-right: 8px; }
.obj-side .btn--max { margin-top: 10px; }
.h-split__cta .btn--max, .stroy__cta .btn--max { margin-left: 0; }
@media (max-width: 720px) { .header__right .icon-btn--max { display: none; } }
.obj-side .btn--max { justify-content: flex-start; gap: 12px; }
.obj-side .btn--max .ico { margin-right: 0; }

/* Команда на телефоне: по два в ряд, имена не налезают */
@media (max-width: 720px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .member figcaption b { font-size: 18px; overflow-wrap: anywhere; }
}

/* длинные отзывы в слайдере — шрифт меньше, чтобы текст помещался */
.qslide--long p { font-size: clamp(22px, 2.3vw, 38px); line-height: 1.25; }
@media (max-width: 720px) { .qslide p { font-size: 24px; } .qslide--long p { font-size: 19px; } }

/* Новостройки: «Почему выбирают нас» */
.novo-intro { max-width: 980px; }
.novo-intro .lead { margin-top: 18px; }
.novo-sub { margin: clamp(36px, 5vw, 64px) 0 18px; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nwhy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.nwhy { padding: 28px 26px 30px; border-radius: 24px; display: flex; flex-direction: column; gap: 12px; }
.nwhy__n { font-size: 14px; color: var(--muted); }
.nwhy h3 { margin: 0; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.15; font-weight: 600; }
.nwhy p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 1100px) { .nwhy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .nwhy-grid { grid-template-columns: 1fr; } }

/* О нас: галерея офиса */
.office-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 14px; }
.office-grid__item { margin: 0; border-radius: 24px; overflow: hidden; background: var(--bg-3); }
.office-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.office-grid__item:hover img { transform: scale(1.04); }
.office-grid__item--big { grid-row: span 2; }
.office-grid__item--wide { grid-column: span 2; }
@media (max-width: 720px) {
  .office-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; }
  .office-grid__item { aspect-ratio: 4 / 3; }
  .office-grid__item--big, .office-grid__item--wide { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}
