/* Heritage Axis Group — www.hag.uz. Цвета и шрифты: брендбук v1.0 (hag-colors.css).
   Концепция «Оси»: строительные оси, чертёж, бронзовые линии на синем. */

@font-face { font-family: "Forum"; src: url("fonts/forum.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("fonts/cinzel.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --line: rgba(14, 30, 50, .14);
  --line-dark: rgba(255, 255, 255, .14);
  --axis: rgba(182, 135, 74, .32);
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--hag-white); color: var(--hag-navy);
  font-family: var(--hag-font-text); font-size: 16px; line-height: 26px; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--hag-font-display); font-weight: 400; margin: 0; letter-spacing: .005em; }
h2 { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.06; }
h3 { font-size: 24px; line-height: 1.25; }
:focus-visible { outline: 2px solid var(--hag-bronze); outline-offset: 3px; }
::selection { background: var(--hag-bronze); color: var(--hag-navy); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.section--stone { background: var(--hag-stone); }
.section--navy { background: var(--hag-navy); color: var(--hag-white); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--hag-navy); color: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

.eyebrow {
  display: flex; align-items: center; gap: 14px; font: 700 12px/16px var(--hag-font-text);
  letter-spacing: .18em; text-transform: uppercase; color: var(--hag-bronze); margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); flex: none; }
.muted { color: var(--hag-graphite); }
.section--navy .muted { color: rgba(255, 255, 255, .7); }
.lead { font-size: 18px; line-height: 30px; }
.rule { display: block; width: 132px; height: 10px; color: var(--hag-bronze); margin: 22px 0 26px; }

/* Кнопки */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 28px;
  font: 700 13px/1 var(--hag-font-text); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::after { transform: translateY(0); }
.btn--bronze { background: var(--hag-bronze); color: var(--hag-navy); }
.btn--bronze::after { background: #fff; }
.btn--line { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--line::after { background: #fff; }
.btn--line:hover { color: var(--hag-navy); }
.btn--dark { border-color: var(--hag-navy); color: var(--hag-navy); }
.btn--dark::after { background: var(--hag-navy); }
.btn--dark:hover { color: #fff; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* Заставка */
.preloader { position: fixed; inset: 0; z-index: 300; background: var(--hag-navy); display: grid; place-items: center; clip-path: inset(0 0 0% 0); }
.preloader svg { width: 120px; height: auto; color: var(--hag-bronze); }
.preloader__bar { position: absolute; left: 50%; bottom: 18%; width: 120px; height: 1px; background: var(--line-dark); transform: translateX(-50%); overflow: hidden; }
.preloader__bar i { position: absolute; inset: 0; background: var(--hag-bronze); transform-origin: left; transform: scaleX(0); }
html:not(.js) .preloader { display: none; }

/* Шапка */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: #fff; transition: background .4s, backdrop-filter .4s, transform .5s var(--ease); }
.header.is-solid { background: rgba(14, 30, 50, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { width: 180px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a { position: relative; font-weight: 500; font-size: 15px; text-decoration: none; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hag-bronze); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__aside { display: flex; align-items: center; gap: 22px; }
.header__phone { font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.lang { display: flex; gap: 2px; font: 700 12px/1 var(--hag-font-text); letter-spacing: .14em; }
.lang a, .lang span { padding: 8px 6px; text-decoration: none; color: rgba(255, 255, 255, .6); }
.lang span { color: #fff; box-shadow: inset 0 -1px var(--hag-bronze); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-dark); background: none; padding: 0 12px; cursor: pointer; color: #fff; }
.burger span { display: block; height: 1px; background: currentColor; margin: 6px 0; }

.mnav { position: fixed; inset: 0; z-index: 150; background: var(--hag-navy); color: #fff; padding: 18px var(--gutter) 36px; display: flex; flex-direction: column; overflow-y: auto; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease), visibility 0s .7s; }
.mnav.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease); }
.mnav__top { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.mnav__top img { width: 150px; }
.mnav__close { width: 46px; height: 46px; border: 1px solid var(--line-dark); background: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.mnav nav { display: flex; flex-direction: column; margin-top: 40px; counter-reset: m; }
.mnav nav a { counter-increment: m; display: flex; align-items: baseline; gap: 16px; font-family: var(--hag-font-display); font-size: clamp(34px, 9vw, 56px); line-height: 1.1; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); }
.mnav nav a::before { content: "0" counter(m); font: 700 12px/1 var(--hag-font-text); letter-spacing: .14em; color: var(--hag-bronze); }
.mnav.is-open nav a { opacity: 1; transform: none; }
.mnav.is-open nav a:nth-child(2) { transition-delay: .06s; } .mnav.is-open nav a:nth-child(3) { transition-delay: .12s; }
.mnav.is-open nav a:nth-child(4) { transition-delay: .18s; } .mnav.is-open nav a:nth-child(5) { transition-delay: .24s; }
.mnav__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.mnav__foot a { text-decoration: none; font-weight: 700; }

@media (max-width: 1080px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  :root { --header-h: 72px; }
  .header__logo img { width: 150px; }
}

/* Строительные оси — фоновый мотив */
.axes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.axes__v, .axes__h { position: absolute; }
.axes__v { top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--axis); }
.axes__h { left: 0; right: 0; height: 0; border-top: 1px dashed var(--axis); }
.axes b { position: absolute; width: 30px; height: 30px; border: 1px solid var(--axis); border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--hag-font-text); color: rgba(182, 135, 74, .8); background: var(--hag-navy); }
.axes__v b { top: calc(var(--header-h) + 18px); left: -15px; }
.axes__h b { left: 18px; top: -15px; }

/* Первый экран */
.hero { position: relative; min-height: 100svh; background: var(--hag-navy); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero__in { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(32px, 5vw, 56px); }
.hero__kicker { font: 700 12px/16px var(--hag-font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--hag-bronze); margin-bottom: clamp(20px, 3vw, 36px); display: flex; gap: 14px; align-items: center; }
.hero__kicker::before { content: ""; width: 48px; height: 1px; background: currentColor; }
.hero h1 { font-family: var(--hag-font-latin-display); font-weight: 400; font-size: clamp(34px, 6vw, 124px); line-height: 1; letter-spacing: -.005em; text-transform: uppercase; margin: 0; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .ln > span { display: block; }
.hero h1 .ln:nth-child(2) { padding-left: clamp(0px, 9vw, 160px); color: var(--hag-bronze); }
.hero__row { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-top: clamp(32px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero__sub { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55; max-width: 34em; color: rgba(255, 255, 255, .82); margin: 0; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__coords { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 22px); z-index: 2; font: 500 11px/18px var(--hag-font-text); letter-spacing: .16em; color: rgba(255, 255, 255, .5); text-align: right; font-variant-numeric: tabular-nums; }
.cross { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s; }
.hero:hover .cross { opacity: 1; }
.cross__x, .cross__y { position: absolute; background: rgba(182, 135, 74, .5); }
.cross__x { left: 0; right: 0; height: 1px; top: 0; }
.cross__y { top: 0; bottom: 0; width: 1px; left: 0; }
.cross__dot { position: absolute; width: 9px; height: 9px; border: 1px solid var(--hag-bronze); transform: translate(-4px, -4px) rotate(45deg); }
@media (hover: none) { .cross { display: none; } }

/* Манифест */
.manifesto { background: var(--hag-stone); }
.manifesto p { font-family: var(--hag-font-display); font-size: clamp(30px, 4.6vw, 68px); line-height: 1.12; margin: 0; max-width: 18em; }
.manifesto .w { opacity: .14; transition: opacity .2s; }
html:not(.js) .manifesto .w { opacity: 1; }
.manifesto__sign { margin-top: 48px; display: flex; align-items: center; gap: 18px; font: 700 12px/16px var(--hag-font-text); letter-spacing: .18em; text-transform: uppercase; color: var(--hag-graphite); }
.manifesto__sign img { width: 44px; }

/* Чертёж, собираемый при прокрутке */
.build { position: relative; background: var(--hag-navy); color: #fff; overflow: hidden; }
.build__pin { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(300px, .8fr) 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: calc(var(--header-h) + 24px); padding-bottom: 40px; }
.build__count { font: 500 12px/1 var(--hag-font-text); letter-spacing: .2em; color: rgba(255, 255, 255, .5); margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.build__count b { color: var(--hag-bronze); font-weight: 700; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { border-top: 1px solid var(--line-dark); padding: 18px 0; }
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.step h3 { font-size: clamp(24px, 2.4vw, 34px); color: rgba(255, 255, 255, .32); transition: color .5s; display: flex; gap: 18px; align-items: baseline; }
.step h3 span { font: 700 12px/1 var(--hag-font-text); letter-spacing: .14em; color: inherit; }
.step p { margin: 0; max-height: 0; overflow: hidden; opacity: 0; color: rgba(255, 255, 255, .72); transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.step.is-active h3 { color: #fff; }
.step.is-active h3 span { color: var(--hag-bronze); }
.step.is-active p { max-height: 8em; opacity: 1; margin-top: 12px; }
html:not(.js) .step p { max-height: none; opacity: 1; margin-top: 12px; }
.build__draw { position: relative; }
.build__draw::before { content: ""; position: absolute; inset: -4% -6%; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 40px 40px; opacity: .35; -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); mask-image: radial-gradient(closest-side, #000 40%, transparent); }
.drawing { position: relative; width: 100%; height: auto; max-height: calc(100svh - var(--header-h) - 80px); overflow: visible; }
.drawing .draw { stroke: var(--hag-bronze); stroke-width: 2; vector-effect: non-scaling-stroke; }
.drawing .thin { stroke-width: 1; }
.drawing .axis { stroke: rgba(255, 255, 255, .28); stroke-width: 1; stroke-dasharray: 16 6 3 6; }
.drawing .level { stroke: rgba(255, 255, 255, .2); stroke-width: 1; stroke-dasharray: 4 6; }
.drawing [data-stage="1"] .draw:not(.axis):not(.level) { stroke: rgba(255, 255, 255, .55); stroke-width: 1; }
.drawing .dot { fill: var(--hag-bronze); }
html.js .drawing [data-stage="2"] .dot { opacity: 0; }
.drawing .t-axis { font: 600 16px var(--hag-font-text); fill: rgba(255, 255, 255, .8); text-anchor: middle; }
.drawing .t-dim { font: 500 13px var(--hag-font-text); letter-spacing: .08em; fill: rgba(255, 255, 255, .6); }
.drawing .faint { fill: rgba(255, 255, 255, .35); }
.drawing .key-fill { fill: var(--hag-bronze); opacity: 0; }

/* Цифры */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.num { position: relative; padding: 28px 24px 32px 0; border-right: 1px solid var(--line); min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; }
.num + .num { padding-left: 24px; }
.num:last-child { border-right: 0; }
.num__t { font-size: 14px; line-height: 22px; color: var(--hag-graphite); max-width: 17em; }
.num__n { font-family: var(--hag-font-display); font-size: clamp(56px, 7vw, 112px); line-height: .9; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.num__n small { font-size: .32em; margin-left: .2em; color: var(--hag-bronze); }
.num--diag::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)); pointer-events: none; }

/* Услуги — строки */
.srv { border-top: 1px solid var(--line); }
.srv__row { position: relative; display: grid; grid-template-columns: 90px 1.1fr 1fr 48px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), padding .45s var(--ease); }
.srv__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hag-navy); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.srv__n { font: 700 12px/1 var(--hag-font-text); letter-spacing: .16em; color: var(--hag-bronze); }
.srv__row h3 { font-size: clamp(26px, 3vw, 44px); line-height: 1.05; }
.srv__row p { margin: 0; color: var(--hag-graphite); transition: color .45s; }
.srv__arr { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: transform .45s var(--ease), border-color .45s; }
@media (hover: hover) {
  .srv__row:hover { color: #fff; padding-left: 24px; padding-right: 24px; }
  .srv__row:hover::before { transform: scaleY(1); }
  .srv__row:hover p { color: rgba(255, 255, 255, .75); }
  .srv__row:hover .srv__arr { border-color: var(--hag-bronze); transform: rotate(-45deg); }
}

/* Портфель — индекс со всплывающим превью в арке */
.pf__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { font: 700 12px/1 var(--hag-font-text); letter-spacing: .12em; text-transform: uppercase; padding: 12px 16px; border: 1px solid var(--line); background: transparent; color: var(--hag-navy); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.tabs button sup { font-size: 9px; margin-left: 4px; color: var(--hag-bronze); }
.tabs button[aria-pressed="true"] { background: var(--hag-navy); color: #fff; border-color: var(--hag-navy); }
.idx { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.idx__row { display: grid; grid-template-columns: 70px 1.4fr 1fr 1fr; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), color .3s; }
.idx__row[hidden] { display: none; }
.idx__n { font: 600 12px/1 var(--hag-font-text); letter-spacing: .12em; color: var(--hag-graphite); font-variant-numeric: tabular-nums; }
.idx__name { font-family: var(--hag-font-display); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; }
.idx__type, .idx__fact { font-size: 14px; line-height: 22px; color: var(--hag-graphite); }
.idx__thumb { display: none; }
@media (hover: hover) { .idx__row:hover { padding-left: 18px; color: var(--hag-bronze); } }
.peek { position: fixed; left: 0; top: 0; z-index: 90; width: 280px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .3s, transform .4s var(--ease); }
.peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.peek__img { aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; outline: 1px solid var(--hag-bronze); outline-offset: 8px; background: var(--hag-navy); }
.peek__img img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 760px) { .peek { display: none; } }

/* Наследие */
.heritage { overflow: hidden; }
.heritage__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.heritage h2 { max-width: 9em; }
.pr { border-top: 1px solid var(--line-dark); }
.pr__item { display: grid; grid-template-columns: 60px 1fr; gap: 12px; padding: 30px 0; border-bottom: 1px solid var(--line-dark); }
.pr__item span { font: 700 12px/30px var(--hag-font-text); letter-spacing: .14em; color: var(--hag-bronze); }
.pr__item h3 { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 10px; }
.pr__item p { margin: 0; color: rgba(255, 255, 255, .72); }
.contours { position: absolute; pointer-events: none; color: var(--hag-bronze); }
.heritage .contours { right: -8%; bottom: 0; width: min(1100px, 90%); opacity: .5; }
.contours path { vector-effect: non-scaling-stroke; }

/* Бегущая строка */
.marquee { background: var(--hag-navy); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; padding: clamp(18px, 3vw, 34px) 0; }
.marquee__track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee span { font-family: var(--hag-font-latin-display); font-size: clamp(40px, 7vw, 110px); line-height: 1; white-space: nowrap; padding-right: .5em; color: transparent; -webkit-text-stroke: 1px var(--hag-bronze); text-transform: uppercase; }
.marquee span i { font-style: normal; color: var(--hag-bronze); -webkit-text-stroke: 0; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Призыв */
.cta { position: relative; overflow: hidden; }
.cta__big { display: inline-flex; align-items: center; gap: .3em; font-family: var(--hag-font-display); font-size: clamp(48px, 9vw, 150px); line-height: 1; text-decoration: none; color: #fff; margin: 12px 0 40px; transition: color .4s; }
.cta__big:hover { color: var(--hag-bronze); }
.cta__big svg { width: .6em; height: .6em; transition: transform .5s var(--ease); }
.cta__big:hover svg { transform: rotate(-45deg); }
.cta__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.cta__grid h4 { font: 700 12px/16px var(--hag-font-text); letter-spacing: .18em; text-transform: uppercase; color: var(--hag-bronze); margin-bottom: 12px; }
.cta__grid a { text-decoration: none; font-size: 20px; }
.cta__grid a:hover { color: var(--hag-bronze); }

/* Подвал */
.footer { background: var(--hag-navy); color: rgba(255, 255, 255, .78); border-top: 1px solid var(--line-dark); padding: 56px 0 28px; font-size: 15px; line-height: 24px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; }
.footer__logo img { width: 200px; }
.footer h4 { font: 700 12px/16px var(--hag-font-text); letter-spacing: .18em; text-transform: uppercase; color: var(--hag-bronze); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: #fff; }
.footer a:hover { color: var(--hag-bronze); }
.footer__slogan { margin-top: 22px; font-family: var(--hag-font-latin-display); font-size: 12px; letter-spacing: .22em; color: var(--hag-bronze); text-transform: uppercase; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .5); }

/* Появление при прокрутке */
html.js [data-reveal] { opacity: 0; transform: translateY(36px); }

/* Адаптив */
@media (max-width: 960px) {
  .build__pin { grid-template-columns: 1fr; align-content: start; gap: 20px; }
  .build__draw { order: -1; max-width: 560px; width: 100%; margin: 0 auto; }
  .drawing { max-height: 46svh; }
  .step { padding: 12px 0; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .num { min-height: 220px; }
  .num:nth-child(2) { border-right: 0; }
  .num:nth-child(3) { padding-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }
  .heritage__in { grid-template-columns: 1fr; }
  .srv__row { grid-template-columns: 60px 1fr 48px; }
  .srv__row p { grid-column: 2 / 3; }
  .srv__arr { grid-row: 1; grid-column: 3; }
  .idx__row { grid-template-columns: 70px 1fr 1fr; }
  .idx__fact { display: none; }
  .cta__grid, .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child, .cta__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__coords { display: none; }
  .axes b { width: 24px; height: 24px; font-size: 10px; }
  .axes__v b { left: -12px; }
  .numbers { grid-template-columns: 1fr; }
  .num { min-height: 0; padding: 28px 0 !important; border-right: 0; gap: 24px; }
  .num + .num { border-top: 1px solid var(--line); }
  .num--diag::before { display: none; }
  .srv__row { grid-template-columns: 1fr 44px; gap: 10px 16px; padding: 24px 0; }
  .srv__n { grid-column: 1 / -1; }
  .srv__row h3 { grid-column: 1; }
  .srv__row p { grid-column: 1 / -1; }
  .srv__arr { grid-row: 2; grid-column: 2; width: 44px; height: 44px; }
  .idx__row { grid-template-columns: 64px 1fr; gap: 4px 16px; padding: 16px 0; }
  .idx__thumb { display: block; grid-row: 1 / span 3; width: 64px; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--hag-navy); }
  .idx__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .idx__n { display: none; }
  .idx__name { font-size: 22px; }
  .cta__grid, .footer__grid { grid-template-columns: 1fr; }
  .cta__grid a { font-size: 18px; word-break: break-word; }
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .manifesto .w { opacity: 1 !important; }
}

/* ================================================= Внутренние страницы */
.phero { position: relative; background: var(--hag-navy); color: #fff; overflow: hidden; }
.phero__in { position: relative; z-index: 1; padding-top: calc(var(--header-h) + clamp(96px, 12vw, 170px)); padding-bottom: clamp(48px, 6vw, 80px); }
.phero--full { min-height: 100svh; display: flex; align-items: flex-end; }
.phero--full .phero__in { width: 100%; }
.phero__idx { font: 500 12px/16px var(--hag-font-text); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 28px; display: flex; gap: 14px; align-items: center; }
.phero__idx b { color: var(--hag-bronze); font-weight: 700; }
.phero__idx::before { content: ""; width: 48px; height: 1px; background: var(--hag-bronze); }
.phero__h1 { font-size: clamp(40px, 6.4vw, 104px); line-height: 1.02; max-width: 13em; }
.phero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line-dark); }
.phero__lead { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; max-width: 40em; color: rgba(255, 255, 255, .8); margin: 0; }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }

/* Хронология на оси */
.tl { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; border-top: 1px dashed var(--hag-bronze); opacity: .6; }
.tl__item { position: relative; padding: 52px 20px 0 0; }
.tl__dot { position: absolute; top: 0; left: 0; width: 30px; height: 30px; border: 1px solid var(--hag-bronze); border-radius: 50%; background: #fff; }
.tl__dot::after { content: ""; position: absolute; inset: 10px; background: var(--hag-bronze); transform: rotate(45deg); }
.tl__y { display: block; font-family: var(--hag-font-display); font-weight: 400; font-size: clamp(32px, 3vw, 44px); line-height: 1; margin-bottom: 14px; }
.tl__item p { margin: 0; font-size: 14px; line-height: 22px; color: var(--hag-graphite); }
.tl__item:last-child .tl__y { color: var(--hag-bronze); }

/* Ресурсы и реквизиты */
.res__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.res__list li { border-bottom: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.res__list b { font-weight: 700; }
.res__list span { color: var(--hag-graphite); font-size: 15px; }
.req { margin: 0; border-top: 1px solid var(--line); }
.req__row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.req dt { font: 700 12px/24px var(--hag-font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--hag-graphite); }
.req dd { margin: 0; }

/* Услуги — развёрнуто */
.sv { display: grid; grid-template-columns: 120px 1.3fr 1fr; gap: clamp(24px, 4vw, 64px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.sv:last-child { border-bottom: 1px solid var(--line); }
.sv__n { font-family: var(--hag-font-display); font-size: clamp(48px, 5vw, 80px); line-height: .9; color: var(--hag-bronze); }
.sv h2 { font-size: clamp(30px, 3.4vw, 52px); margin-bottom: 20px; }
.sv__list { list-style: none; margin: 0; padding: 0; align-self: end; }
.sv__list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sv__list li::before { content: ""; width: 6px; height: 6px; background: var(--hag-bronze); transform: rotate(45deg); flex: none; }
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 48px; }
.sector { padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sector h3 { font-size: 24px; margin-bottom: 10px; }
.sector p { margin: 0; color: var(--hag-graphite); font-size: 15px; line-height: 24px; }

/* Проекты — раскрывающийся список */
.pf__note { max-width: 34em; margin: 0; font-size: 13px; line-height: 20px; color: var(--hag-graphite); }
.idx--acc .pj { border-bottom: 1px solid var(--line); }
.idx--acc .pj[hidden] { display: none; }
.idx--acc summary { list-style: none; cursor: pointer; border-bottom: 0; grid-template-columns: 70px 1.4fr 1fr 40px; }
.idx--acc summary::-webkit-details-marker { display: none; }
.pj__plus { position: relative; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; justify-self: end; transition: transform .4s var(--ease), border-color .3s; }
.pj__plus::before, .pj__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.pj__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .pj__plus { transform: rotate(45deg); border-color: var(--hag-bronze); }
.pj__body { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 64px); padding: 8px 0 40px 94px; }
.pj__facts { margin: 0; }
.pj__facts div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pj__facts dt { color: var(--hag-graphite); }
.pj__facts dd { margin: 0; font-weight: 500; }
.pj__gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pj__img { aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--hag-stone); }
.pj__img img { width: 100%; height: 100%; object-fit: cover; }

/* Контакты и форма */
.contact { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact__side { display: grid; gap: 36px; padding-top: 44px; }
.contact__side h4 { font: 700 12px/16px var(--hag-font-text); letter-spacing: .18em; text-transform: uppercase; color: var(--hag-bronze); margin-bottom: 10px; }
.contact__side p { margin: 0 0 8px; }
.contact__big { font-family: var(--hag-font-display); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; text-decoration: none; word-break: break-word; }
.contact__big:hover { color: var(--hag-bronze); }
.contact__maps { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 12px !important; }
.link-u { font-weight: 700; font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--hag-bronze); padding-bottom: 3px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.fld { position: relative; display: block; padding-top: 18px; }
.fld--full { grid-column: 1 / -1; }
.fld input, .fld textarea, .fld select { width: 100%; font: 400 17px/1.4 var(--hag-font-text); color: var(--hag-navy); background: transparent; border: 0; border-bottom: 1px solid rgba(14, 30, 50, .3); padding: 14px 0 12px; border-radius: 0; outline: 0; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.fld textarea { resize: vertical; min-height: 110px; }
.fld span { position: absolute; left: 0; top: 32px; font-size: 15px; color: var(--hag-graphite); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s; transform-origin: left; }
.fld input:focus, .fld textarea:focus, .fld select:focus { border-bottom-color: var(--hag-bronze); }
.fld input:focus + span, .fld input:not(:placeholder-shown) + span,
.fld textarea:focus + span, .fld textarea:not(:placeholder-shown) + span,
.fld--select span { transform: translateY(-26px); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--hag-bronze); }
.fld--select::after { content: ""; position: absolute; right: 4px; bottom: 22px; width: 8px; height: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.fld input:user-invalid { border-bottom-color: #a94442; }
.form__note { margin: 18px 0 8px; font-size: 13px; color: var(--hag-graphite); }
.chk { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 28px; font-size: 14px; line-height: 22px; color: var(--hag-graphite); cursor: pointer; }
.chk input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--hag-bronze); flex: none; }
.form .btn--bronze::after { background: var(--hag-navy); }
.form .btn--bronze:hover { color: #fff; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form__status { margin: 18px 0 0; min-height: 26px; font-weight: 500; }
.form__status.is-ok { color: #2e6b3f; }
.form__status.is-err { color: #a94442; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 960px) {
  .split, .contact { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; margin-left: 15px; }
  .tl::before { left: 0; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px dashed var(--hag-bronze); }
  .tl__item { padding: 0 0 36px 40px; }
  .tl__dot { left: -15px; }
  .sv { grid-template-columns: 1fr; gap: 16px; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .pj__body { grid-template-columns: 1fr; padding-left: 0; }
  .idx--acc summary { grid-template-columns: 70px 1fr 40px; }
  .idx--acc summary .idx__type { display: none; }
}
@media (max-width: 620px) {
  .sectors { grid-template-columns: 1fr; }
  .req__row, .res__list li { grid-template-columns: 1fr; gap: 4px; }
  .form__grid { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .idx--acc summary { grid-template-columns: 64px 1fr 40px; }
  .idx--acc summary .idx__thumb { grid-row: 1; }
  .pj__gal { grid-template-columns: 1fr 1fr; }
  .phero__row .btn { width: 100%; }
}

/* ================================================= Сайт-визитка: всё на главной (ноябрь 2026) */
/* Кнопка «Оставить заявку» в шапке */
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 12px; letter-spacing: .12em; }
.header__cta { white-space: nowrap; }
.header__cta .l-short { display: none; }
.nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.mnav__foot .btn { width: 100%; margin-bottom: 12px; }
@media (max-width: 1080px) { .header__aside { gap: 12px; } }
@media (max-width: 520px) {
  .header__cta { padding: 0 14px; }
  .header__cta .l-full { display: none; }
  .header__cta .l-short { display: inline; }
  .header__aside .lang { display: none; }
  .header__logo img { width: 128px; }
}

/* 3D на первом экране */
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; opacity: 0; transition: opacity 1.6s ease .2s; }
.has-3d .hero__canvas { opacity: 1; }
.hero__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 30, 50, .92) 0%, rgba(14, 30, 50, .55) 38%, rgba(14, 30, 50, 0) 64%),
              linear-gradient(0deg, rgba(14, 30, 50, .95) 0%, rgba(14, 30, 50, 0) 42%); }
.hero .axes { z-index: 1; }
.no-webgl .hero__canvas, .no-webgl .path__canvas { display: none; }
@media (max-width: 760px) {
  .hero__shade { background: linear-gradient(0deg, rgba(14, 30, 50, .98) 0%, rgba(14, 30, 50, .8) 40%, rgba(14, 30, 50, .1) 75%); }
}

/* О компании */
.about__top { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.about__h2 { font-size: clamp(36px, 5vw, 76px); line-height: 1.04; max-width: 12em; }
.about__lead { margin: 0; }

/* Путь команды — закреплённый блок с 3D-моделями */
.path { position: relative; background: var(--hag-navy); color: #fff; overflow: hidden; }
.path__pin { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(300px, .78fr) 1.22fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: calc(var(--header-h) + 20px); padding-bottom: 32px; }
.path__h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.path__list { list-style: none; margin: 0; padding: 0; position: relative; }
.path__list::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; border-left: 1px dashed rgba(182, 135, 74, .5); }
.pstep { position: relative; padding: 10px 0 10px 36px; cursor: pointer; }
.pstep::before { content: ""; position: absolute; left: 2px; top: 19px; width: 11px; height: 11px; border: 1px solid var(--hag-bronze); background: var(--hag-navy); transform: rotate(45deg); transition: background .4s; }
.pstep.is-active::before, .pstep.is-past::before { background: var(--hag-bronze); }
.pstep b { display: block; font-family: var(--hag-font-display); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; color: rgba(255, 255, 255, .3); transition: color .4s; }
.pstep.is-active b { color: #fff; }
.pstep p { margin: 0; max-height: 0; overflow: hidden; opacity: 0; font-size: 15px; line-height: 24px; color: rgba(255, 255, 255, .72); transition: max-height .6s var(--ease), opacity .5s, margin .5s; max-width: 30em; }
.pstep.is-active p { max-height: 7em; opacity: 1; margin-top: 8px; }
html:not(.js) .pstep p { max-height: none; opacity: 1; margin-top: 8px; }
html:not(.js) .pstep b { color: #fff; }
.path__note { display: none; }
.path__stage { position: relative; height: min(76svh, 720px); }
.path__stage::before { content: ""; position: absolute; inset: 4% 2%; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 40px 40px; opacity: .3; -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); pointer-events: none; }
.path__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.path__cap { position: absolute; left: 0; bottom: 22px; display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; z-index: 1; padding-right: 16px; }
.path__cap b { font-family: var(--hag-font-display); font-weight: 400; font-size: clamp(36px, 4vw, 60px); line-height: 1; color: var(--hag-bronze); }
.path__cap span { font: 600 12px/18px var(--hag-font-text); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.path__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-dark); }
.path__bar i { position: absolute; inset: 0; background: var(--hag-bronze); transform-origin: left; transform: scaleX(0); }
.path__hint { position: absolute; right: 0; top: 0; margin: 0; font: 500 11px/16px var(--hag-font-text); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .42); }
.no-webgl .path__stage { display: none; }
.no-webgl .path__pin { grid-template-columns: 1fr; }
html:not(.js) .path__stage { height: 60svh; }

/* Услуги на главной */
.pf__lead { max-width: 26em; margin: 0; }
.svs .sv h3 { font-size: clamp(28px, 3vw, 46px); line-height: 1.08; margin-bottom: 18px; }
.svs .sv p { margin: 0; }
.sectors-wrap .sectors { margin-top: 40px; }

/* Проекты на главной: строка с площадью */
.idx--acc summary { grid-template-columns: 70px 1.4fr 1fr .8fr 40px; }

/* Контакты и форма */
.axes--light b { background: #fff; }
.contact-sec { overflow: hidden; scroll-margin-top: 0; }
.contact-sec .wrap { position: relative; }
.contact__head { max-width: 46em; margin-bottom: clamp(40px, 5vw, 72px); }
.contact__h2 { font-size: clamp(40px, 6vw, 96px); line-height: 1.02; margin-bottom: 24px; }
.contact__lead { margin: 0; }
.contact .form { background: #fff; position: relative; }
.req--sm .req__row { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
.req--sm dt { font-size: 11px; line-height: 18px; }
.req--sm dd { font-size: 15px; }

@media (max-width: 960px) {
  .about__top { grid-template-columns: 1fr; align-items: start; }
  .path__pin { grid-template-columns: 1fr; align-content: start; gap: 12px; padding-top: calc(var(--header-h) + 8px); }
  .path__stage { order: -1; height: 44svh; }
  .path__h2 { font-size: 30px; margin-bottom: 14px; }
  .path__text .eyebrow { margin-bottom: 12px; }
  .path__list { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .path__list::before { display: none; }
  .pstep { padding: 4px 0 4px 18px; }
  .pstep::before { top: 14px; width: 8px; height: 8px; left: 0; }
  .pstep b { font-size: 22px; }
  .pstep p { display: none; }
  .path__note { display: block; margin: 14px 0 0; font-size: 15px; line-height: 24px; color: rgba(255, 255, 255, .78); min-height: 5em; }
  html:not(.js) .path__note { display: none; }
  html:not(.js) .pstep p { display: block; }
  .path__hint { display: none; }
  .path__cap { bottom: 12px; }
  .idx--acc summary { grid-template-columns: 70px 1fr 40px; }
  .idx--acc summary .idx__type, .idx--acc summary .idx__fact { display: none; }
}
@media (max-width: 620px) {
  .idx--acc summary { grid-template-columns: 64px 1fr 40px; }
}
/* края 3D-холста растворяются в фоне */
.path__canvas { -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 48%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 72% 78% at 50% 48%, #000 55%, transparent 100%); }
