

/* Start:/local/templates/main/template_styles.css?1795440658226054*/
/* ===================================================
   B4COM Design System — собрано строго по брендбуку
   (Brandbook_B4Com.pdf, RGB-палитра + фирменная графика)

   Палитра:
     Blue Tec   #3F79DF   главный акцент (CTA, ссылки, выделения)
     Blue       #629DE7
     Light Blue #ABCAEF
     Gray Tec   #DDE7F7
     White      #FFFFFF
     Black      #000000

   Градиенты — только внутри синего спектра:
     gradient-dark:  Blue Tec → Blue
     gradient-light: Light Blue → Gray Tec → White

   Шрифты:
     Wix Madefor Display — заголовки и UI
     Verdana — fallback
     PT Mono — моноширинный

   Фирменная графика:
     скруглённый прямоугольник на основе «O» из логотипа.
     Используется как контейнер карточки, фоновый блок,
     декоративный элемент композиции.
   =================================================== */

/* --- Шрифты --- */
@font-face {
  font-family: 'Wix Madefor Display';
  src: url('/local/templates/main/assets/fonts/WixMadeforDisplay-VariableFont_wght.ttf') format('truetype-variations'),
       url('/local/templates/main/assets/fonts/WixMadeforDisplay-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Mono';
  src: url('/local/templates/main/assets/fonts/PTMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

/* --- Дизайн-токены --- */
:root {
  /* =====================================================================
     ЦВЕТОВАЯ СХЕМА — РУЧКА УПРАВЛЕНИЯ (Фикс-лист 7, более тёмные тона)
     ---------------------------------------------------------------------
     Сейчас активен набор «ТЁМНЫЙ» на базе #4F6DAD (как новый логотип).
     Чтобы переключить — закомментируйте текущий блок и раскомментируйте нужный.
       • ОРИГИНАЛ (откат):  base #3F79DF  → см. набор ORIGINAL ниже
       • МВП (запасной):    base #6085C4  → см. набор MVP ниже
       • ТЁМНЫЙ (активен):  base #4F6DAD
     SVG-иконки/иллюстрации перекрашиваются скриптом recolor-svg.sh
     (в каталоге шаблона: ./recolor-svg.sh dark|mvp|original), он же умеет откатывать.
     ===================================================================== */

  /* ---- НАБОР «ТЁМНЫЙ» (активен), base #4F6DAD (как новый логотип) ---- */
  --b4-blue-tec:   #4F6DAD;
  --b4-blue:       #6E8AC5;
  --b4-light-blue: #ABCAEF;
  --b4-gray-tec:   #DDE7F7;
  --b4-white:      #FFFFFF;
  --b4-black:      #000000;
  --b4-blue-tec-rgb: 79, 109, 173;
  --b4-blue-rgb:     110, 138, 197;
  --b4-gradient-band:  linear-gradient(135deg, #6F8AC6 0%, #45619C 33%, #44609B 63%, #87A0CE 100%);

  /* ---- НАБОР «МВП» (запасной), base #6085C4 — раскомментировать для переключения ----
  --b4-blue-tec:   #6085C4;
  --b4-blue:       #7BA0D4;
  --b4-light-blue: #ABCAEF;
  --b4-gray-tec:   #DDE7F7;
  --b4-white:      #FFFFFF;
  --b4-black:      #000000;
  --b4-blue-tec-rgb: 96, 133, 196;
  --b4-blue-rgb:     123, 160, 212;
  --b4-gradient-band:  linear-gradient(135deg, #88A8D8 0%, #5778BC 33%, #5677BB 63%, #9DB8E0 100%);
  */

  /* ---- НАБОР «ОРИГИНАЛ» (откат), base #3F79DF — раскомментировать для возврата ----
  --b4-blue-tec:   #3F79DF;
  --b4-blue:       #629DE7;
  --b4-light-blue: #ABCAEF;
  --b4-gray-tec:   #DDE7F7;
  --b4-white:      #FFFFFF;
  --b4-black:      #000000;
  --b4-blue-tec-rgb: 63, 121, 223;
  --b4-blue-rgb:     98, 157, 231;
  --b4-gradient-band:  linear-gradient(135deg, #7AACEA 0%, #427BDF 33%, #417CE0 63%, #8CB8ED 100%);
  */

  /* Алиасы для совместимости со старыми селекторами */
  --b4-blue-tech:  var(--b4-blue-tec);
  --b4-gray-tech:  var(--b4-gray-tec);

  /* Градиенты — строго внутри синего спектра */
  --b4-gradient-dark:  linear-gradient(135deg, var(--b4-blue-tec) 0%, var(--b4-blue) 100%);
  --b4-gradient-light: linear-gradient(135deg, var(--b4-light-blue) 0%, var(--b4-gray-tec) 50%, var(--b4-white) 100%);
  --b4-gradient-soft:  linear-gradient(180deg, var(--b4-gray-tec) 0%, var(--b4-white) 100%);
  --b4-gradient-tech:  var(--b4-gradient-soft); /* совместимость */

  /* Семантические алиасы */
  --color-primary:        var(--b4-blue-tec);
  --color-primary-hover:  var(--b4-blue);
  --color-bg:             var(--b4-white);
  --color-bg-soft:        var(--b4-gray-tec);
  --color-text:           var(--b4-black);
  --color-text-muted:     rgba(0, 0, 0, 0.62);
  --color-text-on-blue:   var(--b4-white);
  --color-border:         var(--b4-gray-tec);
  --color-border-strong:  var(--b4-light-blue);

  /* Типографика */
  --font-display: 'Wix Madefor Display', 'Verdana', system-ui, sans-serif;
  --font-text:    'Wix Madefor Display', 'Verdana', system-ui, sans-serif;
  --font-mono:    'PT Mono', ui-monospace, monospace;

  /* Шкала шрифтов — сбалансированная (контейнер ~1600px) */
  --fs-display:  72px;   /* hero h1 */
  --fs-h1:       56px;   /* page-hero */
  --fs-h2:       38px;   /* секционный заголовок */
  --fs-h3:       28px;   /* подзаголовки */
  --fs-h4:       20px;   /* card title */
  --fs-stat:     44px;   /* статистика */
  --fs-button:   20px;   /* текст кнопки */
  --fs-lead:     20px;   /* hero subtitle, body lead */
  --fs-body:     18px;   /* основной текст */
  --fs-caption:  16px;   /* мелкий футер-текст */
  --fs-nav:      18px;   /* nav-ссылки */
  --fs-micro:    14px;

  /* Старые алиасы — оставлены для совместимости с существующей вёрсткой */
  --text-xs:   var(--fs-micro);
  --text-sm:   var(--fs-caption);
  --text-base: var(--fs-body);
  --text-lg:   var(--fs-lead);
  --text-xl:   var(--fs-h4);
  --text-2xl:  var(--fs-h3);
  --text-3xl:  var(--fs-h3);
  --text-4xl:  var(--fs-h2);
  --text-5xl:  var(--fs-h1);
  --text-6xl:  var(--fs-display);

  /* Отступы */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Лейаут — контейнер 1600px, «воздух» по бокам */
  --container-max:   1300px;
  --container-wide:  1600px;
  --container-pad:   clamp(16px, 6vw, 80px);
  --container-pad-h: clamp(16px, 3vw, 40px);
  --header-height:   96px;

  /* Радиусы — фирменная геометрия «O» */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-3xl:  40px;
  --radius-band: 48px;
  --radius-pill: 999px;
  --radius-full: var(--radius-pill); /* совместимость */

  /* Тени — в синем спектре */
  --shadow-sm: 0 2px 8px  rgba(var(--b4-blue-tec-rgb), 0.08);
  --shadow-md: 0 8px 24px rgba(var(--b4-blue-tec-rgb), 0.12);
  --shadow-lg: 0 16px 40px rgba(var(--b4-blue-tec-rgb), 0.18);
  --shadow-xl: 0 24px 60px rgba(var(--b4-blue-tec-rgb), 0.22);

  /* Переходы */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s  ease;
  --transition-slow: 0.5s  ease;
}

/* --- Bitrix admin panel --- */
#panel    { position: relative; z-index: 10000; }
#bx-panel { z-index: 10000 !important; }

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-width: 320px;
}
html { overflow-x: hidden; }

img, svg { display: block; max-width: 100%; height: auto; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-primary-hover); }

ul, ol { list-style: none; }

/* --- Типографика — figma weights: 500 для всего (Wix Madefor Display Medium) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-text);
  letter-spacing: 0;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-lead); }
h6 { font-size: var(--fs-body); }

p { margin-bottom: var(--space-4); }

/* Утилиты типографики */
.t-display { font-size: var(--fs-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--font-display); }
.t-h1      { font-size: var(--fs-h1);      font-weight: 700; line-height: 1.1;  font-family: var(--font-display); }
.t-h2      { font-size: var(--fs-h2);      font-weight: 700; line-height: 1.15; font-family: var(--font-display); }
.t-h3      { font-size: var(--fs-h3);      font-weight: 600; line-height: 1.2;  font-family: var(--font-display); }
.t-lead    { font-size: var(--fs-lead);    font-weight: 400; line-height: 1.55; }
.t-body    { font-size: var(--fs-body);    font-weight: 400; line-height: 1.65; }
.t-caption { font-size: var(--fs-caption); font-weight: 500; line-height: 1.45; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-text-muted); }
.t-mono    { font-family: var(--font-mono); }

.text-accent  { color: var(--color-primary); }
.text-muted   { color: var(--color-text-muted); }
.text-on-blue { color: var(--color-text-on-blue); }

/* --- Лейаут --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.container--wide { max-width: var(--container-wide); }

/* Контейнер для full-width плашек (hero, products band, contacts band, news-feature
   первой карточки): меньший боковой отступ (figma: hero x=0..1920 = край-в-край,
   но мы оставляем минимальный padding на узких viewport) */
.container--bleed {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad-h);
}

.section { padding: var(--space-10) 0; position: relative; }
.section--sm  { padding: var(--space-6) 0; }
.section--lg  { padding: var(--space-12) 0; }
.section--flush { padding: 0; }

/* Совместимость со старыми именами */
.section--soft  { background: transparent; }
.section--alt   { background: transparent; }
.section--light { background: var(--b4-gradient-light); }
.section--blue  { background: var(--b4-gradient-band); color: var(--color-text-on-blue); border-radius: var(--radius-band); }

.section--blue h1, .section--blue h2, .section--blue h3, .section--blue h4 { color: var(--color-text-on-blue); }
.section--blue .section__subtitle { color: rgba(255, 255, 255, 0.88); }

/* ===================================================
   Section-band — фирменная скруглённая «капсула»
   из Figma: градиент 141deg + r=69px + белый текст
   =================================================== */
.section-band {
  position: relative;
  background: var(--b4-gradient-band);
  color: var(--color-text-on-blue);
  border-radius: var(--radius-band);
  padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 48px);
  overflow: hidden;
  isolation: isolate;
}
.section-band--center { text-align: center; }
.section-band--tight  { padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px); }

/* Декоративные «пятна»-эллипсы по фону капсулы */
.section-band::before,
.section-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.section-band::before {
  width: 60%;
  aspect-ratio: 1.4 / 1;
  top: -25%;
  right: -10%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.22), transparent 70%);
}
.section-band::after {
  width: 50%;
  aspect-ratio: 1.4 / 1;
  bottom: -30%;
  left: -10%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.16), transparent 70%);
}
.section-band > * { position: relative; z-index: 1; }

.section-band h1, .section-band h2, .section-band h3, .section-band h4,
.section-band .section__title,
.section-band .section-band__title { color: var(--color-text-on-blue); }
.section-band .section__subtitle,
.section-band .section-band__subtitle { color: rgba(255, 255, 255, 0.88); }
.section-band .section__eyebrow { color: rgba(255, 255, 255, 0.85); }

.section-band__inner { max-width: 980px; }
.section-band--center .section-band__inner { margin: 0 auto; }

.section-band__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: 0;
  margin-bottom: 24px;
}
.section-band__subtitle {
  font-size: var(--fs-lead);
  line-height: 1.4;
  max-width: 720px;
  font-weight: 400;
}
.section-band--center .section-band__subtitle { margin-left: auto; margin-right: auto; }

/* Белая «карточка-капсула» (для блоков О компании, миссия и т.п.) */
.section-band--white {
  background: var(--b4-white);
  color: var(--color-text);
  border: none;
}
.section-band--white::before,
.section-band--white::after { display: none; }
.section-band--white h1, .section-band--white h2, .section-band--white h3, .section-band--white h4 { color: var(--color-text); }
.section-band--white .section-band__title { color: var(--b4-blue-tec); }
.section-band--white .section-band__subtitle { color: var(--color-text-muted); }

.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.section__title    { margin-bottom: var(--space-4); }
.section__subtitle {
  font-size: var(--fs-lead);
  color: var(--color-text-muted);
  line-height: 1.55;
}
.section--blue .section__eyebrow { color: var(--b4-light-blue); }

/* Grid */
.grid { display: grid; gap: var(--space-8); align-items: stretch; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Центровка при малом количестве элементов в grid--3 */
.grid--center-2 {
  max-width: 66.6667%;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--center-1 {
  max-width: 33.3333%;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: minmax(0, 1fr);
}

/* ===================================================
   Кнопки — pill-shape, font-display
   Унифицированная типографика: размер 16-18px, высота 56px
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  height: clamp(48px, 4.2vw, 56px);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 500;
  line-height: 1.2;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0;
  max-width: 100%;
}
.btn--primary {
  background: var(--b4-blue-tec);
  color: var(--b4-white);
  border-color: var(--b4-blue-tec);
}
.btn--primary:hover {
  background: var(--b4-blue);
  border-color: var(--b4-blue);
  color: var(--b4-white);
}
.btn--outline {
  background: transparent;
  color: var(--b4-blue-tec);
  border-color: var(--b4-blue-tec);
}
.btn--outline:hover {
  background: var(--b4-blue-tec);
  color: var(--b4-white);
}
.btn--white {
  background: var(--b4-white);
  color: var(--b4-blue-tec);
  border-color: var(--b4-white);
}
.btn--white:hover {
  background: transparent;
  color: var(--b4-white);
  border-color: var(--b4-white);
}
.btn--ghost {
  background: transparent;
  color: var(--b4-white);
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover {
  background: var(--b4-white);
  color: var(--b4-blue-tec);
  border-color: var(--b4-white);
}
.btn--lg {
  height: clamp(54px, 5vw, 64px);
  padding: 0 36px;
  font-size: clamp(16px, 1.2vw, 19px);
}
.btn--sm {
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

/* ===================================================
   Карточки (figma — белые с тонкой обводкой + мягкая тень)
   =================================================== */
.card {
  position: relative;
  background: var(--b4-white);
  border-radius: var(--radius-3xl);
  padding: var(--space-8);
  transition: transform var(--transition-base), border-color var(--transition-base);
  border: 1px solid var(--b4-gray-tec);
  overflow: hidden;
  isolation: isolate;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--b4-light-blue);
}
/* Карточки внутри section-band — без обводки и теней (figma) */
.section-band .card,
.section-band .product-card,
.section-band .solution-card,
.section-band .news-card,
.section-band .partner,
.section-band .advantage,
.section-band .value-card,
.section--blue .card {
  border: none;
  box-shadow: none;
}
.card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--b4-gray-tec);
  color: var(--b4-blue-tec);
  overflow: hidden;
}
.card__icon img,
.card__icon svg {
  width: 60%;
  height: 60%;
  object-fit: contain;
}
.card__icon--cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
  line-height: 1.25;
}
.card__text {
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: 1.6;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--b4-blue-tec);
  font-size: var(--fs-body);
}
.card__link svg { transition: transform var(--transition-base); }
.card:hover .card__link svg,
.card__link:hover svg { transform: translateX(4px); }

a.card { color: inherit; text-decoration: none; display: block; }

/* Карточка с фирменным фоном (для вариантов «hero card») */
.card--blue {
  background: var(--b4-gradient-dark);
  color: var(--b4-white);
  border-color: transparent;
}
.card--blue .card__title,
.card--blue .card__text,
.card--blue .card__link { color: var(--b4-white); }
.card--blue .card__icon { background: rgba(255,255,255,0.16); color: var(--b4-white); }
.card--blue::before { display: none; }

/* ===================================================
   Header — sticky сверху, плавный fade в белый при скролле
   =================================================== */
.header {
  /* Жёсткое закрепление шапки к верху (требование гендира).
     --bx-panel-height = реальная высота админ-панели Битрикса (JS), 0 если её нет. */
  position: fixed;
  top: var(--bx-panel-height, 0px);
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 0 rgba(15, 39, 90, 0);
  z-index: 100;
  transition: top 0.15s ease, box-shadow 0.25s ease;
}
.header.scrolled {
  box-shadow: 0 4px 16px rgba(15, 39, 90, 0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  gap: 32px;
}
.header__logo { display: flex; align-items: center; flex-shrink: 0; }
.header__logo img { height: clamp(38px, 3vw, 48px); width: auto; transition: opacity var(--transition-base); }
.header__logo .logo-on-blue  { display: none; }
.header__logo .logo-on-white { display: block; }

.nav--desktop {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  justify-content: center;
}
.nav--desktop .nav__link {
  padding: 8px 10px;
  font-family: var(--font-display);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 500;
  color: #000000;
  border-radius: var(--radius-lg);
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}
.nav--desktop .nav__link:hover,
.nav--desktop .nav__link--active {
  color: #103E69;
  background: var(--b4-gray-tec);
}
.header__cta { flex-shrink: 0; }
.header__cta .btn {
  height: 52px;
  padding: 0 22px;
  font-size: clamp(14px, 1vw, 16px);
  border-radius: var(--radius-lg);
  min-width: 180px;
  background: var(--b4-blue-tec);
  color: var(--b4-white);
  border-color: var(--b4-blue-tec);
}
.header__cta .btn:hover {
  background: var(--b4-blue);
  border-color: var(--b4-blue);
  color: var(--b4-white);
}
.burger__line {
  background: var(--b4-blue-tec);
  height: 2px;
  border-radius: 0;
}

/* Мобильная навигация — figma-стиль (крупные pill-плашки на белом) */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--b4-white);
  z-index: 10001;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  padding: 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px 24px;
  flex-shrink: 0;
}
.mobile-nav__logo img { height: 56px; width: auto; }
.mobile-nav__close {
  background: transparent;
  border: 1px solid var(--b4-light-blue);
  cursor: pointer;
  width: 56px;
  height: 56px;
  color: var(--b4-blue-tec);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.mobile-nav__close:hover { background: var(--b4-gray-tec); }
.mobile-nav__links {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav__link {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  font-family: var(--font-display);
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 500;
  color: var(--b4-white);
  background: var(--b4-gradient-band);
  border: none;
  border-radius: 22px;
  transition: opacity var(--transition-fast);
}
.mobile-nav__link:hover { opacity: 0.92; color: var(--b4-white); }
.mobile-nav__link--active { opacity: 0.95; color: var(--b4-white); }
.mobile-nav__footer {
  padding: 16px 4px 8px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.mobile-nav__footer .btn {
  background: transparent;
  color: var(--b4-blue-tec);
  border: 1px solid var(--b4-blue-tec);
  height: 60px;
  border-radius: 20px;
  width: 100%;
  font-size: 18px;
}
.mobile-nav__footer .btn:hover {
  background: var(--b4-blue-tec);
  color: var(--b4-white);
}
.mobile-nav__phone {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--color-text);
  text-align: center;
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px; height: 32px;
  background: none; border: none;
  cursor: pointer;
  padding: 4px 0;
}
.burger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--b4-blue-tec);
  border-radius: 0;
  margin: 0 auto;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.burger.active .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active .burger__line:nth-child(2) { opacity: 0; }
.burger.active .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================
   Hero — фирменная капсула с градиентом, под header
   figma: 1920x750 r=69, текст center
   =================================================== */
.hero {
  position: relative;
  padding: 0 0 24px;
  width: 100%;
}
/* Hero полной ширины — фон растягивается edge-to-edge,
   контент сидит внутри стандартного container'а */
.hero--full .hero__band {
  width: 100%;
  border-radius: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.hero__band {
  position: relative;
  background: linear-gradient(180deg, #E8EDFA 0%, #DCE5F6 100%);
  color: var(--b4-blue-tec);
  border-radius: var(--radius-band);
  padding: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 56px) !important;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(340px, 30vw, 480px) !important;
  height: auto !important;
  display: flex;
  align-items: center;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
/* Серверная как фон на ::after — заканчивается у правого края контейнера,
   градиент-фон продолжается до края viewport'а. Формула right совпадает с
   правым краем .container (max-width: 1600px + var(--container-pad)). */
.hero__band::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38%;
  right: max(var(--container-pad), calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
  background: url('/local/templates/main/assets/images/hero-server.jpg') no-repeat right center / cover;
  z-index: 0;
  pointer-events: none;
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px !important;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 46px) !important;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--b4-blue-tec);
  margin: 0;
  max-width: 100%;
}
.hero__title span,
.hero__title em {
  color: var(--b4-blue-tec);
  font-style: normal;
}
.hero__subtitle {
  font-size: clamp(14px, 1vw, 16px);
  color: var(--b4-black) !important;
  line-height: 1.45;
  margin: 0;
  max-width: 480px;
  font-weight: 400;
}
.hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 8px;
}
.hero__actions .btn {
  min-width: clamp(180px, 22vw, 320px);
  width: auto;
  max-width: 100%;
}
.hero__actions .btn--primary {
  background: var(--b4-blue-tec);
  color: var(--b4-white);
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(var(--b4-blue-tec-rgb), 0.32);
}
.hero__actions .btn--primary:hover {
  background: var(--b4-blue);
  color: var(--b4-white);
  border-color: transparent;
}
@media (max-width: 767px) {
  .hero__band::after { display: none; }
  .hero__band { min-height: 280px; }
  .hero__content { max-width: 100% !important; gap: 18px; }
  .hero__actions { justify-content: flex-start; }
  .hero__actions .btn { width: 100%; min-width: 0; }
}

/* ===================================================
   Page hero — страничный заголовок-капсула (figma)
   =================================================== */
.page-hero {
  padding: clamp(12px, 1.5vw, 24px) 0 0;
}
/* Обычный горизонтальный отступ контента (а не bleed) */
.page-hero .container--bleed {
  padding: 0 var(--container-pad);
}
.page-hero__band {
  position: relative;
  background: transparent;
  color: var(--color-text);
  border-radius: 0;
  padding: 0;
  overflow: visible;
  isolation: auto;
  text-align: left;
  height: auto;
  min-height: 0;
  display: block;
  margin-bottom: clamp(24px, 2.5vw, 40px);
}
.page-hero__band::before,
.page-hero__band::after { content: none; }

/* Фирменные узоры — ТОЧНО как на Продуктах (.rd-catalog__uzory): крупный центрированный
   кластер, спан по всей секции, opacity .8, клип секцией (overflow:hidden). Один <img
   class="b4-uzory"> на секцию; контент секции — поверх (z-index 1). */
.b4-uzory { position: absolute; left: 50%; top: 0; width: min(1600px, 100%);
  transform: translateX(-50%); z-index: 0; pointer-events: none; opacity: .4; }
.home-about-v2, .home-products, .home-why, .home-news { position: relative; overflow: hidden; }
.home-about-v2 > .container, .home-products > .container,
.home-why > .container, .home-news > .container { position: relative; z-index: 1; }
/* Внутренние страницы — тот же центрированный спан-узор в зоне hero+первой секции */
.page-hero { position: relative; overflow: visible; }
.page-hero::before {
  content: ""; position: absolute; left: 50%; top: -20px; width: min(1600px, 108%); height: 640px;
  transform: translateX(-50%); z-index: -1; pointer-events: none; opacity: .4;
  background: url(/local/templates/main/assets/redesign/img/uzory-pattern.svg) no-repeat center top / contain;
}
.page-hero__band, .page-hero__inner { position: relative; z-index: 1; }
@media (max-width: 900px) { .b4-uzory, .page-hero::before { display: none; } }
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0;
  text-align: left;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--color-primary);
  margin: 0 0 6px;
  max-width: 100%;
  word-wrap: break-word;
  hyphens: manual;
}
.page-hero__subtitle {
  font-size: clamp(14px, 1vw, 16px);
  color: var(--color-text-muted);
  max-width: 100%;
  margin: 0;
  line-height: 1.4;
  font-weight: 400;
}

/* ===================================================
   О компании (главная) — статистика
   =================================================== */
.about-brief {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-brief__text h2 { margin-bottom: var(--space-5); }
.about-brief__text p {
  color: var(--color-text-muted);
  font-size: var(--fs-lead);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}
.stat {
  text-align: center;
  padding: 0;
  background: transparent;
  color: var(--b4-white);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.stat__number {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  font-weight: 500;
  color: var(--b4-white);
  line-height: 1;
}
.stat__label {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  font-weight: 500;
  color: var(--b4-white);
  line-height: 1;
}
/* Внутри about-brief статистики идут как 2x2 (figma) */
.about-brief__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

/* ===================================================
   /contacts/ — figma: одна синяя капсула,
   слева заголовок «Оставить заявку» + форма,
   справа subtitle + контакт-плашка с иконками
   =================================================== */
.contacts-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.contacts-page__form-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--b4-white);
  margin: 0 0 12px;
}
/* Уменьшенная капсула для /contacts/ */
.section-band.contacts-page {
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 36px);
  border-radius: clamp(28px, 3.5vw, 48px);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.contacts-page__form {
  display: flex;
  flex-direction: column;
}
.contacts-page__form .b4-form,
.contacts-page__form .b4-form__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.contacts-page__form .b4-form__body > .b4-form__submit { margin-top: auto; }
.contacts-page__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contacts-page__info { flex: 1 1 auto; display: flex; }
.contacts-page .contacts-page__info > .contact-info {
  flex: 1 1 auto;
  justify-content: space-evenly;
}
.contacts-page__subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 18px);
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 460px;
}
#form {
  scroll-margin-top: calc(var(--header-height, 80px) + 16px);
}
@media (min-width: 1100px) {
  .contacts-page__grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
  }
}
@media (max-width: 1099px) {
  /* На узких viewport — форма всегда сверху (она основной CTA при якорном переходе) */
  .contacts-page__grid > .contacts-page__form  { order: 1; }
  .contacts-page__grid > .contacts-page__aside { order: 2; }
}

/* Карта на странице контактов */
.contacts-map {
  border-radius: clamp(20px, 2vw, 40px);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 39, 90, 0.10);
  background: var(--b4-gray-tec);
}
.contacts-map iframe {
  width: 100%;
  height: clamp(360px, 50vw, 560px);
  border: 0;
  display: block;
}

/* ===================================================
   /training/ — Учебный центр
   =================================================== */
.training-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: stretch;
}
.training-intro__visual {
  border-radius: clamp(16px, 1.6vw, 24px);
  overflow: hidden;
}
.training-intro__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 340px;
}
.training-intro__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}
.training-intro__lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.4;
  color: var(--color-text);
  margin: 0;
}
.training-intro__label {
  font-size: clamp(14px, 1.05vw, 16px);
  color: var(--color-text-muted);
  margin: 0;
}
.training-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.training-points__item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.training-points__num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--b4-blue-tec);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.training-points__text {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.45;
  color: var(--color-text);
}
.training-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.training-intro__actions .btn {
  flex: 0 0 auto;
}

/* Блок 2 — приближенное к эксплуатации: заголовок слева, список + фото */
.training-lab__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.15;
  color: var(--b4-blue-tec);
  margin: 0 0 clamp(24px, 3vw, 40px);
  text-align: left;
}
.training-lab__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.training-lab__list {
  list-style: disc;
  padding-left: 22px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.training-lab__list li {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.5;
  color: var(--color-text);
}
.training-lab__media {
  border-radius: clamp(16px, 1.6vw, 24px);
  overflow: hidden;
}
.training-lab__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 3 / 2;
}

/* Заголовки секций «направления» и «почему» — слева */
.training-directions__head,
.training-why__head {
  text-align: left;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.training-directions__head .section__title,
.training-why__head .section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 40px);
  color: var(--b4-blue-tec);
  margin: 0;
}

/* Блок 3 — Ключевые направления (серая секция, карточки) */
.training-directions-section {
  background: var(--b4-gray-tec);
}
.training-directions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
}
.training-direction {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.4vw, 36px) clamp(20px, 2vw, 32px);
  box-shadow: 0 6px 24px rgba(16, 62, 105, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.training-direction__icon {
  width: 64px;
  height: 64px;
  color: #9aa6b6;
  margin-bottom: 16px;
}
.training-direction__icon svg { width: 100%; height: 100%; display: block; }
.training-direction__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--b4-blue-tec);
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.2;
}
.training-direction__divider {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: 0 0 18px;
}
.training-direction__list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  align-self: stretch;
}
.training-direction__list li {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.7;
  color: var(--color-text);
}

/* Блок 4 — Почему выбирают (карточки с иконками) */
.training-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
  align-items: stretch;
}
.training-why__card {
  background: #F6F8FC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.2vw, 32px) clamp(18px, 1.8vw, 26px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-base);
}
.training-why__card:hover { transform: translateY(-3px); }
.training-why__icon {
  width: 56px;
  height: 56px;
  color: #9aa6b6;
  margin-bottom: 16px;
}
.training-why__icon svg { width: 100%; height: 100%; display: block; }
.training-why__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--b4-blue-tec);
  margin: 0 0 14px;
  line-height: 1.2;
}
.training-why__divider {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: 0 0 14px;
}
.training-why__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 1024px) {
  .training-intro__grid { grid-template-columns: 1fr; gap: 32px; }
  .training-intro__visual { order: -1; }
  .training-intro__visual img { min-height: 0; aspect-ratio: 16 / 10; }
  .training-lab__grid { grid-template-columns: 1fr; }
  .training-directions { grid-template-columns: 1fr; gap: 20px; }
  .training-why { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .training-intro__actions .btn { flex: 1 1 100%; }
  .training-why { grid-template-columns: 1fr; }
}

/* ===================================================
   /about/ Миссия+Цель+Статы — одна синяя капсула (figma)
   =================================================== */
.about-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 80px);
  margin-bottom: 32px;
}
.about-band__col { display: flex; flex-direction: column; gap: 12px; }
.about-band__eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--b4-white);
  margin: 0;
}
.about-band__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}
.about-band__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.30);
}
.about-band__stats .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-align: left;
}
.about-band__stats .stat__number {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 56px);
  color: var(--b4-white);
  line-height: 1;
  white-space: nowrap;
}
.about-band__stats .stat__label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(13px, 1vw, 16px);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
}
@media (max-width: 768px) {
  .about-band__grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 20px; }
  .about-band__stats { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 12px; }
}

/* ===================================================
   /about/ Hero-фото и блок «Описание + статы» (по макету)
   =================================================== */
.about-hero-photo {
  border-radius: clamp(20px, 2vw, 40px);
  overflow: hidden;
  line-height: 0;
}
.about-hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
@media (max-width: 768px) {
  .about-hero-photo img { aspect-ratio: 16 / 9; }
}

.about-intro {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 56px);
  padding: 0;
}
.about-intro__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
  color: var(--color-text);
  margin: 0;
  max-width: 1280px;
}
.about-intro__stats {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 56px);
}
.about-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* Подпись центрируется относительно ширины числа (фикс лист 3, п.2.1) */
  align-items: center;
  text-align: center;
}
.about-stat__number {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 80px);
  color: var(--b4-blue-tec);
  line-height: 1;
  white-space: nowrap;
}
.about-stat__label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 20px);
  color: var(--b4-blue-tec);
  line-height: 1.2;
}
@media (max-width: 768px) {
  .about-intro__stats { gap: 20px; }
  .about-intro__stats .about-stat { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 480px) {
  .about-intro__stats { gap: 16px; }
  .about-intro__stats .about-stat { flex: 0 0 100%; }
}

/* ===================================================
   /about/ История — синяя капсула, 4 в ряд + 1 центр
   с горизонтальной линией-таймлайном
   =================================================== */
.history-band__head { margin-bottom: 32px; }
.history-band__head .section-band__title {
  color: var(--b4-white);
  font-size: clamp(24px, 2.4vw, 32px);
  margin-bottom: 8px;
}
.history-band__head .section-band__subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
/* ============================================================
   ИСТОРИЯ КОМПАНИИ — таймлайн
   Базовые стили = мобильная раскладка (вертикальный список).
   Десктоп — отдельный блок ниже, через flex, без grid.
   ============================================================ */
.history-timeline {
  margin: 0;
  position: relative;
  --history-node-size: 14px;
  --history-stem-len: 36px;
  --history-row-offset: 28px;
  --history-detach: 8px; /* зазор между текстом и квадратиком */
  --history-row-gap: clamp(16px, 2vw, 32px); /* зазор между шагами верхнего ряда */
  --history-line: 1px solid rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
  padding: 0 0 0 calc(var(--history-node-size) + var(--history-row-offset));
}
.history-timeline__top,
.history-timeline__bottom {
  display: contents;
}
.history-timeline::before {
  content: '';
  position: absolute;
  left: calc(var(--history-node-size) / 2);
  top: var(--history-line-top, 14px);
  bottom: var(--history-line-bottom, 14px);
  border-left: var(--history-line);
}
.history-step {
  position: relative;
  color: var(--b4-white);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.history-step__year {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--b4-white);
  margin: 0 0 8px;
  line-height: 1.1;
}
.history-step__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--b4-white);
  margin: 0 0 10px;
  line-height: 1.25;
}
.history-step__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(12px, 0.9vw, 14px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 100%;
}
/* Квадратик — примыкает к левому краю блока текста (мобилка) */
.history-step::after {
  content: '';
  position: absolute;
  left: calc(-1 * var(--history-node-size));
  top: calc(14px - var(--history-node-size) / 2);
  width: var(--history-node-size);
  height: var(--history-node-size);
  background: var(--b4-white);
  border-radius: 3px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}
/* Веточка — от вертикальной линии до квадратика (мобилка) */
.history-step::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--history-row-offset) - var(--history-node-size) / 2);
  top: 14px;
  width: calc(var(--history-row-offset) - var(--history-node-size) / 2);
  height: 0;
  border-top: var(--history-line);
}

/* === Десктоп: «вилка» — 4 сверху, 5-й снизу по центру === */
@media (min-width: 1025px) {
  .history-timeline {
    display: block;
    padding: 8px 0 0;
    gap: 0;
  }
  /* Скрываем мобильную вертикальную линию */
  .history-timeline::before { content: none; display: none; }

  /* Верхний ряд — 4 шага в линию + горизонтальная линия снизу */
  .history-timeline__top {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch; /* все шаги одной высоты — квадратики на одной линии */
    gap: var(--history-row-gap);
    position: relative;
    padding-bottom: calc(var(--history-stem-len) + var(--history-node-size) + var(--history-detach));
  }
  .history-timeline__top > .history-step {
    flex: 1 1 0;
    min-width: 0;
    padding-bottom: 0;
    padding-top: 0;
    justify-content: flex-start; /* текст прижат к верху; низ шага = низ ряда */
  }
  /* Каждый шаг верхнего ряда: квадратик с зазором от текста, штырь от квадратика до линии */
  .history-timeline__top > .history-step::after {
    left: 50%;
    top: auto;
    bottom: calc(-1 * var(--history-node-size) - var(--history-detach));
    transform: translateX(-50%);
  }
  .history-timeline__top > .history-step::before {
    left: 50%;
    top: auto;
    bottom: calc(-1 * var(--history-stem-len) - var(--history-node-size) - var(--history-detach));
    transform: translateX(-50%);
    width: 0;
    height: var(--history-stem-len);
    border-top: none;
    border-left: var(--history-line);
  }
  /* Горизонтальная линия — на низу __top, точно от центра первого до центра последнего шага.
     С 4 равными шагами и 3-мя gap-ами: центр первого/последнего = (100% - 3*gap) / 8 от края. */
  .history-timeline__top::after {
    content: '';
    position: absolute;
    left: calc((100% - 3 * var(--history-row-gap)) / 8);
    right: calc((100% - 3 * var(--history-row-gap)) / 8);
    bottom: 0;
    height: 0;
    border-top: var(--history-line);
    pointer-events: none;
  }

  /* Нижний ряд — один центральный шаг с квадратиком и штрихом СВЕРХУ */
  .history-timeline__bottom {
    display: flex;
    justify-content: center;
    padding-top: calc(var(--history-stem-len) + var(--history-node-size) + var(--history-detach));
  }
  .history-timeline__bottom > .history-step {
    max-width: 320px;
  }
  /* Квадратик с зазором от верха текста, штырь от линии до квадратика */
  .history-timeline__bottom > .history-step::after {
    left: 50%;
    top: calc(-1 * var(--history-node-size) - var(--history-detach));
    bottom: auto;
    transform: translateX(-50%);
  }
  .history-timeline__bottom > .history-step::before {
    left: 50%;
    top: calc(-1 * var(--history-stem-len) - var(--history-node-size) - var(--history-detach));
    bottom: auto;
    transform: translateX(-50%);
    width: 0;
    height: var(--history-stem-len);
    border-top: none;
    border-left: var(--history-line);
  }
}

/* GLightbox: кнопка скачивания внутри описания */
.glightbox-container .gdesc-inner {
  text-align: center;
}
.glightbox-container .lightbox-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--b4-blue-tec);
  color: var(--b4-white);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition-base), transform var(--transition-base);
}
.glightbox-container .lightbox-download::before {
  content: '⬇';
  font-size: 16px;
  line-height: 1;
}
.glightbox-container .lightbox-download:hover {
  background: var(--b4-blue);
  transform: translateY(-1px);
}

/* Сертификаты и лицензии */
.certificates {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: clamp(20px, 2vw, 32px);
}
.certificates-section {
  border-radius: clamp(16px, 1.4vw, 24px);
  background: var(--b4-white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.certificates-section__head {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(14px, 1.4vw, 20px) clamp(16px, 1.6vw, 24px);
  background: var(--b4-gradient-band);
  color: var(--b4-white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(15px, 1.1vw, 18px);
  user-select: none;
}
.certificates-section__head::-webkit-details-marker {
  display: none;
}
.certificates-section__toggle {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
}
.certificates-section__toggle::before,
.certificates-section__toggle::after {
  content: '';
  position: absolute;
  background: var(--b4-white);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.certificates-section__toggle::before {
  width: 14px;
  height: 2px;
}
.certificates-section__toggle::after {
  width: 2px;
  height: 14px;
}
.certificates-section[open] .certificates-section__toggle::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}
.certificates-section__title {
  flex: 1;
}
.certificates-section__body {
  padding: clamp(16px, 1.6vw, 24px);
}
.certificates-section__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 20px);
}
.certificate-tile {
  display: block;
  aspect-ratio: 3 / 4;
  background: var(--b4-white);
  border: 1px solid rgba(var(--b4-blue-tec-rgb), 0.16);
  border-radius: clamp(10px, 1vw, 16px);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.certificate-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.certificate-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--b4-white);
  padding: 8px;
}

@media (max-width: 1024px) {
  .certificates-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .certificates-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .certificates-section__grid { grid-template-columns: 1fr; }
}

/* About CTA */
.about-cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.about-cta__actions .btn {
  background: rgba(255, 255, 255, 0.18);
  color: var(--b4-white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  width: auto;
  min-width: 220px;
  height: 56px;
  padding: 0 28px;
  border-radius: 18px;
  white-space: nowrap;
}
.about-cta__actions .btn:hover {
  background: var(--b4-white);
  color: var(--b4-blue-tec);
  border-color: var(--b4-white);
}
@media (max-width: 768px) {
  .about-cta__actions .btn { width: 100%; min-width: 0; }
}

/* ===================================================
   /support/ — табы + светлая плашка + таблица услуг
   =================================================== */
.support-page { padding-top: 0; }

.support-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
  margin: 0 0 clamp(28px, 3vw, 48px);
  align-items: stretch;
}
.support-tabs__tab {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.3;
  color: var(--b4-blue-tec);
  background: transparent;
  border: 0;
  padding: 10px 6px 12px;
  cursor: pointer;
  text-align: center;
  position: relative;
  opacity: 0.55;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.support-tabs__tab:hover { opacity: 0.85; }
.support-tabs__tab.is-active {
  opacity: 1;
  font-weight: 700;
}
.support-tabs__tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: auto;
  height: 3px;
  background: #103E69;
  border-radius: 2px;
}

.support-panel { display: none; }
.support-panel.is-active { display: block; }

.support-plate {
  padding: clamp(12px, 1.4vw, 20px) 0;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}
.support-plate--center { text-align: center; }
.support-plate p { margin: 0 0 14px; }
.support-plate p:last-child { margin-bottom: 0; }
.support-plate a {
  color: var(--b4-blue-tec);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.support-plate a:hover { color: var(--b4-blue); }
/* Уровни обслуживания — карточки по образцу блока контактов поддержки */
.support-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
  margin: 0 0 20px;
}
.support-level {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--b4-blue-tec);
  border: 1px solid var(--b4-blue-tec);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  min-height: 64px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--b4-white);
}
.support-plate__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--b4-blue-tec);
  margin: 0 0 20px;
  line-height: 1.2;
}
.support-plate__divider {
  height: 1px;
  background: rgba(66, 123, 223, 0.22);
  margin: clamp(24px, 3vw, 40px) auto;
  max-width: 760px;
}
.support-plate__text { text-align: left; }
.support-plate--center .support-plate__text {
  max-width: 760px;
  margin: 0 auto;
}
.support-plate__list {
  list-style: disc;
  padding-left: 22px;
  margin: 12px 0;
  text-align: left;
}
.support-plate__list li { padding: 4px 0; line-height: 1.5; }
.support-plate__cta {
  display: flex;
  justify-content: center;
  margin: clamp(20px, 2.5vw, 36px) 0;
}
.support-plate__cta .btn {
  background: var(--b4-blue-tec);
  border-color: var(--b4-blue-tec);
  color: var(--b4-white);
  text-decoration: none;
}
.support-plate__cta .btn:hover {
  background: var(--b4-blue);
  border-color: var(--b4-blue);
  color: var(--b4-white);
}
.support-plate__address {
  margin-top: clamp(20px, 2.5vw, 32px);
  font-size: 14px;
  line-height: 1.55;
}
.support-plate__address-note {
  display: inline-block;
  font-style: italic;
  opacity: 0.85;
}

.support-contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}
.support-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--b4-blue-tec);
  border: 1px solid var(--b4-blue-tec);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-decoration: none !important;
  min-height: 72px;
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.support-contact-item:hover {
  background: var(--b4-blue);
  border-color: var(--b4-blue);
  transform: translateY(-2px);
}
.support-contact-item__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  text-transform: none;
  letter-spacing: 0;
}
.support-contact-item__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--b4-white);
  text-align: center;
  word-break: break-word;
}

.support-section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--b4-blue-tec);
  text-align: center;
  margin: clamp(24px, 3vw, 40px) 0 clamp(16px, 2vw, 24px);
}

.support-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--b4-light-blue);
  background: var(--b4-white);
}
.support-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--color-text);
  min-width: 720px;
}
.support-table thead th {
  background: var(--b4-blue-tec);
  color: var(--b4-white);
  font-family: var(--font-display);
  font-weight: 500;
  padding: 12px 14px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.18);
  font-size: 14px;
}
.support-table thead th:last-child { border-right: none; }
.support-table thead tr:first-child th:first-child { border-top-left-radius: var(--radius-md); }
.support-table thead tr:first-child th:last-child  { border-top-right-radius: var(--radius-md); }
.support-table tbody td {
  padding: 12px 14px;
  border-top: 1px solid rgba(66, 123, 223, 0.18);
  border-right: 1px solid rgba(66, 123, 223, 0.18);
  vertical-align: middle;
  background: transparent;
}
.support-table tbody td:last-child { border-right: none; }
.support-table tbody td:first-child { text-align: left; line-height: 1.45; }
.support-table tbody td:not(:first-child) { text-align: center; width: 18%; }
/* Вертикальные линии в шапке между уровнями обслуживания + горизонтальная линия
   между "Уровень обслуживания" и "Базовый/Стандартный/Расширенный" */
.support-table thead tr:nth-child(2) th {
  border-right: 1px solid rgba(255,255,255,0.32);
  border-top: 1px solid rgba(255,255,255,0.32);
}
.support-table thead tr:nth-child(2) th:last-child { border-right: none; }
/* Та же горизонтальная линия должна проходить и под колонкой "Услуги..." (rowspan=2),
   для этого ставим bottom-border на саму ячейку — она проходит ровно посередине шапки. */
.support-table__service {
  text-align: left !important;
  width: 46%;
  border-bottom: 1px solid rgba(255,255,255,0.32);
}
.support-table tbody td.is-yes::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23427BDF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  vertical-align: middle;
}
.support-table tbody td:not(:first-child):not(.is-yes)::before {
  content: '—';
  display: inline-block;
  color: rgba(66, 123, 223, 0.35);
  font-size: 18px;
  vertical-align: middle;
}

.support-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 32px);
  margin-top: clamp(20px, 2.5vw, 32px);
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.support-notes a {
  color: var(--b4-blue-tec);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.support-notes a:hover { color: var(--b4-blue); }

/* Абзац про индивидуальный пакет — врезка под таблицей и правилами.
   Выделен, чтобы не сливаться с примечаниями: акцентная полоса + подложка,
   текст по левому краю, чёрный, на 1px крупнее. Фикс-лист 5, п.2. */
.support-individual {
  margin-top: clamp(16px, 2vw, 24px);
  text-align: left;
  font-size: 15px;
  line-height: 1.55;
  color: #000;
  background: rgba(66, 123, 223, 0.07);
  border-left: 3px solid var(--b4-blue-tec);
  border-radius: 8px;
  padding: 14px 18px;
}

@media (max-width: 900px) {
  .support-tabs { grid-template-columns: 1fr; gap: 4px; }
  .support-tabs__tab { padding: 14px 12px; border-bottom: 1px solid rgba(66, 123, 223, 0.18); }
  .support-tabs__tab:last-child { border-bottom: 0; }
  .support-tabs__tab br { display: none; }
  .support-tabs__tab.is-active::after { display: none; }
  .support-tabs__tab.is-active {
    background: rgba(66, 123, 223, 0.08);
    border-radius: 12px;
    border-bottom-color: transparent;
  }
  .support-contacts { grid-template-columns: 1fr; }
  .support-levels { grid-template-columns: 1fr; }
  .support-notes { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 720px) {
  .support-table { min-width: 0; }
  .support-table thead { display: none; }
  .support-table,
  .support-table tbody,
  .support-table tr { display: block; }
  .support-table tbody td { display: block; padding: 8px 16px; border-top: none; text-align: left !important; }
  .support-table tbody tr {
    border-top: 1px solid rgba(66, 123, 223, 0.18);
    padding: 12px 0;
  }
  .support-table tbody tr:first-child { border-top: none; }
  .support-table tbody td:first-child {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--b4-blue-tec);
    padding-bottom: 8px;
  }
  .support-table tbody td:not(:first-child) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: auto;
    padding: 4px 16px;
  }
  .support-table tbody td:not(:first-child)::after {
    content: attr(data-label);
    color: var(--b4-blue-tec);
    opacity: 0.7;
    font-size: 13px;
    order: -1;
  }
  .support-table tbody td.is-yes::before {
    order: 2;
  }
  .support-plate { padding: 16px 0; }
}

/* старые стили карточек поддержки (legacy) — оставлены для совместимости */
.support-services { padding: 32px 0 48px; }
.support-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.support-card {
  background: #F5F8FF;
  border: 1px solid var(--b4-light-blue);
  border-radius: var(--radius-band);
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  min-height: 220px;
}
.support-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  color: var(--b4-blue-tec);
  line-height: 1.15;
  margin: 0;
}
.support-card__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: var(--b4-blue-tec);
  margin: 0;
}
@media (max-width: 1024px) {
  .support-services__grid { grid-template-columns: 1fr; gap: 12px; }
  .support-card { min-height: 0; padding: 24px 20px; }
}

/* ===================================================
   FAQ-band — синяя капсула с аккордеоном (figma /support/)
   =================================================== */
.faq-band__head { margin-bottom: 32px; }
.faq-band__head .section-band__title { color: var(--b4-white); margin-bottom: 8px; font-size: clamp(24px, 2.6vw, 36px); }
.faq-band__head .section-band__subtitle { color: rgba(255,255,255,0.85); font-size: 14px; }

.faq-band .faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-band .faq-item {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  overflow: hidden;
  transition: background var(--transition-base);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.faq-band .faq-item:hover { background: rgba(255, 255, 255, 0.24); }
.faq-band .faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 24px;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  color: var(--b4-white) !important;
  gap: 16px;
}
.faq-band .faq-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--b4-white);
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  margin-left: auto;
  transition: transform var(--transition-base);
}
.faq-band .faq-item__question::after { content: none; }
.faq-band .faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-band .faq-item__answer {
  padding: 0 24px 16px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.55;
  display: none;
}
.faq-band .faq-item.is-open .faq-item__answer { display: block; }

/* ===================================================
   /support/ Связаться с поддержкой — на белом body
   =================================================== */
.support-contact { padding: 48px 0 64px; }
.support-contact__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
/* /support/ Связаться с поддержкой — форма наследует общий .b4-form */
.support-contact__info .contact-info {
  background: var(--b4-gray-tec);
  border: 1px solid var(--b4-light-blue);
  border-radius: 28px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.support-contact__info .contact-info__item {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0;
}
.support-contact__info .contact-info__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--b4-blue-tec);
  color: var(--b4-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}
.support-contact__info .contact-info__icon svg { width: 22px; height: 22px; }
.support-contact__info .contact-info__text,
.support-contact__info .contact-info__text a,
.support-contact__info .contact-info__text p {
  color: var(--b4-blue-tec);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
}
@media (max-width: 1024px) {
  .support-contact__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ===================================================
   Advantages-band — синяя капсула с заголовком + 4 светлыми
   внутренними карточками (figma /partners/ преимущества)
   =================================================== */
.advantages-band .section-band__inner {
  text-align: center;
  margin-bottom: 24px;
}
.advantages-band .section-band__title {
  font-size: clamp(24px, 2.6vw, 36px);
  margin: 0;
  text-align: left;
}
.advantages-band__grid > .advantages {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.advantages-band .advantage {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--b4-white);
  border-radius: 32px;
  min-height: 220px;
  padding: 24px 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.advantages-band .advantage__title {
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--b4-white);
  font-weight: 500;
  margin-bottom: 12px;
}
.advantages-band .advantage__text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}
@media (max-width: 1024px) {
  .advantages-band__grid > .advantages { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .advantages-band__grid > .advantages { grid-template-columns: 1fr; }
}

/* ===================================================
   Преимущества (figma: 4 синих градиентных карточки 380x339 r=69
   на белом body)
   =================================================== */
.advantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* default mobile: 2x2 как в figma */
  gap: 12px;
  text-align: center;
}
@media (min-width: 1280px) { .advantages { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1440px) { .advantages { grid-template-columns: repeat(4, 1fr); } }
.advantage {
  position: relative;
  padding: clamp(20px, 2vw, 48px) clamp(16px, 1.6vw, 36px);
  background: var(--b4-gradient-band);
  border-radius: var(--radius-band);
  color: var(--b4-white);
  min-height: 280px;
  transition: transform var(--transition-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.advantage:hover { transform: translateY(-4px); }
.advantage__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 28px);
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--b4-white);
  line-height: 1.1;
  word-wrap: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  -webkit-hyphens: manual;
  max-width: 100%;
}
.advantage__text {
  font-size: clamp(13px, 1vw, 16px);
  color: var(--b4-white);
  line-height: 1.4;
  font-weight: 400;
  word-wrap: break-word;
}

/* ===================================================
   Медиа-карточки (figma: синяя градиентная плашка
   с белым контентом, ~r=69, превью-фото внутри
   обёрнуто в белую плашку r=22 с padding)
   =================================================== */
.media-card,
.news-card,
.product-card,
.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: clamp(14px, 1vw, 18px);
  overflow: hidden;
  background: var(--b4-white);
  border: 1px solid var(--b4-light-blue);
  color: var(--color-text);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  isolation: isolate;
}
.media-card:hover,
.news-card:hover,
.product-card:hover,
.solution-card:hover {
  transform: translateY(-3px);
  border-color: var(--b4-blue);
  box-shadow: var(--shadow-sm);
}
.media-card__image,
.news-card__image,
.product-card__media,
.solution-card__media {
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  background: var(--b4-white);
  /* Скругляем верхние углы под скругление родительской карточки —
     иначе при "живом" (без белого кропа) фото квадратные углы изображения
     торчат за пределы border-radius карточки. */
  border-top-left-radius: clamp(14px, 1vw, 18px);
  border-top-right-radius: clamp(14px, 1vw, 18px);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 1px solid var(--b4-light-blue);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-card__image img,
.news-card__image img,
.product-card__media img,
.solution-card__media img,
.media-fixed {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.media-card__image img.is-contain,
.news-card__image img.is-contain,
.product-card__media img.is-contain,
.solution-card__media img.is-contain,
.media-fixed.is-contain { object-fit: contain; padding: clamp(12px, 1.4vw, 20px); }
.product-card__media img.is-contain,
.solution-card__media img.is-contain {
  object-fit: contain;
  padding: clamp(12px, 1.4vw, 20px);
}
.media-card__placeholder,
.news-card__placeholder,
.product-card__placeholder,
.solution-card__placeholder {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
}
.media-card__placeholder img,
.news-card__placeholder img,
.product-card__placeholder img,
.solution-card__placeholder img { display: none; }
.media-card__body,
.news-card__body,
.product-card__body,
.solution-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  color: var(--color-text);
}
.media-card__eyebrow,
.news-card__date,
.product-card__category,
.solution-card__industry {
  font-family: var(--font-display);
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 8px;
}
.media-card__title,
.news-card__title,
.product-card__title,
.solution-card__title {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.2;
  color: var(--b4-blue-tec);
}
.media-card__text,
.news-card__excerpt,
.product-card__text,
.solution-card__text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
  font-weight: 400;
}
.media-card__more,
.product-card__more,
.solution-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--b4-blue-tec);
}
.media-card__more svg,
.product-card__more svg,
.solution-card__more svg { transition: transform var(--transition-base); }
.media-card:hover .media-card__more svg,
.product-card:hover .product-card__more svg,
.solution-card:hover .solution-card__more svg { transform: translateX(4px); }

a.media-card,
a.news-card,
a.product-card,
a.solution-card {
  display: flex;
  color: inherit;
  text-decoration: none;
}
a.media-card:hover,
a.news-card:hover,
a.product-card:hover,
a.solution-card:hover { color: inherit; }

/* ==========================================================
   Категория-таблетка (figma: "Наши продукты")
   ========================================================== */
/* Категория-таблетка (на /products/, на белом фоне body) */
/* Базовый вид simple-карточки (используется в каталоге /products/):
   стиль как у news-card — белая плашка, синяя обводка, картинка сверху, заголовок снизу */
.product-card--simple {
  background: var(--b4-white);
  border: 1px solid var(--b4-light-blue);
  border-radius: clamp(14px, 1vw, 18px);
  box-shadow: none;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.product-card--simple:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--b4-blue);
}
.product-card--simple .product-card__media {
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--b4-light-blue);
  background: var(--b4-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}
.product-card--simple .product-card__media img.is-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(12px, 1.6vw, 22px);
}
.product-card--simple .product-card__media img.is-placeholder,
.product-card--simple .product-card__media img:not(.is-contain) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  display: block;
}
.product-card--simple .product-card__title {
  flex: 0 0 auto;
  margin: 0;
  padding: clamp(12px, 1vw, 16px) clamp(14px, 1.2vw, 18px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.3;
  color: var(--b4-blue-tec);
}
.product-card--simple .product-card__more {
  margin-top: auto !important;
  align-self: center;
}

/* На главной (.products-band) — белая карточка как в каталоге:
   картинка сверху, разделитель, заголовок снизу */
.products-band__grid .product-card--simple {
  background: var(--b4-white);
  border: 1px solid var(--b4-white);
  border-radius: clamp(14px, 1vw, 18px);
  overflow: hidden;
  text-align: left;
  gap: 0;
}
.products-band__grid .product-card--simple:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--b4-white);
}
.products-band__grid .product-card--simple .product-card__media {
  aspect-ratio: 16 / 9;
  background: var(--b4-white);
  border: none;
  border-bottom: 1px solid var(--b4-light-blue);
  border-radius: 0;
  overflow: hidden;
  transition: background var(--transition-base);
}
.products-band__grid .product-card--simple .product-card__title {
  padding: clamp(12px, 1vw, 16px) clamp(14px, 1.2vw, 18px);
  color: var(--b4-blue-tec);
}
/* Чтобы grid-ячейки были одинаковой высоты, sibling-карточки выровнялись */
.products-band__grid > .grid > .product-card--simple,
.products-band__grid > .grid > .solution-card--simple,
.grid--3 > .product-card--simple,
.grid--3 > .solution-card--simple {
  height: 100%;
}

/* Карточка решения (на /solutions/) — figma:
   Plate (светло-серая плашка с заголовком/индустрией/текстом)
   + отдельная outline-кнопка «Подробнее» под plate */
.solution-card--simple {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  min-height: 0;
  text-decoration: none;
  transition: transform var(--transition-base);
}
.solution-card--simple:hover { transform: translateY(-3px); }
.solution-card__plate {
  background: #F5F8FF;
  border: 1px solid var(--b4-light-blue);
  border-radius: var(--radius-band);
  padding: 32px 28px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  row-gap: 16px;
  align-items: start;
  justify-items: center;
  text-align: center;
  flex: 1;
}
.solution-card--simple .solution-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--b4-blue-tec);
  margin: 0;
  min-height: calc(1.15em * 2);   /* 2 строки фиксированно для выравнивания */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  align-self: start;
}
.solution-card--simple .solution-card__industry {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--b4-blue-tec);
  margin: 0;
  letter-spacing: 0;
  text-transform: none;
  min-height: 1.45em;             /* 1 строка фиксированно */
  align-self: start;
}
.solution-card--simple .solution-card__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: var(--b4-blue-tec);
  margin: 0;
  text-align: center !important;
  max-width: none !important;
  align-self: start;
  min-height: calc(1.45em * 3);   /* 3 строки фиксированно для выравнивания */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.solution-card--simple .solution-card__more {
  margin: 0;       /* выравнивание гарантировано grid-template-rows */
  align-self: end;
}
.section-band .product-card--simple .product-card__title,
.section-band .solution-card--simple .solution-card__title {
  color: var(--b4-white);
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  word-wrap: break-word;
  hyphens: auto;
}
/* На белой карточке внутри products-band — синий заголовок, компактный размер */
.section-band .products-band__grid .product-card--simple .product-card__title {
  color: var(--b4-blue-tec);
  font-size: clamp(14px, 0.95vw, 16px);
  font-weight: 500;
  line-height: 1.3;
}
.section-band .product-card--simple .product-card__more,
.section-band .solution-card--simple .solution-card__more {
  background: rgba(255, 255, 255, 0.18);
  color: var(--b4-white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  width: 100%;
  max-width: 280px;
  height: 56px;
  padding: 0 12px;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(14px, 1.2vw, 18px);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}
.section-band .product-card--simple:hover .product-card__more,
.section-band .solution-card--simple:hover .solution-card__more {
  background: var(--b4-white);
  color: var(--b4-blue-tec);
  border-color: var(--b4-white);
}
/* На белом фоне (отдельные страницы /products/) — обратные цвета */
.product-card--simple .product-card__title,
.solution-card--simple .solution-card__title { color: var(--b4-blue-tec); margin: 0; }
.product-card--simple .product-card__more,
.solution-card--simple .solution-card__more {
  background: var(--b4-gray-tec);
  color: var(--b4-blue-tec);
  border: 1px solid var(--b4-blue-tec);
  width: 220px;
  max-width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), color var(--transition-base);
}
.product-card--simple:hover .product-card__more,
.solution-card--simple:hover .solution-card__more {
  background: var(--b4-blue-tec);
  color: var(--b4-white);
}
.product-card--simple .product-card__title,
.solution-card--simple .solution-card__title {
  color: var(--b4-blue-tec);
  margin: 0;
}
.product-card--simple .product-card__category,
.solution-card--simple .solution-card__industry {
  color: var(--b4-blue-tec);
  margin: 0;
}
.product-card--simple .product-card__more,
.solution-card--simple .solution-card__more {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0 28px;
  height: clamp(54px, 5vw, 64px);
  width: 220px;
  max-width: 100%;
  border: 2px solid var(--b4-blue-tec);
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--b4-blue-tec);
  background: transparent;
  transition: background var(--transition-base), color var(--transition-base);
}
.product-card--simple:hover .product-card__more,
.solution-card--simple:hover .solution-card__more {
  background: var(--b4-blue-tec);
  color: var(--b4-white);
}

/* News detail */
.news-detail__date {
  font-family: var(--font-display);
  font-size: var(--fs-caption);
  color: var(--b4-blue-tec);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.news-detail__date--hero {
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.news-detail__content { max-width: 800px; margin: 0 auto; }
.news-detail__image {
  margin-bottom: var(--space-8);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}
.news-detail__image { aspect-ratio: 16 / 9; background: var(--b4-gray-tec); }
.news-detail__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-detail__body { font-size: var(--fs-lead); line-height: 1.75; color: var(--color-text); }
.news-detail__body p { margin-bottom: var(--space-6); }
.news-detail__body h2,
.news-detail__body h3 { margin-top: var(--space-8); margin-bottom: var(--space-4); }
/* Картинки в теле детальной (новости/лендинги/решения/продукты-табы):
   НЕ апскейлим выше оригинала, иначе 1024px-источник растягивался до ширины
   колонки (~1080px) и мылил. width:auto + max-width:100% — картинка ≥ колонки
   занимает всю ширину (даунскейл, чётко), меньше — рисуется 1:1 по центру.
   Источники крупнее теперь даёт медиабиблиотека (лимит поднят до 2048px). */
.news-detail__body img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
}
/* Картинки из редактора часто приходят в обёртке <figure>/<picture> (у figure
   дефолтный UA-margin 40px по бокам) или с инлайн-выравниванием/шириной —
   из-за этого фото становится уже текста и «уезжает» от левого края блока
   (баг с выравниванием). Нормализуем обёртки: любой носитель картинки
   занимает ровно ширину контентного блока и прижат к его краям. */
.news-detail__body figure,
.news-detail__body picture {
  display: block;
  width: 100%;
  margin: var(--space-6) 0;
  padding: 0;
  float: none;
}
.news-detail__body figure img,
.news-detail__body picture img {
  /* Картинка на всю ширину блока, прижата влево — как текст (фикс выравнивания). */
  width: 100%;
  margin: 0;
}
.news-detail__body figure figcaption {
  margin-top: var(--space-3);
  font-size: var(--fs-body);
  color: var(--color-text-muted);
}
/* Инлайн-атрибуты редактора (align/width/style) не должны ни ронять картинку
   во float, ни форсить апскейл — нейтрализуем float и держим потолок ширины,
   но ширину оставляем auto (см. правило выше: меньше колонки → 1:1 по центру). */
.news-detail__body img[align],
.news-detail__body img[width],
.news-detail__body img[style] {
  float: none;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.news-detail__body ul,
.news-detail__body ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-6);
  list-style: disc;
}
.news-detail__body ol { list-style: decimal; }
.news-detail__body li { margin-bottom: var(--space-2); }
.news-detail__body blockquote {
  border-left: 4px solid var(--b4-blue-tec);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  background: var(--b4-gray-tec);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: italic;
  color: var(--color-text);
}
.news-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
.news-detail__tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--b4-gray-tec);
  color: var(--b4-blue-tec);
  font-size: var(--fs-caption);
  font-weight: 500;
  border-radius: var(--radius-pill);
}
.news-detail__source {
  margin-top: var(--space-6);
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
}
.news-detail__nav {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ===================================================
   Контакты
   =================================================== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
.contact-info__item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  align-items: flex-start;
}
.contact-info__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--b4-gradient-light);
  border-radius: var(--radius-lg);
  color: var(--b4-blue-tec);
}
.contact-info__text h4 {
  font-size: var(--fs-body);
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--color-text);
}
.contact-info__text p,
.contact-info__text a {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  margin-bottom: 0;
}
.contact-info__text a:hover { color: var(--b4-blue-tec); }

/* Контакты внутри section-band — компактнее для /contacts/ */
.section-band .contact-info {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-2xl);
  padding: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 28px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 22px);
}
.section-band .contact-info__item {
  display: flex;
  gap: clamp(12px, 1.4vw, 18px);
  align-items: center;
  margin: 0;
}
.section-band .contact-info__icon {
  width: clamp(40px, 3.5vw, 56px);
  height: clamp(40px, 3.5vw, 56px);
  flex-shrink: 0;
  background: var(--b4-white);
  border: none;
  color: var(--b4-blue-tec);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-band .contact-info__icon svg { width: clamp(18px, 1.6vw, 24px); height: clamp(18px, 1.6vw, 24px); }
.section-band .contact-info__text h4 { color: var(--b4-white); }
.section-band .contact-info__text,
.section-band .contact-info__text p,
.section-band .contact-info__text a {
  color: var(--b4-white);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
  line-height: 1.25;
  word-break: break-word;
}
.section-band .contact-info__text a:hover { color: var(--b4-white); }

/* Две строки email (общие / коммерческие вопросы) */
.contact-info__emails { display: flex; flex-direction: column; gap: 10px; }
.contact-info__email-row { display: flex; flex-direction: column; }
.contact-info__email-note {
  font-size: 0.8em;
  font-weight: 400;
  opacity: 0.7;
}

/* ===================================================
   Единая форма обратной связи .b4-form
   На синем фоне (.section-band) — белые полупрозрачные инпуты
   На белом фоне — outline blue-tec инпуты
   Размер компактный: меньшие отступы и поля 44-48px
   =================================================== */
.b4-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.b4-form__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  margin: 0 0 8px;
  color: var(--b4-blue-tec);
  line-height: 1.15;
}
.b4-form__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.b4-form__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.b4-form__label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--b4-blue-tec);
}
.b4-form__input,
.b4-form__textarea {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  font-family: var(--font-display);
  font-size: 14px;
  background: transparent;
  border: 1px solid var(--b4-light-blue);
  border-radius: 14px;
  color: var(--b4-blue-tec);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  box-sizing: border-box;
}
.b4-form__textarea {
  height: auto;
  min-height: 90px;
  padding: 12px 16px;
  resize: vertical;
}
.b4-form__input::placeholder,
.b4-form__textarea::placeholder { color: var(--b4-blue-tec); opacity: 0.6; }
.b4-form__input:focus,
.b4-form__textarea:focus {
  border-color: var(--b4-blue-tec);
  box-shadow: 0 0 0 3px rgba(var(--b4-blue-tec-rgb), 0.15);
}
.b4-form__submit {
  width: 100%;
  height: 46px;
  padding: 0 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  border-radius: 14px;
  cursor: pointer;
  background: transparent;
  color: var(--b4-blue-tec);
  border: 1px solid var(--b4-blue-tec);
  transition: background var(--transition-base), color var(--transition-base);
  margin-top: 4px;
}
.b4-form__submit:hover {
  background: var(--b4-blue-tec);
  color: var(--b4-white);
}
.b4-form__message {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  margin-bottom: 8px;
}
.b4-form__message--success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.b4-form__message--error   { background: #FFEBEE; color: #C62828; border: 1px solid #EF9A9A; }

/* Вариант: на синей капсуле — белые полупрозрачные элементы */
.section-band .b4-form { color: var(--b4-white); }
.section-band .b4-form__title { color: var(--b4-white); }
.section-band .b4-form__label { color: rgba(255,255,255,0.92); }
.section-band .b4-form__input,
.section-band .b4-form__textarea {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--b4-white);
}
.section-band .b4-form__input::placeholder,
.section-band .b4-form__textarea::placeholder { color: rgba(255, 255, 255, 0.7); opacity: 1; }
.section-band .b4-form__input:focus,
.section-band .b4-form__textarea:focus {
  background: rgba(255, 255, 255, 0.24);
  border-color: var(--b4-white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.20);
}
.section-band .b4-form__submit {
  background: rgba(255, 255, 255, 0.16);
  color: var(--b4-white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.section-band .b4-form__submit:hover {
  background: var(--b4-white);
  color: var(--b4-blue-tec);
  border-color: var(--b4-white);
}

/* Антиспам honeypot — визуально скрыто, но НЕ display:none (боты пропускают display:none). */
.b4-form__hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Чекбокс согласия на обработку ПДн */
.b4-form__consent { margin: 4px 0 2px; }
.b4-form__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
}
.b4-form__consent-checkbox {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  cursor: pointer;
  accent-color: var(--b4-blue-tec);
}
.b4-form__consent-text { color: var(--color-text-muted); }
.b4-form__consent-text a { color: var(--b4-blue-tec); text-decoration: underline; }
/* На синей капсуле — светлый вариант */
.section-band .b4-form__consent-text { color: rgba(255, 255, 255, 0.9); }
.section-band .b4-form__consent-text a { color: var(--b4-white); }
.section-band .b4-form__consent-checkbox { accent-color: var(--b4-white); }

/* ===================================================
   Footer — figma: лого+текст слева на белом,
   2 плашки 380x339 справа в синем градиенте,
   внизу copyright 20/500
   =================================================== */
.footer {
  padding: 40px 0 24px;
  background: transparent;
  color: var(--color-text);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 700px);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}
.footer__brand {
  position: relative;
  background: transparent;
  padding: 0;
  color: var(--b4-blue-tec);
  overflow: visible;
}
.footer__brand .footer__logo img {
  height: clamp(56px, 7vw, 110px);
  width: auto;
  margin-bottom: clamp(16px, 2vw, 32px);
}
.footer__brand p {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.5;
  color: var(--b4-blue-tec);
  font-weight: 400;
  max-width: 540px;
  margin: 0 0 20px;
  text-align: left;
}
.footer__contacts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--b4-blue-tec);
}
.footer__contacts-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--b4-blue-tec);
}
.footer__contacts-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--b4-blue-tec);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--b4-white);
}
.footer__contacts-icon svg { width: 16px; height: 16px; }
.footer__contacts a {
  color: var(--b4-blue-tec);
  border-bottom: none;
}
.footer__contacts a:hover { color: var(--b4-blue); }

.footer__nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 48px);
  align-self: start;
  background: #E8EDFA;
  border: 1px solid var(--b4-light-blue);
  border-radius: var(--radius-band);
  padding: clamp(24px, 2.6vw, 40px) clamp(24px, 2.8vw, 44px);
}
.footer__nav-grid {
  display: contents;
}
.footer__nav-col {
  position: relative;
  width: 100%;
  height: auto;
  background: transparent;
  border-radius: 0;
  padding: 0;
  color: var(--b4-blue-tec);
  overflow: visible;
}
.footer__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 500;
  color: var(--b4-blue-tec);
  margin-bottom: 16px;
  text-transform: none;
  letter-spacing: 0;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  list-style: disc;
}
.footer__links li {
  margin: 0;
  color: var(--b4-blue-tec);
  font-size: clamp(16px, 1.3vw, 20px);
}
.footer__links li::marker { color: var(--b4-blue-tec); }
.footer__links a {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 400;
  color: var(--b4-blue-tec);
  text-decoration: none;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}
.footer__links a:hover { color: var(--b4-blue); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 12px;
  border-top: 1px solid rgba(var(--b4-blue-tec-rgb), 0.35);
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--b4-blue-tec);
  font-weight: 400;
}

/* ===================================================
   Timeline (история компании, figma — горизонтальный)
   =================================================== */
.timeline--horizontal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  position: relative;
}
.timeline--horizontal::before {
  content: '';
  position: absolute;
  left: 5%; right: 5%;
  top: 32px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  z-index: 0;
}
.timeline__step {
  position: relative;
  text-align: center;
  padding: 0 var(--space-2);
  z-index: 1;
}
.timeline__step::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  margin: 24px auto var(--space-4);
  background: var(--b4-white);
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(var(--b4-blue-tec-rgb), 0.3);
}
.timeline__step .timeline__year {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--b4-white);
  margin-bottom: var(--space-2);
}
.timeline__step .timeline__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--b4-white);
}
.timeline__step .timeline__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-caption);
  line-height: 1.5;
}

/* Старый вертикальный таймлайн (если используется) */
.timeline {
  position: relative;
  padding: var(--space-10) 0 var(--space-4);
  max-width: 920px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--b4-light-blue), var(--b4-gray-tec));
  transform: translateX(-50%);
}
.timeline__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
  position: relative;
}
.timeline__item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}
.timeline__content {
  width: calc(50% - var(--space-12));
  background: var(--b4-white);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  border: 1px solid var(--b4-gray-tec);

}
.timeline__year {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--b4-blue-tec);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.timeline__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.timeline__text {
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: 1.6;
}
.timeline__dot {
  position: absolute;
  left: 50%;
  top: var(--space-6);
  width: 18px;
  height: 18px;
  background: var(--b4-blue-tec);
  border: 4px solid var(--b4-white);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(var(--b4-blue-tec-rgb), 0.16);
  z-index: 1;
}

/* ===================================================
   Values
   =================================================== */
.values-block { padding: 48px 0; }
.about-block      { padding: 24px 0; }
.advantages-block { padding: 64px 0; }
.news-block       { padding: 64px 0; }
.partners-block   { padding: 48px 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
.value-card {
  position: relative;
  text-align: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
  color: var(--color-text);
  transition: transform var(--transition-base);
  overflow: visible;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.value-card:hover { transform: translateY(-3px); }
.value-card__icon {
  width: clamp(140px, 14vw, 220px);
  height: clamp(140px, 14vw, 220px);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-card__icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}
.value-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--b4-blue-tec);
  line-height: 1.2;
  text-align: center;
}
.value-card__text {
  color: var(--color-text);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.5;
  max-width: 360px;
  margin: 0;
  text-align: center;
}
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===================================================
   Facts
   =================================================== */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.fact {
  text-align: left;
  padding: var(--space-8);
  background: var(--b4-gradient-light);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.fact::after {
  content: '';
  position: absolute;
  right: -40px; bottom: -40px;
  width: 140px; height: 140px;
  border-radius: var(--radius-3xl);
  background: var(--b4-white);
  opacity: 0.45;
}
.fact__number {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--b4-blue-tec);
  line-height: 1;
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
}
.fact__label {
  font-size: var(--fs-body);
  color: var(--color-text);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* ===================================================
   FAQ (аккордеон)
   =================================================== */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq__item {
  background: var(--b4-white);
  border: 1px solid var(--b4-gray-tec);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.faq__item[open] {
  border-color: var(--b4-light-blue);

}
.faq__question {
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-lead);
  color: var(--color-text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '';
  flex-shrink: 0;
  width: 14px; height: 14px;
  border-right: 2px solid var(--b4-blue-tec);
  border-bottom: 2px solid var(--b4-blue-tec);
  transform: rotate(45deg);
  transition: transform var(--transition-base);
}
.faq__item[open] .faq__question::after { transform: rotate(-135deg); }
.faq__answer {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: 1.65;
}

/* ===================================================
   Partners
   =================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.partner {
  background: var(--b4-white);
  border: 1px solid var(--b4-gray-tec);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.partner:hover {
  border-color: var(--b4-light-blue);

  transform: translateY(-2px);
}
.partner__logo {
  height: clamp(140px, 14vw, 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.partner__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Перебиваем медийный паддинг для крупного отображения партнёрских лого */
.partner__logo .media-fixed.is-contain { padding: 0; }
.partner__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--color-text);
}
.partner__type {
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
}

/* ===================================================
   Адаптивность
   =================================================== */
/* ===================================================
   Адаптив — три точки: 1280, 1024, 768, 480
   Все размеры пересчитаны под viewport с сохранением
   пропорций figma-макета.
   =================================================== */

/* === Десктоп компактный (1280–1440) === */
@media (max-width: 1440px) {
  :root {
    --fs-display: 72px;
    --fs-h2:      40px;
    --fs-stat:    44px;
    --container-pad:   clamp(16px, 5vw, 100px);
    --container-pad-h: clamp(16px, 2.5vw, 48px);
  }
  .hero__band       { height: auto; min-height: 600px; padding: 80px 48px; }
  .section-band { padding: 56px 40px; }
  .products-band .section-band__head,
  .contacts-band .section-band__head { gap: 32px; }
  .advantages    { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .advantage     { padding: 32px 28px; min-height: 240px; }
  .products-band__grid > .grid { gap: 24px; }
  .about-block__grid { gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 720px; gap: 48px; }
  .footer__nav  { grid-template-columns: 340px 340px; gap: 24px; }
  .footer__nav-col { width: auto; padding: 0; }
  .footer__brand .footer__logo img { height: 96px; }
}

/* === Десктоп ноутбук (1100–1280) === */
@media (max-width: 1280px) {
  :root {
    --fs-display: 56px;
    --fs-h2:      32px;
    --fs-stat:    36px;
    --container-pad:   clamp(16px, 4vw, 64px);
    --container-pad-h: clamp(16px, 2vw, 32px);
  }
  .section-band { padding: 48px 32px; }
  .hero__band      { padding: 64px 32px; min-height: 540px; }
  .products-band .section-band__head,
  .contacts-band .section-band__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .products-band .section-band__head .section-band__subtitle,
  .contacts-band .section-band__head .section-band__subtitle { text-align: left; }
  .products-band__grid > .grid { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 600px; gap: 32px; }
  .footer__nav { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* News: feature сверху, 2 узких рядом снизу — иначе узкие карточки слишком сжаты */
  .news-slider > .news-feature { grid-template-columns: 1fr; gap: 16px; }
  .news-feature__side { grid-template-columns: 1fr 1fr; gap: 16px; }
  .news-card--feature { min-height: 420px; }
  .news-card--narrow  { min-height: 320px; padding: 28px 24px; }
  .news-card--narrow__title   { font-size: 22px; }
  .news-card--narrow__excerpt { font-size: 15px; }
  .news-feature__nav  { grid-template-columns: 1fr 80px 80px; gap: 12px; }
}

/* === Планшет: nav→бургер (показываем при <1100px) ===
   Десктопное меню остаётся видимым на ноутбуках (1280-1600px) */
@media (max-width: 1099px) {
  .nav--desktop { display: none; }
  .header__cta  { display: none; }
  .burger       { display: flex; }
}
/* На промежуточных экранах (1100-1280) скрываем CTA, чтобы меню умещалось */
@media (min-width: 1100px) and (max-width: 1279px) {
  .header__cta { display: none; }
  .nav--desktop { gap: 4px; }
  .nav--desktop .nav__link { padding: 6px 8px; font-size: 13px; }
}

/* === Планшет узкий (768–1024) === */
@media (max-width: 1024px) {
  :root {
    --fs-display: 48px;
    --fs-h1:      40px;
    --fs-h2:      28px;
    --fs-stat:    28px;
    --fs-button:  20px;
    --fs-body:    16px;
    --fs-lead:    18px;
    --fs-nav:     16px;
    --header-height: 84px;
    --container-pad:   clamp(16px, 3vw, 32px);
    --container-pad-h: clamp(12px, 2vw, 20px);
  }
  .hero { padding: 16px 0 24px; }
  .hero__band      { padding: 56px 28px; min-height: 420px; height: auto; }
  .section-band { padding: 40px 24px; }

  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .products-band__grid > .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
  .facts-grid    { grid-template-columns: repeat(2, 1fr); }

  /* News-feature → 1 колонка (узкие карточки под широкой) */
  .news-slider > .news-feature { grid-template-columns: 1fr; }
  .news-feature__side { grid-template-columns: 1fr 1fr; }
  .news-card--feature { min-height: 360px; }
  .news-card--narrow  { min-height: 280px; }
  .news-feature__nav  { grid-template-columns: 1fr 80px 80px; gap: 12px; }

  .advantages-block, .news-block { padding: 48px 0; }

  .products-band .section-band__head,
  .contacts-band .section-band__head { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .products-band .section-band__head .section-band__subtitle,
  .contacts-band .section-band__head .section-band__subtitle { text-align: left; }
  .contacts-band__grid { grid-template-columns: 1fr; gap: 24px; }

  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__nav  { grid-template-columns: 1fr 1fr; }
  .footer__nav-col { width: 100%; height: auto; padding: 28px 24px; min-height: 220px; }

  .timeline--horizontal { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .timeline--horizontal::before { display: none; }

  .btn { height: 60px; padding: 0 24px; }
  .header__cta .btn { height: 48px; }
}

/* === Мобильный (≤768) — figma mobile 440px === */
@media (max-width: 768px) {
  :root {
    --fs-display: 36px;
    --fs-h1:      32px;
    --fs-h2:      26px;
    --fs-stat:    24px;
    --fs-button:  16px;
    --fs-body:    15px;
    --fs-lead:    16px;
    --fs-nav:     16px;
    --header-height: 68px;
    --radius-band: 32px;
    --container-pad:   16px;
    --container-pad-h: 12px;
  }
  .hero { padding: 8px 0 12px; }
  .hero__band {
    padding: 40px 20px;
    border-radius: var(--radius-band);
    min-height: 360px;
    height: auto;
  }
  .hero__title { margin-bottom: 16px; max-width: 100%; }
  .hero__subtitle { margin-bottom: 28px; }
  .hero__actions { flex-direction: column; gap: 10px; align-items: stretch; }
  .hero__actions .btn { width: 100%; max-width: none; }

  .section { padding: 12px 0; }
  .section-band { padding: 28px 20px; border-radius: var(--radius-band); }

  /* Stat-полоса на мобиле — основные стили в default, тут лишь корректировка padding */
  .stats-strip { padding: 8px 0; }
  .stats-strip__band { padding: 16px; }
  .stats-strip__inner { padding: 8px; gap: 8px; }

  /* Сетки: всё в 1 колонку (figma mobile делает 2x3 для продуктов — переключим в 480) */
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .products-band__grid > .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partners-grid { grid-template-columns: 1fr; gap: 12px; }
  .values-grid   { grid-template-columns: 1fr; }
  .facts-grid    { grid-template-columns: 1fr 1fr; }

  /* Категории продуктов на мобиле (figma: 2 колонки маленькие) */
  .product-card--simple, .solution-card--simple { min-height: auto; gap: 12px; padding: 8px 4px; }
  .section-band .product-card--simple .product-card__title,
  .section-band .solution-card--simple .solution-card__title { font-size: 16px; line-height: 1.2; }
  .section-band .product-card--simple .product-card__more,
  .section-band .solution-card--simple .solution-card__more {
    width: 100%; max-width: 180px; height: 44px; font-size: 13px;
  }

  /* Преимущества на мобиле: 2x2 как в figma, текст компактный */
  .advantages    { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .advantage     { min-height: 180px; padding: 16px 12px; }
  .advantage__title { font-size: 14px; margin-bottom: 8px; line-height: 1.15; }
  .advantage__text  { font-size: 11px; line-height: 1.35; }
  .about-block__title { font-size: 24px; }

  /* Минимальные отступы на мобиле */
  .advantages-block,
  .news-block,
  .about-block,
  .values-block,
  .partners-block,
  .support-services,
  .support-contact { padding: 22px 0; }
  .section { padding: 18px 0; }
  .section--sm { padding: 16px 0; }
  .stats-strip { padding: 18px 0; margin-bottom: 0; }

  /* Заголовок секции в капсуле — центр */
  .products-band .section-band__head,
  .contacts-band .section-band__head { gap: 12px; margin-bottom: 24px; text-align: center; }
  .products-band .section-band__head .section-band__subtitle,
  .contacts-band .section-band__head .section-band__subtitle { text-align: center; }

  /* News-slider: 1 колонка, узкие карточки тоже 1 колонкой под феатуром */
  .news-slider > .news-feature { grid-template-columns: 1fr; gap: 12px; }
  .news-feature__side { grid-template-columns: 1fr 1fr; gap: 12px; }
  .news-card--feature { min-height: 280px; padding: 16px; }
  .news-card--feature__bg { border-radius: var(--radius-md); }
  .news-card--feature__overlay { padding: 16px 20px; border-radius: var(--radius-md); }
  .news-card--feature__title { font-size: 18px; }
  .news-card--narrow { min-height: 240px; padding: 24px 20px; }
  .news-card--narrow__title   { font-size: 18px; }
  .news-card--narrow__excerpt { font-size: 13px; }
  /* На мобиле: стрелки одной ширины + «Узнать больше» снизу.
     Используем CSS Grid Template Areas — 100% надёжное позиционирование. */
  .news-feature__nav {
    display: grid;
    grid-template-areas:
      "prev next"
      "more more";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 56px auto;
    gap: 12px;
  }
  .news-feature__nav [data-news-prev] {
    grid-area: prev;
    width: 100%;
    min-width: 0;
    padding: 0;
    height: 56px;
    box-sizing: border-box;
  }
  .news-feature__nav [data-news-next] {
    grid-area: next;
    width: 100%;
    min-width: 0;
    padding: 0;
    height: 56px;
    box-sizing: border-box;
  }
  .news-feature__nav .news-feature__more {
    grid-area: more;
    width: 100%;
  }

  /* Timeline */
  .timeline--horizontal { grid-template-columns: 1fr; gap: 16px; }
  .timeline__step { text-align: left; }
  .timeline__step::before { margin: 0 0 8px 0; }

  /* Footer на мобиле (figma 440): лого+текст+контакты слева, плашки справа в столбик */
  .footer { padding: 32px 0 16px; }
  .footer__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
  .footer__nav  { grid-template-columns: 1fr; gap: 16px; padding: 20px 22px; border-radius: 24px; }
  .footer__nav-col { width: 100%; height: auto; padding: 0; min-height: 0; border-radius: 0; }
  .footer__nav-col .footer__title { font-size: 18px; margin-bottom: 8px; }
  .footer__nav-col .footer__links { gap: 4px; }
  .footer__nav-col .footer__links a { font-size: 13px; }
  .footer__brand .footer__logo img { height: 48px; margin-bottom: 12px; }
  .footer__brand p { margin-bottom: 12px; font-size: 13px; }
  .footer__bottom { flex-direction: column; gap: 4px; text-align: left; align-items: flex-start; padding-top: 16px; font-size: 12px; }
  .footer__contacts { flex-direction: column; gap: 10px; align-items: flex-start; font-size: 14px; }
  .footer__contacts-icon { width: 28px; height: 28px; }
  .footer__contacts-icon svg { width: 14px; height: 14px; }

  /* Header */
  .header__inner { padding: 0 12px; gap: 8px; }
  .header__logo img { height: 40px; }

  /* Form: на мобилке контакты сверху, форма снизу */
  .contacts-band__grid > div:first-child  { order: 2; }
  .contacts-band__grid > div:nth-child(2) { order: 1; }
  .section-band .form { gap: 10px; }
  .section-band .form__input, .section-band .form__textarea { height: 52px; padding: 0 16px; font-size: 15px; }
  .section-band .form__textarea { height: auto; min-height: 110px; padding: 14px 16px; }
  .section-band .form__title { font-size: 24px; margin-bottom: 12px; }

  /* Contacts info */
  .section-band .contact-info { padding: 24px 20px; gap: 16px; }
  .section-band .contact-info__icon { width: 44px; height: 44px; border-radius: 12px; }
  .section-band .contact-info__icon svg { width: 20px; height: 20px; }
  .section-band .contact-info__text,
  .section-band .contact-info__text a,
  .section-band .contact-info__text p { font-size: 16px; }

  /* Buttons */
  .btn { height: 52px; font-size: 15px; padding: 0 16px; }
  .btn--lg { height: 52px; font-size: 15px; }

  /* Media cards (новостной grid) */
  .news-card__image, .product-card__media, .solution-card__media, .media-card__image {
    margin: 12px 12px 0; aspect-ratio: 16/10;
  }
  .news-card__body, .product-card__body, .solution-card__body, .media-card__body { padding: 12px 16px 20px; }

  .container, .container--bleed { padding: 0 var(--container-pad); }
}

/* === Узкий мобильный (≤400) === */
@media (max-width: 400px) {
  :root { --radius-band: 24px; }
  .hero__band { padding: 32px 16px; min-height: 320px; }
  .hero__title { font-size: 28px; }
  .section-band { padding: 24px 16px; }
  .products-band__grid > .grid { grid-template-columns: 1fr; gap: 10px; }
  .section-band .product-card--simple .product-card__more,
  .section-band .solution-card--simple .solution-card__more { max-width: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__nav-col { min-height: auto; padding: 18px; }
}

/* ===================================================
   Главная: блок «Новости» — feature-layout
   1 широкая (фото + overlay) + 2 узких + панель навигации
   =================================================== */
/* Swiper-обёртка для слайдера новостей */
.news-swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
/* Все слайды одинаковой высоты — берётся max-content из самого высокого */
.news-swiper .swiper-wrapper { align-items: stretch; }
.news-swiper .swiper-slide { height: auto; }
.news-swiper .swiper-slide.news-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  box-sizing: border-box;
}
@media (min-width: 1440px) {
  .news-swiper .swiper-slide.news-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
/* Внутри слайда обе зоны (feature и side) растягиваются на всю высоту слайда */
.news-swiper .news-card--feature,
.news-swiper .news-feature__side { height: 100%; }
.news-swiper .news-card--narrow { height: 100%; }
.news-feature__arrow[disabled] { opacity: 0.4; pointer-events: none; }
.news-feature__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.news-card--feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--b4-gradient-band);
  border-radius: var(--radius-band);
  overflow: hidden;
  padding: 24px;
  min-height: 480px;
  isolation: isolate;
}
.news-card--feature__bg {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.18);
}
.news-card--feature__bg--blank {
  flex: 1;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
}
.news-card--feature__overlay {
  flex-shrink: 0;
  background: var(--b4-blue-tec);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
}
.news-card--feature__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  color: var(--b4-white);
  margin: 0;
}

.news-card--narrow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--b4-gradient-band);
  border-radius: var(--radius-band);
  padding: 32px 24px;
  color: var(--b4-white);
  min-height: 480px;
  text-decoration: none;
}
.news-card--narrow__date {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--b4-white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
}
.news-card--narrow__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  color: var(--b4-white);
  margin: 0;
}
.news-card--narrow__excerpt {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  margin-top: auto;  /* прижимаем к низу карточки (figma) */
}

.news-feature__nav {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 769px) {
  .news-feature__nav { grid-template-columns: none; }
}
.news-feature__more,
.news-feature__arrow {
  height: 64px;
  background: transparent;
  border: 1px solid var(--b4-blue-tec);
  color: var(--b4-blue-tec);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  border-radius: var(--radius-lg);
  transition: background var(--transition-base), color var(--transition-base);
}
.news-feature__more:hover,
.news-feature__arrow:hover {
  background: var(--b4-blue-tec);
  color: var(--b4-white);
}
.news-feature__arrow {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* === Карусель новостей на главной (slider-compact)
   используем те же news-card--compact, что и на странице новостей === */
.news-compact-slider { margin-top: clamp(20px, 2vw, 32px); }
/* Swiper по умолчанию ставит overflow:hidden — режет верх карточек при анимации.
   Даём вертикальный padding под тень и translateY animate-on-scroll (20px).
   Горизонталь компенсируем отрицательным margin'ом, вертикаль — оставляем реальной,
   чтобы между карточками и nav-рядом с кнопкой/стрелками было видимое расстояние. */
.news-compact-swiper {
  overflow: hidden;
  padding: 6px 6px 28px;
  margin-left: -6px;
  margin-right: -6px;
  margin-top: -6px;
}
.news-compact-swiper .swiper-slide { height: auto; display: flex; }
.news-compact-swiper .swiper-slide > .news-card--compact { width: 100%; }
.news-compact-slider__nav {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 769px) {
  .news-compact-slider__nav {
    grid-template-columns: 1fr 56px 56px;
    gap: 10px;
    margin-top: 20px;
  }
  .news-compact-slider__more { font-size: 14px; padding: 0 12px; }
}
.news-compact-slider__more,
.news-compact-slider__arrow {
  height: 64px;
  background: transparent;
  border: 1px solid var(--b4-blue-tec);
  color: var(--b4-blue-tec);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  border-radius: var(--radius-lg);
  transition: background var(--transition-base), color var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}
.news-compact-slider__more:hover,
.news-compact-slider__arrow:hover {
  background: var(--b4-blue-tec);
  color: var(--b4-white);
}
.news-compact-slider__arrow[disabled] { opacity: 0.4; pointer-events: none; }

/* (старые дублирующие @media для news перенесены в общий блок адаптива выше) */

/* ===================================================
   Главная: блок «О компании» — figma 2 колонки
   на белом фоне (заголовок+CTA слева, текст справа)
   =================================================== */
/* (default .about-block padding перенесён выше, чтобы не перебивать @media) */
.about-block__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  width: 100%;
  min-width: 0;
}
.about-block__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.about-block__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  color: var(--b4-blue-tec);
  line-height: 1.1;
  margin: 0;
  max-width: 100%;
  word-wrap: break-word;
}
.about-block__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.about-block__right p {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--b4-blue-tec);
  margin: 0;
  text-align: left;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.about-block__cta {
  width: 100%;
  max-width: 360px;
}
/* Заголовок-секция (не блок миссии) — большой margin-bottom только на десктопе */
.about-block__grid--header { margin-bottom: 0; }
@media (min-width: 1024px) {
  .about-block__grid--header { margin-bottom: 48px; }
}
@media (max-width: 1023px) {
  /* На мобиле порядок: заголовок → текст → кнопка */
  .about-block__left { display: contents; }
  .about-block__title { order: 1; }
  .about-block__right { order: 2; }
  .about-block__cta   { order: 3; margin-top: 8px; }
}
@media (min-width: 1024px) {
  .about-block { padding: 96px 0; }
  .about-block__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 100px);
  }
  .about-block__left { gap: 32px; }
  .about-block__title { max-width: 660px; }
  .about-block__cta { width: 407px; }
}

/* ===================================================
   Stats-strip — figma капсула 1595x276 с 4 статами
   =================================================== */
.stats-strip { padding: 24px 0; margin-bottom: 0; }
.stats-strip__band {
  position: relative;
  background: var(--b4-gradient-band);
  border-radius: var(--radius-band);
  padding: 24px;
  overflow: hidden;
}
.stats-strip__inner {
  position: relative;
  border-radius: 32px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: stretch;
}
.stats-strip__band .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  padding: 16px 12px;
  border-radius: 16px;
  text-align: center;
  min-width: 0;
}
.stats-strip__band .stat__number {
  font-size: clamp(50px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1;
  color: var(--b4-white);
  white-space: nowrap;
}
.stats-strip__band .stat__label {
  font-size: clamp(20px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--b4-white);
}

/* На широких viewport — 4 в ряд, числа/лейблы в столбик с обводкой по контуру */
@media (min-width: 1100px) {
  .stats-strip__band { padding: 48px 56px; height: auto; min-height: 220px; }
  .stats-strip__inner {
    height: auto;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 28px 40px;
    border-radius: 36px;
  }
  .stats-strip__band .stat {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: center;
  }
}

/* ===================================================
   Products-band — figma капсула 1920x787 с категориями
   =================================================== */
.products-band .section-band__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(24px, 3vw, 40px);
  text-align: left;
}
.products-band .section-band__head .section-band__title { color: var(--b4-white); margin: 0; font-size: clamp(22px, 2vw, 28px); }
.products-band .section-band__head .section-band__subtitle { color: var(--b4-white); margin: 0; max-width: none; text-align: left; font-size: 15px; }
.products-band__grid > .grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}
@media (min-width: 1100px) {
  .products-band__grid > .grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
}
@media (min-width: 1440px) {
  .products-band__grid > .grid { gap: 36px 24px; }
}

/* ===================================================
   Contacts-band — figma 1920x811 капсула, 2 колонки
   =================================================== */
.contacts-band .section-band__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(20px, 2.5vw, 32px);
  text-align: left;
}
.contacts-band .section-band__head .section-band__title { color: var(--b4-white); margin: 0; font-size: clamp(22px, 2vw, 28px); }
.contacts-band .section-band__head .section-band__subtitle { color: var(--b4-white); margin: 0; max-width: none; text-align: left; font-size: 15px; }
.contacts-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 1100px) {
  .contacts-band__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 4vw, 56px);
  }
}
/* Compact contacts-band: дополнительно уменьшить внутренний padding капсулы */
.contacts-band.section-band {
  padding: clamp(24px, 2.8vw, 36px) clamp(20px, 3vw, 40px);
}

/* (default-paddings для .advantages-block / .news-block перенесены выше media-queries) */

/* ===================================================
   Footer — figma 2 синие плашки 380x339 справа
   и lib слева
   =================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.js-animate-ready .animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-animate-ready .animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================================================
   Хлебные крошки (breadcrumbs)
   =================================================== */
.breadcrumbs-wrapper {
  width: 100%;
  padding-top: 16px;
  padding-bottom: 12px;
  /* Жёстко прикреплены к низу шапки (с учётом админ-панели Битрикса) */
  position: fixed;
  top: calc(var(--bx-panel-height, 0px) + var(--header-height));
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 39, 90, 0.06);
  transition: top 0.15s ease;
}
/* Компенсация только фиксированных шапки и крошек: Битрикс сам сдвигает
   <body> на высоту своей админ-панели, дублировать --bx-panel-height в
   padding'е <main> нельзя — иначе появляется лишняя белая полоса. */
.main { padding-top: var(--header-height); }
.main--has-crumbs { padding-top: calc(var(--header-height) + var(--crumbs-height, 56px)); }
.breadcrumbs {
  width: 100%;
  font-family: var(--font-display);
  font-size: clamp(12px, 0.95vw, 14px);
  color: var(--color-text-muted);
  line-height: 1.4;
}
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
}
.breadcrumbs__item:not(:last-child)::after {
  content: '/';
  color: var(--b4-light-blue);
  font-weight: 400;
  margin-left: 0;
}
.breadcrumbs__link {
  color: var(--b4-blue-tec);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 500;
}
.breadcrumbs__link:hover {
  color: var(--b4-blue);
  text-decoration: underline;
}
.breadcrumbs__current {
  color: var(--color-text-muted);
  font-weight: 500;
}
@media (max-width: 768px) {
  .breadcrumbs-wrapper { padding-top: 8px; }
  .breadcrumbs { font-size: 12px; }
}

/* ===================================================
   Адаптивные оверрайды: гибкое масштабирование
   - убирает жёсткие пиксельные ширины
   - обеспечивает корректное поведение на любых viewport
   =================================================== */

/* Hero — заменяем фиксированную высоту на гибкую */
.hero__band { height: auto; min-height: clamp(420px, 40vw, 750px); }
.hero__title { max-width: 100%; }

/* Footer — убираем жёсткие пиксели, оставляем только пропорции */
@media (min-width: 1280px) {
  .footer__grid {
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 808px);
  }
  .footer__nav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__nav-col {
    width: 100%;
    height: auto;
    min-height: 280px;
  }
}
.footer__brand .footer__logo img { height: clamp(48px, 7vw, 110px); }

/* Hero actions — убираем жёсткую ширину 347px, оставляем гибкую */
.hero__actions .btn { width: auto; min-width: clamp(160px, 24vw, 320px); max-width: 100%; }

/* Section-band — на узких экранах нет необходимости в больших паддингах */
.section-band {
  padding: clamp(24px, 3.5vw, 64px) clamp(20px, 3vw, 60px);
}
.section-band--tight {
  padding: clamp(20px, 2.5vw, 48px) clamp(16px, 2.5vw, 60px);
}

/* Media-cards — гибкая ширина внутреннего изображения */
.media-card__image,
.news-card__image,
.product-card__media,
.solution-card__media {
  --media-card-gap: clamp(12px, 1.5vw, 24px);
  width: calc(100% - 2 * var(--media-card-gap));
  margin: var(--media-card-gap) var(--media-card-gap) 0;
  border-radius: calc(var(--radius-band) - var(--media-card-gap));
}

/* Карточки media — кнопки на одной линии */
.media-card,
.news-card,
.product-card,
.solution-card {
  height: 100%;
}
.media-card__body,
.news-card__body,
.product-card__body,
.solution-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__more,
.solution-card__more,
.media-card__more {
  margin-top: auto;
}

/* Hero band — гибкие отступы */
.hero__band {
  padding: clamp(40px, 5vw, 80px) clamp(20px, 4vw, 60px);
}

/* Дополнительная адаптация на узких viewport */
@media (max-width: 600px) {
  .b4-form__title { font-size: 20px; }
  .b4-form__input,
  .b4-form__textarea { height: 42px; font-size: 14px; padding: 0 14px; }
  .b4-form__textarea { padding: 10px 14px; min-height: 80px; }
  .b4-form__submit { height: 44px; }
  .breadcrumbs { font-size: 11px; }
  .breadcrumbs__list { gap: 2px 6px; }
}

/* Очень узкие экраны: 320-360 */
@media (max-width: 380px) {
  :root {
    --container-pad: 12px;
    --container-pad-h: 8px;
  }
  .grid--2 { grid-template-columns: 1fr; }
}

/* Сверхширокие экраны (>1920px) — растягиваем контент */
@media (min-width: 1921px) {
  :root {
    --container-max: 1760px;
  }
}

/* ===================================================
   Блог: компактные карточки + пагинация
   =================================================== */
.news-page__header {
  margin-bottom: clamp(24px, 2.5vw, 40px);
}
.news-page__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--color-primary);
}
.news-page__subtitle {
  margin: 0;
  font-size: clamp(14px, 1vw, 16px);
  color: var(--color-text-muted);
  line-height: 1.4;
  font-weight: 400;
}

.news-grid {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.news-card.news-card--compact {
  display: flex;
  flex-direction: column;
  background: var(--b4-white);
  border: 2px solid var(--b4-blue);
  border-radius: clamp(20px, 1.6vw, 28px);
  color: var(--color-text);
  overflow: hidden;
  isolation: isolate;
  height: 100%;
  text-decoration: none;
  /* Никаких transitions, влияющих на трансформацию, иначе при наведении/анимации
     scroll-плагинов swiper-slide способен срезать пиксели. */
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  margin: 0;
  padding: 0;
}
.news-card.news-card--compact > .news-card--compact__image:first-child {
  margin-top: 0;
}
.news-card.news-card--compact:hover {
  transform: none;
  box-shadow: 0 6px 18px rgba(var(--b4-blue-tec-rgb), 0.18);
  border-color: var(--b4-blue-tec);
}
.news-card--compact__image {
  width: 100%;
  margin: 0;
  border-radius: 0;
  aspect-ratio: 16 / 9;
  background: var(--b4-white);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--b4-blue);
}
.news-card--compact__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card--compact__image img.is-contain {
  object-fit: contain;
  padding: 0;
}
.news-card--compact__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 1.4vw, 22px) clamp(18px, 1.5vw, 24px) clamp(14px, 1.2vw, 20px);
  flex: 1;
  color: var(--color-text);
}
.news-card--compact__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.25;
  color: var(--color-primary);
}
.news-card.news-card--compact:hover .news-card--compact__title {
  color: var(--color-primary-hover);
}
.news-card--compact__excerpt {
  margin: 0;
  font-size: clamp(13px, 0.9vw, 14px);
  line-height: 1.4;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card--compact__date {
  margin-top: auto;
  align-self: flex-end;
  font-size: clamp(12px, 0.85vw, 13px);
  color: var(--color-text-muted);
}

/* Пагинация */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: clamp(24px, 3vw, 48px) auto 0;
}
.pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 2px solid var(--b4-blue);
  border-radius: 10px;
  background: var(--b4-white);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}
.pagination__item:hover {
  background: rgba(var(--b4-blue-rgb), 0.12);
  color: var(--color-primary);
}
.pagination__item--current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--b4-white);
  cursor: default;
}
.pagination__item--last {
  font-size: 18px;
  letter-spacing: -2px;
}
.pagination__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  color: var(--color-text-muted);
  font-size: 18px;
  line-height: 1;
  user-select: none;
}

@media (max-width: 1024px) {
  .news-grid.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .news-grid.grid--3 { grid-template-columns: 1fr; }
}


/* ============================================================
   Унификация карточек (продукты, решения, медиа) под стиль блога
   — белый фон, тонкая синяя рамка, картинка сверху, синий title.
   .news-card остаётся в феньшура-стиле для главной/слайдера.
   Категории (--simple) идут со своим оформлением — без белой плашки.
   ============================================================ */
.product-card:not(.product-card--simple),
.solution-card:not(.solution-card--simple),
.media-card {
  background: var(--b4-white);
  color: var(--color-text);
  border: 2px solid var(--b4-blue);
  border-radius: clamp(20px, 1.6vw, 28px);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.product-card:not(.product-card--simple):hover,
.solution-card:not(.solution-card--simple):hover,
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-card:not(.product-card--simple) .product-card__media,
.solution-card:not(.solution-card--simple) .solution-card__media,
.media-card__image {
  width: 100%;
  margin: 0;
  border-radius: 0;
  border-bottom: 2px solid var(--b4-blue);
  background: var(--b4-white);
  aspect-ratio: 16 / 9;
}
.product-card__media img.is-contain,
.solution-card__media img.is-contain,
.media-card__image img.is-contain {
  padding: 12px;
}
.product-card__body,
.solution-card__body,
.media-card__body {
  padding: clamp(16px, 1.4vw, 22px) clamp(18px, 1.5vw, 24px) clamp(14px, 1.2vw, 20px);
  color: var(--color-text);
  gap: 10px;
}
.product-card__category,
.solution-card__industry,
.media-card__eyebrow {
  font-size: clamp(12px, 0.85vw, 13px);
  color: var(--color-text-muted);
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
}
.product-card__title,
.solution-card__title,
.media-card__title {
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary);
  margin: 0 0 6px;
}
.product-card:hover .product-card__title,
.solution-card:hover .solution-card__title,
.media-card:hover .media-card__title {
  color: var(--color-primary-hover);
}
.product-card__text,
.solution-card__text,
.media-card__text {
  font-size: clamp(13px, 0.9vw, 14px);
  line-height: 1.4;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}
.product-card__more,
.solution-card__more,
.media-card__more {
  margin-top: auto;
  font-size: clamp(13px, 0.9vw, 14px);
  color: var(--color-primary);
  font-weight: 600;
}
.product-card__placeholder,
.solution-card__placeholder,
.media-card__placeholder {
  background: rgba(var(--b4-blue-rgb), 0.06);
}

a.product-card,
a.solution-card,
a.media-card {
  color: inherit;
  text-decoration: none;
}
a.product-card:hover,
a.solution-card:hover,
a.media-card:hover { color: inherit; }

/* На цветных секциях (.section-band с синим фоном) рамка карточек не нужна — наоборот, без неё контраст лучше */
.section-band .product-card,
.section-band .solution-card,
.section-band .media-card {
  border-color: rgba(255, 255, 255, 0.7);
}
.section-band .product-card__media,
.section-band .solution-card__media,
.section-band .media-card__image {
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   /about/ — большое фото, чередующиеся блоки, видео
   ============================================================ */
.about-hero-photo {
  width: 100%;
  border-radius: clamp(20px, 1.6vw, 32px);
  overflow: hidden;
  aspect-ratio: 21 / 9;
}
.about-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
  margin-bottom: clamp(32px, 4vw, 72px);
}
.about-split:last-child { margin-bottom: 0; }
.about-split__media {
  border-radius: clamp(16px, 1.4vw, 24px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--b4-gray-tec);
}
.about-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-split__text p {
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}
.about-split--reverse .about-split__media { order: 2; }
.about-split--reverse .about-split__text  { order: 1; }

@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-split--reverse .about-split__media { order: 0; }
  .about-split--reverse .about-split__text  { order: 0; }
}

/* Видео-плеер: большое превью + кнопка */
.about-video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: clamp(20px, 1.6vw, 32px);
  overflow: hidden;
  background: var(--b4-blue-tec);
  text-decoration: none;
  cursor: pointer;
}
.about-video__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}
.about-video:hover .about-video__poster { transform: scale(1.02); }
.about-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}
.about-video__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 6vw, 96px);
  height: clamp(64px, 6vw, 96px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--b4-blue-tec);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-base), background var(--transition-base);
  z-index: 1;
}
.about-video__btn svg {
  width: 50%;
  height: 50%;
  margin-left: 6%;
}
.about-video:hover .about-video__btn {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--b4-white);
}
.about-video__label {
  position: absolute;
  bottom: clamp(16px, 2vw, 28px);
  left: clamp(16px, 2vw, 28px);
  color: var(--b4-white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 22px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* Модалка для видео */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 48px);
  z-index: 9999;
  animation: video-modal-fade 0.18s ease-out;
}
.video-modal[hidden] { display: none; }
@keyframes video-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.video-modal__inner {
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: clamp(12px, 1.2vw, 20px);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.video-modal__video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}
.video-modal__close {
  position: absolute;
  top: clamp(12px, 2vw, 28px);
  right: clamp(12px, 2vw, 28px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--b4-blue-tec);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: background var(--transition-base), transform var(--transition-base);
}
.video-modal__close:hover {
  background: var(--b4-white);
  transform: scale(1.06);
}

/* Placeholder-вариант видео-блока */
.about-video--placeholder {
  cursor: default;
  filter: saturate(0.6) brightness(0.85);
}
.about-video--placeholder::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0, rgba(0, 0, 0, 0.5) 100%);
}
.about-video--placeholder .about-video__label {
  opacity: 0.9;
}

/* ============================================================
   Поздние мобильные оверрайды (перебивают базовые правила
   .products-band/.news-card-* — те объявлены ниже их @media)
   ============================================================ */
@media (max-width: 1024px) {
  .products-band .section-band__head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }
  .products-band .section-band__head .section-band__subtitle {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .products-band .section-band__head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
    text-align: center;
  }
  .products-band .section-band__head .section-band__subtitle {
    text-align: center;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .products-band__grid > .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .products-band__grid .product-card--simple .product-card__title {
    font-size: 15px;
    line-height: 1.2;
    hyphens: manual;
    word-break: normal;
  }

  /* News feature на мобиле — компактно, без длинных вертикальных колонок */
  .news-card--feature {
    min-height: 220px;
    padding: 16px;
  }
  .news-card--feature__overlay { padding: 14px 18px; }
  .news-card--feature__title { font-size: 18px; }
  .news-card--narrow {
    min-height: auto;
    padding: 16px 18px;
    gap: 8px;
  }
  .news-card--narrow__title { font-size: 15px; }
  .news-card--narrow__excerpt {
    font-size: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
  }
  .news-card--narrow__date { font-size: 12px; padding: 6px 10px; }
}

/* Очень узкий мобильный — все категории и узкие новости в одну колонку */
@media (max-width: 480px) {
  .products-band__grid > .grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .products-band .section-band__title { font-size: 22px; }
  .products-band__grid .product-card--simple .product-card__media {
    aspect-ratio: 16 / 9;
  }
  .news-feature__side {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .news-card--narrow {
    min-height: auto;
    padding: 14px 16px;
  }
}

/* ===================================================
   Home about — фото слева, текст справа + CTA (homepage)
   =================================================== */
.home-about { padding: 48px 0; }
.home-about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.home-about__media {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--b4-gray-tec);
  aspect-ratio: 4 / 3;
}
.home-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-about__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.home-about__content p {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--b4-blue-tec);
  margin: 0;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.home-about__cta {
  margin-top: 8px;
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-pill);
}
/* Мобила/планшет: центрируем контент home-about и кнопку для органичного вида */
@media (max-width: 1023px) {
  .home-about__content { align-items: center; text-align: center; }
  .home-about__content p { text-align: center; }
  .home-about__cta { margin-left: auto; margin-right: auto; align-self: center; }
}
@media (min-width: 1024px) {
  .home-about { padding: 80px 0; }
  .home-about__grid {
    grid-template-columns: 5fr 6fr;
    gap: clamp(32px, 5vw, 80px);
  }
  .home-about__cta {
    align-self: flex-start;
    width: auto;
    min-width: 280px;
  }
}

/* ===================================================
   Home stats — 4 числа в ряд на белом фоне (homepage)
   =================================================== */
.home-stats { padding: 16px 0 48px; }
.home-stats__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 56px);
}
.home-stats__item {
  display: flex;
  flex-direction: column;
  /* Подпись центрируется относительно ширины числа (фикс лист 3, п.2.1) */
  align-items: center;
  gap: 4px;
  text-align: center;
}
/* Мобила/планшет: 2 в ряд, центрируем item'ы и сбрасываем right-aligned для last-child */
@media (max-width: 767px) {
  .home-stats__inner { gap: 20px; }
  .home-stats__inner .home-stats__item { flex: 0 0 calc(50% - 12px); align-items: center; text-align: center; }
}
@media (max-width: 480px) {
  .home-stats__inner .home-stats__item { flex: 0 0 100%; }
}
.home-stats__number {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 80px);
  font-weight: 500;
  line-height: 1;
  color: var(--b4-blue-tec);
  /* Моноширинные цифры + центровка: при анимации счётчика ширина числа
     зафиксирована (min-width задаётся в stats-counter.js), а цифры центруются
     внутри — подпись снизу больше не дёргается. Фикс-лист 5, п.1. */
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.home-stats__label {
  font-size: var(--fs-body);
  color: var(--b4-blue-tec);
  font-weight: 400;
  line-height: 1.3;
}
@media (min-width: 1024px) {
  .home-stats { padding: 24px 0 80px; }
}

/* ===================================================
   Детальная страница продукта (b4com:products.detail)
   =================================================== */
.pd__head {
  max-width: 920px;
  margin: 0 0 clamp(28px, 3vw, 48px);
}
.pd__category {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-micro);
  font-weight: 600;
  color: var(--color-text-on-blue);
  background: var(--b4-blue-tec);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
}
.pd__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, var(--fs-h1));
  font-weight: 600;
  line-height: 1.08;
  color: var(--color-primary);
  margin: 0;
  word-wrap: break-word;
}
.pd__lead {
  color: var(--color-text-muted);
  font-size: var(--fs-lead);
  line-height: 1.5;
  margin: var(--space-4) 0 0;
  max-width: 820px;
}

.pd__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
}
@media (max-width: 900px) {
  .pd__layout { grid-template-columns: 1fr; }
}

.pd__gallery {
  position: sticky;
  top: calc(var(--header-height) + 16px);
}
@media (max-width: 900px) {
  .pd__gallery { position: static; }
}
/* Одиночная картинка без Swiper — никакого реактивного пересчёта.
   Контейнер строго содержит figure, figure строго содержит image. */
.pd__gallery--static {
  position: static;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.pd__gallery--static .pd-figure {
  display: block;
  width: 100%;
  margin: 0;
}
.pd__gallery--static .pd-slide {
  display: block;
  width: 100%;
}
.pd__gallery--static .pd-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 60vh;
}
@media (max-width: 900px) {
  .pd__gallery--static .pd-slide img { max-height: 50vh; }
}

.pd-swiper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  /* Без рамки/фона: картинка сама — блок, без декоративного «фрейма» вокруг (баг img_7). */
  background: transparent;
  border: 0;
}
/* Safety: даже если Swiper не успел подгрузиться (или ошибка JS),
   слайд жёстко занимает ширину контейнера — иначе на мобиле картинка
   в натуральном размере распирает страницу (баг img_2). */
.pd-swiper .swiper-slide {
  width: 100%;
  flex-shrink: 0;
  min-width: 0;
}
.pd-slide {
  display: block;
  position: relative;
  width: 100%;
  /* padding=0 — изображение прижимается к рамке блока, без отступов внутри */
  padding: 0;
}
.pd-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  /* Защита от resize-loop на мобилке: жёсткий потолок высоты картинки
     не даёт layout-у бесконечно расти, если Swiper/анимация попадают в цикл. */
  max-height: 70vh;
}
@media (max-width: 900px) {
  .pd-slide img { max-height: 60vh; }
}
.pd-slide__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--b4-blue-tec);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}
.pd-slide:hover .pd-slide__zoom { opacity: 1; }

.pd-swiper .swiper-button-prev,
.pd-swiper .swiper-button-next { color: var(--b4-blue-tec); }
.pd-swiper .swiper-button-prev::after,
.pd-swiper .swiper-button-next::after { font-size: 22px; font-weight: 700; }
.pd-swiper .swiper-pagination-bullet-active { background: var(--b4-blue-tec); }

/* Табы */
.pd-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 1.4vw, 22px);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-6);
}
.pd-tabs__tab {
  font-family: var(--font-display);
  font-weight: 500;
  /* Сайт сузили до 1300 — уменьшили шрифт табов, чтобы 4 базовых
     таба (Характеристики/Особенности/Описание/Применение) ложились в одну строку. */
  font-size: clamp(12px, 0.8vw, 14px);
  color: var(--b4-blue-tec);
  background: none;
  border: 0;
  padding: 10px 2px 14px;
  cursor: pointer;
  opacity: 0.55;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: opacity var(--transition-base);
}
.pd-tabs__tab:hover { opacity: 0.85; }
.pd-tabs__tab.is-active { opacity: 1; font-weight: 700; }
.pd-tabs__tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--b4-blue-tec);
  border-radius: 2px;
}
.pd-panel { display: block; }
.pd-panel[hidden] { display: none; }
.pd-panel:not(.is-active):not([hidden]) { }

/* Зебра */
.pd-zebra__row { border-radius: var(--radius-lg); }
.pd-zebra__row.is-odd { background: var(--b4-gray-tec); }
.pd-zebra__row + .pd-zebra__row { margin-top: var(--space-4); }
.pd-zebra__inner { padding: clamp(16px, 2vw, 28px); }
.pd-zebra__title {
  color: var(--b4-blue-tec);
  font-size: var(--fs-h3);
  margin: 0 0 var(--space-4);
}
.pd-single__title { color: var(--b4-blue-tec); margin: 0 0 var(--space-4); }

.pd__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: clamp(28px, 3vw, 48px);
}
/* Полноширинный блок кнопок снизу страницы (под сеткой картинка+табы) */
.pd__actions--bottom {
  margin-top: clamp(28px, 4vw, 56px);
  padding-top: clamp(20px, 2.5vw, 32px);
  border-top: 1px solid var(--color-border);
}

/* --- Детальные: общие раскладки для решений и новостей --- */
.pd__layout--full { grid-template-columns: 1fr; }
.pd__category--date { text-transform: none; letter-spacing: 0.02em; }

/* Одиночная картинка в рамке (решения) — без декоративного фрейма, фото = блок */
.pd-figure {
  display: block;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: transparent;
  border: 0;
}
.pd-figure .media-fixed,
.pd-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 70vh;
}
@media (max-width: 900px) {
  .pd-figure .media-fixed,
  .pd-figure img { max-height: 60vh; }
}
.pd-figure:hover .pd-slide__zoom { opacity: 1; }

/* Текстовые инфоблоки (новости/лендинги) — ограничиваем читаемой шириной,
   чтобы не «гуляли» относительно остальной сетки (продукты, у которых
   текстовая колонка узкая из-за 2-колоночного pd__layout). */
.news-detail .pd__head,
.news-detail .pd__banner,
.news-detail .pd__content--article,
.news-detail .pd__actions--bottom {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

/* Широкий баннер (новости) */
.pd__banner {
  aspect-ratio: 16 / 6;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--b4-gray-tec);
  margin-bottom: clamp(24px, 3vw, 44px);
}
.pd-banner__link { display: block; width: 100%; height: 100%; }
@media (max-width: 700px) { .pd__banner { aspect-ratio: 16 / 9; } }

/* Линейные секции (новости / одиночный блок) — во всю ширину контента */
.pd-linear__row + .pd-linear__row {
  margin-top: clamp(28px, 3vw, 48px);
  padding-top: clamp(28px, 3vw, 48px);
  border-top: 1px solid var(--color-border);
}
.pd-linear__title {
  color: var(--b4-blue-tec);
  font-size: var(--fs-h3);
  margin: 0 0 var(--space-4);
}
.pd__content--article .news-detail__body { font-size: var(--fs-body); }
.pd__content--article .news-detail__tags { margin-top: clamp(28px, 3vw, 44px); }

/* =====================================================================
   РЕДИЗАЙН ГЛАВНОЙ (spec 001-redesign) — scoped-слой .page-home
   Источник токенов: specs/001-redesign/design-tokens/ (Figma «В4COM»).
   Изолирован классом .page-home на <body> — внутренние страницы не затронуты.
   Срез 1: токены + первый экран (тёмный герой + тёмная шапка поверх него).
   ===================================================================== */
.page-home {
  /* Токены редизайна (Manrope + тёмно-синий #103E69) — только на главной. */
  --rd-navy:        #103E69;   /* бренд */
  --rd-navy-2:      #32569D;   /* акцент/ховер-бордер */
  --rd-blue-soft:   #ABC7FF;
  --rd-bg-soft:     #F6F7F9;
  --rd-border:      #C1C9D8;
  --rd-border-2:    #CBD4E5;
  --rd-font:        'Manrope', 'Wix Madefor Display', system-ui, sans-serif;
  font-family: var(--rd-font);
}
.page-home .section,
.page-home .hero-v2,
.page-home h1, .page-home h2, .page-home h3, .page-home p,
.page-home a, .page-home button, .page-home input, .page-home textarea {
  font-family: var(--rd-font);
}

/* На главной шапка лежит ПОВЕРХ героя — контент главной начинается от самого верха. */
.page-home .main { padding-top: 0; }

/* --- Шашечная заливка секций (Figma): чередование #F6F7F9 / #FFFFFF --- */
.page-home .home-about-v2 { background: var(--rd-bg-soft); }   /* серый */
.page-home .home-products { background: #FFFFFF; }             /* белый */
.page-home .home-why      { background: var(--rd-bg-soft); }   /* серый */
.page-home .home-news     { background: #FFFFFF; }             /* белый */
.page-home .home-contacts { background: var(--rd-bg-soft); }   /* серый */

/* --- Первый экран (Figma «Главный экран», 1920×840) --- */
.hero-v2 {
  position: relative;
  width: 100%;
  min-height: clamp(480px, 43.75vw, 840px);   /* 840/1920 = 43.75% */
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #06121F;
}
.hero-v2__media { position: absolute; inset: 0; z-index: 0; }
.hero-v2__poster,
.hero-v2__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-v2__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,18,38,0.88) 0%, rgba(6,18,38,0.55) 42%, rgba(6,18,38,0.18) 100%),
    linear-gradient(180deg, rgba(6,18,38,0.35) 0%, rgba(6,18,38,0.0) 30%, rgba(6,18,38,0.45) 100%);
}
.hero-v2__inner { position: relative; z-index: 2; width: 100%; min-width: 0; }
.hero-v2__content {
  width: 100%;
  max-width: 720px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 1.6vw, 28px);
  padding: clamp(96px, 10vw, 140px) 0 clamp(40px, 4vw, 64px);
  color: #FFFFFF;
}
.hero-v2__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(30px, 3.85vw, 74px);   /* 74px @1920 */
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  overflow-wrap: anywhere;
}
.hero-v2__subtitle {
  margin: 0;
  font-weight: 400;
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.3;
  color: rgba(255,255,255,0.92);
  max-width: 560px;
  overflow-wrap: anywhere;
}
/* Бейдж-пилюля над заголовком (Figma «современное сетевое оборудование для бизнеса») */
.hero-v2__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 100px;
  font-weight: 400;
  font-size: clamp(14px, 1.05vw, 20px);
  line-height: 1.2;
  color: #FFFFFF;
  backdrop-filter: blur(2px);
}
.hero-v2__actions { margin-top: clamp(6px, 0.8vw, 12px); }
/* CTA — белая пилюля с тёмным текстом (Figma «Кнопка» #FFFFFF, r=100) */
.hero-v2__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 40px;
  background: #FFFFFF;
  color: #000000;
  font-weight: 400;
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1;
  border-radius: 100px;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.hero-v2__cta img { width: 24px; height: 24px; filter: none; transition: transform .2s ease; }
.hero-v2__cta:hover { background: #EEF2F8; transform: translateY(-1px); color: #000; }
.hero-v2__cta:hover img { transform: translate(2px,-2px); }

/* --- Тёмная шапка поверх героя (только главная, пока не проскроллили герой) --- */
.header--over-hero {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}
.header--over-hero .header__logo img { filter: brightness(0) invert(1); }
.header--over-hero .nav--desktop .nav__link { color: #FFFFFF; }
.header--over-hero .nav--desktop .nav__link:hover,
.header--over-hero .nav--desktop .nav__link--active {
  color: #FFFFFF;
  background: rgba(255,255,255,0.14);
}
.header--over-hero .header__cta .btn {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.55);
  color: #FFFFFF;
}
.header--over-hero .header__cta .btn:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--rd-navy);
}
.header--over-hero .burger__line { background: #FFFFFF; }

@media (max-width: 767px) {
  .hero-v2 { min-height: 82vh; }
  .hero-v2__scrim {
    background:
      linear-gradient(180deg, rgba(6,18,38,0.55) 0%, rgba(6,18,38,0.25) 40%, rgba(6,18,38,0.65) 100%);
  }
  .hero-v2__content {
    max-width: 100%;
    padding-top: clamp(120px, 22vw, 160px);
    gap: 16px;
  }
  .hero-v2__title { font-size: clamp(28px, 8.6vw, 40px); line-height: 1.12; }
  .hero-v2__subtitle { font-size: 15px; line-height: 1.35; max-width: 100%; }
  .hero-v2__cta { width: 100%; justify-content: center; }
}

/* --- Переиспользуемые элементы редизайна (scoped .page-home) --- */
.page-home .rd-section-title {
  margin: 0 0 clamp(28px, 3vw, 48px);
  font-weight: 500;
  font-size: clamp(28px, 3.1vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #000;
  text-align: center;
}
.page-home .rd-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--rd-navy);
  color: #FFFFFF;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  border-radius: 10px;
  transition: background .2s ease, transform .2s ease;
}
.page-home .rd-btn:hover { background: var(--rd-navy-2); color: #FFFFFF; transform: translateY(-1px); }

/* --- Блок «О компании» (Figma «О компании», 1920×859) — белая карточка на сером --- */
.home-about-v2 { padding-top: clamp(48px, 5vw, 80px); }
.home-about-v2__card {
  max-width: 1180px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 24px;
  padding: clamp(24px, 2.2vw, 40px);
}
.home-about-v2__grid {
  display: grid;
  grid-template-columns: minmax(0, 470px) 1fr;
  gap: clamp(28px, 3vw, 56px);
  align-items: center;
}
.home-about-v2__media img {
  width: 100%; height: auto; display: block;
  border-radius: 20px;
  object-fit: cover;
}
.home-about-v2__content { display: flex; flex-direction: column; }
.home-about-v2__content p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
}
.home-about-v2__cta { margin-top: 8px; align-self: flex-end; }
/* Кнопка «Подробнее» — тёмно-синяя пилюля (Figma r=100) */
.home-about-v2__cta.rd-btn { border-radius: 100px; padding: 15px 36px; }
.home-about-v2__stats {
  max-width: 1180px;
  margin: clamp(20px, 2vw, 28px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.5vw, 24px);
}
/* Каждый счётчик — белая карточка с разделителем под числом (Figma) */
.rd-stat {
  background: #FFFFFF;
  border-radius: 20px;
  padding: clamp(20px, 1.8vw, 28px);
}
.rd-stat__num {
  font-weight: 500;
  font-size: clamp(34px, 3.1vw, 60px);
  line-height: 1.1;
  color: var(--rd-navy);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rd-border);
}
.rd-stat__label {
  margin-top: 12px;
  font-size: 16px;
  color: #000;
}
@media (max-width: 900px) {
  .home-about-v2__grid { grid-template-columns: 1fr; }
  .home-about-v2__cta { align-self: stretch; }
  .home-about-v2__stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 767px) {
  .home-about-v2__content p { font-size: 15px; }
  .home-about-v2__cta.rd-btn { width: 100%; justify-content: center; }
  .rd-stat__num { font-size: clamp(30px, 9vw, 44px); }
}

/* --- Блок «Наша продукция» (Figma «Наша продукция», 1920×905) --- */
.home-products { padding-top: clamp(48px, 5vw, 80px); }
.rd-products__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 28px);
}
.rd-product-card {
  display: flex;
  flex-direction: column;
  background: var(--rd-bg-soft);
  border: 1px solid transparent;
  border-radius: 20px;
  padding: clamp(20px, 1.8vw, 32px);
  min-height: 240px;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.rd-product-card:hover {
  border-color: var(--rd-navy-2);
  box-shadow: 0 12px 30px rgba(16, 62, 105, 0.12);
  transform: translateY(-3px);
}
.rd-product-card__media {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin-bottom: 18px;
}
.rd-product-card__media img {
  max-width: 100%;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Разделитель между иллюстрацией и названием (Figma) + название по центру */
.rd-product-card__title {
  padding-top: 16px;
  border-top: 1px solid var(--rd-border);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: #000;
  text-align: center;
}
@media (max-width: 900px) {
  .rd-products__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .rd-products__grid { grid-template-columns: 1fr; }
  .rd-product-card { min-height: 0; flex-direction: row; align-items: center; gap: 16px; }
  .rd-product-card__media { margin-bottom: 0; min-height: 0; width: 96px; flex: 0 0 96px; }
  .rd-product-card__media img { max-height: 70px; }
  .rd-product-card__title { border-top: none; padding-top: 0; text-align: left; }
}

/* --- Блок «Почему выбирают нас» (Figma, 1920×613) --- */
.home-why { padding-top: clamp(48px, 5vw, 80px); }
.rd-why__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 1.6vw, 28px);
}
/* Белые карточки с центрированным контентом (Figma) */
.rd-why__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  background: #FFFFFF;
  border: 1px solid var(--rd-border-2);
  border-radius: 20px;
  padding: clamp(24px, 2vw, 36px) clamp(18px, 1.6vw, 28px);
}
.rd-why__icon { width: 70px; height: 70px; }
.rd-why__title {
  margin: 0;
  padding-bottom: 18px;
  width: 100%;
  border-bottom: 1px solid var(--rd-border);
  font-weight: 700;
  font-size: clamp(19px, 1.4vw, 24px);
  line-height: 1.2;
  color: var(--rd-navy);
}
.rd-why__text { margin: 0; font-size: 16px; line-height: 1.5; color: #000; }
.rd-why__text + .rd-why__text { margin-top: .6em; }
@media (max-width: 900px) {
  .rd-why__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}
@media (max-width: 480px) {
  .rd-why__grid { grid-template-columns: 1fr; }
}

/* --- Блок «Новости компании» (Figma, 1920×866) — белые карточки с рамкой --- */
.home-news { padding-top: clamp(48px, 5vw, 80px); }
.home-news__head { max-width: 1180px; margin: 0 auto clamp(28px, 3vw, 48px); }
.home-news__title { margin: 0; }   /* .rd-section-title центрирует */
.rd-news__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
.rd-news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--rd-bg-soft);      /* Figma: заливка карточки #F6F7F9 */
  border: 2px solid var(--rd-navy);   /* Figma: рамка 2px #103E69 */
  border-radius: 20px;
  padding: clamp(16px, 1.2vw, 20px);
  transition: transform .2s ease, box-shadow .2s ease;
}
.rd-news-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(16,62,105,0.10); }
.rd-news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--rd-bg-soft);
  margin-bottom: 16px;
}
.rd-news-card__media img { width: 100%; height: 100%; object-fit: cover; }
/* Дата — белая пилюля поверх изображения (Figma) */
.rd-news-card__date {
  position: absolute;
  top: 12px; left: 12px;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12px;
  line-height: 1.2;
  color: #000;
}
.rd-news-card__title {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: clamp(18px, 1.3vw, 21px);
  line-height: 1.25;
  color: var(--rd-navy);
}
.rd-news-card__text {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.45;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rd-news-card__more {
  margin-top: auto;
  align-self: flex-end;               /* Figma: «Подробнее» справа */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: var(--rd-navy);
}
.rd-news-card__more img { width: 18px; height: 18px; }
/* «Все новости» — под сеткой, справа (Figma) */
.home-news__foot {
  max-width: 1180px;
  margin: clamp(20px, 2vw, 28px) auto 0;
  display: flex;
  justify-content: flex-end;
}
.home-news__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 16px;
  color: var(--rd-navy);
}
.home-news__all:hover { color: var(--rd-navy-2); }
.home-news__all img { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .rd-news__grid { grid-template-columns: 1fr; max-width: 560px; }
  .home-news__head, .home-news__foot { max-width: 560px; }
}

/* --- Блок «Форма + контакты» (Figma, 1920×741), светлый --- */
.home-contacts { padding-top: clamp(48px, 5vw, 80px); }
.home-contacts__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}
.home-contacts__title {
  margin: 0 0 12px;
  font-weight: 500;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.2;
  color: var(--rd-navy);
}
.home-contacts__lead { margin: 0 0 24px; font-size: 16px; line-height: 1.5; color: #000; }
/* Контакты — белая карточка (Figma «Контакты» #FFFFFF, r=20) с центрированным заголовком */
.home-contacts__info {
  background: #FFFFFF;
  border-radius: 20px;
  padding: clamp(28px, 2.6vw, 48px) clamp(24px, 2.2vw, 40px);
}
.home-contacts__subtitle {
  margin: 0 0 28px;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
  color: var(--rd-navy);
  text-align: center;
}
/* Единый стиль с /contacts/ (contacts-rd): значения 1:1, чтобы блоки не расходились. */
.page-home .home-contacts .b4-form__group { margin-bottom: 18px; }
.page-home .home-contacts .b4-form__label { color: #000; font-weight: 400; font-size: 14px; }
/* Поля — белые пилюли (Figma r=100), высота 50; textarea r=20 */
.page-home .home-contacts .b4-form__input,
.page-home .home-contacts .b4-form__textarea {
  background: #FFFFFF;
  border: 1px solid #E6EAF1;
  color: #10151C;
  font-size: 15px;
}
.page-home .home-contacts .b4-form__input { border-radius: 100px; padding: 0 24px; height: 50px; }
.page-home .home-contacts .b4-form__textarea { border-radius: 20px; padding: 14px 24px; min-height: 100px; }
.page-home .home-contacts .b4-form__input::placeholder,
.page-home .home-contacts .b4-form__textarea::placeholder { color: #B9C2D2; opacity: 1; }
.page-home .home-contacts .b4-form__input:focus,
.page-home .home-contacts .b4-form__textarea:focus { border-color: var(--rd-navy); box-shadow: 0 0 0 3px rgba(16,62,105,.10); outline: none; }
.page-home .home-contacts .b4-form__consent-text,
.page-home .home-contacts .b4-form__consent-text a { color: #000; }
/* Кнопка «Отправить» — залитая navy пилюля, высота 50 (как на /contacts/) */
.page-home .home-contacts .b4-form__submit {
  background: var(--rd-navy);
  color: #FFFFFF;
  border: 1px solid var(--rd-navy);
  border-radius: 100px;
  height: 50px;
}
.page-home .home-contacts .b4-form__submit:hover { background: var(--rd-navy-2); border-color: var(--rd-navy-2); }
.page-home .home-contacts .contact-info__item,
.page-home .home-contacts .contact-info__text,
.page-home .home-contacts .contact-info__text a { color: #000; }
/* Иконки контактов — компактные navy-бейджи 30×30 r8 (как на /contacts/) */
.page-home .home-contacts .contact-info__item { gap: 20px; align-items: flex-start; }
.page-home .home-contacts .contact-info__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  flex: 0 0 30px;
  background: var(--rd-navy);
  border-radius: 8px;
  color: #FFFFFF;
}
.page-home .home-contacts .contact-info__icon svg { width: 15px; height: 15px; }
.page-home .home-contacts .contact-info__text { padding-top: 3px; }
/* Почты инлайн серым в скобках (как на /contacts/) */
.page-home .home-contacts .contact-info__email-row { display: block; }
.page-home .home-contacts .contact-info__email-row a { white-space: nowrap; }
.page-home .home-contacts .contact-info__email-note { display: inline; color: #A9B2C2; font-size: 13px; margin-left: 8px; white-space: nowrap; }
@media (max-width: 900px) {
  .home-contacts__grid { grid-template-columns: 1fr; }
}

/* --- Футер (Figma «Футер», 1920×457), тёмный — только главная --- */
.footer-v2 {
  /* Футер живёт на уровне body (вне scoped .page-home/.rd-page), поэтому даём
     фолбэк-значение бренд-цвета — иначе на внутренних страницах фон «пропадает». */
  background: var(--rd-navy, #103E69);
  color: #FFFFFF;
  padding: clamp(44px, 4vw, 64px) 0 clamp(24px, 2vw, 36px);
}
.footer-v2__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 56px);
}
.footer-v2__logo { height: clamp(64px, 4.4vw, 76px); width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-v2__tagline { margin: 0 0 20px; font-size: 16px; line-height: 1.5; color: #ABC7FF; max-width: 360px; }
.footer-v2__contacts { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer-v2__contacts a, .footer-v2__contacts span { color: #FFFFFF; }
.footer-v2__contacts a:hover { color: #ABC7FF; }
.footer-v2__title {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #FCEDEB;
}
.footer-v2__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-v2__col a { font-size: 16px; color: #ABC7FF; }
.footer-v2__col a:hover { color: #FFFFFF; }
.footer-v2__bottom {
  margin-top: clamp(32px, 3vw, 48px);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 16px;
  color: #6187D3;
}
@media (max-width: 900px) {
  .footer-v2__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-v2__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-v2__grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   РЕДИЗАЙН ВНУТРЕННИХ СТРАНИЦ (spec 001-redesign) — переиспользуемый слой .rd-page
   Токены/шрифт/хелперы редизайна для страниц вне главной, без правки .page-home.
   ===================================================================== */
.rd-page {
  --rd-navy: #103E69;
  --rd-navy-2: #32569D;
  --rd-blue-soft: #ABC7FF;
  --rd-bg-soft: #F6F7F9;
  --rd-border: #C1C9D8;
  --rd-border-2: #CBD4E5;
  --rd-font: 'Manrope', 'Wix Madefor Display', system-ui, sans-serif;
  font-family: var(--rd-font);
}
.rd-page h1, .rd-page h2, .rd-page h3, .rd-page h4,
.rd-page p, .rd-page a, .rd-page button, .rd-page input, .rd-page textarea {
  font-family: var(--rd-font);
}
.rd-page .rd-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--rd-navy);
  color: #FFFFFF;
  border: none;
  border-radius: 100px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.rd-page .rd-btn:hover { background: var(--rd-navy-2); color: #FFFFFF; transform: translateY(-1px); }

/* --- 02 Продукты (Figma «02_Продукты», 1920/360) --- */
.page-products .rd-page-title {
  margin: clamp(8px, 1vw, 16px) 0 clamp(28px, 3vw, 44px);
  font-weight: 500;
  font-size: clamp(30px, 3vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #000;
}
.rd-catalog {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 2.5vw, 36px) 0 clamp(48px, 5vw, 80px);
}
.rd-catalog__uzory {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1600px, 108%);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  opacity: .8;
  user-select: none;
}
.rd-catalog .container { position: relative; z-index: 1; }
/* Сетка карточек на странице каталога — шире, чем на главной */
.page-products .rd-products__grid { max-width: none; }

/* На мобилке карточки каталога — вертикальные (как в макете 02), а не строки */
@media (max-width: 560px) {
  .page-products .rd-product-card {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 0;
  }
  .page-products .rd-product-card__media {
    width: auto;
    flex: 1 1 auto;
    min-height: 120px;
    margin-bottom: 16px;
  }
  .page-products .rd-product-card__media img { max-height: 130px; }
  .page-products .rd-product-card__title {
    border-top: 1px solid var(--rd-border);
    padding-top: 16px;
    text-align: center;
  }
}

/* --- Блок «Не нашли нужный продукт?» --- */
.rd-find-section { padding: 0 0 clamp(56px, 6vw, 96px); }
.rd-find {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2vw, 36px);
  border: 1px solid var(--rd-border);
  border-radius: 24px;
  padding: clamp(28px, 3vw, 48px);
  background: #FFFFFF;
  overflow: hidden;
}
.rd-find__icon { flex: 0 0 auto; }
.rd-find__icon img { display: block; width: clamp(72px, 6vw, 100px); height: auto; }
.rd-find__body { flex: 1 1 auto; min-width: 0; }
.rd-find__title {
  margin: 0 0 12px;
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.1;
  color: var(--rd-navy);
}
.rd-find__text {
  margin: 0 0 clamp(18px, 2vw, 28px);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.45;
  color: rgba(0,0,0,.72);
}
.rd-find__illust {
  flex: 0 0 auto;
  width: clamp(220px, 22vw, 389px);
  height: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  .rd-find { flex-direction: column; align-items: flex-start; text-align: left; }
  .rd-find__icon { display: none; }
  .rd-find__illust { order: 2; align-self: center; width: min(320px, 80%); margin: 8px 0; }
  .rd-find__btn { order: 3; }
  .rd-find__body { order: 1; display: contents; }
}
@media (max-width: 560px) {
  .rd-find { align-items: center; text-align: center; }
  .rd-find__title { font-size: clamp(22px, 6.5vw, 28px); }
  .rd-find__btn { width: 100%; justify-content: center; }
}

/* --- 03 Категория каталога (Figma «03_Коммутаторы») --- */
.page-catalog .rd-catalog__lead {
  margin: -8px 0 16px;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.5;
  color: rgba(0,0,0,.66);
  max-width: 780px;
}
.rd-catalog__back { margin: 0 0 clamp(20px, 2vw, 32px); }
.rd-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--rd-navy);
  text-decoration: none;
}
.rd-back-link:hover { color: var(--rd-navy-2); }
.rd-catalog__empty { color: rgba(0,0,0,.6); font-size: 16px; padding: 24px 0; }

.rd-goods__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 28px);
}
.rd-good-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--rd-border);
  border-radius: 20px;
  padding: clamp(18px, 1.6vw, 28px);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.rd-good-card:hover {
  border-color: var(--rd-navy-2);
  box-shadow: 0 12px 30px rgba(16, 62, 105, 0.12);
  transform: translateY(-3px);
}
.rd-good-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  margin-bottom: 18px;
}
.rd-good-card__media img { max-width: 100%; max-height: 180px; width: auto; height: auto; object-fit: contain; }
.rd-good-card__body { display: flex; flex-direction: column; flex: 1 1 auto; border-top: 1px solid var(--rd-border); padding-top: 16px; }
.rd-good-card__title { margin: 0 0 8px; font-weight: 500; font-size: 18px; line-height: 1.25; color: #000; }
.rd-good-card__text {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(0,0,0,.62);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.rd-good-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 15px;
  color: var(--rd-navy);
}
.rd-good-card:hover .rd-good-card__more { color: var(--rd-navy-2); }
.rd-good-card__more svg { transition: transform .2s ease; }
.rd-good-card:hover .rd-good-card__more svg { transform: translateX(3px); }
@media (max-width: 900px) { .rd-goods__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rd-goods__grid { grid-template-columns: 1fr; } }

/* ============================================================
   RD-MIGRATION (доп. блок в конце — правила побеждают каскад)
   ============================================================ */

/* Фикс «резины» на >1920px: НЕ растягивать контент до 1760, держать
   1600 (контент 1440 = ширина макета), просто центрировать с полями.
   Отменяет @media(min-width:1921px){--container-max:1760px} из основного CSS. */
@media (min-width: 1921px) {
  :root { --container-max: 1300px; }
}

/* ===== Решения ===== */
.sol-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(16px,1.8vw,24px);align-items:stretch}
.sol-card{display:flex;flex-direction:column;background:#F6F8FC;border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:clamp(22px,2vw,30px);text-decoration:none;color:inherit;transition:transform var(--transition-base),box-shadow var(--transition-base)}
.sol-card:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(16,62,105,.10)}
.sol-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px;min-height:56px}
.sol-card__icon{width:56px;height:56px;color:#9aa6b6;flex-shrink:0}
.sol-card__icon svg{width:100%;height:100%;display:block}
/* Бейдж отрасли: НЕ nowrap — длинные названия («Финансовые и торговые организации»)
   иначе распирают колонку и ломают равную сетку 4×1fr. Переносим + выравниваем. */
.sol-card__badge{align-self:flex-start;max-width:60%;background:var(--b4-blue-tec);color:#fff;font-size:12px;font-weight:500;padding:6px 14px;border-radius:14px;white-space:normal;text-align:center;line-height:1.25}
.sol-card__title{font-family:var(--font-display);font-weight:600;font-size:clamp(18px,1.5vw,22px);color:var(--b4-blue-tec);line-height:1.2;margin:0 0 16px}
.sol-card__divider{display:block;width:100%;height:1px;background:var(--color-border);margin:0 0 16px}
.sol-card__text{font-size:clamp(13px,1vw,15px);line-height:1.55;color:var(--color-text);margin:0 0 20px}
.sol-card__more{margin-top:auto;display:inline-flex;align-items:center;gap:8px;color:var(--b4-blue-tec);font-weight:500;font-size:15px}
.sol-card__more svg{width:16px;height:16px;transition:transform var(--transition-base)}
.sol-card:hover .sol-card__more svg{transform:translate(3px,-3px)}
@media(max-width:1024px){.sol-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.sol-cards{grid-template-columns:1fr}}

.sol-cta{position:relative;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-2xl);padding:clamp(28px,4vw,56px);display:flex;align-items:center;gap:clamp(24px,4vw,56px);background:#fff}
.sol-cta__graph{position:absolute;right:clamp(8px,2vw,44px);top:50%;transform:translateY(-50%);width:min(40%,380px);color:rgba(79,109,173,.42);pointer-events:none;z-index:0}
.sol-cta__graph svg{width:100%;height:auto;display:block}
.sol-cta__icon,.sol-cta__body{position:relative;z-index:1}
.sol-cta__body{max-width:60%}
@media(max-width:980px){.sol-cta__graph{display:none}.sol-cta__body{max-width:none}}
.sol-cta__icon{flex-shrink:0;width:clamp(80px,7vw,104px);height:clamp(80px,7vw,104px);border:2px solid var(--b4-blue-tec);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--b4-blue-tec)}
.sol-cta__icon svg{width:46%;height:46%}
.sol-cta__body{flex:1}
.sol-cta__title{font-family:var(--font-display);font-weight:500;font-size:clamp(24px,2.6vw,40px);color:var(--b4-blue-tec);margin:0 0 12px;line-height:1.1}
.sol-cta__text{font-size:clamp(14px,1.1vw,17px);color:var(--color-text-muted);margin:0 0 24px;line-height:1.5}
@media(max-width:768px){.sol-cta{flex-direction:column;text-align:center}}

/* ===== Hero-пилюля (Партнёрство/Поддержка) ===== */
.page-hero__inner--pill{display:flex;align-items:center;flex-wrap:wrap;gap:clamp(14px,2vw,32px)}
.page-hero__pill{display:inline-flex;align-items:center;border:1.5px solid var(--b4-blue-tec);color:var(--b4-blue-tec);border-radius:var(--radius-pill);padding:12px 26px;font-size:clamp(12px,1vw,14px);font-weight:500;text-transform:uppercase;letter-spacing:.03em;line-height:1.2}

/* ===== Партнёры ===== */
.partner-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(16px,1.8vw,24px);align-items:stretch}
.partner-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:clamp(22px,2vw,30px);text-decoration:none;color:inherit;box-shadow:0 6px 24px rgba(16,62,105,.05);transition:transform var(--transition-base),box-shadow var(--transition-base)}
a.partner-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(16,62,105,.12)}
.partner-card__badge{align-self:flex-end;background:var(--b4-blue-tec);color:#fff;font-size:12px;font-weight:500;padding:6px 14px;border-radius:var(--radius-pill);text-transform:lowercase;line-height:1.2;margin-bottom:14px}
.partner-card__logo{display:flex;align-items:center;justify-content:center;height:96px;margin-bottom:16px}
.partner-card__logo img{max-width:100%;max-height:72px;width:auto;height:auto;object-fit:contain}
.partner-card__name{font-family:var(--font-display);font-weight:600;font-size:22px;color:var(--b4-blue-tec)}
.partner-card__divider{display:block;width:100%;height:1px;background:var(--color-border);margin:0 0 16px}
.partner-card__text{font-size:clamp(13px,1vw,15px);line-height:1.55;color:var(--color-text)}
@media(max-width:1024px){.partner-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.partner-cards{grid-template-columns:1fr}}

/* ===== Преимущества (серая секция с иконками) ===== */
.adv-section{background:#F4F6F8}
.adv-section__title{font-family:var(--font-display);font-weight:500;font-size:clamp(26px,2.8vw,40px);color:var(--b4-blue-tec);margin:0 0 clamp(28px,3vw,44px);text-align:left}
.adv-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(16px,1.8vw,24px);align-items:stretch}
.adv-card{display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:clamp(24px,2.4vw,40px) clamp(20px,2vw,32px);box-shadow:0 6px 24px rgba(16,62,105,.05)}
.adv-card__icon{width:72px;height:72px;margin-bottom:18px}
.adv-card__icon img{width:100%;height:100%;object-fit:contain;display:block}
.adv-card__title{font-family:var(--font-display);font-weight:500;font-size:clamp(18px,1.5vw,22px);color:var(--b4-blue-tec);line-height:1.2;margin:0 0 16px}
.adv-card__divider{display:block;width:100%;height:1px;background:var(--color-border);margin:0 0 16px}
.adv-card__text{font-size:clamp(13px,1vw,15px);line-height:1.6;color:var(--color-text);margin:0}
@media(max-width:1024px){.adv-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.adv-cards{grid-template-columns:1fr}}

/* ===== Новости ===== */
.news-rd-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(20px,2.2vw,32px);align-items:stretch}
.news-rd{display:flex;flex-direction:column;background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-lg);overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 6px 24px rgba(16,62,105,.05);transition:transform var(--transition-base),box-shadow var(--transition-base)}
.news-rd:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(16,62,105,.12)}
.news-rd__image{position:relative;aspect-ratio:16/10;overflow:hidden}
.news-rd__image img{width:100%;height:100%;object-fit:cover;display:block}
.news-rd__date{position:absolute;top:14px;left:14px;background:#fff;color:var(--b4-blue-tec);font-size:13px;font-weight:500;padding:6px 14px;border-radius:var(--radius-pill);box-shadow:0 2px 8px rgba(0,0,0,.12)}
.news-rd__divider{display:block;height:1px;background:var(--color-border);margin:0 clamp(20px,2vw,28px)}
.news-rd__body{display:flex;flex-direction:column;flex:1;padding:clamp(18px,2vw,26px)}
.news-rd__title{font-family:var(--font-display);font-weight:600;font-size:clamp(17px,1.4vw,20px);color:var(--b4-blue-tec);line-height:1.25;margin:0 0 14px}
.news-rd__excerpt{font-size:clamp(13px,1vw,15px);line-height:1.55;color:var(--color-text);margin:0 0 20px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-rd__more{margin-top:auto;display:inline-flex;align-items:center;gap:8px;color:var(--b4-blue-tec);font-weight:500;font-size:15px}
.news-rd__more svg{width:16px;height:16px;transition:transform var(--transition-base)}
.news-rd:hover .news-rd__more svg{transform:translate(3px,-3px)}
@media(max-width:1024px){.news-rd-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.news-rd-grid{grid-template-columns:1fr}}

/* ЕДИНЫЙ ШРИФТ форм контактов на главной и /contacts/ — Manrope (как в редизайне).
   Раньше: главная=Manrope, /contacts/=Wix Madefor Display → формы визуально расходились.
   Переопределяем и переменную (элементы с var(--font-display)), и прямой font-family (простой текст). */
.contacts-rd, .page-home .home-contacts {
  --font-display: 'Manrope', 'Wix Madefor Display', system-ui, sans-serif;
  font-family: 'Manrope', 'Wix Madefor Display', system-ui, sans-serif;
}

/* ===== Контакты ===== */
.contacts-rd-section{background:#F6F7F9}
/* Лендинги-ПО: блок «Запрос стоимости ПО» (форма в стиле контактов, одна колонка) */
.landing-price{background:#F6F7F9}
.contacts-rd.landing-price__grid{grid-template-columns:1fr;max-width:760px;margin:0 auto}
.landing-price .contacts-rd__lead a{color:var(--b4-blue-tec);text-decoration:underline}
.contacts-rd{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(24px,3vw,56px);align-items:start}
.contacts-rd__title{font-family:var(--font-display);font-weight:500;font-size:clamp(24px,2.4vw,36px);color:var(--b4-blue-tec);margin:0 0 12px}
.contacts-rd__lead{font-size:clamp(14px,1.1vw,16px);color:var(--color-text-muted);margin:0 0 28px;line-height:1.5}
.contacts-rd__card{background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-2xl);padding:clamp(28px,3vw,48px);box-shadow:0 8px 30px rgba(16,62,105,.06)}
.contacts-rd__card-title{font-family:var(--font-display);font-weight:500;font-size:clamp(22px,2vw,30px);color:var(--b4-blue-tec);text-align:center;margin:0 0 28px}
/* Карточка контактов — размеры/отступы 1:1 по Figma (иконки 30×30 r8, gap 20, шаг 20). */
.contacts-rd__card .contact-info{display:flex;flex-direction:column;gap:20px}
.contacts-rd__card .contact-info__item{display:flex;gap:20px;align-items:flex-start}
.contacts-rd__card .contact-info__icon{flex-shrink:0;width:30px;height:30px;border-radius:8px;background:var(--b4-blue-tec);color:#fff;display:flex;align-items:center;justify-content:center}
.contacts-rd__card .contact-info__icon svg{width:15px;height:15px}
.contacts-rd__card .contact-info__text{font-size:15px;color:#000;line-height:1.45;padding-top:3px}
.contacts-rd__card .contact-info__text a{color:var(--color-text);text-decoration:none}
.contacts-rd__card .contact-info__emails{display:flex;flex-direction:column;gap:10px}
/* Почта + описание — в одну строку (Figma: «info@b4com.tech (по общим вопросам)» серым инлайн) */
.contacts-rd__card .contact-info__email-row{display:block}
.contacts-rd__card .contact-info__email-row a{white-space:nowrap}
.contacts-rd__card .contact-info__email-note{display:inline;color:var(--color-text-muted);font-size:13px;margin-left:8px;white-space:nowrap}
@media(max-width:900px){.contacts-rd{grid-template-columns:1fr}}

/* ===== Поддержка ===== */
.support-tabs{display:flex;gap:clamp(20px,4vw,80px);border-bottom:1px solid var(--color-border);margin-bottom:clamp(28px,3vw,44px);flex-wrap:wrap}
.support-tabs__tab{appearance:none;background:none;border:none;cursor:pointer;padding:0 0 18px;font-family:var(--font-display);font-size:clamp(12px,1.05vw,15px);font-weight:500;text-transform:uppercase;letter-spacing:.02em;color:var(--color-text-muted);position:relative;line-height:1.3;text-align:left;transition:color var(--transition-base)}
.support-tabs__tab:hover{color:var(--b4-blue-tec)}
.support-tabs__tab.is-active{color:var(--b4-blue-tec)}
.support-tabs__tab.is-active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--b4-blue-tec);border-radius:3px}
.sup-contacts__title{text-align:center;font-family:var(--font-display);font-weight:500;font-size:clamp(17px,1.5vw,24px);color:var(--b4-blue-tec);text-transform:uppercase;letter-spacing:.02em;margin:0 0 clamp(24px,3vw,36px)}
.sup-contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,2vw,28px);margin-bottom:clamp(32px,4vw,56px)}
.sup-contact-card{display:flex;flex-direction:column;align-items:center;text-align:center;background:#F6F8FC;border:1px solid var(--color-border);border-radius:var(--radius-xl);padding:clamp(28px,3vw,44px);text-decoration:none;transition:transform var(--transition-base),box-shadow var(--transition-base)}
.sup-contact-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(16,62,105,.10)}
.sup-contact-card__icon{width:64px;height:64px;border-radius:16px;background:var(--b4-blue-tec);color:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.sup-contact-card__icon svg{width:30px;height:30px}
.sup-contact-card__label{color:var(--color-text-muted);font-size:15px;margin-bottom:18px}
.sup-contact-card__divider{width:100%;height:1px;background:var(--color-border);margin-bottom:18px}
.sup-contact-card__value{color:var(--b4-blue-tec);font-weight:600;font-size:clamp(16px,1.4vw,20px)}
.sup-contacts__bottom{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(24px,3vw,48px);align-items:start}
.sup-contacts__text p{margin:0 0 16px;line-height:1.6;color:var(--color-text)}
.sup-contacts__text ul{margin:0 0 16px;padding-left:20px;display:flex;flex-direction:column;gap:10px}
.sup-contacts__text li{line-height:1.55;color:var(--color-text)}
.sup-address{border:1px solid var(--color-border);border-radius:var(--radius-xl);padding:clamp(24px,2.5vw,36px);background:#fff}
.sup-address__title{font-family:var(--font-display);font-weight:600;font-size:clamp(18px,1.5vw,22px);color:var(--b4-blue-tec);margin:0 0 16px;line-height:1.25}
.sup-address p{margin:0;line-height:1.7;color:var(--color-text)}
@media(max-width:900px){.sup-contact-cards{grid-template-columns:1fr}.sup-contacts__bottom{grid-template-columns:1fr}}

/* Нейтрально-серый фон секций вместо голубого --b4-gray-tec (#DDE7F7) — как в макете */
.training-directions-section{background:#F4F6F8}

/* ============================================================
   О КОМПАНИИ — пересборка под Figma (60:1359), фикс-лист v2.0
   Токены из файла: navy #103E69, H1 #10151C, секция #F6F7F9,
   карточка #F8F9FC / обводка #EDF0F6 / радиус 20, пилюли r100,
   узор #ABC7FF, muted #6B7688.
   ============================================================ */
.ard-head { padding-top: clamp(24px,3vw,44px); padding-bottom: 0; }
.ard-head__title { font-family: var(--font-display); font-weight: 700; color: #10151C;
  font-size: clamp(30px,4vw,52px); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 14px; }
.ard-head__subtitle { font-size: clamp(15px,1.3vw,19px); color: #4A5566; margin: 0; max-width: 60ch; }

.ard-intro-sec { position: relative; overflow: hidden; }
.ard-uzory { position: absolute; z-index: 0; width: min(30vw,440px); opacity: .5; pointer-events: none; }
.ard-uzory--tr { top: -40px; right: -60px; }
.ard-uzory--bl { bottom: 40px; left: -120px; transform: rotate(180deg); opacity: .38; }
.ard-intro-sec > .container { position: relative; z-index: 1; }

.ard-intro { display: grid; grid-template-columns: minmax(280px,0.9fr) 1.1fr; gap: clamp(28px,3.5vw,64px);
  align-items: start; }
.ard-intro__media { border-radius: 20px; overflow: hidden; aspect-ratio: 1/1; background: #EDF0F6; }
.ard-intro__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ard-intro__text { display: flex; flex-direction: column; gap: 18px; }
.ard-intro__text p { margin: 0; font-size: clamp(14px,1.05vw,16px); line-height: 1.62; color: #3A4354; }
.ard-intro__text strong { color: #10151C; font-weight: 700; }

.ard-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(14px,1.6vw,22px);
  margin-top: clamp(28px,3vw,44px); }
.ard-stat { background: #F8F9FC; border: 1px solid #EDF0F6; border-radius: 20px;
  padding: clamp(22px,2.4vw,34px) clamp(16px,2vw,26px); text-align: center; }
.ard-stat__num { font-family: var(--font-display); font-weight: 600; color: #103E69;
  font-size: clamp(30px,3.4vw,50px); line-height: 1; letter-spacing: -.01em;
  padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid #DCE2EC; }
.ard-stat__lbl { font-size: clamp(12px,.95vw,14px); color: #6B7688; line-height: 1.35; }

/* Наши ценности — карточный визуал как на Практике (training-direction) */
.ard-values-sec { background: #fff; position: relative; overflow: hidden; }
.ard-values-sec > .container { position: relative; z-index: 1; }
/* Одно фирменное «пятнышко»-узор на белом фоне (за карточками, деликатно). */
.ard-uzory--values { top: -30px; right: -70px; opacity: .3; width: min(26vw,380px); }
.ard-values__head { text-align: center; max-width: 860px; margin: 0 auto clamp(28px,3vw,44px); }
.ard-values__head .section__title { margin-bottom: 14px; }
.ard-values__lead { font-size: clamp(14px,1.1vw,17px); line-height: 1.55; color: var(--color-text-muted); margin: 0; }
.ard-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,2.4vw,32px); align-items: stretch; }
.ard-value { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: clamp(24px,2.4vw,36px) clamp(20px,2vw,32px); box-shadow: 0 6px 24px rgba(16,62,105,.06);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: transform var(--transition-base); }
.ard-value:hover { transform: translateY(-3px); }
.ard-value__icon { width: 60px; height: 60px; color: #9aa6b6; margin-bottom: 16px; }
.ard-value__icon svg { width: 100%; height: 100%; display: block; }
.ard-value__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px,1.5vw,22px);
  color: var(--b4-blue-tec); margin: 0 0 16px; line-height: 1.2; }
.ard-value__divider { display: block; width: 100%; height: 1px; background: var(--color-border); margin: 0 0 18px; }
.ard-value__text { font-family: var(--font-display); font-weight: 400; font-size: clamp(13px,1vw,15px);
  line-height: 1.6; color: var(--color-text-muted); margin: 0; }
@media (max-width: 1024px) { .ard-values { grid-template-columns: 1fr; gap: 20px; } }

.ard-history-sec { background: #F6F7F9; }
.ard-history__head { display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-bottom: clamp(24px,3vw,40px); }
.ard-history__title { font-family: var(--font-display); font-weight: 700; color: #10151C;
  font-size: clamp(24px,2.8vw,40px); letter-spacing: -.02em; margin: 0; }
.ard-timeline__nav { display: flex; gap: 10px; }
.ard-timeline__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #103E69;
  background: #fff; color: #103E69; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, color .2s; }
.ard-timeline__arrow svg { width: 20px; height: 20px; }
.ard-timeline__arrow:hover { background: #103E69; color: #fff; }
.ard-timeline__arrow:focus-visible { outline: 3px solid rgba(16,62,105,.35); outline-offset: 2px; }

.ard-timeline__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: none; }
.ard-timeline__track::-webkit-scrollbar { display: none; }
.ard-tl-card { flex: 0 0 clamp(260px,30%,360px); scroll-snap-align: start; background: #fff;
  border: 1px solid #EDF0F6; border-radius: 20px; padding: clamp(20px,2vw,28px); }
.ard-tl-card__year { display: inline-block; background: #103E69; color: #fff; font-weight: 600;
  font-size: 17px; padding: 8px 22px; border-radius: 100px; margin-bottom: 16px; }
.ard-tl-card__title { font-family: var(--font-display); font-weight: 600; color: #103E69;
  font-size: clamp(18px,1.5vw,22px); margin: 0 0 14px; }
.ard-tl-card__list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.ard-tl-card__list li { font-size: 14px; line-height: 1.45; color: #3A4354; }

.ard-cta { position: relative; overflow: hidden; display: flex; align-items: center;
  gap: clamp(20px,3vw,44px); background: #fff; border: 1px solid #EDF0F6; border-radius: 20px;
  padding: clamp(26px,3.4vw,52px); }
.ard-cta__icon { flex: none; width: clamp(64px,6vw,92px); height: clamp(64px,6vw,92px); border-radius: 50%;
  border: 2px solid #103E69; color: #103E69; display: grid; place-items: center; }
.ard-cta__icon svg { width: 48%; height: 48%; }
.ard-cta__body { position: relative; z-index: 1; max-width: 500px; }
.ard-cta__title { font-family: var(--font-display); font-weight: 700; color: #10151C;
  font-size: clamp(24px,2.6vw,38px); line-height: 1.1; margin: 0 0 12px; max-width: 440px; }
.ard-cta__text { font-size: clamp(14px,1.05vw,16px); color: #4A5566; margin: 0 0 22px; line-height: 1.5; max-width: 440px; }
.ard-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ard-cta__btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 600;
  font-size: 15px; padding: 14px 32px; border-radius: 100px; text-decoration: none; transition: all .2s;
  border: 1.5px solid #103E69; }
.ard-cta__btn--primary { background: #103E69; color: #fff; }
.ard-cta__btn--primary:hover { background: #0C2E4F; border-color: #0C2E4F; }
.ard-cta__btn--outline { background: transparent; color: #103E69; }
.ard-cta__btn--outline:hover { background: #103E69; color: #fff; }
.ard-cta__devices { position: absolute; right: clamp(-10px,1vw,40px); bottom: 0; width: min(36%,420px);
  pointer-events: none; opacity: .96; }

@media (max-width: 900px) {
  .ard-intro { grid-template-columns: 1fr; }
  .ard-stats { grid-template-columns: repeat(2,1fr); }
  .ard-cta { flex-direction: column; align-items: flex-start; }
  .ard-cta__devices { display: none; }
  .ard-uzory { display: none; }
}
@media (max-width: 520px) {
  .ard-stats { grid-template-columns: 1fr 1fr; }
  .ard-tl-card { flex-basis: 82%; }
}

/* ============================================================
   ФИКС-ЛИСТ v2.0 — глобальная цветовая схема (токены из Figma)
   ============================================================ */
/* H1 внутренних страниц — чёрный по схеме (было синим) */
.page-hero__title { color: #10151C; }
/* Кнопка «Оставить заявку» — пилюля + navy #103E69 (Figma) */
.header__cta .btn { border-radius: 100px; background: #103E69; border-color: #103E69; }
.header__cta .btn:hover { background: #0C2E4F; border-color: #0C2E4F; }

/* Продукты: карточки-категории — видимая обводка (была transparent) + меньше высоты
   (фикс-лист v2.0: «перекрасить обводку + высоту прибрать») */
.rd-product-card { border: 2px solid #103E69; background: #F6F7F9; min-height: 240px; }
.rd-product-card:hover { border-color: #103E69; box-shadow: 0 8px 30px rgba(16,62,105,.08); }

/* Контакты: форма 1:1 по Figma (нода 15_Контакты_1920) — чистые БЕЛЫЕ pill-поля
   с тонкой серой рамкой (не лавандовой), чёрные лейблы, плейсхолдер #B9C2D2,
   textarea r=20, кнопка «Отправить» ЗАЛИТАЯ navy. Всё scoped под .contacts-rd__form. */
.contacts-rd__form .b4-form__label { color: #000000; font-weight: 400; font-size: 14px; }
.contacts-rd__form .b4-form__input,
.contacts-rd__form .b4-form__textarea {
  background: #FFFFFF;
  border: 1px solid #E6EAF1;
  color: #10151C;
  font-size: 15px;
}
.contacts-rd__form .b4-form__input { border-radius: 100px; padding: 0 24px; height: 50px; }
.contacts-rd__form .b4-form__textarea { border-radius: 20px; padding: 14px 24px; min-height: 100px; }
.contacts-rd__form .b4-form__input::placeholder,
.contacts-rd__form .b4-form__textarea::placeholder { color: #B9C2D2; opacity: 1; }
.contacts-rd__form .b4-form__input:focus,
.contacts-rd__form .b4-form__textarea:focus {
  border-color: var(--b4-blue-tec);
  box-shadow: 0 0 0 3px rgba(16,62,105,.10);
}
/* Кнопка «Отправить» — залитая navy пилюля (в Figma не outline). */
.contacts-rd__form .b4-form__submit {
  background: #103E69; border-color: #103E69; color: #FFFFFF;
  border-radius: 100px; height: 50px;
}
.contacts-rd__form .b4-form__submit:hover { background: #0C2E4F; border-color: #0C2E4F; color: #FFFFFF; }
/* Согласие текстом + кнопка в строке (общее для главной и Контактов) */
.b4-form__consent-row { display: flex; align-items: center; justify-content: space-between;
  gap: clamp(18px, 3vw, 44px); margin-top: 14px; flex-wrap: wrap; }
/* Чекбокс согласия + текст слева (обязательный, 152-ФЗ), кнопка справа */
.b4-form__consent-row .b4-form__consent-label { flex: 1 1 auto; max-width: 58%; align-items: flex-start; margin: 0; }
.b4-form__consent-text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--color-text-muted); }
.b4-form__consent-text a { color: var(--b4-blue-tec); text-decoration: underline; }
.b4-form__consent-row .b4-form__submit { width: auto; min-width: 180px; padding: 0 48px; flex: 0 0 auto; }
@media (max-width: 560px) { .b4-form__consent-row .b4-form__consent-label { max-width: 100%; } .b4-form__consent-row .b4-form__submit { width: 100%; } }

/* Поддержка: табы по центру (был «разгул» на всю ширину) + карта-пин в адресе (фикс-лист) */
.support-tabs { display: flex; flex-wrap: wrap; justify-content: center; grid-template-columns: none; gap: clamp(24px,4vw,72px); }
.support-tabs__tab { flex: 0 0 auto; min-height: 0; }
.sup-address { display: flex; align-items: center; gap: clamp(20px,3vw,44px); }
.sup-address__body { flex: 1 1 auto; }
.sup-address__pin { flex: 0 0 auto; width: clamp(90px,9vw,128px); color: var(--rd-navy, #103E69); }
.sup-address__pin svg { width: 100%; height: auto; display: block; }
@media (max-width: 600px) { .sup-address { flex-direction: column; align-items: flex-start; } .sup-address__pin { display: none; } }

/* Главная: как только пошёл скролл — шапка из прозрачной-над-героем становится
   белой фикс (убираем «кашу» наложения кнопки/контента на меню). Фикс-лист #02. */
.header--over-hero.scrolled {
  background: rgba(255,255,255,0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 4px 16px rgba(15,39,90,0.08) !important;
}
.header--over-hero.scrolled .header__logo img { filter: none; }
.header--over-hero.scrolled .nav--desktop .nav__link { color: #000000; }
.header--over-hero.scrolled .nav--desktop .nav__link:hover,
.header--over-hero.scrolled .nav--desktop .nav__link--active { color: #103E69; background: rgba(16,62,105,.08); }
.header--over-hero.scrolled .header__cta .btn { background: #103E69; border-color: #103E69; color: #fff; }
.header--over-hero.scrolled .burger__line { background: var(--b4-blue-tec); }

/* Поддержка: вкладка «Документация» — 2 колонки (карточка портала + регистрация), как Figma */
.support-docs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items: start; }
.support-docs__card { border: 1px solid var(--color-border); border-radius: 20px;
  padding: clamp(24px,2.5vw,40px); background: #fff; display: flex; flex-direction: column;
  align-items: center; text-align: center; }
.support-docs__card p { margin: 0 0 26px; line-height: 1.6; text-align: left; color: var(--color-text); }
.support-docs__btn { align-self: center; }
.support-docs__reg p { margin: 0 0 14px; line-height: 1.65; color: var(--color-text); }
.support-docs__list { margin: 0 0 14px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.support-docs__list li { line-height: 1.5; color: var(--color-text); }
@media (max-width: 820px) { .support-docs { grid-template-columns: 1fr; } }
/* Картинка адреса — дизайнерская из Figma */
.sup-address__pin img { width: 100%; height: auto; display: block; }

/* Заглушка изображения товара (нет фото) */
.pd-figure__placeholder { width: 100%; height: auto; display: block; border-radius: 20px; }

/* End */
/* /local/templates/main/template_styles.css?1795440658226054 */
