/* Озониум — дизайн-система.
   Направление: «чистый воздух и технологии», образец Citilink.
   Глубокий синий — доверие и техника, бирюза — озон и вода, оранжевый —
   только действие. Пропорция 60–30–10: белый и светло-серый, синий с
   бирюзой, оранжевый.
   Шкалы названы по цвету, а не по смыслу: зелёного в палитре нет. */

/* Шрифты отдаём со своего домена. Google Fonts из России работает
   нестабильно: запрос идёт за границу и подвисает. Свои файлы —
   предсказуемо и быстро. Подмножества латиницы и кириллицы разнесены. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600-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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700-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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600-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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-700-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-700-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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-800-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-800-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;
}
:root {
  --bg: #ffffff;
  --fg: #1a2b3c;

  --ocean-50: #f2f9ff;
  --ocean-100: #e2eff9;
  --ocean-200: #c3dcef;
  --ocean-300: #95c2e1;
  --ocean-400: #5c9fce;
  --ocean-500: #2a78b4;
  --ocean-600: #0b3c5d;
  --ocean-700: #093350;
  --ocean-800: #072a42;

  --teal-50: #e6fbfb;
  --teal-100: #c4f5f5;
  --teal-200: #8aeaeb;
  --teal-500: #00a8a8;
  --teal-600: #04888c;
  --teal-700: #076e73;

  --orange-50: #fff6ec;
  --orange-100: #ffe8cc;
  --orange-500: #ff7a00;
  --orange-600: #e66a00;
  --orange-700: #c25800;

  --ink-50: #f7f9fa;
  --ink-100: #f2f5f7;
  --ink-200: #e3eaf0;
  --ink-300: #cbd6e0;
  --ink-400: #9aaab8;
  --ink-500: #7c8d9c;
  --ink-600: #5a6b7a;

  --line: #e3eaf0;
  --radius: 12px;
  --radius-ctl: 10px;
  --shadow: 0 1px 2px rgba(11, 60, 93, .04), 0 8px 24px rgba(11, 60, 93, .06);
  --shadow-hover: 0 2px 4px rgba(11, 60, 93, .06), 0 16px 40px rgba(11, 60, 93, .1);
  --tabbar: calc(3.5rem + env(safe-area-inset-bottom, 0px));
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Manrope, Inter, system-ui, sans-serif;
  color: var(--ocean-600);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.125rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--ocean-600); }

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

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--muted { background: var(--ink-100); }
.section--hero { background: linear-gradient(180deg, var(--ocean-50), #fff); }

.eyebrow {
  font-size: .8125rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--teal-600); margin: 0 0 .75rem;
}
.lead { font-size: 1.125rem; color: var(--ink-600); max-width: 60ch; }
.muted { color: var(--ink-500); }

/* --- кнопки: оранжевый только у действия --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--radius-ctl);
  font: 600 1rem/1 Inter, sans-serif; text-decoration: none; cursor: pointer;
  transition: background .18s, box-shadow .18s, transform .18s;
}
.btn--primary {
  background: var(--orange-500); color: #fff;
  box-shadow: 0 1px 2px rgba(11,60,93,.08), 0 8px 20px -8px rgba(255,122,0,.55);
}
.btn--primary:hover { background: var(--orange-600); }
.btn--ghost {
  background: #fff; color: var(--ocean-600); border: 1px solid var(--ocean-200);
}
.btn--ghost:hover { border-color: var(--ocean-400); background: var(--ocean-50); }
.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal-500); outline-offset: 2px;
}

/* --- шапка --- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__row {
  display: flex; align-items: center; gap: 28px;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: var(--ocean-600); color: #fff;
  display: grid; place-items: center; font-size: 20px; line-height: 1;
}
.logo__text {
  font-family: Manrope, sans-serif; font-weight: 800; font-size: 1.25rem;
  color: var(--ocean-600);
}
/* Логотип — присланный знак на синей плитке. object-fit:contain, чтобы
   знак не выходил за скруглённые края плитки при любом размере. */
.logo__mark img { width: 26px; height: 26px; object-fit: contain; display: block; }
.site-nav { display: flex; gap: 26px; margin-left: 8px; align-items: stretch; }
/* Пункт — флекс-контейнер, чтобы текст центрировался по вертикали.
   Без этого растянутый блок прижимал однострочные пункты к верхнему краю,
   и когда соседний пункт переносился на две строки, остальные висели на
   13 px выше. Подчёркивание при этом остаётся на одной линии у всех. */
.site-nav a {
  font-size: .9375rem; font-weight: 500; color: var(--ink-600);
  text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent;
  display: flex; align-items: center;
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ocean-600); border-bottom-color: var(--teal-500); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 700; color: var(--ocean-600); white-space: nowrap;
}
.phone-link:hover { color: var(--teal-600); }
.icon-btn {
  width: 44px; height: 44px; border-radius: var(--radius-ctl); flex: none;
  display: none; place-items: center; background: var(--ink-100);
  border: 0; cursor: pointer; color: var(--ocean-600);
}

/* --- нижняя навигация (мобильная) --- */
.tabbar { display: none; }
/* Компактная шапка включается на 1000px, а не на 900px: девять пунктов
   меню плюс логотип и телефон физически не помещались между 901 и 989 px,
   и страница уезжала вбок. Нижняя панель остаётся на 900px — это
   мобильный интерфейс, на планшете она не нужна. */
@media (max-width: 1000px) {
  .site-nav { display: none; }
  .phone-link span { display: none; }
  .icon-btn { display: grid; }
}
@media (max-width: 900px) {
  body { padding-bottom: var(--tabbar); }
  .tabbar {
    display: block; position: fixed; inset: auto 0 0; z-index: 40;
    background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line); height: var(--tabbar);
  }
  .tabbar ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; height: 3.5rem; }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    text-decoration: none; color: var(--ink-500); font-size: .6875rem; font-weight: 500;
  }
  .tabbar a[aria-current] { color: var(--ocean-600); }
  .tabbar svg { width: 22px; height: 22px; }
}
@media (min-width: 901px) { .tabbar { display: none; } }

/* Промежуточная ширина. Девять пунктов меню плюс телефон не помещались
   в шапку ниже примерно 1360 px — страница уезжала вбок.
   Шире 1200 px достаточно сжать интервалы, номер телефона остаётся.
   Уже 1200 px номер убираем, остаётся иконка: сам он есть в мобильном
   меню, в подвале и в href. */
@media (max-width: 1360px) and (min-width: 1001px) {
  .site-header__row { gap: 18px; }
  .site-nav { gap: 18px; margin-left: 0; }
  .site-nav a { font-size: .875rem; }
}
@media (max-width: 1200px) and (min-width: 1001px) {
  .phone-link span { display: none; }
  .phone-link { width: 40px; height: 40px; justify-content: center; padding: 0; }
}

/* --- сетки --- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* --- карточки --- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.adv {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.adv__icon {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  background: var(--teal-50); color: var(--teal-600);
  display: grid; place-items: center;
}
.adv__icon svg { width: 22px; height: 22px; }
.adv h3 { font-size: 1rem; margin: 0 0 2px; }
.adv p { margin: 0; font-size: .875rem; color: var(--ink-500); }
/* Заголовок плитки. Раньше был h3 — он стоял сразу после h1 и разрывал
   уровни заголовков на странице. Плитка не является разделом, поэтому
   это обычный текст. */
.adv__title { font-weight: 700; font-size: 1rem; color: var(--ink-900); margin: 0 0 2px !important; }
.h2-spec { font-size: 1.25rem; margin-top: 24px; }

/* --- текстовые блоки карточки товара --- */
.prose { max-width: 72ch; }
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--teal-600); }

.ticks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal-600);
}
.ticks--warn li::before { background: var(--orange-600, #ff7a00); }

.note {
  background: var(--ocean-50); border-left: 4px solid var(--ocean-600, #0b3c5d);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-700); margin: 0;
}

.faq { display: grid; gap: 20px; max-width: 72ch; }
.faq__item h3 { font-size: 1.0625rem; margin: 0 0 6px; }
.faq__item p { margin: 0; color: var(--ink-600); }

/* текущая модель в таблице сравнения */
.compare tr.is-current { background: var(--teal-50); }
.compare tr.is-current th a { font-weight: 800; }

/* --- карточка товара --- */
.product { position: relative; }
.product__media {
  position: relative; background: linear-gradient(135deg, var(--ocean-50), var(--teal-50));
  aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
}
.product__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.product__flags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.flag {
  font-size: .6875rem; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  background: var(--ocean-600); color: #fff;
}
.flag--teal { background: var(--teal-600); }
.flag--muted { background: rgba(26,43,60,.82); }
.product__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product__name { font-size: 1.0625rem; font-weight: 700; margin: 0 0 4px; color: var(--ink-900); font-family: Manrope, sans-serif; }
.product__specs { margin: 12px 0 0; padding: 0; list-style: none; font-size: .8125rem; color: var(--ink-600); }
.product__specs li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--ink-100); }
.product__specs b { font-weight: 600; color: var(--ink-900); white-space: nowrap; }
.product__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 12px; }
.price { font-family: Manrope, sans-serif; font-size: 1.375rem; font-weight: 800; color: var(--ocean-600); }
.product__foot .btn { margin-left: auto; }

/* --- таблица сравнения --- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 720px; }
table.compare th, table.compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--ink-100); }
table.compare thead th { background: var(--ocean-600); color: #fff; font-weight: 600; white-space: nowrap; position: sticky; top: 0; }
table.compare tbody tr:hover { background: var(--ocean-50); }
table.compare tbody th { font-weight: 600; color: var(--ink-600); white-space: nowrap; }
table.compare td b { color: var(--ocean-600); }

/* --- аккордеон FAQ --- */
details.faq {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 18px; box-shadow: var(--shadow); margin-bottom: 12px;
}
details.faq summary {
  cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; color: var(--ocean-600);
  list-style: none; position: relative; font-family: Manrope, sans-serif;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--teal-500); border-bottom: 2px solid var(--teal-500);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
details.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.faq > p { margin: 0; padding: 0 0 16px; color: var(--ink-600); }

/* --- документы --- */
.doc {
  display: block; text-decoration: none; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.doc:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.doc img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; background: var(--ink-100); }
.doc__cap { padding: 12px 14px; font-weight: 600; color: var(--ocean-600); font-size: .9375rem; }

/* --- подвал --- */
.site-footer { margin-top: auto; background: var(--ocean-600); color: rgba(255,255,255,.78); }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 48px 0 32px; }
.footer__title { color: #fff; font-weight: 700; margin: 0 0 12px; font-size: .9375rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; }
.site-footer .logo__text { color: #fff; }
.site-footer .logo__mark { background: rgba(255,255,255,.16); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; font-size: .8125rem; color: rgba(255,255,255,.5); }

/* --- хлебные крошки --- */
.crumbs { font-size: .8125rem; color: var(--ink-500); padding: 16px 0 0; }
.crumbs a { color: var(--ink-600); }

/* --- галерея применений --- */
.app-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); text-decoration: none; }
.app-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.app-card:hover img { transform: scale(1.04); }
.app-card__cap { position: absolute; inset: auto 0 0; padding: 16px; background: linear-gradient(transparent, rgba(11,60,93,.88)); color: #fff; }
.app-card__cap h3 { color: #fff; margin: 0 0 2px; font-size: 1.0625rem; }
.app-card__cap p { margin: 0; font-size: .8125rem; color: rgba(255,255,255,.82); }

/* --- блок «два столбца» --- */
/* minmax(0, 1fr), а не 1fr: колонка 1fr не может стать уже своего
   min-content — таблица характеристик растягивала сетку, и страница
   уезжала вбок на телефоне (498px прокрутки при окне 390px). */
.split { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 861px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-hover); width: 100%; }

/* Выравнивание по верху нужен там, где справа высокий блок (фото плюс
   таблица характеристик), а слева короткий текст. По умолчанию .split
   центрирует столбцы, и короткий текст повисает на середине, оставляя
   сверху полкила пустоты. */
.split--top { align-items: start; }

/* --- блок преимуществ с цифрами --- */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); text-align: center; }
.stat b { display: block; font-family: Manrope, sans-serif; font-size: 1.75rem; font-weight: 800; color: var(--teal-600); }
.stat span { font-size: .875rem; color: var(--ink-500); }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ocean-600); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 var(--radius-ctl) 0;
}
.skip-link:focus { left: 0; }

@media print { .site-header, .tabbar, .site-footer { display: none; } }
/* --- выпадающее меню в шапке (только там, где нижней навигации нет) --- */
.mobile-menu { display: none; }
@media (max-width: 1000px) {
  .mobile-menu {
    display: block; border-top: 1px solid var(--line);
    background: #fff; max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu nav { display: grid; }
  .mobile-menu a {
    display: block; padding: 14px 20px; text-decoration: none;
    color: var(--ink-600); font-weight: 500; border-bottom: 1px solid var(--ink-100);
  }
  .mobile-menu a:active { background: var(--ocean-50); }
  .mobile-menu a:hover { color: var(--ocean-600); }
}
