*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
:root {
  --white: #ffffff;
  --off: #f5f5f7;
  --off2: #fbfbfd;
  --ink: #1d1d1f;
  --ink2: #424245;
  --ink3: #6e6e73;
  /* Четвёртая ступень текста. Была #a1a1a6 — 2,5:1 на белом при норме 4,5.
     Этим цветом набраны ВСЕ надзаголовки, подписи полей, бегущая строка,
     заголовки колонок подвала и копирайт, то есть промах был не частный,
     а сквозной: на солнце и на среднем мониторе такой текст просто не
     читается. #707075 — самый светлый серый, который проходит 4,5 на
     самом тёмном фоне страницы (--off, 4,52); белый 4,93, --off2 4,77.
     Светлее уже нельзя: четвёртой ступени, читаемой как текст, не бывает. */
  --ink4: #707075;
  --line: #d2d2d7;
  --blue: #0055b3;
  --blue-h: #0066cc;
  --accent-soft: #e8f0f9;
}
body {
  font-family: 'Geist', -apple-system, sans-serif;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── LOGO ── */
.logo-lockup {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; flex-shrink: 0;
}
.logo-wordmark {
  font-family: 'Geist', sans-serif;
  font-weight: 600; letter-spacing: -0.4px;
  line-height: 1; color: var(--ink);
}
.logo-wordmark span { color: var(--blue); }
.logo-sub {
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink4); margin-top: 3px; display: block;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.nav-links {
  display: flex; gap: 32px; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a { font-size: 13px; color: var(--ink3); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-cta {
  font-size: 13px; font-weight: 500; color: var(--white);
  background: var(--blue); padding: 7px 16px; border-radius: 980px;
  text-decoration: none; transition: background 0.15s;
}
.nav-cta:hover { background: var(--blue-h); }
.lang { display: flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 980px; background: rgba(255,255,255,0.6); }
.lang button {
  font: inherit; font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink4); background: none; border: 0; cursor: pointer;
  padding: 4px 9px; border-radius: 980px; line-height: 1;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang button:hover { color: var(--ink2); }
.lang button.on { color: var(--white); background: var(--blue); }
html[lang="kk"] .hn-num { letter-spacing: -0.5px; }

/* ── HERO ── */
.hero { padding: 130px 48px 90px; background: var(--off2); border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 1080px; margin: 0 auto; }
.hero-brand {
  display: flex; align-items: center; gap: 14px; margin-bottom: 40px;
}
.hero-brand-tag {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink4);
  padding: 4px 12px; border: 1px solid var(--line); border-radius: 980px;
}
.hero h1 {
  font-family: Georgia, 'PT Serif', 'Times New Roman', serif;
  font-size: clamp(54px, 8.5vw, 100px);
  font-weight: 400; line-height: 1.0; letter-spacing: -3px;
  color: var(--ink); max-width: 880px; margin-bottom: 36px;
}
.hero h1 .accent { color: var(--blue); }
.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 60px; padding-top: 48px; border-top: 1px solid var(--line); flex-wrap: wrap;
}
.hero-sub { font-size: 17px; color: var(--ink3); font-weight: 300; max-width: 440px; line-height: 1.6; letter-spacing: -0.1px; }
.hero-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-blue { font-size: 15px; font-weight: 500; color: var(--white); background: var(--blue); padding: 13px 26px; border-radius: 980px; text-decoration: none; transition: background 0.15s; white-space: nowrap; }
.btn-blue:hover { background: var(--blue-h); }
.btn-ghost { font-size: 15px; font-weight: 400; color: var(--blue); padding: 13px 26px; border-radius: 980px; text-decoration: none; transition: background 0.15s; white-space: nowrap; }
.btn-ghost:hover { background: rgba(0,85,179,0.06); }
.hero-numbers { display: flex; gap: 0; margin-top: 56px; }
.hn-item { flex: 1; padding: 32px 32px 32px 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.hn-item:not(:first-child) { padding-left: 32px; }
.hn-item:last-child { border-right: none; padding-right: 0; }
.hn-num { font-family: Georgia, 'PT Serif', 'Times New Roman', serif; font-size: clamp(24px, 2.1vw, 32px); font-weight: 400; color: var(--ink); letter-spacing: -1px; line-height: 1.05; display: block; margin-bottom: 10px; hyphens: none; }
.hn-label { font-size: 12px; color: var(--ink4); line-height: 1.4; }

/* ── HERO: видеофон ── */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-inner { position: relative; z-index: 2; }
.hero-media { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-video, .hero-media > .still {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 80% 50%;
  /* ролик тёмно-синий: инвертируем, возвращаем оттенок в фирменный синий */
  filter: invert(1) grayscale(1) contrast(1.3) sepia(1) hue-rotate(173deg) saturate(4.6) brightness(0.99);
  opacity: 0.66;
  transform: scale(1.14) translate3d(0, var(--par, 0px), 0);
  will-change: transform;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--off2) 0%, var(--off2) 33%, rgba(251,251,253,0.9) 48%, rgba(251,251,253,0.62) 70%, rgba(251,251,253,0.42) 100%),
    linear-gradient(180deg, var(--off2) 0%, rgba(251,251,253,0) 20%, rgba(251,251,253,0) 60%, rgba(251,251,253,0.9) 88%, var(--off2) 100%);
}
.hero-glow {
  position: absolute; top: 0; left: 0; width: 720px; height: 720px; margin: -360px 0 0 -360px;
  background: radial-gradient(closest-side, rgba(0,85,179,0.14), transparent 72%);
  transform: translate3d(var(--gx, 62vw), var(--gy, 46vh), 0);
  will-change: transform; opacity: 0; transition: opacity 0.45s ease;
}
.hero.pointer-in .hero-glow { opacity: 1; }

/* ── Прогресс прокрутки ── */
.progress { position: fixed; top: 52px; left: 0; right: 0; height: 2px; z-index: 899; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }

/* ── Навигация при прокрутке ── */
nav { transition: height 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
nav.scrolled { height: 46px; box-shadow: 0 1px 20px rgba(0,0,0,0.06); background: rgba(255,255,255,0.94); }

/* ── Заголовок по буквам ── */
.rv-word { display: inline-block; white-space: nowrap; }
.rv-char {
  display: inline-block; opacity: 0;
  transform: translateY(0.42em) rotate(2deg);
  transition: opacity 0.5s cubic-bezier(0.2,0.7,0.2,1), transform 0.7s cubic-bezier(0.2,0.7,0.2,1);
}
.rv-char.on { opacity: 1; transform: none; }

/* ── Прочерчивание линий ── */
.hero-bottom { border-top: none; background-image: linear-gradient(90deg, var(--line), var(--line)); background-repeat: no-repeat; background-position: 0 0; background-size: 0% 1px; transition: background-size 1.1s cubic-bezier(0.2,0.7,0.2,1) 0.15s; }
.hero-bottom.visible { background-size: 100% 1px; }
.dir-header, .services-head { background-image: linear-gradient(90deg, var(--line), var(--line)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px; transition: background-size 1.1s cubic-bezier(0.2,0.7,0.2,1) 0.2s; }
.dir-header.visible, .services-head.visible { background-size: 100% 1px; }
.dir-header { border-bottom: none; }
.services-head { border-bottom: none; }

/* ── Наклон карточек под курсором ── */
.dir-grid, .services-grid { perspective: 1100px; }
.dr, .sv { transform-style: preserve-3d; transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1), background 0.25s ease, box-shadow 0.4s ease; }
.dr.tilt, .sv.tilt { transition: transform 0.08s linear, background 0.25s ease, box-shadow 0.4s ease; box-shadow: 0 18px 40px -24px rgba(0,40,90,0.35); }

/* ── Магнитные кнопки ── */
.btn-blue, .nav-cta { display: inline-block; will-change: transform; }

/* ── Бегущая строка: пауза при наведении ── */
.ticker:hover .ticker-inner { animation-play-state: paused; }
.ticker-item { transition: color 0.2s ease; }
.ticker-item:hover { color: var(--blue); }

/* ── TICKER ── */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); padding: 12px 0; background: var(--white); }
.ticker-inner { display: flex; width: max-content; animation: tick 32s linear infinite; }
@keyframes tick { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item { font-size: 12px; color: var(--ink4); white-space: nowrap; padding: 0 28px; border-right: 1px solid var(--line); font-weight: 400; letter-spacing: 0.03em; }

/* ── SHARED ── */
.section { padding: 96px 48px; }
.section-alt { background: var(--off2); }
.wrap { max-width: 1080px; margin: 0 auto; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink4); margin-bottom: 14px; }
h2 { font-family: Georgia, 'PT Serif', 'Times New Roman', serif; font-size: clamp(34px, 4.5vw, 54px); font-weight: 400; letter-spacing: -1.5px; line-height: 1.05; color: var(--ink); margin-bottom: 18px; }
.section-desc { font-size: 17px; color: var(--ink3); font-weight: 300; line-height: 1.6; max-width: 480px; letter-spacing: -0.1px; }

/* ── НАПРАВЛЕНИЯ ── */
.dir-section { padding: 96px 48px; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dir-header { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-bottom: 72px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.dir-header h2 { margin-bottom: 0; }
.dir-right-text p { font-size: 16px; color: var(--ink3); font-weight: 300; line-height: 1.7; margin-bottom: 20px; }
.dir-right-text p:last-child { margin-bottom: 0; }
.dir-right-text strong { color: var(--ink2); font-weight: 500; }
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.dr { background: var(--white); padding: 36px 32px; transition: background 0.2s; }
.dr:hover { background: var(--off2); }
.dr-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; display: block; }
.dr h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.4px; color: var(--ink); margin-bottom: 12px; }
.dr p { font-size: 14px; color: var(--ink3); line-height: 1.65; font-weight: 300; }
.dr-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 5px; }
.dr-tag { font-size: 11px; font-weight: 500; color: var(--blue); background: var(--accent-soft); padding: 3px 10px; border-radius: 980px; }

/* ── SERVICES ── */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.services-head .section-desc { max-width: 340px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.sv { background: var(--white); padding: 38px 34px; transition: background 0.2s; }
.sv:hover { background: var(--off2); }
.sv-num { font-family: Georgia, 'PT Serif', 'Times New Roman', serif; font-size: 13px; color: var(--ink4); margin-bottom: 28px; display: block; }
.sv h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.4px; margin-bottom: 10px; color: var(--ink); }
.sv p { font-size: 14px; color: var(--ink3); line-height: 1.65; font-weight: 300; }
.sv-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 22px; font-size: 13px; font-weight: 500; color: var(--blue); text-decoration: none; transition: gap 0.15s; }
.sv:hover .sv-link { gap: 8px; }

/* ── PROCESS ── */
.process-list { margin-top: 60px; border-top: 1px solid var(--line); }
.process-row { display: grid; grid-template-columns: 52px 1fr 1fr; gap: 40px; align-items: start; padding: 36px 0; border-bottom: 1px solid var(--line); transition: all 0.15s; cursor: default; }
.process-row:hover { background: var(--off2); margin: 0 -48px; padding-left: 48px; padding-right: 48px; }
.pr-num { font-family: Georgia, 'PT Serif', 'Times New Roman', serif; font-size: 18px; color: var(--ink4); padding-top: 3px; }
.pr-title { font-size: 19px; font-weight: 500; letter-spacing: -0.4px; color: var(--ink); }
.pr-desc { font-size: 15px; color: var(--ink3); line-height: 1.65; font-weight: 300; }

/* ── CTA ── */
.cta-wrap { max-width: 680px; margin: 0 auto; text-align: center; }
.cta-wrap h2 { margin-bottom: 16px; }
.cta-wrap .section-desc { margin: 0 auto 40px; text-align: center; max-width: 420px; }
.cta-actions { display: flex; gap: 10px; justify-content: center; }
.cta-contacts { display: flex; justify-content: center; gap: 0; margin-top: 56px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cc-item { flex: 1; padding: 24px 28px; text-align: center; border-right: 1px solid var(--line); background: var(--off2); }
.cc-item:last-child { border-right: none; }
.cc-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink4); margin-bottom: 6px; font-weight: 600; }
.cc-val { font-size: 14px; font-weight: 500; color: var(--ink); }
.cc-val a { color: var(--blue); text-decoration: none; }
.cc-val a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer { background: var(--off2); border-top: 1px solid var(--line); padding: 60px 48px 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; max-width: 1080px; margin: 0 auto; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-about p { font-size: 13px; color: var(--ink3); line-height: 1.65; max-width: 240px; font-weight: 300; margin-top: 12px; }
.footer-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink4); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 13px; color: var(--ink3); }
.footer-bottom { max-width: 1080px; margin: 0 auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: var(--ink4); }

/* Колофон — подпись мастерской, собравшей сайт и Control Panel.
   Стоит в подвале рядом с копирайтом, тем же кеглем и тем же тоном:
   это сведение об издании, а не предложение услуг. Подвал и так
   разведён по краям — второму элементу там было оставлено место. */
.colophon {
  font-size: 12px; color: var(--ink4); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.colophon:hover, .colophon:focus-visible { color: var(--blue); border-bottom-color: var(--blue); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .ticker-inner { animation: none; }
  .rv-char { opacity: 1; transform: none; transition: none; }
  .hero-bottom, .dir-header, .services-head { background-size: 100% 1px; transition: none; }
  .hero-video { display: none; }
  .hero-glow { display: none; }
  .dr, .sv { transition: none; }
}

/* ── УЗКИЕ ЭКРАНЫ: шапке не хватает ширины ── */
@media (max-width: 400px) {
  .logo-lockup > div { display: none; }
  nav { padding: 0 16px; }
  .nav-right { gap: 8px; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-right { gap: 12px; }
  .lang { gap: 0; }
  .lang button { padding: 4px 6px; font-size: 10px; letter-spacing: 0.02em; }
  .nav-cta { font-size: 12px; padding: 6px 13px; }

  .hero { padding: 90px 20px 56px; }
  .hero-media { object-position: 60% 50%; }
  .hero-veil { background: linear-gradient(180deg, rgba(251,251,253,0.92) 0%, rgba(251,251,253,0.86) 55%, var(--off2) 100%); }
  .hero-glow { display: none; }
  .progress { top: 52px; }
  .hero-brand { flex-wrap: wrap; gap: 8px; }
  .hero-brand-tag { font-size: 10px; padding: 3px 10px; }
  .hero h1 { font-size: clamp(38px, 10vw, 56px); letter-spacing: -1.5px; margin-bottom: 24px; }
  .hero-bottom { flex-direction: column; gap: 24px; padding-top: 28px; }
  .hero-sub { font-size: 15px; max-width: 100%; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-blue, .btn-ghost { text-align: center; padding: 14px 20px; font-size: 15px; }
  .hero-numbers { flex-wrap: wrap; }
  .hn-item { flex: 1 1 40%; min-width: 0; padding: 20px 16px; border-right: none; border-bottom: 1px solid var(--line); }
  .hn-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .hn-item:last-child { border-bottom: none; }
  .hn-num { font-size: 20px; letter-spacing: -0.6px; }

  .section { padding: 56px 20px; }
  .dir-section { padding: 56px 20px; }
  .dir-header { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; padding-bottom: 32px; }
  .dir-grid { grid-template-columns: 1fr; }

  .services-head { flex-direction: column; gap: 16px; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .sv { padding: 28px 24px; }

  .process-row { grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; }
  .process-row:hover { margin: 0; padding: 24px 0; }
  .pr-desc { grid-column: 2; font-size: 14px; }
  .pr-title { font-size: 16px; }

  .cta-actions { flex-direction: column; }
  .cta-contacts { flex-direction: column; border-radius: 12px; }
  .cc-item { border-right: none; border-bottom: 1px solid var(--line); padding: 16px 20px; }
  .cc-item:last-child { border-bottom: none; }

  footer { padding: 40px 20px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  h2 { letter-spacing: -1px; }
}

/* ═══════════════════════════════════════════════════════════════════
   ДИСТРИБЬЮТОРСТВО WASSON-ECE
   ───────────────────────────────────────────────────────────────────
   Отдельных приёмов не вводим: те же волосяные сетки, те же пилюли,
   тот же синий. Партнёрство должно читаться как часть сайта, а не как
   баннер, вставленный поверх него.
   ═══════════════════════════════════════════════════════════════════ */

/* Метка в шапке героя: «официальный дистрибьютор». Рядом с нейтральной
   меткой стоит акцентная — одна на экран, чтобы она что-то значила. */
.hero-brand-tag--on {
  color: var(--blue);
  border-color: rgba(0,85,179,0.28);
  background: var(--accent-soft);
}

/* ── Раздел партнёрства ── */
.partner { padding: 96px 48px; background: var(--white); border-bottom: 1px solid var(--line); }
.partner-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  margin-bottom: 56px; padding-bottom: 48px;
  background-image: linear-gradient(90deg, var(--line), var(--line));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px;
  transition: background-size 1.1s cubic-bezier(0.2,0.7,0.2,1) 0.2s;
}
.partner-head.visible { background-size: 100% 1px; }
.partner-head h2 { margin-bottom: 0; }
.partner-text p { font-size: 16px; color: var(--ink3); font-weight: 300; line-height: 1.7; margin-bottom: 20px; }
.partner-text p:last-child { margin-bottom: 0; }
.partner-text strong { color: var(--ink2); font-weight: 500; }

/* Логотип партнёра. Рамки нет — только воздух и подпись под волосяной
   линией: чужой знак на нашем сайте должен быть показан, а не вставлен
   в рамочку, как сертификат на стене. */
.partner-mark { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
/* Логотип партнёра приходит с белой подложкой, а фон страницы
   чуть теплее белого — иначе под знаком видна светлая плашка.
   multiply гасит белое в фон и не трогает сам знак. */
.partner-mark img { display: block; width: 100%; max-width: 268px; height: auto;
  mix-blend-mode: multiply; }
.partner-mark figcaption {
  margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--ink4); font-weight: 300;
}

.partner-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 36px;
  font-size: 15px; font-weight: 500; color: var(--blue); text-decoration: none;
  transition: gap 0.15s;
}
.partner-more:hover { gap: 11px; }

/* ── Страница аппликаций: шапка ── */
.page-head { padding: 118px 48px 64px; background: var(--off2); border-bottom: 1px solid var(--line); }
.page-head .wrap { max-width: 1080px; }
.crumb {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px;
  font-size: 13px; color: var(--ink3); text-decoration: none; transition: color 0.15s;
}
.crumb:hover { color: var(--blue); }
.page-head h1 {
  font-family: Georgia, 'PT Serif', 'Times New Roman', serif;
  font-size: clamp(40px, 6vw, 68px); font-weight: 400; line-height: 1.02;
  letter-spacing: -2px; color: var(--ink); margin-bottom: 24px; max-width: 760px;
}
.page-head h1 .accent { color: var(--blue); }
.page-head .section-desc { max-width: 560px; }

/* ── Семейства методов ── */
/* Линию сверху не рисуем: её уже провёл заголовок раздела.
   Две волосяные линии в сорока пикселях друг от друга читаются
   как пустая полоса, а не как структура. */
.meth-list { margin-top: 44px; }
.meth-row {
  display: grid; grid-template-columns: 230px 1fr 230px; gap: 44px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.meth-row > div:nth-child(2) { align-self: start; }
.meth-fp { align-self: center; }
.meth-name { font-size: 18px; font-weight: 500; letter-spacing: -0.4px; color: var(--ink); }
.meth-desc { font-size: 15px; color: var(--ink3); line-height: 1.65; font-weight: 300; }
.meth-chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 5px; }
.meth-chip {
  font-size: 11.5px; font-weight: 500; color: var(--blue); background: var(--accent-soft);
  padding: 4px 11px; border-radius: 980px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Сорок методов из сорока пяти описаны у производителя, пять — нет.
   Кликабельные помечены стрелкой: иначе читатель жмёт на соседний
   и решает, что сайт сломан. Стрелка из стиля, а не из текста, —
   в разметке остаётся чистый номер метода. */
a.meth-chip { text-decoration: none; transition: background 0.15s, color 0.15s; }
a.meth-chip--link::after { content: ' ↗'; font-size: 9.5px; opacity: 0.55; }
a.meth-chip--link:hover,
a.meth-chip--link:focus-visible { background: var(--blue); color: #fff; }
a.meth-chip--link:hover::after,
a.meth-chip--link:focus-visible::after { opacity: 0.8; }

/* ── Пары «подпись — значение» для детекторов и шасси ── */
.spec-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  margin-top: 48px;
}
.spec { background: var(--white); padding: 32px 30px; }

/* Шесть видов работ в два столбца дают три длинных ряда, в три —
   два коротких и ровную сетку. Та же волосяная решётка, что и у
   пары «детекторы / шасси», только плотнее. */
.spec-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .spec-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .spec-grid--3 { grid-template-columns: 1fr; } }

/* Строка-оговорка под перечислением: тем же кеглем, что подписи,
   и с отступом — она поясняет список, а не начинает новую мысль. */
.note-line {
  margin-top: 28px; max-width: 680px;
  font-size: 13px; line-height: 1.65; color: var(--ink4); font-weight: 300;
}
.spec h3 { font-size: 15px; font-weight: 500; letter-spacing: -0.3px; color: var(--ink); margin-bottom: 14px; }
.spec p { font-size: 14px; color: var(--ink3); line-height: 1.7; font-weight: 300; }
.spec p + p { margin-top: 10px; }
.spec .mono { color: var(--ink2); font-weight: 400; }

/* ── Что входит в поставку: нумерованный список на линиях ── */
.deliv { margin-top: 48px; border-top: 1px solid var(--line); }
.deliv-row {
  display: grid; grid-template-columns: 52px 1fr 1fr; gap: 40px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.deliv-num { font-family: Georgia, 'PT Serif', 'Times New Roman', serif; font-size: 18px; color: var(--ink4); padding-top: 2px; }
.deliv-title { font-size: 18px; font-weight: 500; letter-spacing: -0.4px; color: var(--ink); }
.deliv-desc { font-size: 15px; color: var(--ink3); line-height: 1.65; font-weight: 300; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .partner { padding: 56px 20px; }
  .partner-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; padding-bottom: 32px; }
  .partner-mark img { max-width: 220px; }

  .page-head { padding: 92px 20px 44px; }
  .page-head h1 { font-size: clamp(32px, 9vw, 48px); letter-spacing: -1.2px; }

  .meth-row { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
  .meth-fp { order: -1; }          /* отпечаток первым: его читают быстрее заголовка */
  .fp { height: 44px; }
  .meth-name { font-size: 16px; }

  .spec-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .spec { padding: 26px 22px; }

  .deliv-row { grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 0; }
  .deliv-desc { grid-column: 2; font-size: 14px; }
  .deliv-title { font-size: 16px; }
}

/* Строка про дистрибьюторство в подвале и ссылки в его колонках. */
.footer-badge {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 12px; line-height: 1.55; color: var(--ink3); font-weight: 400; max-width: 240px;
}
.footer-col a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.15s, border-color 0.15s; }
.footer-col a:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* ═══════════════════════════════════════════════════════════════════
   ХРОМАТОГРАММЫ И ФОТОПОЛОСЫ
   ───────────────────────────────────────────────────────────────────
   Страница про газовую хроматографию, на которой нет ни одной
   хроматограммы, — это страница про что-то другое. Но хроматограмма
   здесь не украшение: кривые построены по гауссовой модели пика, и
   каждая правдива для своего типа разделения. Анализ газов НПЗ — это
   частокол ранних острых пиков; селективный детектор по сере видит
   три пика на пустой линии; детальный углеводородный анализ бензина —
   лес из полусотни; имитированная дистилляция вообще не даёт пиков,
   она даёт один широкий горб. Хроматографист читает эти картинки
   с одного взгляда и узнаёт свою задачу раньше, чем прочтёт заголовок.

   Поэтому иллюстраций в обычном смысле на странице нет: рисованных
   метафор фирменный стиль не допускает, а чужие фотографии приборов
   нельзя брать без разрешения правообладателя.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Большая хроматограмма под шапкой страницы ── */
.cgwrap { margin-top: 44px; padding-top: 24px; }
.cg-plot { position: relative; height: 190px; }
.cg { display: block; width: 100%; height: 100%; }
.cg-f { fill: rgba(0,85,179,0.055); }
.cg-l { stroke: var(--blue); }
.cg-x { stroke: var(--line); stroke-width: 1; }

/* Подписи пиков — обычным текстом поверх, а не внутри SVG: кривая
   растягивается по ширине экрана, и буквы внутри неё растянулись бы
   вместе с ней. */
/* Каждая подпись стоит над своим пиком, а не в общей строке сверху.
   Координата вершины взята из той же кривой, что нарисована: доля
   высоты видового окна, поэтому при сжатии графика подпись съезжает
   вместе с пиком. Сдвиг на свою высоту вверх — чтобы низ буквы
   оказался у вершины, а не её середина. */
.cg-peak {
  position: absolute; transform: translate(-50%, -100%);
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink3); white-space: nowrap; padding-bottom: 3px;
}
.cg-note {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 10px; font-size: 11px; color: var(--ink4);
}
.cg-note b { font-weight: 500; color: var(--ink3); }
/* Перечисление отделяется запятой из стиля, а не из текста: иначе
   ключом перевода становится строка, начинающаяся с запятой, и
   переводчик получает обрывок вместо фразы. */
.cgn-what i { font-style: normal; }
.cgn-what i::before { content: ', '; }

/* Прочерчивание кривой при появлении — тем же языком, что линии
   разделов: не анимация ради анимации, а то же движение слева направо. */
@media (prefers-reduced-motion: no-preference) {
  .cg-l { stroke-dasharray: 4200; stroke-dashoffset: 4200; }
  .cgwrap.visible .cg-l { animation: cgdraw 2.4s cubic-bezier(0.3,0.7,0.3,1) forwards; }
  .cg-f, .cg-peak { opacity: 0; transition: opacity 0.6s ease 1.5s; }
  .cgwrap.visible .cg-f, .cgwrap.visible .cg-peak { opacity: 1; }
}
@keyframes cgdraw { to { stroke-dashoffset: 0; } }


/* ═══════════════════════════════════════════════════════════════════
   ТЕХНОЛОГИЧЕСКИЙ ПАРТНЁР
   ───────────────────────────────────────────────────────────────────
   Второй блок партнёра на странице, и он не должен спорить с первым.
   Wasson — партнёр по продукту: ему отданы заголовок, снимки и три
   карточки. InexT — партнёр по инфраструктуре: имя, знак и ссылка.
   Что именно он делает, написано у него на сайте, и переписывать это
   сюда незачем: раздел отвечает на вопрос «чьё это», а не «что это».

   Своих разделителей внутри нет: сверху раздел отбит волосяной
   линией от «Процесса», снизу — сменой фона у контактов. Этого
   довольно, чтобы он читался отдельным, и мало, чтобы он тянул на
   себя внимание.

   Знак партнёра идёт его собственным синим: это чужой логотип, и
   перекрашивать его в наш — неправильно.
   ═══════════════════════════════════════════════════════════════════ */

.tech { border-top: 1px solid var(--line); }

/* Надзаголовок набран капителью, а имя партнёра пишется InexT, а не
   INEXT. Чужое имя пишут так, как его пишет владелец. */
.tech-name { text-transform: none; letter-spacing: 0.02em; font-size: 12px; }

.tech-top {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.tech-top h2 { margin: 0; }

.tech-logo {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  text-decoration: none; opacity: 0.92; transition: opacity 0.15s;
}
.tech-logo:hover { opacity: 1; }
.tech-word { font-size: 19px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink); }
.tech-word span { color: var(--ink3); font-weight: 400; }

.tech-more { margin-top: 22px; }

@media (max-width: 860px) {
  .tech-top { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* ── Схема потоков ──
   Фотографии приборов брать неоткуда: чужие снимки нельзя, своих пока
   нет. Но снимок серого ящика и не объясняет ничего, а схема
   объясняет главное — почему за один ввод пробы получается то, на что
   обычно нужно три прибора. Рисунок наш, и в этом его отдельная
   ценность: он сделан под наш метод, а не взят из чужого каталога.

   Схема не сжимается до телефона: на 360 px подписи стали бы по шесть
   пикселей. Поэтому на узком экране она прокручивается вбок, как
   таблица, — честнее, чем нечитаемая картинка во всю ширину. */
.flow { margin: 48px 0 0; }
.flow-wrap { position: relative; }
.flow-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* На узком экране схема уезжает вправо. Растушёвка у края и строка
   подсказки говорят об этом прямо: обрезанный рисунок без объяснения
   читается как сломанная вёрстка. */
.flow-hint { display: none; }
.fl { display: block; width: 100%; min-width: 760px; height: auto; }
.fl-box { fill: var(--white); stroke: var(--line); stroke-width: 1; }
.fl-det { fill: var(--blue); }
.fl-p { fill: none; stroke: var(--ink4); stroke-width: 1.2; }
.fl-a { fill: var(--ink4); }
.fl-bf { fill: none; stroke: var(--line); stroke-width: 1.2; stroke-dasharray: 4 4; }
.fl-bfa { fill: var(--line); }
.fl text { font-family: inherit; }
.fl-l { font-size: 13px; font-weight: 500; fill: var(--ink); }
.fl-s { font-size: 11.5px; font-weight: 300; fill: var(--ink3); }
.fl-dl { font-size: 12px; font-weight: 600; fill: #fff; letter-spacing: 0.02em; }
.fl-w { font-size: 12px; font-weight: 300; fill: var(--ink3); }
.fl-cap { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; fill: var(--ink4); }
.flow figcaption {
  margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: var(--ink4);
  font-weight: 300; max-width: 620px;
}
@media (max-width: 860px) {
  .flow { margin-top: 32px; }
  .flow figcaption { font-size: 12px; }
  .flow-wrap::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 44px;
    background: linear-gradient(90deg, rgba(251,251,253,0), var(--off2));
    pointer-events: none;
  }
  .flow-hint {
    display: block; margin-top: 10px;
    font-size: 11px; letter-spacing: 0.04em; color: var(--ink4); font-weight: 400;
  }
}

/* ── «Отпечаток» семейства методов ── */
.fp { display: block; width: 100%; height: 54px; }
.fp-f { fill: rgba(0,85,179,0.07); }
.fp-l { stroke: var(--blue); opacity: 0.85; }
.fp-x { stroke: var(--line); stroke-width: 1; }
.meth-row:hover .fp-l { opacity: 1; }

/* ── Фотополоса ──
   Снимки сделаны с затемнением с одной стороны — текст ложится на
   тёмную часть. Это не приём этой страницы, а правило фирменного
   стиля; здесь оно просто применяется по назначению. */
.band { position: relative; margin: 0; overflow: hidden; border-radius: 20px; }
.band img { display: block; width: 100%; height: 100%; object-fit: cover; }
.band-in {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; gap: 28px;
  padding: 56px clamp(28px, 6vw, 72px);
  max-width: 62%;
}
.band-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.band h3 {
  font-family: Georgia, 'PT Serif', 'Times New Roman', serif;
  font-size: clamp(26px, 3.2vw, 42px); font-weight: 400; line-height: 1.1;
  letter-spacing: -1px; color: #fff;
}
.band p { font-size: 15px; line-height: 1.65; font-weight: 300; color: rgba(255,255,255,0.84); }

/* Крупные числа на снимке. Белое по тёмной части кадра: замерено по
   самой светлой точке зоны — 9,1:1. */
.band-nums { display: flex; gap: clamp(18px, 2.6vw, 40px); flex-wrap: wrap; }
.bn-num {
  font-family: Georgia, 'PT Serif', 'Times New Roman', serif;
  font-size: clamp(30px, 3.6vw, 46px); font-weight: 400; line-height: 1;
  letter-spacing: -1.5px; color: #fff; display: block;
}
.bn-label {
  display: block; margin-top: 8px; font-size: 11.5px; line-height: 1.45;
  color: rgba(255,255,255,0.74); max-width: 128px;
}

@media (max-width: 860px) {
  .band { border-radius: 14px; }
  .band img { height: 420px; }
  .band-in {
    max-width: 100%;
    background: linear-gradient(90deg, rgba(10,22,38,0.92) 0%, rgba(10,22,38,0.78) 60%, rgba(10,22,38,0.58) 100%);
    padding: 32px 22px; gap: 20px;
  }
  .band-nums { gap: 20px; }
  .bn-label { max-width: 110px; }
  .cg-plot { height: 132px; }
  .cg-peak { font-size: 9.5px; }
  .cgwrap { margin-top: 32px; padding-top: 20px; }
}
