/* ==========================================================================
   АБ-Бэттэрис · страница «Производство батареек в России»
   Палитра — строго из ТЗ. Шрифты: Sofia Sans Condensed (заголовки), Inter (текст), JetBrains Mono (подписи).
   ========================================================================== */

@font-face { font-family: "Sofia Sans Condensed"; src: url("../assets/fonts/SofiaSansCondensed-var.woff") format("woff"); font-weight: 1 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/Inter-Regular.woff") format("woff");  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/Inter-Medium.woff") format("woff");   font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../assets/fonts/JetBrainsMono-var.woff") format("woff"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --black: #000000;
  --graphite: #2f2f2f;
  --slate: #444444;
  --smoke: #979797;
  --ash: #c6c6c6;
  --canvas: #e5e5e5;
  --mist: #f3f3f3;
  --white: #ffffff;
  --orange: #FF4100;
  --paper: #FAFAFA;
  --cream: #FEF8E8;
  --silver: #A8AAAC;

  --f-display: "Sofia Sans Condensed", "Arial Narrow", "Inter", Impact, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 3.9vw, 56px);
  --maxw: 1440px;
  --r-card: 32px;
  --r-btn: 10px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--black);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2 { margin: 0; font-weight: 800; }
ul, dl, dd, figure { margin: 0; padding: 0; list-style: none; }
b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--black); }
section[id] { scroll-margin-top: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------------------------------------------------------------- 3D canvas */
#battery-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 40; pointer-events: none;
  visibility: hidden;
}
html.no-webgl #battery-canvas { display: none; }

/* запасной вариант: пока 3D не запустилось (или браузер/просмотрщик не поддерживает WebGL либо JavaScript,
   как встроенный просмотр файлов на iPhone) — в каждой сцене видна батарейка-картинка с лёгким «парением» */
.stage-m { position: relative; }
[data-stage]::after {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  left: 50%; top: 50%; width: auto; height: 84%; max-height: 640px; aspect-ratio: 300 / 946;
  background: url("../assets/battery-poster.png") center / contain no-repeat;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  animation: posterFloat 6s ease-in-out infinite;
  transition: opacity .5s ease;
}
.hero__stage { --rot: 0deg; }
.metrics__stage, .metrics__stage-m { --rot: -14deg; }
.russia__stage, .russia__stage-m { --rot: 12deg; }
.metrics__stage::after, .russia__stage::after { height: 62%; }
html.battery-ready:not(.no-webgl) [data-stage]::after { opacity: 0; animation: none; }
@keyframes posterFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(var(--rot, 0deg)); }
  50% { transform: translate(-50%, calc(-50% - 14px)) rotate(calc(var(--rot, 0deg) + 4deg)); }
}

/* ---------------------------------------------------------------- типографика */
.h-xl {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.88;
  font-size: clamp(60px, 10.6vw, 170px);
}
.h-xl--m { font-size: clamp(52px, 8.6vw, 140px); }

/* ---------------------------------------------------------------- кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 26px;
  border-radius: var(--r-btn);
  font: 500 16px/1 var(--f-body);
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease);
  white-space: nowrap;
}
.btn .arr { flex: none; transition: transform .28s var(--ease); }
.btn:hover .arr:not(.arr--down) { transform: translateX(4px); }
.btn:hover .arr--down { transform: translateY(4px); }
.btn--dark  { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--orange); color: var(--black); }
.btn--ghost { border-color: var(--slate); color: var(--black); background: transparent; }
.btn--ghost:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn--orange { background: var(--orange); color: var(--black); }
.btn--orange:hover { background: var(--white); }

/* ---------------------------------------------------------------- HERO */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + 8px);
  background: var(--canvas);
  overflow: clip;
}
/* модульная сетка на фоне */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(100% / 12 - 1px), rgba(0,0,0,.055) calc(100% / 12 - 1px), rgba(0,0,0,.055) calc(100% / 12));
}
.hero__main {
  position: relative; flex: 1;
  display: grid; grid-template-columns: minmax(0, 7.1fr) minmax(0, 4.9fr);
  column-gap: var(--gutter);
  align-items: center;
  padding-block: clamp(12px, 2.6vh, 36px);
}
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.03em; line-height: 0.86;
  font-size: clamp(52px, min(8.9vw, 14.4svh), 160px);
}
.hero__title .ln { display: block; white-space: nowrap; clip-path: inset(-0.02em -60vw 0 -2vw); padding-bottom: .04em; margin-bottom: -.04em; }
.hero__title .ln > span { display: block; }
.hero__title .ln--accent { color: var(--orange); }
.hero__sub {
  margin-top: clamp(18px, 3.2vh, 34px);
  font: 700 clamp(20px, 2.1vw, 30px)/1.05 var(--f-display);
  text-transform: uppercase; letter-spacing: -0.005em; color: var(--slate);
}
.hero__lead {
  margin-top: clamp(12px, 2vh, 20px); max-width: 30em;
  font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: var(--graphite);
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.4vh, 36px); }

/* сцена: сюда «садится» 3D-батарейка */
.hero__stage { position: relative; align-self: stretch; min-height: min(66svh, 720px); }

/* показатели первого экрана */
.facts {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter);
  padding-bottom: clamp(18px, 3.6vh, 40px);
}
.fact { border-top: 1px solid var(--black); padding-top: 14px; }
.fact__big {
  font: 800 clamp(36px, 4.1vw, 64px)/0.9 var(--f-display); text-transform: uppercase; letter-spacing: -0.02em;
}
.fact__big small { font-size: .46em; font-weight: 700; color: var(--slate); letter-spacing: 0; margin-left: .1em; }
.fact__big--text { font-size: clamp(20px, 1.85vw, 28px); line-height: 1; letter-spacing: -0.005em; max-width: 13em; }
.fact__big--text b { font-weight: 800; color: var(--orange); }
.fact__txt { margin-top: 8px; font-size: 14px; line-height: 1.35; color: var(--slate); }

/* ---------------------------------------------------------------- 2. ПОКАЗАТЕЛИ */
.metrics { position: relative; background: var(--mist); padding-top: clamp(88px, 12vw, 170px); padding-bottom: calc(clamp(40px, 6vw, 80px) + 56px); }
.metrics__grid { display: grid; grid-template-columns: minmax(0, 7.1fr) minmax(0, 4.9fr); column-gap: var(--gutter); align-items: stretch; }
.metrics__lane { position: relative; }
.metrics__stage { position: sticky; top: 0; height: 100svh; }
.stage-m { display: none; }

.kpis { margin-top: clamp(36px, 5.4vw, 80px); border-top: 1px solid var(--black); }
.kpi {
  position: relative;
  display: grid; grid-template-columns: minmax(170px, .4fr) 1fr; column-gap: 24px; align-items: center;
  padding: clamp(18px, 1.9vw, 28px) 0;
  border-bottom: 1px solid var(--ash);
  transition: padding-left .45s var(--ease);
}
.kpi::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--orange);
  transition: width .6s var(--ease);
}
.kpi dt { font: 500 12px/1.35 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--slate); }
.kpi dt { display: flex; gap: 14px; align-items: baseline; }
.kpi dt span { color: var(--smoke); }
.kpi dd {
  font: 700 clamp(40px, 4.55vw, 68px)/0.95 var(--f-display); text-transform: uppercase; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  transition: color .3s;
}
.kpi dd small { font-size: .42em; font-weight: 700; color: var(--smoke); letter-spacing: 0; }
.kpi:hover { padding-left: 12px; }
.kpi:hover::before { width: 100%; }
.kpi:hover dd { color: var(--orange); }
.kpi:hover dd small { color: var(--slate); }

.metrics__note {
  margin-top: clamp(56px, 8vw, 120px);
  max-width: 24em;
  font: 500 clamp(22px, 2.35vw, 35px)/1.22 var(--f-body); letter-spacing: -0.02em;
  color: var(--smoke);
}
.metrics__note b { font-weight: 500; color: var(--black); }

.plant { position: relative; margin-top: clamp(48px, 7vw, 100px); }
.plant__frame { position: relative; overflow: hidden; border-radius: var(--r-card); aspect-ratio: 1920 / 810; background: var(--ash); }
.plant__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1) translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* ---------------------------------------------------------------- 3. БАТАРЕЙКИ В РОССИИ */
.russia {
  position: relative; z-index: 1;
  background: var(--black); color: var(--white);
  margin-top: -56px;
  border-radius: 56px 56px 0 0;
  padding-top: clamp(88px, 11vw, 160px);
  padding-bottom: clamp(72px, 9vw, 140px);
}
.russia__grid { display: grid; grid-template-columns: minmax(0, 7.1fr) minmax(0, 4.9fr); column-gap: var(--gutter); align-items: stretch; }
.russia__lane { position: relative; }
.russia__stage { position: sticky; top: 0; height: 100svh; }
.russia__text { margin-top: clamp(40px, 5.4vw, 80px); display: grid; gap: 22px; max-width: 34em; }
.russia__text p { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--ash); }
.russia__text p:nth-child(2) { color: var(--smoke); }
.russia__text b { color: var(--white); font-weight: 600; }
/* «Наша задача…» — жирным, на оранжевой плашке */
.russia__text p.russia__key {
  margin-top: 14px;
  padding: clamp(22px, 2.3vw, 34px) clamp(24px, 2.7vw, 40px);
  background: var(--orange); color: var(--black);
  border-radius: 20px;
  font-size: clamp(20px, 1.85vw, 27px); line-height: 1.28; letter-spacing: -0.015em;
}
.russia__text p.russia__key b { color: var(--black); font-weight: 600; }

.russia__main { padding-bottom: 36svh; }
.statement {
  margin-top: 0;
  font: 800 clamp(40px, 5.5vw, 90px)/0.96 var(--f-display); text-transform: uppercase; letter-spacing: -0.02em;
  color: var(--white);
}
.statement .w { transition: color .4s ease; }
html.js .statement .w { color: var(--slate); }
html.js .statement .w.on { color: var(--white); }
html.js .statement .hl .w.on { color: var(--orange); }
.statement .hl { color: var(--orange); }

/* ---------------------------------------------------------------- 4. 30+ ЛЕТ ЭКСПЕРТИЗЫ */
.expertise {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter); row-gap: clamp(28px, 3vw, 44px);
  padding-bottom: 56px;
}
.expertise .statement { grid-column: 1 / span 9; margin-bottom: clamp(4px, 1vw, 16px); }
.expertise__p { grid-column: 1 / span 5; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--ash); padding-top: 20px; border-top: 1px solid var(--slate); }
.expertise__p--2 { grid-column: 7 / span 6; color: var(--smoke); }
.expertise__answer {
  grid-column: 1 / span 10; margin-top: clamp(8px, 1.6vw, 28px);
  font: 800 clamp(34px, 4.2vw, 68px)/0.98 var(--f-display); text-transform: uppercase; letter-spacing: -0.02em;
  color: var(--white);
}
.expertise__answer::before { content: ""; display: block; width: 72px; height: 4px; background: var(--orange); margin-bottom: 28px; }
.expertise__tail { grid-column: 7 / span 6; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--ash); }

/* ---------------------------------------------------------------- 5. ИСТОРИЯ — горизонтальная шкала */
.history {
  position: relative; z-index: 2;
  background: var(--paper);
  margin-top: -56px; border-radius: 56px 56px 0 0;
}
.history__pin {
  padding-top: clamp(88px, 11vw, 150px); padding-bottom: calc(clamp(56px, 7vw, 110px) + 56px);
}
html.js .history__pin {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(40px, 8vh, 96px); padding-bottom: calc(clamp(40px, 7vh, 80px) + 40px);
}
.history__title .dim { color: var(--silver); }
.history__title { font-size: clamp(46px, min(7.4vw, 12svh), 124px); }

.htl { --yh: clamp(64px, min(8.6vw, 14svh), 140px); --iw: clamp(280px, 27vw, 440px); margin-top: clamp(36px, 7vh, 90px); overflow-x: auto; }
html.js .htl { overflow: visible; }
.htl__track {
  position: relative; display: flex; width: max-content; margin: 0;
  padding: 0 var(--gutter); list-style: none;
  will-change: transform;
}
@media (min-width: 1440px) { .htl__track { padding-left: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }
.htl__line { position: absolute; left: var(--gutter); right: calc(var(--gutter) + var(--iw) * .5); top: calc(var(--yh) + 26px); height: 1.5px; background: var(--ash); }
.htl__line i { position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); height: 3px; top: -.75px; }
.htl__item { position: relative; flex: none; width: var(--iw); padding-right: clamp(28px, 3vw, 56px); }
.htl__year {
  height: var(--yh); display: flex; align-items: flex-end;
  font: 800 var(--yh)/0.82 var(--f-display); letter-spacing: -0.03em; text-transform: uppercase;
  font-variant-numeric: tabular-nums; color: var(--ash); white-space: nowrap;
  transition: color .5s var(--ease);
}
.htl__item--long .htl__year { font-size: calc(var(--yh) * .5); line-height: .9; white-space: normal; max-width: 7.2em; letter-spacing: -0.02em; }
.htl__dot {
  position: relative; display: block; margin: 20px 0 22px -1px; z-index: 1;
  width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--black);
  transition: background-color .4s, border-color .4s, transform .4s var(--ease);
}
.htl__item--next .htl__dot { border-style: dashed; }
.htl__item p { font-size: clamp(15px, 1.3vw, 19px); line-height: 1.45; color: var(--smoke); max-width: 19em; transition: color .5s; }
.htl__item.is-on .htl__year { color: var(--black); }
.htl__item.is-on .htl__dot { background: var(--orange); border-color: var(--orange); }
.htl__item.is-on p { color: var(--graphite); }
.htl__item.is-cur .htl__year { color: var(--orange); }
.htl__item.is-cur .htl__dot { transform: scale(1.45); }

/* ---------------------------------------------------------------- 6. КРАСНОДАРСКИЙ КРАЙ */
.place {
  position: relative; z-index: 3;
  background: var(--canvas);
  margin-top: -56px; border-radius: 56px 56px 0 0;
  padding-top: clamp(88px, 11vw, 160px);
  padding-bottom: clamp(72px, 9vw, 140px);
}
.place__title { font-size: clamp(46px, 7.2vw, 116px); max-width: 13em; }
.place__title .acc { color: var(--orange); }
.place__grid {
  margin-top: clamp(48px, 6vw, 96px);
  display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); column-gap: var(--gutter); row-gap: 28px;
  grid-template-areas: "lead map" "text map";
  align-items: start;
}
.place__lead { grid-area: lead; font: 500 clamp(21px, 2vw, 30px)/1.25 var(--f-body); letter-spacing: -0.02em; color: var(--slate); padding-top: 20px; border-top: 1px solid var(--black); }
.place__lead b { font-weight: 600; color: var(--black); }
.place__text { grid-area: text; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--slate); }
.map { grid-area: map; position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--black); aspect-ratio: 3 / 2.05; }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map__sea { fill: var(--black); }
.map__land { fill: var(--graphite); transition: opacity 1.2s ease; }
.map__coast { fill: none; stroke: var(--smoke); stroke-width: 1.2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js .map:not(.is-in) .map__coast { stroke-dashoffset: 1; }
html.js .map .map__coast { transition: stroke-dashoffset 3.2s cubic-bezier(.4, 0, .2, 1) .2s; }
html.js .map:not(.is-in) .map__land { opacity: 0; }
.map__grat path { stroke: rgba(255, 255, 255, .07); stroke-width: 1; fill: none; }
.map__rivers path { fill: none; stroke: var(--slate); stroke-width: 1.6; stroke-linecap: round; }
.map text { font-family: var(--f-mono); }
.map__ticks text { font-size: 11px; fill: var(--slate); letter-spacing: .04em; }
.map__region { font: 700 15px var(--f-mono); letter-spacing: .32em; fill: var(--smoke); }
.map__sealabel { font: 500 15px var(--f-mono); letter-spacing: .5em; fill: var(--slate); }
.map__town circle { fill: var(--ash); }
.map__town text { font-size: 14px; fill: var(--ash); }
.map__port circle { fill: var(--white); }
.map__port .map__port-ring { fill: none; stroke: var(--white); stroke-width: 1.2; opacity: .6; }
.map__port text { font-size: 14px; fill: var(--white); }
.map__dot { fill: var(--orange); stroke: var(--black); stroke-width: 3; }
.map__pulse { fill: var(--orange); opacity: 0; transform-box: fill-box; transform-origin: center; animation: mapPulse 2.6s cubic-bezier(.2, .6, .3, 1) infinite; }
.map__pulse--2 { animation-delay: 1.3s; }
@keyframes mapPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(5.5); opacity: 0; } }
.map__site-name { font: 800 24px var(--f-display) !important; text-transform: uppercase; letter-spacing: -0.01em; fill: var(--white); }
.map__site-sub { font-size: 12.5px; fill: var(--orange); letter-spacing: .04em; }
.map__scale path, .map__north path { fill: none; stroke: var(--ash); stroke-width: 1.4; }
.map__scale text, .map__north text { font-size: 12px; fill: var(--ash); }

.figs { margin-top: clamp(56px, 7vw, 110px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); }
.fig { border-top: 1px solid var(--black); padding-top: 16px; }
.fig__big { font: 800 clamp(44px, 5.4vw, 88px)/0.9 var(--f-display); text-transform: uppercase; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig__big small { font-size: .42em; font-weight: 700; color: var(--slate); letter-spacing: 0; text-transform: none; }
.fig__txt { margin-top: 10px; font-size: 15px; line-height: 1.35; color: var(--slate); }
.place__cta { margin-top: clamp(56px, 7vw, 100px); }

/* ---------------------------------------------------------------- появление */
html.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .rv.is-in { opacity: 1; transform: none; }
html.js .hero__title .ln > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
html.js.loaded .hero__title .ln > span { transform: none; }
html.js .hero__title .ln:nth-child(2) > span { transition-delay: .08s; }
html.js .hero__title .ln:nth-child(3) > span { transition-delay: .16s; }
html.js .hero__sub.rv { transition-delay: .25s; }
html.js .hero__lead.rv { transition-delay: .35s; }
html.js .cta.rv { transition-delay: .45s; }
html.js .facts.rv { transition-delay: .55s; }
html.js .kpi.rv:nth-child(n) { transition-delay: calc(var(--i, 0) * 60ms); }

/* ---------------------------------------------------------------- планшет и мобильные */
@media (max-width: 1000px) {
  :root { --header-h: 20px; --r-card: 28px; }
  body { font-size: 16px; }

  .hero { min-height: 100svh; }
  .hero__main { grid-template-columns: minmax(0, 1fr); align-items: start; row-gap: 20px; padding-top: 6px; }
  .hero__stage { order: -1; min-height: 0; height: clamp(300px, 46svh, 460px); }
    .hero__title { font-size: clamp(42px, 15.2vw, 150px); }
  .hero__sub { font-size: clamp(20px, 5.4vw, 30px); }
  .cta .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; column-gap: 20px; padding-top: 24px; }
  .fact__big { font-size: clamp(40px, 11.5vw, 60px); }
  .fact__big--text { font-size: clamp(22px, 6vw, 30px); }

  .metrics { padding-top: 88px; }
  .metrics__grid, .russia__grid { grid-template-columns: minmax(0, 1fr); }
  .metrics__lane, .russia__lane { display: none; }
  .stage-m { display: block; height: clamp(320px, 56svh, 520px); margin-top: 8px; }
  .kpi { grid-template-columns: 1fr; row-gap: 6px; }
  
  .kpi dd { font-size: clamp(40px, 12.5vw, 68px); }
  .kpi:hover { padding-left: 0; }
  .plant__frame { aspect-ratio: 4 / 3; border-radius: 22px; }

  .russia { border-radius: 36px 36px 0 0; margin-top: -40px; padding-top: 80px; }
  .metrics { padding-bottom: 96px; }
  .h-xl, .h-xl--m { font-size: clamp(46px, 15.2vw, 120px); }
  .statement { font-size: clamp(36px, 10.6vw, 80px); }
  .expertise { grid-template-columns: minmax(0, 1fr); padding-top: 48px; }
  .expertise > * { grid-column: 1 / -1 !important; }
  .expertise__answer { margin-top: 24px; font-size: clamp(30px, 8.6vw, 56px); }

  .place { border-radius: 36px 36px 0 0; margin-top: -40px; padding-top: 80px; }
  .history { border-radius: 36px 36px 0 0; margin-top: -40px; }
  .htl { --iw: 76vw; --yh: clamp(56px, 16vw, 90px); }
  .russia__main { padding-bottom: 0; }

  .place__title { font-size: clamp(40px, 11.4vw, 96px); }
  .place__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "map" "text"; }
  .map { aspect-ratio: 4 / 4.4; border-radius: 22px; }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; column-gap: 20px; }
  .fig__big { font-size: clamp(36px, 10.4vw, 64px); }
  .place__cta .btn { width: 100%; }
}

@media (max-width: 420px) {
  .btn { padding: 0 20px; }
}

/* ---------------------------------------------------------------- предпочтение «меньше движения» */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .rv, html.js .hero__title .ln > span,   .plant__frame img { transform: none !important; }
  .map__pulse { animation: none; }
  [data-stage]::after { animation: none; }
  html.js .htl { overflow-x: auto; }
}

@media print {
  #battery-canvas { display: none; }
}
