/* ЭкоЦентр — стили сайта.
   Палитра — от логотипа: графитовый текст и зелёный росток. Основа — тёмный лес и бумага,
   акцент — молодая листва. Шрифты: Inter Display (заголовки), Inter (текст), Lora Italic (акценты). */

@font-face { font-family: "Inter Display"; src: url(../fonts/inter-display-300.woff) format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url(../fonts/inter-display-400.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url(../fonts/inter-display-500.woff) format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url(../fonts/inter-display-600.woff) format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-400.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-500.woff) format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-600.woff) format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lora"; src: url(../fonts/lora-italic.woff) format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --paper: #F3F0E6;
  --paper-2: #E9E5D7;
  --card: #FBFAF5;
  --ink: #17231C;
  --ink-2: #4D5852;
  --ink-3: #7C8580;
  --line: rgba(23, 35, 28, .13);
  --line-strong: rgba(23, 35, 28, .26);

  --forest: #0D1F16;
  --forest-2: #13291D;
  --forest-3: #1D3B29;
  --moss: #4C7A1F;
  --leaf: #8DB33A;
  --lime: #C3E05A;
  --lime-2: #D6EC85;
  --water: #7FB5B0;
  --water-deep: #0F2A2A;
  --amber: #E2B13C;
  --on-dark: #EEF0E4;
  --on-dark-2: rgba(238, 240, 228, .68);
  --on-dark-3: rgba(238, 240, 228, .42);
  --line-dark: rgba(238, 240, 228, .14);

  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.2, .75, .15, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(20px, 4vw, 60px);
  --maxw: 1380px;
  --header-h: 84px;
  --r: 22px;
  --r-lg: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Зерно, как у печатной карты */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--forest); }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--lime); color: var(--forest); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.muted { color: var(--ink-3); }

/* ---------- Типографика ---------- */

.display, .display-2, .display-3, .h2, .h3 { font-family: var(--display); letter-spacing: -.035em; text-wrap: balance; }
.display { font-size: clamp(44px, 7.2vw, 124px); line-height: .95; font-weight: 400; letter-spacing: -.045em; }
.display-2 { font-size: clamp(40px, 6vw, 96px); line-height: .98; letter-spacing: -.04em; }
.display-3 { font-size: clamp(34px, 4.6vw, 70px); line-height: 1.02; }
.h2 { font-size: clamp(36px, 4.9vw, 76px); line-height: 1; }
.h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -.025em; }
.display em, .display-2 em, .display-3 em, .h2 em, .h3 em, .statement em, .quote em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--moss);
}
.dark .display em, .dark .display-2 em, .dark .display-3 em, .dark .h2 em, .dark .h3 em, .dark .statement em, .dark .quote em,
.hero em, .cta em, .platform em { color: var(--lime); }
.lead { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.dark .lead, .hero .lead, .cta .lead, .platform .lead { color: var(--on-dark-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font: 500 13px/1 var(--text);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--moss);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(141, 179, 58, .2); }
.eyebrow-light, .dark .eyebrow { color: var(--lime); }
.eyebrow-light::before, .dark .eyebrow::before { background: var(--lime); box-shadow: 0 0 0 4px rgba(195, 224, 90, .18); }

/* ---------- Кнопки и ссылки ---------- */

.btn {
  --h: 50px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--h);
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--forest);
  font: 500 16px/1 var(--text);
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(13, 31, 22, .06);
  transition: background .35s var(--ease), color .35s, transform .5s var(--ease), box-shadow .35s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.btn:hover { background: var(--lime-2); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-lg { --h: 62px; padding: 0 32px; font-size: 17px; }
.btn-sm { --h: 42px; padding: 0 20px; font-size: 15px; }
.btn-dark { background: var(--forest); color: var(--on-dark); }
.btn-dark:hover { background: var(--forest-3); }
.btn-line-light { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(238, 240, 228, .35); }
.btn-line-light:hover { background: rgba(238, 240, 228, .1); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-line:hover { background: var(--paper-2); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .4s var(--ease); }
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow:hover::after { transform: translateX(5px); }
.links { display: flex; flex-wrap: wrap; gap: 14px 32px; }

.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font: 500 13px/1 var(--text); letter-spacing: 0; vertical-align: middle; }
.pill-hot { background: var(--lime); color: var(--forest); }
.tag { display: inline-block; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }

/* ---------- Шапка ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--ink);
  transition: transform .5s var(--ease), background-color .4s, color .4s, box-shadow .4s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(243, 240, 230, .86);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity .4s;
}
.site-header.is-solid::before, .site-header.mega-open::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.on-dark:not(.is-solid):not(.mega-open) { color: var(--on-dark); }
.header-in { display: flex; align-items: center; gap: 28px; height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.logo { position: relative; display: block; flex: none; height: 64px; aspect-ratio: 480 / 244; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s; }
.logo .logo-light { opacity: 0; }
.site-header.on-dark:not(.is-solid):not(.mega-open) .logo-light { opacity: 1; }
.site-header.on-dark:not(.is-solid):not(.mega-open) .logo-dark { opacity: 0; }

.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav > ul > li > a {
  position: relative;
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background .3s;
}
.nav > ul > li > a:hover { background: rgba(127, 127, 110, .14); }
.nav > ul > li > a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--leaf); }
.on-dark:not(.is-solid):not(.mega-open) .nav > ul > li > a[aria-current="page"]::after { background: var(--lime); }

.mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  padding: 8px 0 40px;
  background: rgba(243, 240, 230, .97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -30px rgba(13, 31, 22, .35);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s, transform .45s var(--ease), visibility 0s .35s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: var(--maxw); margin: 0 auto; padding: 24px var(--gutter) 0; border-top: 1px solid var(--line); }
.mega-title { margin: 0 0 14px; font: 500 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--moss); }
.mega ul { margin: 0; padding: 0; list-style: none; }
.mega li a { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; text-decoration: none; font-size: 15px; line-height: 1.35; color: var(--ink-2); transition: color .2s; }
.mega li a:hover { color: var(--ink); }
.mega-abbr { flex: none; min-width: 58px; font: 500 13px/1.4 var(--display); color: var(--moss); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { font-weight: 500; font-size: 15.5px; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.burger { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(127, 127, 110, .16); cursor: pointer; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: currentColor; transition: transform .45s var(--ease), top .3s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--forest);
  color: var(--on-dark);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { margin: 0; padding: 0; list-style: none; }
.mobile-menu li { opacity: 0; transform: translateY(24px); animation: rise .7s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + 80ms); }
.mobile-menu li a { display: block; padding: 8px 0; font: 400 clamp(34px, 9vw, 52px)/1.1 var(--display); letter-spacing: -.035em; text-decoration: none; }
.mobile-menu li a[aria-current="page"] { color: var(--lime); }
.mobile-menu-foot { display: grid; gap: 12px; margin-top: 40px; color: var(--on-dark-2); }
.mobile-menu-foot a { text-decoration: none; }
.mobile-phone { font: 400 26px/1.2 var(--display); color: var(--on-dark); }
.mobile-menu-foot .btn { justify-self: start; margin-top: 8px; color: var(--forest); }
.menu-open .site-header { color: var(--on-dark); }
.menu-open .site-header::before { opacity: 0; }
.menu-open .logo-light { opacity: 1 !important; }
.menu-open .logo-dark { opacity: 0 !important; }
.menu-open { overflow: hidden; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Анимации появления ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(108%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.15s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }
.js [data-fill] .fw { opacity: .16; transition: opacity .4s; }
.js [data-fill] .fw.on { opacity: 1; }

/* ---------- Первый экран ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 120px) 0 150px;
  background: #0A1810;
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: 0; transition: opacity 2s; }
.gl-ready .hero-canvas { opacity: 1; }
.hero-fallback { position: absolute; inset: 0; z-index: -3; }
.hero-fallback img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.gl-ready .hero-fallback { display: none; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 15% 100%, rgba(10, 24, 16, .92) 0%, rgba(10, 24, 16, .35) 55%, rgba(10, 24, 16, 0) 80%),
    linear-gradient(90deg, rgba(10, 24, 16, .62) 0%, rgba(10, 24, 16, .25) 45%, rgba(10, 24, 16, 0) 70%),
    linear-gradient(180deg, rgba(10, 24, 16, .75) 0%, rgba(10, 24, 16, 0) 26%, rgba(10, 24, 16, 0) 60%, rgba(10, 24, 16, .7) 100%);
}
.hero-in { position: relative; }
.hero .display { max-width: 14.5ch; margin-bottom: clamp(32px, 4vw, 56px); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 560px) auto; align-items: end; justify-content: space-between; gap: 32px 60px; }
.hero-text { margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--on-dark-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hud { position: absolute; inset: calc(var(--header-h) + 28px) var(--gutter) auto; display: flex; justify-content: space-between; pointer-events: none; }
.hud p { margin: 0; font: 500 12px/1.6 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
.hud-tr { text-align: right; }
.hud-dot { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(195, 224, 90, .6); animation: ping 2.4s infinite; vertical-align: 1px; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(195, 224, 90, .55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(195, 224, 90, 0); } }

.scroll-cue { position: absolute; right: var(--gutter); bottom: 108px; width: 1px; height: 64px; background: var(--line-dark); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--lime); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }

.ticker { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 0; border-top: 1px solid var(--line-dark); overflow: hidden; }
.ticker-row { display: flex; align-items: center; gap: 36px; width: max-content; font: 300 clamp(22px, 2.2vw, 32px)/1 var(--display); letter-spacing: -.02em; color: var(--on-dark-2); will-change: transform; }
.ticker-row i { font-style: normal; font-size: .6em; color: var(--lime); }

/* ---------- Секции ---------- */

.section { position: relative; padding: clamp(76px, 8.5vw, 136px) 0; }
.section-tight { padding: 40px 0 clamp(80px, 9vw, 130px); }
.section.dark, .dark { background: var(--forest); color: var(--on-dark); }
.sec-head { max-width: 900px; margin-bottom: clamp(44px, 5.5vw, 80px); }
.sec-head .lead { margin-top: 26px; }
.sec-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 60px; max-width: none; }
.sec-head-row .lead { margin: 0; }
.sec-head-row > p { margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 6vw, 110px); align-items: start; }

/* Вступление и цифры */
.intro { padding-bottom: clamp(70px, 8vw, 120px); }
.statement { max-width: 24ch; margin: 0; font: 400 clamp(30px, 4.3vw, 66px)/1.1 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: clamp(70px, 9vw, 130px) 0 0; padding: 0; list-style: none; }
.stats li { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.stats strong { display: block; margin-bottom: 14px; font: 300 clamp(58px, 7vw, 112px)/.9 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stats span { display: block; max-width: 24ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }

/* Список услуг на главной */
.services-sec { padding-top: 40px; }
.svc-group + .svc-group { margin-top: clamp(60px, 7vw, 100px); }
.svc-group-head { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: baseline; padding-bottom: 22px; }
.svc-num { font: 500 13px/1 var(--text); letter-spacing: .1em; color: var(--ink-3); }
.svc-group-head h3 { font: 500 clamp(20px, 1.7vw, 24px)/1.2 var(--display); letter-spacing: -.02em; }
.svc-group-head p { margin: 0; color: var(--ink-3); }
.svc-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 290px) minmax(0, 1fr) 60px;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  isolation: isolate;
  transition: color .45s var(--ease), padding .55s var(--ease);
}
.svc-row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -.5); z-index: -1; border-radius: 18px; background: var(--forest); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease); }
.svc-abbr { font: 300 clamp(38px, 4.6vw, 74px)/1 var(--display); letter-spacing: -.045em; transition: color .45s; }
.svc-name strong { display: block; margin-bottom: 4px; font: 500 clamp(18px, 1.4vw, 21px)/1.3 var(--display); letter-spacing: -.015em; }
.svc-name span { display: block; max-width: 62ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; transition: color .45s; }
.svc-arrow { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line-strong); border-radius: 50%; transition: background .45s, border-color .45s, transform .55s var(--ease); }
.svc-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
  .svc-row:hover { color: var(--on-dark); padding-left: 24px; padding-right: 12px; }
  .svc-row:hover::before { transform: scaleY(1); }
  .svc-row:hover .svc-abbr { color: var(--lime); }
  .svc-row:hover .svc-name span { color: var(--on-dark-2); }
  .svc-row:hover .svc-arrow { background: var(--lime); border-color: var(--lime); color: var(--forest); transform: rotate(45deg); }
}
/* Растение, раскрывающееся вместе с прокруткой услуг */
.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .54fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: start;
}
.services-groups { min-width: 0; }
.services-bloom {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
  min-width: 0;
  z-index: 1;
}
.bloom-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: min(660px, calc(100vh - var(--header-h) - 58px));
  height: min(660px, calc(100svh - var(--header-h) - 58px));
  min-height: 450px;
  padding: 22px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(195, 224, 190, .16);
  border-radius: 24px;
  color: #eef0e4;
  background:
    radial-gradient(ellipse at 52% 48%, rgba(88, 129, 78, .22), transparent 57%),
    linear-gradient(155deg, #1a3527 0%, #10251a 58%, #0b1d14 100%);
  box-shadow: 0 24px 70px rgba(13, 31, 22, .10);
}
.bloom-card::before,
.bloom-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.bloom-card::before {
  inset: 12px;
  border: 1px solid rgba(238, 240, 228, .08);
  border-radius: 16px;
}
.bloom-card::after {
  width: 230px;
  height: 230px;
  right: -120px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(195, 224, 90, .08);
  filter: blur(35px);
}
.bloom-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: rgba(238, 240, 228, .62);
  font: 500 10px/1.2 var(--text);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.bloom-topline span:last-child {
  color: #c3e05a;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}
.bloom-visual {
  position: relative;
  flex: 1 1 auto;
  min-height: 220px;
  margin: 12px -10px 10px;
  overflow: hidden;
  border-radius: 16px;
  background: radial-gradient(ellipse at center, rgba(98, 132, 78, .14), transparent 72%);
}
.bloom-scroll-video,
.bloom-mobile-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  mix-blend-mode: screen;
}
.bloom-mobile-still { display: none; }
.bloom-foot { display: grid; gap: 15px; }
.bloom-foot p {
  max-width: 25ch;
  margin: 0;
  font: 400 clamp(19px, 1.8vw, 25px)/1.2 var(--display);
  letter-spacing: -.025em;
}
.bloom-foot p em {
  color: #c3e05a;
  font-family: var(--serif);
  font-weight: 400;
}
.bloom-progress-track {
  height: 2px;
  overflow: hidden;
  background: rgba(238, 240, 228, .18);
}
.bloom-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #c3e05a;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
.bloom-scroll-label {
  margin: 0;
  color: rgba(238, 240, 228, .48);
  font-size: 11px;
  line-height: 1.3;
}
.services-bloom.is-static .bloom-scroll-video { display: none; }
.services-bloom.is-static .bloom-mobile-still { display: block; }
.services-bloom.is-static .bloom-progress-track,
.services-bloom.is-static .bloom-scroll-label { display: none; }
html:not(.js) .bloom-scroll-video { display: none; }
html:not(.js) .bloom-mobile-still { display: block; }

@media (max-width: 1100px) {
  .services-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .services-bloom {
    position: relative;
    top: auto;
    grid-row: 1;
    width: 100%;
    max-width: 660px;
    margin: 0 auto clamp(34px, 5vw, 58px);
  }
  .services-groups { grid-row: 2; }
  .bloom-card {
    display: grid;
    grid-template-columns: minmax(145px, .78fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 12px 20px;
    height: auto;
    min-height: 0;
    padding: 18px;
  }
  .bloom-topline { grid-column: 1 / -1; }
  .bloom-visual {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 1 / 1.08;
    min-height: 0;
    margin: 0;
  }
  .bloom-scroll-video { display: none; }
  .bloom-mobile-still { display: block; }
  .bloom-foot {
    grid-column: 2;
    grid-row: 2;
    align-content: center;
    gap: 16px;
  }
  .bloom-foot p { font-size: clamp(19px, 2.7vw, 25px); }
  .bloom-progress-track,
  .bloom-scroll-label { display: none; }
}
@media (max-width: 760px) {
  .bloom-card { grid-template-columns: minmax(96px, .72fr) minmax(0, 1.28fr); gap: 10px 15px; padding: 16px; border-radius: 19px; }
  .bloom-card::before { inset: 9px; border-radius: 13px; }
  .bloom-topline { font-size: 9px; }
  .bloom-visual { aspect-ratio: 1 / 1.2; }
  .bloom-foot p { font-size: clamp(17px, 4.8vw, 21px); }
}

/* Аутсорсинг */
.outsourcing { overflow: hidden; isolation: isolate; }
.outsourcing-art { position: absolute; inset: -10% 0; z-index: -1; opacity: .26; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%); }
.outsourcing-art img { width: 100%; height: 100%; object-fit: cover; }
.outsourcing .lead { margin: 28px 0 36px; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.4; }
.dark .check-list li, .platform .check-list li { border-color: var(--line-dark); }
.check-list li:first-child { border-top: 1px solid var(--line); }
.dark .check-list li:first-child, .platform .check-list li:first-child { border-top-color: var(--line-dark); }
.check-list svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: rgba(195, 224, 90, .14); fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.check-list-sm li { padding: 14px 0; font-size: 16.5px; }
.quote { max-width: 1100px; margin: clamp(90px, 11vw, 160px) 0 0; }
.quote-mark { width: 54px; margin-bottom: 30px; fill: var(--lime); }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font: italic 400 clamp(28px, 3.5vw, 54px)/1.18 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.quote figcaption { margin-top: 30px; font: 500 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }

/* Гидрология */
.grid-river { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
.river-sec .lead { margin: 28px 0 32px; }
.river {
  margin: 0;
  padding: clamp(20px, 2.5vw, 34px);
  border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 80% 0%, #17403E 0%, var(--water-deep) 60%);
  color: var(--on-dark);
  box-shadow: 0 40px 80px -40px rgba(15, 42, 42, .6);
}
.river svg { width: 100%; height: auto; overflow: visible; }
.river text { fill: var(--on-dark-2); font: 500 11px var(--text); font-variant-numeric: tabular-nums; }
.rv-soil { color: var(--on-dark); }
.rv-bed { color: var(--on-dark); stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.2s var(--ease-in-out); }
.rv-water { transform: translateY(190px); transition: transform 1.8s var(--ease) .6s; }
.rv-wave { animation: wave 3.5s linear infinite; }
@keyframes wave { to { transform: translateX(-60px); } }
.rv-width { opacity: 0; transition: opacity .8s 1.8s; }
.rv-width text { fill: var(--lime); font-size: 13px; }
.rv-v { opacity: 0; transform: translateY(-14px); transition: opacity .6s, transform .8s var(--ease); transition-delay: calc(1.6s + var(--i) * 120ms); }
.rv-v line { stroke: var(--lime); stroke-dasharray: 3 4; }
.rv-v circle { fill: none; stroke: var(--on-dark); stroke-width: 1.2; }
.rv-v .rv-dot { fill: var(--on-dark); stroke: none; }
.rv-v .rv-h { fill: var(--lime); }
.river.is-in .rv-bed { stroke-dashoffset: 0; }
.river.is-in .rv-water { transform: none; }
.river.is-in .rv-width, .river.is-in .rv-v { opacity: 1; transform: none; }
.river-readout { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--on-dark-2); }
.river-readout span { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-3); }
.river-readout strong { font: 300 clamp(28px, 2.6vw, 40px)/1 var(--display); letter-spacing: -.03em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.river-note { grid-column: 1 / -1; margin: 4px 0 0; font-size: 13px; color: var(--on-dark-3); }

/* Календарь сроков */
.calendar-sec { background: var(--paper-2); }
.cal { display: grid; gap: clamp(36px, 4vw, 56px); }
.cal-next { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px 28px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--forest); color: var(--on-dark); }
.cal-next p { margin: 0; }
.cal-next-label { font: 500 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.cal-next-title { font: 400 clamp(26px, 2.8vw, 42px)/1.05 var(--display); letter-spacing: -.03em; }
.cal-next-date { font-size: 18px; color: var(--on-dark-2); white-space: nowrap; }
.cal-next-date .pill { margin-left: 10px; background: rgba(238, 240, 228, .12); color: var(--on-dark); }
.cal-next-date .pill-hot { background: var(--lime); color: var(--forest); }
.cal-track { position: relative; height: 110px; }
.cal-line { position: absolute; left: 0; right: 0; top: 54px; height: 2px; background: var(--line-strong); border-radius: 2px; overflow: hidden; }
.cal-progress { position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--moss); transform-origin: 0 0; transform: scaleX(0); transition: transform 1.8s var(--ease-in-out) .3s; }
.cal-track.is-in .cal-progress { transform: none; }
.cal-months { position: absolute; inset: 72px 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); margin: 0; padding: 0; list-style: none; }
.cal-months li { padding-left: 6px; border-left: 1px solid var(--line-strong); font-size: 13px; color: var(--ink-3); text-transform: capitalize; }
.cal-mark { position: absolute; left: var(--x); top: 47px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px var(--paper-2), 0 0 0 5px var(--moss); cursor: default; }
.cal-tip { position: absolute; bottom: calc(100% + 14px); left: 50%; width: max-content; max-width: 240px; padding: 10px 12px; border-radius: 12px; background: var(--forest); color: var(--on-dark); font-size: 13px; line-height: 1.35; transform: translate(-50%, 6px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease); }
.cal-tip b { display: block; margin-bottom: 2px; color: var(--lime); font-weight: 500; }
.cal-mark:hover .cal-tip, .cal-mark:focus .cal-tip { opacity: 1; transform: translate(-50%, 0); }
.cal-mark.is-end .cal-tip { left: auto; right: -10px; transform: translate(0, 6px); }
.cal-mark.is-start .cal-tip { left: -10px; transform: translate(0, 6px); }
.cal-mark.is-end:hover .cal-tip, .cal-mark.is-start:hover .cal-tip { transform: none; }
.cal-today { position: absolute; left: var(--x); top: 22px; height: 40px; border-left: 1.5px dashed var(--ink); }
.cal-today span { position: absolute; top: -6px; left: 6px; font: 500 11px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.cal-list { margin: 0; padding: 0; list-style: none; }
.cal-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr) 220px 110px; gap: 24px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line-strong); }
.cal-date { font-size: 14px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.cal-date b { display: inline-block; min-width: 1.4em; margin-right: 8px; font: 300 44px/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.cal-what strong { display: block; font: 500 19px/1.3 var(--display); letter-spacing: -.01em; }
.cal-what span { display: block; color: var(--ink-2); font-size: 14.5px; }
.cal-who { color: var(--ink-2); font-size: 14.5px; }
.cal-days { justify-self: end; font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Процесс */
.process-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); }
.process-aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.process-counter { display: flex; align-items: baseline; gap: 10px; margin: 48px 0 18px; font: 200 clamp(90px, 11vw, 180px)/.85 var(--display); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.process-counter i { font-style: normal; font-size: .35em; color: var(--ink-3); }
.process-counter span { display: inline-block; min-width: 1.15em; }
.process-bar { height: 2px; max-width: 360px; background: var(--line-strong); overflow: hidden; }
.process-bar span { display: block; height: 100%; background: var(--moss); transform-origin: 0 0; transform: scaleX(var(--p, .2)); transition: transform .6s var(--ease); }
.process-steps { margin: 0; padding: 0; list-style: none; }
.process-steps li { padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line-strong); opacity: .32; transition: opacity .6s; }
.process-steps li.is-active, .no-js .process-steps li { opacity: 1; }
.process-n { display: block; margin-bottom: 18px; font: 500 13px/1 var(--text); letter-spacing: .12em; color: var(--moss); }
.process-steps h3 { margin-bottom: 14px; font: 400 clamp(28px, 2.9vw, 44px)/1.05 var(--display); letter-spacing: -.03em; }
.process-steps p { max-width: 48ch; margin: 0; color: var(--ink-2); font-size: 18px; }

/* Платформа */
.platform-sec { padding-top: 0; }
.platform { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; padding: clamp(32px, 6vw, 90px); border-radius: clamp(24px, 3vw, 40px); background: radial-gradient(90% 120% at 100% 0%, #24492F 0%, var(--forest) 55%); color: var(--on-dark); overflow: hidden; }
.platform .lead { margin: 26px 0 30px; }
.platform-ui { padding: 0 0 18px; border-radius: 20px; background: #091510; border: 1px solid var(--line-dark); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7); font-size: 14px; }
.ui-bar { display: flex; align-items: center; gap: 7px; padding: 16px 18px; border-bottom: 1px solid var(--line-dark); color: var(--on-dark-3); font-size: 12.5px; }
.ui-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(238, 240, 228, .16); }
.ui-bar span { margin-left: 10px; }
.ui-checks { margin: 0; padding: 8px 18px; list-style: none; }
.ui-checks li { display: grid; grid-template-columns: 26px 150px 1fr; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateX(-12px); transition: opacity .5s, transform .6s var(--ease); }
.platform-ui.is-in .ui-checks li { opacity: 1; transform: none; }
.ui-checks li:nth-child(2) { transition-delay: .25s; } .ui-checks li:nth-child(3) { transition-delay: .5s; } .ui-checks li:nth-child(4) { transition-delay: .75s; } .ui-checks li:nth-child(5) { transition-delay: 1s; }
.ui-checks li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(195, 224, 90, .16); color: var(--lime); font-size: 12px; font-weight: 600; }
.ui-checks li.warn::before { content: "!"; background: rgba(226, 177, 60, .18); color: var(--amber); }
.ui-checks b { font-weight: 500; color: var(--on-dark); }
.ui-checks span { color: var(--on-dark-3); font-size: 13px; }
.ui-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px 0; color: var(--on-dark-3); font-size: 13px; }
.ui-foot b { color: var(--on-dark); font-weight: 500; }
.ui-badge { padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--forest); font-weight: 600; font-size: 12.5px; }

/* Отрасли — бегущие строки */
.industries { padding-top: clamp(30px, 4vw, 60px); overflow: hidden; }
.industries .sec-head { margin-bottom: 40px; }
.chips-marquee { display: grid; gap: 14px; }
.chips-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.chips-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.chips-row.is-reverse .chips-track { animation-direction: reverse; animation-duration: 70s; }
.chip { padding: 16px 26px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); font: 400 clamp(17px, 1.5vw, 22px)/1 var(--display); letter-spacing: -.015em; white-space: nowrap; }
.chips-row:nth-child(2) .chip:nth-child(3n) { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.chips-row:nth-child(1) .chip:nth-child(4n+2) { background: var(--lime); border-color: var(--lime); }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* Карточки */
.cards { display: grid; gap: clamp(16px, 2vw, 28px); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(13, 31, 22, .35); border-color: transparent; }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--forest); }
.card-media img, .card-media picture { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-abbr { position: absolute; left: 22px; bottom: 16px; font: 300 clamp(38px, 3.6vw, 56px)/1 var(--display); letter-spacing: -.045em; color: var(--on-dark); text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.card-result { position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 10px 14px; border-radius: 12px; background: rgba(243, 240, 230, .94); font-size: 14px; font-weight: 500; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.card-body h3 { margin-bottom: 10px; font: 500 21px/1.25 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.card-body > p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.card-meta { margin: 0 0 10px !important; font-size: 13.5px; color: var(--ink-3) !important; }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; font-weight: 500; font-size: 15px; color: var(--moss); }
.card-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.card:hover .card-more svg { transform: translateX(5px); }

/* Вопросы */
.grid-faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.faq { border-bottom: 1px solid var(--line-strong); }
.faq-item { border-top: 1px solid var(--line-strong); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font: 500 clamp(18px, 1.45vw, 21px)/1.35 var(--display); letter-spacing: -.015em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background .3s, transform .5s var(--ease); }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i { background: var(--lime); border-color: var(--lime); transform: rotate(180deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-a { padding: 0 60px 26px 0; color: var(--ink-2); }
.faq-a p:last-child { margin: 0; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: hidden; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}

/* Отзывы */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.review { margin: 0; padding: 32px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.review blockquote { margin: 0 0 24px; font: italic 400 20px/1.45 var(--serif); }
.review figcaption strong { display: block; font-weight: 500; }
.review figcaption span { color: var(--ink-3); font-size: 15px; }
.review-scan { display: block; margin-bottom: 20px; border-radius: 12px; overflow: hidden; text-decoration: none; }
.review-scan span { display: block; padding: 8px 0 0; font-size: 14px; color: var(--moss); }

/* Заявка */
.cta { position: relative; padding: clamp(100px, 12vw, 180px) 0; color: var(--on-dark); background: var(--forest); overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg picture, .cta-bg img { width: 100%; height: 120%; object-fit: cover; margin-top: -10%; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 24, 16, .94) 0%, rgba(10, 24, 16, .86) 45%, rgba(10, 24, 16, .55) 100%); }
.cta-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.cta-text { position: sticky; top: calc(var(--header-h) + 40px); }
.cta .lead { margin: 26px 0 36px; }
.cta-contacts { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.cta-contacts span { display: block; margin-bottom: 2px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.cta-contacts a { font: 400 clamp(22px, 2vw, 30px)/1.2 var(--display); letter-spacing: -.02em; text-decoration: none; }
.cta-contacts a:hover { color: var(--lime); }
.cta-form { padding: clamp(24px, 3.4vw, 46px); border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .6); }

.lead-form { position: relative; }
.lead-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.fld { display: grid; gap: 7px; }
.fld-wide { grid-column: 1 / -1; }
.fld > span { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.fld > span em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.fld input, .fld select, .fld textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--card);
  font-size: 16px;
  transition: border-color .25s, box-shadow .25s, background .25s;
  -webkit-appearance: none;
  appearance: none;
}
.fld select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2317231C' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.fld textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--ink-3); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--moss); background: #fff; box-shadow: 0 0 0 4px rgba(141, 179, 58, .22); }
.fld input::placeholder, .fld textarea::placeholder { color: var(--ink-3); opacity: .8; }
.fld .is-invalid, .fld [aria-invalid="true"] { border-color: #B33A26; box-shadow: 0 0 0 4px rgba(179, 58, 38, .12); }
.fld-err { display: block; min-height: 0; color: #B33A26; font-size: 13.5px; }
.fld-err:empty { display: none; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 22px 0 6px; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; border: 1.5px solid var(--ink-3); border-radius: 6px; background: var(--card); -webkit-appearance: none; appearance: none; cursor: pointer; transition: background .2s, border-color .2s; }
.consent input:checked { background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' fill='none'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center no-repeat; border-color: var(--moss); }
.consent a { color: var(--moss); }
.lead-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 22px; }
.lead-submit .btn { background: var(--forest); color: var(--on-dark); }
.lead-submit .btn:hover { background: var(--forest-3); }
.lead-submit .btn[disabled] { opacity: .6; pointer-events: none; }
.lead-note { margin: 0; font-size: 14px; color: var(--ink-3); }
.lead-note a { color: var(--ink); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-done { display: none; padding: 40px 0 20px; text-align: center; }
.lead-done-title { margin: 22px 0 8px; font: 400 34px/1.1 var(--display); letter-spacing: -.03em; }
.lead-done p:last-child { color: var(--ink-2); max-width: 36ch; margin: 0 auto; }
.lead-done-mark svg { width: 84px; height: 84px; margin: 0 auto; fill: none; stroke: var(--moss); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lead-done-mark circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s var(--ease) forwards; }
.lead-done-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead-form.is-sent > :not(.lead-done) { display: none; }
.lead-form.is-sent .lead-done { display: block; }

/* ---------- Внутренние страницы ---------- */

.page-hero { position: relative; padding: calc(var(--header-h) + clamp(60px, 9vw, 130px)) 0 clamp(50px, 6vw, 90px); overflow: hidden; isolation: isolate; }
.page-hero.dark { padding-bottom: clamp(70px, 8vw, 120px); }
.page-hero-art { position: absolute; inset: 0; z-index: -1; }
.page-hero-art img, .page-hero-art picture { width: 100%; height: 115%; object-fit: cover; }
.page-hero-art img:not(.page-hero-photo) { opacity: .5; }
.page-hero.dark .page-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 24, 16, .55) 0%, rgba(10, 24, 16, .25) 40%, rgba(13, 31, 22, .9) 100%), linear-gradient(90deg, rgba(10, 24, 16, .8) 0%, rgba(10, 24, 16, 0) 70%); }
.page-hero-in { position: relative; }
.page-hero-in > .lead { margin-top: 28px; }
.page-hero-narrow { max-width: 1000px; }
.svc-hero-abbr { position: absolute; right: calc(var(--gutter) - .06em); bottom: -.16em; z-index: -1; margin: 0; font: 200 clamp(110px, 22vw, 380px)/1 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.2px rgba(195, 224, 90, .45); pointer-events: none; white-space: nowrap; }
.svc-hero .display-2 { max-width: 16ch; }
.svc-hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; margin-top: 44px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0; padding: 0; list-style: none; color: var(--on-dark); font-size: 15.5px; }
.facts span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }

.crumbs { margin-bottom: clamp(30px, 4vw, 48px); font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li { color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.dark .crumbs li, .dark .crumbs a { color: var(--on-dark-3); }
.dark .crumbs a:hover { color: var(--on-dark); }

.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.cat-nav a { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-dark); text-decoration: none; font-size: 15px; transition: background .3s, color .3s; }
.cat-nav a:hover { background: var(--lime); color: var(--forest); border-color: var(--lime); }
.cat-nav sup { margin-left: 4px; font-size: 11px; opacity: .6; }
.svc-cat + .svc-cat { padding-top: 0; }

/* Страница услуги */
.svc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); }
.svc-aside { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; display: grid; gap: 28px; }
.toc { display: grid; border-left: 1px solid var(--line-strong); }
.toc a { position: relative; padding: 9px 0 9px 20px; color: var(--ink-3); text-decoration: none; font-size: 15px; transition: color .3s; }
.toc a::before { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 2px; background: var(--moss); transform: scaleY(0); transition: transform .4s var(--ease); }
.toc a:hover, .toc a.is-active { color: var(--ink); }
.toc a.is-active::before { transform: none; }
.aside-card { display: grid; gap: 14px; padding: 22px; border-radius: 18px; background: var(--forest); color: var(--on-dark); }
.aside-card p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--on-dark-2); }
.aside-card .btn { justify-self: start; }
.aside-phone { color: var(--on-dark); text-decoration: none; font-weight: 500; }
.svc-block { margin-top: clamp(64px, 7vw, 100px); }
.svc-block > .h3 { margin-bottom: 30px; }
.svc-widget .river { margin: 0; }
.prose-lead { font: 400 clamp(21px, 1.8vw, 27px)/1.45 var(--display); letter-spacing: -.015em; color: var(--ink) !important; }
.dash-list { margin: 0; padding: 0; list-style: none; }
.dash-list li { position: relative; padding: 16px 0 16px 46px; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.45; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 29px; width: 26px; height: 1.5px; background: var(--moss); }
.includes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: inc; }
.includes li { display: grid; gap: 14px; align-content: start; min-height: 130px; padding: 22px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: 17px; line-height: 1.4; transition: background .4s, color .4s; }
.includes li span { font: 500 13px/1 var(--text); letter-spacing: .1em; color: var(--moss); }
.includes li:hover { background: var(--forest); color: var(--on-dark); }
.includes li:hover span { color: var(--lime); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; overflow: hidden; }
.steps li { position: relative; padding-top: 64px; }
.steps li::before { content: ""; position: absolute; left: 44px; right: -24px; top: 21px; height: 1px; background: var(--line-strong); }
.steps li:last-child::before { display: none; }
.steps-n { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); font: 500 16px/1 var(--display); }
.steps strong { display: block; margin-bottom: 8px; font: 500 19px/1.3 var(--display); letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.docs-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.docs-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding: 18px 20px; border-radius: 16px; border: 1px dashed var(--line-strong); font-size: 16px; line-height: 1.4; }
.docs-list svg { width: 22px; height: 22px; fill: none; stroke: var(--moss); stroke-width: 1.5; stroke-linejoin: round; }
.legal { margin-top: clamp(50px, 6vw, 80px); padding: 22px 26px; border-left: 3px solid var(--lime); background: var(--paper-2); border-radius: 0 16px 16px 0; }
.legal span { display: block; margin-bottom: 6px; font: 500 12px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--moss); }
.legal p { margin: 0; color: var(--ink-2); font-size: 15px; }
.related { background: var(--paper-2); }

/* Текст из редактора */
.prose { max-width: 74ch; }
.prose-lg { font-size: 18px; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.prose h2 { margin: 1.8em 0 .6em; font: 400 clamp(26px, 2.4vw, 36px)/1.15 var(--display); letter-spacing: -.025em; }
.prose h3 { margin: 1.6em 0 .5em; font: 500 22px/1.25 var(--display); letter-spacing: -.015em; }
.prose h4 { margin: 1.4em 0 .4em; font: 600 18px/1.3 var(--text); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; color: var(--ink-2); }
.prose li { margin: .35em 0; padding-left: .3em; }
.prose ul li::marker { color: var(--moss); }
.prose a { color: var(--moss); text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--lime); font: italic 400 1.2em/1.5 var(--serif); color: var(--ink); }
.prose img { border-radius: 16px; margin: 1.5em 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.prose table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; background: var(--paper-2); }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); margin: 2.4em 0; }
.prose-article, .prose-page { margin: 0 auto; }
.page-cover { margin-bottom: clamp(40px, 5vw, 70px); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; }
.page-cover img, .page-cover picture { width: 100%; height: 100%; object-fit: cover; }
.page-updated { max-width: 74ch; margin: 40px auto 0; font-size: 14px; }
.article-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); }
.article-facts { display: grid; gap: 18px; align-content: start; position: sticky; top: calc(var(--header-h) + 30px); }
.article-facts span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.article-facts strong { font-weight: 500; }
.empty { padding: 60px 0; font: 400 26px/1.3 var(--display); color: var(--ink-3); }
.pager { display: flex; gap: 8px; margin-top: 50px; }
.pager a { display: grid; place-items: center; min-width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); text-decoration: none; }
.pager a[aria-current] { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }

/* О компании */
.about-hero .lead { max-width: 56ch; }
.about-story { align-items: start; }
.about-years strong { display: block; font: 200 clamp(130px, 18vw, 280px)/.8 var(--display); letter-spacing: -.07em; color: var(--moss); }
.about-years span { display: block; margin-top: 24px; font: 400 clamp(20px, 1.8vw, 26px)/1.25 var(--display); letter-spacing: -.02em; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.principles li { padding: 32px 28px 10px 0; }
.principles li + li { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.principles span { display: block; margin-bottom: 50px; font: 500 13px/1 var(--text); color: var(--lime); letter-spacing: .1em; }
.principles h3 { margin-bottom: 12px; font: 400 clamp(22px, 2vw, 28px)/1.15 var(--display); letter-spacing: -.02em; }
.principles p { color: var(--on-dark-2); font-size: 16px; }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; padding: 40px 32px 0 0; border-top: 1px solid var(--line-strong); }
.timeline li::before { content: ""; position: absolute; left: 0; top: -7px; width: 13px; height: 13px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px var(--paper); }
.timeline strong { display: block; margin-bottom: 14px; font: 300 clamp(44px, 4.6vw, 70px)/1 var(--display); letter-spacing: -.045em; }
.timeline p { color: var(--ink-2); max-width: 32ch; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 30px 24px; }
.person { margin: 0; }
.person-photo { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--paper-2); margin-bottom: 16px; }
.person-photo img, .person-photo picture { width: 100%; height: 100%; object-fit: cover; }
.person-initials { display: grid; place-items: center; height: 100%; font: 200 120px/1 var(--display); color: var(--moss); }
.person strong { display: block; font: 500 19px/1.3 var(--display); }
.person span { color: var(--ink-3); font-size: 15px; }
.person p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.documents { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.document { display: grid; gap: 8px; text-decoration: none; }
.document-preview { display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.document-preview svg { width: 48px; fill: none; stroke: var(--moss); stroke-width: 1.2; }
.document-preview img { width: 100%; height: 100%; object-fit: cover; }
.document:hover .document-preview { transform: translateY(-5px); box-shadow: 0 24px 50px -25px rgba(13, 31, 22, .4); }
.document strong { font-weight: 500; }
.document span { font-size: 14px; color: var(--ink-3); }
.requisites { display: grid; grid-template-columns: 220px 1fr; gap: 14px 24px; margin: 0; }
.requisites dt { color: var(--ink-3); }
.requisites dd { margin: 0; }

/* Контакты */
.contacts-sec { padding-top: 20px; }
.contacts-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contacts-info { display: grid; gap: 34px; }
.contact-item > span { display: block; margin-bottom: 6px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contact-item a { display: block; text-decoration: none; }
.contact-item .link-arrow { display: inline-flex; margin-top: 6px; }
.contact-item p { margin: 0 0 6px; font-size: 19px; }
.contact-big { font: 400 clamp(28px, 2.8vw, 42px)/1.15 var(--display); letter-spacing: -.03em; word-break: break-word; }
.contact-big:hover { color: var(--moss); }
.map-card { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; }
.map-card img { width: 100%; height: 100%; object-fit: cover; }
.map-pin { position: absolute; left: 50%; top: 50%; display: grid; justify-items: center; gap: 10px; transform: translate(-50%, -100%); }
.map-pin i { width: 22px; height: 22px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 6px rgba(13, 31, 22, .18), 0 0 0 16px rgba(13, 31, 22, .08); animation: ping-dark 2.6s infinite; }
.map-pin b { padding: 8px 14px; border-radius: 999px; background: var(--forest); color: var(--on-dark); font-weight: 500; font-size: 14px; white-space: nowrap; }
@keyframes ping-dark { 0% { box-shadow: 0 0 0 0 rgba(13, 31, 22, .35); } 70%, 100% { box-shadow: 0 0 0 22px rgba(13, 31, 22, 0); } }
.contacts-form { padding: clamp(24px, 3.4vw, 46px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.contacts-form .h3 { margin-bottom: 10px; }

/* Ошибка */
.error-page { position: relative; display: flex; align-items: center; min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; isolation: isolate; }
.error-art { position: absolute; inset: 0; z-index: -1; opacity: .6; }
.error-art img { width: 100%; height: 100%; object-fit: cover; }
.error-code { margin: 0; font: 200 clamp(120px, 24vw, 340px)/.85 var(--display); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px var(--lime); }
.error-page .lead { margin: 24px 0 36px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-error .site-footer { display: none; }

/* ---------- Подвал ---------- */

.site-footer { position: relative; padding: clamp(80px, 9vw, 130px) 0 34px; background: #091510; color: var(--on-dark); overflow: hidden; isolation: isolate; }
.footer-topo { position: absolute; inset: 0; z-index: -1; opacity: .2; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%); mask-image: linear-gradient(180deg, transparent 0%, #000 60%); }
.footer-topo img { width: 100%; height: 100%; object-fit: cover; }
.footer-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 100px); }
.footer-brand .logo { height: 76px; margin-bottom: 26px; }
.footer-brand .logo img { position: static; }
.footer-brand p { max-width: 38ch; color: var(--on-dark-2); }
.footer-big { margin-top: 36px !important; }
.footer-big a { font: 400 clamp(28px, 2.6vw, 40px)/1.1 var(--display); letter-spacing: -.03em; color: var(--lime); text-decoration: none; }
.footer-big a span { display: inline-block; transition: transform .4s var(--ease); }
.footer-big a:hover span { transform: translateX(8px); }
.footer-cols { display: grid; grid-template-columns: 1.1fr 1.3fr .8fr 1.2fr; gap: 32px; }
.footer-title { margin: 0 0 18px; font: 500 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.footer-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-cols a { color: var(--on-dark-2); text-decoration: none; font-size: 15px; line-height: 1.4; transition: color .2s; }
.footer-cols a:hover { color: var(--lime); }
.footer-contacts li { color: var(--on-dark-2); font-size: 15px; }
.footer-phone { font: 400 20px/1.2 var(--display) !important; color: var(--on-dark) !important; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.footer-socials a { font-size: 14px; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; margin-top: clamp(60px, 7vw, 100px); padding-top: 26px; font-size: 13.5px; color: var(--on-dark-3); }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line-dark); }
.footer-chips { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.footer-chips a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 14px; }
.footer-chips a:hover { border-color: var(--lime); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--on-dark-2); }

/* Согласие на cookie */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 16px; max-width: 470px; padding: 16px 16px 16px 22px; border-radius: 18px; background: var(--forest); color: var(--on-dark-2); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .45); font-size: 14px; line-height: 1.45; animation: rise .7s var(--ease) both; transform: translateY(20px); opacity: 0; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie a { color: var(--on-dark); }

/* ---------- Адаптив ---------- */

@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-in { grid-template-columns: 1fr; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles li:nth-child(3) { padding-left: 0; border-left: 0; }
  .cal-list li { grid-template-columns: 100px minmax(0, 1fr) 110px; }
  .cal-who { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .logo { height: 48px; }
  .header-phone { display: none; }
  .grid-2, .grid-river, .grid-faq, .process-in, .cta-in, .contacts-grid, .svc-layout, .article-grid, .platform { grid-template-columns: minmax(0, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-bottom { grid-template-columns: 1fr; }
  .process-aside, .cta-text, .svc-aside, .article-facts { position: static; }
  .process-counter { display: none; }
  .process-bar { display: none; }
  .process-steps li { opacity: 1; }
  .svc-aside .toc { display: none; }
  .svc-group-head { grid-template-columns: 50px 1fr; }
  .svc-group-head p { grid-column: 2; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-next { grid-template-columns: 1fr; }
  .river-readout { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-cta { display: none; }
  .hud-tr { display: none; }
  .hero { padding-bottom: 120px; }
  .hero .display { font-size: clamp(40px, 11.5vw, 60px); }
  .hero-actions .btn { flex: 1 1 auto; }
  .scroll-cue { display: none; }
  .svc-row { grid-template-columns: minmax(0, 1fr) 44px; gap: 8px 16px; padding: 22px 0; }
  .svc-abbr { grid-column: 1 / -1; font-size: 34px; }
  .svc-arrow { width: 44px; height: 44px; grid-row: 2; grid-column: 2; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .cards-3, .includes, .docs-list { grid-template-columns: minmax(0, 1fr); }
  .lead-fields { grid-template-columns: 1fr; }
  .cal-list li { grid-template-columns: 74px minmax(0, 1fr); }
  .cal-days { grid-column: 2; justify-self: start; }
  .cal-date b { font-size: 34px; display: block; }
  .cal-track { height: 100px; }
  .cal-months li { font-size: 10.5px; padding-left: 3px; }
  .principles { grid-template-columns: 1fr; }
  .principles li { padding-left: 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line-dark); padding-bottom: 24px; }
  .principles span { margin-bottom: 18px; }
  .footer-cols { grid-template-columns: 1fr; }
  .requisites { grid-template-columns: 1fr; gap: 2px; }
  .requisites dd { margin-bottom: 12px; }
  .ui-checks li { grid-template-columns: 26px 1fr; }
  .ui-checks span { grid-column: 2; }
  .faq-a { padding-right: 0; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 12px 12px 12px 16px; font-size: 12.5px; }
  .page-cover { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1; transform: none; }
  .js [data-fill] .fw { opacity: 1; }
  .chips-track, .ticker-row { animation: none; }
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .35s var(--ease) both vt-out; }
::view-transition-new(root) { animation: .55s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

@media print {
  .site-header, .site-footer, .cta, .cookie, .hero-canvas, .ticker { display: none !important; }
  body::after { display: none; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1 !important; transform: none !important; }
}

/* --- фото-версия: hero, фото групп услуг, аутсорсинг --- */
.hero-photo { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 34% 50%; transform: scale(1.1); animation: heroZoom 26s cubic-bezier(.2, .6, .2, 1) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-photo img { animation: none; transform: none; } }
.svc-photo { position: relative; aspect-ratio: 16 / 6.5; border-radius: 26px; overflow: hidden; margin-bottom: clamp(26px, 3vw, 40px); background: var(--forest); }
.svc-photo img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; margin: 0; object-fit: cover; }
@media (max-width: 720px) { .svc-photo { aspect-ratio: 16 / 10; border-radius: 18px; } }
.outsourcing-art { opacity: .5; }

/* --- эффекты: дым по всему сайту, видео-фон в блоке для постоянных заказчиков --- */
.site-smoke { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; height: 100lvh; pointer-events: none; z-index: 6; }
.outsourcing-art { inset: 0; opacity: 1; -webkit-mask-image: none; mask-image: none; background: #0A1810 url(../img/rain-tall.webp) center / cover no-repeat; }
.outsourcing-art::after { content: ""; position: absolute; inset: 0; background: rgba(10, 24, 16, .72); }
@media (min-width: 901px) {
  .outsourcing-art { background-image: url(../img/rain-wide.webp); }
  .outsourcing-art::after { background: linear-gradient(90deg, rgba(10, 24, 16, .9) 0%, rgba(10, 24, 16, .66) 55%, rgba(10, 24, 16, .42) 100%); }
}
.out-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.outsourcing { position: relative; }
.out-vtoggle { position: absolute; right: 20px; bottom: 20px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(243, 240, 230, .4); background: rgba(10, 24, 16, .5); color: #F3F0E6; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.out-vtoggle[hidden] { display: none; }
.out-vtoggle[data-state="on"] .ic-play, .out-vtoggle[data-state="off"] .ic-pause { display: none; }

/* --- админка: видео-баннеры и затемнение --- */
.hero-photo video, .page-hero-art video { width: 100%; height: 100%; object-fit: cover; }
.page-hero-art video { height: 115%; }
.pg-dim { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Интерактивная изометрическая карта предприятия ---------- */
.factory-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 10% 28%, rgba(76, 122, 31, .18), transparent 34%),
    radial-gradient(ellipse at 92% 74%, rgba(39, 95, 72, .16), transparent 34%),
    linear-gradient(145deg, #08160F 0%, #0D1F16 52%, #0A1A12 100%);
}
.factory-ambient {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: radial-gradient(rgba(195, 224, 90, .34) .65px, transparent .65px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}
.factory-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 66px);
}
.factory-heading .h2 { max-width: 14ch; }
.factory-heading-copy { padding-bottom: 5px; }
.factory-heading-copy .lead { max-width: 44ch; margin: 0 0 24px; }
.factory-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(238, 240, 228, .62);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.factory-hint-dot, .factory-live i, .factory-key-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(195, 224, 90, .12), 0 0 18px rgba(195, 224, 90, .45);
}
.factory-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, .72fr);
  gap: 16px;
  align-items: stretch;
}
.factory-map-card, .factory-detail {
  min-width: 0;
  border: 1px solid rgba(238, 240, 228, .13);
  border-radius: 25px;
  background: rgba(238, 240, 228, .035);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.factory-map-card { padding: 15px; }
.factory-map-topline, .factory-map-bottom, .factory-detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: rgba(238, 240, 228, .48);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.4;
}
.factory-map-topline { min-height: 26px; padding: 0 4px 12px; }
.factory-live { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.factory-live i { width: 6px; height: 6px; }
.factory-canvas {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(238, 240, 228, .1);
  border-radius: 17px;
  background: #102319;
}
.factory-canvas > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 1.2s cubic-bezier(.2,.75,.15,1), filter 1s ease;
}
.factory-map-card:hover .factory-canvas > img { transform: scale(1.018); }
.factory-map-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 17, 10, .04), transparent 44%, rgba(5, 17, 10, .22)), linear-gradient(90deg, rgba(5, 17, 10, .14), transparent 45%);
}
.factory-hotspot {
  --zone-color: var(--lime);
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 5px;
  border: 1px solid rgba(238, 240, 228, .42);
  border-radius: 999px;
  color: #F3F4EB;
  background: rgba(8, 22, 14, .78);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: border-color .35s, background .35s, box-shadow .35s, transform .45s cubic-bezier(.2,.75,.15,1);
}
.factory-hotspot[data-factory-select="water"] { --zone-color: #8CCBC8; }
.factory-hotspot[data-factory-select="waste"] { --zone-color: #D7B978; }
.factory-hotspot[data-factory-select="control"] { --zone-color: #C3E05A; }
.factory-hotspot:hover, .factory-hotspot.is-active {
  border-color: var(--zone-color);
  background: rgba(13, 31, 22, .94);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--zone-color) 18%, transparent), 0 12px 30px rgba(0, 0, 0, .34);
}
.factory-hotspot.is-active { transform: translate(-50%, -50%) scale(1.06); }
.factory-hotspot-pulse {
  position: relative;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--zone-color);
  box-shadow: 0 0 12px color-mix(in srgb, var(--zone-color) 75%, transparent);
}
.factory-hotspot-pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--zone-color);
  border-radius: 50%;
  opacity: .55;
  animation: factoryPulse 2.6s ease-out infinite;
}
@keyframes factoryPulse { 0% { transform: scale(.55); opacity: .65; } 100% { transform: scale(1.75); opacity: 0; } }
.factory-hotspot-index { color: var(--zone-color); font-size: 9px; font-weight: 600; letter-spacing: .08em; }
.factory-hotspot-label { font-size: 11px; font-weight: 500; white-space: nowrap; }
.factory-map-coord {
  position: absolute;
  z-index: 1;
  color: rgba(238, 240, 228, .48);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .15em;
  pointer-events: none;
}
.factory-coord-a { left: 14px; top: 13px; }
.factory-coord-b { right: 14px; bottom: 12px; }
.factory-map-bottom { min-height: 37px; padding: 9px 3px 3px; font-size: 8px; letter-spacing: .1em; }
.factory-map-bottom > span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.factory-key-dot { width: 6px; height: 6px; box-shadow: none; }
.factory-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 7px;
}
.factory-tab {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 12px 9px;
  border: 1px solid rgba(238, 240, 228, .11);
  border-radius: 11px;
  color: rgba(238, 240, 228, .68);
  background: rgba(238, 240, 228, .025);
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.factory-tab > span { color: rgba(238, 240, 228, .35); font-size: 9px; }
.factory-tab > i { margin-left: auto; color: rgba(238, 240, 228, .28); font-size: 13px; font-style: normal; }
.factory-tab:hover { border-color: rgba(195, 224, 90, .4); color: var(--on-dark); transform: translateY(-2px); }
.factory-tab.is-active { border-color: rgba(195, 224, 90, .56); color: var(--lime); background: rgba(195, 224, 90, .085); }
.factory-tab.is-active > span, .factory-tab.is-active > i { color: var(--lime); }
.factory-detail {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(22px, 2.6vw, 34px);
  background: linear-gradient(155deg, rgba(24, 48, 33, .94), rgba(10, 25, 17, .97));
}
.factory-detail-top { padding-bottom: 22px; border-bottom: 1px solid rgba(238, 240, 228, .13); }
.factory-detail-top b { margin-left: 8px; color: var(--lime); font-weight: 500; }
.factory-detail-orbit { color: rgba(195, 224, 90, .55); font-size: 18px; }
.factory-panel { padding: clamp(27px, 3vw, 42px) 0 28px; animation: factoryPanelIn .5s cubic-bezier(.2,.75,.15,1) both; }
.factory-panel[hidden] { display: none; }
@keyframes factoryPanelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.factory-panel-eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.factory-panel h3 {
  max-width: 17ch;
  margin: 0 0 18px;
  font: 400 clamp(28px, 2.6vw, 39px)/1.06 var(--display);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.factory-panel h3 em { color: var(--lime); font-family: var(--serif); font-weight: 400; }
.factory-panel-copy { max-width: 43ch; margin: 0 0 30px; color: var(--on-dark-2); font-size: 14px; line-height: 1.65; }
.factory-service-label { margin-bottom: 11px; color: rgba(238, 240, 228, .43); font-size: 9px; font-weight: 600; letter-spacing: .14em; }
.factory-service-links { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(238, 240, 228, .12); }
.factory-service-links li { border-bottom: 1px solid rgba(238, 240, 228, .12); }
.factory-service-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  color: rgba(238, 240, 228, .82);
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  transition: color .25s, padding .3s;
}
.factory-service-links a span { flex: 0 0 auto; color: rgba(195, 224, 90, .62); transition: transform .3s, color .3s; }
.factory-service-links a:hover { padding-left: 5px; color: var(--lime); }
.factory-service-links a:hover span { transform: translate(2px, -2px); color: var(--lime); }
.factory-detail-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(238, 240, 228, .13);
}
.factory-detail-foot > span { color: rgba(238, 240, 228, .42); font-size: 8px; font-weight: 600; letter-spacing: .13em; }
.factory-detail-foot a { display: inline-flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--lime); font-size: 12px; text-decoration: none; }
.factory-detail-foot a b { font-size: 15px; transition: transform .3s; }
.factory-detail-foot a:hover b { transform: translate(3px, -3px); }

@media (max-width: 1100px) {
  .factory-explorer { grid-template-columns: minmax(0, 1fr); }
  .factory-detail { min-height: 0; }
  .factory-panel { max-width: 760px; }
  .factory-panel-copy { max-width: 65ch; }
}
@media (max-width: 760px) {
  .factory-heading { grid-template-columns: 1fr; gap: 22px; }
  .factory-heading .h2 { max-width: 12ch; font-size: clamp(36px, 10vw, 58px); }
  .factory-heading-copy .lead { margin-bottom: 15px; }
  .factory-map-card { padding: 10px; border-radius: 19px; }
  .factory-map-topline { padding: 0 2px 10px; font-size: 8px; }
  .factory-canvas { border-radius: 12px; }
  .factory-hotspot { min-height: 28px; gap: 5px; padding: 3px 7px 3px 4px; }
  .factory-hotspot-pulse { flex-basis: 7px; width: 7px; height: 7px; }
  .factory-hotspot-pulse::after { inset: -4px; }
  .factory-hotspot-index { font-size: 7px; }
  .factory-hotspot-label { font-size: 9px; }
  .factory-map-coord { font-size: 6px; }
  .factory-map-bottom { font-size: 7px; gap: 8px; }
  .factory-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .factory-tab { padding: 11px 10px; font-size: 12px; }
  .factory-detail { padding: 21px; border-radius: 19px; }
  .factory-panel { padding: 27px 0 23px; }
  .factory-panel h3 { font-size: clamp(29px, 8vw, 36px); }
}
@media (max-width: 390px) {
  .factory-hotspot-label { display: none; }
  .factory-hotspot { padding-right: 7px; }
  .factory-map-bottom > span:last-child { max-width: 50%; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .factory-canvas > img, .factory-hotspot, .factory-tab, .factory-service-links a, .factory-detail-foot a b { transition: none !important; }
  .factory-hotspot-pulse::after { animation: none !important; }
  .factory-panel { animation: none !important; }
}
