

/* Start:/bitrix/templates/ukaz2026/assets/site.css?179259957440118*/
/* УКАЗ: единый стиль сайта. Цвета только через переменные. */

:root {
  --brand: #0a5bab;
  --brand-strong: #074786;
  --brand-soft: #e6eff9;
  --on-brand: #ffffff;
  --bg: #ffffff;
  --surface: #f5f7fa;
  --surface-2: #eceff4;
  --text: #121821;
  --muted: #5a6474;
  --line: #dde2ea;
  --ok: #157f3b;
  --err: #b42318;
  --shadow: 0 1px 2px rgb(16 24 40 / 0.06), 0 4px 12px rgb(16 24 40 / 0.06);
  --shadow-lg: 0 2px 4px rgb(16 24 40 / 0.06), 0 16px 40px rgb(16 24 40 / 0.14);
  --img-outline: oklch(0 0 0 / 0.1);
  --header-bg: rgb(255 255 255 / 0.86);
  --logo-filter: none;
  --logo-text: #074f8d;
  --title: #4f5660;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --brand: #5aa2ec;
  --brand-strong: #84bbf2;
  --brand-soft: #14263b;
  --on-brand: #06121f;
  --bg: #0d1117;
  --surface: #141a22;
  --surface-2: #1b232d;
  --text: #e8edf3;
  --muted: #9aa5b4;
  --line: #27313d;
  --ok: #4cc27a;
  --err: #f97066;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 4px 12px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.4), 0 16px 40px rgb(0 0 0 / 0.5);
  --img-outline: oklch(1 0 0 / 0.1);
  --header-bg: rgb(13 17 23 / 0.82);
  --logo-filter: brightness(0) invert(1);
  --logo-text: #fff;
  --title: #dfe5ec;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #5aa2ec;
    --brand-strong: #84bbf2;
    --brand-soft: #14263b;
    --on-brand: #06121f;
    --bg: #0d1117;
    --surface: #141a22;
    --surface-2: #1b232d;
    --text: #e8edf3;
    --muted: #9aa5b4;
    --line: #27313d;
    --ok: #4cc27a;
    --err: #f97066;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 4px 12px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.4), 0 16px 40px rgb(0 0 0 / 0.5);
    --img-outline: oklch(1 0 0 / 0.1);
    --header-bg: rgb(13 17 23 / 0.82);
    --logo-filter: brightness(0) invert(1);
  --logo-text: #fff;
    --title: #dfe5ec;
    color-scheme: dark;
  }
}

/* ---------- база ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}

h1,
h2 {
  color: var(--title);
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(28px, 4.4vw, 46px);
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
}

h3 {
  font-size: 18px;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  stroke-width: 1.75;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--on-brand);
}

.skip:focus {
  top: 12px;
}

.num {
  font-variant-numeric: tabular-nums;
}

/* ---------- кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition-property: background-color, color, border-color, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}

.btn:active {
  scale: 0.96;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--surface);
}

.btn-light {
  background: #fff;
  color: #0b1a2b;
}

.btn-light:hover {
  background: #e9eef5;
}

.btn-outline-light {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  border-color: rgb(255 255 255 / 0.4);
}

.btn-outline-light:hover {
  background: rgb(255 255 255 / 0.16);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow .icon {
  width: 18px;
  height: 18px;
  transition: translate 150ms var(--ease);
}

.link-arrow:hover .icon {
  translate: 3px 0;
}

/* ---------- шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}

/* На главной шапка лежит поверх видео: прозрачная, текст белый.
   Когда видео уехало вверх, site.js снимает over-hero и шапка становится обычной. */
.page-home .site-header {
  margin-bottom: -85px;
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease);
}

.site-header.over-hero {
  --text: #fff;
  --muted: rgb(255 255 255 / 0.75);
  --brand: #9fd0ff;
  --line: rgb(255 255 255 / 0.28);
  --bg: #0b1a2b;
  --logo-text: #fff;
  --logo-filter: brightness(0) invert(1);
  background: linear-gradient(180deg, rgb(4 14 30 / 0.55), rgb(4 14 30 / 0));
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header .wrap {
  max-width: 1340px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}

.brand {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand img {
  width: auto;
  height: 42px;
  filter: var(--logo-filter);
}

.brand-name {
  color: var(--logo-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.mobile-nav .brand img {
  height: 32px;
}

.brand small {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

@media (max-width: 520px) {
  .site-header .brand img {
    height: 34px;
  }

  .brand-name {
    font-size: 11px;
  }
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 10px 9px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset: auto 10px 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  opacity: 0;
  transition: opacity 150ms var(--ease);
}

.main-nav a:hover {
  color: var(--brand);
}

.main-nav a[aria-current="page"] {
  color: var(--brand);
}

.main-nav a[aria-current="page"]::after {
  opacity: 1;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang a {
  min-width: 36px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.lang a[aria-current="true"] {
  background: var(--text);
  color: var(--bg);
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition-property: background-color, scale;
  transition-duration: 150ms;
}

.icon-btn:hover {
  background: var(--surface);
}

.icon-btn:active {
  scale: 0.96;
}

/* Переключатель темы: обе иконки в DOM, плавная смена */
.theme-toggle .icon {
  grid-area: 1 / 1;
  transition-property: opacity, scale, filter;
  transition-duration: 300ms;
  transition-timing-function: var(--ease);
}

.theme-toggle .i-moon,
:root[data-theme="dark"] .theme-toggle .i-sun {
  opacity: 0;
  scale: 0.25;
  filter: blur(4px);
}

:root[data-theme="dark"] .theme-toggle .i-moon {
  opacity: 1;
  scale: 1;
  filter: blur(0);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun {
    opacity: 0;
    scale: 0.25;
    filter: blur(4px);
  }

  :root:not([data-theme="light"]) .theme-toggle .i-moon {
    opacity: 1;
    scale: 1;
    filter: blur(0);
  }
}

.menu-toggle {
  display: none;
}

@media (max-width: 1300px) {
  .main-nav {
    display: none;
  }

  .header-tools {
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
  }
}

/* на телефоне язык выбирается в меню, в шапке ему тесно */
@media (max-width: 640px) {
  .header-tools .lang {
    display: none;
  }

  .mobile-nav .lang a {
    min-width: 48px;
    padding: 10px 12px;
    font-size: 15px;
  }
}

/* мобильное меню */
.mobile-nav {
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bg);
  color: var(--text);
}

.mobile-nav[open] {
  animation: sheet-in 240ms var(--ease);
}

.mobile-nav::backdrop {
  background: transparent;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
}

.mobile-nav ul {
  margin: 0;
  padding: 12px var(--gutter);
  list-style: none;
}

.mobile-nav li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav li a[aria-current="page"] {
  color: var(--brand);
}

.mobile-nav .lang {
  width: max-content;
  margin: 20px var(--gutter);
}

@keyframes sheet-in {
  from {
    opacity: 0;
    translate: 0 8px;
  }
}

/* ---------- секции ---------- */

.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.section-alt {
  background: var(--surface);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 32px;
}

.section-head p {
  max-width: 560px;
  margin-top: 10px;
  color: var(--muted);
}

.section-title {
  margin-bottom: clamp(28px, 4vw, 44px);
  text-align: center;
}

.section-more {
  margin-top: 36px;
  text-align: center;
}

.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-head {
  padding-block: clamp(40px, 6vw, 72px) 8px;
}

.page-head p {
  max-width: 680px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 19px;
}

/* ---------- главная: hero ---------- */

/* Видео на весь экран под шапкой. При загрузке раскрывается из карточки,
   при прокрутке снова сжимается в карточку (--p от 0 до 1 ставит site.js). */
.hero {
  --p: 0;
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding-top: 85px;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0b2b4f url("/bitrix/templates/ukaz2026/assets/img/hero-poster.jpg") center / cover;
  clip-path: inset(calc(var(--p) * 5%) calc(var(--p) * 4%) round calc(var(--p) * 32px));
  animation: hero-open 1100ms var(--ease) both;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: calc(1 + var(--p) * 0.06);
}

/* Тёмная пелена поверх видео, слева плотнее: там текст */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(4 14 30 / 0.55) 0%, rgb(4 14 30 / 0.2) 70%),
    rgb(4 14 30 / 0.45);
}

@keyframes hero-open {
  from {
    clip-path: inset(12% 10% round 32px);
  }
}

.hero .wrap {
  position: relative;
  width: 100%;
  padding-block: clamp(48px, 9vh, 110px);
}

.hero-text {
  max-width: 760px;
}

.hero-kicker {
  color: #9fd0ff;
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(26px, 5vw, 56px);
  line-height: 1.08;
  text-wrap: balance;
}

.hero-lead {
  max-width: 600px;
  margin-top: 18px;
  color: rgb(255 255 255 / 0.85);
  font-size: clamp(16px, 1.5vw, 19px);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-enter > * {
  animation: rise 700ms var(--ease) both;
  animation-delay: 450ms;
}

.hero-enter > *:nth-child(2) {
  animation-delay: 550ms;
}

.hero-enter > *:nth-child(3) {
  animation-delay: 650ms;
}

.hero-enter > *:nth-child(4) {
  animation-delay: 750ms;
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .hero-enter > * {
    animation: none;
  }
}

/* ---------- плитки продукции на главной ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--text);
  text-decoration: none;
}

/* Рендеры разной формы (узкие задвижки, широкие затворы):
   все вписываем в одинаковое окно, чтобы плитки были одной высоты. */
.tile-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  margin-bottom: 14px;
  border-radius: var(--radius-lg);
  transition: box-shadow 200ms var(--ease);
  background: linear-gradient(180deg, #f4f7fb 0%, #e6ecf3 100%);
}

.tile-media img {
  position: absolute;
  inset: 7% 8% 9%;
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgb(16 24 40 / 0.18));
  transition: scale 300ms var(--ease);
}

:root[data-theme="dark"] .tile-media {
  background: linear-gradient(180deg, #1f2a38 0%, #172130 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tile-media {
    background: linear-gradient(180deg, #1f2a38 0%, #172130 100%);
  }
}

.tile-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  text-wrap: balance;
}

.tile-spec {
  padding-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.tile a:hover .tile-media {
  box-shadow: var(--shadow-lg);
}

.tile a:hover .tile-title {
  color: var(--brand);
}

.tile a:hover img {
  scale: 1.05;
}

@media (max-width: 1100px) {
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tile-title {
    font-size: 14px;
  }
}

/* ---------- каталог: вкладки слева, как на konar.ru ---------- */

.grid {
  display: grid;
  gap: 20px;
}

.product-spec {
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.catalog {
  display: grid;
  gap: 24px;
}

.catalog-tabs {
  display: none;
}

.catalog-panel + .catalog-panel {
  margin-top: 56px;
}

.catalog.is-tabs {
  grid-template-columns: 260px 1fr;
  align-items: start;
}

.catalog.is-tabs .catalog-tabs {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 8px;
}

.catalog.is-tabs .catalog-panel + .catalog-panel {
  margin-top: 0;
}

.catalog-tab {
  position: relative;
  display: block;
  padding: 13px 18px;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  transition-property: background-color, color;
  transition-duration: 150ms;
}

.catalog-tab:hover {
  background: var(--surface);
  color: var(--brand);
}

.catalog-tab[aria-selected="true"] {
  background: var(--brand);
  color: var(--on-brand);
}

.catalog-tabs,
.catalog-panels {
  min-width: 0;
}

.catalog-head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.catalog-head img {
  width: 120px;
  height: 140px;
  object-fit: contain;
}

.catalog-head h2 {
  font-size: clamp(20px, 2.4vw, 26px);
}

.catalog-head p {
  margin-top: 8px;
  color: var(--muted);
}

.catalog-actions {
  margin-top: 20px;
}

.series {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.series-card a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  transition: box-shadow 200ms var(--ease);
}

.series-card a:hover {
  box-shadow: var(--shadow-lg);
}

.series-media {
  display: grid;
  place-items: center;
  height: 190px;
  padding: 16px;
  background: linear-gradient(180deg, #f4f7fb 0%, #e6ecf3 100%);
}

:root[data-theme="dark"] .series-media {
  background: linear-gradient(180deg, #1f2a38 0%, #172130 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .series-media {
    background: linear-gradient(180deg, #1f2a38 0%, #172130 100%);
  }
}

.series-media img {
  max-height: 158px;
  object-fit: contain;
}

.series-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
}

.series-body strong {
  font-size: 15px;
  line-height: 1.4;
}

.series-values {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.series-body .link-arrow {
  margin-top: auto;
  padding-top: 4px;
  color: var(--brand);
  font-size: 14px;
}

@media (max-width: 860px) {
  .catalog.is-tabs {
    grid-template-columns: 1fr;
  }

  .catalog.is-tabs .catalog-tabs {
    position: static;
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .catalog-tab {
    flex: none;
    padding: 10px 14px;
    background: var(--surface);
  }

  .catalog-head {
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 16px;
  }

  .catalog-head img {
    width: 72px;
    height: 96px;
  }
}

/* ---------- карточка серии ---------- */

.item-head {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.item-photo {
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.item-head h1 {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.2;
  text-transform: none;
}

.item-purpose {
  margin-top: 16px;
  color: var(--muted);
}

.item-highlight {
  display: grid;
  gap: 2px;
  margin-top: 16px;
  padding: 14px 18px;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--brand-soft);
  font-size: 15px;
  font-weight: 600;
}

.item-highlight strong {
  color: var(--brand);
}

.item-title {
  margin: clamp(40px, 5vw, 56px) 0 20px;
  font-size: clamp(20px, 2.4vw, 26px);
}

.item-subtitle {
  margin: 32px 0 12px;
  color: var(--title);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line);
}

.spec-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.spec-table th,
.spec-table td,
.data-table th,
.data-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table tr:last-child > *,
.data-table tr:last-child > * {
  border-bottom: 0;
}

.spec-table th {
  width: 48%;
  color: var(--muted);
  font-weight: 500;
}

.spec-table td {
  font-weight: 600;
  white-space: pre-line;
}

.spec-table .spec-group th {
  padding-top: 16px;
  background: var(--surface);
  color: var(--title);
  font-weight: 700;
}

.data-table {
  font-size: 14px;
}

.data-table thead th {
  background: var(--surface);
  color: var(--title);
  font-weight: 700;
  white-space: nowrap;
}

.data-table tbody tr:nth-child(even) {
  background: var(--surface);
}

.drawings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.drawings a {
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.item-notes {
  margin-top: 40px;
}

.item-notes p + p {
  margin-top: 10px;
}

@media (max-width: 760px) {
  .item-head {
    grid-template-columns: 1fr;
  }

  .spec-table th {
    width: 50%;
  }

  .spec-table th,
  .spec-table td {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* ---------- новости ---------- */

.news-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: box-shadow 200ms var(--ease);
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Картинка во всю ширину карточки, у всех один размер */
.news-card-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: -24px -24px 8px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--surface);
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card time {
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.news-card h3 {
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card h3 a {
  color: var(--text);
  text-decoration: none;
}

/* вся карточка кликабельна */
.news-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.news-card p {
  color: var(--muted);
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.empty {
  padding: 40px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
  text-align: center;
}

.article {
  max-width: 760px;
}

.article time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.article h1 {
  margin-top: 8px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.25;
}

.article-note {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 15px;
}

.article img {
  max-height: 560px;
  width: auto;
  max-width: 100%;
  margin-top: 28px;
  border-radius: var(--radius);
  outline: 1px solid var(--img-outline);
  outline-offset: -1px;
}

.article-body {
  margin-top: 28px;
  font-size: 18px;
  white-space: pre-line;
}

.back {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}

.back .icon {
  rotate: 180deg;
  width: 18px;
  height: 18px;
}

/* ---------- качество ---------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split p {
  margin-top: 16px;
  color: var(--muted);
}

.cert-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cert {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.cert-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}

.cert strong {
  display: block;
  font-variant-numeric: tabular-nums;
}

.cert span {
  color: var(--muted);
  font-size: 15px;
}

.cert-since {
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.note {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--brand-soft);
}

.note > .icon {
  width: 24px;
  height: 24px;
  color: var(--brand);
}

.note h3 {
  margin-bottom: 6px;
}

.note p {
  color: var(--text);
}

.note .btn {
  margin-top: 16px;
}

/* ---------- партнёры ---------- */

.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partners a {
  display: grid;
  place-items: center;
  width: 280px;
  height: 120px;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow 200ms var(--ease);
  text-decoration: none;
}

.partners a:hover {
  box-shadow: var(--shadow-lg);
}

.partners img {
  width: 100%;
  max-height: 56px;
  object-fit: contain;
}

/* у партнера нет логотипа: название с засечками, цвета как в их заголовке на jtm.kz */
.wordmark {
  display: grid;
  gap: 4px;
  color: #6b603c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.wordmark small {
  color: #59626e;
  font-family: var(--font, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

/* ---------- призыв ---------- */

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0a5bab, #063a6f);
  color: #fff;
}

.cta h2 {
  color: #fff;
}

.cta p {
  max-width: 520px;
  margin-top: 10px;
  color: rgb(255 255 255 / 0.82);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- о заводе ---------- */

.prose {
  max-width: 680px;
}

.prose p + p {
  margin-top: 16px;
}

/* крупное фото слева, три поменьше столбиком справа */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-auto-rows: clamp(120px, 14vw, 180px);
  gap: 12px;
  margin-top: 40px;
}

.gallery img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  outline: 1px solid var(--img-outline);
  outline-offset: -1px;
}

.gallery img:first-child {
  grid-row: span 3;
}

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 96px;
  }

  .gallery img:first-child {
    grid-column: 1 / -1;
    grid-row: span 2;
  }
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 88px 48px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-soft, rgb(7 79 141 / 0.08));
  color: var(--brand);
}

.timeline-icon svg {
  width: 34px;
  height: 34px;
}

.timeline strong {
  color: var(--brand);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .timeline li {
    grid-template-columns: 52px 40px 1fr;
    gap: 10px;
  }

  .timeline-icon {
    width: 40px;
    height: 40px;
  }

  .timeline-icon svg {
    width: 28px;
    height: 28px;
  }

  .timeline strong {
    font-size: 17px;
  }
}

/* ---------- вакансии ---------- */

.jobs {
  display: grid;
  gap: 16px;
}

.job {
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.job summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.job summary::-webkit-details-marker {
  display: none;
}

.job summary h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
}

.job-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

.job summary .icon {
  margin-left: auto;
  color: var(--muted);
  transition: rotate 200ms var(--ease);
}

.job[open] summary .icon {
  rotate: 180deg;
}

.job-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 0 24px 24px;
}

.job-body h3 {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
}

.job-body ul {
  margin: 0;
  padding-left: 18px;
}

.job-body li + li {
  margin-top: 6px;
}

.job-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--line);
}

.job-foot p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- контакты ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.contact-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 18px;
}

.contact-card h2 .icon {
  color: var(--brand);
}

.phones {
  margin: 0;
}

.phones div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.phones div:first-child {
  border-top: 0;
  padding-top: 0;
}

.phones dt {
  color: var(--muted);
}

.phones dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.phones a {
  color: var(--text);
  text-decoration: none;
}

.phones a:hover {
  color: var(--brand);
}

@media (max-width: 480px) {
  .phones div {
    flex-direction: column;
    gap: 2px;
  }
}

/* ---------- диалоги и формы ---------- */

.modal {
  width: min(600px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.modal[open] {
  animation: pop-in 220ms var(--ease);
}

.modal::backdrop {
  background: rgb(6 14 24 / 0.55);
  backdrop-filter: blur(2px);
}

@keyframes pop-in {
  from {
    opacity: 0;
    translate: 0 8px;
    scale: 0.98;
  }
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 0;
}

.modal-head h2 {
  font-size: 22px;
}

.modal-head .icon-btn {
  margin: -8px -8px 0 0;
}

.modal-body {
  padding: 12px 24px 24px;
}

.modal-body > p {
  color: var(--muted);
}

.modal-contacts {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: background-color 150ms;
}

.contact-row:hover {
  background: var(--surface-2);
}

.contact-row .icon {
  color: var(--brand);
}

.contact-row div {
  display: grid;
  line-height: 1.35;
}

.contact-row span {
  color: var(--muted);
  font-size: 14px;
}

.contact-row strong {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.modal-body > .form {
  margin-top: 16px;
}

.modal-or {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.field label small {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition-property: border-color, box-shadow;
  transition-duration: 150ms;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent);
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.captcha-img {
  flex: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f1f4f8;
  overflow: hidden;
  cursor: pointer;
}

.captcha-img img {
  display: block;
  width: 160px;
  height: 56px;
}

.captcha-row output {
  min-width: 96px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-status {
  display: none;
  align-items: start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
}

.form-status:not(:empty) {
  display: flex;
}

.form-status[data-kind="ok"] {
  background: color-mix(in srgb, var(--ok) 12%, transparent);
  color: var(--ok);
}

.form-status[data-kind="err"] {
  background: color-mix(in srgb, var(--err) 12%, transparent);
  color: var(--err);
}

/* ---------- подвал ---------- */

#main {
  flex: 1;
}

.site-footer {
  margin-top: 0;
  padding-block: 56px 32px;
  background: radial-gradient(120% 140% at 0% 0%, #2a74c0 0%, #135296 45%, #0a2f5e 100%);
  color: rgb(255 255 255 / 0.86);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-grid > * {
  min-width: 0;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h2 {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgb(255 255 255 / 0.7);
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 6px;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.4);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.25);
  color: rgb(255 255 255 / 0.7);
  font-size: 14px;
}

/* ---------- ошибки ---------- */

.error-page {
  display: grid;
  place-items: center;
  min-height: 60vh;
  text-align: center;
}

.error-page strong {
  display: block;
  color: var(--brand);
  font-size: 64px;
  font-variant-numeric: tabular-nums;
}

.error-page p {
  margin-block: 12px 24px;
  color: var(--muted);
}

/* ---------- появление при прокрутке ---------- */

.reveal {
  transition-property: opacity, translate;
  transition-duration: 600ms;
  transition-timing-function: var(--ease);
}

.js .reveal:not(.is-visible) {
  opacity: 0;
  translate: 0 14px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }

  .js .reveal:not(.is-visible) {
    opacity: 1;
    translate: none;
  }
}

/* ---------- страницы новостей ---------- */

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.pager .num {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- главная: о заводе ---------- */

.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-points li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.about-points p {
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

@media (max-width: 760px) {
  .about-points {
    grid-template-columns: 1fr;
  }

  .about-points li {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 18px;
  }
}

/* End */


/* Start:/bitrix/templates/ukaz2026/components/bitrix/system.pagenavigation/.default/style.css?1792599574207*/
.navigation-pages a{font-size:12px;
		color:#135b97;
		padding:0 7px;}
		
.nav-current-page{color:#000;
		font-size:14px;}
.navigation-pages{font-family:Tahoma;
		text-align:center;
		padding:0 7px;}
/* End */


/* Start:/bitrix/templates/ukaz2026/styles.css?179259957471*/
/* Стили сайта в assets/site.css и template_styles.css */

/* End */


/* Start:/bitrix/templates/ukaz2026/template_styles.css?179261145020712*/
/* ukaz2026: то, чего нет в assets/site.css. Разметка Битрикса, старые
   включаемые области и шаблоны компонентов, перенесённые из zukaz. */

/* Montserrat со своего сервера (переменный, 400–800), без запросов к Google.
   cyrillic-ext нужен для казахских букв. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/bitrix/templates/ukaz2026/assets/fonts/montserrat-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/bitrix/templates/ukaz2026/assets/fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/bitrix/templates/ukaz2026/assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#bx-panel {
  position: relative;
  z-index: 60;
}

.clear {
  clear: both;
}

/* ---------- шапка ---------- */

.header-cta {
  white-space: nowrap;
  min-height: 40px;
  padding: 8px 18px;
  font-size: 14px;
}

@media (max-width: 860px) {
  .header-tools .header-cta {
  white-space: nowrap;
    display: none;
  }
}

.mobile-nav > .btn {
  margin-top: 16px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-inline: 8px;
  opacity: 0.5;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--brand);
}

.page-head {
  padding-bottom: 24px;
}

/* ---------- главная: «О предприятии» из включаемой области index_LANG ---------- */

.home-about #contentMain,
.home-about #contentWrapIndex {
  display: contents;
}

.home-about .wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-about .wrap > br,
.home-about #contentWrapIndex > br,
.home-about #contentWrapIndex > div {
  display: none;
}

.home-about #contentWrapIndex > h1,
.home-about #contentWrapIndex > h2 {
  grid-column: 1 / -1;
  margin-bottom: clamp(8px, 2vw, 16px);
  font-size: clamp(24px, 3vw, 34px);
}

.home-about #contentWrapIndex > p {
  position: relative;
  min-height: 96px;
  padding: 24px 24px 24px 90px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow);
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

.home-about #contentWrapIndex > p b {
  font-weight: 600;
}

/* значки как в истории завода: труба, сертификат, щит, завод */
.home-about #contentWrapIndex > p::before,
.home-about #contentWrapIndex > p::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
}

.home-about #contentWrapIndex > p::before {
  border-radius: 12px;
  background: var(--brand-soft);
}

.home-about #contentWrapIndex > p::after {
  top: 31px;
  left: 31px;
  width: 34px;
  height: 34px;
  background: var(--brand);
  -webkit-mask: var(--about-icon) center / contain no-repeat;
  mask: var(--about-icon) center / contain no-repeat;
}

.home-about #contentWrapIndex > p:nth-of-type(1) { --about-icon: url("/bitrix/templates/ukaz2026/assets/icons/h-pipeline.svg"); }
.home-about #contentWrapIndex > p:nth-of-type(2) { --about-icon: url("/bitrix/templates/ukaz2026/assets/icons/h-certificate.svg"); }
.home-about #contentWrapIndex > p:nth-of-type(3) { --about-icon: url("/bitrix/templates/ukaz2026/assets/icons/h-shield.svg"); }
.home-about #contentWrapIndex > p:nth-of-type(4) { --about-icon: url("/bitrix/templates/ukaz2026/assets/icons/h-factory.svg"); }

.home-about #contentWrapIndex > a {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: clamp(16px, 3vw, 28px);
  color: var(--brand);
  font-weight: 600;
}

@media (max-width: 760px) {
  .home-about .wrap {
    grid-template-columns: 1fr;
  }

  .home-about #contentWrapIndex > p {
    padding: 20px 20px 20px 84px;
  }
}

/* у логотипов теперь есть width/height (чтобы страница не прыгала), высоту по-прежнему считает браузер */
.partners img {
  height: auto;
}

/* партнёр без ссылки: такая же карточка, как ссылка в site.css */
.partners .partner {
  display: grid;
  place-items: center;
  width: 280px;
  height: 120px;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

/* ---------- диалог связи и веб-формы ---------- */

.modal-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: calc(var(--radius-sm) + 4px);
  background: var(--surface-2);
}

.modal-tabs button {
  flex: 1;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition-property: background-color, color, box-shadow;
  transition-duration: 0.15s;
}

.modal-tabs button[aria-selected="true"] {
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow);
}

.web-form {
  margin-top: 16px;
}

.web-form .form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  counter-reset: question;
}

.web-form .form > * {
  grid-column: 1 / -1;
}

.web-form .form > .field-half {
  grid-column: auto;
}

@media (max-width: 560px) {
  .web-form .form > .field-half {
    grid-column: 1 / -1;
  }
}

/* Опрос: вопрос карточкой с номером, ответы двумя плашками */
.field-choice {
  counter-increment: question;
  padding: 14px 16px 16px !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.field-choice legend {
  float: left;
  width: 100%;
  margin: 0 0 12px !important;
  font-size: 15px;
  line-height: 1.35;
  text-wrap: pretty;
}

.field-choice legend::before {
  content: counter(question);
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  vertical-align: 1px;
}

.choice {
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.choice-opt {
  position: relative;
  display: grid !important;
  margin: 0 !important;
}

.choice-opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0 !important;
  cursor: pointer;
}

.choice-opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition-property: background-color, border-color, color, box-shadow, scale;
  transition-duration: 150ms;
}

.choice-opt span::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--line);
  border-radius: 50%;
  transition-property: border-color, border-width;
  transition-duration: 150ms;
}

.choice-opt:hover span {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}

.choice-opt input:focus-visible + span {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent);
}

.choice-opt input:checked + span {
  --tone: var(--ok, #1f8a4c);
  border-color: var(--tone);
  background: color-mix(in srgb, var(--tone) 12%, var(--bg));
  color: var(--text);
  font-weight: 600;
}

.choice-opt[data-tone="neg"] input:checked + span {
  --tone: var(--err, #c62828);
}

.choice-opt input:checked + span::before {
  border: 5px solid var(--tone);
}

.choice-opt input:active + span {
  scale: 0.96;
}

.field select,
.field input[type="file"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.field input[type="radio"],
.field input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin: 0 8px 0 0;
  accent-color: var(--brand);
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}

fieldset.field legend {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

fieldset.field label {
  display: flex;
  align-items: center;
  margin: 4px 0;
  font-weight: 400;
}

.field .req {
  color: var(--err);
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--err);
}

.form-status[data-kind] {
  display: block;
}

.captcha-img {
  display: inline-grid;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #fff;
}

.web-form .btn {
  justify-self: start;
}

/* ---------- внутренние страницы: старая разметка контента ---------- */

.page-body {
  flex: 1;
  padding-bottom: clamp(48px, 7vw, 88px);
  font-size: 16px;
}

.page-body p {
  margin: 0 0 1em;
}

.page-body h2,
.page-body h3 {
  margin: 1.4em 0 0.6em;
  text-transform: none;
}

.page-body h2 {
  font-size: clamp(20px, 2.4vw, 26px);
}

.page-body img {
  max-width: 100%;
  height: auto;
}

/* правило выше для картинок в старых текстах, у карточек свои размеры из site.css */
.page-body .tile-media img {
  height: 84%;
}

/* исходники мелкие (до 200px), поэтому не растягиваем больше натурального размера */
.page-body .catalog-head {
  grid-template-columns: auto 1fr;
}

.page-body .catalog-head img {
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 140px;
}

.page-body .series-media img {
  width: auto;
  max-height: 158px;
}

@media (max-width: 860px) {
  .page-body .catalog-head img {
    max-width: 110px;
    max-height: 96px;
  }
}

.page-body table {
  border-collapse: collapse;
  max-width: 100%;
}

/* отступ только у списков из старых текстов, у плиток и карточек своя разметка */
.page-body ul:not([class]),
.page-body ol:not([class]) {
  padding-left: 1.3em;
}

/* старые тексты: выравнивание по ширине давало дыры, лишние <br> между абзацами */
.page-body p[style*="justify"] {
  text-align: left !important;
}

.page-body p + br,
.page-body br + br {
  display: none;
}

#secondColumn,
.page-body > #contentMain > :only-child {
  max-width: 860px;
}

#firstColumn:not(:has(li, a)) {
  display: none;
}

/* Предприятие: меню раздела слева, текст справа */
#contentMain:has(#firstColumn li, .catalog-tabs) {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

#firstColumn ul {
  margin: 0;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--surface);
  list-style: none;
}

#firstColumn a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

#firstColumn a:hover,
#firstColumn .selected a,
#firstColumn a.selected {
  background: var(--bg);
  color: var(--brand);
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  #contentMain:has(#firstColumn li, .catalog-tabs) {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

.search-form {
  display: flex;
  max-width: 320px;
  margin-top: 16px;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: var(--radius-sm);
}

.search-form input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
}

.search-form input::placeholder {
  color: rgb(255 255 255 / 0.65);
}

.search-form input:focus {
  outline: none;
}

.search-form .icon-btn {
  color: #fff;
}

/* во включаемой области подвала остались «Приёмная» и Метрика: показываем только информер */
.footer-counter > p,
.footer-counter > br {
  display: none;
}

/* ---------- каталог: разделы слева, серии и изделия справа ---------- */

#firstColumn .catalog-tabs {
  display: grid;
  gap: 2px;
  position: sticky;
  top: 96px;
}

#firstColumn .catalog-tab {
  box-shadow: none;
}

#firstColumn .catalog-tab[aria-current="page"] {
  background: var(--brand);
  color: var(--on-brand);
}

#contentMain:has(#secondColumn .catalog-root) {
  display: block;
}

#contentMain:has(#secondColumn .catalog-root) #firstColumn {
  display: none;
}

#contentMain:has(.catalog-root) #secondColumn {
  max-width: none;
}

#secondColumn:has(.catalog-head, .product-detail) {
  max-width: none;
}

.catalog-spec {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.catalog-desc {
  margin-top: 10px;
  color: var(--muted);
}

.series-values {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-highlight {
  display: block;
}

.item-actions {
  margin-top: 20px;
}

.item-text {
  margin-top: clamp(28px, 4vw, 44px);
}

.item-text {
  overflow-x: auto;
}

/* Таблицы характеристик набраны в старом редакторе: rowspan/colspan, ширина и высота
   атрибутами, текст в <span> Verdana 9px. Полосы по строкам на объединённых ячейках
   рассыпаются, поэтому сетка из линий и подсветка только у строк-заголовков. */
.item-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0 0 1.5em;
  /* на узком экране тень у края показывает, что таблицу можно листать вбок */
  background:
    linear-gradient(to right, var(--bg) 30%, transparent) left / 32px 100% no-repeat local,
    linear-gradient(to left, var(--bg) 30%, transparent) right / 32px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgb(0 0 0 / 0.16), transparent) left / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgb(0 0 0 / 0.16), transparent) right / 12px 100% no-repeat scroll;
  background-color: var(--bg);
}

.item-text table {
  border-collapse: collapse;
  border-style: hidden;
  width: 100% !important;
  height: auto !important;
  font-size: 12px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.item-text td,
.item-text th {
  padding: 4px 5px !important;
  border: 1px solid var(--line) !important;
  height: auto !important;
  color: var(--text) !important;
  background: none;
  font-family: inherit !important;
  vertical-align: middle;
}

.item-text td span,
.item-text td font {
  font-size: inherit !important;
  font-family: inherit !important;
}

.item-text tr.spec-head td,
.item-text tr.spec-head th {
  background: var(--surface);
  font-weight: 600;
}

.item-text td p {
  margin: 0;
}

.item-text td p + p {
  margin-top: 0.3em;
}

/* старые тексты набраны Verdana инлайном, приводим к шрифту сайта */
.page-body [style*="font-family"],
.page-body font[face] {
  font-family: inherit !important;
}

/* Короткое описание товара: бывает таблица «отрасль / DN / PN» без рамок */
.item-purpose {
  font-size: 15px;
  line-height: 1.55;
}

.item-purpose [style*="font-size"] {
  font-size: inherit !important;
}

.item-purpose table {
  margin: 0 0 12px;
}

.item-purpose td {
  width: auto !important;
  padding: 3px 28px 3px 0;
  vertical-align: top;
}

.item-purpose p {
  margin: 0 0 0.6em;
}

.item-purpose ~ .item-actions {
  margin-top: 20px;
}

@media (hover: hover) {
  .item-text tr:not(.spec-head):hover td {
    background: color-mix(in srgb, var(--brand) 7%, transparent);
  }
}

.item-text img {
  border-radius: var(--radius-sm);
}

/* Старый контент из визуального редактора писался под белый фон: тёмно-серый текст
   #3a3e48 и белые подложки инлайном. Сбрасываем их, иначе в тёмной теме цифры пропадают.
   Красные выделения оставляем, но в тёмной теме осветляем. */
.page-body [style*="3a3e48" i],
.page-body font[color="#3a3e48" i] {
  color: inherit !important;
}

.page-body [style*="background" i]:not([style*="background-image" i]),
.page-body [bgcolor] {
  background: none !important;
}

:root[data-theme="dark"] .page-body [style*="ee1d24" i],
:root[data-theme="dark"] .page-body font[color="#ee1d24" i] {
  color: #ff7276 !important;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .page-body [style*="ee1d24" i],
  :root:not([data-theme="light"]) .page-body font[color="#ee1d24" i] {
    color: #ff7276 !important;
  }
}

/* на телефоне разделы каталога в строку с прокруткой */
@media (max-width: 860px) {
  #firstColumn .catalog-tabs {
    position: static;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  #firstColumn .catalog-tab {
    flex: none;
    white-space: nowrap;
  }
}

/* Изделие с таблицами размеров (до 20 колонок): рядом с меню разделов они не влезали и прокручивались.
   Разделы ставим строкой над текстом, как на телефоне, текст и таблицы получают всю ширину страницы. */
@media (min-width: 861px) {
  #contentMain:has(#secondColumn .item-text table) {
    display: block;
  }

  #contentMain:has(#secondColumn .item-text table) #firstColumn {
    margin-bottom: 32px;
  }

  #contentMain:has(#secondColumn .item-text table) .catalog-tabs {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  #contentMain:has(#secondColumn .item-text table) #secondColumn {
    max-width: none;
  }

  #contentMain:has(#secondColumn .item-text table) .item-text > p {
    max-width: 860px;
  }
}

/* ---------- новости ---------- */

.news-grid {
  display: grid;
  gap: 16px;
}

.news-card h3 {
  text-transform: none;
}

.pager-wrap {
  margin-top: 32px;
}

.navigation-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

.navigation-pages a,
.navigation-pages .nav-current-page {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.navigation-pages a:hover {
  background: var(--surface-2);
}

.navigation-pages .nav-current-page {
  background: var(--brand);
  color: var(--on-brand);
}

.navigation-pages .nav-page-pagen,
.navigation-pages .nav-title {
  color: var(--muted);
}

.article-body {
  margin-top: 16px;
}

.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 24px;
  border-radius: var(--radius);
  outline: 1px solid var(--img-outline);
}

/* длинные названия новостей и изделий: без капса и мельче */
body:has(.article, .product-detail) .page-head h1 {
  max-width: 900px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.25;
  text-transform: none;
}

.form-sent {
  max-width: 680px;
  margin-bottom: 24px;
}

/* ---------- контакты: карта ---------- */

.map-embed {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.map-embed iframe {
  width: 100%;
  height: clamp(320px, 50vw, 480px);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* End */
/* /bitrix/templates/ukaz2026/assets/site.css?179259957440118 */
/* /bitrix/templates/ukaz2026/components/bitrix/system.pagenavigation/.default/style.css?1792599574207 */
/* /bitrix/templates/ukaz2026/styles.css?179259957471 */
/* /bitrix/templates/ukaz2026/template_styles.css?179261145020712 */
