:root {
  /* Фирменная палитра — «СЭТТЭ. Гайдлайн бренда», июль 2026, раздел 7 */
  --blue: #1b36ff;          /* Акцентный синий, Pantone 2728 C */
  --deep: #132e5b;          /* Глубокий синий, Pantone 2955 C */
  --black: #151515;         /* Чёрный, Pantone Black C */
  --gold: #b8943e;          /* Золото, Pantone 4021 C */
  --white: #ffffff;
  --blue-bright: #0c29ff;   /* стопы градиентов */
  --blue-light: #6b7cff;
  --blue-mid: #465cfd;
  --sky: #c0d4ee;
  --gold-light: #ffe898;
  --grad-blue: linear-gradient(180deg, #c0d4ee, #465cfd);    /* Синий градиент */
  --grad-bright: linear-gradient(180deg, #6b7cff, #0c29ff);  /* Яркий синий градиент — вертикально, как в гайдлайне */
  --grad-gold: linear-gradient(180deg, #ffe898, #b8943e);    /* Золотой градиент */
  /* Производные: светлый тон синего градиента (#c0d4ee 30% на белом) и прозрачности */
  --mist: #ecf2fa;
  --deep-dark: #0d2247;      /* производный: глубокий синий −30 % (карта, силуэт) */
  --line-dark: rgba(21,21,21,.12);
  --line-light: rgba(255,255,255,.14);
  --muted: #666666;
  --muted-light: rgba(255,255,255,.66);
  --container: 1320px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --font: 'Manrope', system-ui, sans-serif;
  --display: 'Unbounded', 'Manrope', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--black); background: var(--black); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.header :focus-visible, .menu :focus-visible, .hero :focus-visible, .hscroll :focus-visible, .roads :focus-visible, .cta :focus-visible, .footer :focus-visible, .geo :focus-visible, .build :focus-visible { outline-color: var(--gold-light); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
@media (min-width: 900px) { .container { width: min(100% - 80px, var(--container)); } }

em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; padding-right: .06em; background: var(--grad-bright); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* на тёмном фоне синий не читается — акцент золотом */
.hero em, .hscroll em, .roads em, .cta em, .geo em, .build em { background-image: var(--grad-gold); }

.label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 28px; }
.label--light { color: var(--muted-light); }

.display { font: 500 clamp(40px, 6.4vw, 104px)/.98 var(--display); letter-spacing: -.035em; margin: 0; color: #fff; }
.display em { font-size: 1.12em; line-height: .8; }
.display--dark { color: var(--black); }

/* ---------- Кнопки ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .3s, color .3s, box-shadow .3s; }
.pill--accent { background: var(--blue); color: #fff; }
.pill--accent:hover { background: #0c29ff; box-shadow: 0 12px 36px -10px rgba(27,54,255,.7); }
.pill--big { padding: 22px 34px; font-size: 18px; justify-content: space-between; width: 100%; }
.pill span { transition: transform .4s var(--ease); }
.pill:hover span { transform: translateX(6px); }

/* ---------- Заставка ---------- */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--blue); display: grid; place-items: center; transition: transform 1s var(--ease) .1s; }
.intro__logo { width: clamp(220px, 36vw, 460px); height: auto; opacity: 0; transform: translateY(30px); animation: introIn .8s var(--ease) forwards; }
@keyframes introIn { to { opacity: 1; transform: none; } }
body:not(.is-loading) .intro { transform: translateY(-100%); pointer-events: none; visibility: hidden; transition: transform 1s var(--ease) .1s, visibility 0s 1.2s; }

/* ---------- Курсор и зерно ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1.5px solid var(--blue); box-shadow: 0 0 0 1px rgba(255,255,255,.55); pointer-events: none; display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, border-color .3s; opacity: 0; }
.cursor span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; text-align: center; padding: 0 10px; }
.cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(27,54,255,.14); }
.cursor.is-label { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--blue); border: 2px solid #fff; box-shadow: none; }
.cursor.is-label span { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor.is-ready { opacity: 1; } }
body:has(.logo:hover, .footer__brand:hover) .cursor { opacity: 0; }

.grain { position: fixed; inset: -4%; z-index: 120; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* ---------- Шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: transform .5s var(--ease), background .4s; }
.header.is-solid { background: rgba(19,46,91,.8); backdrop-filter: blur(18px) saturate(1.4); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 36px; height: 84px; color: #fff; }
.logo img { height: 32px; width: auto; }
.nav { display: flex; gap: 30px; margin-right: auto; }
.nav a { font-size: 15px; font-weight: 600; opacity: .8; position: relative; overflow: hidden; display: inline-block; transition: opacity .3s; }
.nav a:hover { opacity: 1; }
.header__phone { font-weight: 700; font-size: 15px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid var(--line-light); position: relative; }
.menu-btn span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: #fff; transition: transform .5s var(--ease); }
.menu-btn span:first-child { top: 20px; } .menu-btn span:last-child { top: 27px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--deep); color: #fff; padding: 110px 16px 32px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s linear .8s; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
@media (min-width: 901px) { .menu { display: none; } }
.menu__nav a { display: flex; align-items: baseline; gap: 14px; font: 500 clamp(34px, 9vw, 56px)/1.25 var(--display); letter-spacing: -.03em; border-bottom: 1px solid var(--line-light); padding: 6px 0; }
.menu__nav small { font: 600 12px var(--font); color: var(--gold); }
.menu__foot { display: grid; gap: 4px; font-weight: 600; }
.menu__foot span { color: var(--muted-light); font-weight: 400; font-size: 14px; margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; color: #fff; overflow: hidden; background: var(--black); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { overflow: hidden; opacity: 0; z-index: 0; transform: scale(1.12); }
.hero__slide.is-active { opacity: 1; z-index: 2; transform: scale(1.02); transition: transform 8s linear; }
.hero__slide.is-leaving { opacity: 1; z-index: 1; transform: scale(1.07) translateX(-2%); transition: transform 1.5s var(--ease); }
/* ламели: угол 18° повторяет параллелограммы фирменного паттерна */
.slat { --sk: max(20svh, 125px); position: absolute; top: -8%; bottom: -8%; left: calc(var(--i) * (100% / var(--n)) - 6% - var(--sk)); width: calc(100% / var(--n) + 12% + 2 * var(--sk)); overflow: hidden; transform: skewX(-18deg) scaleX(1); transform-origin: left center; transition: transform .9s var(--ease) calc(var(--i) * 80ms); contain: paint; }
.slat > i { position: absolute; top: 0; bottom: 0; left: calc((100% - 2 * var(--sk)) * (6 - var(--i) * 100 / var(--n)) / (100 / var(--n) + 12) + var(--sk)); width: calc((100% - 2 * var(--sk)) * 100 / (100 / var(--n) + 12)); background: center/cover no-repeat; transform: skewX(18deg); transform-origin: left center; }
.slat::after { content: ''; position: absolute; top: 0; bottom: 0; right: var(--sk); width: 3px; background: var(--grad-gold); opacity: 0; transition: opacity .4s; }
.is-wiping .slat { transform: skewX(-18deg) scaleX(0); transition: none; }
.is-sweeping .slat::after { opacity: .9; }
.hero__name, .hero__meta { display: grid; overflow: hidden; }
.roll { grid-area: 1 / 1; transition: transform .7s var(--ease), opacity .7s; }
.roll--in { transform: translateY(110%); opacity: 0; }
.roll--out { transform: translateY(-110%); opacity: 0; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,46,91,.82) 0%, rgba(19,46,91,.66) 30%, rgba(21,21,21,.6) 60%, rgba(21,21,21,.92) 100%); }
.hero__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 120px 0 40px; }
.hero__top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.hero__values { text-align: right; line-height: 1.7; }
.hero__title { font: 500 clamp(56px, min(12.5vw, calc((100svh - 400px) / 2.7)), 210px)/.86 var(--display); letter-spacing: -.055em; margin: 0; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .24em; margin-bottom: -.2em; }
.hero__title .line > span { display: block; transform: translateY(135%); transition: transform 1.3s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .08s; padding-left: .9em; }
.hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.hero__title em { font-size: 1.1em; line-height: .7; background: none; color: var(--gold-light); }
body:not(.is-loading) .hero__title .line > span { transform: none; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero__info { display: grid; gap: 4px; text-align: left; max-width: 360px; }
.hero__count { font-size: 13px; color: #fff; font-variant-numeric: tabular-nums; }
.hero__count b { color: #fff; }
.hero__name { font: 500 24px/1.2 var(--display); letter-spacing: -.02em; }
.hero__meta { font-size: 14px; color: #fff; }
.hero__bars { display: flex; gap: 6px; margin-top: 14px; }
.hero__bars i { width: 48px; height: 2px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero__bars i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: left; }
.hero__bars i.is-done::after { transform: scaleX(1); }
.hero__bars i.is-active::after { animation: bar 6s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }

.round { position: relative; width: 150px; height: 150px; display: grid; place-items: center; flex: none; }
.round__text { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.round__text text { font: 600 13.5px var(--font); letter-spacing: .2em; text-transform: uppercase; fill: #fff; }
.round__arrow { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 24px; transition: transform .5s var(--ease); }
.round:hover .round__arrow { transform: scale(1.15); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Бегущая строка ---------- */
.marquee { background: var(--grad-bright); color: #fff; overflow: hidden; padding: 22px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 30s linear infinite; font: 500 clamp(24px, 3vw, 40px)/1 var(--display); letter-spacing: -.03em; white-space: nowrap; align-items: center; }
.marquee i { font-style: normal; font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Манифест ---------- */
.manifest { background: var(--white); padding: clamp(100px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); }
.manifest__text { font: 500 clamp(28px, 4.2vw, 64px)/1.14 var(--display); letter-spacing: -.035em; margin: 0 0 clamp(64px, 9vw, 120px); max-width: 22ch; }
@media (min-width: 900px) { .manifest__text { max-width: none; text-indent: 3.2em; } }
.manifest__text .w { opacity: .14; transition: opacity .4s; }
.manifest__text .w.is-lit { opacity: 1; }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.counter { padding: 28px 24px 0 0; }
.counter + .counter { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.counter b { display: block; white-space: nowrap; font: 500 clamp(36px, 3.8vw, 60px)/1 var(--display); letter-spacing: -.04em; margin-bottom: 12px; font-variant-numeric: tabular-nums; color: var(--blue); }
.counter b small { font-size: .45em; letter-spacing: 0; margin-left: 4px; color: var(--deep); }
.counter > span { color: var(--muted); font-size: 15px; }

/* ---------- Горизонтальная прокрутка ЖК ---------- */
.hscroll { position: relative; background: var(--deep); color: #fff; }
.hscroll__sticky { position: sticky; top: 0; height: 100svh; overflow: clip; display: flex; flex-direction: column; justify-content: center; }
.hscroll__head { display: flex; justify-content: space-between; align-items: center; position: absolute; top: 110px; left: 0; right: 0; }
.hscroll__head .label { margin: 0; }
.hscroll__progress { width: 200px; height: 2px; background: var(--line-light); }
.hscroll__progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.hscroll__track { display: flex; gap: 4vw; padding: 0 max(40px, calc((100vw - var(--container)) / 2)); will-change: transform; align-items: center; margin-top: 60px; }
.hpanel { flex: none; }
.hpanel--intro { width: min(520px, 80vw); }
.hpanel--intro p { color: var(--muted-light); max-width: 40ch; margin: 32px 0; }
.hpanel__hint { font-size: 14px; font-weight: 600; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.proj { width: min(1000px, 78vw); display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: end; text-align: left; }
.proj__img { position: relative; height: min(62vh, 600px); border-radius: 6px; overflow: hidden; }
.proj__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.proj__badge { position: absolute; top: 18px; left: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(19,46,91,.6); backdrop-filter: blur(10px); font-size: 13px; font-weight: 700; }
.proj__badge::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 4px rgba(184,148,62,.3); }
.proj__num { font: 400 clamp(60px, 8vw, 120px)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.45); letter-spacing: -.04em; }
.proj__title { font: 500 clamp(30px, 3.4vw, 52px)/1 var(--display); letter-spacing: -.035em; margin: 18px 0 8px; }
.proj__sub { color: var(--muted-light); margin: 0 0 24px; }
.proj__specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); margin-bottom: 26px; }
.proj__specs div { padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.proj__specs dt { font-size: 12px; color: var(--muted-light); text-transform: uppercase; letter-spacing: .1em; }
.proj__specs dd { margin: 2px 0 0; font-weight: 700; font-size: 18px; }
.proj__more { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; border-bottom: 1px solid var(--gold); padding-bottom: 4px; color: var(--gold); }

/* ---------- Направления ---------- */
.directions { background: var(--mist); padding: clamp(90px, 12vw, 160px) 0; }
.sec-head { margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.stack { display: grid; gap: 24px; }
.scard { position: sticky; top: calc(110px + var(--i) * 22px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); min-height: min(70vh, 560px); border-radius: 8px; overflow: hidden; background: var(--deep); color: #fff; transform-origin: top center; box-shadow: 0 -20px 60px -30px rgba(19,46,91,.5); }
.scard__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.scard__top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.scard h3 { font: 500 clamp(30px, 3.4vw, 52px)/1 var(--display); letter-spacing: -.04em; margin: 0 0 18px; overflow-wrap: break-word; hyphens: auto; }
.scard p { color: var(--muted-light); margin: 0; max-width: 38ch; }
.scard__big { font: 500 clamp(40px, 5vw, 76px)/1 var(--display); letter-spacing: -.04em; }
.scard__num { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.scard__big small { display: block; font: 500 14px var(--font); color: var(--muted-light); letter-spacing: 0; margin-top: 8px; }
.scard__img { position: relative; overflow: hidden; }
.scard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.scard:hover .scard__img img { transform: scale(1.05); }
.scard:nth-child(2) { background: var(--black); }
.scard:nth-child(3) { background: var(--blue); }
.scard:nth-child(3) .scard__num { background: none; color: #fff; }
.scard:nth-child(3) p, .scard:nth-child(3) .scard__top, .scard:nth-child(3) .scard__big small { color: rgba(255,255,255,.85); }
.scard:nth-child(4) { background: var(--deep); }

/* ---------- Портфолио ---------- */
.works { background: var(--white); padding: clamp(90px, 12vw, 160px) 0; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-dark); font-weight: 600; font-size: 15px; transition: all .3s; }
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.tab sup { font-size: 10px; margin-left: 2px; }
.works__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.row { display: grid; grid-template-columns: 60px 1.6fr 1fr 110px 140px 40px; align-items: center; gap: 20px; width: 100%; text-align: left; padding: 26px 0; border-bottom: 1px solid var(--line-dark); position: relative; animation: rowIn .7s var(--ease) both; }
.row::before { content: ''; position: absolute; inset: 0 -20px; background: var(--deep); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: 0; border-radius: 4px; }
.row > * { position: relative; z-index: 1; transition: color .3s, transform .5s var(--ease); }
@media (hover: hover) and (min-width: 901px) {
  .row:hover::before { transform: scaleY(1); transform-origin: top; }
  .row:hover > * { color: #fff; }
  .row:hover .row__title { transform: translateX(12px); }
  .row:hover .rw b { transform: translateY(-100%); }
  .row:hover .row__arrow { transform: rotate(-45deg); color: var(--gold); }
}
.row__n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.row__title { font: 500 clamp(20px, 2.2vw, 30px)/1.15 var(--display); letter-spacing: -.03em; }
.rw { display: inline-block; overflow: hidden; height: 1.15em; vertical-align: top; }
.rw b { display: block; font-weight: inherit; transition: transform .5s var(--ease) calc(var(--k) * 30ms); }
.rw b + b { color: var(--gold-light); }
.row__sub, .row__year, .row__area { font-size: 15px; color: var(--muted); }
.row__arrow { font-size: 22px; justify-self: end; }
.row__thumb { display: none; }
@keyframes rowIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.works__preview { position: fixed; left: 0; top: 0; z-index: 60; width: 340px; height: 240px; margin: -120px 0 0 40px; border-radius: 6px; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .35s; }
.works__preview.is-on { opacity: 1; }
.works__preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Дороги ---------- */
.roads { background: var(--black); color: #fff; padding: clamp(90px, 12vw, 160px) 0; }
.roads__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.roads__side { position: sticky; top: 120px; }
.services { list-style: none; padding: 0; margin: 40px 0; border-top: 1px solid var(--line-light); }
.services li { padding: 14px 0; border-bottom: 1px solid var(--line-light); color: var(--muted-light); }
.roads__phone { display: grid; font: 500 26px/1.2 var(--display); color: var(--gold); letter-spacing: -.02em; }
.roads__phone small { font: 400 14px var(--font); color: var(--muted-light); letter-spacing: 0; margin-top: 6px; }
.road { position: relative; padding-left: 80px; }
.road__line { position: absolute; left: 20px; top: 0; bottom: 0; width: 22px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; }
.road__line::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: repeating-linear-gradient(180deg, rgba(255,255,255,.5) 0 18px, transparent 18px 34px); }
.road__fill { position: absolute; inset: 0; background: var(--grad-bright); transform-origin: top; transform: scaleY(0); }
.step { position: relative; padding: 0 0 72px; }
.step .step__m, .step .step__year { transition: opacity .6s; }
.step:not(.is-on) .step__m { opacity: .45; }
.step:not(.is-on) .step__year { opacity: .8; }
.step::before { content: ''; position: absolute; left: -68px; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--black); border: 2px solid rgba(255,255,255,.3); transition: all .4s; }
.step.is-on::before { background: var(--blue); border-color: var(--blue-light); box-shadow: 0 0 0 8px rgba(27,54,255,.3); }
.step__year { font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.step__m { font: 500 clamp(44px, 5vw, 80px)/1.05 var(--display); letter-spacing: -.045em; margin: 6px 0 12px; font-variant-numeric: tabular-nums; }
.step__m small { font-size: .35em; color: var(--muted-light); letter-spacing: 0; margin-left: 6px; }
.step p { color: var(--muted-light); margin: 0; font-size: 15px; max-width: 46ch; }
.road__total { border-top: 1px solid var(--line-light); padding-top: 32px; }
.road__total b { display: block; font: 500 clamp(56px, 7vw, 120px)/1 var(--display); letter-spacing: -.05em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.road__total > span { color: var(--muted-light); }

/* ---------- Подбор квартиры ---------- */
.cta { position: relative; overflow: hidden; color: #fff; padding: clamp(100px, 12vw, 170px) 0; background: var(--deep); }
.cta__bg { position: absolute; inset: -15% 0; background: center/cover; }
.cta__bg::after { content: ''; position: absolute; inset: 0; background: rgba(19,46,91,.6); }
.cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,46,91,.92), rgba(19,46,91,.3)); }
.cta__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.cta__text p:not(.label) { color: rgba(255,255,255,.75); max-width: 42ch; margin: 32px 0; }
.cta__phones { display: grid; gap: 4px; }
.cta__phones a { font: 500 26px/1.3 var(--display); letter-spacing: -.02em; }
.cta__phones a:hover { color: var(--gold); }
.form { background: rgba(19,46,91,.5); backdrop-filter: blur(24px) saturate(1.3); border: 1px solid var(--line-light); border-radius: 10px; padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 28px; }
.form__q { margin: 0 0 14px; font-weight: 700; display: flex; gap: 12px; }
.form__q span { color: var(--gold); font-size: 13px; padding-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; min-width: 52px; text-align: center; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5); font-weight: 600; font-size: 15px; cursor: pointer; transition: all .25s; }
.chip span:hover { border-color: #fff; }
.chip input:checked + span { background: #fff; color: var(--deep); border-color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: block; }
.field input { width: 100%; font: 500 18px var(--font); color: #fff; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.5); padding: 22px 0 10px; outline: none; transition: border-color .3s; border-radius: 0; color-scheme: dark; }
.field span { position: absolute; left: 0; top: 20px; color: var(--muted-light); transition: all .3s var(--ease); pointer-events: none; }
.field input:focus + span, .field input:not(:placeholder-shown) + span { top: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.field input:focus { border-color: var(--gold); }
.field input.is-invalid { border-color: #ff6b6b; }
.field input:-webkit-autofill { -webkit-text-fill-color: #fff; caret-color: #fff; transition: background-color 99999s 0s; }
.consent { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted-light); }
.consent input { width: 18px; height: 18px; accent-color: var(--blue); }
.form__msg { margin: 0; min-height: 1.4em; font-weight: 600; }
.form__msg.is-ok { color: var(--gold-light); }
.form__msg.is-err { color: #ff8a8a; }

/* ---------- Карьера ---------- */
.career { background: var(--mist); padding: clamp(90px, 12vw, 160px) 0; }
.career__title { font: 500 clamp(34px, 5.4vw, 88px)/1.02 var(--display); letter-spacing: -.045em; margin: 0 0 clamp(48px, 6vw, 80px); max-width: 16ch; }
.career__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); margin-bottom: 64px; }
.perk { padding: 28px 24px 0 0; }
.perk + .perk { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.perk span { font-size: 13px; color: var(--blue); font-weight: 700; }
.perk b { display: block; font-size: 19px; margin: 18px 0 8px; }
.perk p { margin: 0; color: var(--muted); font-size: 15px; }
.career__mail { display: inline-flex; gap: .3em; font: 500 clamp(30px, 6vw, 96px)/1 var(--display); letter-spacing: -.05em; border-bottom: 2px solid var(--black); padding-bottom: 8px; transition: color .3s, border-color .3s; word-break: break-all; }
.career__mail span { transition: transform .5s var(--ease); display: inline-block; }
.career__mail:hover { color: var(--blue); border-color: var(--blue); }
.career__mail:hover span { transform: translate(8px, -8px); }
.career__note { color: var(--muted); margin: 20px 0 0; }

/* ---------- Контакты ---------- */
.contacts { background: var(--white); padding: clamp(90px, 12vw, 160px) 0; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: stretch; }
.contacts__addr { font-size: 21px; font-weight: 600; margin: 36px 0; }
.contacts__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line-dark); padding-top: 24px; }
.contacts__cols div { display: grid; gap: 4px; align-content: start; }
.contacts__cols small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contacts__cols a { font-weight: 600; transition: color .3s; word-break: break-word; }
.contacts__cols a:hover { color: var(--blue); }
.contacts__map { border-radius: 8px; overflow: hidden; min-height: 460px; filter: grayscale(.9) contrast(1.05); transition: filter .6s; }
.contacts__map:hover { filter: none; }
.contacts__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ---------- Подвал ---------- */
.footer { background: var(--deep); color: #fff; padding: 90px 0 32px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col { display: grid; gap: 6px; align-content: start; }
.footer__col small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 10px; }
.footer__col a { opacity: .85; transition: opacity .3s, color .3s; }
.footer__col a:hover { opacity: 1; color: var(--gold); }
.footer__col .footer__up { margin-top: 16px; color: var(--gold); opacity: 1; }
.footer__brand { display: block; width: min(100%, 440px); margin: 96px auto 72px; }
.footer__brand img { width: 100%; height: auto; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted-light); border-top: 1px solid var(--line-light); padding-top: 24px; }

.fab { position: fixed; right: 16px; bottom: 16px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: var(--blue); color: #fff; display: none; place-items: center; box-shadow: 0 0 0 2px #fff, 0 12px 30px -8px rgba(27,54,255,.6); transition: opacity .3s, transform .3s; }
.fab.is-hidden { opacity: 0; transform: scale(.8); pointer-events: none; }
.fab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--deep); }

/* ---------- Модальное окно ---------- */
.modal { width: min(100% - 24px, 1100px); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 10px; overflow: auto; background: var(--white); color: var(--black); }
.modal::backdrop { background: rgba(19,46,91,.8); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .7s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(40px) scale(.97); } }
.modal__close { position: sticky; top: 14px; float: right; margin: 14px 14px -62px 0; z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: var(--deep); color: #fff; font-size: 26px; transition: transform .4s var(--ease); }
.modal__close:focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px var(--blue); }
.modal__close:hover { transform: rotate(90deg); }
.m-gallery__main { aspect-ratio: 16/8; background: var(--black); overflow: hidden; }
.m-gallery__main img { width: 100%; height: 100%; object-fit: cover; animation: fadeImg .6s; }
@keyframes fadeImg { from { opacity: .3; } }
.m-gallery__thumbs { display: flex; gap: 8px; padding: 12px clamp(20px, 4vw, 48px) 6px; overflow-x: auto; }
.m-gallery__thumbs button { flex: 0 0 96px; height: 64px; border-radius: 4px; overflow: hidden; opacity: .45; outline: 2px solid transparent; outline-offset: -2px; transition: all .3s; }
.m-gallery__thumbs button.is-active { opacity: 1; outline-color: var(--blue); }
.m-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.m-gallery__thumbs button:focus-visible { opacity: 1; outline: 2px solid var(--deep); outline-offset: 2px; }
.m-body { padding: 32px clamp(20px, 4vw, 48px) 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.m-body h3 { font: 500 clamp(28px, 3.4vw, 48px)/1.02 var(--display); letter-spacing: -.04em; margin: 8px 0 8px; }
.m-tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.m-sub { color: var(--muted); margin: 0 0 20px; }
.m-specs { margin: 0; border-top: 1px solid var(--line-dark); }
.m-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.m-specs dt { color: var(--muted); }
.m-specs dd { margin: 0; font-weight: 700; text-align: right; }
.m-infra { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 20px 0 28px; }
.m-infra li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-dark); }
.m-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.pill--outline { border: 1px solid var(--line-dark); }
.pill--outline:hover { background: var(--deep); color: #fff; border-color: var(--deep); }

/* ---------- Появление ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.is-visible .clip, .clip.is-visible { clip-path: inset(0 0 0 0); }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .header__phone { display: none; }
  .row { grid-template-columns: 40px 1.6fr 1fr 90px 40px; }
  .row__area { display: none; }
}
@media (max-width: 900px) {
  .nav, .header__inner > .pill { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .header__inner { height: 72px; }
  .hero__top { font-size: 11px; }
  .hero__title .line:nth-child(2) > span { padding-left: .5em; }
  .round { display: none; }
  .counters, .career__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counter:nth-child(3), .perk:nth-child(3) { padding-left: 0; border-left: 0; }
  .counter:nth-child(n+3), .perk:nth-child(n+3) { border-top: 1px solid var(--line-dark); margin-top: 28px; }

  /* горизонтальная прокрутка → свайп-лента */
  .hscroll { padding: 100px 0 80px; }
  .hscroll__sticky { position: static; height: auto; display: block; }
  .hscroll__head { position: static; margin-bottom: 32px; }
  .hscroll__progress { display: none; }
  .hscroll__track { margin: 0; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; align-items: stretch; transform: none !important; scrollbar-width: none; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .hpanel { scroll-snap-align: center; }
  .hpanel--intro { width: 82vw; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 8px; }
  .proj { width: 84vw; grid-template-columns: 1fr; gap: 18px; }
  .proj__img { height: 52vh; }
  .proj__num { display: none; }
  .proj__title { margin-top: 0; }

  .scard { grid-template-columns: 1fr; min-height: 0; top: calc(90px + var(--i) * 14px); }
  .scard__img { height: 240px; order: -1; }
  .works__preview { display: none; }
  .row { grid-template-columns: 72px minmax(0, 1fr) 24px; gap: 14px; padding: 16px 0; }
  .row__title { overflow-wrap: break-word; hyphens: auto; }
  .row::before { display: none; }
  .row__n, .row__sub, .row__year { display: none; }
  .row__thumb { display: block; width: 72px; height: 56px; border-radius: 4px; overflow: hidden; }
  .row__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .row__title small { display: block; font: 500 13px var(--font); color: var(--muted); letter-spacing: 0; margin-top: 4px; }
  .roads__grid, .cta__grid, .contacts__grid { grid-template-columns: 1fr; }
  .form { backdrop-filter: none; background: rgba(19,46,91,.85); }
  .roads__side { position: static; }
  .road { padding-left: 56px; }
  .road__line { left: 8px; width: 16px; }
  .step::before { left: -56px; }
  .m-body { grid-template-columns: 1fr; gap: 8px; }
  .fab { display: grid; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 901px) { .row__title small { display: none; } }
@media (min-width: 901px) and (max-height: 760px) {
  .hscroll__sticky { justify-content: flex-start; padding-top: 150px; }
  .hscroll__track { margin-top: 0; }
  .proj__img { height: min(62vh, 600px, calc(100svh - 300px)); }
  .proj__num { font-size: clamp(48px, 9vh, 120px); }
  .hpanel--intro .display { font-size: min(clamp(40px, 6.4vw, 104px), 9vh); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo img { height: 26px; }
  .hero__values { display: none; }
  .form__row, .contacts__cols { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { width: min(100% - 96px, 440px); }
  .counter b { font-size: clamp(26px, 8vw, 36px); }
  .counter, .perk { padding-right: 12px; }
  .counter + .counter, .perk + .perk { padding-left: 12px; }
  .counter:nth-child(3), .perk:nth-child(3) { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .intro__logo { opacity: 1; transform: none; }
  .field input:-webkit-autofill { transition: background-color 99999s 0s !important; }
  .reveal, .clip { opacity: 1; transform: none; clip-path: none; }
  .manifest__text .w { opacity: 1; }
  .cursor { display: none; }
}

/* Launch usability */
.skip-link { position:fixed; top:12px; left:16px; z-index:1000; padding:12px 18px; background:#fff; color:#132e5b; transform:translateY(-180%); }
.skip-link:focus { transform:none; }
.noscript-note { position:relative; z-index:1001; background:#fff; padding:20px; }
.office-map { min-height:360px; height:100%; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:24px; padding:clamp(24px,4vw,64px); background:var(--deep); color:#fff; }
.office-map h3 { margin:0; font:500 clamp(28px,3vw,46px)/1.15 var(--display); }
.office-map p { margin:0; }
.office-map .label { color:var(--gold-light); }
[hidden] { display:none !important; }
@media(max-width:560px) { .cookie { max-height:70svh; overflow:auto; } .menu__nav { gap:10px; } .menu { overflow-y:auto; } }
@media (max-width:900px) {
  .row__title .rw { display:inline; height:auto; overflow:visible; }
  .row__title .rw b { display:inline; transform:none; }
  .row__title .rw b + b { display:none; }
}
.contacts__map { filter:none; }

.nav a.nav__catalog { color: #16120b; background: var(--gold); padding: 10px 14px; border-radius: 999px; opacity: 1; }
.nav a.nav__catalog:hover { color: #16120b; background: #f2cf74; }

/* Три ценности: лёгкие края, выразительная надёжность. */
.hero__title--values { font-family: var(--font); font-weight: 400; }
.hero__title--values .line:nth-child(2) > span { padding-left: 0; }
.hero__title--values .line:nth-child(2) em { font-family: var(--font); font-style: normal; font-weight: 800; color: var(--gold-light); }
#manifest .w:first-child { font-weight: 700; color: var(--gold); }

/* Полное слово «Надёжность» помещается на узких экранах. */
.hero__title--values .line:nth-child(2) em { font-size: min(1em, 10.5vw, 200px); line-height: 1; }


/* Документы доступны после раскрытия раздела. */
.ethics summary { min-height:44px; display:flex; align-items:center; justify-content:space-between; gap:16px; cursor:pointer; list-style:none; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--muted-light); }
.ethics summary::-webkit-details-marker { display:none; }
.ethics summary span { font-size:24px; font-weight:400; transition:transform .2s; }
.ethics[open] summary span { transform:rotate(45deg); }
.ethics__docs { display:grid; gap:10px; padding-top:12px; }
.ethics:not([open]) .ethics__docs { display:none; }
.ethics summary:hover { color:var(--gold); }
.ethics summary:focus-visible { outline:2px solid var(--gold-light); outline-offset:4px; }

/* Быстрый переход в каталог на первом экране телефона. */
.hero__actions { display:contents; }
.hero__catalog { display:none; }
@media (max-width:900px) {
  .hero__actions { display:flex; flex-direction:column; flex-shrink:0; gap:10px; }
  .hero__actions .pill { min-height:48px; justify-content:space-between; padding:12px 20px; font-size:14px; }
  .hero__catalog { display:flex; background:var(--gold); color:var(--deep-dark); }
  .hero__catalog:hover { background:var(--gold-light); }
}
@media (max-width:560px) {
  .hero__foot { flex-direction:column; align-items:stretch; gap:16px; }
  .hero__actions { width:100%; }
}
