/* Металлайн — прототип нового сайта, ВЕРСИЯ 2 (задача 750): фирменная палитра.
   Регистр: светлый минимализм, акцент — фирменный жёлтый #FCC02A. */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --ink: #17191C;
  --ink-soft: #5a5a5a;
  /* сталь затемнена: прежний #696e73 давал 4.43:1 на сером — ниже порога AA 4.5:1 */
  --steel: #696e73;
  --line: #e4e4e4;
  /* Фирменный жёлтый ярко работает заливкой, линией и текстом на тёмном фоне.
     Тёмной «текстовой» версии у него нет: затемнение жёлтого уводит в горчицу,
     поэтому на светлом акцент держат чернила, сталь и вес, а жёлтый возвращается
     при наведении — когда карточка переворачивается на тёмную заливку. */
  --gold: #fcc02a;
  --gold-soft: #fef2d4;

  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shell: clamp(20px, 5vw, 96px);
  --maxw: 1440px;
  /* Единая ширина контентной колонки. У .sec/.page-top max-width считается вместе с
     их же padding (border-box), а у вложенных .inner/.hero__inner/.foot__grid — без него,
     поэтому на экранах шире 1440 светлые секции были уже серых почти на 200px.
     Все внутренние контейнеры равняются на эту переменную — левый край един по всему сайту. */
  --content: calc(var(--maxw) - var(--shell) * 2);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
/* Атрибут height у <img> (он нужен против сдвига вёрстки при загрузке) иначе перебивает CSS aspect-ratio:
   на телефоне широкое фото главной было 335×558, фото карточек и сканы — вытянуты (найдено 30.09).
   :where() — нулевая специфичность: высоту из любого класса (логотипы, .clients) это правило не трогает */
:where(img) { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ——— прокрутка — штатная браузерная (30.09.2026) ———
   Самописная инерция (вся страница одним слоем в position:fixed, сдвиг скриптом) давала дрожание текста на дробных
   пикселях, мерцание и пересчёт размытия шапки каждый кадр. Плавность колеса даёт сам браузер; к якорям — CSS.
   #spacer в разметке остался от инерции — пустой, скрыт. */
#spacer { display: none; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ——— шапка ——— */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px var(--shell);
  /* v2: матовое стекло — фон на 20% непрозрачный + блюр подложки.
     Цвет текста и тон стекла переключает app.js (initHdrTheme) по секции под шапкой. */
  background: rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  color: var(--ink);
  transition: color .3s ease, background-color .3s ease;
}
.hdr--dark { background: rgba(23, 25, 28, .2); color: #fff; }
.hdr a { color: inherit; }
/* v2: восстановленный векторный логотип; тёмная версия — для шапки над графитом */
.hdr__logo img { display: block; height: 34px; width: auto; }
.hdr__logo .logo-dark, .hdr--dark .hdr__logo .logo-light { display: none; }
.hdr--dark .hdr__logo .logo-dark { display: block; }
.hdr__nav { display: flex; gap: 34px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.hdr__nav a { position: relative; padding-bottom: 3px; }
.hdr__nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: currentColor; transition: right .45s cubic-bezier(.16,1,.3,1);
}
.hdr__nav a:hover::after { right: 0; }
.hdr__tel { font-size: 13px; letter-spacing: 0.06em; }
/* 22.10.2026: шапка целиком (логотип 140 + меню 793 + телефон 112 + два зазора по 24 = 1093px) с полями 5vw входит
   только с 1215px — на 861–1214 «Контакты» и телефон уходили за край экрана. Ужать до 861 нельзя: даже без телефона
   и с плотным меню выходит 885px при 775 свободных, дальше — только кегль и разрядка, а это ступени типографики.
   Поэтому: до 1000px — бургер (порог в паре с .mnav ниже и MENU_W в app.js); 1001–1239 — зазоры меню 22px вместо 34
   (885px без телефона); телефон — с 1150px (1021px), уже он в меню бургера и в подвале. Проверка — проверки\hdr_fit.py */
@media (max-width: 1000px) { .hdr__nav, .hdr__tel { display: none; } }
@media (min-width: 1001px) and (max-width: 1239px) { .hdr__nav { gap: 22px; } }
@media (min-width: 1001px) and (max-width: 1149px) { .hdr__tel { display: none; } }

/* ——— бургер и мобильное меню ——— */
.burger { display: none; }
@media (max-width: 1000px) {
  .burger {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px;
    width: 44px; height: 44px; margin: -10px -10px -10px 0; padding: 0;
    background: transparent; border: 0; cursor: pointer;
    /* button не наследует color сам по себе — без этого полоски чёрные
       и на тёмной шапке с mix-blend-mode:difference становятся невидимыми */
    color: inherit;
  }
  .burger span { display: block; height: 2px; width: 26px; background: currentColor; transition: transform .35s, opacity .25s; }
  body.mnav-open .burger span:first-child  { transform: translateY(8px) rotate(45deg); }
  body.mnav-open .burger span:nth-child(2) { opacity: 0; }
  body.mnav-open .burger span:last-child   { transform: translateY(-8px) rotate(-45deg); }
}

/* 14.10.2026: центр — полями auto у списка, а не place-items: на низком экране (iPhone SE в Safari — около 550px
   видимой высоты) список с кнопками выше окна, и при place-items центровка уводила его верх за край без прокрутки;
   поля auto в этом случае обнуляются, список начинается сверху и листается */
.mnav {
  position: fixed; inset: 0; z-index: 55; background: var(--ink);
  display: grid; padding: 90px var(--shell) 40px; overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
body.mnav-open .mnav { opacity: 1; visibility: visible; }
body.mnav-open { overflow: hidden; }
body.mnav-open .hdr {
  background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  color: #fff;
}
.mnav__list { display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 420px; margin: auto; }
/* 14.10.2026: пункты — ступень подзаголовков (19–23px), а не заголовков секций: при 27px семь пунктов занимали весь
   экран («шрифт гигантский», отзыв команды) */
.mnav__list a {
  color: #fff; font-size: clamp(20px, 5.4vw, 23px); letter-spacing: -.01em;
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14);
}
.mnav__list a.mnav__temp { font-size: 17px; color: #9aa0a6; }
/* 14.10.2026: кнопки связи — в меню, а не постоянной панелью внизу экрана (панель «светилась» на каждой странице).
   Номер — на самой кнопке звонка. Кнопки друг под другом во всю ширину: рядом, как в панели, «Отправить спецификацию»
   до 430px уходила в две строки (у меню поля 20px, у панели было 10). Разрядка 0.04em — как у панели */
.mnav__acts { display: grid; gap: 8px; margin-top: 28px; }
.mnav__list .mnav__acts a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 8px;
  border: 1px solid #4a4f55; color: #fff; font-size: 13px; letter-spacing: .04em; text-align: center; }
.mnav__list .mnav__acts a.mnav__req { background: var(--gold); border-color: var(--gold); color: var(--ink);
  font-size: 12px; text-transform: uppercase; }
/* плашка cookie при первом заходе ложилась поверх открытого меню и его кнопок — пока меню открыто, она прячется */
body.mnav-open .ckp { opacity: 0; visibility: hidden; }
@media (min-width: 1001px) { .mnav { display: none; } }

/* ——— общие блоки ——— */
.sec { padding: clamp(80px, 12vh, 170px) var(--shell); max-width: var(--maxw); margin: 0 auto; }
.sec--alt { background: var(--bg-alt); max-width: none; }
.sec--alt > .inner { max-width: var(--content); margin: 0 auto; }

.tag {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 26px; display: block;
}
/* min(26px, 7.2vw): на экране меньше 361px кегль сходит с 26 (на 320px — 23px), иначе «Межгосударственные» на «Справочнике»
   вылезало за экран на 23px (22.10.2026); с 361px — прежние 26 */
.lead { font-size: clamp(min(26px, 7.2vw), 3.4vw, 46px); line-height: 1.15; max-width: 20ch; letter-spacing: -0.025em; }
.note { color: var(--ink-soft); max-width: 62ch; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 30px; border: 1px solid var(--ink); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  /* 06.10.2026: у <button> браузер подкладывает серый фон (#f6f6f6) — на графите («Показать карту») текст пропадал */
  background: transparent; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--gold { border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ссылка внутри абзаца: цвет держат чернила, акцент даёт фирменная линия снизу */
.lnk { color: var(--ink); border-bottom: 2px solid var(--gold); }
.lnk:hover { border-color: var(--ink); }

/* видимый фокус для всей клавиатурной навигации: поля, чипы, плитки, кнопки */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible, .cta :focus-visible, .mnav :focus-visible { outline-color: #fff; }

/* ——— появление секций ———
   Прячем только когда скрипт жив: без него страница должна остаться читаемой. */
.rise { opacity: 1; }
html.js .rise { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.16,1,.3,1); }
/* селектор обязан быть не менее специфичным, чем html.js .rise, иначе
   класс .in навешивается, а прозрачность остаётся нулевой — текст пропадает */
html.js .rise.in { opacity: 1; transform: none; }
.rise-d1 { transition-delay: .08s; } .rise-d2 { transition-delay: .16s; } .rise-d3 { transition-delay: .24s; }

.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.6s cubic-bezier(.16,1,.3,1); }
.in .draw, .draw.in { stroke-dashoffset: 0; }

/* ——— hero ——— */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 0 var(--shell) clamp(40px, 7vh, 90px);
  background: var(--ink); color: #fff; overflow: hidden;
}
.hero__art { position: absolute; inset: 0; display: grid; place-items: center; opacity: .5; }
.hero__art svg { width: min(78vw, 900px); height: auto; }
.hero__inner { position: relative; z-index: 2; max-width: var(--content); margin: 0 auto; width: 100%; }
.hero__title {
  /* размер подбирается скриптом под ширину контейнера: у Onest и Golos Text
     разная ширина знака, фиксированный vw не садится ни там, ни там */
  font-size: clamp(40px, 13vw, 230px); font-weight: 500; line-height: .86;
  letter-spacing: -0.045em; margin-bottom: 30px;
  display: inline-block; white-space: nowrap; max-width: 100%;
}
.hero__title span { display: inline-block; opacity: 0; transform: translateY(.5em); }
.hero__title span.in { opacity: 1; transform: none; transition: opacity .8s ease, transform .9s cubic-bezier(.16,1,.3,1); }
/* 30.09: вместо набранного «МЕТАЛЛАЙН» (разрядка -0.045em склеивала «ЛЛ») — METALLINE контуром букв логотипа,
   просьба Елены «тем же шрифтом, что вверху, на английском». Высота в em, чтобы initHeroFit
   по-прежнему подгонял слово под ширину контейнера. Проявление — шторкой слева направо. */
.hero__title--mark { letter-spacing: 0; line-height: 1; }
.hero__mark svg { display: block; height: .74em; width: auto; overflow: visible; }
.hero__title .hero__mark { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); }
.hero__title .hero__mark.in { clip-path: inset(0 0 0 0); transition: clip-path 1.2s cubic-bezier(.16,1,.3,1); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero__sub { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero__sub p { max-width: 46ch; color: #cfd3d7; margin: 0; }
.hero__scroll { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #9aa0a6; }

/* ——— счётчики ——— */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
@media (max-width: 900px) { .counters { grid-template-columns: repeat(2, 1fr); } }
.counter { border-top: 1px solid var(--line); padding-top: 22px; position: relative; }
/* жёлтый отрезок поверх серой линейки — счётчики несут фирменный цвет */
.counter::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 34px; height: 3px;
  background: var(--gold);
}
.counter__num { font-size: clamp(50px, 7vw, 104px); line-height: 1; letter-spacing: -0.04em; font-weight: 500; }
.counter__unit { color: var(--steel); }
.counter__label { color: var(--steel); font-size: 15px; margin-top: 12px; max-width: 22ch; }

.odo { display: inline-flex; }
.odo-d { display: inline-block; height: 1em; overflow: hidden; }
.odo-r { display: flex; flex-direction: column; transition: transform 1.3s cubic-bezier(.16,1,.3,1); }
.odo-r span { height: 1em; line-height: 1; }
.odo-s { display: inline-block; }

/* ——— каталог плашками: изображение проявляется внутри своей плитки ——— */
.cat { position: relative; }

.cat__grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
@media (max-width: 1180px) { .cat__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .cat__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .cat__grid { grid-template-columns: 1fr; } }

.cat__tile {
  position: relative; overflow: hidden;
  background: var(--bg-alt); padding: 26px 24px 30px;
  display: flex; flex-direction: column; gap: 12px; min-height: 210px;
  transition: background-color .2s ease, color .2s ease;
}
/* иконка живёт внутри своей плитки и всплывает на тёмной заливке при наведении */
.cat__art {
  position: absolute; right: -6px; bottom: 4px; width: 56%;
  color: var(--gold); pointer-events: none;
  opacity: 0; transform: translateY(14px) scale(.94);
  transition: opacity .45s ease, transform .65s cubic-bezier(.16,1,.3,1);
}
.cat__art svg { width: 100%; height: auto; display: block; }
.cat__tile:hover .cat__art,
.cat__tile:focus-visible .cat__art { opacity: .9; transform: none; }
.cat__idx, .cat__name, .cat__meta { position: relative; z-index: 1; }
.sec--alt .cat__tile { background: var(--bg); }
.cat__tile:hover { background: var(--ink); color: #fff; }
.cat__idx { font-size: 12px; letter-spacing: .14em; color: var(--steel); }
/* на тёмной заливке жёлтый читается блестяще — там номер и вспыхивает */
.cat__tile:hover .cat__idx { color: var(--gold); }
.cat__name { font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -.02em; line-height: 1.15; }
.cat__meta { font-size: 13px; color: var(--steel); margin-top: auto; }
.cat__tile:hover .cat__meta { color: #cfd3d7; }

/* ——— отрасли (бывшие «Наши решения»): карточка раскрывается, соседние сжимаются ——— */
.ind {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  transition: grid-template-columns .75s cubic-bezier(.16,1,.3,1);
}
.ind__cell { background: var(--bg); overflow: hidden; overflow: clip; min-height: 240px; display: flex; flex-direction: column; }
/* overflow: clip, а не hidden: hidden делает ячейку контейнером прокрутки, и корешки не прилипают (sticky) */
.ind__cell:hover { background: var(--bg-alt); }
.ind__cell.on { background: var(--bg-alt); }

.ind__head {
  position: relative; appearance: none; -webkit-appearance: none;
  background: transparent; border: 0; color: inherit; font: inherit; text-align: left;
  cursor: pointer; width: 100%; flex: 1;
  padding: 32px 30px; display: flex; flex-direction: column; gap: 12px;
}
.ind__num { font-size: 12px; letter-spacing: .14em; color: var(--steel); }
.ind__title { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.02em; line-height: 1.12; }
.ind__lead { font-size: 15px; color: var(--ink-soft); max-width: 34ch; }
.ind__std { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--ink); border-top: 1px solid var(--line); }
.ind__more { position: absolute; right: 26px; top: 28px; line-height: 1; }
.ind__more::after { content: '+'; font-size: 24px; color: var(--ink); }
.ind__cell.on .ind__more::after { content: '–'; }

.ind__body { display: none; padding: 0 30px 36px; }
.ind__cell.on .ind__body { display: block; animation: whaFade .55s .18s backwards; }
/* имя историческое (keyframes жили в снятом блоке складов): появление контента после раскрытия */
@keyframes whaFade { from { opacity: 0; } }
.ind__cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; }
/* без этого колонка растягивается под min-width таблицы и текст обрезается карточкой */
.ind__cols > *, .split > * { min-width: 0; }
/* раскрытая отрасль сужается вместе с экраном (рядом шесть корешков по 92px): на 1001–1330px две колонки оставляли
   правой («С кем работали», «Документы») 90–230px, и «ПАО «Сургутнефтегаз»» обрезалось ячейкой (22.10.2026).
   Уже 600px — одна колонка: сначала описание и сортамент, под ними серый блок */
.ind__body { container-type: inline-size; }
@container (max-width: 600px) { .ind__cols { grid-template-columns: 1fr; gap: 30px; } }
.ind__cols p { color: var(--ink-soft); font-size: 16px; margin: 0; max-width: 62ch; }
.ind__list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; font-size: 15px; color: var(--ink-soft); }
.ind__list li { position: relative; padding-left: 18px; }
.ind__list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--gold); }
.ind__note { font-size: 13px; color: var(--steel); margin-top: 20px; }
/* .ind__cols p (0,1,1) обнулял отступ сноски — она липла к последнему пункту списка (ОС Елены 30.09);
   ссылки в сносках были без подчёркивания и не читались ссылками */
.ind__cols .ind__note { margin-top: 20px; }
.ind__cols .ind__note a { color: var(--ink); border-bottom: 1px solid var(--gold); }
.ind__cols .ind__note a:hover { border-bottom-color: var(--ink); }

/* соседние карточки, когда одна раскрыта: графитовые корешки, номер — жёлтым
   (жёлтый на тёмном — его законная роль в палитре) */
.ind.is-open .ind__cell:not(.on) { background: var(--ink); color: #fff; }
.ind.is-open .ind__cell:not(.on):hover { background: #3a3e43; }
.ind.is-open .ind__cell:not(.on) .ind__num { color: var(--gold); }
.ind.is-open .ind__cell:not(.on) .ind__head { padding: 28px 0; align-items: center; gap: 20px; }
.ind.is-open .ind__cell:not(.on) .ind__lead,
.ind.is-open .ind__cell:not(.on) .ind__std,
.ind.is-open .ind__cell:not(.on) .ind__more { display: none; }
.ind.is-open .ind__cell:not(.on) .ind__title { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }

@media (max-width: 1000px) {
  /* на телефоне и узком экране — обычная гармошка, без вертикальных корешков. До 22.10.2026 порог был 900px: на 901–1000
     раскрытой отрасли рядом с шестью корешками по 92px оставалось 236–325px, и текст шёл по слову в строке.
     Порог — в паре с LIST_W в app.js (initIndustries) */
  .ind { grid-template-columns: 1fr !important; }
  .ind__cell { min-height: 0; }
  .ind__cols { grid-template-columns: 1fr; gap: 30px; }
  .ind.is-open .ind__cell:not(.on) .ind__head { padding: 26px 24px; align-items: flex-start; gap: 12px; }
  .ind.is-open .ind__cell:not(.on) .ind__title { writing-mode: horizontal-tb; transform: none; white-space: normal; }
  .ind.is-open .ind__cell:not(.on) .ind__lead,
  .ind.is-open .ind__cell:not(.on) .ind__more { display: block; }
  .ind__head { padding: 26px 24px; }
  .ind__body { padding: 0 24px 30px; }
}

/* ——— география ——— */
.geo__axis { margin: 60px 0 34px; }
.geo__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
@media (max-width: 860px) { .geo__points { grid-template-columns: 1fr; } }
/* ——— площадки отгрузки (контакты): плитки городов ———
   Партнёрские склады закрыты по решению Елены 19.08: без названий компаний,
   телефонов и адресов — только города; детали ведёт логист при отгрузке. */
.wcity { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1080px) { .wcity { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .wcity { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .wcity { grid-template-columns: 1fr; } }
.wcity__cell { background: var(--bg); padding: 26px 24px 30px; display: flex; flex-direction: column; gap: 10px; min-height: 150px; }
.wcity__num { font-size: 12px; letter-spacing: .14em; color: var(--steel); }
.wcity__name { font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.02em; }
.wcity__count { margin-top: auto; font-size: 13px; color: var(--steel); }

/* ——— схематичная карта географии (контур — Natural Earth, public domain) ——— */
.geo__map { margin-top: 40px; }
.geo__map svg { width: 100%; height: auto; display: block; }
.geo__legend { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.geo__legend li { display: flex; align-items: center; gap: 8px; }
.geo__dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.geo__dot--gold { background: var(--gold); box-shadow: 0 0 0 3px rgba(252,192,42,.25); }
.geo__dot--graph { background: var(--graphite, #17191c); background: #17191c; }
.geo__dot--dest { background: #fff; border: 2px solid var(--steel); }

.geo__pt { border-top: 1px solid var(--line); padding-top: 20px; }
.geo__pt b { display: block; font-weight: 500; font-size: 21px; letter-spacing: -.02em; }
.geo__pt span { color: var(--steel); font-size: 15px; }
.geo__pt em { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--ink); }

/* ——— доказательства ——— */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } }
.trust__cell { background: var(--bg); padding: 38px 32px; }
.trust__cell h3 { font-size: 20px; margin-bottom: 14px; }
.trust__cell p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.trust__std { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.trust__std li {
  font-size: 13px; letter-spacing: .04em; padding: 8px 14px;
  border: 1px solid var(--line); color: var(--steel);
}

/* ——— логистика ——— */
.chain { margin: 50px 0 40px; }

/* импульс, бегущий по линии поставки */
@keyframes chain-run { from { stroke-dashoffset: 1034; } to { stroke-dashoffset: 0; } }
.chain__flow { animation: chain-run 4.5s linear infinite; }
/* Узлы проявляются по очереди. Анимируем ТОЛЬКО прозрачность: позиция задана
   атрибутом transform="translate(...)", и CSS-трансформация его бы перебила. */
/* по умолчанию видимы: если скрипт не отработает, схема всё равно на месте */
.chain__node { opacity: 1; }
.in .chain__node { animation: chain-node .7s ease both; }
@keyframes chain-node { from { opacity: 0; } to { opacity: 1; } }
.in .chain__node:nth-of-type(1) { animation-delay: .05s; }
.in .chain__node:nth-of-type(2) { animation-delay: .18s; }
.in .chain__node:nth-of-type(3) { animation-delay: .31s; }
.in .chain__node:nth-of-type(4) { animation-delay: .44s; }
.in .chain__node:nth-of-type(5) { animation-delay: .57s; }
@media (prefers-reduced-motion: reduce) {
  .chain__flow { animation: none; }
  .chain__node { opacity: 1; transform: none; }
  .in .chain__node { animation: none; }
  /* пользователь отказался от движения — гасим и появление секций,
     и выезд букв героя, и дорисовку линий, а не только цепочку */
  html.js .rise, .hero__title span, .draw { transition: none; }
  html.js .rise { opacity: 1; transform: none; }
  .hero__title span { opacity: 1; transform: none; }
  .hero__title .hero__mark { clip-path: none; }
  .ind { transition: none; }
}

.chain__list { display: none; }
@media (max-width: 900px) {
  .chain svg { display: none; }
  .chain__list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
  .chain__list li { background: var(--bg); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
  .chain__list b { font-weight: 500; }
  .chain__list span { font-size: 14px; color: var(--steel); }
}
.log__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 60px; }
@media (max-width: 860px) { .log__grid { grid-template-columns: 1fr; } }
.log__item { border-top: 1px solid var(--line); padding-top: 18px; }
.log__item b { font-weight: 500; }
.log__item p { color: var(--ink-soft); font-size: 15px; margin: 8px 0 0; }

/* ——— CTA + подвал ——— */
.cta { background: var(--ink); color: #fff; }
.cta .lead { max-width: 24ch; }
.cta__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-top: 40px; }
.cta a.btn { border-color: #fff; color: #fff; }
.cta a.btn:hover { background: #fff; color: var(--ink); }

.foot { padding: 46px var(--shell); border-top: 1px solid var(--line); }
.foot__brand { max-width: var(--content); margin: 0 auto 30px; }
.foot__brand img { display: block; height: 28px; width: auto; }
.foot .logo-dark { display: none; }
.foot__copy { max-width: var(--content); margin: 36px auto 0; font-size: 13px; color: var(--steel); }
.foot__grid { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; font-size: 14px; color: var(--steel); }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr; } }
.foot b { color: var(--ink); font-weight: 500; display: block; margin-bottom: 8px; }

/* ——— внутренние страницы ——— */
.page-top { padding: 150px var(--shell) 0; max-width: var(--maxw); margin: 0 auto; }
.crumbs { font-size: 13px; color: var(--steel); margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); }
.page-title {
  font-size: clamp(38px, 6vw, 86px); letter-spacing: -.04em; line-height: .98;
  /* длинные термины вроде «нефтеперерабатывающий» иначе распирают страницу на телефоне.
     06.10.2026: переносы по слогам сняты по замечанию Елены («Проекты по отрас-лям», «Качество и доку-менты»
     на iPhone) — заголовок переносится по словам; длинное слово держит расчёт кегля по --lw (14.10.2026) */
  hyphens: none; overflow-wrap: anywhere;
}
@media (max-width: 600px) { .page-title { font-size: clamp(28px, 7.6vw, 44px); } }
/* Длинное слово в заголовке страницы: кегль по ширине колонки — правило .page-top h1.page-title ниже, у графитовых шапок.
   (06.10.2026 тут стояла ступень page-title--long от 19 букв; 14.10 «коррозионностойкой», 18 букв, рвалось без дефиса
   на всех ширинах — порог заменён расчётом) */

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
/* 06.10.2026: в одну колонку паспорт группы со своими кнопками встаёт прямо над нижней парой кнопок — дубль прячем */
@media (max-width: 960px) { #p-actions { display: none; } }
/* пара «текст + форма»: широкая колонка нужна форме, иначе два столбца полей
   ужимаются, форма вытягивается в высоту и рядом с ней остаётся пустой борт */
.split--form { grid-template-columns: .85fr 1.15fr; }
@media (max-width: 960px) { .split--form { grid-template-columns: 1fr; } }

table.spec { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
table.spec th, table.spec td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
table.spec th { font-weight: 500; color: var(--steel); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
table.spec tr:hover td { background: var(--bg-alt); }

.kv { border-top: 1px solid var(--line); }
.kv div { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv span:first-child { color: var(--steel); flex: none; }
.kv span:last-child { text-align: right; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .kv div { flex-direction: column; gap: 5px; }
  .kv span:last-child { text-align: left; }
}

/* широкие таблицы прокручиваются внутри себя, а не растягивают страницу */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.card-art { background: var(--bg-alt); border: 1px solid var(--line); display: grid; place-items: center; padding: 40px; }
.card-art svg { width: 100%; max-width: 380px; height: auto; }

/* ——— карты площадок (виджет Яндекса) ———
   Кадр держим на aspect-ratio: iframe без него схлопывается в 150px по умолчанию. */
.map { border: 1px solid var(--line); background: var(--bg-alt); }
.map__frame { position: relative; aspect-ratio: 4 / 3; }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map__tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 14px 0; }
.map__links { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 14px; font-size: 13px; }
.map__links a { color: var(--ink); border-bottom: 2px solid var(--gold); }
.map__links a:hover { border-color: var(--ink); }
/* в широкой секции складов карта вытянута по горизонтали, в колонке офиса — почти квадрат */
#wh-map .map__frame { aspect-ratio: 21 / 9; }
@media (max-width: 860px) { #wh-map .map__frame { aspect-ratio: 4 / 3; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr; } }
.gallery > div { background: var(--bg-alt); border: 1px solid var(--line); aspect-ratio: 4/3; display: grid; place-items: center; padding: 24px; }
.gallery svg { width: 80%; height: auto; }
.gallery figcaption { font-size: 12px; color: var(--steel); margin-top: 8px; }

/* ——— калькулятор ——— */
.calc { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: start; }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; gap: 44px; } }
.calc__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.calc__row:has(> :only-child) { grid-template-columns: 1fr; }
@media (max-width: 620px) { .calc__row { grid-template-columns: 1fr; } }
.calc__field { display: flex; flex-direction: column; gap: 8px; }
.calc__field span { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--steel); }
.calc__field input, .calc__field select {
  font: inherit; font-family: var(--font); color: var(--ink); font-variant-numeric: tabular-nums;
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 11px 2px; outline: none; transition: border-color .3s;
}
.calc__field input:focus, .calc__field select:focus { border-color: var(--gold); }
.calc__hint { font-size: 14px; color: var(--steel); margin: 12px 0 0; }
.calc__radios { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; font-size: 15px; }
.calc__radios label { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; }
/* параметры отгрузки: раскрыты и на подложке, иначе теряются в общем потоке полей */
.calc__params { margin-top: 46px; background: var(--bg-alt); border: 1px solid var(--line); padding: 28px 26px 30px; }
.calc__params .tag { margin-bottom: 6px; }
.calc__params .calc__field input { background: var(--bg); padding-left: 12px; padding-right: 12px; }

.calc__money { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.calc__sum { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.03em; margin: 8px 0 20px; font-variant-numeric: tabular-nums; color: var(--ink); }
.calc__out { background: var(--bg-alt); border: 1px solid var(--line); padding: 34px 30px; position: sticky; top: 100px; }
.calc__big { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.03em; line-height: 1.05; margin-top: 8px; font-variant-numeric: tabular-nums; }
.calc__out .kv div { font-variant-numeric: tabular-nums; }
.calc__note { font-size: 13px; color: var(--steel); margin: 26px 0 0; }

/* ——— каталог: подбор ——— */
.finder { background: var(--bg-alt); border: 1px solid var(--line); padding: 30px 28px 26px; }
.finder__search { display: flex; flex-direction: column; gap: 10px; }
.finder__search span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.finder__search input {
  font: inherit; font-family: var(--font); font-size: clamp(18px, 2vw, 24px); color: var(--ink);
  border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 12px 2px; outline: none;
}
.finder__search input:focus { border-color: var(--gold); }
.finder__row { display: flex; align-items: baseline; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.finder__label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); min-width: 84px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-family: var(--font); font-size: 13px; cursor: pointer;
  padding: 8px 14px; border: 1px solid var(--line);
  background: var(--bg); color: var(--steel); transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.finder__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--steel); }
/* отрицательный margin компенсирует padding: цель для пальца растёт, вёрстка не едет */
.finder__reset { font: inherit; font-family: var(--font); background: transparent; border: 0; color: var(--ink); cursor: pointer; padding: 12px 10px; margin: -12px -10px; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (pointer: coarse) { .chip { padding: 11px 16px; } }
.finder__hint { margin: 16px 0 0; font-size: 14px; color: var(--steel); }
.finder__hint a { color: var(--ink); border-bottom: 2px solid var(--gold); }
.finder__hint a:hover { border-color: var(--ink); }

.pgrid { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1180px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .pgrid { grid-template-columns: 1fr; } }
.pgrid > .note { grid-column: 1 / -1; background: var(--bg); padding: 34px 28px; margin: 0; }

.pcard {
  background: var(--bg); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px;
  min-height: 250px; transition: background-color .2s ease, color .2s ease;
}
.pcard:hover { background: var(--ink); color: #fff; }
.pcard__icon { color: var(--gold); display: block; }
.pcard__icon svg { width: 84px; height: auto; }
.pcard__name { font-size: 18px; letter-spacing: -.02em; line-height: 1.2; margin-top: 6px; }
.pcard__std { font-size: 13px; color: var(--ink); }
.pcard:hover .pcard__std { color: var(--gold); }
.pcard__sizes { font-size: 13px; color: var(--steel); margin-top: auto; }
.pcard:hover .pcard__sizes { color: #cfd3d7; }
.pcard__hit { font-size: 12px; color: var(--ink); background: var(--gold-soft); padding: 6px 10px; margin-top: 10px; }
.pcard:hover .pcard__hit { color: var(--ink); }
.pgrid--sm .pcard, .pcard--sm { min-height: 180px; }

/* ——— проекты ——— */
.finder__tools { display: flex; align-items: center; gap: 20px; }
.finder__sort { color: var(--steel); }
/* 16px обязательны: iOS Safari принудительно зумит страницу при фокусе
   на контроле с меньшим кеглем, и обратно уже не отматывает */
.finder__sort select { font: inherit; font-family: var(--font); font-size: 16px; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); padding: 10px 2px; cursor: pointer; }

.prgrid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1080px) { .prgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .prgrid { grid-template-columns: 1fr; } }

.prcard {
  background: var(--bg); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 10px;
  min-height: 260px; transition: background-color .2s ease, color .2s ease;
}
.prcard:hover { background: var(--ink); color: #fff; }
.prcard__year { font-size: 13px; letter-spacing: .14em; color: var(--steel); }
.prcard:hover .prcard__year { color: var(--gold); }
.prcard__customer { font-size: 19px; letter-spacing: -.02em; line-height: 1.2; }
.prcard__object { font-size: 14px; color: var(--steel); }
.prcard:hover .prcard__object { color: #cfd3d7; }
.prcard__items { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
.prcard:hover .prcard__items { color: #cfd3d7; }
.prcard__items li { position: relative; padding-left: 14px; }
.prcard__items li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 1px; background: var(--gold); }
.prcard__rest { color: var(--steel); }
.prcard__geo { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--steel); border-top: 1px solid var(--line); }
.prcard:hover .prcard__geo { color: #cfd3d7; border-color: rgba(255,255,255,.18); }
.prgrid--sm .prcard { min-height: 170px; }
.pj-reg { font-variant-numeric: tabular-nums; font-size: 13px; overflow-wrap: anywhere; }

/* пометки «уточняется» — видимая граница между подтверждённым и черновым */
.p-todo-inline { color: var(--steel); font-style: italic; }
.finder__ex {
  font: inherit; font-family: var(--font); font-size: 14px; cursor: pointer;
  background: transparent; border: 0; border-bottom: 2px solid var(--gold);
  color: var(--ink); padding: 2px 0; margin: 0 8px 0 0;
}
.finder__ex:hover { border-color: var(--ink); }
/* специфичность до `.form label`: иначе колонка и капс от подписи поля перебивают
   строку согласия — чекбокс встаёт над текстом, а текст набирается капсом */
.form label.form__consent { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.form label.form__consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; padding: 0; border: 0; }
.form label.form__consent span { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink-soft); }

.p-todo { font-size: 14px; color: var(--steel); border-left: 2px solid var(--gold); padding: 10px 0 10px 16px; margin-top: 26px; }
.caps { columns: 2; column-gap: 44px; }
.caps li { break-inside: avoid; }
@media (max-width: 760px) { .caps { columns: 1; } }

/* ——— форма запроса ——— */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }
.form label { display: flex; flex-direction: column; gap: 8px; }
.form label span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.form__wide { grid-column: 1 / -1; }

/* ——— левая колонка блока «Запрос» ——— */
.req__sla { margin: 30px 0 0; padding: 2px 0 2px 16px; border-left: 3px solid var(--gold); font-size: 17px; }
.req__block { margin-top: 34px; }
.req__block .tag { margin-bottom: 14px; }
.req__block .ind__list { margin-top: 0; }
/* маркер в 1px ложится на полупиксель и выцветает через строку — здесь берём 2px */
.req__block .ind__list li::before { height: 2px; top: .58em; }
.req__alt { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0; font-size: 17px; }
.req__alt a { border-bottom: 2px solid var(--gold); }
.req__alt a:hover { border-color: var(--ink); }
.form input, .form textarea {
  font: inherit; font-family: var(--font); color: var(--ink);
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 12px 2px; outline: none; transition: border-color .3s; resize: vertical;
}
.form input:focus, .form textarea:focus { border-color: var(--gold); }
.form button { grid-column: 1 / -1; justify-self: start; cursor: pointer; font-family: var(--font); background: transparent; }
.form__note { grid-column: 1 / -1; font-size: 13px; color: var(--steel); margin: 0; }

/* ——— TEMP: временные пункты меню на время согласования ——— */
.hdr__nav-temp { opacity: .55; }
.hdr__nav-temp:hover { opacity: 1; }
.hdr__nav-temp + .hdr__nav-temp { margin-left: -12px; }
.hdr__nav a.hdr__nav-temp:first-of-type::before {
  content: ''; display: inline-block; width: 1px; height: 11px;
  background: currentColor; opacity: .5; margin-right: 34px; vertical-align: middle;
}

/* ——— TEMP: плашка прототипа ——— */
/* Служебная наклейка поверх сайта, а не его элемент — скругление намеренное,
   она и должна выбиваться из прямоугольной сетки. */
.proto-badge {
  position: fixed; left: 18px; bottom: 18px; z-index: 90; max-width: 340px;
  background: rgba(255,255,255,.94); border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px; font-size: 12px; line-height: 1.45; color: var(--steel);
  box-shadow: 0 6px 24px rgba(0,0,0,.09);
}
@media (max-width: 700px) { .proto-badge { display: none; } }

/* ——— каталог: два направления ———
   Выдача разбита на секции по направлению: сетка карточек живёт в .pgrid__row,
   а #cat-results остаётся обычным блоком, чтобы заголовки направлений
   не превращались в ячейки сетки. */
.catout { margin-top: 34px; }
.catout > .note { margin: 0; padding: 34px 0; }

.dirhead { margin: 54px 0 22px; }
.catout > .dirhead:first-child { margin-top: 0; }
.dirhead__name { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.025em; line-height: 1.15; margin: 0; font-weight: 500; }
.dirhead__lead { margin: 12px 0 0; max-width: 72ch; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }

.pgrid__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1180px) { .pgrid__row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .pgrid__row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .pgrid__row { grid-template-columns: 1fr; } }

.pcard__kind { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.pcard:hover .pcard__kind { color: #cfd3d7; }

/* ——— карточка: стандарты и механические свойства ——— */
.docs { margin-top: 26px; }
.docs__item { padding: 30px 0; border-top: 1px solid var(--line); }
.docs__item:first-child { padding-top: 22px; }
.docs__code {
  font-size: 20px; letter-spacing: -.01em; margin: 0 0 14px; font-weight: 500;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.docs__new {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: var(--gold-soft); padding: 4px 9px;
}
.docs .table-wrap { margin-top: 20px; }
.docs .note { font-size: 15px; }
.docs__params { margin-top: 18px; max-width: 760px; }
.docs__params div { padding: 10px 0; font-size: 14px; }

/* вторая строка шапки — уточнения к столбцам, тише основной */
table.spec thead tr + tr th { text-transform: none; letter-spacing: .02em; font-size: 12px; color: var(--ink-soft); }
table.spec th { vertical-align: bottom; }
.spec__split td {
  background: var(--bg-alt); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--steel);
}
table.spec tr.spec__split:hover td { background: var(--bg-alt); }

/* ——— фильтр по стандартам в два уровня ———
   53 номера плоским списком забивают экран, поэтому сверху — система
   стандартизации со счётчиком, а номера раскрываются под выбранным семейством. */
.chip i { font-style: normal; margin-left: 7px; font-size: 11px; color: var(--steel); }
.chip.on i { color: rgba(255,255,255,.6); }

.finder__row--sub { margin-top: 10px; }
.chips--sub .chip {
  font-size: 12px; padding: 6px 11px;
  background: transparent; border-style: dashed;
}
.chips--sub .chip.on { background: var(--gold-soft); border-style: solid; border-color: var(--gold); color: var(--ink); }
@media (pointer: coarse) { .chips--sub .chip { padding: 9px 13px; } }

/* пришли с главной по ссылке на раздел — говорим об этом и даём снять */
.finder__dir { margin: 22px 0 0; font-size: 14px; color: var(--steel); }
.finder__dir b { color: var(--ink); font-weight: 500; }
.finder__dir button {
  font: inherit; font-family: var(--font); font-size: 14px; cursor: pointer;
  background: transparent; border: 0; border-bottom: 2px solid var(--gold);
  color: var(--ink); padding: 2px 0; margin-left: 10px;
}
.finder__dir button:hover { border-color: var(--ink); }

/* фирменный слоган в hero — подпись у логотипа, а не заголовок:
   держим его тише названия и выше описания */
.hero__slogan {
  flex-basis: 100%; order: -1;
  font-size: clamp(15px, 1.7vw, 20px); line-height: 1.35;
  letter-spacing: .01em; color: #fcc02a !important; max-width: none !important;
  margin: 0 0 6px !important;
}

/* логотипы заказчиков */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 520px) { .clients { grid-template-columns: repeat(2, 1fr); } }
.clients li { background: var(--bg); display: grid; place-items: center; padding: 18px 14px; min-height: 96px; }
.clients img { max-width: 100%; height: auto; max-height: 56px; width: auto; object-fit: contain; }

/* ——— калькулятор: правка вёрстки ———
   1. Скрытые группы полей. У `.calc__row { display: grid }` и у браузерного
   правила для [hidden] одинаковая специфичность, но авторский стиль сильнее
   браузерного — из-за этого атрибут hidden не работал вовсе и на странице
   разом висели поля круглой, квадратной и прямоугольной трубы. */
[hidden] { display: none !important; }

/* 2. Колонки не должны раздуваться под длинный текст внутри: у `1fr`
   минимальный размер равен содержимому, и длинный пункт списка «Группа»
   растягивал свою колонку, поджимая диаметр и стенку до нечитаемых. */
.calc { grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); }
.calc__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .calc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .calc__row { grid-template-columns: minmax(0, 1fr); } }

/* 3. Значения в сводке результата. Общее правило для .kv разрешает перенос
   в любом месте — на широкой карточке каталога это нужно, а в узкой колонке
   калькулятора приводило к тому, что «9,16 кг» ломалось по одной букве
   в столбик. Здесь наоборот: подпись ужимается, значение остаётся цельным. */
.calc__out .kv div { gap: 16px; align-items: baseline; }
.calc__out .kv span:first-child { flex: 1 1 auto; min-width: 0; }
.calc__out .kv span:last-child { flex: none; white-space: nowrap; overflow-wrap: normal; }
/* «19,300 — 21,300 т» при прежнем кегле не влезало в колонку и рвалось
   после тире, оставляя его висеть в конце строки. Уменьшаем — диапазон
   встаёт в одну строку и остаётся главным числом на странице. */
.calc__big, .calc__sum { overflow-wrap: normal; word-break: keep-all; }
.calc__big { font-size: clamp(26px, 2.4vw, 34px); }
@media (max-width: 760px) {
  .calc__out .kv div { flex-direction: row; }
  .calc__out .kv span:last-child { text-align: right; }
}

/* подбор по сортаменту в калькуляторе */
.calc__picker { margin-top: 30px; background: var(--bg-alt); border: 1px solid var(--line); padding: 24px 22px 22px; }
.calc__picker .tag { margin-bottom: 6px; }
.calc__picker select { background: var(--bg); padding-left: 12px; padding-right: 12px; }

/* ——— сортамент: широкая матрица «диаметр × стенка» ——— */
.srt { margin-top: 20px; max-height: 70vh; overflow: auto; border: 1px solid var(--line); }
table.spec.srt__t { min-width: 0; font-size: 13px; }
.srt__t th, .srt__t td { padding: 7px 9px; text-align: center; border-right: 1px solid var(--line); white-space: nowrap; }
/* шапка и колонка диаметров держатся на месте при прокрутке в обе стороны */
.srt__t thead th { position: sticky; top: 0; z-index: 2; background: var(--bg); font-size: 11px; letter-spacing: .04em; }
.srt__t .srt__d { position: sticky; left: 0; z-index: 1; background: var(--bg); font-weight: 500; color: var(--ink); text-align: right; font-size: 13px; text-transform: none; letter-spacing: 0; }
.srt__t .srt__corner { left: 0; z-index: 3; text-align: right; }
.srt__t tr:hover td { background: var(--gold-soft); }
.srt__yes { background: var(--gold-soft); padding: 0 !important; }
.srt__yes a { display: block; padding: 7px 9px; color: var(--ink); font-size: 12px; }
.srt__yes a:hover { background: var(--ink); color: #fff; }
.srt__no { color: transparent; }
.srt__legend { margin: 18px 0 0; font-size: 14px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 8px; }
.srt__legend b { display: inline-block; min-width: 34px; color: var(--ink); }

/* ——— пары «термин — пояснение» ——— */
.pairs { margin: 24px 0 0; }
.pairs dt { font-size: 17px; letter-spacing: -.01em; padding-top: 22px; border-top: 1px solid var(--line); }
.pairs dd { margin: 8px 0 22px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; max-width: 80ch; }

/* ——— переключатель версий в плашке прототипа ——— */
.vsw { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.vsw__label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.vsw__btns { display: flex; border: 1px solid var(--line); }
.vsw__btn {
  font-size: 12px; padding: 4px 12px; color: var(--steel); background: var(--bg);
  border-right: 1px solid var(--line); transition: background .25s, color .25s;
}
.vsw__btn:last-child { border-right: 0; }
.vsw__btn:hover { color: var(--ink); }
.vsw__btn.on { background: var(--ink); color: #fff; cursor: default; }


/* ——— конверсия: прикрепление спецификации, доказательства у формы, каталог PDF ——— */
.form__file { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__file input[type="file"] {
  position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden;
}
.form__file-btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 13px 20px; border: 1px solid var(--ink); background: transparent;
  font-size: 14px; letter-spacing: .04em; transition: background .3s, color .3s;
}
.form__file-btn:hover { background: var(--ink); color: #fff; }
/* фокус с клавиатуры приходит на скрытый input — подсвечиваем видимую кнопку */
.form__file input[type="file"]:focus-visible + .form__file-btn { outline: 2px solid var(--gold); outline-offset: 3px; }
.form__file-ico svg { width: 20px; height: 20px; display: block; }
.form__file-name { font-size: 13px; color: var(--steel); }
.form__file-name.on { color: var(--ink); }

.req__proof { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.req__proof li { position: relative; padding-left: 16px; }
.req__proof li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--gold); }
.req__proof b { color: var(--ink); font-weight: 500; }

/* строка «плашка/кнопка + ссылка»: на телефоне ссылка уходит на свою строку целиком и с отступом
   (раньше её держал &emsp; — прилипала к рамке и рвалась посередине, ОС Елены 30.09).
   Ссылку .lnk оборачиваем в <span>: сама по себе во flex она блочная, и подчёркивание
   ложится одной чертой под весь блок вместо каждой строки */
.dl, .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; }
/* две кнопки подряд (карточка товара): раньше вторая стояла с margin-left:12px и после переноса
   съезжала вправо лесенкой (мобильный снимок Елены 30.09) */
.acts--btns { gap: 12px; }
@media (max-width: 700px) { .acts--btns .btn { flex: 1 1 100%; justify-content: center; } }
.dl__link { display: inline-flex; align-items: center; gap: 14px; padding: 16px 22px; border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.dl__link:hover { border-color: var(--ink); background: var(--bg-alt); }
.dl__ico svg { width: 24px; height: 24px; display: block; color: var(--ink); }
.dl__link b { display: block; font-weight: 500; font-size: 15px; }
.dl__link em { display: block; font-style: normal; font-size: 13px; color: var(--steel); margin-top: 2px; }


/* ═══════ v4: новые разделы ═══════ */

/* — пометка «данные на проверке»: заметная, чтобы макет не приняли за факт — */
.todo-note {
  margin-top: 26px; padding: 18px 22px; max-width: 72ch;
  background: var(--gold-soft); border-left: 4px solid var(--gold); font-size: 15px; color: var(--ink);
}
.todo-note b { display: block; margin-bottom: 4px; font-weight: 600; }

/* — допуски и реестры — */
.accr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .accr { grid-template-columns: 1fr; } }
.accr__cell { background: var(--bg); padding: 30px 26px 32px; }
.accr__mark { display: block; color: var(--gold); margin-bottom: 16px; }
.accr__mark svg { width: 34px; height: 34px; display: block; }
.accr__cell h3 { font-size: 18px; line-height: 1.25; margin-bottom: 8px; }
.accr__cell p { margin: 0; font-size: 14px; color: var(--steel); }

/* — макеты сертификатов: заведомо не документ — */
.cmocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1080px) { .cmocks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cmocks { grid-template-columns: 1fr; } }
.cmock { margin: 0; }
.cmock__sheet {
  position: relative; aspect-ratio: 3 / 4; background: var(--bg);
  border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden;
}
.cmock__stamp {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel);
  border: 1px dashed var(--steel); padding: 8px 14px; transform: rotate(-8deg); background: var(--bg);
  position: relative; z-index: 2;
}
.cmock__lines { position: absolute; inset: 16% 14%; display: flex; flex-direction: column; gap: 10px; z-index: 1; }
.cmock__lines i { display: block; height: 6px; background: var(--line); }
.cmock__lines i:nth-child(2) { width: 78%; }
.cmock__lines i:nth-child(3) { width: 90%; }
.cmock__lines i:last-child { width: 54%; margin-top: auto; }
.cmock figcaption { margin-top: 14px; font-size: 14px; line-height: 1.35; }
.cmock figcaption b { display: block; font-weight: 500; }
.cmock figcaption span { color: var(--steel); font-size: 13px; }

/* — контроль: пары «что — как» — */
.ctrl { display: flex; flex-direction: column; gap: 14px; }
.ctrl li { border-top: 1px solid var(--line); padding-top: 12px; }
.ctrl b { display: block; font-weight: 500; font-size: 16px; }
.ctrl span { font-size: 14px; color: var(--steel); }

/* — проекты по отраслям — */
.ctabs { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ctab {
  flex: 1 1 auto; background: var(--bg); border: 0; cursor: pointer; font-family: var(--font);
  font-size: 15px; color: var(--ink); padding: 18px 22px; text-align: left;
  display: flex; align-items: center; gap: 10px; transition: background .3s, color .3s;
}
.ctab span { font-size: 12px; color: var(--steel); }
.ctab:hover { background: var(--bg-alt); }
.ctab.on { background: var(--ink); color: #fff; }
.ctab.on span { color: var(--gold); }
.cpane { display: none; }
.cpane.on { display: block; }
/* Анимация только при переключении вкладки. С `backwards` первая панель залипала
   на opacity 0: fill-mode подставляет from-состояние, а сама анимация на уже
   отрисованном при загрузке элементе не отыгрывала. */
.cpane.on.anim { animation: whaFade .45s; }
.cgrid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1080px) { .cgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .cgrid { grid-template-columns: 1fr; } }
.ccard { background: var(--bg); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 10px; min-height: 210px; }
.ccard__year { font-size: 13px; letter-spacing: .14em; color: var(--steel); }
.ccard__customer { font-size: 19px; letter-spacing: -.02em; line-height: 1.2; }
.ccard__object { margin: 0; font-size: 14px; color: var(--ink-soft); }
.ccard__std { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--steel); }

/* — как мы работаем — */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1000px) { .how { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .how { grid-template-columns: 1fr; } }
.how__cell { background: var(--bg); padding: 30px 28px 34px; }
.how__num { font-size: 13px; letter-spacing: .16em; color: var(--gold); display: block; margin-bottom: 14px; }
.how__title { font-size: 20px; margin-bottom: 8px; }
.how__text { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* — справочник стандартов — */
.std__t thead th { white-space: nowrap; }
.std__t td a { border-bottom: 1px solid var(--line); }
.std__t td a:hover { border-color: var(--ink); }
.std__steels { color: var(--steel); font-size: 13px; }
.plain { max-width: var(--content); margin: 0 auto; }

/* первый столбец справочника — это <th> в tbody: название, а не заголовок колонки */
.std__t tbody th { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); font-weight: 500; }

/* ——— Фотографии каталога v5 (16.09.2026) ——————————————————————————————
   Пропорция кадров 3:2 (карточка 720x480, плитка 480x320, полоса 1600x720),
   поэтому aspect-ratio задан жёстко: без него страница дёргается при подгрузке. */
.card-photo { margin: 0; }
.card-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block;
  border: 1px solid var(--line); }
.card-photo figcaption { font-size: 13px; color: var(--steel); margin-top: 8px; line-height: 1.35; }

.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px; margin-top: 26px; }
.photo-row figure { margin: 0; }
/* height:auto обязателен: атрибут height="320" иначе перебивает aspect-ratio, и на телефоне кадр
   вытягивался в узкий столбик 162×320 (снимок Елены 30.09) */
.photo-row img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block;
  border: 1px solid var(--line); }
.photo-row figcaption { font-size: 12px; color: var(--steel); margin-top: 6px; line-height: 1.3; }

.photo-wide { margin: 64px 0 0; }
.photo-wide img { width: 100%; aspect-ratio: 20 / 9; object-fit: cover; display: block; }
.photo-wide figcaption { font-size: 13px; color: var(--steel); margin-top: 10px; }
/* ролик вместо фото (06.10.2026): кадр 2.39:1, тихий автозапуск, кнопка звука поверх */
.photo-wide.film { position: relative; }
.photo-wide.film .film__video { width: 100%; height: auto; aspect-ratio: 2560 / 1072; object-fit: cover; display: block; background: #17191c; }
/* height:auto обязателен: иначе атрибут height="804" делает из видео столб, и наблюдатель видимости не запускает его */
.photo-wide.film[data-orient="tall"] .film__video { aspect-ratio: 1080 / 1920; } /* телефон в портрете — вертикальная версия */
.film__sound { position: absolute; right: 16px; bottom: 44px; font: inherit; font-size: 14px; font-weight: 500; color: #f6f6f6;
  background: rgba(23,25,28,.72); border: 1px solid rgba(252,192,42,.7); border-radius: 999px; padding: 8px 16px 8px 40px; cursor: pointer; }
.film__sound::before { content: ''; position: absolute; left: 16px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%);
  background: var(--gold); clip-path: polygon(0 30%, 40% 30%, 75% 0, 75% 100%, 40% 70%, 0 70%); }
.film__sound[aria-pressed="true"] { background: var(--gold); color: #17191c; border-color: var(--gold); }
.film__sound[aria-pressed="true"]::before { background: #17191c; }
.film__sound:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 700px) {
  .photo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  /* на телефоне пары кадров — вертикальные, а нечётный последний ложится во всю ширину горизонтально,
     без пустой клетки справа (предложение Елены 30.09) */
  .photo-row img { aspect-ratio: 4 / 5; }
  .photo-row figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .photo-row figure:last-child:nth-child(odd) img { aspect-ratio: 3 / 2; }
  .photo-wide { margin-top: 40px; }
  .photo-wide img { aspect-ratio: 3 / 2; }
}

/* фото с инспекций (28.10.2026): «Качество» — квадраты, иначе 3:2 срезает губку штангенциркуля;
   «Проекты» — полоса над карточками отрасли, без верхнего отступа .photo-wide */
.photo-row--sq img, .photo-row--sq figure:last-child:nth-child(odd) img { aspect-ratio: 1 / 1; }
.photo-wide--case { margin: 0 0 28px; }
@media (max-width: 700px) {
  .photo-row--sq img, .photo-row--sq figure:last-child:nth-child(odd) img { aspect-ratio: 1 / 1; }
  .photo-wide--case { margin: 0 0 20px; }
}


/* Сканы сертификатов вместо макетов (16.09.2026): лист A4, вписан целиком — обрезать
   документ по краю нельзя, номер и срок действия должны оставаться в кадре. */
.cmock__scan { width: 100%; aspect-ratio: 400 / 566; object-fit: contain; display: block;
  background: #fff; border: 1px solid var(--line); }


/* ═══════ ТИПОГРАФИКА — единая система (30.09.2026) ═══════════════════════════════════════════
   ОС Елены: «на сайте разные шрифты, в совокупности смотрится не очень эстетично». Шрифт на всём сайте
   один (Golos Text), но разнобой был в остальном: 18 значений разрядки (от -0.045em до +0.2em),
   четыре насыщенности (жирный <b> по умолчанию 700 — заметно тяжелее всего остального), шесть почти
   одинаковых размеров подзаголовков 18–26px. Блок стоит последним и сводит всё к одной системе.
   Характерный шрифт логотипа живёт только в логотипе и в слове METALLINE на первом экране.

   Разрядка — семь ступеней вместо восемнадцати:
     -0.03em  крупные цифры и заголовки страниц (≥ 60px)
     -0.02em  заголовки секций и крупные числа (26–60px)
     -0.01em  подзаголовки карточек (18–26px)
      0       основной текст
      0.04em  мелкие плашки и телефон
      0.08em  кнопки и шапки таблиц КАПСОМ
      0.14em  подписи КАПСОМ (метки разделов, меню, поля форм) и номера «01, 02»
   Насыщенность — две: 400 и 500. Подзаголовки — два размера: 19–23px (карточки) и 19px (мелкие). */

b, strong { font-weight: 500; }
.todo-note b { font-weight: 500; }

/* крупное */
.page-title, .counter__num { letter-spacing: -0.03em; }
.lead, .dirhead__name, .calc__sum, .calc__big { letter-spacing: -0.02em; }
/* .mnav__list a — разрядка -0.01em у самого правила (с 14.10.2026 пункты меню 20–23px, ступень подзаголовков) */

/* подзаголовки карточек: один размер вместо 21/22/23/26; потолок 22px — при 23 «холоднодеформированные» не влезало в плитку.
   14.10.2026: переносы по слогам сняты по отзыву команды («хо-лоднодеформированные», «ко-тельные») — в заголовках их
   не делают; замер 375px: все названия помещаются с переносом по словам */
.cat__name, .ind__title, .wcity__name, .geo__pt b { font-size: clamp(19px, 1.5vw, 22px); letter-spacing: -0.01em; }
/* мелкие подзаголовки: 19px вместо 18/19/20 */
.pcard__name, .prcard__customer, .ccard__customer, .docs__code,
.trust__cell h3, .how__title, .accr__cell h3 { font-size: 19px; letter-spacing: -0.01em; }

/* 14.10.2026, переносы (reports\сайт__переносы-разбор-2026-10-14.md).
   <ml-nw> — неразрывный кусок: обозначение стандарта («ГОСТ 8734-75» рвался после дефиса), телефон. Ставят сборка
   (статика, typo.py) и app.js (то, что рисуют скрипты). Свой элемент, а не span.nw: правила «span внутри X»
   (.kv span:first-child, .qmarq span) красили бы обёртку как подпись или рамку. Дефис остаётся обычным: с неразрывным
   U+2011 поиск по странице и Яндекс не находят «ГОСТ 8734-75».
   text-wrap — строки заголовков ровной длины, в абзаце последняя строка не из одного слова (iOS 17.5+ / 26+,
   Chrome; старые браузеры свойство не применяют). :where — нулевой вес: любое white-space: nowrap сильнее. */
ml-nw { white-space: nowrap; }
/* Мягкие переносы (U+00AD) на стыке частей сложного слова («холодно-деформированные») ставит app.js (SHY_RE) — только
   в узких местах ниже (SHY_AT). Браузер переносит по ним всякий раз, когда строка доходит до слова, а не только когда
   слово не помещается, — поэтому по умолчанию переносы выключены (hyphens наследуется) и включены лишь там, где длинное
   слово иначе не входит: плитки направлений и списки раскрытой отрасли (по замеру, .no-hy), счётчик отраслей, плашки видов контроля, пункты «Контроля качества»,
   подписи калькулятора; на телефоне — ячейки таблиц. Список держать в паре с SHY_AT в app.js. */
body { hyphens: none; }
.counter__label, ul.tests li span, .qitems li, .calc__field span { hyphens: manual; }
/* плитки направлений, списки и абзацы раскрытой отрасли: перенос «холодно-/деформированные», «коррозионно-/стойкие» нужен
   только в блоке, куда слово целиком не входит; где входит, он лишний. По умолчанию перенос включён, а app.js (initFitHy,
   список FIT_HY) снимает его замером (.no-hy) там, где слово входит: скрипт задержался или не пришёл — лишний перенос,
   а не обрезанное слово (на стенде 22.10.2026 холодная загрузка раз из трёх запускала скрипт позже 10 с).
   До 22.10.2026 у плиток стоял порог «экран шире 1024px»: на 2 и 3 колонках и на 320px слово обрезалось плиткой */
:where(.cat__name, .ind__cols li, .ind__cols p) { hyphens: manual; }
.no-hy { hyphens: none; }
@media (max-width: 600px) { td { hyphens: manual; } }
:where(h1, h2, h3, .pcard__name, .cat__name, .ind__title, .prcard__customer, .ccard__customer, .how__title) { text-wrap: balance; }
:where(p, li, dd, figcaption) { text-wrap: pretty; }
.hero__slogan { letter-spacing: -0.01em; }

/* подписи КАПСОМ: 12px / 0.14em / 400 (метки разделов, поля форм и фильтров) */
.tag, .hero__scroll, .cmock__stamp, .pcard__kind, .vsw__label,
.finder__search span, .finder__label, .form label span, .calc__field span {
  font-size: 12px; letter-spacing: 0.14em; font-weight: 400;
}
.form label.form__consent span { font-size: 14px; letter-spacing: 0; text-transform: none; }
.hdr__nav { letter-spacing: 0.14em; }
.docs__new { letter-spacing: 0.14em; }
.cat__idx, .ind__num, .wcity__num, .how__num, .prcard__year, .ccard__year { letter-spacing: 0.14em; }

/* кнопки и шапки таблиц КАПСОМ */
.btn, table.spec th, .spec__split td { letter-spacing: 0.08em; }
table.spec thead tr + tr th, .std__t tbody th, .srt__t .srt__d { letter-spacing: 0; }

/* мелкие плашки и телефон */
.hdr__tel, .trust__std li { letter-spacing: 0.04em; }

/* Фото офиса на «Контактах» (30.09.2026): БЦ «Саммит», Викисклад, CC BY-SA 4.0 — подпись автора обязательна.
   Кадр 3:2 (башня с вывеской): вертикальный 4:5 вытягивал колонку адреса вдвое выше карты */
.office-photo { margin: 34px 0 0; }
.office-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.office-photo figcaption { font-size: 13px; color: var(--steel); margin-top: 10px; line-height: 1.45; }
.office-photo figcaption a { color: inherit; border-bottom: 1px solid var(--line); white-space: nowrap; }
.office-photo figcaption a:hover { color: var(--ink); border-bottom-color: var(--ink); }
/* колонка адреса с фото выше карты — на десктопе карта тянется на всю её высоту, без пустоты под картой */
@media (min-width: 961px) {
  .split--office { align-items: stretch; }
  .split--office .map { display: flex; flex-direction: column; }
  .split--office .map__frame { flex: 1; aspect-ratio: auto; min-height: 360px; }
}

/* ═══ Боевой сайт (задача 705, 30.09.2026): форма, карта по согласию, панель cookie, правовые страницы ═══
   В рамках типографики выше: подписи КАПСОМ 12px/0.14em, кнопки 0.08em, веса 400/500, углы прямые. */

/* ловушка для ботов: поле есть в форме, но человеку его не видно и фокус на него не попадает */
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form button[disabled] { opacity: .55; cursor: progress; }
.form__note.is-err { color: #b3261e; font-size: 14px; }
.form__note .lnk, .form__consent .lnk { color: inherit; }
.form-done { padding: 8px 0 0; }
.form-done .lead { margin: 14px 0 18px; }
.form-done:focus { outline: none; }

/* карта до согласия: заглушка того же размера, что и карта, — без скачка вёрстки */
.map__frame--lazy { background: var(--graphite, #17191c); color: #fff; }
.map__stub {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; gap: 16px; padding: clamp(22px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(252,192,42,.08) 0 25%, transparent 25% 50%, rgba(252,192,42,.08) 50% 75%, transparent 75%) 0 0 / 28px 28px,
    var(--graphite, #17191c);
}
.map__stub .tag { color: var(--gold); }
.map__stub p { margin: 0; font-size: clamp(19px, 1.5vw, 22px); letter-spacing: -0.01em; max-width: 26ch; }
.map__stub .btn { color: #fff; }
.map__stub .btn:hover { color: var(--ink); }
.map__stub small { font-size: 13px; line-height: 1.45; color: var(--on-dark, #cfd3d7); max-width: 46ch; }
.map__stub small a { color: inherit; border-bottom: 1px solid currentColor; }
.map__frame--lazy.is-loaded .map__stub { display: none; }

/* подвал: ссылки на политику и кнопка «Настройки cookie» — вид ссылки, а не кнопки */
.foot__copy a, .foot__cookie { color: inherit; border-bottom: 1px solid currentColor; }
.foot__cookie { font: inherit; background: none; border-width: 0 0 1px; padding: 0; cursor: pointer; }
.foot__cookie:hover, .foot__copy a:hover { color: var(--gold); }

/* ——— панель cookie: графитовая карточка справа внизу, на телефоне — лист снизу ——— */
.ckp {
  position: fixed; right: 18px; bottom: 18px; z-index: 80; width: min(420px, calc(100vw - 36px));
  background: var(--graphite, #17191c); color: #fff;
  border: 1px solid rgba(255,255,255,.14); border-top: 3px solid var(--gold);
  padding: 22px 24px 24px; box-shadow: 0 18px 50px rgba(0,0,0,.28);
  opacity: 0; transform: translateY(24px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.16,1,.3,1);
}
.ckp.is-on { opacity: 1; transform: none; }
.ckp[hidden] { display: none; }
.ckp__tag { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.ckp__txt { font-size: 15px; line-height: 1.5; color: #e4e4e4; margin: 0 0 10px; }
.ckp__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 18px; font-size: 13px; }
.ckp__links a { color: var(--on-dark, #cfd3d7); border-bottom: 1px solid currentColor; }
.ckp__links a:hover { color: var(--gold); }
.ckp__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ckp__btn {
  font: inherit; font-family: var(--font); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 18px; cursor: pointer; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55);
  transition: background .3s, color .3s, border-color .3s;
}
.ckp__btn:hover { border-color: #fff; background: #fff; color: var(--ink); }
.ckp__btn--all { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.ckp__btn--all:hover { background: #fff; border-color: #fff; }
.ckp :focus-visible { outline-color: #fff; }
@media (max-width: 600px) {
  .ckp { right: 0; bottom: 0; width: 100%; padding: 20px var(--shell) calc(20px + env(safe-area-inset-bottom)); }
  .ckp__btns { display: grid; grid-template-columns: 1fr 1fr; }
  .ckp__btn { padding: 13px 10px; }
}
@media (prefers-reduced-motion: reduce) { .ckp { transition: none; } }

/* ——— правовые страницы и 404 ——— */
.legal { max-width: 78ch; }
.legal h2 { font-size: clamp(19px, 1.5vw, 22px); letter-spacing: -0.01em; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ol, .legal ul { margin: 0 0 1em; padding-left: 1.3em; }
.legal ul { list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--ink); border-bottom: 2px solid var(--gold); }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.legal th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); font-weight: 400; }
.legal__meta { font-size: 14px; color: var(--steel); }
@media (max-width: 700px) {
  .legal table, .legal tbody, .legal tr, .legal td { display: block; }
  .legal thead { display: none; }
  .legal tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .legal td { border: 0; padding: 4px 0; }
  .legal td[data-h]::before { content: attr(data-h); display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
}
.e404 { min-height: 60vh; }
.e404__num { font-size: clamp(90px, 16vw, 220px); line-height: .9; letter-spacing: -0.03em; font-weight: 500; color: var(--gold); margin: 0 0 20px; }

/* ═══ Раздел «Заводы и заказчики» (главная, 30.09.2026, вариант 2 Сергея) ═══
   Компании — серыми плитками, факты — таблицей «подпись — значение» (ровный правый край колонки),
   хвост сетки логотипов — жёлтая клетка (ширину считает catalog.js: fitClientsFill). */
.fact-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; margin-top: 18px; }
.fact-tiles li { background: #f6f6f6; min-height: 60px; display: grid; place-items: center; padding: 10px 8px;
                 font-size: 15px; font-weight: 500; color: var(--ink); text-align: center; }
@media (max-width: 700px) { .fact-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.facts { position: relative; margin-top: 30px; }
.facts > div { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 14px 0; font-size: 15px; }
.facts > div > span:first-child { color: var(--steel); }
.facts > div > span:last-child { color: var(--ink-soft); }
/* линии таблицы — псевдоэлементами, чтобы прочерчивать их при появлении */
.facts::before, .facts > div::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }
.facts::before { top: 0; }
.facts > div::after { bottom: 0; }
@media (max-width: 700px) { .facts > div { grid-template-columns: 1fr; gap: 4px; } }

.clients { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 520px) { .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.clients li.clients__fill { position: relative; padding: 0; }
.clients li.clients__fill::before { content: ''; position: absolute; inset: 0; background: var(--gold); transform-origin: left center; }

/* — появление: волной по порядку чтения; запускает .in на .trust-block (app.js, IntersectionObserver) —
   1) плитки компаний слева направо, ряд за рядом; 2) линии таблицы прочерчиваются слева, за ними текст строки;
   3) логотипы диагональной волной из левого верхнего угла; 4) жёлтая клетка заливается слева последней. */
/* в сетке логотипов проявляется картинка, а не клетка: прозрачная клетка открывала серый фон швов — сетка
   до появления выглядела сплошной серой плитой */
html.js .trust-block .fact-tiles li,
html.js .trust-block .facts > div > span,
html.js .trust-block .clients li img {
  opacity: 0; transform: translateY(12px);
  transition: opacity .6s ease, transform .7s cubic-bezier(.16,1,.3,1);
}
html.js .trust-block .fact-tiles li { transition-delay: calc(150ms + var(--i, 0) * 45ms); }
html.js .trust-block .facts::before,
html.js .trust-block .facts > div::after {
  transform: scaleX(0); transform-origin: left center;
  transition: transform .9s cubic-bezier(.16,1,.3,1) .45s;
}
html.js .trust-block .facts > div:nth-child(1)::after { transition-delay: .6s; }
html.js .trust-block .facts > div:nth-child(2)::after { transition-delay: .75s; }
html.js .trust-block .facts > div:nth-child(3)::after { transition-delay: .9s; }
html.js .trust-block .facts > div:nth-child(1) > span { transition-delay: .65s; }
html.js .trust-block .facts > div:nth-child(2) > span { transition-delay: .8s; }
html.js .trust-block .facts > div:nth-child(3) > span { transition-delay: .95s; }
html.js .trust-block .clients li img { transition-delay: calc(250ms + var(--d, 0) * 70ms); }
html.js .trust-block .clients__fill::before {
  transform: scaleX(0);
  transition: transform .8s cubic-bezier(.16,1,.3,1) calc(350ms + var(--d, 0) * 70ms);
}
html.js .trust-block.in .fact-tiles li,
html.js .trust-block.in .facts > div > span,
html.js .trust-block.in .clients li img { opacity: 1; transform: none; }
html.js .trust-block.in .facts::before,
html.js .trust-block.in .facts > div::after { transform: none; }
html.js .trust-block.in .clients__fill::before { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .trust-block .fact-tiles li,
  html.js .trust-block .facts > div > span,
  html.js .trust-block .clients li img { opacity: 1; transform: none; transition: none; }
  html.js .trust-block .facts::before,
  html.js .trust-block .facts > div::after { transform: none; transition: none; }
  html.js .trust-block .clients__fill::before { transform: none; transition: none; }
}

/* ═══ Отрасли: раскрытая карточка (ОС Сергея 30.09.2026 — «всё сливается») ═══ ind-body-v2
   По образцу карточки каталога: вводный абзац крупно и чернилами; подписи разделов с линией; пункты списков —
   строками через тонкие разделители; правая колонка («С кем работали») — отдельной серой панелью. Разметку семи
   ячеек не трогаем: у всех одна схема (слева абзац + разделы, справа подпись + списки + сноска). */
.ind__cell { transition: background-color .45s ease, color .45s ease; }
.ind__cell.on .ind__body { padding-top: 30px; }
.ind__cols > div:first-child > p:first-child { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.5; color: var(--ink); }
.ind__body .tag { display: block; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 0; }
/* таблица сортамента под подписью — с отступом (у списка его даёт padding строки) */
.ind__body .tag + .table-wrap { margin-top: 18px; }
/* сноска — мельче основного текста: .ind__cols p (16px, специфичнее) перебивал .ind__note */
.ind__cols .ind__note { font-size: 14px; line-height: 1.5; color: var(--steel); }
.ind__body .ind__list { gap: 0; margin-top: 0; color: var(--ink); }
.ind__body .ind__list li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); }
.ind__body .ind__list li::before { width: 10px; height: 2px; top: calc(11px + .72em); }
.ind__body .ind__list b { font-weight: 500; }
.ind__cols > div:last-child { background: var(--bg-alt); padding: 26px 26px 28px; align-self: start; }
.ind__cols > div:last-child .ind__list li { border-bottom-color: #e4e4e4; }
.ind__cols > div:last-child .tag { border-bottom-color: #e4e4e4; }
.ind__cols > div:last-child > .tag:first-child { margin-top: 0; }
@media (max-width: 1000px) { .ind__cols > div:last-child { padding: 22px 20px 24px; } }
/* 320px: сборка склеивает короткие слова неразрывным пробелом («ПАО «Сургутнефтегаз»», «деформированные —»,
   «для нефтегазового»), и склейка заходила в поле серого блока на 2–18px (22.10.2026) — поля уже */
@media (max-width: 360px) { .ind__body { padding: 0 16px 26px; } .ind__cols > div:last-child { padding: 20px 14px 22px; } }
/* подзаголовок группы внутри «С кем работали» (Нефтегаз, список Елены 16.10.2026: сначала ВИНК, затем сервисные) */
.ind__cols .ind__group { font-size: 14px; line-height: 1.45; color: var(--steel); margin: 22px 0 0; padding-bottom: 10px; border-bottom: 1px solid #e4e4e4; }
@media (prefers-reduced-motion: reduce) { .ind__cell { transition: none; } }

/* ═══ Адаптивные таблицы (30.09.2026): таблица шире колонки → строки карточками «столбец — значение» ═══
   Класс ставит app.js (initTables) по замеру. Шапка остаётся в разметке для экранных чтецов. */
table.spec.is-stacked, table.spec.is-stacked tbody, table.spec.is-stacked tr,
table.spec.is-stacked td, table.spec.is-stacked tbody th { display: block; width: auto; }
table.spec.is-stacked thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
table.spec.is-stacked tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
table.spec.is-stacked tr:hover td { background: none; }
table.spec.is-stacked td, table.spec.is-stacked tbody th { border: 0; padding: 4px 0; text-align: left; overflow-wrap: anywhere; }
/* 14.10.2026 (отзыв команды): было 1:1 — в карточках подпись «Временное сопротивление, МПа · Не менее» шла в три-четыре
   строки, а справа от короткого значения (343, 15Х1М1Ф) пустовало. Теперь значение по своей ширине (не шире половины)
   у правого края, подпись — всё остальное. В справочнике стандартов наоборот: подпись короткая, значение — длинный
   перечень, поэтому 1/3 и 2/3, значение слева. Значение — одна обёртка .spec__v (app.js, initTables). */
table.spec.is-stacked [data-label] { display: grid; grid-template-columns: minmax(0, 1fr) fit-content(50%); gap: 16px; }
table.spec.is-stacked .spec__v { text-align: right; }
table.spec.is-stacked tr > :first-child .spec__v { text-align: left; }
table.spec.std__t.is-stacked [data-label] { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
table.spec.std__t.is-stacked .spec__v { text-align: left; }
table.spec.is-stacked [data-label]::before { content: attr(data-label); color: var(--steel); font-size: 13px; line-height: 1.4; }
/* первая ячейка строки — заголовок карточки, без подписи */
table.spec.is-stacked tr > :first-child { display: block; font-weight: 500; color: var(--ink); padding-bottom: 6px; }
table.spec.is-stacked tr > :first-child::before { content: none; }
table.spec.is-stacked tr.spec__split { padding: 18px 0 6px; border-bottom: 0; }
table.spec.is-stacked tr.spec__split td { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.sec--alt table.spec.is-stacked tr { border-bottom-color: var(--graphite-3); }
.sec--alt table.spec.is-stacked tr > :first-child { color: #fff; }
.sec--alt table.spec.is-stacked [data-label]::before { color: #9aa0a6; }

/* ═══ Отрасли: фоновый линейный рисунок в шапке раскрытой карточки (ОС Сергея 30.09.2026) ═══
   Семь чертёжных рисунков (index.html, .ind__art): при раскрытии линии прорисовываются (pathLength="1" —
   без замеров скриптом), потом по жёлтой детали бежит пунктир. Только у раскрытой карточки и только на широком
   экране: в узкой шапке рисунок лёг бы под текст. */
.ind__head { position: relative; }
.ind__head > span:not(.ind__art):not(.ind__more) { position: relative; z-index: 1; }
.ind__art { position: absolute; right: 60px; top: 26px; width: min(270px, 38%); color: #cfd3d7; pointer-events: none; display: none; }
.ind__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.ind__art svg * { fill: none; stroke: currentColor; stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.ind__art .acc { stroke: var(--gold); stroke-width: 2; }
.ind__art .flow { stroke: var(--ink); stroke-width: 2; stroke-dasharray: .03 .07; opacity: 0; }
@media (min-width: 1001px) { .ind__cell.on .ind__art { display: block; } }
.ind__cell.on .ind__art svg *:not(.flow) { stroke-dasharray: 1; stroke-dashoffset: 1; animation: indDraw 1.9s cubic-bezier(.16,1,.3,1) .3s forwards; }
.ind__cell.on .ind__art .acc { animation-delay: .75s; }
.ind__cell.on .ind__art .flow { animation: indFlowIn .6s ease 2.1s forwards, indFlow 9s linear 2.1s infinite; }
@keyframes indDraw { to { stroke-dashoffset: 0; } }
@keyframes indFlowIn { to { opacity: .55; } }
@keyframes indFlow { to { stroke-dashoffset: -1; } }
@media (prefers-reduced-motion: reduce) {
  .ind__cell.on .ind__art svg *:not(.flow) { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  .ind__cell.on .ind__art .flow { animation: none; opacity: 0; }
}

/* ═══ Карта географии: появление по очереди и постоянное движение (30.09.2026; порядок и задержки — app.js initGeo) ═══ */
.geo__map .geo__hub, .geo__map .geo__dest { transform-box: fill-box; transform-origin: center; }
/* задержки — только в правилах .in: в базовом правиле переход с задержкой срабатывал и на скрытие (класс ставит скрипт
   после загрузки, и точки с большой задержкой висели видимыми до неё) */
html.js .geo__map .geo__hub { transform: scale(0); }
html.js .geo__map .geo__dest { opacity: 0; transform: scale(.2); }
html.js .geo__map svg text { opacity: 0; }
html.js .in .geo__map .geo__hub { transform: none; transition: transform .7s cubic-bezier(.34,1.56,.64,1) .1s; }
html.js .in .geo__map .geo__dest { opacity: 1; transform: none;
  transition: opacity .35s ease var(--t, 1s), transform .55s cubic-bezier(.34,1.56,.64,1) var(--t, 1s); }
html.js .in .geo__map svg text { opacity: 1; transition: opacity .7s ease var(--labels, 2s); }

.geo__halo { transform-box: fill-box; transform-origin: center; animation: geoBreath 3.2s ease-in-out infinite; }
@keyframes geoBreath { 0%, 100% { transform: scale(1); opacity: .25; } 50% { transform: scale(1.45); opacity: .1; } }

.geo__ping { fill: none; stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: 0; transform-box: fill-box; transform-origin: center;
             animation: geoPing 3.6s ease-out infinite; animation-delay: calc(var(--labels, 2s) + var(--p, 0s)); }
.geo__ping--dest { stroke: var(--gold); }
.geo__ping--yard { stroke: #cfd3d7; }
@keyframes geoPing { 0% { transform: scale(1); opacity: .75; } 70%, 100% { transform: scale(3.4); opacity: 0; } }

.geo__sigs { opacity: 0; }
.in .geo__map .geo__sigs { opacity: 1; transition: opacity .8s ease var(--labels, 2s); }
.geo__sig { fill: #ffe08a; }

.geo--off .geo__ping, .geo--off .geo__halo { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .geo__halo, .geo__ping { animation: none; }
  html.js .geo__map .geo__hub, html.js .geo__map .geo__dest, html.js .geo__map svg text { opacity: 1; transform: none; transition: none; }
}

/* ═══ «Качество и документы» — паспорт качества (главная, 30.09.2026) ═══
   Фон — чертёж сечения трубы; в карточках — номер и анимированный рисунок (печать, манометр, дефектоскоп);
   плашка «16 лет» на цифрах-барабанах; стандарты — две бегущие ленты (app.js initMarquee). */
.qpass { position: relative; overflow: hidden; }
.qpass > .inner { position: relative; z-index: 1; }
.qpass__bg { position: absolute; top: 40px; right: max(-120px, calc((100% - var(--content)) / 2 - 160px)); width: min(620px, 80vw);
             color: var(--ink); opacity: .13; pointer-events: none; }
.qpass__bg svg { display: block; width: 100%; height: auto; overflow: visible; }
.qpass__bg svg * { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.qpass__bg .axis { stroke-dasharray: .012 .008; }
.qpass__bg .spin { stroke-dasharray: .006 .012; transform-box: view-box; transform-origin: 300px 300px; animation: qSpin 90s linear infinite; }
.qpass__bg text { fill: currentColor; stroke: none; font-size: 22px; font-family: var(--font); }
@media (max-width: 900px) { .qpass__bg { top: 10px; right: -40%; opacity: .08; } }

/* карточки: номер + рисунок, подъём при наведении, жёлтая кромка */
.qpass .trust__cell { position: relative; transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease; }
.qpass .trust__cell::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ink);
                              transform: scaleX(0); transform-origin: left center; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.qpass .trust__cell:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(60,40,0,.18); z-index: 2; }
.qpass .trust__cell:hover::before { transform: none; }
.qpass__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.qpass__num { font-size: 12px; letter-spacing: 0.14em; color: var(--steel); }
.qpass__art { width: 132px; color: #9aa0a6; }
.qpass__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.qpass__art svg * { fill: none; stroke: currentColor; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.qpass__art .acc { stroke: var(--gold); stroke-width: 2.2; }
.qpass__art .axis { stroke-dasharray: .02 .02; }
.qpass__art .dash { stroke: var(--ink); stroke-dasharray: .03 .03; }
.qpass__spin { transform-box: fill-box; transform-origin: center; animation: qSpin 14s linear infinite; }
.qpass__needle { transform-box: view-box; transform-origin: 62px 46px; transform: rotate(-120deg); }
.qpass__scan { transform: translateX(0); }

/* появление: карточки по очереди, рисунки прорисовываются, затем оживают стрелка, луч и печать */
html.js .qpass .trust__cell { opacity: 0; transform: translateY(24px); }
html.js .qpass .trust.in .trust__cell { opacity: 1; transform: none;
  transition: opacity .7s ease, transform .8s cubic-bezier(.16,1,.3,1), box-shadow .35s ease; }
html.js .qpass .trust.in .trust__cell:nth-child(2) { transition-delay: .12s, .12s, 0s; }
html.js .qpass .trust.in .trust__cell:nth-child(3) { transition-delay: .24s, .24s, 0s; }
html.js .qpass .trust.in .trust__cell:hover { transform: translateY(-4px); transition-delay: 0s; }
html.js .qpass .qpass__art svg *:not(g) { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .qpass .trust.in .qpass__art svg *:not(g) { animation: qDraw 1.5s cubic-bezier(.16,1,.3,1) .5s forwards; }
html.js .qpass .trust.in .trust__cell:nth-child(2) .qpass__art svg *:not(g) { animation-delay: .65s; }
html.js .qpass .trust.in .trust__cell:nth-child(3) .qpass__art svg *:not(g) { animation-delay: .8s; }
html.js .qpass .qpass__art .dash { stroke-dasharray: .03 .03; stroke-dashoffset: 0; animation: none !important; opacity: 0; transition: opacity .6s ease 1.8s; }
html.js .qpass .trust.in .qpass__art .dash { opacity: 1; }
.qpass .trust.in .qpass__needle { animation: qNeedleUp 1.4s cubic-bezier(.34,1.3,.64,1) 1.5s forwards, qNeedle 2.6s ease-in-out 2.9s infinite; }
.qpass .trust.in .qpass__scan { animation: qScan 3.4s ease-in-out 1.9s infinite; }
html.js .qpass__bg svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .qpass__bg .axis { stroke-dasharray: .012 .008; stroke-dashoffset: 0; opacity: 0; transition: opacity 1s ease .8s; }
html.js .qpass__bg .spin { stroke-dasharray: .006 .012; stroke-dashoffset: 0; opacity: 0; transition: opacity 1s ease 1.4s; }
html.js .qpass__bg text { opacity: 0; transition: opacity 1s ease 1.6s; }
html.js .qpass__bg.in svg *:not(.axis):not(.spin):not(text) { animation: qDraw 2.4s cubic-bezier(.16,1,.3,1) forwards; }
html.js .qpass__bg.in .axis, html.js .qpass__bg.in .spin, html.js .qpass__bg.in text { opacity: 1; }
@keyframes qDraw { to { stroke-dashoffset: 0; } }
@keyframes qSpin { to { transform: rotate(360deg); } }
@keyframes qNeedleUp { from { transform: rotate(-120deg); } to { transform: rotate(35deg); } }
@keyframes qNeedle { 0%, 100% { transform: rotate(35deg); } 40% { transform: rotate(29deg); } 70% { transform: rotate(38deg); } }
@keyframes qScan { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(86px); } }

/* плашка «16 лет» */
.qproof { display: grid; grid-template-columns: auto auto 1fr; gap: 28px; align-items: center; margin-top: 34px;
          background: var(--graphite, #17191c); color: #fff; padding: 26px 32px; }
.qproof__ico { width: 44px; color: #cfd3d7; }
.qproof__ico svg { display: block; width: 100%; height: auto; }
.qproof__ico svg * { fill: none; stroke: currentColor; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.qproof__ico .acc { stroke: var(--gold); stroke-width: 2.4; }
html.js .qproof__ico svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .qproof.in .qproof__ico svg * { animation: qDraw 1.2s cubic-bezier(.16,1,.3,1) .4s forwards; }
html.js .qproof.in .qproof__ico .acc { animation-delay: 1s; }
.qproof__num { display: flex; flex-direction: column; line-height: 1; padding-right: 28px; border-right: 1px solid var(--graphite-3, #3a3e43); }
.qproof__num .odo { font-size: clamp(44px, 4.6vw, 64px); font-weight: 500; letter-spacing: -0.03em; color: var(--gold); }
.qproof__unit { margin-top: 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #9aa0a6; }
.p-home #content > section:nth-of-type(7) .qproof p { margin: 0; color: #cfd3d7; font-size: 16px; max-width: 70ch; }
@media (max-width: 700px) {
  .qproof { grid-template-columns: auto 1fr; padding: 22px 20px; gap: 18px; }
  .qproof__num { padding-right: 0; border-right: 0; }
  .qproof p { grid-column: 1 / -1; }
}

/* стандарты — две бегущие ленты навстречу, пауза при наведении и вне экрана */
.qpass__stdtag { margin-top: 44px; }
.qmarq { margin-top: 4px; display: grid; gap: 10px; overflow: hidden;
         -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
         mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.qmarq__row { overflow: hidden; }
.qmarq__track { display: flex; gap: 10px; width: max-content; animation: qMarq 60s linear infinite; animation-play-state: paused; }
.qmarq__row--rev .qmarq__track { animation-direction: reverse; animation-duration: 70s; }
.qmarq.in .qmarq__track { animation-play-state: running; }
.qmarq:hover .qmarq__track { animation-play-state: paused; }
.qmarq span { flex: none; font-size: 14px; letter-spacing: 0.04em; padding: 10px 16px; border: 1px solid rgba(0,0,0,.28); color: var(--ink);
              background: rgba(255,255,255,.18); white-space: nowrap; }
@keyframes qMarq { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .qpass__bg .spin, .qpass__spin, .qmarq__track { animation: none; }
  .qpass .trust.in .qpass__needle { animation: none; transform: rotate(35deg); }
  .qpass .trust.in .qpass__scan { animation: none; }
  html.js .qpass .trust__cell, html.js .qpass .qpass__art svg *, html.js .qpass__bg svg *, html.js .qproof__ico svg * {
    opacity: 1; transform: none; stroke-dashoffset: 0; animation: none; transition: none; }
}

/* ═══ «Условия поставки» (главная, 30.09.2026): графит, рейс по маршруту, карточки условий ═══ */
.lic { display: block; width: 44px; margin-bottom: 16px; color: #9aa0a6; }
.lic svg { display: block; width: 100%; height: auto; overflow: visible; }
.lic svg * { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.lic .acc { stroke: var(--gold); stroke-width: 2.2; }

/* схема на графите: цвета из атрибутов разметки перебиваем стилями */
.logi .chain svg > path:not(.chain__flow) { stroke: var(--graphite-3, #3a3e43); }
.logi .chain__node circle:not(.route__ping) { fill: var(--graphite-2, #24272b); stroke: #4a4f55; }
.logi .chain__node g { stroke: #e4e4e4; }
.logi .chain__node text:first-of-type { fill: #fff; }
.logi .chain__node text:last-of-type { fill: #9aa0a6; }
.logi .chain__node:nth-of-type(5) circle:not(.route__ping) { fill: rgba(252,192,42,.12); stroke: var(--gold); }
.logi .chain__node:nth-of-type(5) g { stroke: var(--gold); }
.route__truck { opacity: 0; transition: opacity .6s ease; }
.route__truck g { fill: var(--graphite, #17191c); stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; }
.run .route__truck { opacity: 1; }
.route__ping { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
/* вспышка в момент стоянки у узла: доли периода совпадают с keyTimes рейса (app.js initRoute) */
.run .route__ping { animation: routePing var(--route, 11s) linear infinite; }
.run .route__ping[style*="--k:0"] { animation-delay: 0s; }
.run .route__ping[style*="--k:1"] { animation-delay: calc(var(--route, 11s) * .23); }
.run .route__ping[style*="--k:2"] { animation-delay: calc(var(--route, 11s) * .46); }
.run .route__ping[style*="--k:3"] { animation-delay: calc(var(--route, 11s) * .69); }
.run .route__ping[style*="--k:4"] { animation-delay: calc(var(--route, 11s) * .92); }
@keyframes routePing { 0% { opacity: .9; transform: scale(1); } 9% { opacity: 0; transform: scale(1.7); } 100% { opacity: 0; transform: scale(1.7); } }
.route--off .route__ping { animation-play-state: paused; }
.logi .chain__list { background: var(--graphite-3, #3a3e43); border-color: var(--graphite-3, #3a3e43); }
.logi .chain__list li { background: var(--graphite-2, #24272b); }
.logi .chain__list b { color: #fff; }
.logi .chain__list span { color: #9aa0a6; }

/* условия — карточками */
.logi .log__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--graphite-3, #3a3e43); border: 1px solid var(--graphite-3, #3a3e43); margin-top: 20px; }
@media (max-width: 1100px) { .logi .log__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .logi .log__grid { grid-template-columns: 1fr; } }
.logi .log__item { position: relative; border-top: 0; padding: 28px 26px 30px; background: var(--graphite-2, #24272b);
                   transition: background-color .3s ease, transform .35s cubic-bezier(.16,1,.3,1); }
.logi .log__item::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold);
                           transform: scaleX(0); transform-origin: left center; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.logi .log__item:hover { background: #24272b; }
.logi .log__item:hover::before { transform: none; }
.logi .log__item b { color: #fff; font-size: 19px; letter-spacing: -0.01em; }
.logi .log__item p { color: var(--on-dark, #cfd3d7); }
html.js .logi .log__item { opacity: 0; transform: translateY(20px); }
html.js .logi.in .log__item { opacity: 1; transform: none; transition: opacity .7s ease, transform .8s cubic-bezier(.16,1,.3,1), background-color .3s ease; }
html.js .logi.in .log__item:nth-child(2) { transition-delay: .1s, .1s, 0s; }
html.js .logi.in .log__item:nth-child(3) { transition-delay: .2s, .2s, 0s; }
html.js .logi.in .log__item:nth-child(4) { transition-delay: .3s, .3s, 0s; }
html.js .logi .lic svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .logi.in .lic svg * { animation: qDraw 1.4s cubic-bezier(.16,1,.3,1) .6s forwards; }

/* ═══ «Как мы работаем» — шесть плашек (30.09.2026) ═══
   Плашки проявляются по очереди 01 → 06, по верхней кромке проходит жёлтая полоса, номер загорается;
   затем номера по кругу пульсируют по одному («процесс идёт»). Задержка — порядковый номер --i у .how__num. */
.how--cards { background: none; border: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .how--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .how--cards { grid-template-columns: 1fr; } }
.how--cards .how__cell { position: relative; overflow: hidden; background: var(--bg-alt); padding: 28px 28px 32px;
  display: grid; grid-template-columns: 44px 1fr; align-items: center; align-content: start; column-gap: 16px;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease; }
.how--cards .how__cell::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left center; }
.how--cards .how__cell:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.08); }
.how--cards .how__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin: 0;
  background: var(--bg); border: 2px solid var(--line); color: var(--steel); font-size: 13px; letter-spacing: 0.04em;
  transition: background-color .4s ease, border-color .4s ease, color .4s ease; }
.how--cards .lic { width: 36px; margin: 0; justify-self: end; color: #9aa0a6; }
.how--cards .how__title { grid-column: 1 / -1; margin: 22px 0 8px; }
.how--cards .how__text { grid-column: 1 / -1; }

html.js .how--cards .how__cell { opacity: 0; transform: translateY(22px); }
html.js .how--cards.in .how__cell { opacity: 1; transform: none;
  transition: opacity .6s ease calc(var(--d, 0s)), transform .7s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s)), box-shadow .35s ease; }
html.js .how--cards.in .how__cell:hover { transform: translateY(-4px); transition-delay: 0s; }
html.js .how--cards.in .how__cell::before { transform: none; transition: transform .7s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + .25s); }
html.js .how--cards.in .how__num { background: var(--gold); border-color: var(--gold); color: var(--ink); transition-delay: calc(var(--d, 0s) + .55s); }
.how--cards .how__cell:nth-child(1) { --d: .05s; } .how--cards .how__cell:nth-child(2) { --d: .2s; }
.how--cards .how__cell:nth-child(3) { --d: .35s; } .how--cards .how__cell:nth-child(4) { --d: .5s; }
.how--cards .how__cell:nth-child(5) { --d: .65s; } .how--cards .how__cell:nth-child(6) { --d: .8s; }
html.js .how--cards .lic svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .how--cards.in .lic svg * { animation: qDraw 1.3s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(var(--d, 0s) + .4s); }
/* пульс по кругу: 6 номеров × 1 с, начинается после появления */
.how--cards.in .how__num { animation: howBadge 6s ease-out infinite; animation-delay: calc(2.4s + var(--i, 0) * 1s); }
@keyframes howBadge { 0% { box-shadow: 0 0 0 0 rgba(252,192,42,.55); } 14% { box-shadow: 0 0 0 12px rgba(252,192,42,0); } 100% { box-shadow: 0 0 0 12px rgba(252,192,42,0); } }

@media (prefers-reduced-motion: reduce) {
  .run .route__ping, .how--cards.in .how__num { animation: none; }
  html.js .logi .log__item, html.js .logi .lic svg *, html.js .how--cards .how__cell, html.js .how--cards .lic svg * {
    opacity: 1; transform: none; stroke-dashoffset: 0; animation: none; transition: none; }
  html.js .how--cards .how__cell::before { transform: none; transition: none; }
}

/* ═══ Блок запроса на всех страницах (30.09.2026): рисунок, главная кнопка, «или позвоните», появление ═══
   Рисунок и строку добавляет app.js (initCta). .sec.cta — специфичнее правил .cta из смелой редакции (грузится позже). */
.sec.cta { position: relative; overflow: hidden; }
.sec.cta > :not(.cta__art) { position: relative; z-index: 1; }
/* наверху, на уровне заголовка: по центру высоты рисунок заходил под кнопку (кнопка — справа внизу) */
.cta__art { position: absolute; top: 64px; right: max(0px, calc((100% - var(--content)) / 2)); width: min(470px, 40%);
            color: var(--ink); opacity: .24; pointer-events: none; }
.cta__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.cta__art svg * { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.cta__art .path { stroke-dasharray: .015 .012; }
.cta__art .cta__dot { fill: var(--ink); stroke: none; }
.cta__pipe { transform-box: fill-box; transform-origin: center; }
.sec.cta.in .cta__pipe { animation: ctaPipe 3.6s ease-in-out infinite; animation-delay: calc(2.6s + var(--n) * .18s); }
@keyframes ctaPipe { 0%, 100% { opacity: 1; } 8% { opacity: .35; } 16% { opacity: 1; } }
.cta--off .cta__pipe { animation-play-state: paused; }
@media (max-width: 900px) { .cta__art { width: 88%; right: -26%; top: auto; bottom: -30px; transform: none; opacity: .1; } }

/* главная кнопка: тёмная заливка, стрелка уезжает при наведении, редкий блик */
.sec.cta a.btn { position: relative; overflow: hidden; background: var(--ink); border-color: var(--ink); color: #fff;
                 padding: 19px 34px; font-size: 15px; }
.sec.cta a.btn::after { content: '→'; display: inline-block; margin-left: 4px; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.sec.cta a.btn:hover { background: #17191c; border-color: #17191c; color: var(--gold); }
.sec.cta a.btn:hover::after { transform: translateX(6px); }
.sec.cta a.btn::before { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
                         background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); }
.sec.cta.in a.btn::before { animation: ctaShine 6s ease-in-out 2.2s infinite; }
@keyframes ctaShine { 0% { left: -60%; } 18%, 100% { left: 130%; } }
.cta__act { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta__alt { margin: 0; font-size: 14px; color: var(--on-gold, #17191c) !important; }
.cta__alt a { color: var(--ink); border-bottom: 1px solid currentColor; white-space: nowrap; }
.cta__alt a:hover { border-bottom-color: transparent; }

/* появление по очереди */
html.js .sec.cta .tag, html.js .sec.cta .lead, html.js .sec.cta .cta__row > * { opacity: 0; transform: translateY(18px); }
html.js .sec.cta.in .tag, html.js .sec.cta.in .lead, html.js .sec.cta.in .cta__row > * {
  opacity: 1; transform: none; transition: opacity .7s ease, transform .8s cubic-bezier(.16,1,.3,1); }
html.js .sec.cta.in .lead { transition-delay: .12s; }
html.js .sec.cta.in .cta__row > :first-child { transition-delay: .28s; }
html.js .sec.cta.in .cta__row > :last-child { transition-delay: .42s; }
html.js .cta__art svg *:not(.cta__dot) { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .sec.cta.in .cta__art svg *:not(.cta__dot):not(.path) { animation: qDraw 1.8s cubic-bezier(.16,1,.3,1) .3s forwards; }
html.js .cta__art svg .path.path { stroke-dasharray: .015 .012; stroke-dashoffset: 0; opacity: 0; transition: opacity .8s ease 1.2s; }
html.js .sec.cta.in .cta__art svg .path.path { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .sec.cta.in .cta__pipe, .sec.cta.in a.btn::before { animation: none; }
  html.js .sec.cta .tag, html.js .sec.cta .lead, html.js .sec.cta .cta__row > *, html.js .cta__art svg * {
    opacity: 1; transform: none; stroke-dashoffset: 0; animation: none; transition: none; }
}

/* ═══ «О компании» на главной (30.09.2026): контурный «2010», счётчики карточками, фото шторкой ═══ */
.about__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 60px; align-items: center; }
@media (max-width: 900px) { .about__head { grid-template-columns: 1fr; gap: 30px; } }
.about__year { justify-self: end; width: 100%; max-width: 470px; }
.about__year svg { display: block; width: 100%; height: auto; overflow: visible; }
.about__year text { font-family: var(--font); font-weight: 500; font-size: 200px; letter-spacing: -8px; }
.about__stroke { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 1400; stroke-dashoffset: 0; }
.about__fill { fill: var(--gold); stroke: none; }
.about__cap { display: block; margin-top: 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
html.js #company .about__stroke { stroke-dashoffset: 1400; }
html.js #company .about__fill { clip-path: inset(0 100% 0 0); }
html.js #company .about__cap { opacity: 0; }
html.js #company.in .about__stroke { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.45,0,.2,1) .3s; }
html.js #company.in .about__fill { clip-path: inset(0 0 0 0); transition: clip-path 1.2s cubic-bezier(.65,0,.35,1) 2.1s; }
html.js #company.in .about__cap { opacity: 1; transition: opacity .8s ease 2.6s; }

/* счётчики — карточками */
#company .counters { gap: 16px; }
#company .counter { background: var(--bg-alt); border-top: 0; padding: 26px 26px 28px; overflow: hidden;
                    transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease; }
#company .counter::before { position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--gold);
                            transform: scaleX(0); transform-origin: left center; }
#company .counter:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.08); }
#company .counter__ico { position: absolute; right: 22px; top: 24px; width: 38px; margin: 0; color: #9aa0a6; }
#company .counter__num { font-size: clamp(46px, 5.4vw, 88px); }
#company .counter__label { max-width: 26ch; }
/* 06.10.2026: на телефоне плашка 167px — «автомобилестроение» (158px) не входило и обрезалось (замечание Елены 01.10);
   отступ уже, в разметке мягкие переносы в двух длинных словах */
@media (max-width: 520px) { #company .counter { padding: 22px 16px 24px; } #company .counter__ico { right: 14px; } }
html.js #company .counter { opacity: 0; transform: translateY(22px); }
html.js #company.in .counter { opacity: 1; transform: none;
  transition: opacity .7s ease var(--d, 0s), transform .8s cubic-bezier(.16,1,.3,1) var(--d, 0s), box-shadow .35s ease; }
html.js #company.in .counter:hover { transform: translateY(-4px); transition-delay: 0s; }
html.js #company.in .counter::before { transform: none; transition: transform .8s cubic-bezier(.16,1,.3,1) calc(var(--d, 0s) + .3s); }
#company .counter:nth-child(1) { --d: .5s; } #company .counter:nth-child(2) { --d: .62s; }
#company .counter:nth-child(3) { --d: .74s; } #company .counter:nth-child(4) { --d: .86s; }
html.js #company .counter__ico svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js #company.in .counter__ico svg * { animation: qDraw 1.3s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(var(--d, 0s) + .5s); }

/* фото — шторкой справа налево и лёгкий отъезд из приближения */
#company .photo-wide { overflow: hidden; }
html.js #company .photo-wide img, html.js #company .photo-wide .film__video { clip-path: inset(0 0 0 100%); transform: scale(1.08); }
html.js #company.in .photo-wide img, html.js #company.in .photo-wide .film__video { clip-path: inset(0 0 0 0); transform: none;
  transition: clip-path 1.3s cubic-bezier(.65,0,.35,1) .9s, transform 2.2s cubic-bezier(.16,1,.3,1) .9s; }
@media (prefers-reduced-motion: reduce) {
  html.js #company .about__stroke, html.js #company .about__fill, html.js #company .about__cap, html.js #company .counter,
  html.js #company .counter::before, html.js #company .counter__ico svg *, html.js #company .photo-wide img, html.js #company .photo-wide .film__video {
    stroke-dashoffset: 0; clip-path: none; opacity: 1; transform: none; transition: none; animation: none; }
}

/* ═══ Отрасли: корешки соседних отраслей прилипают, пока листаешь длинную открытую (30.09.2026) ═══ */
/* своя высота, а не во всю ячейку: прилипающему элементу высотой с контейнер ехать некуда */
.ind.is-open .ind__cell:not(.on) .ind__head { position: sticky; top: 90px; flex: 0 0 auto; align-self: stretch; height: auto; }
#solutions, #ind .ind__cell { scroll-margin-top: 84px; }
@media (max-width: 1000px) { .ind.is-open .ind__cell:not(.on) .ind__head { position: static; } }
.ind.is-open .ind__cell:not(.on) { cursor: pointer; }

/* ═══ Первый экран — «живой чертёж» (30.09.2026, прототип Б, выбор Сергея) ═══ */

/* калька: тонкая инженерная сетка. Отдельный слой .hero__grid над жёлтым клином (::after героя) и под чертежом:
   ::before — светлые линии на графите, ::after — тёмные линии, обрезанные по форме клина. Слой один на весь экран,
   поэтому шаг клеток на графите и на жёлтом совпадает и сетка переходит через край клина без стыка. */
.hero__grid { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__grid::before, .hero__grid::after { content: ''; position: absolute; inset: 0; }
.hero__grid::before {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 48px);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 40% 50%, #000 35%, transparent 90%);
          mask-image: radial-gradient(ellipse 80% 80% at 40% 50%, #000 35%, transparent 90%);
  opacity: 0; animation: hbFade 1.6s ease .1s forwards; }
/* клин: ширина 46% справа, срез 42% его ширины — в координатах экрана это 73.32% сверху и 54% снизу */
.hero__grid::after {
  background:
    repeating-linear-gradient(0deg, rgba(23,25,28,.10) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(23,25,28,.10) 0 1px, transparent 1px 48px);
  clip-path: polygon(73.32% 0, 100% 0, 100% 100%, 54% 100%);
  animation: hbWedgeGrid 1.3s cubic-bezier(.65,0,.35,1) .2s both; }
@keyframes hbWedgeGrid { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } to { clip-path: polygon(73.32% 0, 100% 0, 100% 100%, 54% 100%); } }
@media (max-width: 900px) {
  /* клин на телефоне: ширина 64%, срез 34%, высота --wedge-h (считает app.js) */
  .hero__grid::after { clip-path: polygon(57.76% 0, 100% 0, 100% var(--wedge-h, 38%), 36% var(--wedge-h, 38%)); animation-name: hbWedgeGridM; }
  @keyframes hbWedgeGridM { from { clip-path: polygon(100% 0, 100% 0, 100% var(--wedge-h, 38%), 100% var(--wedge-h, 38%)); }
                            to { clip-path: polygon(57.76% 0, 100% 0, 100% var(--wedge-h, 38%), 36% var(--wedge-h, 38%)); } }
}

/* жёлтый клин въезжает справа */
.hero::after { animation: hbWedge 1.3s cubic-bezier(.65,0,.35,1) .2s both; }
@keyframes hbWedge { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } to { clip-path: polygon(42% 0, 100% 0, 100% 100%, 0 100%); } }

/* чертёж трубы */
.hero__art--b { opacity: 1 !important; }
.hb { width: min(86vw, 1040px) !important; overflow: visible; transform: translateX(8%); }
.hb * { vector-effect: non-scaling-stroke; }
.hb [pathLength] { fill: none; stroke: #9aa0a6; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: hbDraw 1.8s cubic-bezier(.45,0,.2,1) forwards; }
.hb .thin { stroke: #4a4f55; animation-delay: .3s; }
.hb .acc { stroke: var(--gold); stroke-width: 1.6; animation-delay: .15s; }
.hb .acc2 [pathLength] { stroke: var(--gold); animation-delay: 1.2s; }
.hb .hatch { stroke: #5a5a5a; animation-delay: .9s; animation-duration: 1.2s; }
.hb .axis { stroke: #5a5a5a; stroke-dasharray: .03 .012 .004 .012; stroke-dashoffset: 0; opacity: 0; animation: hbFade .8s ease .7s forwards; }
.hb .dim { stroke: #9aa0a6; animation-delay: 1s; animation-duration: 1.2s; }
.hb__lbl { fill: #cfd3d7; font: 500 16px var(--font); letter-spacing: .06em; opacity: 0; animation: hbFade .8s ease 1.8s forwards; }
.hb__metal { clip-path: inset(0 100% 0 0); animation: hbPour 1.6s cubic-bezier(.65,0,.35,1) 1.7s forwards; opacity: .72; }
/* CSS clip-path «налива» — на внутренней группе: на той же группе он перебил бы SVG-обрезку по форме трубы */
.hb__face { fill: #17191c; opacity: 0; animation: hbFade .6s ease 1.7s forwards; }
.hb__hole { fill: #17191c; opacity: 0; animation: hbFade .6s ease 1.9s forwards; }
@keyframes hbDraw { to { stroke-dashoffset: 0; } }
@keyframes hbFade { to { opacity: 1; } }
@keyframes hbPour { to { clip-path: inset(0 0 0 0); } }

/* блик по хромовым буквам — слой .hero__sheen */
.hero__sheen { mix-blend-mode: screen; }

/* глубина при прокрутке: чертёж укрупняется и отстаёт, буквы уходят быстрее — штатная анимация по прокрутке */
@supports (animation-timeline: scroll()) {
  /* на svg, а не на .hero__art: у того transform пишет параллакс мыши (app.js), анимация его перебила бы */
  .hb { animation: hbDepth linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  @keyframes hbDepth { from { transform: translateX(8%); } to { transform: translateX(8%) translateY(18vh) scale(1.18); opacity: .35; } }
  .hero__title--mark { animation: hbLift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  @keyframes hbLift { to { transform: translateY(-10vh); } }
}

@media (prefers-reduced-motion: reduce) {
  .hero__grid::before, .hero__grid::after, .hero::after, .hb [pathLength], .hb .axis, .hb__lbl, .hb__metal, .hb__face, .hb__hole {
    animation: none !important; opacity: 1; stroke-dashoffset: 0; clip-path: none; }
}

/* постоянное движение: инспекционное кольцо и метка замера (SMIL в разметке), течение осевых */
.hb .hb__scan { fill: none; stroke: var(--gold); stroke-width: 1.8; opacity: 0; }
.hb .hb__tick { fill: none; stroke: var(--gold); stroke-width: 2; }
.hb .axis { animation: hbFade .8s ease .7s forwards, hbAxis 14s linear 2s infinite; }
@keyframes hbAxis { to { stroke-dashoffset: -1; } }
.hero--off .hb .axis, .hero--off .hero__sheen { animation-play-state: paused; }
/* телефон: чертёж — наверх, к жёлтому клину над логотипом; по центру он ложился под абзац и мешал читать */
@media (max-width: 900px) {
  .hero__art--b { place-items: start center; padding-top: 9vh; }
  .hb { width: 128vw !important; }
  .hb__metal { opacity: .55; }
}
@media (prefers-reduced-motion: reduce) { .hb__live { display: none; } }

/* «Трубный металлопрокат» над трубой (30.09.2026). Слои во весь экран, как сетка кальки, — тогда обрезка по клину
   совпадает с клином. Положение считается от размера чертежа: ширина W = min(86vw, 1040px), верх трубы — 0.1875·W
   над центром, правый торец — 0.475·W правее центра (с учётом сдвига чертежа на 8%). */
.hero__kind { --w: min(86vw, 1040px); position: absolute; inset: 0; z-index: 2; margin: 0; pointer-events: none; color: #fff; }
.hero__kind span { position: absolute; right: calc(50% - .475 * var(--w)); bottom: calc(50% + .1875 * var(--w) + 26px);
  padding-bottom: 14px; white-space: nowrap; font-size: clamp(26px, 3.1vw, 50px); font-weight: 600; line-height: 1;
  letter-spacing: .02em; text-transform: uppercase;
  clip-path: inset(0 100% 0 0); animation: hbKind 1s cubic-bezier(.65,0,.35,1) 1.5s forwards; }
/* чертёжная выноска под надписью: линия цвета текста и засечка к торцу трубы */
.hero__kind span::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: .5; }
.hero__kind span::before { content: ''; position: absolute; right: 0; bottom: -26px; width: 1px; height: 26px; background: currentColor; opacity: .5; }
@keyframes hbKind { to { clip-path: inset(0 0 -40px 0); } }
.hero__kind--gold { color: var(--graphite, #17191c); clip-path: polygon(73.32% 0, 100% 0, 100% 100%, 54% 100%);
  animation: hbWedgeGrid 1.3s cubic-bezier(.65,0,.35,1) .2s both; }
/* глубина при прокрутке — вместе с логотипом */
@supports (animation-timeline: scroll()) {
  .hero__kind span { animation: hbKind 1s cubic-bezier(.65,0,.35,1) 1.5s forwards, hbLift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 100vh; }
}
/* телефон: над трубой места нет — надпись строкой в потоке, под логотипом (слои во весь экран скрыты) */
.hero__kind-m { display: none; }
@media (max-width: 900px) {
  .hero__kind { display: none; }
  .hero__kind-m { display: inline-block; position: relative; z-index: 2; margin: 14px 0 12px; padding-bottom: 10px; color: #fff;
    font-size: clamp(20px, 6vw, 28px); font-weight: 600; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase;
    border-bottom: 2px solid var(--gold); clip-path: inset(0 100% 0 0); animation: hbKind 1s cubic-bezier(.65,0,.35,1) 1.5s forwards; }
}
@media (prefers-reduced-motion: reduce) { .hero__kind span, .hero__kind-m, .hero__kind--gold { animation: none !important; clip-path: none; } .hero__kind--gold { clip-path: polygon(73.32% 0, 100% 0, 100% 100%, 54% 100%); } }

/* ═══ Шапка внутренних страниц (30.09.2026): графит во всю ширину, калька, срез жёлтого клина, свой чертёж ═══
   Сетка на графите — ::before, клин с тёмной сеткой — ::after во весь блок с обрезкой по форме клина: у обоих слоёв
   одно начало координат, и клетки переходят через кромку без стыка (как на первом экране). */
.page-top { position: relative; overflow: clip; max-width: none; margin: 0; background: var(--graphite); color: #fff;
  padding: 150px max(var(--shell), calc((100% - var(--content)) / 2)) clamp(64px, 10vh, 120px);
  min-height: clamp(440px, 58vh, 560px); }
.page-top::before, .page-top::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.page-top::before {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 48px);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 35% 50%, #000 35%, transparent 95%);
          mask-image: radial-gradient(ellipse 90% 90% at 35% 50%, #000 35%, transparent 95%);
  opacity: 0; animation: hbFade 1.4s ease .1s forwards; }
.page-top::after {
  background:
    repeating-linear-gradient(0deg, rgba(23,25,28,.10) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(23,25,28,.10) 0 1px, transparent 1px 48px),
    linear-gradient(160deg, var(--gold) 0%, #f9b026 100%);
  clip-path: polygon(84% 0, 100% 0, 100% 100%, 74% 100%);
  animation: ptWedge 1.2s cubic-bezier(.65,0,.35,1) .15s both; }
@keyframes ptWedge { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } }
.page-top > * { position: relative; z-index: 2; }
.page-top > :not(.pt-art) { max-width: min(700px, 52%); }
.page-top .crumbs { color: #9aa0a6; }
.page-top .crumbs a:hover { color: #fff; }
.page-top .page-title { color: #fff; font-size: clamp(38px, 5.2vw, 76px); }
/* 14.10.2026: кегль не больше, чем позволяет самый длинный неразрывный кусок заголовка (--lw — число знаков; ставят
   сборка и app.js). Иначе «коррозионностойкой» на 38px не входило в 335px телефона, на 75px — в 674px экрана 1440, и
   слово рвалось без дефиса. .6 — ширина знака Golos Text в долях кегля с запасом (замер 0,56). Колонка шапки:
   шире 900px — min(700px, 52%), уже — вся ширина без полей. */
.page-top h1.page-title { font-size: min(clamp(38px, 5.2vw, 76px), calc(min(700px, .52 * (100vw - 2 * var(--shell))) / (var(--lw, 1) * .6))); }
@media (max-width: 900px) {
  .page-top h1.page-title { font-size: min(clamp(38px, 5.2vw, 76px), calc((100vw - 2 * var(--shell)) / (var(--lw, 1) * .6))); }
}
.page-top .note { color: var(--on-dark, #cfd3d7); }
.page-top .lnk { color: #fff; }
.page-top .lnk:hover { border-color: #fff; }
.page-top .dl__link { border-color: var(--graphite-3, #3a3e43); }
.page-top .dl__link:hover { border-color: var(--gold); background: var(--graphite-2, #24272b); }
.page-top .dl__ico svg, .page-top .dl__link b { color: #fff; }
.page-top .dl__link em { color: #9aa0a6; }
/* текст выходит снизу по очереди */
html.js .page-top > .crumbs, html.js .page-top > .page-title, html.js .page-top > .note, html.js .page-top > .dl {
  animation: ptIn .9s cubic-bezier(.16,1,.3,1) both; }
html.js .page-top > .page-title { animation-delay: .12s; }
html.js .page-top > .note { animation-delay: .26s; }
html.js .page-top > .dl { animation-delay: .4s; }
@keyframes ptIn { from { opacity: 0; transform: translateY(16px); } }
/* чертёж: справа, заходит на клин */
.pt-art { position: absolute; z-index: 1; top: 96px; bottom: 24px; width: min(42%, 600px); pointer-events: none;
  right: calc(max(var(--shell), calc((100% - var(--content)) / 2)) + 6%); display: grid; place-items: center; }
.pt-art svg { width: 100%; height: 100%; overflow: visible; }
.pta * { vector-effect: non-scaling-stroke; }
.pta [pathLength] { fill: none; stroke: #9aa0a6; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: hbDraw 1.8s cubic-bezier(.45,0,.2,1) .4s forwards; }
.pta .thin { stroke: #4a4f55; animation-delay: .7s; }
.pta .acc { stroke: var(--gold); stroke-width: 1.8; animation-delay: .55s; }
.pta .hatch { stroke: #5a5a5a; animation-delay: 1.1s; animation-duration: 1.2s; }
.pta .dim { stroke: #9aa0a6; animation-delay: 1.3s; animation-duration: 1.2s; }
.pta .axis { stroke: #5a5a5a; stroke-dasharray: .03 .012 .004 .012; stroke-dashoffset: 0; opacity: 0;
  animation: hbFade .8s ease .9s forwards, hbAxis 14s linear 2s infinite; }
.pta-lbl { fill: #cfd3d7; font: 500 15px var(--font); letter-spacing: .06em; opacity: 0; animation: hbFade .8s ease 1.9s forwards; }
.pta .live { opacity: 0; animation: hbFade .8s ease 2.3s forwards; }
.pta .live * { fill: none; stroke: var(--gold); stroke-width: 2; }
.pta .live .dot { fill: var(--gold); stroke: none; }
/* подпись или жёлтая деталь легла на клин (считает app.js по форме клина) — графитом */
.pta .acc.on-gold { stroke: var(--graphite, #17191c); }
.pta .pta-lbl.on-gold { fill: var(--graphite, #17191c); }
.pta .live .flow { stroke-width: 1.4; stroke-dasharray: 6 8; animation: ptFlow 1.1s linear infinite; }
@keyframes ptFlow { to { stroke-dashoffset: -14; } }
.page-top--off .pta .axis, .page-top--off .pta .flow { animation-play-state: paused; }
@media (max-width: 900px) {
  /* телефон: чертёж не помещается рядом с текстом — убираем; клин остаётся срезом под шапкой, над крошками */
  .pt-art { display: none; }
  .page-top > :not(.pt-art) { max-width: none; }
  .page-top { padding-top: 140px; }
  .page-top::after { clip-path: polygon(70% 0, 100% 0, 100% 112px, 56% 112px); animation-name: ptWedgeM; }
  @keyframes ptWedgeM { from { clip-path: polygon(100% 0, 100% 0, 100% 112px, 100% 112px); } }
}
@media (prefers-reduced-motion: reduce) {
  .page-top::before, .page-top::after, html.js .page-top > *, .pta [pathLength], .pta .axis, .pta-lbl, .pta .live, .pta .flow {
    animation: none !important; opacity: 1; stroke-dashoffset: 0; }
}

/* ═══ Каталог по плейбуку (30.09.2026) ═══ */
/* выдача: карточки волной — при первом показе и после каждого фильтра (анимация, а не переход: новые узлы) */
html.js .catout:not(.in) .pcard { opacity: 0; }
html.js .catout.in .pcard { animation: ptIn .7s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i, 0) * 45ms); }
/* «Что заводы делают под требования заказчика»: нумерованные строки в две колонки */
.capsn { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
@media (max-width: 760px) { .capsn { grid-template-columns: 1fr; } }
.capsn li { display: grid; grid-template-columns: 58px 1fr; align-items: baseline; padding: 18px 0;
  border-top: 1px solid var(--line); font-size: 16px; line-height: 1.45; color: var(--ink-soft); }
.capsn__n { font-size: 26px; line-height: 1; letter-spacing: -0.02em; color: var(--gold); font-variant-numeric: tabular-nums; }
.sec--alt .capsn li { border-top-color: var(--graphite-3, #3a3e43); color: var(--on-dark, #cfd3d7); }
.capsn li { transition: color .25s ease; }
.capsn li:hover { color: var(--ink); }
.sec--alt .capsn li:hover { color: #fff; }
html.js .capsn:not(.in) li { opacity: 0; transform: translateY(14px); }
html.js .capsn.in li { transition: opacity .6s ease calc(var(--i, 0) * 55ms), transform .7s cubic-bezier(.16,1,.3,1) calc(var(--i, 0) * 55ms), color .25s ease; }
/* разрешительные документы: плашки со значком документа, жёлтая кромка и подъём при наведении */
.certs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.certs li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 24px;
  background: var(--bg-alt, #f6f6f6); border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .25s ease; }
.certs li::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left center; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.certs li:hover { transform: translateY(-4px); }
.certs li:hover::before { transform: none; }
.certs b { font-weight: 500; font-size: 16px; line-height: 1.35; color: var(--ink); }
.certs li > span:not(.certs__ico) { font-size: 14px; line-height: 1.45; color: var(--steel); }
.certs__ico { display: block; width: 34px; margin-bottom: 10px; color: #9aa0a6; }
.certs__ico svg { display: block; width: 100%; height: auto; overflow: visible; }
.certs__ico .acc { stroke: var(--gold); }
.sec--alt .certs li { background: var(--graphite-2, #24272b); border-color: var(--graphite-3, #3a3e43); }
.sec--alt .certs b { color: #fff; }
.sec--alt .certs li > span:not(.certs__ico) { color: #9aa0a6; }
html.js .certs:not(.in) li { opacity: 0; transform: translateY(18px); }
html.js .certs.in li { transition: opacity .6s ease calc(var(--i, 0) * 70ms), transform .7s cubic-bezier(.16,1,.3,1) calc(var(--i, 0) * 70ms), border-color .25s ease; }
html.js .certs.in li:hover { transform: translateY(-4px); transition-delay: 0s; }
html.js .certs [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .certs.in [pathLength] { animation: qDraw 1.2s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(.3s + var(--i, 0) * 70ms); }
/* списки строками: разделитель вместо просвета, жёлтая черта — маркер */
.ind__list.rows { gap: 0; }
.ind__list.rows li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); }
.ind__list.rows li:first-child { border-top: 1px solid var(--line); }
.ind__list.rows li::before { top: calc(11px + .62em); width: 10px; }
.sec--alt .ind__list.rows li { border-color: var(--graphite-3, #3a3e43); }
/* фото: мягкое приближение при наведении, рамка на обёртке — кадр не вылезает за неё */
.photo-row__img { display: block; overflow: hidden; border: 1px solid var(--line); }
.photo-row .photo-row__img img { border: 0; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.photo-row figure:hover .photo-row__img img { transform: scale(1.07); }
.sec--alt .photo-row__img { border-color: var(--graphite-3, #3a3e43); }
@media (prefers-reduced-motion: reduce) {
  html.js .catout .pcard, html.js .capsn li, html.js .certs li, html.js .certs [pathLength] { opacity: 1; transform: none; animation: none; stroke-dashoffset: 0; }
}

/* ═══ Карточка группы (30.09.2026) ═══ */
/* паспорт группы: прилипает у шапки, пока слева идут стандарты и таблицы (класс ставит catalog.js, если влезает) */
.pside--stick { position: sticky; top: 96px; }
.pside .card-photo img { aspect-ratio: 16 / 10; height: auto; object-fit: cover; }
.pside__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 28px 0 0; }
.pside .kv a { border-bottom: 1px solid var(--gold); transition: color .2s ease, border-color .2s ease; }
.pside .kv a:hover { color: var(--ink); border-bottom-color: var(--ink); }
/* разделы стандартов: жёлтая черта над шифром, переход к разделу — ниже шапки */
.docs__item { scroll-margin-top: 110px; }
.docs__code { position: relative; padding-top: 16px; }
.docs__code::before { content: ''; position: absolute; left: 0; top: 0; width: 34px; height: 3px; background: var(--gold); }
/* пришли по адресу стандарта (QR каталога): черта на секунду вытягивается — видно, куда привёл код (16.10.2026) */
.docs__item--hit .docs__code::before { animation: docs-hit 2.4s cubic-bezier(.16,1,.3,1) both; }
@keyframes docs-hit { 0% { width: 34px; } 25%, 60% { width: 100%; } 100% { width: 34px; } }
@media (prefers-reduced-motion: reduce) { .docs__item--hit .docs__code::before { animation: none; } }
/* «Другие группы» — волной */
html.js .pgrid--sm:not(.in) .pcard { opacity: 0; transform: translateY(18px); }
html.js .pgrid--sm.in .pcard { transition: opacity .6s ease calc(var(--i, 0) * 70ms), transform .7s cubic-bezier(.16,1,.3,1) calc(var(--i, 0) * 70ms), background-color .2s ease, border-color .2s ease; }
@media (prefers-reduced-motion: reduce) { html.js .pgrid--sm .pcard { opacity: 1; transform: none; } }

/* ═══ Контакты: схема площадок отгрузки (30.09.2026) ═══
   Над ячейками — линия через центры пяти городов (10%…90% ширины), узел над каждой ячейкой, бегущий сигнал. */
@media (min-width: 1081px) {
  .wcity { position: relative; margin-top: 96px !important; }
  .wcity::before { content: ''; position: absolute; left: 10%; right: 10%; top: -46px; height: 2px; background: var(--gold);
    transform-origin: left center; }
  .wcity::after { content: ''; position: absolute; left: 10%; top: -50px; width: 10px; height: 10px; margin-left: -5px;
    border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(252,192,42,.35), 0 0 18px rgba(252,192,42,.8); opacity: 0; }
  .wcity__cell { position: relative; overflow: visible; }
  .wcity__cell::before { content: ''; position: absolute; left: 50%; top: -58px; width: 22px; height: 22px; margin-left: -11px;
    box-sizing: border-box; border-radius: 50%; background: var(--graphite, #17191c); border: 2px solid var(--gold); }
  .wcity__cell::after { content: ''; position: absolute; left: 50%; top: -35px; width: 1px; height: 35px; background: var(--graphite-3, #3a3e43); }
  html.js .wcity::before { transform: scaleX(0); }
  html.js .wcity.in::before { transform: none; transition: transform 1.4s cubic-bezier(.65,0,.35,1) .2s; }
  html.js .wcity__cell::before { transform: scale(0); }
  html.js .wcity.in .wcity__cell::before { transform: none; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
  .wcity.in .wcity__cell:nth-of-type(1)::before { transition-delay: .25s; }
  .wcity.in .wcity__cell:nth-of-type(2)::before { transition-delay: .55s; }
  .wcity.in .wcity__cell:nth-of-type(3)::before { transition-delay: .85s; }
  .wcity.in .wcity__cell:nth-of-type(4)::before { transition-delay: 1.15s; }
  .wcity.in .wcity__cell:nth-of-type(5)::before { transition-delay: 1.45s; }
  .wcity.in::after { animation: wRun 5.5s cubic-bezier(.45,0,.55,1) 1.9s infinite; }
  @keyframes wRun { 0% { left: 10%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
  /* узел, над которым проходит сигнал, подсвечен наведением на город */
  .wcity__cell:hover::before { background: var(--gold); }
}
@media (prefers-reduced-motion: reduce) {
  html.js .wcity::before, html.js .wcity__cell::before { transform: none; transition: none; }
  .wcity.in::after { animation: none; }
}

/* ═══ Качество: образцы документов волной, подъём листа при наведении (30.09.2026) ═══ */
.cmocks .cmock:nth-child(1) { --i: 0; } .cmocks .cmock:nth-child(2) { --i: 1; } .cmocks .cmock:nth-child(3) { --i: 2; } .cmocks .cmock:nth-child(4) { --i: 3; } .cmocks .cmock:nth-child(5) { --i: 4; } .cmocks .cmock:nth-child(6) { --i: 5; } .cmocks .cmock:nth-child(7) { --i: 6; } .cmocks .cmock:nth-child(8) { --i: 7; }
.cmock__scan { transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease; }
.cmock:hover .cmock__scan { transform: translateY(-6px) rotate(-.8deg); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
html.js .cmocks:not(.in) .cmock { opacity: 0; transform: translateY(22px); }
html.js .cmocks.in .cmock { transition: opacity .6s ease calc(var(--i, 0) * 80ms), transform .8s cubic-bezier(.16,1,.3,1) calc(var(--i, 0) * 80ms); }
@media (prefers-reduced-motion: reduce) { html.js .cmocks .cmock { opacity: 1; transform: none; } }

/* ═══ Общий приём «волна» (30.09.2026): data-reveal + data-wave на контейнере — дети появляются по очереди ═══ */
[data-wave] > :nth-child(1) { --i: 0; } [data-wave] > :nth-child(2) { --i: 1; } [data-wave] > :nth-child(3) { --i: 2; } [data-wave] > :nth-child(4) { --i: 3; } [data-wave] > :nth-child(5) { --i: 4; } [data-wave] > :nth-child(6) { --i: 5; } [data-wave] > :nth-child(7) { --i: 6; } [data-wave] > :nth-child(8) { --i: 7; } [data-wave] > :nth-child(9) { --i: 8; } [data-wave] > :nth-child(10) { --i: 9; } [data-wave] > :nth-child(11) { --i: 10; } [data-wave] > :nth-child(12) { --i: 11; }
html.js [data-wave]:not(.in) > * { opacity: 0; transform: translateY(18px); }
html.js [data-wave].in > * { transition: opacity .6s ease calc(var(--i, 0) * 70ms), transform .7s cubic-bezier(.16,1,.3,1) calc(var(--i, 0) * 70ms),
  background-color .2s ease, color .2s ease; }
@media (prefers-reduced-motion: reduce) { html.js [data-wave] > * { opacity: 1; transform: none; } }
/* карточки групп и проектов: жёлтая кромка прочерчивается при наведении (сетка с зазором 1px — без подъёма) */
.pcard, .ccard { position: relative; }
.pcard::after, .ccard::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left center; transition: transform .35s cubic-bezier(.16,1,.3,1); pointer-events: none; }
.pcard:hover::after, .ccard:hover::after, .pcard:focus-visible::after { transform: none; }

/* ═══ Справочник стандартов: панель семейств (30.09.2026) ═══ */
.stdnav { position: sticky; top: 70px; z-index: 40; display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 12px max(var(--shell), calc((100% - var(--content)) / 2)); background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.stdnav::-webkit-scrollbar { display: none; }
/* 06.10.2026: на телефоне панель уходит вбок (DIN, Прочие за краем), полосы прокрутки нет — правый край
   растворяем, чтобы было видно продолжение */
@media (max-width: 700px) {
  .stdnav { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
}
.stdnav__lbl { margin-right: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); flex: none; }
.stdnav a { flex: none; padding: 8px 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  border: 1px solid transparent; transition: background-color .2s ease, border-color .2s ease; }
.stdnav a:hover { border-color: var(--line); }
.stdnav a.on { background: var(--gold); }
@media (max-width: 620px) { .stdnav__lbl { display: none; } .stdnav { top: 62px; } }
.stdwrap > section { scroll-margin-top: 130px; }

/* ═══ Фильтр каталога: ряды — сплошные полосы (01.10.2026) ═══
   Кнопки встык, разделитель 1px; растягиваются и заполняют ряд целиком, при переносе ряд тоже без дыр.
   Рамку дают верх/лево у полосы и право/низ у кнопок. Только внутри .finder (вкладки карты — прежние). */
.finder__row { align-items: center; }
.finder .chips { flex: 1 1 0; min-width: 0; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.finder .chip { flex: 1 1 auto; margin: 0; padding: 13px 16px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg); color: var(--ink-soft, #5A5A5A); text-align: center; white-space: nowrap;
  box-shadow: inset 0 0 0 var(--gold); transition: background-color .2s ease, color .2s ease, box-shadow .25s ease; }
.finder .chip:hover { border-color: var(--line); color: var(--ink); box-shadow: inset 0 -3px 0 var(--gold); }
.finder .chip.on { background: var(--gold); color: var(--ink); box-shadow: none; }
.finder .chip.on i { color: var(--on-gold, #17191c); }
.finder .chips--sub .chip { padding: 9px 12px; font-size: 12px; border-style: solid; background: var(--bg); }
.finder .chips--sub .chip.on { background: var(--gold-soft); color: var(--ink); box-shadow: inset 0 -3px 0 var(--gold); }
@media (pointer: coarse) { .finder .chip { padding: 14px 14px; } }
@media (max-width: 620px) { .finder .chips { flex-basis: 100%; } }

/* ═══ 01.10.2026: колонки 1/3 + 2/3, плашки методов контроля, текущий раздел в меню, маркеры 2px ═══ */
.split--13 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 960px) { .split--13 { grid-template-columns: 1fr; } }
/* строки в две колонки: сетка, а не columns — разделители идут ровно по строкам */
.ind__list.rows--2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.ind__list.rows--2 li:nth-child(2) { border-top: 1px solid var(--line); }
.sec--alt .ind__list.rows--2 li:nth-child(2) { border-top-color: var(--graphite-3, #3a3e43); }
@media (max-width: 620px) { .ind__list.rows--2 { grid-template-columns: 1fr; } .ind__list.rows--2 li:nth-child(2) { border-top: 0; } }
/* маркер списка: 1px на дробной высоте сглаживание красило то жёлтым, то серым */
.ind__list li::before { height: 2px; }
/* методы неразрушающего контроля — плашки с аббревиатурой */
.tests__lbl { display: block; margin: 8px 0 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.tests + .tests__lbl { margin-top: 38px; }
.tests { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
/* 06.10.2026: minmax(0, 1fr) — колонка с «Магнитопорошковый» иначе шире половины, и страница на 390px шире экрана */
@media (max-width: 620px) {
  .tests { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* «Магнитопорошковый» на 14px в полуколонку 390px не входит — 13px и отступ уже.
     14.10.2026: переносы по слогам сняты («кон-троль»); запас — мягкий перенос «магнито-порошковый» (app.js, SHY_RE) */
  ul.tests li { padding: 18px 16px 16px; }
  ul.tests li span { font-size: 13px; overflow-wrap: anywhere; }
}
/* на 390px полуколонка 169px: «Магнитопорошковый» на 13px — 141px, значит отступ не больше 12px */
@media (max-width: 420px) { ul.tests li { padding: 16px 12px 14px; } }
.tests li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 20px; background: var(--bg-alt, #f6f6f6);
  border: 1px solid var(--line); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.tests li::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left center; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.tests li:hover { transform: translateY(-4px); }
.tests li:hover::before { transform: none; }
.tests b { font-size: clamp(26px, 2.2vw, 34px); font-weight: 500; line-height: 1; letter-spacing: -0.01em; color: var(--ink); }
.tests span { font-size: 14px; line-height: 1.35; color: var(--steel); }
html.js .tests[data-wave].in > li:hover { transform: translateY(-4px); transition-delay: 0s; }
/* меню: текущий раздел — жёлтая черта под пунктом */
.hdr__nav a.on::after { right: 0; height: 2px; background: var(--gold); }
.mnav a.on { color: var(--gold); }

/* ═══ Шапка контрастна блоку под ней (01.10.2026). style-bold.css грузится позже — отсюда вес html body ═══ */
/* 06.10.2026: светлая шапка тоже стекло — при 92 % белого блюр подложки не виден, панель выглядела плоской (Сергей) */
html body .hdr:not(.hdr--dark) { background: rgba(255,255,255,.6); box-shadow: 0 1px 0 rgba(23,25,28,.1); }
html body .hdr.hdr--dark { background: rgba(23,25,28,.92); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
html body .hdr.hdr--top { background: rgba(23,25,28,.55); box-shadow: none; }

/* ═══ Каталог: упаковка и контроль качества (01.10.2026) — темы друг под другом, текст 1/3 + наглядное 2/3 ═══ */
.pq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.pq + .pq { margin-top: 84px; padding-top: 72px; border-top: 1px solid var(--line); }
/* 06.10.2026: minmax(0, 1fr), а не 1fr — иначе колонка не уже min-content фоторяда и на 390px страница шире экрана на 6px */
@media (max-width: 960px) { .pq { grid-template-columns: minmax(0, 1fr); gap: 30px; } .pq + .pq { margin-top: 56px; padding-top: 48px; } }
.pq__h { font-size: clamp(28px, 2.6vw, 40px); }
/* длинная наглядная часть — текст темы идёт рядом при прокрутке */
@media (min-width: 961px) { .pq__text { position: sticky; top: 110px; } }
.pq__text .note { margin-top: 24px; }
.pq__text .pq__note { font-size: 14px; color: var(--steel); }
/* фото-карточки упаковки */
.pqcards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
@media (max-width: 560px) { .pqcards { grid-template-columns: 1fr; } }
.pqcards__c { margin: 0; }
.pqcards__img { display: block; overflow: hidden; border: 1px solid var(--line); }
.pqcards__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.pqcards__c:hover .pqcards__img img { transform: scale(1.06); }
.pqcards__c figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 14px; font-size: 16px; line-height: 1.35; color: var(--ink); }
.pqcards__c--text figcaption { margin: 0; padding: 22px 20px; background: var(--bg-alt, #f6f6f6); border: 1px solid var(--line); }
.pqcards__n, .qitems__n { flex: none; font-size: 12px; letter-spacing: .14em; color: var(--gold); font-variant-numeric: tabular-nums; }
/* наш контроль — нумерованные плашки */
.qitems { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1080px) { .qitems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qitems li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 22px; background: var(--bg-alt, #f6f6f6);
  border: 1px solid var(--line); font-size: 15px; line-height: 1.35; color: var(--ink); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.qitems li::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left center; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.qitems li:hover { transform: translateY(-4px); }
.qitems li:hover::before { transform: none; }
.pq__factory { margin-top: 48px !important; }
/* волна: сетки создаёт скрипт, поэтому «показано» берём с контейнера .pq__media (data-reveal) */
.wv > :nth-child(1) { --i: 0; } .wv > :nth-child(2) { --i: 1; } .wv > :nth-child(3) { --i: 2; } .wv > :nth-child(4) { --i: 3; } .wv > :nth-child(5) { --i: 4; } .wv > :nth-child(6) { --i: 5; } .wv > :nth-child(7) { --i: 6; } .wv > :nth-child(8) { --i: 7; } .wv > :nth-child(9) { --i: 8; } .wv > :nth-child(10) { --i: 9; } .wv > :nth-child(11) { --i: 10; } .wv > :nth-child(12) { --i: 11; }
html.js .pq__media:not(.in) .wv > * { opacity: 0; transform: translateY(18px); }
html.js .pq__media.in .wv > * { transition: opacity .6s ease calc(var(--i, 0) * 60ms), transform .7s cubic-bezier(.16,1,.3,1) calc(var(--i, 0) * 60ms); }
html.js .pq__media.in .wv > *:hover { transition-delay: 0s; }
html.js .pq__media.in .qitems > li:hover, html.js .pq__media.in .tests > li:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { html.js .pq__media .wv > * { opacity: 1; transform: none; } }

/* ═══ Доступность, телефон, печать (01.10.2026, по замерам Lighthouse) ═══ */
/* подвал: серый текст на графите был 3,4:1 при норме 4,5:1 */
.foot__grid p { color: #9aa0a6; }
/* фокус с клавиатуры: на графите — жёлтая рамка, на жёлтом — графитовая (графитовая на графите и белая на жёлтом не видны) */
.hero :focus-visible, .page-top :focus-visible, .sec--alt :focus-visible, .foot :focus-visible, .mnav :focus-visible,
.hdr.hdr--dark :focus-visible { outline-color: var(--gold); }
.cta :focus-visible { outline-color: var(--ink); }
/* панель «Позвонить / Отправить спецификацию» внизу экрана телефона (01.10.2026) снята 14.10.2026 — кнопки в меню (.mnav__acts) */
/* печать: снабженец распечатывает карточку группы к спецификации — только содержание, без шапки, анимаций и форм */
@media print {
  .hdr, .mnav, .burger, .ckp, .proto-badge, .pt-art, .foot__mark, .foot__up, .cta, .stdnav, .pside__acts, #p-actions, .finder { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  .page-top { background: none !important; color: #000 !important; min-height: 0 !important; padding: 0 0 16px !important; }
  .page-top::before, .page-top::after { display: none !important; }
  .page-top .page-title, .page-top .note, .page-top .crumbs { color: #000 !important; }
  .sec--alt, .foot { background: none !important; color: #000 !important; }
  .sec--alt *, .foot * { color: #000 !important; }
  .sec { padding: 18px 0 !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .rise, html.js [data-reveal], html.js [data-reveal] *, html.js [data-wave] > *, html.js .wv > * { opacity: 1 !important; transform: none !important; }
  .pside--stick { position: static; }
  a { color: #000 !important; }
  table { page-break-inside: auto; } tr { page-break-inside: avoid; }
}

/* ═══ Подвал (30.09.2026): жёлтая линия, колонки с разделами, крупный телефон, контурный METALLINE, «Наверх» ═══ */
.foot { position: relative; overflow: hidden; padding: 64px var(--shell) 0; }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); transform-origin: left center; }
html.js .foot::before { transform: scaleX(0); }
html.js .foot.in::before { transform: none; transition: transform 1.4s cubic-bezier(.65,0,.35,1); }
.foot__top { max-width: var(--content); margin: 0 auto 44px; display: flex; align-items: center; gap: 40px; }
.foot__top .foot__brand { margin: 0; }
.foot__slogan { margin: 0; color: var(--gold); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.35; letter-spacing: -0.01em; }
.foot__up { margin-left: auto; width: 52px; height: 52px; border-radius: 50%; border: 1px solid #4a4f55; background: none;
            color: #fff; font: 20px var(--font); cursor: pointer; transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .35s cubic-bezier(.16,1,.3,1); }
.foot__up:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-3px); }
.foot__grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 34px 44px; font-size: 15px; }
@media (max-width: 1000px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .foot__grid { grid-template-columns: 1fr; } .foot__top { flex-wrap: wrap; gap: 18px 24px; } .foot__slogan { order: 3; flex-basis: 100%; } }
.foot__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.foot__grid p { margin: 0; line-height: 1.6; }
.foot__grid b { margin-bottom: 6px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; color: var(--gold); }
.foot__grid .foot__sub { margin-top: 18px; }
.foot__grid a { color: #cfd3d7; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.foot__grid a:hover { color: #fff; border-bottom-color: var(--gold); }
.foot__grid a.foot__tel { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -0.01em; color: #fff; margin-bottom: 2px; }
.foot__grid a.foot__req { color: var(--gold); margin-top: 6px; }
.foot__grid a.foot__req span { display: inline-block; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.foot__grid a.foot__req:hover span { transform: translateX(5px); }
/* контурный METALLINE по низу: срезан нижней кромкой подвала, прорисовывается линией */
.foot__mark { max-width: var(--content); margin: 56px auto 32px; pointer-events: none; } /* целиком над полосой © — низ букв не прячем (Елена, 15.10.2026) */
.foot__mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.foot__mark path { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
html.js .foot__mark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .foot.in .foot__mark path { animation: qDraw 3.2s cubic-bezier(.45,0,.2,1) .4s forwards; }
.foot__copy { position: relative; max-width: none; margin: 0 calc(var(--shell) * -1); padding: 18px var(--shell) 26px;
              background: var(--graphite, #17191c); border-top: 1px solid var(--graphite-3, #3a3e43); }
.foot__copy > * { position: relative; }
@media (prefers-reduced-motion: reduce) {
  html.js .foot::before, html.js .foot__mark path { transform: none; stroke-dashoffset: 0; animation: none; transition: none; }
}

/* ——— свёрнутые справочные блоки (09.11.2026): вес по типоразмерам на карточках,
   «Как считается вес» и «Частые вопросы» в калькуляторе. Текст есть в разметке
   сразу — поисковик его читает, посетитель раскрывает по нажатию. */
details.ml-more { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
details.ml-more > summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; }
details.ml-more > summary::-webkit-details-marker { display: none; }
details.ml-more > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.ml-more__hint { font-weight: 400; color: var(--ink-soft); }
.ml-more__arrow { display: inline-block; transition: transform .2s; }
details.ml-more[open] .ml-more__arrow { transform: rotate(180deg); }
.ml-more__scroll { margin-top: 12px; max-height: 360px; overflow: auto; }
.ml-more__body { margin-top: 12px; font-size: 15px; line-height: 1.6; max-width: 70ch; }
.ml-more__body p { margin: 0 0 10px; }
.ml-more__body h3 { font-size: 15px; margin: 16px 0 4px; }
