/* =====================================================================
   ПЕРВАЯ МКП — публичный сайт, редакция 3 (октябрь 2026)
   Визуальный язык Сбера: зелёный и лайм, крупные скругления, светлые
   «листы» на тёмной основе, стекло и спокойная инженерная графика.
   Кабинет и вход используют base.css + ui.css и здесь не затронуты.
   ===================================================================== */

.site {
  --bg: #0A0F0B;
  --bg-2: #0E1510;
  --surface: #131B15;
  --surface-2: #19231B;
  --line: #FFFFFF14;
  --line-2: #FFFFFF24;
  --text: #F2F5F0;
  --text-2: #B3C0B5;
  --text-3: #7E8D81;
  --green: #21A038;
  --green-2: #29B544;
  --green-deep: #13782A;
  --lime: #C6E832;
  --grad: linear-gradient(95deg, #21A038 0%, #58BE3A 48%, #C6E832 100%);
  --grad-ink: linear-gradient(95deg, #168C31 0%, #3BA332 55%, #7FAE15 100%);
  --light-bg: #EEF2ED;
  --light-line: #DCE3DA;
  --ink: #111712;
  --ink-2: #4A574D;
  --ink-3: #7A867D;
  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --container: 1480px;
  --gutter: clamp(18px, 4vw, 64px);
  --header-h: 88px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  font-family: var(--font-body);
}
.site [hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.site section, .site details, .site article { scroll-margin-top: 104px; }
.site .mono { font-size: 11.5px; letter-spacing: .1em; }

.skip-link { position: fixed; left: 20px; top: -80px; z-index: 2000; padding: 14px 18px; border-radius: 12px; color: #102213; background: var(--lime); font-weight: 600; }
.skip-link:focus { top: 14px; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1001; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

.pulse-dot { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 #C6E83299; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 #C6E83288; } 70%, 100% { box-shadow: 0 0 0 9px #C6E83200; } }

/* ---------- Типографика ---------- */
.sec-title {
  font-size: clamp(36px, 5vw, 78px);
  font-weight: 600;
  letter-spacing: -.047em;
  line-height: 1.02;
  color: var(--text);
  text-wrap: balance;
}
.sec-title em, .hero__title em, .film__title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.sec-text { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.65; color: var(--text-2); max-width: 560px; }
.sec-title + .sec-text { margin-top: 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 8px 15px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #FFFFFF08;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px #21A038aa; }

.text-link { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); color: var(--text); font-size: 15px; font-weight: 500; transition: color .25s, border-color .25s, gap .35s var(--ease); }
.text-link:hover { color: var(--lime); border-color: var(--lime); gap: 18px; }

/* Разбивка заголовков на слова для появления «из-под маски». */
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .02em .14em; margin: -.08em -.02em -.14em; }
.split-w > span { display: inline-block; transform: translateY(0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 45ms); }
html.js [data-split]:not(.is-in) .split-w > span { transform: translateY(108%); }

/* ---------- Появление ---------- */
html.js [data-reveal] { transition: opacity 1s var(--ease), transform 1.1s var(--ease), clip-path 1.3s var(--ease); }
html.js [data-reveal].reveal-pending:not(.is-in) { opacity: 0; transform: translateY(34px); }
html.js [data-reveal="scale"].reveal-pending:not(.is-in) { opacity: 0; transform: translateY(40px) scale(.94); }
html.js [data-reveal="clip"] { opacity: 1; }
html.js [data-reveal="clip"] .project-card__image,
html.js [data-reveal="clip"] .field-photo__image { transition: clip-path 1.4s var(--ease), transform 1.4s var(--ease); }
html.js [data-reveal="clip"].reveal-pending:not(.is-in) { opacity: 1; transform: none; }
html.js [data-reveal="clip"].reveal-pending:not(.is-in) .project-card__image,
html.js [data-reveal="clip"].reveal-pending:not(.is-in) .field-photo__image { clip-path: inset(14% 10% 0 10% round var(--r-lg)); transform: translateY(40px); }
html.js [data-reveal="clip"].reveal-pending:not(.is-in) .project-card__body,
html.js [data-reveal="clip"].reveal-pending:not(.is-in) > p { opacity: 0; transform: translateY(20px); }
html.js [data-reveal="clip"] .project-card__body,
html.js [data-reveal="clip"] > p { transition: opacity .9s var(--ease) .25s, transform 1s var(--ease) .25s; }

/* ---------- Кнопки ---------- */
.site .btn { --btn-h: 54px; --btn-px: 24px; border-radius: var(--r-sm); font-size: 15px; font-weight: 600; letter-spacing: -.01em; gap: 12px; }
.site .btn--md { --btn-h: 46px; --btn-px: 18px; font-size: 14px; border-radius: 13px; }
.site .btn--sm { --btn-h: 38px; --btn-px: 14px; font-size: 13px; border-radius: 11px; }
.site .btn--lg { --btn-h: 62px; --btn-px: 28px; font-size: 16px; border-radius: 17px; }
.site .btn-primary { background: var(--green); color: #fff; box-shadow: inset 0 1px 0 #FFFFFF2E, 0 10px 30px -14px #21A038; }
.site .btn-primary::before { background: linear-gradient(100deg, transparent 20%, #FFFFFF38 50%, transparent 80%); }
.site .btn-primary:hover { background: var(--green-2); box-shadow: inset 0 1px 0 #FFFFFF38, 0 16px 40px -12px #21A038cc; }
.btn-glass { background: #FFFFFF0D; color: var(--text); border-color: #FFFFFF26; backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.btn-glass:hover { background: #FFFFFF1A; border-color: #FFFFFF4D; }
.site .btn-white { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -14px #0006; }
.site .btn-white:hover { background: #F2F7EF; }
.site .btn-ghost { color: var(--text); border-color: var(--line-2); }
.play-ico { position: relative; width: 26px; height: 26px; border-radius: 50%; background: #fff; flex: none; }
.play-ico::after { content: ''; position: absolute; left: 10px; top: 8px; border-left: 8px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.btn-glass:hover .play-ico { background: var(--lime); }

/* ---------- Шапка: плавающая стеклянная панель ---------- */
.header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0 clamp(10px, 1.6vw, 24px);
  pointer-events: none;
  transition: transform .7s var(--ease), opacity .6s ease;
}
.header__bar {
  pointer-events: auto;
  position: relative;
  max-width: calc(var(--container) + 32px);
  height: 64px;
  margin: 0 auto;
  padding: 0 10px 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-radius: 20px;
  border: 1px solid #FFFFFF12;
  background: #0C120Ea6;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 16px 40px -24px #000c;
  transition: background .45s, border-color .45s, color .45s, box-shadow .45s;
}
.header.is-hidden { transform: translateY(-130%); }
.header.is-light .header__bar { background: #FFFFFFd9; border-color: #0000000f; color: var(--ink); box-shadow: 0 16px 40px -26px #1d3a2466; }
.site .logo { gap: 10px; color: inherit; flex: none; }
.site .logo-mark { width: calc(34px * 247 / 286); height: 34px; fill: currentColor; }
.site .logo-word { font-family: 'Unbounded', var(--font-body); }
.site .logo-word > span:first-child { font-size: 9px; font-weight: 500; letter-spacing: .24em; opacity: .86; margin-bottom: 4px; }
.site .logo-word > span:last-child { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.site .logo--lg .logo-mark { width: calc(56px * 247 / 286); height: 56px; }
.site .logo--lg .logo-word > span:first-child { font-size: 13px; }
.site .logo--lg .logo-word > span:last-child { font-size: 30px; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { position: relative; padding: 10px 14px; border-radius: 12px; color: inherit; opacity: .72; font-size: 14.5px; font-weight: 500; transition: opacity .25s, background .25s; }
.nav a:hover { opacity: 1; background: #FFFFFF0D; }
.nav a.is-active { opacity: 1; background: #FFFFFF14; }
.header.is-light .nav a:hover { background: #0000000a; }
.header.is-light .nav a.is-active { background: #0000000f; }
.header__actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header__login, .header__phone { font-size: 14px; font-weight: 500; opacity: .8; transition: opacity .25s, color .25s; }
.header__login:hover, .header__phone:hover { opacity: 1; color: var(--lime); }
.header.is-light .header__login:hover, .header.is-light .header__phone:hover { color: var(--green); }
.header__login span { color: var(--lime); }
.header.is-light .header__login span { color: var(--green); }
.burger { display: none; width: 46px; height: 46px; position: relative; border-radius: 13px; background: #FFFFFF12; }
.header.is-light .burger { background: #0000000d; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease), width .3s; }
.burger i:first-child { top: 18px; }
.burger i:last-child { top: 26px; width: 12px; }
body.menu-open .burger i:first-child { top: 22px; transform: rotate(45deg); }
body.menu-open .burger i:last-child { top: 22px; width: 18px; transform: rotate(-45deg); }
body.menu-open .header .header__bar { background: #0C120E; color: var(--text); }

/* ---------- Мобильное меню ---------- */
.menu { position: fixed; inset: 0; z-index: 850; background: radial-gradient(120% 80% at 100% 0%, #173A22 0%, var(--bg) 60%); clip-path: circle(0% at calc(100% - 50px) 44px); visibility: hidden; transition: clip-path .8s var(--ease-io), visibility .8s; }
body.menu-open .menu { clip-path: circle(150% at calc(100% - 50px) 44px); visibility: visible; }
.menu__inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--gutter) 32px; overflow-y: auto; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; font-size: clamp(32px, 8vw, 52px); font-weight: 600; letter-spacing: -.045em; color: var(--text); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.menu__nav sup { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--lime); margin-top: 12px; font-weight: 500; }
body.menu-open .menu__nav a { opacity: 1; transform: none; }
body.menu-open .menu__nav a:nth-child(1) { transition-delay: .2s; }
body.menu-open .menu__nav a:nth-child(2) { transition-delay: .25s; }
body.menu-open .menu__nav a:nth-child(3) { transition-delay: .3s; }
body.menu-open .menu__nav a:nth-child(4) { transition-delay: .35s; }
body.menu-open .menu__nav a:nth-child(5) { transition-delay: .4s; }
.menu__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.menu__meta { display: flex; justify-content: space-between; margin-top: 24px; color: var(--text-3); }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: max(780px, 100svh);
  padding-top: calc(var(--header-h) + 10px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(90% 70% at 80% 40%, #0F2416 0%, var(--bg) 62%);
}
.hero__glow {
  position: absolute;
  z-index: -4;
  right: 6%;
  top: 18%;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  background: radial-gradient(circle, #21A03833 0%, #21A03810 40%, transparent 68%);
  filter: blur(20px);
  animation: hero-breathe 9s ease-in-out infinite;
}
@keyframes hero-breathe { 50% { transform: scale(1.08) translate(-2%, 2%); opacity: .8; } }
.hero__scene {
  position: absolute;
  z-index: -3;
  width: max(1060px, 90vw);
  max-width: 1820px;
  aspect-ratio: 1604 / 980;
  right: -4vw;
  top: 50%;
  margin-top: calc(min(max(1060px, 90vw), 1820px) * -980 / 1604 / 2 + 10px);
  transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0);
}
.hero__city { width: 100%; height: 100%; object-fit: contain; transition: opacity 1.6s ease, transform 2.4s var(--ease); }
.hero__routes { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.utility-route { color: #A7FF9F; opacity: .5; transition: opacity .6s; }
.utility-route[data-route="power"] { color: #D7F27A; }
.utility-route[data-route="comms"] { color: #76E0B4; }
.utility-route path { stroke: currentColor; stroke-linejoin: round; stroke-linecap: round; }
.utility-route__base { stroke-width: 1.3; opacity: .55; stroke-dasharray: 1600; stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s var(--ease-io); }
.utility-route__flow { stroke-width: 3; stroke-dasharray: 22 300; animation: conduit-flow 6.5s linear infinite; filter: drop-shadow(0 0 6px currentColor); }
.utility-route:nth-child(2) .utility-route__flow { animation-delay: -2.2s; }
.utility-route:nth-child(3) .utility-route__flow { animation-delay: -4.4s; }
.utility-route circle { fill: #0D1A10; stroke: currentColor; stroke-width: 2.5; }
.hero[data-layer="heat"] .utility-route:not([data-route="heat"]),
.hero[data-layer="power"] .utility-route:not([data-route="power"]),
.hero[data-layer="comms"] .utility-route:not([data-route="comms"]) { opacity: .07; }
.hero[data-layer="heat"] [data-route="heat"],
.hero[data-layer="power"] [data-route="power"],
.hero[data-layer="comms"] [data-route="comms"] { opacity: 1; }
@keyframes conduit-flow { to { stroke-dashoffset: -644; } }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #0A0F0Bf7 0%, #0A0F0Bdc 24%, #0A0F0B70 46%, transparent 68%),
    linear-gradient(0deg, var(--bg) 0%, #0A0F0B33 24%, transparent 70%, #0A0F0B88 100%);
}
.hero__inner { flex: 1; display: flex; align-items: center; padding-top: clamp(16px, 4vh, 60px); padding-bottom: 28px; }
.hero__content { position: relative; max-width: 900px; }
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 13px;
  border-radius: 999px;
  border: 1px solid #FFFFFF1F;
  background: #FFFFFF0A;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #CBD7CD;
  font-size: 13.5px;
  font-weight: 500;
}
.hero__title {
  margin-top: 26px;
  font-size: clamp(50px, 7.3vw, 128px);
  font-weight: 600;
  letter-spacing: -.058em;
  line-height: .98;
}
.hero__title .line { display: block; overflow: hidden; padding: .06em .04em .12em 0; margin: -.06em 0 -.12em; }
.hero__title .line > span { display: inline-block; transition: transform 1.25s var(--ease); }
.hero__title em { background-size: 200% 100%; animation: grad-pan 7s ease-in-out infinite alternate; }
@keyframes grad-pan { to { background-position: 100% 0; } }
.hero__lead { margin-top: 30px; max-width: 520px; color: var(--text-2); font-size: 18px; line-height: 1.65; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.scene-panel {
  position: absolute;
  z-index: 4;
  right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  bottom: 150px;
  width: 360px;
  padding: 20px 20px 14px;
  border-radius: var(--r-md);
  border: 1px solid #FFFFFF1C;
  background: linear-gradient(160deg, #18261Bcc, #0C140Fcc);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 70px -40px #000;
}
.scene-panel__meta { display: flex; justify-content: space-between; color: var(--text-3); }
.scene-panel__meta [data-layer-index] { color: var(--lime); }
.scene-panel__copy { min-height: 104px; padding-top: 12px; }
.scene-panel h2 { font-size: 24px; font-weight: 600; letter-spacing: -.035em; }
.scene-panel p { margin-top: 6px; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.layer-switch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: #00000040; }
.layer-switch button { min-height: 40px; padding: 8px 6px; border-radius: 10px; color: #C3CEC5; font-size: 13px; font-weight: 500; white-space: nowrap; transition: color .2s, background .25s; }
.layer-switch button:hover { color: #fff; background: #FFFFFF10; }
.layer-switch button[aria-pressed="true"] { background: var(--lime); color: #122014; font-weight: 600; }
.scene-panel__link { display: flex; justify-content: space-between; padding: 14px 4px 4px; color: var(--text-2); font-size: 13px; }
.scene-panel__link:hover { color: var(--lime); }

.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 28px; }
.hero__facts { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__fact { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 18px; border-radius: 18px; border: 1px solid var(--line); background: #FFFFFF07; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__fact b { font-size: 34px; font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero__fact span { font-size: 13px; line-height: 1.45; color: var(--text-3); }
.hero__fact--cycle { flex-direction: column; align-items: flex-start; gap: 6px; }
.hero__fact--cycle b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.hero__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 13px; font-weight: 500; transition: color .25s; }
.scroll-cue:hover { color: var(--text); }
.scroll-cue__mouse { position: relative; width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid #FFFFFF55; }
.scroll-cue__mouse i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--lime); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 12px; min-height: 34px; }
.motion-toggle:hover { color: var(--text); }
[data-motion-icon] { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #FFFFFF33; border-radius: 50%; font-family: Arial, sans-serif; font-size: 11px; }
.hero--cinematic:not(.scene-visible) .utility-route__flow,
.motion-paused .utility-route__flow { animation-play-state: paused; }
.site.motion-paused *, .site.motion-paused *::before, .site.motion-paused *::after { animation-play-state: paused !important; }

/* Вход первого экрана: после заставки или сразу при повторном визите. */
html.js:not(.entered) .hero [data-hero-in] { opacity: 0; transform: translateY(26px); }
html.js:not(.entered) .hero .scene-panel[data-hero-in] { transform: translateY(26px) scale(.97); }
html.js:not(.entered) .hero__title .line > span { transform: translateY(110%); }
html.js:not(.entered) .hero__city { opacity: 0; transform: scale(1.07); }
html.js:not(.entered) .hero__glow { opacity: 0; }
html.js:not(.entered) .utility-route__base { stroke-dashoffset: 1600; }
html.js:not(.entered) .header { opacity: 0; }
html.loader-active .header { opacity: 1; }
html.loader-active .header .nav,
html.loader-active .header .header__actions,
html.loader-active .header .burger { opacity: 0; }
html.loader-active .header .header__bar { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.loader-reveal .header .nav, html.loader-reveal .header .header__actions, html.loader-reveal .header .burger { opacity: 1; transition: opacity .8s ease .2s; }
.hero [data-hero-in] { transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.hero .hero__kicker[data-hero-in] { transition-delay: .05s; }
.hero__title .line:nth-child(1) > span { transition-delay: .12s; }
.hero__title .line:nth-child(2) > span { transition-delay: .24s; }
.hero .hero__lead[data-hero-in] { transition-delay: .42s; }
.hero .hero__cta[data-hero-in] { transition-delay: .52s; }
.hero .scene-panel[data-hero-in] { transition-delay: .72s; }
.hero .hero__bottom[data-hero-in] { transition-delay: .86s; }
.hero__glow { transition: opacity 2s ease; }

/* ================= ЗАКАЗЧИКИ: бегущая строка ================= */
.clients { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.clients__label { color: var(--text-3); margin-bottom: 26px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(36px, 5vw, 80px); width: max-content; padding-right: clamp(36px, 5vw, 80px); animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > span { color: #C9D3CB; font-size: clamp(26px, 3.2vw, 46px); font-weight: 650; letter-spacing: -.04em; white-space: nowrap; opacity: .62; transition: opacity .3s, color .3s; }
.marquee__track > span:hover { opacity: 1; color: #fff; }
.marquee__track .t-wide { font-weight: 500; letter-spacing: .06em; font-size: clamp(22px, 2.6vw, 38px); }
.marquee__track .t-thin { font-weight: 400; letter-spacing: .16em; font-size: clamp(22px, 2.6vw, 38px); }
.client-osnova { display: inline-flex; flex-direction: column; line-height: 1; }
.client-osnova small { font-size: .32em; letter-spacing: .08em; font-weight: 400; margin-top: 6px; }
.marquee__track > i { flex: none; width: 34px; height: 18px; background: var(--lime); opacity: .55; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 247 286'%3E%3Cpath d='M25 24H65c3 0 6 1 8 3l58 55c4 4 5 8 2 13L43 257c-2 4-5 5-9 5H5c-5 0-6-4-3-9L94 92c2-4 2-6-2-10L21 36c-5-4-3-12 4-12Z'/%3E%3Cpath transform='translate(56)' d='M25 24H65c3 0 6 1 8 3l58 55c4 4 5 8 2 13L43 257c-2 4-5 5-9 5H5c-5 0-6-4-3-9L94 92c2-4 2-6-2-10L21 36c-5-4-3-12 4-12Z'/%3E%3Cpath transform='translate(112)' d='M25 24H65c3 0 6 1 8 3l58 55c4 4 5 8 2 13L43 257c-2 4-5 5-9 5H5c-5 0-6-4-3-9L94 92c2-4 2-6-2-10L21 36c-5-4-3-12 4-12Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 247 286'%3E%3Cpath d='M25 24H65c3 0 6 1 8 3l58 55c4 4 5 8 2 13L43 257c-2 4-5 5-9 5H5c-5 0-6-4-3-9L94 92c2-4 2-6-2-10L21 36c-5-4-3-12 4-12Z'/%3E%3Cpath transform='translate(56)' d='M25 24H65c3 0 6 1 8 3l58 55c4 4 5 8 2 13L43 257c-2 4-5 5-9 5H5c-5 0-6-4-3-9L94 92c2-4 2-6-2-10L21 36c-5-4-3-12 4-12Z'/%3E%3Cpath transform='translate(112)' d='M25 24H65c3 0 6 1 8 3l58 55c4 4 5 8 2 13L43 257c-2 4-5 5-9 5H5c-5 0-6-4-3-9L94 92c2-4 2-6-2-10L21 36c-5-4-3-12 4-12Z'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= СВЕТЛЫЕ ЛИСТЫ ================= */
.sheet--light {
  position: relative;
  margin: 0 clamp(6px, 1vw, 16px);
  padding: clamp(84px, 9vw, 150px) 0;
  border-radius: clamp(28px, 3vw, 48px);
  background: var(--light-bg);
  color: var(--ink);
  isolation: isolate;
}
.sheet--light .sec-title { color: var(--ink); }
.sheet--light .sec-title em { background-image: var(--grad-ink); }
.sheet--light .sec-text { color: var(--ink-2); }
.sheet--light .eyebrow { border-color: #D2DBD0; background: #fff; color: var(--ink-2); }
.sheet--light .text-link { color: var(--ink); border-color: #C9D3C7; }
.sheet--light .text-link:hover { color: var(--green); border-color: var(--green); }
.sheet--light .btn-glass { background: #fff; color: var(--ink); border-color: #D2DBD0; backdrop-filter: none; }
.sheet--light .btn-glass:hover { border-color: var(--green); }
.sheet--light :focus-visible { outline-color: var(--green); }

.section-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head .sec-text { justify-self: end; }
.section-head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; justify-self: end; max-width: 560px; }

/* ================= УСЛУГИ ================= */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc {
  --art-acc: #9FB2A4;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 26px 28px 28px;
  border-radius: var(--r-lg);
  border: 1px solid #E1E8DF;
  background: #fff;
  box-shadow: 0 1px 0 #0000000a, 0 30px 60px -44px #1C3D2559;
  overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.svc::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), #21A0381a, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.svc:hover { transform: translateY(-6px); border-color: #CFE3CF; box-shadow: 0 1px 0 #0000000a, 0 40px 70px -40px #1C3D2580; --art-acc: var(--green); }
.svc:hover::before { opacity: 1; }
.svc.is-flash { animation: svc-flash 1.8s var(--ease); }
@keyframes svc-flash { 0%, 60% { box-shadow: 0 0 0 3px var(--green), 0 40px 70px -40px #1C3D2580; } 100% { box-shadow: 0 1px 0 #0000000a, 0 30px 60px -44px #1C3D2559; } }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc__num { padding: 7px 11px; border-radius: 999px; background: #EFF4EE; color: var(--ink-2); }
.svc__art {
  width: 104px;
  height: 104px;
  margin: -8px -10px 0 0;
  fill: none;
  stroke: #9AA99D;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 640;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.2s var(--ease-io), stroke .4s, transform .6s var(--ease);
}
.acc { stroke: var(--art-acc, #21A038); transition: stroke .4s; }
html.js .svc.reveal-pending:not(.is-in) .svc__art { stroke-dashoffset: 640; }
.svc:hover .svc__art { transform: scale(1.06) rotate(-2deg); stroke: #6E8273; }
.svc__title { margin-top: 30px; font-size: clamp(23px, 1.9vw, 28px); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; }
.svc__text { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.svc__works { margin-top: 20px; padding-top: 16px; border-top: 1px solid #EDF1EC; display: grid; gap: 8px; }
.svc__works li { position: relative; padding-left: 22px; color: var(--ink); font-size: 14px; line-height: 1.45; }
.svc__works li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 9px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.svc__cta { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; color: var(--green-deep); font-size: 15px; font-weight: 600; }
.svc__cta span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #E6F4E6; transition: transform .45s var(--ease), background .3s, color .3s; }
.svc__cta:hover span, .svc:hover .svc__cta span { background: var(--green); color: #fff; transform: translateX(4px); }
.svc-final {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 4vw, 52px) clamp(28px, 4vw, 56px);
  border-radius: var(--r-lg);
  color: #fff;
  overflow: hidden;
  background: linear-gradient(120deg, #138230 0%, #21A038 38%, #4DB93A 70%, #A9D933 100%);
  box-shadow: 0 40px 80px -46px #13782Acc;
}
.svc-final::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 120% at 85% 0%, #FFFFFF33, transparent 60%); pointer-events: none; }
.svc-final__chev { position: absolute; left: -2%; top: 50%; width: clamp(180px, 22vw, 320px); transform: translateY(-50%); opacity: .14; fill: #fff; animation: chev-drift 6s ease-in-out infinite; }
@keyframes chev-drift { 50% { transform: translate(18px, -50%); } }
.svc-final__copy { position: relative; z-index: 1; padding-left: clamp(0px, 12vw, 200px); }
.svc-final h3 { font-size: clamp(24px, 2.4vw, 36px); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; max-width: 640px; }
.svc-final p { margin-top: 12px; max-width: 640px; color: #FFFFFFD9; font-size: 16px; line-height: 1.6; }
.svc-final .btn { position: relative; z-index: 1; }

/* ================= ПОЛНЫЙ ЦИКЛ ================= */
.cycle { position: relative; padding: clamp(100px, 11vw, 170px) 0; }
.cycle::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 15% 30%, #21A0381c, transparent 70%); }
.cycle__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); }
.cycle__sticky { position: sticky; top: 120px; align-self: start; }
.cycle__sticky .btn { margin-top: 34px; }
.cycle__counter { display: flex; align-items: baseline; gap: 10px; margin-top: 40px; }
.cycle__counter b { font-size: clamp(80px, 9vw, 150px); font-weight: 600; letter-spacing: -.07em; line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.cycle__counter span { color: var(--text-3); font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.cycle__track { position: relative; padding-left: 72px; }
.cycle__pipe { position: absolute; left: 21px; top: 30px; bottom: 30px; width: 8px; border-radius: 8px; background: #FFFFFF0d; box-shadow: inset 0 0 0 1px #FFFFFF0a; }
.cycle__pipe i { position: absolute; left: 0; right: 0; top: 0; height: 100%; border-radius: inherit; transform-origin: top; transform: scaleY(var(--fill, 0)); background: linear-gradient(180deg, #178A2D, var(--green) 50%, var(--lime)); box-shadow: 0 0 18px #21A03899; }
.cycle__pipe i::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(180deg, transparent 0 46px, #FFFFFF66 46px 54px, transparent 54px 100px); background-size: 100% 100px; animation: pipe-flow 1.6s linear infinite; mix-blend-mode: overlay; }
@keyframes pipe-flow { to { background-position: 0 100px; } }
.cycle__pipe b { position: absolute; left: 50%; top: calc(var(--fill, 0) * 100%); width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #F3FFC2; box-shadow: 0 0 0 5px #C6E83240, 0 0 24px 6px #C6E832aa; }
.cycle__steps { display: grid; }
.step { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; padding: 30px 0; border-bottom: 1px solid var(--line); opacity: .38; transition: opacity .6s var(--ease); }
.step:first-child { border-top: 1px solid var(--line); }
.step.is-on { opacity: 1; }
.step__node { position: absolute; left: -60px; top: 34px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #FFFFFF2e; background: var(--bg); transition: border-color .4s, background .4s, box-shadow .4s, transform .5s var(--ease); }
.step.is-on .step__node { border-color: var(--lime); background: var(--green); box-shadow: 0 0 0 6px #21A03833; transform: scale(1.1); }
.step__num { padding-top: 7px; color: var(--lime); }
.step h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.step p { margin-top: 8px; color: var(--text-2); font-size: 16px; line-height: 1.6; max-width: 540px; }

/* ================= ОБЪЕКТЫ ================= */
.portfolio { padding: clamp(90px, 10vw, 150px) 0 clamp(60px, 7vw, 100px); }
.project-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 4vw, 64px) clamp(16px, 2vw, 28px); align-items: start; }
.project-card { display: block; min-width: 0; color: var(--text); }
.project-card__image { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); transform: translateZ(0); }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(var(--zoom, 1.1)); transition: transform 1.1s var(--ease); will-change: transform; }
.project-card:hover .project-card__image img { --zoom: 1.15; }
.project-card--quarter .project-card__image { aspect-ratio: 1280 / 852; }
.project-card--public { margin-top: clamp(40px, 7vw, 110px); }
.project-card--public .project-card__image { aspect-ratio: 959 / 1065; }
.project-card--industrial { grid-column: 1 / -1; }
.project-card--industrial .project-card__image { aspect-ratio: 1280 / 499; }
.project-card__tag { position: absolute; left: 16px; top: 16px; padding: 7px 11px; border-radius: 999px; background: #0C120Ea6; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #D6E0D7; font-size: 10px; }
.project-card__expand { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #0C120Eb3; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid #FFFFFF33; font-size: 22px; transition: background .3s, color .3s, transform .5s var(--ease); }
.project-card:hover .project-card__expand, .project-card:focus-visible .project-card__expand { background: var(--lime); color: #142016; transform: rotate(45deg); }
.project-card__body { padding: 24px 4px 0; }
.project-card__eyebrow { color: var(--text-3); margin-bottom: 12px; font-size: 10.5px; }
.project-card__title { font-size: clamp(26px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.04em; line-height: 1.08; }
.project-card__scope { margin-top: 10px; color: var(--text-2); font-size: 16px; line-height: 1.55; }
.project-card__link { margin-top: 20px; display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-size: 15px; font-weight: 500; }
.project-card__link span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, color .3s, border-color .3s, transform .45s var(--ease); }
.project-card:hover .project-card__link span { background: var(--lime); border-color: var(--lime); color: #142016; transform: translateX(4px); }
.project-card--industrial .project-card__body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 36px; align-items: center; }
.project-card--industrial .project-card__scope { margin: 0; }
.project-card--industrial .project-card__link { margin: 0; }
.project-card:focus-visible, .field-photo:focus-visible { outline: 2px solid var(--lime); outline-offset: 8px; border-radius: var(--r-lg); }
.portfolio__draft { margin-top: 36px; max-width: 720px; color: var(--text-3); font-size: 12.5px; line-height: 1.65; }

.site-work { padding: clamp(60px, 7vw, 100px) 0 clamp(100px, 11vw, 160px); }
.site-work__hint { color: var(--text-3); }
.field-gallery { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.field-photo { display: block; min-width: 0; }
.field-photo__image { position: relative; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 3 / 4; background: var(--surface); }
.field-photo--wide .field-photo__image { aspect-ratio: auto; height: 100%; }
.field-photo--wide .field-photo__image img { aspect-ratio: 4 / 3; }
.field-gallery .field-photo:not(.field-photo--wide) .field-photo__image { height: auto; }
.field-photo__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.field-photo:hover .field-photo__image img { transform: scale(1.05); }
.field-photo__image > span { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #0C120Eb3; backdrop-filter: blur(10px); border: 1px solid #FFFFFF33; transition: background .3s, color .3s, transform .5s var(--ease); }
.field-photo:hover .field-photo__image > span { background: var(--lime); color: #142016; transform: rotate(45deg); }
.field-photo > p { display: flex; gap: 12px; align-items: baseline; margin-top: 14px; font-size: 15px; font-weight: 500; }
.field-photo > p .mono { color: var(--lime); }

/* ================= О КОМПАНИИ ================= */
.about__statement { max-width: 1240px; font-size: clamp(32px, 4.7vw, 76px); font-weight: 600; line-height: 1.08; letter-spacing: -.048em; color: var(--ink); text-wrap: balance; }
.about__statement .w { color: #C2CBC3; transition: color .35s ease; }
.about__statement .w.is-lit { color: var(--ink); }
.about__statement .w.is-lit.is-key { color: var(--green); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(56px, 6vw, 90px); }
.fact { position: relative; padding: 28px 26px 30px; border-radius: var(--r-md); background: #fff; border: 1px solid #E1E8DF; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.fact::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), #21A03817, transparent 60%); opacity: 0; transition: opacity .4s; }
.fact:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px #1C3D2566; }
.fact:hover::before { opacity: 1; }
.fact__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #E6F4E6; color: var(--green-deep); }
.fact__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fact h3 { margin-top: 26px; font-size: 20px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.fact p { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

.geo { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(32px, 4vw, 60px); border-radius: var(--r-xl); background: radial-gradient(90% 90% at 80% 50%, #13301B 0%, #0D1510 60%); color: var(--text); overflow: hidden; }
.geo .eyebrow { border-color: var(--line-2); background: #FFFFFF08; color: var(--text-2); }
.geo h3 { font-size: clamp(30px, 3.2vw, 50px); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
.geo .sec-text { margin-top: 18px; color: var(--text-2); }
.geo__list { margin-top: 28px; border-top: 1px solid var(--line); }
.geo__list li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.geo__list li i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px #C6E83299; }
.geo__list li em { font-style: normal; color: var(--text-3); font-size: 13.5px; }
.map { width: 100%; height: auto; overflow: visible; }
.map .map__ring { fill: none; stroke: #FFFFFF22; stroke-width: 1; }
.map .map__ring--mkad { stroke: #C6E83280; stroke-width: 1.6; }
.map .map__ring--ckad { stroke: #FFFFFF1a; }
.map .map__radial line { stroke: #FFFFFF10; }
.map .map__river { fill: none; stroke: #FFFFFF30; stroke-width: 1.5; }
.map .map__labels text { fill: #7E8D81; font: 500 10px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.map .map__pin circle { fill: var(--lime); }
.map .map__pin .map__pin-ring { fill: none; stroke: var(--lime); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: pin-ring 2.6s var(--ease) infinite; }
.map .map__pin:nth-child(2) .map__pin-ring { animation-delay: .6s; }
.map .map__pin:nth-child(3) .map__pin-ring { animation-delay: 1.2s; }
.map .map__pin:nth-child(4) .map__pin-ring { animation-delay: 1.8s; }
.map .map__pin text { fill: #DCE5DD; font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.map .map__pin path { fill: none; stroke: #C6E83280; }
@keyframes pin-ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* ================= ПОРТАЛ ================= */
.portal { position: relative; padding: clamp(100px, 11vw, 170px) 0; overflow: hidden; }
.portal::before { content: ''; position: absolute; right: -10%; top: 10%; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, #21A03824, transparent 65%); pointer-events: none; }
.portal__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.portal__features { margin-top: 34px; display: grid; gap: 4px; }
.portal__features li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px; border-radius: 18px; transition: background .3s; }
.portal__features li:hover { background: #FFFFFF08; }
.portal__features .ico { width: 48px; height: 48px; padding: 13px; border-radius: 14px; background: #21A03824; color: var(--lime); stroke-width: 1.6; }
.portal__features b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.portal__features span { display: block; margin-top: 4px; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.portal__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.portal__visual { position: relative; perspective: 1600px; }
.frame { position: relative; z-index: 1; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid #FFFFFF26; box-shadow: 0 60px 120px -50px #000, 0 0 0 10px #FFFFFF08; transform: rotateY(-8deg) rotateX(4deg); transform-style: preserve-3d; transition: transform 1s var(--ease); will-change: transform; }
.portal__visual:hover .frame { transform: rotateY(-3deg) rotateX(2deg); }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; background: #F3F6F2; border-bottom: 1px solid #E3E9E1; }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3DAD1; }
.frame__bar i:first-child { background: #FF6B5F; } .frame__bar i:nth-child(2) { background: #FDBC2E; } .frame__bar i:nth-child(3) { background: #28C840; }
.frame__url { margin-left: 14px; padding: 6px 12px; border-radius: 8px; background: #fff; color: var(--ink-3); text-transform: none; letter-spacing: .02em; font-size: 11px; }
.frame__body { display: grid; grid-template-columns: 62px minmax(0, 1fr); height: clamp(360px, 32vw, 480px); }
.mini-side { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 18px 0; background: #0E1510; }
.mini-side__logo svg { width: 24px; height: 28px; fill: var(--lime); }
.mini-side__nav { display: flex; flex-direction: column; gap: 12px; }
.mini-side__nav i { width: 28px; height: 28px; border-radius: 9px; background: #FFFFFF12; }
.mini-side__nav i.is-active { background: var(--green); }
.mini-main { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: #F2F5F1; color: var(--ink); }
.mini-head { display: flex; justify-content: space-between; align-items: center; }
.mini-head b { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.mini-head span { width: 100px; height: 28px; border-radius: 9px; background: var(--green); }
.mini-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mini-kpi { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid #E3E9E1; overflow: hidden; }
.mini-kpi span { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.mini-kpi b { font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.mini-kpi i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: var(--c, var(--green)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .5s; }
.is-in .mini-kpi i { transform: scaleX(1); }
.mini-panels { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 10px; flex: 1; min-height: 0; }
.mini-chart, .mini-list { display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #E3E9E1; }
.mini-chart__title { font-size: 12px; font-weight: 600; }
.mini-chart__bars { flex: 1; display: flex; align-items: flex-end; gap: 8px; min-height: 90px; }
.mini-chart__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--green), var(--green-deep)); transform: scaleY(0); transform-origin: bottom; transition: transform 1.2s var(--ease); }
.mini-chart__bars i:nth-child(3), .mini-chart__bars i:nth-child(6) { background: linear-gradient(180deg, var(--lime), #9DB825); }
.is-in .mini-chart__bars i { transform: scaleY(1); }
.is-in .mini-chart__bars i:nth-child(2) { transition-delay: .08s; } .is-in .mini-chart__bars i:nth-child(3) { transition-delay: .16s; } .is-in .mini-chart__bars i:nth-child(4) { transition-delay: .24s; }
.is-in .mini-chart__bars i:nth-child(5) { transition-delay: .32s; } .is-in .mini-chart__bars i:nth-child(6) { transition-delay: .4s; } .is-in .mini-chart__bars i:nth-child(7) { transition-delay: .48s; }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid #EDF1EC; opacity: 0; transform: translateX(10px); transition: opacity .5s, transform .6s var(--ease); }
.is-in .mini-row { opacity: 1; transform: none; }
.is-in .mini-row:nth-child(2) { transition-delay: .4s; } .is-in .mini-row:nth-child(3) { transition-delay: .5s; } .is-in .mini-row:nth-child(4) { transition-delay: .6s; } .is-in .mini-row:nth-child(5) { transition-delay: .7s; }
.mini-row span { flex: 1; height: 7px; border-radius: 4px; background: #E7ECE6; }
.mini-row .badge { height: 18px; font-size: 9px; padding: 0 7px 0 6px; gap: 5px; }
.mini-row .badge::before { width: 5px; height: 5px; }
.portal__float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 14px; background: #101912e6; border: 1px solid #FFFFFF22; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #E6EEE6; box-shadow: 0 20px 40px -20px #000; animation: float-bob 6s ease-in-out infinite; }
.portal__float--a { left: -24px; bottom: 18%; }
.portal__float--b { right: -12px; top: 12%; animation-delay: -3s; color: var(--lime); }
@keyframes float-bob { 50% { transform: translateY(-12px); } }

/* ================= ПЕРЕД РАСЧЁТОМ ================= */
.before-start__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.buyer-faq { display: grid; gap: 10px; }
.buyer-faq details { border-radius: var(--r-md); background: #fff; border: 1px solid #E1E8DF; transition: box-shadow .4s, border-color .4s; }
.buyer-faq details[open] { border-color: #CFE3CF; box-shadow: 0 30px 60px -44px #1C3D2580; }
.buyer-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 26px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.buyer-faq summary::-webkit-details-marker { display: none; }
.buyer-faq summary > span { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #EFF4EE; transition: background .3s, transform .45s var(--ease); }
.buyer-faq summary > span::before, .buyer-faq summary > span::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: background .3s; }
.buyer-faq summary > span::after { transform: rotate(90deg); }
.buyer-faq details[open] summary > span { background: var(--green); transform: rotate(135deg); }
.buyer-faq details[open] summary > span::before, .buyer-faq details[open] summary > span::after { background: #fff; }
.buyer-faq details p { padding: 0 26px 26px; color: var(--ink-2); font-size: 16px; line-height: 1.7; max-width: 680px; }
.buyer-faq summary:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; border-radius: var(--r-md); }

/* ================= КОНТАКТЫ ================= */
.contacts { position: relative; padding: clamp(100px, 11vw, 170px) 0; overflow: hidden; }
.contacts__glow { position: absolute; left: -10%; top: 0; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(circle, #21A03822, transparent 62%); pointer-events: none; }
.contacts__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contacts .sec-title { font-size: clamp(38px, 4.6vw, 72px); }
.contacts__phone { display: inline-block; margin-top: 36px; font-size: clamp(28px, 2.8vw, 44px); font-weight: 600; letter-spacing: -.04em; transition: color .3s; }
.contacts__phone:hover { color: var(--lime); }
.contacts__list { margin-top: 28px; max-width: 460px; border-top: 1px solid var(--line); }
.contacts__list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contacts__list .mono { color: var(--text-3); }
.contacts__list b { font-weight: 500; }
.contacts__list a { border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.contacts__list a:hover { color: var(--lime); border-color: var(--lime); }

.form { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: linear-gradient(160deg, #17231Acc, #0F1712cc); border: 1px solid #FFFFFF1a; box-shadow: 0 50px 100px -60px #000; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.form__demo-note { margin-bottom: 22px; padding: 12px 16px; border-radius: 14px; background: #C6E83212; color: #CFDDB9; font-size: 13px; line-height: 1.55; }
.form__state--success { display: none; }
.form.is-success .form__state--fields { display: none; }
.form.is-success .form__state--success { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; min-height: 420px; }
.form__row { margin-bottom: 14px; }
.form__row--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form__legend { display: block; margin: 10px 0 12px; color: var(--text-3); }
.field { position: relative; display: block; }
.field input, .field textarea { width: 100%; padding: 26px 18px 10px; border-radius: var(--r-sm); border: 1px solid #FFFFFF1c; background: #FFFFFF08; color: var(--text); font-size: 16px; outline: none; transition: border-color .3s, background .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: #FFFFFF33; }
.field input:focus, .field textarea:focus { border-color: var(--green); background: #21A0380d; box-shadow: 0 0 0 4px #21A03826; }
.field__label { position: absolute; left: 18px; top: 18px; max-width: calc(100% - 36px); color: var(--text-3); font-size: 15px; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform-origin: left top; transition: transform .3s var(--ease), color .3s, top .3s var(--ease); }
.field input:focus + .field__label, .field input:not(:placeholder-shown) + .field__label,
.field textarea:focus + .field__label, .field textarea:not(:placeholder-shown) + .field__label { top: 9px; transform: scale(.78); color: var(--lime); }
.field__error { position: absolute; left: 4px; top: 100%; margin-top: 4px; color: #FF8A8E; font-size: 12px; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s; }
.field.is-error input, .field.is-error textarea { border-color: #E5484D; box-shadow: 0 0 0 4px #E5484D22; }
.field.is-error .field__error { opacity: 1; transform: none; }
.field.is-error .field__label { color: #FF8A8E; }
.form__row--2 .field.is-error { margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--select label { position: relative; cursor: pointer; }
.chips--select input { position: absolute; opacity: 0; width: 0; height: 0; }
.chips--select span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid #FFFFFF22; background: #FFFFFF06; color: #CBD6CD; font-size: 14px; font-weight: 500; user-select: none; transition: all .35s var(--ease); }
.chips--select label:hover span { border-color: #FFFFFF55; color: #fff; }
.chips--select input:checked + span { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 8px 22px -10px #21A038; }
.chips--select input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.chips--select span.is-picked { animation: chip-pop .7s var(--ease); }
@keyframes chip-pop { 30% { transform: scale(1.12); } }
.dropzone { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); border: 1.5px dashed #FFFFFF2a; background: #FFFFFF05; cursor: pointer; transition: border-color .3s, background .3s; }
.dropzone input { position: absolute; opacity: 0; width: 0; height: 0; }
.dropzone .ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #C6E8321a; color: var(--lime); }
.dropzone:hover, .dropzone.is-over { border-color: var(--green); background: #21A0380f; }
.dropzone:focus-within { border-color: var(--lime); }
.dropzone__text b { display: block; font-size: 14.5px; font-weight: 600; }
.dropzone__text span { display: block; margin-top: 3px; color: var(--text-3); font-size: 12.5px; }
.dropzone__files { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.dropzone__files:empty { display: none; }
.dropzone__files i { padding: 5px 9px; border-radius: 8px; background: #C6E8321f; color: var(--lime); font: 500 11px var(--font-mono); font-style: normal; }
.form__row--submit { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin: 26px 0 0; }
.check { display: inline-flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box { display: flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 1.5px solid #FFFFFF44; transition: all .25s; }
.check__box svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .35s var(--ease); }
.check input:checked + .check__box { background: var(--green); border-color: var(--green); }
.check input:checked + .check__box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .check__box { outline: 2px solid var(--lime); outline-offset: 2px; }
.check.is-error .check__box { border-color: #E5484D; animation: shake .4s; }
.check__text { max-width: 280px; color: var(--text-3); font-size: 13px; line-height: 1.45; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.form__success-ico svg { width: 76px; height: 76px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form__success-ico circle { stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw-in 1s var(--ease) forwards; }
.form__success-ico path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw-in .6s var(--ease) .6s forwards; }
@keyframes draw-in { to { stroke-dashoffset: 0; } }
.form__state--success h3 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 600; letter-spacing: -.035em; }
.form__state--success p { max-width: 440px; color: var(--text-2); line-height: 1.6; }
.form__state--success a { color: var(--lime); }

/* ================= ФУТЕР ================= */
.footer { position: relative; padding-top: clamp(70px, 8vw, 110px); background: #070B08; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand p { margin-top: 24px; max-width: 320px; color: var(--text-3); font-size: 14.5px; line-height: 1.6; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__col .mono { margin-bottom: 8px; color: var(--text-3); }
.footer__col a { color: var(--text-2); font-size: 15px; transition: color .3s, transform .45s var(--ease); }
.footer__col a:hover { color: #fff; transform: translateX(4px); }
.footer__col a.btn { color: var(--text); }
.footer__muted { color: var(--text-3); font-size: 14px; }
.footer__login { margin-top: 10px; }
.footer__word { margin-top: clamp(50px, 6vw, 90px); overflow: hidden; line-height: .82; text-align: center; white-space: nowrap; user-select: none; }
.footer__word span {
  display: inline-block;
  font-size: clamp(64px, 16.4vw, 290px);
  font-weight: 700;
  letter-spacing: -.065em;
  background:
    linear-gradient(95deg, #21A038, #7CCB3A 50%, #C6E832) 0 0 / calc(var(--reveal, 0) * 100%) 100% no-repeat,
    linear-gradient(#18221A, #18221A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(14%);
}
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line); color: var(--text-3); }
.footer__up { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font: inherit; letter-spacing: inherit; text-transform: inherit; }
.footer__up i { width: 8px; height: 8px; border-left: 1.5px solid var(--lime); border-top: 1.5px solid var(--lime); transform: rotate(45deg); transition: transform .4s var(--ease); }
.footer__up:hover i { transform: rotate(45deg) translate(-3px, -3px); }

/* ================= ПЛАВАЮЩИЙ ПРИЗЫВ ================= */
.dock {
  position: fixed;
  z-index: 880;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 8px 8px 22px;
  border-radius: 20px;
  border: 1px solid #FFFFFF1f;
  background: #0E1611d9;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 24px 60px -24px #000;
  color: var(--text-2);
  font-size: 14.5px;
  transform: translate(-50%, 160%);
  opacity: 0;
  transition: transform .8s var(--ease), opacity .5s ease;
}
.dock.is-visible { transform: translate(-50%, 0); opacity: 1; }
.dock__text b { color: var(--text); font-weight: 600; }
.dock__btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 13px; background: var(--green); color: #fff; font-weight: 600; transition: background .3s; white-space: nowrap; }
.dock:hover .dock__btn { background: var(--green-2); }
.dock__btn span { transition: transform .4s var(--ease); }
.dock:hover .dock__btn span { transform: translateX(3px); }

/* ================= КУРСОР-ПОДСКАЗКА ================= */
.cursor-pill { position: fixed; left: 0; top: 0; z-index: 870; pointer-events: none; display: grid; place-items: center; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--lime); color: #132015; font-size: 13px; font-weight: 600; opacity: 0; transform: translate3d(-200px, -200px, 0) scale(.3); transition: opacity .3s ease, scale .4s var(--ease); scale: .3; }
.cursor-pill.is-on { opacity: 1; scale: 1; }
@media (hover: none), (pointer: coarse) { .cursor-pill { display: none; } }
.has-cursor-pill [data-cursor-text] { cursor: none; }

/* ================= МОДАЛЬНОЕ ОКНО ================= */
.modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 24px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: #070B08cc; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transition: opacity .5s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel { position: relative; width: min(1280px, 100%); max-height: calc(100dvh - 48px); overflow: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: var(--r-xl); background: #131C15; border: 1px solid #FFFFFF1f; box-shadow: 0 80px 120px -50px #000; opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #0C120Ecc; border: 1px solid #FFFFFF26; color: #fff; transition: background .3s, transform .5s var(--ease); }
.modal__close:hover { background: var(--green); transform: rotate(90deg); }
.project-modal .modal__content, .project-modal .modal__visual { min-width: 0; }
.modal__visual { display: flex; flex-direction: column; justify-content: center; padding: 24px; background: #0A100C; }
.media-stage { position: relative; display: grid; place-items: center; width: 100%; min-height: 200px; }
.media-stage img, .media-stage video { width: 100%; height: auto; max-height: min(680px, calc(100dvh - 160px)); object-fit: contain; border-radius: 16px; }
.media-stage video { background: #000; }
.media-bar { display: flex; gap: 18px; justify-content: space-between; align-items: center; width: 100%; margin-top: 18px; }
.media-bar p { margin-inline: auto; color: var(--text-2); font-size: 12.5px; line-height: 1.5; text-align: center; }
.media-nav { flex: 0 0 48px; height: 48px; border-radius: 50%; border: 1px solid #FFFFFF33; color: #E4EDDE; font-size: 20px; transition: background .3s, color .3s; }
.media-nav:hover { background: var(--lime); color: #132015; }
.media-play { position: absolute; bottom: 20px; display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 10px 22px; border-radius: 14px; background: #183820ed; border: 1px solid #B7CCA5; color: #fff; }
.media-play > span { font-size: 22px; }
.media-error { margin-top: 15px; color: #E5D9BA; font-size: 14px; line-height: 1.6; }
.modal__content { display: flex; flex-direction: column; gap: 18px; padding: 52px 40px 34px; }
.modal__meta { color: var(--lime); padding-right: 40px; }
.modal__content h3 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.04em; line-height: 1.08; }
.modal__draft { padding: 10px 14px; border-radius: 12px; background: #C6E8321a; color: #D3DDBC; font-size: 12.5px; line-height: 1.5; }
.case-detail h4 { margin-bottom: 8px; color: var(--text-3); font-weight: 500; }
.modal__desc { color: var(--text-2); font-size: 15.5px; line-height: 1.65; }
.modal__customer { margin-bottom: 8px; font-size: 16px; line-height: 1.5; }
.modal__works li { position: relative; padding: 5px 0 5px 20px; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.modal__works li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 8px; height: 4px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.modal__timeline { color: var(--text-2); font-size: 14.5px; line-height: 1.65; }
.modal__foot { margin-top: 4px; padding-top: 20px; border-top: 1px solid var(--line); }
.modal__foot .btn { max-width: 100%; white-space: normal; text-align: left; line-height: 1.35; }
.project-modal.is-gallery .modal__panel { display: block; }
.project-modal.is-gallery .modal__visual { padding: 24px 64px; }
.project-modal.is-gallery .media-stage img { max-height: calc(100dvh - 180px); }
.project-modal.is-gallery .media-bar { max-width: 800px; margin-inline: auto; }
body.modal-open { overflow: hidden; }

/* Тосты на тёмном сайте. */
.site .toast { border-radius: 16px; background: #17221A; }

/* ================= АДАПТИВ ================= */
@media (min-width: 1700px) {
  .hero__scene { right: calc((100vw - 1760px) / 2); }
}
@media (min-width: 1081px) {
  .dock { left: auto; right: clamp(16px, 2vw, 28px); transform: translateY(160%); }
  .dock.is-visible { transform: none; }
}
@media (max-width: 1280px) {
  .header__phone { display: none; }
  .scene-panel { width: 320px; bottom: 160px; }
  .hero__fact--cycle { display: none; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .nav, .header__login { display: none; }
  .burger { display: block; }
  .header__bar { gap: 12px; }
  .header__actions { margin-left: auto; }
  .hero__scene { right: -22%; opacity: .85; }
  .scene-panel { display: none; }
  .hero__content { max-width: 640px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head .sec-text, .section-head__aside { justify-self: start; }
  .cycle__grid { grid-template-columns: 1fr; }
  .cycle__sticky { position: relative; top: 0; }
  .cycle__counter { display: none; }
  .portal__grid, .contacts__grid, .before-start__grid { grid-template-columns: 1fr; }
  .portal__visual { max-width: 760px; width: 100%; margin: 12px auto 0; }
  .frame { transform: none; }
  .geo { grid-template-columns: 1fr; }
  .geo__map { max-width: 520px; margin: 0 auto; width: 100%; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .site { --header-h: 76px; }
  .header { top: 8px; }
  .header__bar { height: 58px; padding: 0 6px 0 14px; border-radius: 18px; }
  .header__actions .btn { display: none; }
  .hero { min-height: 100svh; }
  .hero__scene { width: 820px; right: -340px; top: auto; bottom: 120px; margin-top: 0; opacity: .7; }
  .hero__shade { background: linear-gradient(180deg, #0A0F0Bb3 0%, #0A0F0B88 40%, #0A0F0Bcc 70%, var(--bg) 100%); }
  .hero__inner { align-items: flex-start; padding-top: 34px; }
  .hero__title { font-size: clamp(44px, 12.4vw, 70px); }
  .hero__lead { font-size: 16px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__bottom { flex-direction: column; align-items: stretch; }
  .hero__facts { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__fact { padding: 12px 14px; }
  .hero__fact b { font-size: 28px; }
  .hero__aside { flex-direction: row; justify-content: space-between; align-items: center; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .svc-final { grid-template-columns: 1fr; }
  .svc-final__copy { padding-left: 0; }
  .svc-final__chev { left: auto; right: -40px; top: 30%; }
  .cycle__track { padding-left: 54px; }
  .cycle__pipe { left: 13px; }
  .step__node { left: -50px; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card--public { margin-top: 0; }
  .project-card--industrial .project-card__body { grid-template-columns: 1fr; gap: 12px; }
  .project-card--industrial .project-card__image { aspect-ratio: 16 / 10; }
  .field-gallery { grid-template-columns: 1fr 1fr; }
  .field-photo--wide { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr; }
  .geo { padding: 26px 20px; }
  .form__row--2 { grid-template-columns: 1fr; }
  .form { padding: 20px; border-radius: 26px; }
  .contacts__list li { grid-template-columns: 90px minmax(0, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-wrap: wrap; }
  .dock { left: 10px; right: 10px; transform: translateY(160%); gap: 10px; padding-left: 16px; font-size: 13px; }
  .dock.is-visible { transform: none; }
  .dock__text { flex: 1; }
  .dock__text b { display: block; }
  .modal__panel { grid-template-columns: 1fr; border-radius: 26px; }
  .modal__content { padding: 26px; }
  .project-modal.is-gallery .modal__visual { padding: 64px 14px 20px; }
  .project-modal .modal__close { position: fixed; top: 28px; right: 28px; }
  .portal__float--a { left: 8px; }
  .portal__float--b { right: 8px; }
}
@media (max-width: 420px) {
  .hero__kicker { font-size: 12px; }
  .hero__facts { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .dock__text { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal].reveal-pending:not(.is-in) { opacity: 1; transform: none; }
  html.js [data-split]:not(.is-in) .split-w > span { transform: none; }
  .marquee__track { animation: none; }
  .hero__glow, .svc-final__chev, .portal__float { animation: none; }
}

/* Градиент слов внутри выделения после разбивки на слова. */
em.has-split { background: none !important; color: inherit !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; animation: none !important; }
em .split-w > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sheet--light em .split-w > span { background-image: var(--grad-ink); }

/* Слои сетей: выбранная система выходит на первый план, город приглушается. */
.hero__city { transition: opacity 1.6s ease, transform 2.4s var(--ease), filter .7s ease; }
.hero:not([data-layer="all"]) .hero__city { filter: brightness(.5) saturate(.6); }
.utility-route__base, .utility-route__flow { transition: stroke-width .5s var(--ease), opacity .5s; }
.hero:not([data-layer="all"]) .utility-route[data-active] .utility-route__base { stroke-width: 4; opacity: .95; filter: drop-shadow(0 0 8px currentColor); }
.hero:not([data-layer="all"]) .utility-route[data-active] .utility-route__flow { stroke-width: 7; stroke-dasharray: 60 220; animation-duration: 3.2s; }
.utility-route__ping { fill: none; stroke: currentColor; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hero:not([data-layer="all"]) .utility-route[data-active] .utility-route__ping { animation: route-ping 1.8s ease-out infinite; }
@keyframes route-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(6); } }
.utility-route__tag { opacity: 0; transform-box: fill-box; transition: opacity .45s ease .15s; pointer-events: none; }
.utility-route__tag rect { fill: #0C140Fe6; stroke: currentColor; stroke-width: 1.5; }
.utility-route__tag text { fill: #F2F6EF; font: 600 17px var(--font-body); letter-spacing: -.01em; }
.hero:not([data-layer="all"]) .utility-route[data-active] .utility-route__tag { opacity: 1; }
.hero:not([data-layer="all"]) .utility-route[data-active] circle:not(.utility-route__ping) { r: 9; }

/* Телефон: город в разрезе — сверху, заголовок под ним. */
@media (max-width: 760px) {
  .hero__scene { width: 820px; right: -300px; top: 58px; bottom: auto; margin-top: 0; opacity: 1; }
  .hero__shade { background: linear-gradient(180deg, #0A0F0Bcc 0%, transparent 13%, transparent 34%, #0A0F0Be0 50%, var(--bg) 60%); }
  .hero__inner { padding-top: 260px; }
  .hero__glow { top: 4%; right: -20%; width: 120vw; height: 120vw; }
}
@media (max-width: 420px) {
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero__fact { padding: 10px 12px; gap: 10px; border-radius: 14px; }
  .hero__fact b { font-size: 24px; }
  .hero__fact span { font-size: 11.5px; }
}
@media (max-width: 400px) { .hero__kicker { font-size: 11px; padding: 8px 12px 8px 10px; } }

/* Карточка слоёв — в нижнем правом углу, чтобы не закрывать концы трасс. */
@media (min-width: 1081px) {
  .scene-panel { bottom: 28px; }
  .hero__aside { margin-right: 384px; flex-direction: row; align-items: center; gap: 18px; }
}
@media (min-width: 1081px) and (max-width: 1640px) { .hero__fact--cycle { display: none; } }
