@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: block; src: url(fonts/onest-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: block; src: url(fonts/onest-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: block; src: url(fonts/onest-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: block; src: url(fonts/onest-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: block; src: url(fonts/onest-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: block; src: url(fonts/onest-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: block; src: url(fonts/onest-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: block; src: url(fonts/onest-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* БрусКвартал — визуальный язык: светлая бумага, графит, оранжевый из логотипа, Manrope (как у Goodwood). Без теней. */
:root {
  --paper: #fbf8f3;
  --paper-2: #f6ede1;
  --ink: #151515;
  --ink-2: #2b2b29;
  --mute: #6d6b65;
  --line: rgba(21, 21, 21, .12);
  --acc: #e8820e;
  --acc-2: #d07208;
  --dark: #141414;
  --r: 10px;
  --gut: clamp(16px, 3.2vw, 40px);
  --max: 1440px;
  --h0: 100vh;
  --hh: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fh: 'Onest', system-ui, sans-serif;
  --fb: 'Onest', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }
/* Широкие экраны: шрифты те же, растёт ширина контента; зум только на очень больших мониторах */
@media (min-width: 1600px) { :root { --max: 1520px; } }
@media (min-width: 1760px) { :root { --max: 1680px; } }
@media (min-width: 1900px) { :root { --max: 1800px; } }
@media (min-width: 2300px) { :root { --max: 1800px; } body { zoom: 1.2; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--fb); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--ink); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--fh); font-weight: 700; letter-spacing: -.01em; line-height: 1.12; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.h2 { font-size: clamp(26px, 2.4vw, 38px); max-width: 30ch; }
.sec { padding: clamp(72px, 9vw, 140px) 0 0; }
.sec--top0 { padding-top: 8px; }
.sec__head { margin-bottom: clamp(32px, 4vw, 56px); }
.sec__p { margin-top: 14px; font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.sec__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- кнопки: заливка + иконка в кружке ---------- */
.b-btn { --bg: var(--acc); --fg: #fff; --ic: #fff; --icf: var(--acc); display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 6px 0 22px; border-radius: 999px; background: var(--bg); color: var(--fg); font: 500 16px/1 var(--fb); text-decoration: none; white-space: nowrap; transition: background .25s, color .25s; }
.b-btn[hidden] { display: none; }
.b-btn__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ic); color: var(--icf); transition: background .25s, color .25s; }
.b-btn__ic svg { width: 18px; height: 18px; }
.b-btn--main:hover { --bg: var(--acc-2); }
.b-btn--line { --bg: transparent; --fg: var(--ink); --ic: var(--ink); --icf: #fff; border: 1px solid #cdc4b6; }
.b-btn--line:hover { --bg: var(--paper-2); }
.b-btn--glass { --bg: rgba(255, 255, 255, .16); --fg: #fff; --ic: #fff; --icf: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .6); }
.b-btn--glass:hover { --bg: rgba(255, 255, 255, .26); }

/* ---------- шапка ---------- */
.hd { position: fixed; z-index: 50; top: 0; left: 0; right: 0; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 28px; height: var(--hh); max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.hd__logo { flex: none; width: 196px; color: var(--ink); }
.hd__logo svg { width: 100%; height: auto; display: block; }
.hd__nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.hd__act { display: flex; align-items: center; gap: 8px; }
.hd__nav a { white-space: nowrap; text-decoration: none; opacity: .8; transition: opacity .2s; }
.hd__nav a:hover, .hd__nav a[aria-current] { opacity: 1; }
.hd__tel { font: 500 15px/1 var(--fb); text-decoration: none; white-space: nowrap; margin-right: 6px; }
.hd__call { flex: none; white-space: nowrap; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s; }
.hd__call:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.hd__burger { display: none; width: 44px; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; position: relative; }
.hd__burger i { position: absolute; left: 14px; right: 14px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease); }
.hd__burger i:first-child { top: 16px; }
.hd__burger i:last-child { top: 23px; }
body.is-menu .hd__burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
body.is-menu .hd__burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- мобильное меню ---------- */
.mn { position: fixed; inset: 0; z-index: 45; background: var(--dark); color: #fff; overflow-y: auto; }
.mn[hidden] { display: none; }
.mn__in { min-height: 100%; display: flex; flex-direction: column; gap: 28px; padding: 92px var(--gut) calc(28px + env(safe-area-inset-bottom)); }
.mn__nav { display: grid; }
.mn__nav a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font: 600 30px/1.1 var(--fh); letter-spacing: -.01em; text-decoration: none; opacity: 0; transform: translateY(12px); animation: mn-in .5s var(--ease) forwards; animation-delay: calc(var(--i) * 40ms); }
.mn__nav a span { font: 500 12px/1 var(--fb); letter-spacing: .04em; color: var(--acc); min-width: 20px; }
.mn__nav a[aria-current] { color: var(--acc); }
@keyframes mn-in { to { opacity: 1; transform: none; } }
.mn__card { display: grid; gap: 14px; padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.mn__k { font-size: 14px; opacity: .7; }
.mn__tel { display: inline-flex; align-items: center; gap: 10px; font: 600 22px/1 var(--fh); text-decoration: none; }
.mn__tel svg { width: 20px; height: 20px; color: var(--acc); }
.mn__addr { font-size: 13px; opacity: .55; }
.mn__in > .b-btn { align-self: flex-start; margin-top: auto; }
body.is-menu .hd { color: #fff; background: var(--dark); border-color: transparent; }
body.is-menu .hd__logo { color: #fff; }

/* ---------- первый экран ---------- */
.h { padding: calc(var(--hh) + 10px) 10px 10px; min-height: calc(var(--h0) - 118px); display: flex; flex-direction: column; }
.h__frame { position: relative; flex: 1; display: flex; align-items: flex-end; border-radius: var(--r); overflow: hidden; background: #5b6253; color: #fff; }
.h__media, .h__sl, .h__img, .h__shade { position: absolute; inset: 0; }
.h__media { z-index: 0; }
.h__sl { opacity: 0; transition: opacity 1.4s var(--ease); }
.h__sl.is-on { z-index: 2; opacity: 1; }
.h__sl.was { z-index: 1; opacity: 1; transition: none; }
.h__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.05); transition: transform 0s 1.4s; }
.h__sl.is-on .h__img, .h__sl.was .h__img { transform: none; transition: transform 8s linear; }
.h__shade { background: linear-gradient(180deg, rgba(0, 0, 0, .34) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .55) 100%), linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .3) 32%, rgba(0, 0, 0, 0) 58%); }
.h__tx { position: relative; width: 100%; max-width: 900px; padding: 120px clamp(20px, 4vw, 56px) clamp(28px, 4vw, 52px); }
.h__h { font-size: clamp(32px, 3.3vw, 50px); line-height: 1.12; max-width: 20ch; }
.h__p { margin-top: 16px; font-size: clamp(18px, 1.5vw, 22px); max-width: 38ch; opacity: .92; }
.h__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.h__ipo { display: grid; justify-items: start; gap: 12px; width: fit-content; margin-top: 24px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; }
.h__ipo .bk img { filter: brightness(0) invert(1); }
.bk { display: flex; align-items: center; gap: 20px; }
.bk img { display: block; flex: none; }
.h__nav { position: absolute; right: clamp(20px, 4vw, 56px); bottom: clamp(28px, 4vw, 52px); display: grid; justify-items: end; gap: 10px; }
.h__cap { color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; }
.h__cap:hover { text-decoration: underline; }
.h__dots { display: flex; gap: 6px; }
.h__dot { width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.h__dot::before { content: ''; display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .4); }
.h__dot.is-on::before { background: #fff; }

/* ---------- преимущества под первым экраном ---------- */
.av { padding: 10px 10px 0; }
.av__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 28px; padding-bottom: 28px; background: #fff; border-radius: var(--r); }
.av__c { display: flex; gap: 14px; align-items: flex-start; }
.av__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(204, 138, 51, .14); color: var(--acc-2); }
.av__ic svg { width: 24px; height: 24px; }
.av__t { font: 600 18px/1.3 var(--fh); }
.av__d { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--mute); }


/* ---------- проекты: серийные / индивидуальные ---------- */
.pj__top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 32px; }
.pj__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.pj__tabs button { height: 42px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s; }
.pj__tabs button.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.pj__all { margin-left: auto; }
.pj__pane { display: none; }
.pj__pane.is-on { display: block; animation: sc-in .5s var(--ease); }
@keyframes sc-in { from { opacity: 0; transform: translateY(14px); } }
.pj__lead { margin-bottom: 24px; font-size: 17px; color: var(--ink-2); }

/* ---------- о компании ---------- */
.ab__g { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ab__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(232, 130, 14, .14); color: var(--acc-2); font: 700 17px/1 var(--fh); }
.ab__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 24px; padding: 24px 28px; border-radius: var(--r); background: var(--paper-2); }
.ab__end p { font: 600 clamp(19px, 1.6vw, 24px)/1.3 var(--fh); max-width: 36ch; }
.ab__g li { display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: var(--r); background: #fff; }
.ab__g b { font: 700 18px/1.25 var(--fh); }
.ab__g p { font-size: 15px; color: var(--mute); }

/* ---------- этапы сдачи (sticky по скроллу) ---------- */
.dd { position: relative; margin-top: clamp(56px, 6vw, 90px); height: calc(var(--h0) * 3.6); }
.dd__pin { position: sticky; top: 0; height: var(--h0); padding: calc(var(--hh) + 10px) 10px 10px; }
.dd__frame { position: relative; height: 100%;  border-radius: var(--r); overflow: hidden; color: #fff; background: #4e5547; }
.dd__media, .dd__img, .dd__shade { position: absolute; inset: 0; }
.dd__img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; opacity: 0; transition: opacity .8s var(--ease); }
.dd__img.is-on { opacity: 1; }
.dd__shade { background: linear-gradient(90deg, rgba(10, 12, 10, .62) 0%, rgba(10, 12, 10, .2) 50%, rgba(10, 12, 10, 0) 70%), linear-gradient(0deg, rgba(10, 12, 10, .5), rgba(10, 12, 10, 0) 40%); }
.dd__ui { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto auto; padding: clamp(28px, 4vw, 56px); }
.dd__head { max-width: 560px; }
.dd__h { font-size: clamp(28px, 2.6vw, 42px); max-width: 22ch; }
.dd__lead { margin-top: 14px; font-size: 19px; line-height: 1.5; opacity: .88; max-width: 40ch; }
.dd__now { grid-row: 3; display: flex; align-items: flex-end; gap: clamp(16px, 2.4vw, 32px); max-width: 760px; }
.dd__day { flex: none; font: 700 clamp(64px, 7vw, 104px)/.85 var(--fh); }
.dd__nowtx { padding-bottom: 6px; }
.dd__of { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.dd__t { margin-top: 8px; font: 600 clamp(24px, 2.4vw, 36px)/1.15 var(--fh); letter-spacing: -.01em; }
.dd__d { margin-top: 8px; font-size: 17px; line-height: 1.45; opacity: .85; max-width: 46ch; }
.dd__tl { grid-row: 4; position: relative; height: 74px; margin-top: 36px; }
.dd__track { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: rgba(255, 255, 255, .22); border-radius: 2px; overflow: hidden; }
.dd__track i { display: block; height: 100%; width: 0; background: var(--acc); }
.dd__node { position: absolute; top: 0; left: var(--x); transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; color: #fff; text-align: center; white-space: nowrap; }
.dd__node:first-of-type { transform: none; justify-items: start; text-align: left; }
.dd__node:last-of-type { transform: translateX(-100%); justify-items: end; text-align: right; }
.dd__node i { width: 16px; height: 16px; border-radius: 50%; background: #4e5547; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); transition: background .3s, box-shadow .3s; }
.dd__node span { font-size: 12px; opacity: .6; }
.dd__node b { font: 600 17px/1.2 var(--fh); opacity: .6; transition: opacity .3s; }
.dd__node.is-done i { background: var(--acc); box-shadow: none; }
.dd__node.is-on b, .dd__node.is-on span { opacity: 1; }

/* ---------- стена в разрезе ---------- */

/* ---------- комплектации ---------- */

/* ---------- построенные ---------- */
.bt__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bt__grid--s { grid-template-columns: repeat(4, 1fr); }
.oc { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.4; color: #fff; text-decoration: none; background: var(--paper-2); }
.oc--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.oc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.oc:hover .oc__img { transform: scale(1.04); }
.oc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, 0) 45%); }
.oc__tx { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 2px; }
.oc__tx b { font: 600 19px/1.2 var(--fh); }
.oc__tx span { font-size: 14px; opacity: .85; }
.oc__n { position: absolute; z-index: 1; top: 14px; right: 14px; padding: 5px 10px; border-radius: 999px; background: rgba(20, 20, 20, .45); backdrop-filter: blur(8px); font-size: 12px; }
.oc--cta { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px; background: var(--ink); color: #fff; }
.oc--cta::after { display: none; }
.oc__h { font: 600 22px/1.2 var(--fh); }
.oc--cta p:not(.oc__h) { opacity: .75; }
.oc--cta .b-btn { align-self: flex-start; margin-top: 8px; }
.bt__tg { margin-top: 24px; color: var(--mute); }
.bt__grid--all .oc--big { grid-column: span 2; grid-row: span 2; }

/* ---------- видео и отзывы ---------- */
.vr { overflow-x: auto; scrollbar-width: none; cursor: grab; padding-right: var(--gut); }
.vr::-webkit-scrollbar { display: none; }
.vr.is-drag { cursor: grabbing; }
.vr__in { display: flex; gap: 12px; width: max-content; max-width: none; margin: 0 auto; padding-right: var(--gut); }
.vr { padding-left: max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut))); }
.vc { display: grid; gap: 4px; width: clamp(270px, 26vw, 380px); text-align: left; }
.vc__media { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); margin-bottom: 10px; }
.vc__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.vc:hover .vc__img { transform: scale(1.04); }
.vc__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; background: var(--acc); color: var(--ink); }
.vc__play svg { width: 22px; height: 22px; margin-left: 3px; }
.vc__dur { position: absolute; right: 10px; bottom: 10px; padding: 4px 8px; border-radius: 6px; background: rgba(20, 20, 20, .6); color: #fff; font-size: 12px; }
.vc__who { color: var(--mute); font-size: 13px; }
.vc__t { font: 600 18px/1.25 var(--fh); }
.vg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 12px; }
.vg .vc { width: auto; }
.rv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.rv__grid--all { margin-top: 0; grid-template-columns: repeat(2, 1fr); }
.rv { margin: 0; padding: 28px; border-radius: var(--r); background: #fff; display: flex; flex-direction: column; gap: 18px; }
.rv__stars { display: flex; gap: 2px; color: #f5b400; }
.rv__stars svg { width: 16px; height: 16px; }
.rv__t { margin: 0; font-size: 16px; line-height: 1.55; flex: 1; }
.rv__by { display: grid; gap: 2px; font-size: 14px; }
.rv__by span { color: var(--mute); }
.rvs__more { margin-top: 28px; }
.ya { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 16px; background: #fff; text-decoration: none; }
.ya > svg { flex: none; width: 36px; height: 36px; }
.ya__r { font: 700 34px/1 var(--fh); }
.ya__tx { display: grid; gap: 3px; }
.ya__s { display: flex; color: #f5b400; }
.ya__s svg { width: 15px; height: 15px; }
.ya__t { font-size: 13px; line-height: 1.2; color: var(--mute); white-space: nowrap; }

/* ---------- свой проект / ипотека ---------- */
.mk { position: relative; white-space: nowrap; color: var(--acc); }
.mk::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.22em; height: .28em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7c26-5 60-6 116-3' fill='none' stroke='%23e8820e' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.ln { position: absolute; right: 24px; bottom: 16px; width: min(44%, 300px); height: auto; color: var(--acc); opacity: .55; pointer-events: none; }
.iq { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.iq__c { position: relative; display: grid; align-content: start; gap: 8px; padding: 20px 20px 24px; border-radius: var(--r); background: #fff; }
.iq__n { position: absolute; left: 20px; top: 18px; font: 700 15px/1 var(--fh); color: var(--acc-2); }
.iq__img { width: 100%; max-width: 160px; aspect-ratio: 1; object-fit: contain; justify-self: center; margin: 6px 0 4px; }
.iq__c b { font: 600 17px/1.25 var(--fh); }
.iq__c p { font-size: 15px; line-height: 1.45; color: var(--mute); }
.pg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pg__c { display: grid; align-content: start; gap: 18px; padding: 24px; border-radius: var(--r); background: #fff; }
.pg__h { font-size: 22px; }
.pg__svg { width: 100%; height: auto; display: block; }
.pg__l { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: pg; }
.pg__l li { display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; counter-increment: pg; }
.pg__l li::before { content: counter(pg); grid-row: span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--acc); color: #fff; font: 600 12px/1 var(--fb); }
.pg__l b { font: 600 16px/1.3 var(--fh); }
.pg__l span { font-size: 14px; line-height: 1.4; color: var(--mute); }
.pg-gr { stroke: rgba(150, 100, 40, .35); stroke-width: 1; fill: none; }
.pg-metal { fill: #4b5157; }
.pg-mesh { stroke: #6a6a6a; stroke-width: 1.5; stroke-dasharray: 3 3; }
.pg-wave { stroke: var(--acc); stroke-width: 1.4; fill: none; opacity: .7; }
.pg-ln { stroke: var(--ink); stroke-width: 1; fill: none; }
.pg-c { fill: var(--acc); }
.pg-t { fill: #fff; font: 600 12px var(--fb); text-anchor: middle; }
.sr { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sr__i { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 24px 22px; border-radius: var(--r); background: #fff; }
.sr__i:not(:last-child)::after { content: ''; position: absolute; top: 44px; right: -12px; width: 12px; height: 2px; background: var(--acc); }
.sr__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--acc); color: #fff; font: 700 16px/1 var(--fh); }
.sr__i b { font: 600 18px/1.25 var(--fh); }
.sr__i p { font-size: 15px; line-height: 1.45; color: var(--mute); }
.sr__ok { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--acc-2); }
.sr__ok svg { flex: none; width: 18px; height: 18px; }
.es__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.es__tx { padding: clamp(26px, 3vw, 44px); border-radius: var(--r); background: #fff; }
.es__l { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.es__l li { display: flex; align-items: center; gap: 14px; font: 600 17px/1.3 var(--fh); }
.es__card { display: grid; align-content: start; gap: 22px; padding: clamp(26px, 3vw, 44px); border-radius: var(--r); background: var(--paper-2); }
.es__h { font: 600 clamp(24px, 2.1vw, 32px)/1.2 var(--fh); }
.es__terms { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.es__terms li { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.es__terms svg { flex: none; width: 20px; height: 20px; color: var(--acc); }
.op__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.op__c { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(26px, 3vw, 44px); border-radius: var(--r); background: var(--paper-2); min-height: 340px; overflow: hidden; }
.op__c p { max-width: 34ch; color: var(--ink-2); }
.op__c .b-btn { margin-top: auto; }
.op__h { font-size: clamp(24px, 2.1vw, 32px); max-width: 22ch; }
.op__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* ---------- визит ---------- */
.vs { padding: clamp(90px, 11vw, 160px) 0 0; }
.vs__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.vs__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.1; }
.vs__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 12px; align-items: center; padding: 40px 22px 18px; background: linear-gradient(0deg, rgba(0, 0, 0, .72), transparent); color: #fff; font-weight: 600; }
.vs__cap svg { flex: none; width: 24px; height: 24px; color: var(--acc); }
.vs__img { width: 100%; height: 100%; object-fit: cover; }
.vs__p { margin-top: 18px; color: var(--ink-2); font-size: 17px; max-width: 46ch; }
.vs__info { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin: 22px 0 26px; }
.vs__info p { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.vs__info svg { flex: none; width: 24px; height: 24px; color: var(--acc); }
.vs__info b { display: block; margin-bottom: 2px; }
.vs__acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- шаги ---------- */
.stp__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stp__list--5 { grid-template-columns: repeat(5, 1fr); }
.stp__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.stp__list li { padding: 28px 24px 32px; border-radius: var(--r); background: var(--paper-2); display: grid; align-content: start; gap: 10px; }
.stp__n { font: 700 34px/1 var(--fh); }
.stp__list b { font: 600 19px/1.25 var(--fh); }
.stp__list p { color: var(--mute); font-size: 15px; }

/* ---------- FAQ ---------- */
.fq__wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.fq__wrap .sec__head { position: sticky; top: 100px; }
.fq__tel { display: inline-block; margin-top: 24px; font: 600 22px/1.2 var(--fh); text-decoration: none; }
.fq { border-top: 1px solid var(--line); }
.fq__i { border-bottom: 1px solid var(--line); }
.fq__i summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; cursor: pointer; list-style: none; font: 600 19px/1.3 var(--fh); letter-spacing: -.01em; }
.fq__i summary::-webkit-details-marker { display: none; }
.fq__i summary i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); transition: transform .35s var(--ease), background .3s; }
.fq__i summary i svg { width: 18px; height: 18px; }
.fq__i[open] summary i { transform: rotate(45deg); background: var(--acc); }
.fq__a { padding: 0 56px 24px 0; color: var(--ink-2); }

/* ---------- финальный CTA ---------- */
.fn { position: relative; margin: clamp(90px, 11vw, 160px) 10px 10px; border-radius: var(--r); overflow: hidden; color: #fff; min-height: 620px; display: flex; align-items: flex-end; background: #2c3340; }
.fn__bg { position: absolute; inset: 0; }
.fn__img { width: 100%; height: 100%; object-fit: cover; }
.fn__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 12, 20, .7) 0%, rgba(8, 12, 20, .15) 70%), linear-gradient(0deg, rgba(8, 12, 20, .5), rgba(8, 12, 20, 0) 50%); }
.fn__in { position: relative; padding-top: 80px; padding-bottom: clamp(40px, 6vw, 72px); }
.fn__h { font-size: clamp(28px, 2.8vw, 42px); max-width: 24ch; }
.fn__p { margin-top: 20px; font-size: 18px; max-width: 46ch; opacity: .88; }
.fn__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* ---------- подвал ---------- */
.ft { background: var(--dark); color: #fff; margin-top: 10px; padding: clamp(56px, 6vw, 88px) 0 28px; font-size: 15px; }
.ft__top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ft__cbh { font: 600 clamp(20px, 1.6vw, 24px)/1.25 var(--fh); max-width: 20ch; }
.ft__cbrow { display: flex; gap: 8px; margin-top: 22px; max-width: 380px; }
.ft__cbrow input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 0; border-radius: 10px; background: #fff; color: var(--ink); font: 500 16px/1 var(--fb); }
.ft__cbrow input.is-err { box-shadow: inset 0 0 0 2px #d6452b; }
.ft__cbbtn { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--acc); color: #fff; }
.ft__cbbtn svg { width: 20px; height: 20px; }
.ft__cbok { margin-top: 16px; color: var(--acc); }
.ft__cb.is-sent .ft__cbrow, .ft__cb.is-sent .fm__agree { display: none; }
.ft__col { display: grid; align-content: start; gap: 12px; }
.ft__col a { text-decoration: none; opacity: .72; }
.ft__col a:hover { opacity: 1; }
.ft__h { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.ft__mid { display: grid; grid-template-columns: auto 1fr 1.4fr auto; gap: 40px; align-items: center; padding: 32px 0; }
.ft__logo { display: block; width: 170px; color: #fff; }
.ft__logo svg { width: 100%; height: auto; display: block; }
.ft__ct { display: grid; gap: 6px; }
.ft__ct a { text-decoration: none; opacity: .8; }
.ft__tel { font: 600 20px/1.2 var(--fh); opacity: 1 !important; }
.ft__ad p { opacity: .65; font-size: 14px; }
.ft__soc { display: flex; gap: 8px; }
.ft__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; opacity: .5; }

/* ---------- заголовок внутренних страниц ---------- */
.ph { padding: 130px 0 clamp(40px, 5vw, 64px); }
.cr { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--mute); margin-bottom: 36px; }
.cr a { text-decoration: none; }
.cr > * + *::before { content: '/'; margin-right: 8px; opacity: .5; }
.ph__h { font-size: clamp(30px, 2.9vw, 44px); max-width: 26ch; }
.ph__p { margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 52ch; }
.ph__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.ph .ya { margin-top: 32px; }

/* ---------- шапка страницы ипотеки ---------- */
.ih { padding: 110px 0 clamp(32px, 4vw, 52px); }
.ih__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ih .ln { position: static; width: 100%; max-width: 440px; justify-self: end; }

/* ---------- каталог ---------- */
.ct__tabs { margin-bottom: 20px; }
.ct__bar { display: grid; gap: 10px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ct__f { display: flex; flex-wrap: wrap; gap: 6px; }
.ct__chip { height: 42px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s, box-shadow .25s; }
.ct__chip sup { font-size: 11px; margin-left: 4px; opacity: .6; vertical-align: 6px; }
.ct__chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.ct__chip--s { height: 36px; font-size: 14px; padding: 0 14px; }
.ct__chip--s.is-on { background: var(--acc); color: var(--ink); }
.ct__cnt { margin: 20px 0; color: var(--mute); font-size: 14px; }
.ct__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ct__empty { padding: 40px 0; font-size: 18px; }
.ct__empty button { text-decoration: underline; }
.pc { display: flex; flex-direction: column; padding: 8px; border-radius: 14px; background: #fff; }
.pc[hidden] { display: none; }
.pc__media { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: #fff; }
.pc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pc__media:hover .pc__img { transform: scale(1.04); }
.pc__hit { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; background: var(--acc); font-size: 12px; font-weight: 600; }
.pc__body { padding: 14px 10px 10px; display: grid; gap: 6px; }
.pc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pc__name { font-size: 26px; letter-spacing: -.01em; }
.pc__name a { text-decoration: none; }
.pc__area { font: 600 18px/1 var(--fh); white-space: nowrap; }
.pc__meta { color: var(--mute); font-size: 15px; }
.pc__calc { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--paper-2); font-size: 14px; font-weight: 500; transition: background .25s; }
.pc__calc svg { width: 15px; height: 15px; }
.pc__calc:hover { background: var(--acc); }
.pc--cta { justify-content: space-between; gap: 24px; padding: 32px; border-radius: 14px; background: var(--ink); color: #fff; }
.pc__cta-h { font-size: 26px; margin-bottom: 14px; }
.pc--cta p { color: rgba(255, 255, 255, .72); }
.pc--cta .b-btn { align-self: flex-start; }

/* ---------- страница проекта ---------- */
.pp { padding-top: 120px; }
.pp__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.pp__main { display: block; width: 100%; border-radius: var(--r); overflow: hidden; background: #fff; aspect-ratio: 16 / 10; }
.pp__img { width: 100%; height: 100%; object-fit: cover; }
.pp__main.is-plan .pp__img { object-fit: contain; }
.pp__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.pp__th { flex: none; width: 112px; aspect-ratio: 16 / 11; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 0 var(--ink); opacity: .6; transition: opacity .25s; }
.pp__th img { width: 100%; height: 100%; object-fit: cover; }
.pp__th.is-on { opacity: 1; outline: 2px solid var(--ink); outline-offset: -2px; }
.pp__side { position: sticky; top: 96px; }
.pp__h { font-size: clamp(30px, 2.8vw, 42px); letter-spacing: -.01em; }
.pp__dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 20px; margin: 24px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pp__dl dt { color: var(--mute); font-size: 14px; }
.pp__dl dd { margin: 4px 0 0; font: 600 18px/1.25 var(--fh); }
.pp__kit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.pp__kr input { position: absolute; opacity: 0; pointer-events: none; }
.pp__kr span { display: grid; gap: 2px; padding: 12px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s, background .2s; }
.pp__kr b { font-weight: 500; font-size: 15px; }
.pp__kr small { color: var(--mute); font-size: 12px; line-height: 1.3; }
.pp__kr input:checked + span { box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.pp__cta { white-space: normal; text-align: left; height: auto; min-height: 52px; padding-top: 6px; padding-bottom: 6px; }
.pp__note { margin-top: 12px; color: var(--mute); font-size: 14px; }
.pv__in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.pv__in .ya { margin-top: 28px; }
.pv__in .vc { width: auto; }

/* ---------- объект ---------- */
.ob { padding-top: 120px; }
.ob__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.ob__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.ob__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ob__ph { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.ob__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ob__ph:hover img { transform: scale(1.03); }
.ob__ph--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ---------- технология ---------- */

/* ---------- контакты ---------- */
.kc { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; align-items: stretch; }
.kc__info { display: grid; align-content: start; gap: 20px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: #fff; }
.kc__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.kc__list li { display: flex; gap: 14px; }
.kc__list svg { flex: none; width: 26px; height: 26px; color: var(--acc); }
.kc__list b { display: block; font-size: 14px; font-weight: 500; color: var(--mute); }
.kc__list a { text-decoration: none; }
.kc__list span { font-size: 17px; font-weight: 600; line-height: 1.35; }
.kc__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.kc__map { position: relative; border-radius: var(--r); overflow: hidden; min-height: 420px; background: var(--paper-2); }
.kc__map iframe { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% + 120px); border: 0; display: block; }
.kc__route { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.kc__route svg { width: 16px; height: 16px; }
.kc__soc { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.sc-c { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r); background: #fff; text-decoration: none; font-size: 15px; color: var(--mute); }
.sc-c b { display: block; font-size: 18px; color: var(--ink); }
.sc-c__i { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; }
.sc-c__i svg { width: 24px; height: 24px; }
.sc-c__i--tg { background: #229ed9; }
.sc-c__i--ig { background: linear-gradient(45deg, #f9a13a, #e1306c 55%, #8a3ab9); }
.sc-c__i--yt { background: #f00; }
.kc__note { margin-top: 12px; font-size: 13px; color: var(--mute); }
.kc__ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 8; }
.kc__ph img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin: 40px 0 12px; }
.prose p { color: var(--ink-2); }

/* ---------- поп-апы ---------- */
.md { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.md[hidden] { display: none; }
.md__bg { position: absolute; inset: 0; background: rgba(12, 12, 12, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: md-fade .3s; }
@keyframes md-fade { from { opacity: 0; } }
.md__box { position: relative; width: 100%; max-height: calc(100% - 8px); overflow: auto; border-radius: 14px; background: var(--paper); animation: md-up .45s var(--ease); }
@keyframes md-up { from { opacity: 0; transform: translateY(24px); } }
.md__x { position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; }
.md__x svg { width: 20px; height: 20px; }
.md__box--quiz { max-width: 980px; display: grid; grid-template-columns: 340px 1fr; }
.md__box--lead { max-width: 520px; }
.md__box--video { max-width: 1100px; background: #000; aspect-ratio: 16 / 9; height: auto; }
.md__frame, .md__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.qz__side { position: relative; background: var(--ink); color: #fff; overflow: hidden; display: flex; align-items: flex-end; min-height: 560px; }
.qz__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.qz__side-tx { position: relative; padding: 28px; }
.qz__side-h { font: 600 22px/1.2 var(--fh); margin-bottom: 14px; }
.qz__side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.qz__side li { padding-left: 18px; position: relative; }
.qz__side li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 1.5px; background: var(--acc); }
.qz { display: flex; flex-direction: column; padding: 36px 40px 32px; min-height: 560px; }
.qz__bar { height: 3px; border-radius: 3px; background: var(--paper-2); margin-right: 52px; overflow: hidden; }
.qz__bar i { display: block; height: 100%; width: 14%; background: var(--ink); transition: width .45s var(--ease); }
.qz__cnt { margin: 12px 0 26px; color: var(--mute); font-size: 14px; }
.qz__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.qz__step:not([hidden]) { animation: sc-in .45s var(--ease); }
.qz__q { font: 600 clamp(26px, 2.6vw, 36px)/1.1 var(--fh); letter-spacing: -.01em; margin-bottom: 26px; padding: 0; }
.qz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qz__o input, .qz__chip input { position: absolute; opacity: 0; pointer-events: none; }
.qz__o span { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 18px; border-radius: 10px; background: #fff; font-size: 16px; cursor: pointer; transition: box-shadow .2s, background .2s; }
.qz__o span::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, background .2s; }
.qz__o:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.qz__o input:checked + span { box-shadow: inset 0 0 0 2px var(--ink); }
.qz__o input:checked + span::before { background: var(--acc); box-shadow: inset 0 0 0 5px var(--ink); }
.qz__msg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 4px; font-size: 14px; color: var(--mute); }
.qz__msg > span { margin-right: 4px; }
.qz__chip span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
.qz__chip input:checked + span { background: var(--ink); color: #fff; }
.qz__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 28px; }
.qz__nav .b-btn { margin-left: auto; }
.qz__nav .b-btn:disabled { opacity: .45; cursor: not-allowed; }
.qz__back { font-weight: 500; color: var(--mute); padding: 10px 0; }
.qz__back:hover { color: var(--ink); }
.fm { padding: 40px 36px 32px; }
.fm__h { font-size: clamp(28px, 3vw, 38px); padding-right: 40px; }
.fm__p { margin-top: 12px; color: var(--ink-2); }
.fm__err { margin: 4px 0 12px; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #b3261e; font-size: 15px; font-weight: 500; }
.fm__gets { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 15px; }
.fm__gets:empty { display: none; }
.fm__gets li { display: flex; gap: 10px; }
.fm__gets svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.fm__row { display: grid; gap: 8px; margin-top: 22px; }
.qz .fm__row { margin-top: 0; grid-template-columns: 1fr 1fr; }
.fm__f { display: grid; gap: 6px; font-size: 13px; color: var(--mute); }
.fm__f input { height: 56px; padding: 0 18px; border: 0; border-radius: 10px; background: #fff; font: 400 17px/1 var(--fb); color: var(--ink); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s; }
.fm__f input:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.fm__f input.is-err { box-shadow: inset 0 0 0 2px #d6452b; }
.fm__send { margin-top: 16px; }
.fm__msgr { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.fm__msgr svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.fm__msgr[hidden] { display: none; }
.fm__agree { position: relative; display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 14px; color: var(--mute); font-size: 13px; line-height: 1.45; cursor: pointer; }
.fm__agree input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.fm__agree i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1.5px #b9b2a6; color: transparent; transition: background .2s, color .2s; }
.fm__agree i svg { width: 16px; height: 16px; }
.fm__agree input:checked + i { background: var(--acc); box-shadow: none; color: #fff; }
.fm__agree input.is-err + i { box-shadow: inset 0 0 0 2px #d6452b; }
.fm__agree a { color: inherit; }
.fm__agree--dark { color: rgba(255, 255, 255, .7); margin-bottom: 0; }
.fm__ferr { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 4px; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #b3261e; font-size: 14px; line-height: 1.35; }
.fm__ferr b { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #d6452b; color: #fff; font-size: 12px; }
.fm__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fm__done { padding: 24px 0 4px; }
.fm__done[hidden] { display: none; }
.fm__done-h { font: 600 30px/1.1 var(--fh); letter-spacing: -.01em; margin-bottom: 10px; }
.fm.is-sent > :not(.fm__done):not(.md__x), .qz.is-sent > :not(.fm__done) { display: none; }
.fm__slots { margin-top: 20px; display: grid; gap: 10px; }
.fm__slots[hidden] { display: none; }
.fm__sl-h { font-size: 13px; color: var(--mute); }
.fm__sl { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.fm__sl label input { position: absolute; opacity: 0; pointer-events: none; }
.fm__sl label span { display: grid; place-items: center; min-width: 64px; height: 56px; padding: 0 10px; border-radius: 10px; background: #fff; font-size: 13px; line-height: 1.2; text-align: center; cursor: pointer; white-space: nowrap; }
.fm__sl label b { font-size: 16px; font-weight: 600; }
.fm__sl--t label span { height: 40px; min-width: 70px; }
.fm__sl label input:checked + span { background: var(--ink); color: #fff; }
.md--lb .md__bg { background: rgba(10, 10, 10, .92); }
.lb__img { position: relative; max-width: min(92vw, 1400px); max-height: 86%; border-radius: 6px; object-fit: contain; }
.lb__nav { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.lb__nav svg { width: 22px; height: 22px; }
.lb__nav--p { left: 20px; }
.lb__nav--p svg { transform: rotate(180deg); }
.lb__nav--n { right: 20px; }
.lb__cnt { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; opacity: .7; }
.md--lb .md__x { position: absolute; }

/* ---------- мобильная панель и курсор ---------- */
/* ---------- мессенджеры: фирменные цвета ---------- */
.ms-i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; transition: filter .2s; }
.ms-i svg { width: 20px; height: 20px; }
.ms-i--wa, .ms__b--wa { background: #1a9e4f; }
.ms-i--max, .ms__b--max { background: linear-gradient(135deg, #1c8bff, #7a2bff); }
.ms-i--tg, .ms__b--tg { background: #229ed9; }
.ms-i:hover, .ms__b:hover { filter: brightness(.94); }
.ms { display: flex; flex-wrap: wrap; gap: 8px; }
.ms__b { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; transition: filter .2s; }
.ms__b svg { width: 20px; height: 20px; }
.vs__ms { margin-top: 14px; }
.kc__info .ms { margin-top: 10px; }
.pp__ms { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--mute); }
.fm__or { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.mb { display: none; }
.cur { position: fixed; z-index: 90; left: 0; top: 0; pointer-events: none; padding: 10px 16px; border-radius: 999px; background: var(--acc); color: var(--ink); font: 500 13px/1 var(--fb); white-space: nowrap; transform: translate(-50%, -50%) scale(0); transition: transform .3s var(--ease); }
.cur.is-on { transform: translate(-50%, -50%) scale(1); }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1400px) {
  .hd__in { gap: 20px; }
  .hd__nav { gap: 20px; }
  .hd__tel { display: none; }
}
@media (max-width: 1240px) {
  .hd__nav { gap: 16px; font-size: 14px; }
  .hd__logo { width: 170px; }
}
@media (max-width: 1080px) {
  .dd__tl { height: 92px; }
  .dd__node { white-space: normal; }
  .dd__node b { font-size: 15px; max-width: 11ch; }
  .h__img { object-position: var(--pos); }
  .hd__nav { display: none; }
  .hd__act { margin-left: auto; }
  .hd__burger { display: block; }
  .hd__tel { display: block; }
  .av__grid { grid-template-columns: 1fr 1fr; }
  .ft__top { grid-template-columns: repeat(4, 1fr); }
  .ft__cb { grid-column: 1 / -1; }
  .ft__mid { grid-template-columns: auto 1fr; }
  .vs__in, .fq__wrap, .pp__grid, .kc, .pv__in, .ih__in { grid-template-columns: minmax(0, 1fr); }
  .fq__wrap .sec__head, .pp__side { position: static; }
  .stp__list--5 { grid-template-columns: 1fr 1fr; }
  .iq, .ab__g { grid-template-columns: repeat(3, 1fr); }
  .pg { grid-template-columns: 1fr 1fr; }
  .sr { grid-template-columns: 1fr; }
  .sr__i::after { display: none; }
  .sr__i { grid-template-rows: none; grid-template-columns: 44px 1fr; column-gap: 18px; }
  .sr__i > :not(.sr__n) { grid-column: 2; }
  .sr__n { grid-row: span 3; }
  .es__in { grid-template-columns: minmax(0, 1fr); }
  .stp__list, .ct__grid, .rv__grid, .vg { grid-template-columns: 1fr 1fr; }
  .bt__grid, .bt__grid--s { grid-template-columns: repeat(2, 1fr); }
  .oc--big, .bt__grid--all .oc--big { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .md__box--quiz { grid-template-columns: 1fr; max-width: 640px; }
  .qz__side { display: none; }
  .qz { min-height: 0; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  :root { --hh: 64px; }
  .hd__in { gap: 12px; }
  .hd__logo { width: 136px; }
  .hd__tel, .hd__call { display: none; }
  .hd__act { gap: 6px; }
  .ms-i { width: 36px; height: 36px; }
  .hd__act .ms-i--wa { display: none; }
  .ms__b { height: 42px; font-size: 14px; }
  .h { padding: calc(var(--hh) + 6px) 6px 6px; min-height: calc(var(--h0) - 24px); }
  .h__frame { border-radius: 8px; background: #1b1f1b; }
  .h__media { bottom: auto; height: 76vw; }
  .h__img { object-position: 50% 50%; }
  .h__shade { background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0, rgba(0, 0, 0, 0) 60px, rgba(27, 31, 27, 0) 44vw, #1b1f1b 76vw); }
  .h__tx { padding: 62vw 18px 22px; }
  .h__h { font-size: clamp(32px, 9vw, 42px); }
  .h__nav { top: 10px; right: 14px; bottom: auto; }
  .h__cap { display: none; }
  .h__dot { width: 24px; }
  .h__p { font-size: 16px; margin-top: 14px; }
  .h__acts { margin-top: 22px; }
  .dd { height: calc(var(--h0) * 3.6); }
  .dd__pin { padding: calc(var(--hh) + 6px) 6px 6px; }
  .dd__img { object-position: 78% 50%; }
  .dd__shade { background: linear-gradient(180deg, rgba(10, 12, 10, .55) 0%, rgba(10, 12, 10, 0) 34%, rgba(10, 12, 10, .15) 52%, rgba(10, 12, 10, .78) 100%); }
  .dd__ui { padding: 22px 18px; }
  .dd__lead { font-size: 14px; }
  .dd__now { flex-direction: column; align-items: flex-start; gap: 10px; }
  .dd__day { font-size: 64px; }
  .dd__d { font-size: 14px; }
  .dd__tl { height: 44px; margin-top: 24px; }
  .dd__node b, .dd__node span { display: none; }
  .dd__node.is-on span { display: block; }
  .av__grid { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px; }
  .pj__top { gap: 14px; }
  .pj__all { margin-left: 0; }
  .pj__tabs button { height: 38px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
  .ab__g li { padding: 18px; }
  .stp__list, .ct__grid, .rv__grid, .rv__grid--all, .vg, .op__grid, .ab__g, .pg { grid-template-columns: 1fr; }
  .iq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .iq__c { padding: 16px 14px 18px; }
  .iq__n { left: 14px; top: 14px; }
  .iq__c b { font-size: 15px; }
  .iq__c p { font-size: 13.5px; }
  .stp__list li { padding: 22px 20px 24px; }
  .bt__grid, .bt__grid--s { grid-template-columns: 1fr 1fr; gap: 8px; }
  .oc { aspect-ratio: 1 / 1.05; }
  .oc--big, .bt__grid--all .oc--big { aspect-ratio: 4 / 3; }
  .oc__tx { left: 12px; right: 12px; bottom: 10px; }
  .oc__tx b { font-size: 15px; }
  .oc__tx span { font-size: 12px; }
  .oc__n { display: none; }
  .vc { width: 78vw; }
  .vg .vc { width: auto; }
  .op__c { min-height: 400px; }
    .b-btn { height: 48px; padding-left: 18px; font-size: 15px; }
  .b-btn__ic { width: 36px; height: 36px; }
  .fq__i summary { font-size: 17px; padding: 18px 0; }
  .fq__a { padding-right: 0; }
  .fn { min-height: 560px; margin: 80px 6px 6px; }
  .fn__img { object-position: 30% 50%; }
  .ft { padding-bottom: 100px; }
  .ft__top { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .ft__cb { grid-column: 1 / -1; }
  .ft__mid { grid-template-columns: 1fr; gap: 18px; }
  .ft__bot { flex-direction: column; }
  .ph { padding-top: 96px; }
  .cr { margin-bottom: 24px; }
  .ct__f { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .ct__chip { flex: none; }
  .pp, .ob { padding-top: 88px; }
  .pp__dl { grid-template-columns: 1fr 1fr; }
  .pp__kit { grid-template-columns: 1fr; }
  .pp__kr span { grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; }
  .pp__th { width: 84px; }
  .ob__grid { grid-template-columns: 1fr 1fr; }
  .ob__ph--big { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .kc__map { min-height: 340px; }
  .kc__ph { aspect-ratio: 4 / 3; }
  .vs__info { grid-template-columns: 1fr; }
  .ln { display: none; }
  .ih__in .ln { display: none; }
  .md { padding: 0; align-items: end; }
  .md__box { border-radius: 16px 16px 0 0; max-height: 94%; }
  .md__box--video { border-radius: 0; align-self: center; }
  .qz { padding: 28px 20px 20px; }
  .qz__opts, .qz .fm__row { grid-template-columns: 1fr; }
  .qz__o span { min-height: 52px; padding: 12px 16px; }
  .qz__q { margin-bottom: 18px; }
  .fm { padding: 30px 20px 24px; }
  .lb__nav { width: 42px; height: 42px; margin-top: -21px; }
  .lb__nav--p { left: 8px; }
  .lb__nav--n { right: 8px; }
  .mb { position: fixed; z-index: 40; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 8px; border-radius: 18px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line); transform: translateY(150%); transition: transform .4s var(--ease); }
  .mb.is-on { transform: none; }
  .mb__i { flex: none; display: grid; justify-items: center; gap: 3px; min-width: 44px; color: var(--ink); text-decoration: none; font-size: 12px; }
  .mb__i svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--paper-2); }
  .mb__i--max svg { background: linear-gradient(135deg, #1c8bff, #7a2bff); color: #fff; }
  .mb__i--wa svg { background: #25d366; color: #fff; }
  .mb__i--tg svg { background: #229ed9; color: #fff; }
  .mb__cta { flex: 1; height: 48px; border-radius: 14px; background: var(--acc); color: #fff; font-weight: 600; font-size: 14px; }
  .cur { display: none; }
}
@media (max-width: 380px) {
  .iq { grid-template-columns: 1fr; }
  .iq__c { grid-template-columns: 76px 1fr; column-gap: 14px; align-items: start; padding: 14px 16px; }
  .iq__img { grid-row: span 2; width: 76px; margin: 0; }
  .iq__n { display: none; }
  .h__ipo .bk { gap: 14px; zoom: .84; }
  .b-btn { white-space: normal; height: auto; min-height: 48px; padding-top: 6px; padding-bottom: 6px; line-height: 1.2; }
  .ph__h, .h2 { font-size: 25px; overflow-wrap: break-word; }
  .h__h { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
