/* ============================================================
   ВЕЛАР ЮГ — design system v2 «инженерный масштаб»
   Палитра: графит/известняк/сталь + дозированная бронза.
   Типографика: Commissioner (дисплей), Onest (текст),
   JetBrains Mono (HUD, подписи, цифры).
   ============================================================ */

/* ---------- Fonts (self-hosted, работают без внешних CDN) ---------- */
/* Commissioner — дисплейный гротеск, wght 100–900 */
@font-face { font-family:'Commissioner'; font-style:normal; font-weight:100 900; font-display:swap;
  src:url("fonts/commissioner-cyrillic-ext-wght-normal.woff2") format('woff2-variations');
  unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family:'Commissioner'; font-style:normal; font-weight:100 900; font-display:swap;
  src:url("fonts/commissioner-cyrillic-wght-normal.woff2") format('woff2-variations');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Commissioner'; font-style:normal; font-weight:100 900; font-display:swap;
  src:url("fonts/commissioner-latin-ext-wght-normal.woff2") format('woff2-variations');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Commissioner'; font-style:normal; font-weight:100 900; font-display:swap;
  src:url("fonts/commissioner-latin-wght-normal.woff2") format('woff2-variations');
  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; }
/* JetBrains Mono — техподписи, HUD */
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:100 800; font-display:swap;
  src:url("fonts/jetbrains-mono-cyrillic-ext-wght-normal.woff2") format('woff2-variations');
  unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:100 800; font-display:swap;
  src:url("fonts/jetbrains-mono-cyrillic-wght-normal.woff2") format('woff2-variations');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:100 800; font-display:swap;
  src:url("fonts/jetbrains-mono-latin-wght-normal.woff2") format('woff2-variations');
  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; }
/* Onest — основной текст */
@font-face { font-family:'Onest'; font-style:normal; font-weight:400; font-display:swap;
  src:url("fonts/onest-400-cyrillic-ext.woff2") format('woff2');
  unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family:'Onest'; font-style:normal; font-weight:400; font-display:swap;
  src:url("fonts/onest-400-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:swap;
  src:url("fonts/onest-400-latin-ext.woff2") format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Onest'; font-style:normal; font-weight:400; font-display:swap;
  src:url("fonts/onest-400-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:swap;
  src:url("fonts/onest-500-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:swap;
  src:url("fonts/onest-500-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:swap;
  src:url("fonts/onest-600-cyrillic.woff2") format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-0491,U+2116; }
@font-face { font-family:'Onest'; font-style:normal; font-weight:600; font-display:swap;
  src:url("fonts/onest-600-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:swap;
  src:url("fonts/onest-700-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:swap;
  src:url("fonts/onest-700-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:800; font-display:swap;
  src:url("fonts/onest-800-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:800; font-display:swap;
  src:url("fonts/onest-800-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; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Onest", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.65;
  color: var(--ink-2); background: var(--ink);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:root {
  /* поверхности */
  --ink:     #10141A;   /* графит — основная тёмная база */
  --ink-2:   #141922;   /* тёмно-синий графит */
  --ink-3:   #0B0E12;   /* почти чёрный (контакты, футер) */
  --navy:    #121A26;   /* глубокий навья для ГП */
  --steel:   #1B232E;   /* стальные панели */
  --steel-2: #232D3A;
  --lime:    #EFEBE2;   /* известняк — светлые секции */
  --lime-2:  #E6E1D5;
  --paper:   #F7F5F0;

  /* текст */
  --on-dark:   #E9E7E1;
  --on-dark-2: #9BA3AE;
  --on-light:  #12161C;
  --on-light-2:#4A5460;
  --muted:     #5B6570;

  /* металл — дозированно */
  --br:    #C79B60;
  --br-2:  #E2C28F;
  --br-3:  #9A7643;
  --br-dim:rgba(199,155,96,.14);
  --br-line:rgba(199,155,96,.4);

  /* линии */
  --line-d: rgba(233,231,225,.13);
  --line-d2: rgba(233,231,225,.07);
  --line-l: rgba(18,22,28,.14);
  --line-l2: rgba(18,22,28,.08);

  --f-disp: "Commissioner", "Onest", "Arial Narrow", sans-serif;
  --f-body: "Onest", "Inter", -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-io: cubic-bezier(.4,0,.2,1);
  --pad: clamp(18px, 3.6vw, 44px);
  --head-h: 74px;
  --r: 2px;
}

h1, h2, h3, h4 { margin: 0; color: var(--on-light); line-height: 1; }
.sec--ink h2, .sec--ink h3, .sec--bl h2, .sec--bl h3,
.sec--gc h2, .sec--gc h3, .sec--vor h2, .sec--vor h3, .band h2, .foot h4 { color: #F2F1EC; }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }
.container--narrow { max-width: 860px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--br); color: #10141A; padding: 12px 18px; font: 600 14px var(--f-body); }
.skip:focus { left: 0; }
:where(a, button, input, textarea, summary):focus-visible { outline: 2px solid var(--br); outline-offset: 3px; }

/* ---------- Типографика заголовков ---------- */
.sec__title {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 62px);
  letter-spacing: -.025em;
  line-height: .98;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.sec__title .dot { color: var(--br); }
.sec__sub { color: var(--muted); font-size: clamp(15px, 1.6vw, 17.5px); max-width: 62ch; }
.sec--ink .sec__sub, .sec--bl .sec__sub, .sec--gc .sec__sub { color: var(--on-dark-2); }

.eyebrow {
  font: 600 11px/1.5 var(--f-mono);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--br-3);
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--br); flex: none; }
.eyebrow--l { color: var(--br-2); }

.lnk {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--br-3);
  width: fit-content;
}
.lnk span { transition: transform .3s var(--ease); }
.lnk:hover { color: var(--br); }
.lnk:hover span { transform: translateX(5px); }
.sec--ink .lnk, .sec--bl .lnk, .sec--gc .lnk, .sec--vor .lnk { color: var(--br-2); }
.sec--ink .lnk:hover, .sec--bl .lnk:hover, .sec--gc .lnk:hover { color: var(--br); }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: var(--r);
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn--gold {
  color: #15100A;
  background: linear-gradient(135deg, #E8CB9B 0%, #C79B60 52%, #A97F45 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.55) 47%, transparent 66%);
  transform: translateX(-110%);
  transition: transform .7s var(--ease-io);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--gold:hover::after { transform: translateX(110%); }
.btn--gold svg { transition: transform .3s var(--ease); }
.btn--gold:hover svg { transform: translateX(4px); }
.btn--edge { color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(233,231,225,.32); }
.sec:not(.sec--ink):not(.sec--bl):not(.sec--gc):not(.sec--vor) .btn--edge, .head .btn--edge { color: var(--on-light); box-shadow: inset 0 0 0 1px rgba(18,22,28,.3); }
.btn--edge:hover { box-shadow: inset 0 0 0 1px var(--br); color: var(--br-2); transform: translateY(-2px); }
.sec:not(.sec--ink):not(.sec--bl):not(.sec--gc):not(.sec--vor) .btn--edge:hover, .head .btn--edge:hover { color: var(--br-3); }
.btn--sm { padding: 12px 20px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease) var(--rd, 0ms), transform .8s var(--ease) var(--rd, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Секции ---------- */
.sec { position: relative; padding-block: clamp(48px, 5.6vw, 90px); }
.sec--stone { background: var(--lime); }
.sec--light { background: var(--paper); }
.sec--ink { background: var(--ink); }
.sec--bl { background: var(--ink-3); }
/* чертёжная сетка на тёмных секциях */
.sec--ink::before, .sec--bl::before, .sec--gc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(var(--line-d2) 1px, transparent 1px) 0 0 / 100% 96px,
    linear-gradient(90deg, var(--line-d2) 1px, transparent 1px) 0 0 / 96px 100%;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0, #000 20%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0, #000 20%, transparent 78%);
}
.sec > .container { position: relative; z-index: 1; }

.sec__head { max-width: 800px; margin-bottom: clamp(24px, 2.8vw, 40px); }
.sec__head--split { max-width: none; display: grid; grid-template-columns: minmax(0,1fr); gap: 26px; align-items: end; }
@media (min-width: 1024px) { .sec__head--split { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 60px; } }

/* ---------- Шапка ---------- */
.head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .35s var(--ease), box-shadow .35s, border-color .35s;
  background: rgba(16,20,26,.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  color: var(--on-dark);
}
.head.is-stuck { background: rgba(11,14,18,.88); border-bottom-color: var(--line-d); }
/* когда меню открыто — снимаем backdrop-filter, иначе он делает .head containing block для fixed-панели */
@media (max-width: 1099px) {
  .head.menu-open, .head.menu-open.is-stuck { background: rgba(11,14,18,.92); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.head__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--head-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; color: #fff; }
.logo__img { display: block; width: auto; height: 48px; }
@media (min-width: 1024px) { .logo__img { height: 62px; } }

.nav { display: none; }
.nav__foot { display: none; }
.nav a {
  position: relative;
  font-size: 15px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--on-dark-2);
  padding: 16px 2px;
  transition: color .25s;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 10px; height: 1px; background: var(--br); transition: right .3s var(--ease); }
.nav a:hover, .nav a.is-current { color: #fff; }
.nav a:hover::after, .nav a.is-current::after { right: 0; }

.head__cta { display: none; align-items: center; gap: 18px; }
.head__msg { display: flex; gap: 6px; }
.head__msg a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-d); color: var(--on-dark-2); border-radius: 2px; transition: .25s; }
.head__msg a:hover { color: var(--br-2); border-color: var(--br-line); }
.head__phone { font: 700 15px/1 var(--f-mono); letter-spacing: -.01em; color: #fff; transition: color .25s; }
.head__phone:hover { color: var(--br-2); }

.burger { width: 48px; height: 48px; display: grid; place-content: center; gap: 5px; margin-right: -6px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 1px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.head.menu-open .burger { position: relative; z-index: 72; }

/* мобильное меню — полноэкранное */
@media (max-width: 1099px) {
  .nav.is-open {
    position: fixed; inset: 0; z-index: 70; padding-bottom: 86px;
    background: var(--ink-3);
    padding: calc(var(--head-h) + 26px) var(--pad) 40px;
    display: flex; flex-direction: column; gap: 4px;
  }
  .nav.is-open > a { animation: navLinkIn .5s var(--ease) backwards; }
  .nav.is-open > a:nth-child(2) { animation-delay: .05s; }
  .nav.is-open > a:nth-child(3) { animation-delay: .1s; }
  .nav.is-open > a:nth-child(4) { animation-delay: .15s; }
  .nav.is-open > a:nth-child(5) { animation-delay: .2s; }
  .nav.is-open > a:nth-child(6) { animation-delay: .25s; }
  .nav.is-open > a {
    font-family: var(--f-disp); font-weight: 700; text-transform: uppercase;
    font-size: 26px; letter-spacing: -.01em; color: #EFEDE6;
    padding: 16px 14px; border: 1px solid var(--line-d); border-radius: 3px;
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 6px;
  }
  .nav.is-open > a::after { display: none; }
  .nav.is-open > a.is-current { color: var(--br-2); }
  .nav__foot { display: none; }
  .nav.is-open .nav__foot {
    display: grid; gap: 0; margin-top: auto; padding-top: 18px;
    border-top: 1px solid var(--line-d);
  }
  .nav.is-open .nav__foot a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid rgba(233,231,225,.06);
    font-size: 14.5px; color: var(--on-dark-2);
  }
  .nav.is-open .nav__foot a:last-child { border-bottom: 0; }
  .nav.is-open .nav__foot a::after { display: none; }
  .nav.is-open .nav__foot i { font-style: normal; font: 600 10px var(--f-mono); letter-spacing: .16em; color: var(--br); }
}
@keyframes navLinkIn { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .nav.is-open > a { animation: none; } }

@media (min-width: 1100px) {
  .nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
  .head__cta { display: flex; }
  .burger { display: none; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .head__msg { display: none; }
}
@media (min-width: 1100px) and (max-width: 1199px) {
  .head__phone { display: none; }
  .nav { gap: 16px; }
  .nav a { font-size: 13.5px; letter-spacing: .05em; }
}

/* ============================================================
   HERO — «от проекта к построенному объекту»
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; padding-top: var(--head-h);
  display: flex; align-items: stretch; overflow: clip;
  background: radial-gradient(130% 140% at 72% -8%, #3E5470 0%, #28394C 34%, #18222E 66%, #101720 100%);
  color: var(--on-dark);
  isolation: isolate;
}
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero.is-3d .hero__gl { opacity: 1; }
.hero.is-3d .hero__hud { display: grid; }
.hero__fallback {
  position: absolute; inset: auto 0 0 0; width: 100%; height: 76%; margin: auto; z-index: 0;
  object-fit: cover; opacity: .2; filter: saturate(.35) contrast(1.05);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%); mask-image: linear-gradient(180deg, transparent, #000 45%);
}
.hero.is-3d .hero__fallback { display: none; }
/* вуаль для читаемости */
.hero__veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,13,17,.9) 0%, rgba(10,13,17,.56) 44%, rgba(10,13,17,.04) 74%, rgba(10,13,17,.22) 100%),
    linear-gradient(0deg, rgba(10,13,17,.96) 0%, rgba(10,13,17,.24) 26%, transparent 46%);
}
.hero__inner {
  position: relative; z-index: 4;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: clamp(16px, 2.4vw, 30px); padding-bottom: clamp(18px, 2vw, 26px);
  flex: 1; min-width: 0;
}

.hero__title {
  font-family: var(--f-disp); font-weight: 800;
  font-size: clamp(41px, 8.6vw, 126px);
  line-height: .92; letter-spacing: -.028em; text-transform: uppercase;
  color: #F4F2EC; margin: auto 0 0; padding-block: clamp(20px, 4.5vh, 52px);
}
.hero__line { display: block; overflow: clip; padding-top: .14em; margin-top: -.14em; }
.hero__line-in { display: block; transform: translateY(108%); transition: transform 1.05s var(--ease); }
.hero.is-ready .hero__line-in { transform: translateY(0); }
.hero.is-ready .hero__line:nth-child(2) .hero__line-in { transition-delay: .12s; }
.hero.is-ready .hero__line:nth-child(3) .hero__line-in { transition-delay: .24s; }
.hero__line-in--br { position: relative; width: fit-content; max-width: 100%; color: #EFEFEA; }
.hero__under { position: absolute; left: 0; bottom: -.16em; width: 100%; height: clamp(6px, .12em, 12px); color: var(--br); }
.hero__under path { stroke: currentColor; stroke-width: 3.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.4s .9s var(--ease-io); }
.hero.is-ready .hero__under path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero__line-in { transform: none; transition: none; }
  .hero__under path { stroke-dashoffset: 0; transition: none; }
}

.hero__cols { display: grid; gap: clamp(18px, 2.4vw, 34px); margin-top: clamp(16px, 2.4vh, 26px); align-items: end; }
.hero__lead { margin: 0; max-width: 54ch; color: var(--on-dark-2); font-size: clamp(14.5px, 1.35vw, 16.5px); line-height: 1.66; }
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero__links { display: flex; gap: 8px; margin-left: 4px; }
.hero__links a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--on-dark-2); box-shadow: inset 0 0 0 1px var(--line-d); border-radius: 2px; transition: .25s; }
.hero__links a:hover { color: var(--br-2); box-shadow: inset 0 0 0 1px var(--br-line); transform: translateY(-2px); }

/* нижняя строка hero: HUD текущей стадии 3D — компактная панель */
.hero__hud {
  margin-top: clamp(14px, 2.4vh, 26px);
  display: none; grid-template-columns: auto minmax(0,1fr); align-items: baseline;
  gap: 2px 16px;
  max-width: min(100%, 40rem);
  padding: 12px 18px 14px;
  background: rgba(10,13,17,.58);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-d);
  border-left: 2px solid rgba(199,155,96,.65);
  border-radius: 3px;
}
.hero__hud-n {
  font-family: var(--f-mono); font-weight: 700;
  font-size: clamp(17px, 1.7vw, 21px);
  letter-spacing: .04em; line-height: 1.2;
  color: var(--br-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero__hud-t {
  font-family: var(--f-disp); font-weight: 800;
  font-size: clamp(21px, 2.4vw, 30px);
  letter-spacing: -.015em; text-transform: uppercase;
  line-height: 1.1; color: #F4F2EC;
  text-shadow: 0 8px 28px rgba(10,13,17,.55);
}
.hero__hud-t.is-swap { animation: hudIn .45s var(--ease); }
@keyframes hudIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero__hud-bar { grid-column: 1 / -1; position: relative; width: 100%; height: 2px; margin-top: 10px; background: rgba(233,231,225,.14); }
.hero__hud-bar i { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--br-2); transition: width .35s linear; }

/* информационная панель цифр — единая структура: акцент + пояснение */
.hero__marks {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px; margin: clamp(14px, 2.4vh, 26px) 0 0;
}
.hero__marks li {
  display: grid; align-content: start; gap: 5px;
  padding: 11px 14px 12px;
  background: rgba(10,13,17,.58);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--line-d);
  border-left: 2px solid rgba(199,155,96,.65);
  border-radius: 3px;
}
.hero__marks b {
  display: block;
  color: var(--br-2); font-family: var(--f-disp);
  font-size: clamp(18px, 2.1vw, 24px); font-weight: 800;
  line-height: 1.05; letter-spacing: -.01em;
  white-space: nowrap;
}
.hero__marks span {
  font-size: 12.5px; line-height: 1.4; color: rgba(233,231,225,.76);
  min-height: 2.8em;
}

/* ============================================================
   Тикер
   ============================================================ */

/* ============================================================
   Услуги — индекс работ (строки, а не карточки)
   ============================================================ */
.idx { display: grid; gap: clamp(30px, 3.4vw, 54px); align-items: start; }
.idx__rows { border-top: 1px solid var(--line-l); }
.idx__row {
  position: relative; display: grid; grid-template-columns: minmax(0,1fr);
  padding: clamp(16px, 2vw, 22px) 14px; border-bottom: 1px solid var(--line-l);
  transition: background .3s;
}
.idx__row::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--br); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.idx__row:hover { background: rgba(18,22,28,.035); }
.idx__row:hover::before { transform: scaleY(1); }
.idx__row h3 { font-family: var(--f-disp); font-size: clamp(17px, 1.9vw, 23px); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.06; margin-bottom: 8px; }
.idx__row p { margin: 0; color: var(--on-light-2); font-size: 14.5px; max-width: 74ch; }
@media (min-width: 1200px) {
  .idx { display: block; position: relative; }
  .idx .idx__side { position: absolute; right: 0; top: 0; width: 330px; }
  .idx .idx__rows { padding-right: 380px; }
}
@media (min-width: 1024px) { .idx__row h3 { padding-right: 24px; } }

.idx__side { position: relative; background: var(--ink); color: var(--on-dark-2); padding: clamp(24px, 2.4vw, 32px); border-radius: var(--r); }
.idx__side::after { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line-d); pointer-events: none; }
.idx__side-k { font: 500 10.5px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--br-2); margin: 0 0 14px; }
.idx__side h3 { color: #F2F1EC; font-family: var(--f-disp); font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.18; margin-bottom: 18px; }
.chipslist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chipslist li { font: 500 12px/1 var(--f-mono); letter-spacing: .04em; color: var(--on-dark); border: 1px solid var(--line-d); padding: 8px 12px; border-radius: 2px; transition: .25s; }
.chipslist li:hover { border-color: var(--br-line); color: var(--br-2); }

/* ============================================================
   Портфолио
   ============================================================ */
.pf .filters { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-start; }
.chip {
  font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-2); border: 1px solid var(--line-d); padding: 10px 14px; border-radius: 2px;
  transition: .25s; white-space: nowrap; cursor: pointer;
}
.chip:hover { color: #fff; border-color: rgba(233,231,225,.34); }
.chip.is-active { color: var(--ink); background: var(--br); border-color: var(--br); }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.shot {
  position: relative; grid-column: span 2; display: block; margin: 0;
  overflow: hidden; cursor: zoom-in; background: var(--steel);
  border-radius: var(--r); min-height: 220px;
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.86) contrast(1.04) brightness(.94); }
.shot:hover img, .shot:focus-visible img { transform: scale(1.055); filter: saturate(1) contrast(1.05) brightness(1); }
.shot::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  background:
    linear-gradient(var(--br), var(--br)) left top / 14px 1px no-repeat,
    linear-gradient(var(--br), var(--br)) left top / 1px 14px no-repeat,
    linear-gradient(var(--br), var(--br)) right bottom / 14px 1px no-repeat,
    linear-gradient(var(--br), var(--br)) right bottom / 1px 14px no-repeat;
  opacity: 0; transition: opacity .4s;
}
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; padding: 46px 18px 16px;
  background: linear-gradient(0deg, rgba(10,13,17,.94) 0%, rgba(10,13,17,.6) 58%, transparent 100%);
  color: var(--on-dark);
}
.shot figcaption b { display: block; font-family: var(--f-disp); font-weight: 800; font-size: clamp(15px, 1.5vw, 20px); text-transform: uppercase; letter-spacing: -.005em; line-height: 1.05; color: #F4F2EC; }
.shot figcaption > span { display: block; margin-top: 5px; font-size: 13px; color: var(--on-dark-2); }
.shot__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.shot__meta i { font: 500 9.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--br-2); border: 1px solid var(--br-line); padding: 5px 8px; border-radius: 2px; }
.shot figcaption p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.55; color: rgba(233,231,225,.5); max-width: 62ch; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .5s; }
.shot:hover figcaption p, .shot:focus-visible figcaption p { max-height: 5.5em; opacity: 1; }
.shot.is-hidden { display: none; }
.shot--example figcaption b::after { content: " ·  пример"; font: 500 9px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }

@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
  .shot { grid-column: span 2; min-height: 300px; }
  .shot--wide { grid-column: span 4; min-height: 400px; }
  .shot--tall { min-height: 420px; }
  .shot--wide:first-child { min-height: min(72svh, 640px); }
}
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 16px; }
  .shot { grid-column: span 4; min-height: 350px; }
  .shot--wide { grid-column: span 8; min-height: 480px; }
  .shot--tall { grid-column: span 4; min-height: 520px; }
  .shot--wide:first-child { min-height: min(74svh, 680px); }
  .shot figcaption { padding: 60px 26px 24px; }
}
.gallery-more { display: flex; justify-content: center; margin-top: 26px; }

/* ============================================================
   Цифры — бронзовая лента
   ============================================================ */
.band { position: relative; background: linear-gradient(118deg, #8F6C39 0%, #C89E64 30%, #E6C595 50%, #C0955C 68%, #8A6836 100%); overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 160% at 50% -60%, rgba(255,255,255,.32), transparent 60%); mix-blend-mode: soft-light; pointer-events: none; }
.band .container { position: relative; z-index: 1; }
.band__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.band__i { padding: clamp(26px, 3.4vw, 46px) clamp(16px, 1.8vw, 26px); border-left: 1px solid rgba(31,22,10,.18); }
.band__i:first-child { border-left: 0; }
.band__i dd { margin: 0; display: flex; align-items: baseline; gap: 6px; font-family: var(--f-disp); font-weight: 800; font-size: clamp(30px, 4vw, 54px); line-height: 1; letter-spacing: -.03em; color: #171004; font-variant-numeric: tabular-nums; }
.band__i dd small { font-size: .42em; font-weight: 700; letter-spacing: 0; color: #3D2C0F; }
.band__i dt { font: 500 11px/1.5 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(23,16,4,.72); margin-top: 10px; }
.band__i:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(31,22,10,.18); }
@media (min-width: 900px) {
  .band__grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .band__i, .band__i:first-child { border-left: 1px solid rgba(31,22,10,.18); }
  .band__i:first-child { border-left: 0; }
  .band__i:last-child { grid-column: auto; border-top: 0; }
}

/* ============================================================
   О компании
   ============================================================ */
.about__grid { display: grid; gap: clamp(30px, 3.6vw, 56px); align-items: start; }
.about__media { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; }
.about__media img { width: 100%; height: clamp(260px, 38vw, 520px); object-fit: cover; will-change: transform; }
.about__media figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px;
  background: linear-gradient(0deg, rgba(10,13,17,.92), transparent);
  color: var(--on-dark-2); font-size: 13.5px; display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
}
.about__media figcaption span { font: 500 10px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--br-2); }
@media (min-width: 1024px) { .about__grid { grid-template-columns: 1.05fr .95fr; } }

.tline { border-left: 1px solid var(--line-l); margin: 0 0 clamp(22px, 2.6vw, 34px) 0; }
.tline__i { position: relative; display: grid; grid-template-columns: 1fr; gap: 4px 16px; padding: 0 0 26px 22px; }
.tline__i::before { content: ""; position: absolute; left: -4.5px; top: 6px; width: 8px; height: 8px; background: var(--br); transform: rotate(45deg); }
.tline__y { font: 700 13px/1 var(--f-mono); letter-spacing: .06em; color: var(--br-3); }
.tline__i h3 { font-family: var(--f-disp); font-size: 17px; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.tline__i p { margin: 0; color: var(--on-light-2); font-size: 14.5px; }
@media (min-width: 640px) { .tline__i { grid-template-columns: 84px minmax(0,1fr); padding-left: 0; } .tline__i { margin-left: 58px; } .tline__y { text-align: right; padding-top: 2px; } }

.about__side { background: var(--lime); border: 1px solid var(--line-l); border-radius: var(--r); padding: 22px clamp(18px, 2vw, 26px); }
.about__side > p { font-size: 15.5px; color: var(--on-light); font-weight: 500; margin-bottom: 14px; }
.ticks { display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; font-size: 14px; color: var(--on-light-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 12px; height: 12px; border-left: 2px solid var(--br); border-bottom: 2px solid var(--br); transform: rotate(-45deg) translateY(-1px); }

.expert {
  margin-top: clamp(26px, 3vw, 40px); position: relative;
  background: var(--ink); color: var(--on-dark-2); border-radius: var(--r);
  padding: clamp(24px, 3vw, 40px);
  display: grid; gap: clamp(20px, 2.6vw, 38px); overflow: clip;
}
.expert__k { margin: 0 0 10px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--br-2); }
.expert__title { font-family: var(--f-disp); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(20px, 2.1vw, 28px); line-height: 1.12; color: #EFEEE9; margin: 0 0 12px; max-width: 22ch; }
.expert__text { margin: 0; max-width: 62ch; font-size: 15px; line-height: 1.62; }
.expert__facts { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; align-content: center; }
.expert__facts li { border-top: 1px solid var(--line-d); padding-top: 11px; }
.expert__facts span { display: block; font: 500 10px/1.6 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.expert__facts b { font-family: var(--f-disp); font-size: 16.5px; color: var(--br-2); text-transform: uppercase; letter-spacing: .02em; }
@media (min-width: 700px) { .expert__facts { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 22px; } }
@media (min-width: 1024px) {
  .expert { grid-template-columns: minmax(0,1fr) minmax(240px, 300px); align-items: start; }
  .expert__facts { grid-template-columns: minmax(0,1fr); border-left: 1px solid var(--line-d); padding-left: clamp(20px, 2vw, 30px); }
}

/* ============================================================
   До / после — шторка (тёмная секция)
   ============================================================ */
.ba-grid { display: grid; gap: 14px; }
.ba { margin: 0; }
.ba__box { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 9.5; background: var(--steel); touch-action: pan-y; }
.ba__box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba__before img { filter: saturate(.8) brightness(.94); }
.ba__tag { position: absolute; top: 14px; z-index: 3; font: 500 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(10,13,17,.66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 8px 12px; border-radius: 2px; }
.ba__tag--l { left: 14px; border-left: 2px solid var(--on-dark-2); }
.ba__tag--r { right: 14px; border-left: 2px solid var(--br); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #F2F1EC; z-index: 2; transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 24px rgba(0,0,0,.5); }
.ba__handle i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border: 1px solid #F2F1EC; border-radius: 50%; background: rgba(10,13,17,.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ba__handle i::before, .ba__handle i::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-top: 1.6px solid #fff; border-left: 1.6px solid #fff; }
.ba__handle i::before { left: 10px; transform: translateY(-50%) rotate(-45deg); }
.ba__handle i::after { right: 10px; transform: translateY(-50%) rotate(135deg); }
.ba__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; opacity: 0; cursor: col-resize; margin: 0; }
.ba__cap { margin: 12px 0 0; font: 500 11px/1.5 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); display: flex; align-items: center; gap: 10px; }
.ba__cap::before { content: ""; width: 18px; height: 1px; background: var(--br); flex: none; }
@media (min-width: 1024px) {
  .ba-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ba--hero { grid-column: 1 / -1; }
  .ba--hero .ba__box { aspect-ratio: 21 / 8.2; }
}

/* ============================================================
   Генподрядчикам — deep navy
   ============================================================ */
.sec--gc { background: linear-gradient(180deg, #0F1622 0%, #101927 46%, #0C1119 100%); }
/* единый hero страницы «Генподрядчикам» — заменяет pagehead + дублирующий блок */
.sec--gc-hero {
  background:
    radial-gradient(120% 130% at 82% 0%, #1C2534 0%, rgba(19,25,35,0) 56%),
    linear-gradient(180deg, #0F1622 0%, #101927 46%, #0C1119 100%);
  padding-top: calc(var(--head-h) + clamp(34px, 4.8vw, 64px));
  padding-bottom: clamp(32px, 3.6vw, 54px);
}
.sec--gc-hero .sec__title { font-size: clamp(32px, 5.4vw, 66px); }
.gc__head { align-items: start; margin-bottom: clamp(22px, 2.5vw, 36px); }
.gc__rail { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 20px; max-width: 680px; }
.gc__rail a { font: 500 10px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); transition: color .25s; }
.gc__rail a:hover { color: var(--br-2); }
.gc__rail span { color: rgba(233,231,225,.22); font: 400 10px/1.4 var(--f-mono); }
.gc__acts { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (min-width: 1024px) { .gc__acts { align-items: stretch; } .gc__acts .btn { width: 100%; } }
.gc__conn { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 13.5px; }
.gc__conn a { color: var(--on-dark); border-bottom: 1px solid transparent; transition: .25s; }
.gc__conn a:hover { color: var(--br-2); border-bottom-color: var(--br-line); }
.gc__conn span { color: rgba(233,231,225,.25); }

.gc__caps { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line-d); margin-bottom: clamp(24px, 2.8vw, 38px); }
.gc__cap { padding: clamp(18px, 2.2vw, 30px) clamp(12px, 1.4vw, 22px); border-bottom: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.gc__cap:nth-child(2n+1) { border-left: 0; }
.gc__cap b { display: flex; align-items: baseline; gap: 6px; font-family: var(--f-disp); font-weight: 800; font-size: clamp(26px, 3.4vw, 44px); letter-spacing: -.02em; color: #F2F1EC; line-height: 1; }
.gc__cap b small { font-size: .4em; color: var(--br-2); font-weight: 700; letter-spacing: 0; }
.gc__cap span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--on-dark-2); }
@media (min-width: 900px) {
  .gc__caps { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .gc__cap { border-left: 1px solid var(--line-d); }
  .gc__cap:first-child { border-left: 0; }
}

.gc__body { display: grid; gap: clamp(26px, 3vw, 48px); align-items: start; }
.gc__copy h3 { font-family: var(--f-disp); font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; text-transform: uppercase; line-height: 1.08; letter-spacing: -.015em; margin-bottom: 14px; }
.gc__copy p { color: var(--on-dark-2); font-size: 15px; max-width: 44ch; margin-bottom: 18px; }
.gc__list { display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.gc__list li { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 3px 16px; padding: 17px 10px; border-bottom: 1px solid var(--line-d); transition: background .3s; }
.gc__list li:hover { background: rgba(233,231,225,.03); }
.gc__list i { font: 500 12px/1.5 var(--f-mono); color: var(--br); letter-spacing: .06em; }
.gc__list b { font-family: var(--f-disp); font-weight: 700; font-size: 15.5px; letter-spacing: 0; color: #F2F1EC; text-transform: uppercase; }
.gc__list li span { grid-column: 2; font-size: 13.5px; line-height: 1.55; color: var(--on-dark-2); }
@media (min-width: 1200px) { .gc__body { grid-template-columns: 380px minmax(0,1fr); } .gc__copy { position: sticky; top: calc(var(--head-h) + 28px); } }

/* ---------- Объёмы и расценки ---------- */
.vol { display: grid; gap: clamp(28px, 3.6vw, 64px); align-items: start; }
.vol__intro p { margin: 0 0 16px; font-size: clamp(15px, 1.45vw, 17px); line-height: 1.7; color: var(--on-light-2); max-width: 44ch; }
.vol__calc { padding: 16px 0 4px; border-top: 1px solid var(--line-l); }
.vol__calc b { color: var(--on-light); }
.vol__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 18px; }
.vol__table { border-top: 2px solid rgba(18,22,28,.82); }
.vol__head { display: flex; justify-content: space-between; gap: 20px; padding: 10px 2px 9px; font: 600 9.5px/1.4 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.vol__row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 6px 24px; padding: 13px 2px; border-top: 1px solid var(--line-l); transition: background .25s; }
.vol__row:hover { background: rgba(18,22,28,.03); }
.vol__row b { font-family: var(--f-disp); font-size: clamp(14.5px, 1.25vw, 16.5px); font-weight: 700; text-transform: uppercase; letter-spacing: -.005em; color: var(--on-light); }
.vol__row small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.vol__row i { font: 600 12.5px/1 var(--f-mono); font-style: normal; letter-spacing: .04em; color: var(--br-3); white-space: nowrap; }
@media (min-width: 1024px) { .vol { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); } .vol__table { position: relative; top: -6px; } }

/* ---------- Ресурсы ---------- */
.res__ph { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; }
.res__ph img { width: 100%; height: clamp(180px, 22vw, 300px); object-fit: cover; }
.res__ph figcaption { position: absolute; inset: auto 0 0 0; padding: 34px 16px 12px; background: linear-gradient(0deg, rgba(10,13,17,.85), transparent); font: 500 10.5px/1.5 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.res { display: grid; gap: 26px; }
.res__c { border-top: 2px solid var(--on-light); padding-top: 18px; }
.res__c:nth-child(2) { border-top-color: var(--br); }
.res__k { margin: 0 0 14px; font-family: var(--f-disp); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: .01em; color: var(--on-light); }
.res__c ul { display: grid; gap: 0; }
.res__c li { padding: 10px 0; border-bottom: 1px solid var(--line-l); font-size: 14px; color: var(--on-light-2); }
.res__c li:last-child { border-bottom: 0; }
@media (min-width: 900px) { .res { grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(26px, 3vw, 50px); } }

/* ---------- Доверие + документы ---------- */
.trust { display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.tr { position: relative; padding: clamp(16px, 2vw, 24px) 12px clamp(16px, 2vw, 24px) 0; border-bottom: 1px solid var(--line-l); }
.tr h3 { font-family: var(--f-disp); font-size: clamp(16px, 1.8vw, 21px); font-weight: 700; text-transform: uppercase; margin-bottom: 7px; }
.tr p { margin: 0; color: var(--on-light-2); font-size: 14.5px; max-width: 92ch; }
@media (min-width: 960px) {
  .trust { grid-template-columns: 1fr 1fr; column-gap: clamp(26px, 3.4vw, 58px); }
  .tr:last-child { grid-column: 1 / -1; }
}

.docs { margin-top: clamp(26px, 3vw, 42px); background: var(--ink); border-radius: var(--r); padding: clamp(24px, 3vw, 44px); color: var(--on-dark-2); display: grid; gap: clamp(22px, 2.6vw, 40px); }
.docs__intro h3 { color: #F2F1EC; font-family: var(--f-disp); font-size: clamp(19px, 2.2vw, 27px); font-weight: 800; text-transform: uppercase; line-height: 1.1; margin-bottom: 12px; }
.docs__intro p { font-size: 14.5px; max-width: 46ch; }
.docs__list { display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.docs__list li { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 4px 18px; padding: 15px 0; border-bottom: 1px solid var(--line-d); }
.docs__list span { grid-column: 1; font: 500 10px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--br-2); }
.docs__list b { grid-column: 1; font-size: 15px; color: #EFEEE9; font-weight: 600; }
.docs__list .lnk { grid-column: 1 / -1; font-size: 13.5px; }
@media (min-width: 760px) { .docs { grid-template-columns: .9fr 1.1fr; align-items: center; } .docs__list .lnk { grid-column: 2; } }

/* ---------- График ---------- */
.terms { display: grid; gap: 22px; counter-reset: tm; }
.terms__i { position: relative; padding: 22px 4px 20px; border-bottom: 1px solid var(--line-l); transition: transform .35s var(--ease); }
.terms__i b { display: block; font-family: var(--f-disp); font-weight: 700; font-size: clamp(16px, 1.7vw, 20px); text-transform: uppercase; color: var(--on-light); margin-bottom: 10px; }
.terms__i p { margin: 0; font-size: 14px; color: var(--on-light-2); max-width: 52ch; }
@media (min-width: 960px) { .terms { grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 30px); } }

/* ============================================================
   ВОР + анкета
   ============================================================ */
.sec--vor { background: linear-gradient(180deg, #0E1420 0%, #131B29 52%, #0D121B 100%); color: var(--on-dark); }
.sec--vor::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(var(--line-d2) 1px, transparent 1px) 0 0 / 100% 88px,
    linear-gradient(90deg, var(--line-d2) 1px, transparent 1px) 0 0 / 88px 100%;
  -webkit-mask-image: radial-gradient(90% 80% at 18% 20%, #000 0, transparent 72%);
  mask-image: radial-gradient(90% 80% at 18% 20%, #000 0, transparent 72%);
}
.vor { display: grid; gap: clamp(30px, 3.6vw, 56px); align-items: start; }
.vor__l .sec__title { max-width: 20ch; }
.vor__lead { color: var(--on-dark-2); font-size: 15.5px; max-width: 62ch; margin-bottom: 26px; }
.ways { display: grid; gap: 10px; }
.way {
  display: grid; grid-template-columns: 46px minmax(0,1fr) 20px; align-items: center; gap: 14px;
  padding: 15px 18px; border: 1px solid var(--line-d); border-radius: var(--r);
  background: rgba(233,231,225,.028); transition: .3s var(--ease); color: var(--on-dark);
}
.way__i { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--br-line); color: var(--br-2); border-radius: 2px; }
.way__t b { display: block; font-size: 15px; font-weight: 700; }
.way__t small { display: block; font: 500 11.5px/1.5 var(--f-mono); color: var(--on-dark-2); }
.way > i { font-style: normal; color: var(--on-dark-2); transition: transform .3s var(--ease), color .3s; justify-self: end; }
.way:hover { border-color: var(--br-line); background: rgba(199,155,96,.06); transform: translateY(-2px); }
.way:hover > i { color: var(--br-2); transform: translateX(4px); }
@media (min-width: 640px) { .ways { grid-template-columns: 1fr 1fr; } }
.vor__note { margin-top: 18px; font: 500 11.5px/1.7 var(--f-mono); letter-spacing: .04em; color: rgba(233,231,225,.45); }

/* форма-терминал */
.quiz { position: relative; background: rgba(9,12,17,.66); border: 1px solid var(--line-d); border-radius: var(--r); padding: clamp(22px, 2.6vw, 36px); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.quiz__k { margin: 0 0 10px; font: 500 10px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--br-2); }
.quiz > h3 { color: #F2F1EC; font-family: var(--f-disp); font-weight: 800; font-size: clamp(19px, 2vw, 26px); text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; margin-bottom: 20px; }
.quiz__progress { position: relative; height: 2px; background: var(--line-d); margin: -8px 0 18px; }
.quiz__progress i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--br-3), var(--br-2)); transition: width .4s var(--ease); }
.qstep { display: none; border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.qstep.is-active { display: block; animation: qin .45s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateY(10px); } }
.qstep legend { display: flex; flex-direction: column; gap: 7px; padding: 0; margin-bottom: 6px; font-weight: 700; font-size: 17px; color: #F2F1EC; }
.qstep legend .qstep__n { font: 500 10px/1 var(--f-mono); letter-spacing: .16em; color: var(--on-dark-2); text-transform: uppercase; }
.qstep__hint { margin: 0 0 14px; font: 500 11.5px/1.5 var(--f-mono); color: var(--on-dark-2); }
.opts { display: grid; gap: 8px; margin-bottom: 18px; }
.opts--multi { grid-template-columns: 1fr; }
@media (min-width: 560px) { .opts--multi { grid-template-columns: 1fr 1fr; } }
.opts--row { grid-auto-flow: column; grid-auto-columns: 1fr; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.opt > span {
  display: block; padding: 13px 15px; border: 1px solid var(--line-d); border-radius: 2px;
  font-size: 13.5px; color: var(--on-dark); background: rgba(233,231,225,.03);
  transition: .25s; user-select: none;
}
.opt:hover > span { border-color: rgba(233,231,225,.34); }
.opt input:checked + span { border-color: var(--br); background: rgba(199,155,96,.13); color: #F5E9D8; box-shadow: inset 2px 0 0 var(--br); }
.opt input:focus-visible + span { outline: 2px solid var(--br); outline-offset: 2px; }
.fields { display: grid; gap: 12px; margin-bottom: 16px; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.field > span i { font-style: normal; color: rgba(233,231,225,.35); }
.field input, .field textarea {
  width: 100%; background: rgba(9,12,17,.6); border: 1px solid var(--line-d); border-radius: 2px;
  padding: 13px 14px; font-size: 14.5px; color: #F2F1EC; transition: border-color .25s, box-shadow .25s;
  appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(233,231,225,.32); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--br); box-shadow: 0 0 0 3px rgba(199,155,96,.16); }
.field textarea { resize: vertical; min-height: 64px; }
.is-err > span, .is-err > input, .is-err > textarea { color: #E8A08A; border-color: rgba(224,128,102,.6); }
.agree { display: flex; gap: 11px; align-items: flex-start; font-size: 12px; color: var(--on-dark-2); margin: 4px 0 18px; cursor: pointer; }
.agree input { margin-top: 3px; accent-color: var(--br); width: 15px; height: 15px; }
.agree a { text-decoration: underline; text-underline-offset: 2px; color: var(--br-2); }
.agree.is-err { color: #E8A08A; }
.qnav { display: flex; gap: 10px; }
.qnav .btn { flex: none; }
.qdone { text-align: left; animation: qin .5s var(--ease); }
.qdone__ico { display: inline-grid; place-items: center; width: 64px; height: 64px; color: var(--br-2); background: var(--br-dim); border-radius: 50%; margin-bottom: 16px; }
.qdone h3 { font-family: var(--f-disp); font-weight: 800; text-transform: uppercase; font-size: 24px; color: #F2F1EC; margin-bottom: 8px; }
.qdone p { color: var(--on-dark-2); font-size: 14px; margin-bottom: 16px; }
.qdone__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.qdone__pre { white-space: pre-wrap; font: 12px/1.6 var(--f-mono); color: var(--on-dark-2); background: rgba(9,12,17,.6); border: 1px dashed var(--line-d); padding: 14px 16px; border-radius: 2px; margin: 0; max-height: 220px; overflow: auto; }
@media (min-width: 1080px) { .vor { grid-template-columns: minmax(0,1fr) minmax(420px, 560px); } }

/* ============================================================
   Процесс — 5 шагов линией
   ============================================================ */
.flow { position: relative; counter-reset: fl; display: grid; gap: 24px; margin: 0; padding: 0; }
.flow::before { content: ""; position: absolute; inset: 31px 10% auto 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-l) 8%, var(--line-l) 92%, transparent); display: none; }
.flow__i { position: relative; padding: 74px 8px 0; counter-increment: fl; }
.flow__i i { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 62px; height: 62px; background: var(--paper); border: 1px solid var(--line-l); border-radius: 2px; font: 500 14px/1 var(--f-mono); color: var(--br-3); transition: .35s var(--ease); }
.flow__i h3 { font-family: var(--f-disp); font-weight: 700; font-size: 18px; text-transform: uppercase; margin-bottom: 8px; }
.flow__i p { margin: 0; font-size: 14px; color: var(--on-light-2); }
.flow__i:hover i { border-color: var(--br); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18,22,28,.12); }
@media (min-width: 1024px) {
  .flow { grid-template-columns: repeat(5, minmax(0,1fr)); gap: clamp(14px, 2vw, 30px); }
  .flow::before { display: block; }
}

/* ============================================================
   Контакты
   ============================================================ */
.con { display: grid; gap: clamp(30px, 4vw, 64px); align-items: start; }
.con__lead { color: var(--on-dark-2); font-size: 15.5px; max-width: 52ch; margin-bottom: 26px; }
.con__phone a { display: inline-block; font-family: var(--f-disp); font-weight: 800; font-size: clamp(30px, 5.4vw, 58px); letter-spacing: -.02em; color: #F4F2EC; line-height: 1; transition: color .3s; }
.con__phone a:hover { color: var(--br-2); }
.con__phone span { display: block; margin-top: 8px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(233,231,225,.4); }
.chans { display: grid; gap: 0; margin: 26px 0 30px; border-top: 1px solid var(--line-d); }
.chan { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 16px 4px; border-bottom: 1px solid var(--line-d); transition: padding .3s var(--ease), background .3s; position: relative; }
.chan b { font-size: 16px; color: #EFEEE9; font-weight: 600; }
.chan span { font: 500 11.5px/1 var(--f-mono); color: var(--on-dark-2); }
.chan::after { content: "→"; position: absolute; right: -26px; color: var(--br); opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); }
.chan:hover { padding-right: 30px; background: rgba(233,231,225,.03); }
.chan:hover::after { opacity: 1; transform: none; }
.con__req { border: 1px solid var(--line-d); border-radius: var(--r); padding: clamp(20px, 2.4vw, 30px); background: rgba(233,231,225,.025); }
.con__req-k { margin: 0 0 16px; font: 500 10px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--br-2); }
.con__req dl { margin: 0; display: grid; gap: 0; }
.con__req dl > div { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-d); }
.con__req dt { font: 500 10.5px/1.6 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.con__req dd { margin: 0; font-size: 14px; color: #EFEEE9; }
@media (min-width: 1024px) { .con { grid-template-columns: minmax(0,1.25fr) minmax(340px, .75fr); } }

/* ============================================================
   Футер
   ============================================================ */
.foot { background: #080B0E; border-top: 1px solid var(--line-d); color: var(--on-dark-2); }
.foot__top { display: grid; gap: 28px; padding-block: clamp(30px, 3.4vw, 48px); }
.foot__logo { font-family: var(--f-disp); font-weight: 800; font-size: 22px; letter-spacing: .04em; color: #F2F1EC; margin: 0 0 10px; }
.foot__brand p:last-child { max-width: 34ch; font-size: 13.5px; }
.foot__nav h4, .foot__c h4 { font: 500 10px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--br-2); margin-bottom: 14px; }
.foot__nav a, .foot__c a { display: block; font-size: 14px; color: var(--on-dark-2); padding: 5px 0; transition: color .25s, transform .25s var(--ease); width: fit-content; }
.foot__nav a:hover, .foot__c a:hover { color: #fff; transform: translateX(3px); }
.foot__bot { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; padding-block: 20px 24px; border-top: 1px solid var(--line-d); font: 500 11.5px/1.6 var(--f-mono); color: rgba(233,231,225,.4); }
.foot__bot a { text-decoration: underline; text-underline-offset: 3px; }
.foot__bot a:hover { color: var(--br-2); }
@media (min-width: 900px) { .foot__top { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ============================================================
   Мобильная док-панель
   ============================================================ */
.dock { display: none; }
.dock__i svg { width: 16px; height: 16px; }
@media (max-width: 899px) {
  body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
  .dock {
    position: fixed; inset: auto 0 0 0; z-index: 66;
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: rgba(10,13,17,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-d); padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  }
  .dock__i { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 2px 4px; border-radius: 2px; color: var(--on-dark-2); font: 500 7.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; transition: .25s; }
  .dock__i:active { transform: scale(.96); }
  .dock__i--cta { color: #171004; background: linear-gradient(135deg, #E8CB9B, #C79B60); }
}

/* ============================================================
   Лайтбокс
   ============================================================ */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(6,8,11,.96); display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; justify-items: center; padding: 20px 12px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; max-width: min(1200px, 94vw); text-align: center; grid-column: 2; grid-row: 1; }
.lb__fig img { max-width: 100%; max-height: 78svh; margin-inline: auto; border-radius: 2px; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lb__fig figcaption { margin-top: 14px; font: 500 11.5px/1.6 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.lb__close { position: absolute; top: 12px; right: 14px; width: 46px; height: 46px; font-size: 30px; line-height: 1; color: #fff; opacity: .75; transition: .25s; border: 1px solid var(--line-d); border-radius: 2px; }
.lb__close:hover { opacity: 1; transform: rotate(90deg); border-color: var(--br-line); }
.lb__nav { width: 52px; height: 84px; font-size: 40px; color: #fff; opacity: .55; transition: .25s; grid-row: 1; }
.lb__nav--prev { grid-column: 1; justify-self: start; }
.lb__nav--next { grid-column: 3; justify-self: end; }
.lb__fig { grid-column: 2; grid-row: 1; }
.lb__nav:hover { opacity: 1; color: var(--br-2); }

/* ============================================================
   Legal (privacy)
   ============================================================ */
.sec--legal { background: var(--paper); padding-block: clamp(88px, 12vh, 140px) clamp(48px, 6vw, 84px); }
.legal { color: var(--on-light-2); }
.legal h1, .legal__h1 { font-family: var(--f-disp); font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 3.6vw, 42px); line-height: 1.02; letter-spacing: -.02em; color: var(--on-light); margin: 0 0 12px; }
.legal__meta { font: 500 12px/1.6 var(--f-mono); color: var(--muted); margin-bottom: 34px; }
.legal h2 { font-family: var(--f-disp); font-size: 20px; font-weight: 700; text-transform: uppercase; margin: 34px 0 10px; color: var(--on-light); }
.legal p, .legal li { font-size: 15px; }
.legal a { color: var(--br-3); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--br); }
.legal__list { list-style: none; margin: 0 0 14px; padding: 0; }
.legal__list li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.legal__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1.6px; background: var(--br); }
.legal__back { margin-top: 34px; }

/* ============================================================
   Hero — адаптив и десктоп-сетка
   ============================================================ */
@media (min-width: 1024px) {
  :root { --head-h: 86px; }
  /* заголовок компактнее (~-17%) — правая часть кадра со сценой читается лучше */
  .hero__title { font-size: clamp(56px, 7.1vw, 104px); padding-top: clamp(40px, 9vh, 110px); max-width: 13.2ch; }
  .hero__cols { grid-template-columns: minmax(0, 560px) minmax(0, auto); max-width: 62%; }
  .hero__marks { grid-template-columns: repeat(4, minmax(0,1fr)); }
  /* desktop: плотная левая вуаль — заголовок в своей чистой зоне, сцена читается справа */
  .hero__veil { background:
      linear-gradient(90deg, rgba(10,13,17,.95) 0%, rgba(10,13,17,.86) 34%, rgba(10,13,17,.5) 50%, rgba(10,13,17,.12) 64%, rgba(10,13,17,0) 76%, rgba(10,13,17,.1) 100%),
      linear-gradient(0deg, rgba(10,13,17,.92) 0%, rgba(10,13,17,.22) 26%, transparent 46%); }
  .head__inner { min-height: var(--head-h); }
}
@media (min-width: 1400px) {
  .hero__title { font-size: clamp(80px, 6.3vw, 108px); }
}
/* мобильный hero: сцена — «задник», текст сверху */
@media (max-width: 1023px) {
  .hero { min-height: 100svh; }
  .hero__gl { top: 34%; height: 66%; }
  .hero__veil { background:
      linear-gradient(90deg, rgba(10,13,17,.62) 0%, rgba(10,13,17,.24) 58%, rgba(10,13,17,0) 100%),
      linear-gradient(0deg, rgba(10,13,17,.78) 4%, rgba(10,13,17,.05) 30%, rgba(10,13,17,.12) 62%, rgba(10,13,17,.5) 100%); }
  .hero__gl { top: 0; height: 100%; }
  .hero__lead { text-shadow: 0 1px 14px rgba(10,13,17,.8); }
  .hero__title { padding-top: clamp(52px, 11vh, 96px); }
  .hero__acts .btn { width: 100%; }
  .hero__hud { max-width: 100%; padding: 10px 14px 12px; }
  .hero__marks { gap: 8px; }
  .hero__marks li { padding: 10px 12px 11px; }
  .hero__marks span { font-size: 12px; }
}
@media (max-width: 639px) {
  .hero { align-items: start; }
  .hero__hud-n { font-size: clamp(16px, 4.4vw, 19px); }
  .hero__hud-t { font-size: clamp(19px, 5.6vw, 26px); }
  .sec { padding-block: clamp(36px, 8.4vw, 50px); }
  .band__i { padding: 20px 14px; }
}

/* ---------- планшет/мелочи раскладки ---------- */
@media (max-width: 1023px) {
  .pf .filters { margin-top: 6px; }
}
@media (max-width: 639px) {
  .gallery { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .shot, .shot--wide, .shot--tall { grid-column: auto; min-height: 300px; }
  .shot--wide:first-child { min-height: 380px; }
  .shot figcaption p { max-height: 5.5em; opacity: .9; }
  .ways { grid-template-columns: 1fr; }
  .gc__acts { flex-direction: column; }
  .quiz { padding: 18px 16px; }
  .hero__links { width: 100%; }
  .hero__links a { flex: 1; }
}

/* ---------- крупные тач-устройства ---------- */
@media (hover: none) {
  .shot figcaption p { max-height: 5.5em; opacity: .9; }
  .btn:active { transform: translateY(1px); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- доп.: якоря под фикс-шапкой, утилиты ---------- */
section[id], main[id] { scroll-margin-top: calc(var(--head-h) + 12px); }
::selection { background: rgba(199,155,96,.35); color: inherit; }
body.menu-open-nav { overflow: hidden; }

/* ============================================================
   Многостраничность: шапка внутренних, pagehead, крупные входы
   ============================================================ */
.page .head, .head.is-page {
  background: rgba(11,14,18,.92);
  border-bottom-color: var(--line-d);
}

.pagehead {
  position: relative;
  background: radial-gradient(120% 130% at 82% 100%, #1B2431 0%, #131923 40%, #0D1117 100%);
  color: var(--on-dark);
  padding: calc(var(--head-h) + clamp(36px, 5vw, 64px)) 0 clamp(40px, 5.4vw, 72px);
  overflow: clip;
}
.pagehead::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background:
    linear-gradient(var(--line-d2) 1px, transparent 1px) 0 0 / 100% 88px,
    linear-gradient(90deg, var(--line-d2) 1px, transparent 1px) 0 0 / 88px 100%;
}
.pagehead .container { position: relative; z-index: 1; }
.pagehead h1 {
  font-family: var(--f-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(34px, 6vw, 72px); letter-spacing: -.025em; line-height: .98;
  color: #F4F2EC; margin: 0 0 16px; max-width: 16ch;
}
.pagehead__lead { margin: 0; max-width: 58ch; color: var(--on-dark-2); font-size: clamp(15px, 1.5vw, 17.5px); }

.gates {
  background: #0A0D11;
  border-top: 1px solid var(--line-d);
  color: var(--on-dark);
}
.gates .container { padding-inline: 0; max-width: 1440px; }
@media (min-width: 1440px) {
  .gates .container { padding-inline: var(--pad); }
}
.gates__grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-d);
}
.gate {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 9px;
  padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 36px) clamp(20px, 2.4vw, 32px);
  border-bottom: 1px solid var(--line-d);
  color: var(--on-dark);
  transition: background .35s var(--ease);
  overflow: hidden;
}
.gate::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--br); transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease);
}
.gate__n {
  font: 500 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--br-2);
}
.gate h2 {
  font-family: var(--f-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(24px, 3.2vw, 38px); letter-spacing: -.02em; line-height: .98;
  color: #F4F2EC; margin: 0;
}
.gate p { margin: 0; max-width: 40ch; color: var(--on-dark-2); font-size: 15.5px; line-height: 1.5; }
.gate__go {
  margin-top: 8px; padding-top: 12px;
  border-top: 1px solid rgba(233,231,225,.1);
  width: 100%;
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--br-2);
}
.gate__go i { font-style: normal; transition: transform .3s var(--ease); }
.gate:hover { background: rgba(199,155,96,.07); }
.gate:hover::before { transform: scaleY(1); }
.gate:hover .gate__go { color: var(--br); }
.gate:hover .gate__go i { transform: translateX(6px); }
@media (min-width: 900px) {
  .gates__grid { grid-template-columns: 1fr 1fr; }
  .gate { border-right: 1px solid var(--line-d); }
  .gate:nth-child(2n) { border-right: 0; }
}

.home-svc .idx__side { display: none; }
.home-svc .idx { display: block; }
.home-svc .idx .idx__rows { padding-right: 0; }
.home-more { margin-top: 28px; }

.pf--tease .gallery { margin-bottom: 8px; }
.gc--tease .gc__list, .gc--tease .gc__rail { display: none; }
.gc--tease .gc__body { grid-template-columns: 1fr; }
.gc--tease .gc__copy { position: static; max-width: 62ch; }

.con--tease .con__req { display: none; }
@media (min-width: 1024px) { .con--tease.con { grid-template-columns: 1fr; } }

.head__cta .btn--sm { padding: 13px 18px; font-size: 13.5px; }

/* Услуги на главной — сетка карточек из fc60217 (1 → 2 → 4 колонки) */
.svc { display: grid; gap: clamp(16px, 1.6vw, 22px); align-items: start; }
.svc__grid { display: grid; gap: clamp(12px, 1.1vw, 18px); grid-template-columns: minmax(0,1fr); }
@media (min-width: 640px) { .svc__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .svc__grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.svc__card {
  position: relative; display: flex; flex-direction: column; gap: 11px;
  height: 100%;
  padding: clamp(18px, 1.5vw, 22px);
  background: rgba(255,255,255,.5);
  border: 1px solid var(--line-l2); border-radius: var(--r);
  transition: transform .38s var(--ease), box-shadow .38s var(--ease),
              background .38s var(--ease), border-color .38s var(--ease);
}
.svc__card::before {
  content: ""; position: absolute; left: -1px; top: -1px; height: 2px; width: 0;
  background: var(--br); transition: width .5s var(--ease);
}
.svc__card:hover {
  transform: translateY(-4px);
  background: #FFFDF8;
  border-color: rgba(18,22,28,.16);
  box-shadow: 0 20px 44px -30px rgba(16,20,26,.6);
}
.svc__card:hover::before { width: calc(100% + 2px); }
.svc__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc__ico-wrap {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  border: 1px solid var(--br-line); border-radius: var(--r);
  color: var(--br-3); background: rgba(199,155,96,.08);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.svc__ico {
  width: 22px; height: 22px; color: inherit;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.svc__card:hover .svc__ico-wrap { color: var(--br); border-color: var(--br); }
.svc__card h3 {
  font-family: var(--f-disp); font-size: clamp(16px, 1.15vw, 18px); font-weight: 700;
  text-transform: uppercase; letter-spacing: -.005em; line-height: 1.14;
}
.svc__card p { margin: 0; color: var(--on-light-2); font-size: 14px; line-height: 1.55; }
.svc__ico {
  width: 22px; height: 22px; color: inherit;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.svc__card:hover .svc__ico-wrap { color: var(--br); border-color: var(--br); }
.svc__card h3 {
  font-family: var(--f-disp); font-size: clamp(16px, 1.15vw, 18px); font-weight: 700;
  text-transform: uppercase; letter-spacing: -.005em; line-height: 1.14;
}
.svc__card p { margin: 0; color: var(--on-light-2); font-size: 14px; line-height: 1.55; }
