/* =====================================================================
   Вектор-Урал — лендинг по структуре примера «СОРБЕНТ»
   Светлый фон (карта мира) + тёмный текст + оранжевый акцент
   ===================================================================== */

:root {
  --accent: #F4633A;          /* оранжевый акцент */
  --accent-strong: #DB4F28;   /* темнее, для ховеров */
  --ink: #1B1C20;
  --ink-soft: #3A3C42;
  --muted: #6E7178;
  --line: rgba(27, 28, 32, .16);
  --paper: #F8F3E7;           /* крем (светлее) — для хиро / тёплых плашек */
  --bg: #EDEEF1;              /* светлый нейтральный серый — фон секций */
  --gray-dark: #939597;       /* Ultimate Gray 17-5104 — тёмные места (подвал) */
  --color-slate-dark: #0D0D0D; /* тёмный slate — футер */
  --radius: 14px;
  --gutter: clamp(18px, 3vw, 44px);
  --maxw: 1360px;
  --topbar-h: 76px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--color-slate-dark); overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;              /* clip (не hidden) — не ломает sticky-топбар */
  overscroll-behavior-x: none;
  width: 100%;
}
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =============================== ШАПКА ================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar-h);
  border-bottom: 1px solid var(--line);
}
/* Фон и блюр вынесены в ::before, чтобы backdrop-filter не создавал
   containing block и не ломал position:fixed у мобильного меню. */
.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  pointer-events: none;
}
.topbar__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

/* Логотип */
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand__logo { height: 30px; width: auto; display: block; flex: none; transform: translateY(-3px); transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
/* при скролле значок плавно едет вправо с задержкой — ждёт, пока текст погаснет */
.topbar.is-scrolled .brand__logo { transform: translate(20px, -3px); transition: transform .6s cubic-bezier(.22, .61, .36, 1) .18s; }
.brand__mark { display: inline-flex; }
.brand__text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .06em;
  color: var(--ink);
}
.brand__sep { color: var(--accent); }

/* Логотип-слово теперь вектор (SVG), не зависит от шрифта */
.brand__text { display: inline-flex; align-items: center; }
.brand__svg { display: block; height: 15px; width: auto; }
.footer .brand__text .brand__svg { height: 18px; }

/* Логотип-текст — шрифт Sora */
.topbar .brand__text {
  font-family: 'Exo 2', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: .05em;
}
/* При скролле слово «ПАРИТЕТ» красиво уезжает влево — остаётся только значок */
.topbar .brand__text {
  white-space: nowrap;
  overflow: hidden;
  max-width: 280px;
  /* появление (скролл наверх): текст ждёт, пока значок уедет назад влево */
  transition: max-width .35s cubic-bezier(.4, 0, .2, 1) .16s,
              opacity .2s ease .18s,
              transform .35s cubic-bezier(.4, 0, .2, 1) .16s,
              margin-left .35s cubic-bezier(.4, 0, .2, 1) .16s;
}
.topbar.is-scrolled .brand__text {
  max-width: 0;
  opacity: 0;
  transform: translateX(-8px);
  margin-left: -9px;
  /* сворачивание: текст гаснет сразу, без задержки */
  transition: max-width .35s cubic-bezier(.4, 0, .2, 1),
              opacity .14s ease,
              transform .35s cubic-bezier(.4, 0, .2, 1),
              margin-left .35s cubic-bezier(.4, 0, .2, 1);
}

/* Навигация */
.menu { display: flex; align-items: center; gap: clamp(10px, 1.5vw, 24px); margin-inline: auto; }
.menu__link {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color .15s ease;
}
.menu__link:hover { color: var(--ink); }
.menu__link.is-active { color: var(--accent); }

/* Контакты */
.contacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.4vw, 20px);
  flex: none;
}
.contacts__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.contacts__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  flex: none;
}

/* Бургер */
.burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .25s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================== ХИРО ================================= */
/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--topbar-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-image: url('../img/hero-bg-map.png');
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 45%, rgba(249,244,233,.5) 0%, rgba(249,244,233,.78) 70%, rgba(249,244,233,.92) 100%);
  pointer-events: none;
}

/* Двухколоночный лейаут */
.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(40px, 8vh, 72px);
}
.hero__left {
  flex: 1;
  min-width: 0;
  max-width: 560px;
}
.hero__slogan {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.025em;
  color: var(--ink);
  text-align: left;
  overflow-wrap: break-word;
  word-break: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.hero__sub {
  margin: 20px 0 0;
  max-width: 48ch;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.55;
}
.hero__cta { display: inline-block; margin-top: 28px; padding: 14px 32px; font-size: 1rem; }

/* Градиент-слайд (как в эталоне, наши цвета, плавнее) */
.hero__cta, .btn--solid, .btn--ghost, .cookiebar__btn, .cookiebar__decline, .product__cart, .srow__btn, .pmodal__add {
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  background: linear-gradient(120deg, #F4633A, #DB4F28, #F4633A) !important;
  background-size: 200% 100% !important;
  background-position: 0% 50%;
  box-shadow: 0 10px 25px -10px rgba(244, 99, 58, .55);
  transition: background-position .9s ease, transform .25s ease, box-shadow .25s ease !important;
}
.hero__cta:hover, .btn--solid:hover, .btn--ghost:hover, .cookiebar__btn:hover, .cookiebar__decline:hover, .product__cart:hover, .srow__btn:hover, .pmodal__add:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 18px 35px -12px rgba(219, 79, 40, .65);
}
.hero__cta:active, .btn--solid:active, .btn--ghost:active, .cookiebar__btn:active, .cookiebar__decline:active, .product__cart:active, .srow__btn:active, .pmodal__add:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .hero__cta, .btn--solid, .btn--ghost, .cookiebar__btn, .cookiebar__decline, .product__cart, .srow__btn, .pmodal__add { transition: none; }
}

/* ── Правая колонка: мини-баннерный слайдер ── */
.hero__right {
  flex: none;
  width: clamp(420px, 54vw, 720px);
}
/* на десктопе баннер чуть правее — уводим в поле гаттера */
@media (min-width: 901px) {
  .hero__right { margin-right: clamp(-30px, -2.2vw, -16px); }
}

/* Контейнер слайдера */
.hbs {
  position: relative;
  width: 100%;
}
.hbs__track {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

/* Карточка-баннер — тёмная, премиальная */
.hbs__card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  padding: clamp(26px, 3vw, 40px);
  border-radius: 12px;
  min-height: clamp(330px, 42vw, 520px);
  overflow: hidden;
  background: linear-gradient(158deg, #1c1d22 0%, #0d0d0d 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px -18px rgba(13,13,13,.55), 0 2px 8px rgba(13,13,13,.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity .65s ease, visibility .65s;
  will-change: opacity;
}
.hbs__card.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  min-height: clamp(330px, 42vw, 520px);
}
/* Фирменное свечение в углу */
.hbs__card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 88% 6%, rgba(244,99,58,.28) 0%, transparent 62%);
  pointer-events: none;
}

/* Гигантская цифра-водяной знак */
.hbs__ghost {
  position: absolute;
  right: -.06em; top: -.18em;
  margin: 0;
  font-size: clamp(9rem, 18vw, 15rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  color: rgba(255,255,255,.05);
  pointer-events: none;
  z-index: 0;
}

/* Текст */
.hbs__label {
  position: relative;
  z-index: 1;
  margin: 0 0 auto;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
/* Крупная статистика */
.hbs__stat {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 14px;
}
.hbs__num {
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.04em;
  color: #fff;
  background: linear-gradient(180deg, #fff 30%, var(--accent) 165%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hbs__unit {
  font-size: clamp(.84rem, 1.2vw, 1rem);
  font-weight: 700;
  line-height: 1.15;
  color: rgba(255,255,255,.7);
}
.hbs__title {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: #fff;
}
.hbs__desc {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(.8rem, 1.1vw, .92rem);
  color: rgba(255,255,255,.62);
  line-height: 1.55;
}

/* Баннер с фото-фоном */
.hbs__card--photo {
  background-size: cover;
  background-position: center;
}
.hbs__card--photo::after {
  background: linear-gradient(180deg, rgba(13,13,13,0) 0%, rgba(13,13,13,.04) 55%, rgba(13,13,13,.42) 100%);
}
.hbs__card--photo .hbs__label { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.hbs__card--photo .hbs__title,
.hbs__card--photo .hbs__desc { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.55); }

/* Кнопки баннера (произвольные, из CMS) */
.hbs__btns {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px;
}
.hbs__btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: .9rem;
  text-decoration: none; transition: background .2s, transform .2s, border-color .2s;
}
.hbs__btn:hover { background: var(--accent-strong); transform: translateY(-1px); }
/* вторая и далее — контурная на тёмном фоне */
.hbs__btns .hbs__btn:nth-child(n+2) {
  background: transparent; border: 1.5px solid rgba(255,255,255,.4); color: #fff;
}
.hbs__btns .hbs__btn:nth-child(n+2):hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* Контролы: стрелки + точки в одну строку */
.hbs__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}
.hbs__arrow {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(27,28,32,.16);
  background: #fff;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background .18s, color .18s, border-color .18s;
}
.hbs__arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hbs__arrow:active { transform: scale(.94); }
.hbs__arrow svg { display: block; width: 15px; height: 15px; }

/* Точки навигации */
.hbs__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hbs__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(27,28,32,.22);
  cursor: pointer;
  padding: 0;
  transition: background .25s, width .25s;
}
.hbs__dot.is-active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ── Банки (для будущего переноса) ── */
.hero__cans {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.hero__can {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.97) translateY(6px);
  transition: opacity .9s cubic-bezier(.4,0,.2,1),
              transform .9s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 24px 40px rgba(27,28,32,.18));
}
.hero__can.is-active { opacity: 1; transform: scale(1) translateY(0); }

/* Планшет — баннер чуть уже */
@media (max-width: 900px) {
  .hero__right { width: clamp(300px, 44vw, 460px); }
  .hbs__card, .hbs__card.is-active { min-height: clamp(280px, 44vw, 430px); }
}

/* Мобилка — баннер СВЕРХУ, текст снизу */
@media (max-width: 639px) {
  .hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding-block: 6px 26px;
    min-height: 0;
  }
  .hero { min-height: 0; }
  .hero__right { width: 100%; order: -1; }
  .hero__left  { max-width: 100%; }
  .hbs__card, .hbs__card.is-active { min-height: clamp(265px, 66vw, 360px); }
  /* на мобилке листаем пальцем — стрелки прячем, оставляем точки */
  .hbs__arrow { display: none; }
  .hbs__controls { margin-top: 12px; }
  .hero__slogan { font-size: clamp(1.75rem, 7.5vw, 2.4rem); }
  .hero__sub    { font-size: .95rem; margin-top: 12px; }
  .hero__cta    { margin-top: 20px; padding: 12px 26px; font-size: .95rem; }
}

/* Слайды */
.hero__slides { position: relative; width: 100%; }
.slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease, visibility .5s;
  position: absolute;
  inset: 0;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  position: relative;
}
.slide__title {
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
}
.slide__sub {
  margin-top: 18px;
  max-width: 34ch;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Фото объекта */
.slide__photo {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -28px rgba(27, 28, 32, .45);
}
.slide__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Управление слайдером (стрелка + точки) */
.hero__control {
  position: absolute;
  right: clamp(8px, 2vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.dots { display: flex; flex-direction: column; gap: 10px; }
.dots__dot {
  width: 9px; height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(27,28,32,.22);
  transition: background .2s ease, transform .2s ease;
}
.dots__dot.is-active { background: var(--accent); transform: scale(1.25); }
.arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.arrow:hover { background: var(--accent); color: #fff; }

/* Нижние блоки преимуществ */
.hero__features {
  position: relative;
  z-index: 2;
  padding-block: clamp(20px, 3vh, 36px);
}
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 6vw, 90px);
}
.feature {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature__check { color: var(--accent); flex: none; }
.feature__text {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

/* ============================== АДАПТИВ ============================== */
@media (max-width: 1340px) {
  /* адрес — только иконка */
  .contacts__item:last-child .contacts__text { display: none; }
}
@media (max-width: 1180px) {
  /* email — только иконка */
  .contacts__item:nth-child(2) .contacts__text { display: none; }
}
@media (max-width: 980px) {
  .menu, .contacts { display: none; }
  .burger { display: flex; }

  /* мобильное меню — полноэкранная панель с крупными пунктами */
  .menu.is-open {
    display: flex;
    position: fixed;
    top: var(--topbar-h);
    left: 0; right: 0; bottom: 0;
    height: calc(100vh - var(--topbar-h));
    height: calc(100dvh - var(--topbar-h));
    z-index: 40;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    background: var(--paper);
    padding: 8px var(--gutter) max(32px, env(safe-area-inset-bottom));
    counter-reset: navi;
    overflow-y: auto;
    animation: menuFade .3s ease both;
  }
  @keyframes menuFade { from { opacity: 0; } to { opacity: 1; } }

  .menu.is-open .menu__link {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: clamp(14px, 2.4vh, 22px) 4px;
    font-size: clamp(1.7rem, 8vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.05;
    text-transform: none;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateX(-16px);
    animation: navItem .5s cubic-bezier(.22, .61, .36, 1) forwards;
  }
  .menu.is-open .menu__link::before {
    counter-increment: navi;
    content: "0" counter(navi);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--accent);
    transform: translateY(-.7em);
  }
  .menu.is-open .menu__link.is-active { color: var(--accent); }
  .menu.is-open .menu__link:active { color: var(--accent); }
  .menu.is-open .menu__link:nth-child(1) { animation-delay: .05s; }
  .menu.is-open .menu__link:nth-child(2) { animation-delay: .11s; }
  .menu.is-open .menu__link:nth-child(3) { animation-delay: .17s; }
  .menu.is-open .menu__link:nth-child(4) { animation-delay: .23s; }
  .menu.is-open .menu__link:nth-child(5) { animation-delay: .29s; }
  @keyframes navItem { to { opacity: 1; transform: translateX(0); } }

  /* hero__inner остаётся row — ломается только на 639px */
  .slide { grid-template-columns: 1fr; }
  .slide__photo { aspect-ratio: 16 / 9; order: 2; margin-top: 22px; }

  /* управление слайдером — строкой под слайдом */
  .hero__control {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
  }
  .dots { flex-direction: row; }
  .arrow { width: 46px; height: 46px; }
}
@media (max-width: 640px) {
  .hero__slogan { font-size: clamp(1.9rem, 8.5vw, 2.7rem); }
  .features { gap: 22px; }
  .feature__text br { display: none; }
  .feature__text { line-height: 1.35; }
}

/* =====================================================================
   СЕКЦИИ ЛЕНДИНГА
   ===================================================================== */
.section { padding-block: clamp(40px, 4.5vw, 72px); background: #fff; }
.section--light { background: var(--bg); }

/* ===== Карточка-товар: кликабельность + модалка ===== */
.product--clickable { cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.product--clickable:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -12px rgba(27,28,32,.28); }
.product--clickable:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Полноэкранная страница товара */
.pmodal { position: fixed; inset: 0; z-index: 95; background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.pmodal[hidden] { display: none; }
.pmodal__close {
  position: fixed; right: 18px; top: 16px; z-index: 4;
  width: 40px; height: 40px; border: 1px solid var(--line); cursor: pointer; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s;
}
.pmodal__close:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.pmodal__wrap { max-width: 1140px; margin: 0 auto; padding: clamp(20px, 4vw, 44px) clamp(16px, 4vw, 40px) 64px; }
.pmodal__crumbs { font-size: .82rem; color: var(--muted); margin-bottom: clamp(16px, 2.5vw, 28px); }
.pmodal__crumb { color: var(--muted); }
.pmodal__crumb:hover { color: var(--accent); }
.pmodal__crumb-sep { margin: 0 7px; }
.pmodal__crumb-cat { color: var(--ink); }

.pmodal__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pmodal__gallery { position: sticky; top: 24px; }
.pmodal__media { position: relative; aspect-ratio: 1 / 1; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.pmodal__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pmodal__noimg { display: none; color: var(--muted); font-size: .95rem; }
.pmodal__media--empty .pmodal__img { display: none; }
.pmodal__media--empty .pmodal__noimg { display: block; }

.pmodal__buy { display: flex; flex-direction: column; }
.pmodal__cat { font-size: .74rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pmodal__name { margin: 0 0 14px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.pmodal__stock { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: #1c7a44; margin-bottom: 22px; }
.pmodal__dot { width: 8px; height: 8px; border-radius: 50%; background: #29a35a; }
.pmodal__pricebox { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.pmodal__price { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ink); letter-spacing: -.02em; }
.pmodal__pricenote { font-size: .82rem; color: var(--muted); }
.pmodal__buyrow { display: flex; align-items: stretch; gap: 12px; margin-bottom: 22px; }
.pmodal__qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.pmodal__qbtn { width: 46px; height: 100%; min-height: 50px; border: none; background: #fff; color: var(--ink); font-size: 20px; cursor: pointer; transition: background .15s; }
.pmodal__qbtn:hover { background: var(--bg); color: var(--accent); }
.pmodal__qn { min-width: 40px; text-align: center; font-weight: 700; font-size: 1.05rem; }
.pmodal__add { flex: 1; min-height: 50px; font-size: 1rem; font-weight: 700; border-radius: 12px; }
.pmodal__tocart { align-self: flex-start; margin: -10px 0 22px; background: none; border: none; color: var(--accent-strong); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; padding: 0; }
.pmodal__tocart[hidden] { display: none; }
.pmodal__perks { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.pmodal__perks li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink-soft); }
.pmodal__perkico { flex: none; color: var(--accent); }

.pmodal__sections { margin-top: clamp(36px, 5vw, 60px); display: grid; gap: clamp(28px, 4vw, 44px); max-width: 820px; }
.pmodal__sec h3 { margin: 0 0 14px; font-size: 1.2rem; font-weight: 800; }
.pmodal__desc { margin: 0; color: var(--ink-soft); line-height: 1.7; font-size: 1rem; }
.pmodal__specs { width: 100%; border-collapse: collapse; }
.pmodal__specs th, .pmodal__specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .94rem; vertical-align: top; }
.pmodal__specs th { font-weight: 500; color: var(--muted); width: 45%; }
.pmodal__specs td { font-weight: 700; }

@media (max-width: 760px) {
  .pmodal__top { grid-template-columns: 1fr; gap: 22px; }
  .pmodal__gallery { position: static; }
  .pmodal__close { right: 12px; top: 12px; width: 36px; height: 36px; }
}

/* ===== Услуги: строки (как объявления) ===== */
.srows { display: flex; flex-direction: column; gap: 12px; }
.srow {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; transition: border-color .15s, box-shadow .15s;
}
.srow:hover { border-color: var(--accent); box-shadow: 0 10px 26px -16px rgba(27,28,32,.3); }
.srow__media { flex: none; width: 110px; height: 88px; border-radius: 10px; overflow: hidden; background: var(--bg); }
.srow__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.srow__media--empty { display: grid; place-items: center; color: var(--muted); font-size: .8rem; }
.srow__main { flex: 1; min-width: 0; }
.srow__title { margin: 0 0 6px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.srow__desc { margin: 0; color: var(--ink-soft); line-height: 1.55; font-size: .92rem; }
.srow__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 130px; }
.srow__price { font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.srow__btn { color: #fff; font: inherit; font-weight: 700; font-size: .9rem; padding: 10px 20px; border-radius: 10px; cursor: pointer; }
.srow-empty { text-align: center; padding: clamp(40px, 8vw, 80px) 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.srow-empty p { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 800; }
.srow-empty span { color: var(--muted); max-width: 420px; line-height: 1.55; margin-bottom: 8px; }
@media (max-width: 600px) {
  .srow { flex-wrap: wrap; gap: 12px; padding: 12px; }
  .srow__media { width: 76px; height: 64px; }
  .srow__main { flex: 1 1 auto; }
  .srow__side { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; min-width: 0; }
}

/* ===== Корзина заявки ===== */
.product__cart { color: #fff; font: inherit; font-weight: 700; font-size: .84rem; padding: 8px 14px; border-radius: 8px; cursor: pointer; }

.cart-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; border: none; background: var(--ink); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px -6px rgba(0,0,0,.4); transition: transform .15s, background .15s; }
.cart-fab[hidden] { display: none; }
.cart-fab:hover { background: var(--accent); transform: translateY(-2px); }
.cart-fab__badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }

.cart-drawer { position: fixed; inset: 0; z-index: 95; }
.cart-drawer[hidden] { display: none; }
.cart-drawer__overlay { position: absolute; inset: 0; background: rgba(15,16,22,.45); backdrop-filter: blur(2px); }
.cart-drawer__panel { position: absolute; right: 0; top: 0; height: 100%; width: min(420px, 100%); background: var(--bg); display: flex; flex-direction: column; box-shadow: -16px 0 50px -18px rgba(0,0,0,.45); animation: cartIn .28s cubic-bezier(.4,0,.2,1); }
@keyframes cartIn { from { transform: translateX(100%); } }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 16px; background: #fff; }
.cart-drawer__heading { display: flex; align-items: center; gap: 10px; }
.cart-drawer__title { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.cart-drawer__count { font-size: .78rem; font-weight: 700; color: var(--accent-strong); background: rgba(244,99,58,.12); padding: 3px 9px; border-radius: 20px; }
.cart-drawer__close { border: none; background: var(--bg); font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; transition: background .15s, color .15s; }
.cart-drawer__close:hover { background: var(--line); color: var(--ink); }
.cart-drawer__list { flex: 1; overflow: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }

.cart-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 70px 16px; color: var(--muted); margin: auto 0; }
.cart-empty__ico { color: var(--line); margin-bottom: 8px; }
.cart-empty p { margin: 0; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.cart-empty span { font-size: .86rem; max-width: 230px; line-height: 1.5; }

.cart-item { display: flex; align-items: center; gap: 13px; padding: 12px; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(27,28,32,.04); }
.cart-item__pic { flex: none; width: 56px; height: 56px; border-radius: 11px; background: var(--bg) center/cover no-repeat; }
.cart-item__pic.is-empty { display: grid; place-items: center; border: 1px solid var(--line); }
.cart-item__pic.is-empty::after { content: "фото"; font-size: 9px; color: var(--muted); }
.cart-item__mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.cart-item__name { font-size: .9rem; line-height: 1.3; font-weight: 700; color: var(--ink); }
.cart-qty { display: inline-flex; align-items: center; background: var(--bg); border-radius: 9px; padding: 2px; align-self: flex-start; }
.cart-qty__btn { width: 28px; height: 28px; border: none; background: transparent; cursor: pointer; font-size: 17px; line-height: 1; color: var(--ink); border-radius: 7px; transition: background .15s, color .15s; }
.cart-qty__btn:hover { background: #fff; color: var(--accent); }
.cart-qty__n { min-width: 30px; text-align: center; font-weight: 800; font-size: .9rem; }
.cart-item__del { flex: none; border: none; background: none; font-size: 19px; color: var(--muted); cursor: pointer; line-height: 1; width: 28px; height: 28px; border-radius: 8px; transition: background .15s, color .15s; }
.cart-item__del:hover { background: #fbeceb; color: #c8392b; }

.cart-drawer__foot { padding: 16px; background: #fff; box-shadow: 0 -8px 24px -16px rgba(0,0,0,.25); }
.cart-contact-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cart-contact-label { font-size: .8rem; font-weight: 700; color: var(--ink); }
.cart-contact { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); outline: none; transition: border-color .15s, background .15s; }
.cart-contact:focus { border-color: var(--accent); background: #fff; }
.cart-contact.is-err { border-color: #e24b4a; background: #fdecec; }
.cart-contact::placeholder { color: var(--muted); }
.cart-foot__q { margin: 0 0 9px; font-weight: 700; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cart-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.cart-ch { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; font-size: .9rem; padding: 13px 10px; border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .1s; }
.cart-ch:hover { border-color: var(--accent); color: var(--accent); background: #fff8f5; }
.cart-ch:active { transform: scale(.97); }
.cart-ch__ico { flex: none; }
.cart-ch--tg:hover { border-color: #29a9eb; color: #29a9eb; background: #f1f9fe; }
.cart-ch--email:hover { border-color: var(--ink); color: var(--ink); background: var(--bg); }
.cart-note { margin: 11px 0 0; font-size: .76rem; line-height: 1.5; color: var(--muted); display: flex; gap: 7px; }
.cart-note::before { content: "ⓘ"; flex: none; color: var(--accent); font-weight: 700; }
.cart-clear { margin-top: 8px; width: 100%; border: none; background: none; color: var(--muted); font: inherit; font-size: .82rem; cursor: pointer; padding: 8px; border-radius: 9px; transition: background .15s, color .15s; }
.cart-clear:hover { color: #c8392b; background: #fbeceb; }
.cart-toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 12px); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: .9rem; z-index: 120; opacity: 0; transition: opacity .25s, transform .25s; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.cart-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ===== Плашка «отключите VPN» ===== */
.vpnbar {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff;
  font-size: 13.5px; font-weight: 500; line-height: 1.4;
  padding: 9px 46px 9px 18px; text-align: center;
}
.vpnbar__txt { display: inline-flex; align-items: center; gap: 8px; }
.vpnbar__txt svg { flex: none; color: var(--accent); }
.vpnbar__close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.7);
  font-size: 22px; line-height: 1; cursor: pointer;
  width: 28px; height: 28px; border-radius: 6px; transition: color .15s, background .15s;
}
.vpnbar__close:hover { color: #fff; background: rgba(255,255,255,.12); }
@media (max-width: 560px) { .vpnbar { font-size: 12.5px; padding: 8px 40px 8px 12px; } }

/* ===== Скелетон каталога ===== */
.skel { position: relative; overflow: hidden; background: rgba(27,28,32,.08); border-radius: 8px; }
.skel::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: skelShimmer 1.3s infinite;
}
@keyframes skelShimmer { 100% { transform: translateX(100%); } }
.product--skel { pointer-events: none; }
.skel--line  { height: 16px; margin-bottom: 14px; }
.skel--pill  { height: 14px; width: 72px; border-radius: 20px; }
.skel--btn   { height: 32px; width: 96px; border-radius: 10px; }
.skel--title { height: 26px; width: 240px; margin: 0 0 18px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .skel::after { animation: none; } }

/* ===== Кнопка «скопировать» ===== */
.copy-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-left: 8px; vertical-align: middle;
  border: none; background: transparent; color: var(--muted); cursor: pointer;
  border-radius: 7px; position: relative; transition: color .15s, background .15s;
}
.copy-btn:hover { color: var(--accent); background: rgba(244,99,58,.1); }
.copy-btn:active { transform: scale(.92); }
.copy-btn.is-copied { color: #1c7a44; }
.copy-btn.is-copied::after {
  content: "Скопировано"; position: absolute; bottom: 128%; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none;
}

/* ===== Плашка «Остерегайтесь подделок» ===== */
.alert-band {
  padding-block: clamp(28px, 3.5vw, 48px);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
}
.alert-band__inner { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); }
.alert-band__head { display: flex; gap: 16px; align-items: flex-start; }
.alert-band__ico { flex: none; margin-top: 2px; color: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.18)); }
.alert-band__title {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.05;
  text-transform: uppercase;
}
.alert-band__lead { margin: 0; font-size: clamp(.95rem, 1.4vw, 1.08rem); line-height: 1.55; max-width: 70ch; color: rgba(255,255,255,.95); }
.alert-band__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px;
}
.alert-band__list li {
  position: relative; padding-left: 30px;
  font-size: clamp(.88rem, 1.2vw, .98rem); line-height: 1.5; color: rgba(255,255,255,.96);
}
.alert-band__list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.alert-band__list li b { font-weight: 800; }
.alert-band__foot {
  display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.25); padding-top: clamp(14px, 1.8vw, 22px);
}
.alert-band__note { margin: 0; flex: 1; min-width: 260px; font-size: .92rem; line-height: 1.55; color: rgba(255,255,255,.95); }
.alert-band__note a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.alert-band__btn {
  flex: none; background: #fff; color: var(--accent-strong); font-weight: 800;
  padding: 13px 26px; border-radius: 10px;
}
.alert-band__btn:hover { background: var(--ink); color: #fff; }
@media (max-width: 640px) {
  .alert-band__list { grid-template-columns: 1fr; }
  .alert-band__btn { width: 100%; text-align: center; }
}

/* ===== Страница «Как отличить оригинал»: компактная таблица + шаги ===== */
.ctable { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .94rem; }
.ctable th, .ctable td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line, #e7e8ee); vertical-align: top; line-height: 1.5; }
.ctable thead th { font-weight: 800; color: var(--ink); border-bottom-width: 2px; }
.ctable td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.ctable .is-orig { color: #1c7a44; }
.ctable .is-fake { color: var(--accent-strong); }
.steps { counter-reset: st; list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.steps li { position: relative; padding-left: 30px; color: var(--ink-soft); line-height: 1.6; }
.steps li::before { counter-increment: st; content: counter(st) "."; position: absolute; left: 2px; top: 0; font-weight: 800; color: var(--accent); }
.steps a, .legal a { color: var(--accent-strong); font-weight: 700; }
@media (max-width: 600px) {
  .ctable, .ctable thead, .ctable tbody, .ctable tr, .ctable th, .ctable td { display: block; }
  .ctable thead { display: none; }
  .ctable tr { border: 1px solid var(--line, #e7e8ee); border-radius: 10px; padding: 6px 4px; margin-bottom: 10px; }
  .ctable td { border: none; padding: 5px 12px; }
  .ctable td:first-child { font-size: 1rem; padding-bottom: 2px; }
  .ctable td.is-orig::before { content: "Оригинал: "; font-weight: 700; color: var(--ink); }
  .ctable td.is-fake::before { content: "Подделка: "; font-weight: 700; color: var(--ink); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
}

.section__head { margin: 0 0 clamp(26px, 3vw, 40px); max-width: 760px; }

.section__title {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--ink);
  border-left: 4px solid var(--accent);
  padding-left: 18px;
}
.lead { margin-top: 14px; font-size: clamp(1rem, 1.4vw, 1.14rem); color: var(--ink-soft); line-height: 1.55; }
.muted { margin-top: 14px; color: var(--muted); line-height: 1.6; }

/* ----- О компании ----- */
.about {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.stat__num { display: block; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.stat__cap { display: block; margin-top: 4px; font-size: .9rem; color: var(--muted); line-height: 1.3; }

/* ----- Карточки продукции ----- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.8vw, 26px);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(27,28,32,.4); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__body { padding: 18px 20px 22px; }
.card__title { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.card__text { margin-top: 8px; font-size: .94rem; color: var(--muted); line-height: 1.45; }

/* ----- Плитки применения ----- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,24,0) 38%, rgba(20,20,24,.78) 100%);
}
.tile:hover img { transform: scale(1.05); }
.tile__label {
  position: absolute;
  left: 20px; bottom: 18px;
  z-index: 1;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .01em;
}

/* ----- Сертификаты ----- */
.certs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}
.cert {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.cert img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
/* Широкий вариант — для горизонтальных документов (дилерские свидетельства) */
.certs--wide { grid-template-columns: repeat(2, 1fr); }
.certs--wide .cert img { aspect-ratio: 3 / 2; }
.cert:hover img { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(27,28,32,.5); }
.cert__cap { font-size: .85rem; color: var(--muted); line-height: 1.3; }

/* ----- Файлы для скачивания (PDF и т.п.) ----- */
.files {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.file {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.file:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 18px 34px -24px rgba(27, 28, 32, .45); }
.file__ico {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(244, 99, 58, .12);
  color: var(--accent);
}
.file__name { flex: 1; font-weight: 600; color: var(--ink); line-height: 1.3; }
.file__meta {
  flex: none;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 3px 8px;
}

/* ----- Контакты ----- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.contact__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.contact__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 22px;
}
.contact__row + .contact__row { border-top: 1px solid var(--line); }
.contact__key { font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.contact__val { color: var(--ink); }
.contact__val a:hover { color: var(--accent); }

/* ----- Карточки товара (каталог) ----- */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(27, 28, 32, .4); }
.product__media { aspect-ratio: 1 / 1; background: var(--bg); overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product__media--empty { display: grid; place-items: center; }
.product__media--empty span {
  font-size: .82rem;
  color: var(--muted);
  background: #fff;
  border: 1px dashed #C7C7C2;
  border-radius: var(--radius-pill, 999px);
  padding: 6px 14px;
}
.product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}
.product__name { font-size: 1.02rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.product__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product__price { font-size: 1.05rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.product__price--ask { font-size: .95rem; font-weight: 600; color: var(--muted); }
.product__btn {
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-pill, 999px);
  padding: 8px 16px;
  white-space: nowrap;
  transition: background .18s ease, transform .1s ease;
}
.product__btn:hover { background: var(--accent-strong); }
.section__more { margin-top: clamp(24px, 3vw, 40px); display: flex; justify-content: center; }

/* ----- Преимущества / тезисы (страница «Компания») ----- */
.advs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.adv {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.adv__title { font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.adv__text { margin-top: 8px; font-size: .95rem; color: var(--muted); line-height: 1.5; }

/* Перечень (испытательные центры и т.п.) */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.tags li {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill, 999px);
  padding: 8px 16px;
}

/* CTA-полоса */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px) clamp(24px, 4vw, 48px);
}
.cta__title { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ----- Кнопки ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-pill, 999px);
  font-weight: 600;
  font-size: .98rem;
  border: 1.5px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .1s ease;
}
/* .btn--solid стиль задан выше (фирменный градиент-слайд) */
.btn--ghost { border-color: var(--accent); color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }

/* ----- Подвал ----- */
.footer { background: var(--color-slate-dark); color: #AEB0B6; border-top: 3px solid var(--accent); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(40px, 5vw, 64px);
}
.footer .brand__text { font-family: 'Exo 2', 'Inter', sans-serif; color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: .06em; }
.footer__note { margin-top: 14px; font-size: .92rem; color: #84868D; line-height: 1.5; max-width: 36ch; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { font-size: .95rem; color: #C5C7CD; }
.footer__nav a:hover { color: var(--accent); }
.footer__contacts { display: flex; flex-direction: column; gap: 9px; }
.footer__ctitle { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.footer__contacts a { color: #fff; font-weight: 600; }
.footer__contacts a:hover { color: var(--accent); }
.footer__contacts span { font-size: .92rem; color: #9A9CA3; }
.footer__contacts span b { font-weight: 600; color: #E7E8EB; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.09); padding-block: 20px; font-size: .86rem; color: #6E7077; }

/* ----- Адаптив секций ----- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .certs:not(.certs--wide) { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .about, .contact { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .certs:not(.certs--wide) { grid-template-columns: repeat(2, 1fr); }
  .certs--wide { grid-template-columns: 1fr; }
  .advs { grid-template-columns: 1fr; }
  .files { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .cards { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact__row { grid-template-columns: 1fr; gap: 4px; }
}

/* ----- Кнопка «наверх» ----- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 60;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
  transition: opacity .25s ease, transform .25s ease, background .2s ease, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
/* корзина (FAB) внизу справа — поднимаем кнопку «наверх» над ней */
body.has-cart .to-top { bottom: 84px; right: 24px; }
.to-top:hover { background: var(--accent); }

/* ----- Микро-нажатие кнопок ----- */
.btn:active,
.product__btn:active,
.arrow:active,
.contacts__item:active { transform: translateY(1px) scale(.97); }
.to-top:active { transform: scale(.9); }
.burger:active { transform: scale(.94); }

/* ----- Лайтбокс (сертификаты) ----- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(15, 16, 20, .86);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }
.lightbox__stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
}
.lightbox__img {
  max-width: min(860px, calc(100vw - 200px));
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
  animation: lb-in .22s ease;
}
.lightbox__frame {
  display: none;
  width: min(860px, calc(100vw - 200px));
  height: 82vh;
  border: none;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
}

@keyframes lb-in { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.lightbox__cap { color: #E7E8EB; font-size: .95rem; text-align: center; }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  color: #fff;
  background: rgba(40, 41, 46, .72);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  transition: background .2s ease, transform .1s ease;
}
.lightbox__close { top: 18px; right: 22px; width: 44px; height: 44px; font-size: 28px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.lightbox__nav--prev { left: clamp(8px, 2vw, 28px); }
.lightbox__nav--next { right: clamp(8px, 2vw, 28px); }
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--accent); }
.lightbox__close:active,
.lightbox__nav:active { transform: scale(.9); }
.lightbox__nav:active { transform: translateY(-50%) scale(.9); }
@media (max-width: 640px) {
  .lightbox__nav { width: 42px; height: 42px; font-size: 24px; }
}

/* ----- Появление блоков при прокрутке ----- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1);
}
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* ----- Тень шапки при прокрутке ----- */
.topbar { transition: box-shadow .25s ease; }
.topbar.is-scrolled { box-shadow: 0 6px 22px -14px rgba(27, 28, 32, .45); }

/* ----- Отступ якорей под липкую шапку ----- */
section[id] { scroll-margin-top: calc(var(--topbar-h) + 18px); }

/* ссылка-фолбэк для PDF в лайтбоксе */
.lightbox__open { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.lightbox__open:hover { color: #fff; }

/* ----- Юридический документ (политика) ----- */
.legal { max-width: 820px; }
.legal__title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--ink);
  border-left: 4px solid var(--accent);
  padding-left: 18px;
}
.legal__meta { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.legal h2 { margin-top: 34px; font-size: 1.22rem; font-weight: 800; color: var(--ink); }
.legal h3 { margin-top: 22px; font-size: 1.04rem; font-weight: 700; color: var(--ink); }
.legal p { margin-top: 12px; color: var(--ink-soft); line-height: 1.65; }
.legal__list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.legal__list li { position: relative; padding-left: 20px; color: var(--ink-soft); line-height: 1.6; }
.legal__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; background: var(--accent); border-radius: 2px; }
.legal__note {
  margin-top: 30px;
  padding: 16px 18px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* строка подвала со ссылкой на политику */
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
}
.footer__bottom-inner a { color: #9EA0A7; }
.footer__bottom-inner a:hover { color: var(--accent); }

/* ----- Cookie-баннер ----- */
.cookiebar {
  position: fixed;
  bottom: clamp(12px, 3vw, 24px);
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 32px));
  z-index: 80;
  display: none;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 18px;
  background: var(--color-slate-dark);
  color: #C9CAD0;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .55);
}
.cookiebar.is-show { display: flex; }
.cookiebar__text { flex: 1 1 320px; font-size: .92rem; line-height: 1.5; }
.cookiebar__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookiebar__btn {
  flex: none;
  padding: 10px 24px;
  border-radius: var(--radius-pill, 999px);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.cookiebar__btn:active { transform: scale(.96); }
.cookiebar__actions { flex: none; display: flex; align-items: center; gap: 10px; }
.cookiebar__decline {
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-pill, 999px);
  background: transparent;
  color: #C9CAD0;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, transform .1s ease;
}
.cookiebar__decline:hover { border-color: rgba(255, 255, 255, .6); color: #fff; }
.cookiebar__decline:active { transform: scale(.96); }

/* возрастная метка в подвале */
.age-mark { font-weight: 700; font-size: .82em; opacity: .85; }

/* мобайл: баннер cookie — текст сверху, кнопки в ряд снизу */
@media (max-width: 640px) {
  .cookiebar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    bottom: 12px;
    width: calc(100vw - 24px);
    text-align: left;
  }
  .cookiebar__text { flex: none; font-size: .88rem; }
  .cookiebar__actions { display: flex; gap: 10px; }
  .cookiebar__btn, .cookiebar__decline { flex: 1; padding: 12px; text-align: center; }
}

/* две правовые ссылки в подвале */
.footer__legal { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; }

/* =====================================================================
   МОБАЙЛ (≤640) — единый, продуманный блок. Один источник правды:
   компактная шапка, видимая карта в хиро, галерейные сетки 2×,
   ровный вертикальный ритм, лёгкий футер.
   ===================================================================== */
@media (max-width: 640px) {
  :root { --topbar-h: 58px; --gutter: 16px; }

  /* ---------- Шапка ---------- */
  .brand__logo { height: 25px; transform: translateY(-2px); }
  .brand__text { font-size: 1.02rem; letter-spacing: .05em; }
  .burger { width: 40px; height: 40px; }

  /* ---------- Хиро: премиум-лайт, полноэкранный, крупная типографика ---------- */
  .hero {
    min-height: auto;
  }
  .hero__inner { padding-block: 10px 28px; justify-content: flex-start; }
  .hero__features { display: none; }
  .hero::after { display: none; } /* шеврон-подсказка не нужен без полного экрана */
  .hero__slogan { font-size: clamp(1.9rem, 8.8vw, 2.9rem); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: break-word; word-break: break-word; -webkit-hyphens: auto; hyphens: auto; }
  .hero__sub { margin-top: 20px; font-size: 1rem; line-height: 1.6; color: var(--muted); }
  .hero::before {
    background: rgba(248,243,231,.91);
  }
  /* подсказка прокрутки (шеврон вниз) */
  .hero::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 22px;
    width: 18px; height: 18px; margin-left: -9px;
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    transform: rotate(45deg);
    animation: heroScroll 1.8s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes heroScroll {
    0%, 100% { transform: translateY(0) rotate(45deg); opacity: .25; }
    50%      { transform: translateY(6px) rotate(45deg); opacity: .7; }
  }

  /* ---------- Единый вертикальный ритм ---------- */
  .section { padding-block: 32px; }
  .section__head { margin-bottom: 18px; }
  .section__title { font-size: 1.4rem; line-height: 1.15; padding-left: 12px; border-left-width: 3px; }
  .lead { margin-top: 10px; font-size: .98rem; }
  .muted { margin-top: 10px; font-size: .95rem; }

  /* ---------- О компании: текст + плотная сетка цифр ---------- */
  .about { gap: 22px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat { padding: 14px 15px; border-radius: 12px; }
  .stat__num { font-size: 1.6rem; }
  .stat__cap { font-size: .82rem; }

  /* ---------- Каталог: 2 колонки, аккуратная карточка (ничего не обрезается) ---------- */
  .products, .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product, .card { border-radius: 12px; }
  .product__media { aspect-ratio: 1 / 1; }
  .product__body { padding: 12px 12px 14px; }
  .product__name {
    font-size: .9rem; line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.5em;
  }
  /* цена сверху, кнопка на всю ширину — на узких андроидах ничего не вылезает */
  .product__foot { flex-direction: column; align-items: stretch; gap: 9px; padding-top: 12px; }
  .product__price { font-size: .95rem; }
  .product__price--ask { font-size: .82rem; }
  .product__btn {
    width: 100%; text-align: center; padding: 10px 12px; font-size: .84rem;
    -webkit-tap-highlight-color: transparent;
  }
  .product__btn:active { transform: scale(.97); }
  .card__body { padding: 13px 14px 15px; }
  .card__title { font-size: 1rem; }
  .section__more { margin-top: 22px; }

  /* ---------- Применение: галерея 2× ---------- */
  .tiles { grid-template-columns: 1fr 1fr; gap: 9px; }
  .tile { border-radius: 12px; }
  .tile__label { left: 12px; bottom: 11px; font-size: .9rem; }

  /* ---------- Сертификаты: 2 колонки ---------- */
  .certs:not(.certs--wide) { grid-template-columns: 1fr 1fr; gap: 12px; }
  .certs--wide { grid-template-columns: 1fr; }
  .cert__cap { font-size: .76rem; }

  /* ---------- Преимущества / теги / CTA (стр. «Компания») ---------- */
  .advs { grid-template-columns: 1fr; gap: 10px; }
  .adv { padding: 18px; }
  .tags { gap: 8px; margin-top: 18px; }
  .tags li { font-size: .85rem; padding: 7px 14px; }
  .cta { padding: 22px; gap: 14px; }
  .cta__title { font-size: 1.3rem; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1 1 auto; text-align: center; }

  /* ---------- Контакты ---------- */
  .contact { gap: 22px; }
  .contact__actions { margin-top: 18px; gap: 10px; }
  .contact__actions .btn { flex: 1 1 auto; text-align: center; }
  .contact__row { grid-template-columns: 1fr; gap: 3px; padding: 13px 16px; }
  .contact__key { font-size: .72rem; }

  /* ---------- Лайтбокс ---------- */
  .lightbox__img { max-width: calc(100vw - 24px); }
  .lightbox__frame { width: calc(100vw - 24px); height: 78vh; }
  .lightbox__nav { width: 40px; height: 40px; font-size: 22px; }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }

  /* ---------- Юридические страницы ---------- */
  .legal h2 { margin-top: 26px; }

  /* ---------- Подвал: тёмный, плотный, 2 ровные колонки ---------- */
  .footer__brand { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 18px; padding-block: 22px; align-items: start; }
  .footer__nav { gap: 8px; }
  .footer__nav a { font-size: .88rem; }
  .footer__contacts { gap: 8px; }
  .footer__ctitle { font-size: .72rem; margin-bottom: 4px; }
  .footer__contacts span { font-size: .84rem; }
  .footer__bottom { padding-block: 14px; font-size: .76rem; }
  .footer__bottom-inner { flex-direction: column; gap: 6px; align-items: flex-start; }
}

/* =====================================================================
   ЛЕНТА ОТРАСЛЕЙ + ЭТАПЫ РАБОТЫ (светлые блоки)
   ===================================================================== */
.section--paper { background: var(--paper); }


/* — Этапы работы (sticky-scroll с подсветкой) — */
.works { padding-block: clamp(36px, 5vw, 64px); }
.works__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.works__aside { position: sticky; top: calc(var(--topbar-h) + 30px); }
.works__title {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 800; line-height: 1.14; letter-spacing: -.02em; color: var(--ink);
  border-left: 4px solid var(--accent); padding-left: 18px;
}
.works__counter { margin-top: 24px; display: flex; align-items: baseline; gap: 10px; }
.works__cur { font-size: clamp(3.2rem, 6vw, 5.2rem); font-weight: 800; letter-spacing: -.03em; color: var(--accent); line-height: 1; }
.works__total { font-size: 1.5rem; font-weight: 700; color: var(--muted); }
.works__now { margin-top: 6px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }

.works__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(16px, 2.4vw, 26px); }
.work {
  display: flex; gap: clamp(16px, 2vw, 26px); align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  opacity: .45;
  transition: opacity .45s ease, background .45s ease, border-color .45s ease, box-shadow .45s ease, transform .45s ease;
}
.work.is-active {
  opacity: 1;
  border-color: var(--accent);
  background: rgba(244, 99, 58, .08);
  box-shadow: 0 20px 42px -28px rgba(244, 99, 58, .6);
}
.work__num { flex: none; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -.02em; color: var(--accent); line-height: 1; min-width: 2ch; }
.work__body h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 700; color: var(--ink); }
.work__body p { margin-top: 8px; color: var(--muted); line-height: 1.55; }

@media (prefers-reduced-motion: reduce) { .work { opacity: 1; } }

@media (max-width: 760px) {
  .works__grid { grid-template-columns: 1fr; gap: 14px; }
  .works__aside { position: static; }
  .works__counter, .works__now { display: none; }  /* счётчик на мобиле путает — убираем */
  .works__title { margin-bottom: 4px; }
  .work { opacity: 1; padding: 20px 18px; }         /* все видны, активный — оранжевый */
  .work__num { font-size: 1.5rem; }
}
/* =====================================================================
   СФЕРЫ ПРИМЕНЕНИЯ — бенто-плитки с фото (асимметрично)
   ===================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(150px, 16vw, 210px);
  grid-template-areas:
    "a a a b b c"
    "a a a d e e";
  gap: clamp(10px, 1.2vw, 16px);
}
.bento__cell {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg);
}
.bento__cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.bento__cell::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,18,22,0) 38%, rgba(18,18,22,.74) 100%);
}
.bento__cell:hover img { transform: scale(1.05); }
.bento__label {
  position: absolute; left: 18px; right: 14px; bottom: 16px; z-index: 1;
  color: #fff; font-size: clamp(.92rem, 2.6vw, 1.05rem); font-weight: 700; letter-spacing: .01em;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
  overflow-wrap: break-word; word-break: break-word; -webkit-hyphens: auto; hyphens: auto;
}
.bento__cell--lg .bento__label { font-size: clamp(1.2rem, 1.9vw, 1.8rem); left: 22px; bottom: 20px; }

@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: clamp(130px, 26vw, 180px);
    grid-template-areas:
      "a a"
      "b c"
      "d e";
  }
}

/* Мобилка 640px — финальный оверрайд */
@media (max-width: 639px) {
  .hero__inner { flex-direction: column !important; min-height: 0 !important; align-items: stretch !important; }
  .hero__right { width: 100% !important; order: -1 !important; }
  .hero { min-height: 0 !important; }
}


/* ===== О компании: фото-секции ===== */
.about--media{grid-template-columns:1fr 1fr;align-items:center}
.about--rev .about__media{order:2}
.about__media{border-radius:var(--radius);overflow:hidden;background:var(--bg);aspect-ratio:4/3}
.about__media img{width:100%;height:100%;object-fit:cover;display:block}
.about__media--empty{display:grid;place-items:center;color:var(--muted);font-weight:600;border:1px dashed #C7C7C2}
@media(max-width:760px){.about--media{grid-template-columns:1fr}.about--rev .about__media{order:0}}



/* ===== Баннер: аккуратная обводка ===== */
.hbs__card{border:1.5px solid rgba(244,99,58,.5);box-shadow:0 18px 50px -18px rgba(13,13,13,.55),0 0 0 4px rgba(244,99,58,.08);}







/* Пасхалка: 4 клика по «Главная» → слоган переливается градиентом со свечением */
.hero__slogan.is-rainbow {
  background-image: linear-gradient(90deg,#F4633A,#F59E0B,#EC4899,#22D3EE,#8b5cf6,#F4633A);
  background-size: 300% 100%;
  background-position: 0 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: fx-rainbow 4s linear infinite;
  filter: drop-shadow(0 0 10px rgba(236,72,153,.35)) drop-shadow(0 0 22px rgba(34,211,238,.22));
}
@keyframes fx-rainbow { to { background-position: 300% 50%; } }
