/* ============================================================
   Pride (ООО ТПК «БестТрейдинг») — вёрстка по макету Figma
   Эталон 1920 px. Все размеры — из kit/tree/*.json.
   ============================================================ */

/* ---------- Шрифт: Tilda Sans VF (вариативный 250–900, локально; OFL) — правка 22.09 ---------- */
@font-face {
  font-family: 'Tilda Sans';
  font-style: normal;
  font-weight: 250 900;
  font-display: swap;
  src: url('../fonts/tilda-sans-vf.woff') format('woff');
}

/* ---------- Токены ---------- */
:root {
  --c-navy: #15354C;
  --c-text: #000000;
  --c-gray: #838383;
  --c-border: #D9D9D9;
  --c-white: #FFFFFF;
  --c-red: #FF3539;
  --c-catalog-bg: #ECEFF1;         /* фон каталога на мобильных/планшетах (правка клиента) */
  --c-search-bg: rgba(255, 255, 255, 0.44);

  --font: 'Tilda Sans', Arial, Helvetica, sans-serif;

  --container: 1672px;
  --gutter: clamp(64px, calc(64px + 60 * (100vw - 1280px) / 640), 124px);
  --header-h: 80px;
  --footer-h: 122px;

  --card: 465px;                   /* карточка товара */
  --card-step: 464px;              /* шаг сетки (рамки внахлёст) */
  --sidebar-w: 250px;
  --sidebar-gap: 37px;             /* 407 - 370 */

  --r-btn: 6px;
  --r-pill: 22px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.21;
  color: var(--c-text);
  background: var(--c-white);
  font-optical-sizing: auto;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Доступность: фокус, skip-link, reduced motion ---------- */
/* видимый фокус только с клавиатуры; цвета — из палитры макета (navy на белом, белый на navy) */
:focus-visible { outline: 2px solid var(--c-navy); outline-offset: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible,
.btn:not(.btn--outline):focus-visible {
  outline-color: var(--c-white);
}
.form__agree input:focus-visible + .form__switch { outline: 2px solid var(--c-navy); outline-offset: 2px; }
.btn:not(.btn--outline):focus-visible { outline-offset: -4px; }
.hero :focus-visible { outline-offset: -2px; }
.site-main:focus, .modal__window:focus { outline: none; }   /* цели программного фокуса, не элементы управления */
.form__field:focus-visible { outline: none; }     /* индикатор фокуса поля — рамка navy (см. .form__field:focus) */
.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--r-btn);
  background: var(--c-white);
  color: var(--c-navy);
  font-size: 15px;
  line-height: 1.21;
  text-decoration: underline;
}
.skip-link:focus { top: 8px; }
/* минимальная область нажатия 24×24 (WCAG 2.5.8) для мелких целей — без изменения лейаута.
   Ссылки моделей в сайдбаре (шаг 14px) не расширяются: расширение перекрыло бы соседей. */
.site-nav__link, .footer-contacts a, .site-footer__bottom a, .header-contacts__phone,
.header-contacts__mail, .header-search__toggle, .site-header__burger, .mobile-menu__close,
.modal__close, .form__captcha-refresh, .form__switch {
  position: relative;
}
.site-nav__link::before, .footer-contacts a::before, .site-footer__bottom a::before,
.header-contacts__phone::before, .header-contacts__mail::before, .header-search__toggle::before,
.site-header__burger::before, .mobile-menu__close::before, .modal__close::before,
.form__captcha-refresh::before, .form__switch::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, 24px);
  height: max(100%, 24px);
  transform: translate(-50%, -50%);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
/* боксы с aspect-ratio: без min-height:0 контент (img) растянул бы бокс */
.intro__strip, .about-home__image, .about-page__photo, .geo__map-world, .certs__logos, .hero {
  min-height: 0;
  overflow: hidden;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 36px;
  border: 1px solid var(--c-navy);
  border-radius: var(--r-btn);
  background: var(--c-navy);
  color: var(--c-white);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.21;
  white-space: nowrap;
  transition: background-color .15s, color .15s, opacity .15s;
}
.btn:hover { opacity: .9; }
.btn--outline { background: transparent; color: var(--c-navy); }
.btn--outline:hover { background: var(--c-navy); color: var(--c-white); opacity: 1; }
.btn--pill {
  height: 38px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 400;
}

/* ============================================================
   Шапка
   ============================================================ */
.site-header {
  position: relative;
  z-index: 20;
  height: var(--header-h);
  background: var(--c-navy);
  color: var(--c-white);
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}
.site-header__logo {
  display: block;
  width: 128.7px;
  height: 40px;
}
.site-header__logo svg { width: 100%; height: 100%; }
.site-header__burger { display: none; }

.site-nav__list {
  display: flex;
  gap: 30px;
}
.site-nav__link {
  display: block;
  font-size: 15px;
  line-height: 18.2px;
  color: var(--c-white);
  transition: opacity .15s;
}
.site-nav__link:hover { opacity: .75; }

.site-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}
.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  margin-top: 1px;
}
.header-contacts__phone { font-size: 16px; line-height: 19.4px; }
.header-contacts__mail { font-size: 12px; line-height: 14.5px; margin-top: 2px; }
.header-contacts__icon { display: none; }

/* поиск в шапке: лупа → раскрывается поле 200×39 */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
  height: 39px;
  margin-top: 5px;          /* в макете лупа/поле на 2.5px ниже центра шапки */
  border: 1px solid transparent;
  border-radius: 19.5px;
}
.header-search__toggle {
  display: flex;
  width: 19px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--c-white);
}
.header-search__toggle svg { width: 100%; height: 100%; }
.header-search__input {
  width: 0;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--c-white);
  font-size: 16px;
  line-height: 19.4px;
  opacity: 0;
  transition: width .2s, opacity .2s;
}
.header-search__input::placeholder { color: var(--c-white); opacity: 1; }
.header-search__input:focus-visible { outline: none; }
.header-search.is-open {
  width: 200px;
  padding-left: 6px;
  border-color: var(--c-white);
  background: var(--c-search-bg);
}
.header-search.is-open .header-search__input {
  width: 150px;
  margin-left: 8px;
  opacity: 1;
}
.site-header__right.is-searching .header-contacts { display: none; }

/* ============================================================
   Подвал
   ============================================================ */
.site-footer {
  height: var(--footer-h);
  background: var(--c-navy);
  color: var(--c-white);
}
.site-footer__inner {
  position: relative;
  padding-top: 23px;
  height: 100%;
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 41px;
  border-bottom: 1px solid var(--c-white);
}
.site-footer .site-nav__list { gap: 30px; }
.footer-contacts {
  display: flex;
  align-items: center;
  margin-top: -4px;
  font-size: 15px;
  line-height: 18.2px;
}
.footer-contacts__sep {
  width: 1px;
  height: 22px;
  margin: 0 9px 0 7px;
  background: var(--c-white);
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 21px;
  font-size: 10px;
  line-height: 12.1px;
}

/* ============================================================
   Hero-слайдер (1920×572, точки 20.7 с шагом 31)
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 572;
  overflow: hidden;
  background: var(--c-navy);
  touch-action: pan-y;
  user-select: none;
}
.hero__track { position: relative; width: 100%; height: 100%; }
.hero__slide {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  transition: transform .6s cubic-bezier(.45, 0, .2, 1);
  will-change: transform;
}
.hero__slide.is-active { transform: none; z-index: 1; }
.hero__slide.no-anim { transition: none; }
.hero__slide--pending { display: none; }        /* снимается JS перед первым показом слайда */
.hero__slide picture, .hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero--static .hero__slide { transform: none; position: relative; }

.hero__dots {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: min(30.3px, calc(30.3 / 1920 * 100vw));
  display: flex;
  justify-content: center;
  gap: min(10.3px, calc(10.3 / 1920 * 100vw));
}
.hero__dot {
  width: min(20.7px, calc(20.7 / 1920 * 100vw));
  height: min(20.7px, calc(20.7 / 1920 * 100vw));
  border: 1px solid var(--c-white);
  border-radius: 50%;
  transition: background-color .2s;
}
.hero__dot.is-active { background: var(--c-white); }

/* стрелки: 67 px круги по краям, видны при наведении на баннер (кадр Frame 10) */
.hero__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 67px;
  height: 67px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  color: var(--c-navy);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .2s, background-color .2s;
}
.hero__arrow svg { display: block; width: 15.8px; height: 27.6px; }
.hero__arrow--prev { left: 59px; }
.hero__arrow--next { right: 60px; }
.hero__arrow--next svg { transform: scaleX(-1); }
.hero:hover .hero__arrow, .hero__arrow:focus-visible { opacity: 1; }
.hero__arrow:hover { background: var(--c-white); }
@media (max-width: 1024px) { .hero__arrow { display: none; } }

/* Баннеры 22.09: ПК — на весь экран вместе с шапкой (шапка лежит поверх баннера),
   планшет — широкий баннер целиком, телефон — вертикальный баннер моб. версии */
.home-page .hero { aspect-ratio: 4001 / 2084; }
.home-page .hero__slide img { object-position: 72% 50%; }   /* при обрезке по бокам жертвуем декоративным львом слева, а не товаром справа */
@media (min-width: 1025px) {
  .home-page .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(21, 53, 76, .82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .home-page .hero {
    aspect-ratio: auto;
    height: 100vh;
    height: 100svh;
    max-height: 56.25vw;            /* 16:9 — дальше пришлось бы резать товар по бокам */
    min-height: 540px;
  }
  .home-page .hero__dots { bottom: 28px; }
}
@media (max-width: 767px) {
  .home-page .hero { aspect-ratio: 2001 / 2846; }
  .home-page .hero__dots { bottom: 14px; gap: 7px; }
  .home-page .hero__dot { width: 9px; height: 9px; }
}


/* ============================================================
   Главная
   ============================================================ */
.intro {
  padding-top: 81px;
}
.intro__text {
  max-width: 1397px;
  margin: 0 auto;
  font-size: 32px;
  font-weight: 500;
  line-height: 38.7px;
  text-align: center;
}
.intro__text b { font-weight: 700; }
.intro__strip {
  margin-top: 119px;
  width: 100%;
  aspect-ratio: 1672 / 386;
}
.intro__strip img { width: 100%; height: 100%; object-fit: cover; }

.section-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 58.1px;
  text-align: center;
}

.products-cta {
  padding-top: 72px;
}
.products-cta__text {
  max-width: 963px;
  margin: 28px auto 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 29px;
  text-align: center;
}
.products-cta__row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 27px;
  height: 75px;
  margin-top: 45px;
  margin-right: 85px; /* в макете группа стрелка+кнопка смещена левее центра на 42.5px */
}
.products-cta__arrow { width: 57px; height: 56.15px; flex: 0 0 auto; }
.products-cta__arrow svg { width: 100%; height: 100%; }
.products-cta__arrow--mobile { display: none; }
.products-cta__btn { margin-top: 37px; }

.about-home {
  display: grid;
  grid-template-columns: 732px 920px;
  gap: 20px;
  margin-top: 100px;
}
.about-home__title, .advantages__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 43.6px;
}
.about-home__text {
  margin-top: 43px;
  font-size: 24px;
  line-height: 29px;
}
.about-home__text p + p { margin-top: 29px; }
.about-home__buttons {
  display: flex;
  gap: 25.5px;
  margin-top: 43px;
}
.about-home__buttons .btn { padding: 0 35px; }
.about-home__image {
  margin-top: 11px;
  aspect-ratio: 920 / 513;
}
.about-home__image img { width: 100%; height: 100%; object-fit: cover; }

.advantages { margin-top: 100px; }
.advantages__list {
  margin-top: 26px;
  font-size: 24px;
  line-height: 29px;
}
.advantages__item {
  position: relative;
  padding-left: 37px;
}
.advantages__item + .advantages__item { margin-top: 29px; }
.advantages__item::before {
  content: '';
  position: absolute;
  left: 2px;
  top: -3px;
  width: 23px;
  height: 39px;
  background: url('../svg/icon-flame.svg') no-repeat center / contain;
}

.scheme { margin-top: 93px; }
.scheme__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 48.4px;
  text-align: center;
  text-transform: uppercase;
}
.scheme__image {
  width: 1613.2px;
  max-width: 100%;
  margin: 12px auto 0;
}
.scheme__image img { width: 100%; }

.page-main { padding-bottom: 100px; }

/* ============================================================
   О компании
   ============================================================ */
.about-page__title {
  margin-top: 90px;
  font-size: 48px;
  font-weight: 700;
  line-height: 58.1px;
  text-align: center;
}
.about-page__photo {
  margin-top: 90px;
  aspect-ratio: 1672 / 386;
}
.about-page__photo img { width: 100%; height: 100%; object-fit: cover; }
.text-block {
  font-size: 24px;
  font-weight: 500;
  line-height: 29px;
}
.text-block p + p { margin-top: 29px; }
.about-page__text { margin-top: 55px; }

.geo { margin-top: 106px; }
.geo__subtitle {
  margin-top: 83px;
  font-size: 32px;
  line-height: 38.7px;
}
.geo__map-world {
  margin-top: 21px;
  aspect-ratio: 1673 / 989;
}
.geo__map-world img { width: 100%; height: 100%; object-fit: cover; }
.geo__map-russia {
  width: calc(100% + 29.4px);
  margin: 21px -14.7px 0;
}
.geo__map-russia img { width: 100%; }

.partners { margin-top: 106px; }
.partners__lead {
  margin-top: 100px;
  padding-left: 71px;
  font-size: 24px;
  line-height: 29px;
}
.partners__lead--wide { margin-top: 23.3px; padding-right: 116px; }
.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 416.2px);
  column-gap: 126px;
  row-gap: 30px;
  margin-top: 36px;
  padding-left: 100px;
  font-size: 24px;
  line-height: 29px;
}
.partners__grid--second { margin-top: 41.4px; }
.partners__item {
  position: relative;
  padding-left: 39.2px;
}
.partners__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7.6px;
  width: 14.5px;
  height: 17.2px;
  background: url('../svg/icon-check.svg') no-repeat center / contain;
}
.partners__terms {
  margin-top: 62.5px;
  padding-left: 79px;
  padding-right: 115px;
  font-size: 24px;
  line-height: 29px;
}
.partners__list {
  margin-top: 37.5px;
  padding-left: 123px;
  font-size: 24px;
  line-height: 29px;
}
.partners__list li { position: relative; }
.partners__list li + li { margin-top: 29px; }
.partners__list li::before {
  content: '';
  position: absolute;
  left: -39px;
  top: -7px;
  width: 23px;
  height: 39px;
  background: url('../svg/icon-flame.svg') no-repeat center / contain;
}
.partners__outro {
  margin-top: 42px;
  padding-left: 91px;
  padding-right: 103px;
  font-size: 24px;
  line-height: 29px;
}

.certs { margin-top: 112px; }
.certs__text { margin-top: 92.5px; }
.certs__logos {
  width: 1792px;
  max-width: calc(100% + 2 * min(67px, var(--gutter)));
  margin: 68.5px 0 0 calc(-1 * min(67px, var(--gutter)));
}
.certs__logos { aspect-ratio: 1792 / 212; }   /* в макете FILL: исходник 2964×390 обрезан по высоте */
.certs__logos img { width: 100%; height: 100%; object-fit: cover; }
.certs__warning {
  margin-top: 70.5px;
  text-transform: uppercase;
}

.contacts-block {
  margin-top: 100px;
  text-align: center;
}
.contacts-block__item {
  display: block;
  font-size: 48px;
  font-weight: 600;
  line-height: 58.1px;
}
.contacts-block__item + .contacts-block__item { margin-top: 59px; }
.about-page { padding-bottom: 100.5px; }

/* ============================================================
   Политика конфиденциальности
   ============================================================ */
.policy { padding-bottom: 100px; }
.policy__title {
  margin-top: 90px;
  font-size: 48px;
  font-weight: 700;
  line-height: 58.1px;
  text-align: center;
}
.policy__intro { margin-top: 50px; }
.policy__section { margin-top: 28px; }
.policy__section-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 48.4px;
  text-align: center;
}
.policy__section .text-block { margin-top: 38px; }
.policy__section .text-block ul { padding-left: 0; }
.policy__section .text-block li::before { content: '•\00a0\00a0\00a0\00a0\00a0'; }

/* ============================================================
   Каталог
   ============================================================ */
.catalog-page .site-main { padding-bottom: 100px; }
.catalog__title {
  margin-top: 29px;
  font-size: 36px;
  font-weight: 400;
  line-height: 43.6px;
  text-align: center;
}
.catalog {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  column-gap: var(--sidebar-gap);
  align-items: start;
  align-content: start;              /* свободное место min-height не растягивает ряды (нет сдвига при подгрузке результатов) */
  width: min(1680px, calc(100% - 2 * var(--gutter) + 8px));
  min-height: 929px;                 /* в макете подвал не выше 2 рядов карточек */
  margin: 30px auto 0;
}

/* --- сайдбар --- */
.sidebar__toggle { display: none; }
.sidebar__item {
  margin-bottom: -1px;
  border: 1px solid var(--c-border);
  background: var(--c-white);
}
.sidebar__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 20px 7px 8px;
  font-size: 12px;
  line-height: 14.5px;
  color: var(--c-text);
  transition: color .15s;
}
.sidebar__link:hover { color: var(--c-navy); }
.sidebar__item.is-active > .sidebar__link { font-weight: 600; }
.sidebar__chevron {
  position: absolute;
  right: 9px;
  top: 50%;
  width: 4px;
  height: 7px;
  margin-top: -3.5px;
  color: var(--c-navy);
}
.sidebar__chevron svg { width: 100%; height: 100%; }
.sidebar__item.is-active > .sidebar__link .sidebar__chevron {
  width: 7px;
  height: 4px;
  right: 7.5px;
  margin-top: -2px;
  transform: rotate(90deg);
}
.sidebar__models {
  display: none;
  padding: 0 8px 12px;
  margin-top: -11px;
}
.sidebar__item.is-active > .sidebar__models { display: block; }
.sidebar__model {
  display: block;
  font-size: 10px;
  line-height: 14px;
  color: var(--c-gray);
  transition: color .15s;
}
.sidebar__model:hover { color: var(--c-text); }
.sidebar__model.is-active { color: var(--c-text); font-weight: 500; }

/* --- сетка карточек: 3×464 внутри области 1393 px; масштаб через --u --- */
.catalog__products { container-type: inline-size; min-width: 0; }
.catalog__grid {
  --u: calc(100cqw / 1393);
  display: grid;
  grid-template-columns: repeat(3, calc(464 * var(--u)));
  grid-auto-rows: calc(464 * var(--u));
}
.catalog__empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  color: var(--c-gray);
}

/* --- карточка товара 465×465 --- */
.product-card {
  position: relative;
  width: calc(465 * var(--u));
  height: calc(465 * var(--u));
  padding: calc(46 * var(--u)) calc(8 * var(--u)) 0 calc(48 * var(--u));
  margin-bottom: -1px;
  border: 1px solid var(--c-border);
  background: var(--c-white);
  overflow: hidden;
}
.product-card.is-hidden { display: none; }
.product-card__image {
  width: calc(353 * var(--u));
  height: calc(209 * var(--u));
  margin-left: calc(8 * var(--u));
}
.product-card__image picture { display: block; width: 100%; height: 100%; }
.product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* широкие фото (джет-зажигалки): бокс 419×209 */
.product-card--wide .product-card__image {
  width: calc(419 * var(--u));
  margin-left: calc(-25 * var(--u));
}
.product-card__head {
  display: flex;
  align-items: center;
  gap: calc(15 * var(--u));
  min-height: calc(24.5 * var(--u));
  margin-top: calc(14 * var(--u));
}
.product-card__art {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: calc(106.1 * var(--u));
  height: calc(24.5 * var(--u));
  padding-left: calc(15.3 * var(--u));
  border-radius: calc(22 * var(--u));
  background: var(--c-navy);
  color: var(--c-white);
  font-size: calc(14 * var(--u));
  line-height: calc(16.9 * var(--u));
  white-space: nowrap;
}
.product-card__name {
  width: calc(280 * var(--u));
  font-size: calc(14 * var(--u));
  font-weight: 500;
  line-height: calc(16.9 * var(--u));
  color: var(--c-navy);
}
.product-card__model,
.product-card__desc {
  font-size: calc(13 * var(--u));
  line-height: calc(15.7 * var(--u));
}
.product-card__model { margin-top: calc(16.3 * var(--u)); }
.product-card__desc { margin-top: calc(13.1 * var(--u)); }
.product-card__size,
.product-card__pack {
  font-size: calc(12 * var(--u));
  line-height: calc(14.5 * var(--u));
  color: var(--c-gray);
}
.product-card__size { margin-top: calc(16.7 * var(--u)); }
.product-card__pack { margin-top: calc(12.5 * var(--u)); }
.product-card__size + .product-card__pack { margin-top: calc(12.5 * var(--u)); }
.product-card__desc + .product-card__pack { margin-top: calc(16.7 * var(--u)); }

/* карточки без строки «Размеры» — фото выше (353×289, отступ 20) */
.product-card--tall { padding-top: calc(20 * var(--u)); }
.product-card--tall .product-card__image {
  height: calc(235 * var(--u));   /* 20 + 235 = 46 + 209 — текст на одной линии со всеми разделами */
}
.product-card--tall.product-card--wide .product-card__image {
  width: calc(437 * var(--u));
  margin-left: calc(-34 * var(--u));
}
.product-card--tall .product-card__head { margin-top: calc(14 * var(--u)); }
.product-card--tall .product-card__desc + .product-card__pack { margin-top: calc(13.3 * var(--u)); }

/* --- katalog/index.html: список разделов (страница-редирект) --- */
.catalog-index { font-size: 24px; line-height: 29px; }
.catalog-index li + li { margin-top: 14px; }
.catalog-index__link { color: var(--c-navy); }
.catalog-index__link:hover { text-decoration: underline; }

/* --- страница поиска --- */
.search-page__query { font-weight: 600; }

/* ============================================================
   Модальные окна (18+ и Анкета)
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(21, 53, 76, .55);
  overflow-y: auto;
}
.modal__window {
  position: relative;
  width: 546px;
  max-width: 100%;
  background: var(--c-white);
  color: var(--c-text);
  font-size: 15px;
  line-height: 18.2px;
}
.modal__close {
  position: absolute;
  right: 18px;
  top: 22px;
  width: 20px;
  height: 20px;
  color: var(--c-navy);
}
.modal__close svg { width: 100%; height: 100%; }
.modal__title {
  padding-top: 34px;
  font-size: 32px;
  font-weight: 400;
  line-height: 38.7px;
  text-align: center;
}

/* --- карточка товара крупно: фото + описание --- */
.product-card { cursor: pointer; transition: border-color .15s; }
.product-card:hover, .product-card:focus-within { border-color: var(--c-navy); z-index: 1; }
.product-card__open {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.product-card__open:focus-visible { outline: 2px solid var(--c-navy); outline-offset: -2px; }
/* Лайтбокс — по кадру Ксении «всплывающее окно при клике на картинку»: белое окно только с
   дизайнерским фото (название, модель и бейджи — на самой картинке), внизу подложки — пилюля
   «‹ 12 / 32 ›» для листания. Крестик — простой navy, как в остальных окнах макета. */
.modal--product { padding: 24px 24px 84px; background: rgba(21, 53, 76, .88); }
.lightbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  max-width: 100%;
  padding: 64px 20px 20px;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
}
.lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 200px);
  background: var(--c-white);
  transition: opacity .18s;
}
.lightbox.is-loading .lightbox__img { opacity: .35; }
.lightbox__close {
  right: 24px;
  top: 24px;
  z-index: 2;
  width: 24px;
  height: 24px;
  color: var(--c-navy);
  transition: opacity .15s;
}
.lightbox__close:hover { opacity: .7; }
.lightbox__bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 101;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  padding: 0 6px;
  border-radius: 22px;
  background: var(--c-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transform: translateX(-50%);
}
.lightbox__counter {
  min-width: 72px;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  color: var(--c-navy);
  font-variant-numeric: tabular-nums;
}
.lightbox__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-navy);
  cursor: pointer;
  transition: background-color .15s;
}
.lightbox__nav:hover, .lightbox__nav:focus-visible { background: var(--c-catalog-bg); }
.lightbox__nav svg { width: 9px; height: 16px; }
.lightbox__nav--next svg { transform: scaleX(-1); }
.modal--product.is-single .lightbox__nav, .modal--product.is-single .lightbox__counter { display: none; }
/* Увеличение фото (правка 22.09, п.7): клик по фото или лупа — ×2–3, фото двигается за курсором/пальцем */
.lightbox__stage { position: relative; overflow: hidden; max-width: 100%; }
.lightbox__img { cursor: zoom-in; transform-origin: 50% 50%; transition: opacity .18s, transform .25s ease; }
.lightbox.is-zoomed .lightbox__img { cursor: zoom-out; transform: scale(var(--zoom, 2.5)); touch-action: none; }
.lightbox.is-panning .lightbox__img { transition: opacity .18s; }
.lightbox__zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 0 0 2px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-navy);
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.lightbox__zoom svg { width: 18px; height: 18px; }
.lightbox__zoom:hover, .lightbox__zoom:focus-visible { background: var(--c-catalog-bg); }
.lightbox__zoom[aria-pressed="true"] { background: var(--c-navy); color: var(--c-white); }
.lightbox__zoom[aria-pressed="true"] .lightbox__zoom-plus { display: none; }

/* ============================================================
   Кнопка «наверх» — по кадру Ксении: круг 67 px как у стрелок слайдера,
   navy 25 % на просвет, при наведении — сплошной navy. Появляется,
   когда пролистали примерно экран, и прячется под модалками.
   ============================================================ */
.to-top {
  position: fixed;
  right: 46px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 67px;
  height: 67px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 53, 76, .25);
  color: var(--c-white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .25s, visibility .25s, transform .25s, background-color .15s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { background: var(--c-navy); }
.to-top svg { width: 15px; height: 27px; transform: rotate(90deg); }   /* шеврон слайдера смотрит влево */
body.is-locked .to-top { opacity: 0; visibility: hidden; }             /* открыта модалка или меню */

/* 18+ : 546×421 */
.modal--age .modal__window { min-height: 421px; }
.modal--age .modal__text {
  margin: 39px 43px 0;
}
.modal--age .modal__text p + p { margin-top: 18.2px; }
.modal--age .modal__buttons {
  display: flex;
  gap: 43px;
  margin: 39px 69px 0;
}
.modal--age .btn {
  height: 50px;
  padding: 0 11px;
  border-radius: 7px;
  font-size: 15px;
  line-height: 18.2px;
}
.modal--age .modal__note {
  margin: 48px 36px 46px;
}
.modal--age .modal__note a { color: var(--c-navy); }
.modal--age .modal__denied { margin: 39px 43px 46px; }

/* Анкета : 546×678 */
.form {
  padding: 31px 28px 42px;
}
.form__field {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--c-border);
  border-radius: 7px;
  background: var(--c-white);
  font-size: 15px;
  line-height: 18.2px;
}
.form__field::placeholder { color: var(--c-gray); opacity: 1; }
.form__field:focus { border-color: var(--c-navy); }
.form__row + .form__row { margin-top: 12px; }
.form__row.is-invalid .form__field { border-color: var(--c-red); }
.form__error {
  display: none;
  margin: 4px 0 0 12px;
  font-size: 12px;
  line-height: 14.5px;
  color: var(--c-red);
}
.form__row.is-invalid .form__error,
.form__captcha.is-invalid .form__error { display: block; }
.form__captcha { margin-top: 26px; }
.form__label {
  display: block;
  font-size: 13px;
  line-height: 15.7px;
  color: var(--c-gray);
}
.form__captcha-row {
  display: flex;
  align-items: flex-end;
  gap: 33px;
  margin-top: 12px;
}
.form__captcha-img {
  width: 212px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid var(--c-border);
  border-radius: 7px;
  overflow: hidden;
}
.form__captcha-img img { width: 100%; height: 100%; object-fit: cover; }
.form__captcha-canvas { display: block; width: 100%; height: 100%; }
.form__captcha-input {
  flex: 1 1 auto;
  height: 46px;
  border: 0;
  border-bottom: 1px solid var(--c-border);
  border-radius: 0;
  background: transparent;
  padding: 0 4px;
}
.form__captcha-refresh {
  display: inline-block;
  vertical-align: baseline;
  margin-top: 12px;
  font-size: 13px;
  line-height: 15.7px;
  color: var(--c-red);
  border-bottom: 1px solid var(--c-red);
}
.form__agree {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 27px;
  font-size: 13px;
  line-height: 15.7px;
  color: var(--c-gray);
  cursor: pointer;
}
.form__agree a { color: var(--c-red); }
.form__switch {
  position: relative;
  flex: 0 0 auto;
  margin-right: 5px;
  cursor: pointer;
  width: 33px;
  height: 18px;
  border-radius: 22px;
  background: var(--c-border);
  transition: background-color .15s;
}
.form__switch::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-white);
  transition: left .15s;
}
.form__agree input:checked + .form__switch { background: var(--c-navy); }
.form__agree input:checked + .form__switch::after { left: 17px; }
.form__agree.is-invalid { color: var(--c-red); }
.form__submit-row {
  display: flex;
  justify-content: center;
  margin-top: 31px;
}
.form__submit {
  height: 50px;
  padding: 0 22px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
}
.form__status:empty { display: none; }
.form__status {
  margin-top: 16px;
  font-size: 13px;
  line-height: 15.7px;
  text-align: center;
}
.form__status--error { color: var(--c-red); }
.form__success {
  padding: 40px 28px 60px;
  text-align: center;
  font-size: 15px;
  line-height: 18.2px;
}
.form__success p + p { margin-top: 18px; }

/* ============================================================
   Мобильное меню (Frame 19)
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--c-white);
  color: var(--c-navy);
  overflow-y: auto;
}
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 81.7px;
  padding: 0 34px 0 55px;
}
.mobile-menu__logo { width: 98.8px; height: 29.8px; color: var(--c-navy); }
.mobile-menu__logo svg { width: 100%; height: 100%; }
.mobile-menu__close { width: 21px; height: 21px; color: var(--c-navy); }
.mobile-menu__close svg { width: 100%; height: 100%; }
.mobile-menu__list {
  margin-top: 82px;
  text-align: center;
}
.mobile-menu__list li + li { margin-top: 34px; }
.mobile-menu__link {
  display: inline-block;
  font-size: 33.3px;
  line-height: 40.3px;
  color: var(--c-navy);
}

/* ============================================================
   Адаптив
   ============================================================ */

/* --- 1280…1919: резиновый контейнер --- */
@media (max-width: 1919px) {
  .about-home { grid-template-columns: minmax(0, 732fr) minmax(0, 920fr); }
  .partners__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(40px, 7.5vw, 126px);
  }
  .intro__text { font-size: clamp(21.3px, 1.667vw, 32px); line-height: 1.21; }
  .section-title, .about-page__title, .policy__title, .contacts-block__item {
    font-size: clamp(32px, 2.5vw, 48px);
    line-height: 1.21;
  }
  .about-home__title, .advantages__title { font-size: clamp(24px, 1.875vw, 36px); line-height: 1.21; }
  .scheme__title { font-size: clamp(24px, 2.083vw, 40px); line-height: 1.21; }
  .policy__section-title { font-size: clamp(28px, 2.083vw, 40px); line-height: 1.21; }

  /* Макет нарисован на 1920. Ниже 1920 колонки сжимаются, а кегль оставался
     прежним — текст перебивался на лишние строки и блоки переставали совпадать
     с макетом. Основной текст, кнопки и отступы уменьшаются пропорционально
     ширине экрана (1px макета = 0.052083vw) до 1280 — как и поля --gutter. */
  .about-home__text, .advantages__list, .text-block, .catalog-index, .home-catalog__sub,
  .partners__lead, .partners__grid, .partners__terms, .partners__list, .partners__outro,
  .geo__subtitle {
    font-size: clamp(16px, 1.25vw, 24px);
    line-height: 1.21;
  }
  .about-home__text p + p, .advantages__item + .advantages__item, .text-block p + p,
  .partners__list li + li {
    margin-top: clamp(19.4px, 1.51vw, 29px);
  }
  .advantages__item { padding-left: clamp(24.7px, 1.927vw, 37px); }
  .advantages__item::before { width: clamp(15.3px, 1.198vw, 23px); height: clamp(26px, 2.031vw, 39px); }
  .btn {
    height: clamp(30.7px, 2.396vw, 46px);
    padding: 0 clamp(24px, 1.875vw, 36px);
    font-size: clamp(13.3px, 1.042vw, 20px);
    line-height: 1.21;
  }
  .btn--pill { height: clamp(25.3px, 1.979vw, 38px); padding: 0 clamp(13.3px, 1.042vw, 20px); font-size: clamp(10px, .781vw, 15px); }
  .about-home__buttons .btn { padding: 0 clamp(23.3px, 1.823vw, 35px); }
  .products-cta__btn, .home-catalog__more-btn {
    height: clamp(37.3px, 2.917vw, 56px);
    min-width: clamp(154.7px, 12.083vw, 232px);
    font-size: clamp(10.7px, .833vw, 16px);
  }
  .about-home, .advantages, .scheme { margin-top: clamp(66.7px, 5.208vw, 100px); }
  .about-home__text, .about-home__buttons { margin-top: clamp(28.7px, 2.24vw, 43px); }
  .home-catalog { margin-top: clamp(64px, 5vw, 96px); }
  .about-page__title, .about-page__photo { margin-top: clamp(60px, 4.688vw, 90px); }
  .contacts-block__item + .contacts-block__item { margin-top: clamp(39.3px, 3.073vw, 59px); }
}

/* --- ≤1024: планшет. Мобильная шапка (бургер), сайдбар над сеткой, 2 колонки --- */
@media (max-width: 1024px) {
  :root {
    --header-h: 81.7px;
    --footer-h: auto;
  }
  .site-header__inner {
    display: flex;
    align-items: center;
    padding: 0 19.3px 0 20.2px;
    width: 100%;
    max-width: none;
  }
  .site-header__burger {
    display: block;
    width: 27.2px;
    height: 19.5px;
    margin-right: 7.6px;
    flex: 0 0 auto;
    color: var(--c-white);
  }
  .site-header__burger svg { width: 100%; height: 100%; }
  .site-header__logo { width: 98.8px; height: 29.8px; margin-right: auto; }
  .site-header .site-nav { display: none; }
  .site-header__right { gap: 0; }
  .header-contacts {
    flex-direction: row;
    align-items: center;
    gap: 10.4px;
    margin: 0 19.3px 0 0;
  }
  .header-contacts__text { display: none; }
  .header-contacts__icon { display: block; color: var(--c-white); }
  .header-contacts__phone .header-contacts__icon { width: 20px; height: 20px; }
  .header-contacts__mail .header-contacts__icon { width: 26.2px; height: 20px; }
  .header-contacts__icon svg { width: 100%; height: 100%; }
  .header-search { height: 27px; }
  .header-search__toggle { width: 25.7px; height: 27px; }
  .header-search.is-open { width: 200px; height: 39px; }
  .site-header__right.is-searching .header-contacts { display: none; }

  /* подвал: 135.8 px, ссылки в столбик */
  .site-footer { height: auto; }
  .site-footer__inner {
    padding: 8.3px 19.2px 14px 19.2px;
    width: 100%;
    max-width: none;
  }
  .site-footer__top { height: auto; padding-bottom: 12px; border-bottom-width: .5px; }
  .site-footer .site-nav__list { flex-direction: column; gap: 7.9px; }
  .site-footer .site-nav__link { font-size: 11.7px; line-height: 14.1px; }
  .footer-contacts {
    flex-direction: column;
    align-items: flex-end;
    gap: 11.2px;
    margin-top: 0;
    font-size: 10px;
    line-height: 12.1px;
  }
  .footer-contacts__sep { display: none; }
  .site-footer .site-nav__link::before { height: calc(100% + 7px); }
  .footer-contacts a::before { height: calc(100% + 10px); }
  .site-footer__bottom { margin-top: 10.4px; font-size: 8.3px; line-height: 10.1px; }

  /* каталог */
  .catalog-page { background: var(--c-catalog-bg); }
  .catalog-page .site-main { padding-bottom: 40px; }
  .catalog {
    grid-template-columns: 1fr;
    row-gap: 24px;
    width: calc(100% - 2 * var(--gutter));
  }
  .sidebar__list { display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; }
  .sidebar__item { margin-right: -1px; }
  /* 481…1024: карточки резиновые, шрифты реальные (не масштабируем текст) */
  .catalog__grid {
    --u: 1px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: auto;
    gap: 16px;
  }
  .product-card {
    width: 100%;
    height: auto;
    padding: 24px 16px 22px;
    margin: 0;
  }
  .product-card__image,
  .product-card--wide .product-card__image,
  .product-card--tall .product-card__image,
  .product-card--tall.product-card--wide .product-card__image {
    width: 100%;
    max-width: 353px;
    height: auto;
    aspect-ratio: 353 / 209;
    margin: 0 auto;
  }
  .product-card--tall .product-card__image { aspect-ratio: 353 / 235; }
  .product-card__image picture { display: block; width: 100%; height: 100%; }
  .product-card__head { margin-top: 12px; flex-wrap: wrap; }
  .product-card__name { width: auto; flex: 1 1 140px; }

  /* главная / о компании: сетки в одну колонку */
  .about-home { grid-template-columns: 1fr; }
  /* в макете фото стоит над заголовком «Зажигалки оптом от производителя» */
  .about-home__image { grid-row: 1; margin-top: 0; margin-bottom: 30px; }
  .partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; padding-left: 0; }
  .partners__lead, .partners__terms, .partners__outro { padding-left: 0; padding-right: 0; }
  .partners__list { padding-left: 39px; }
  .certs__logos { width: 100%; margin: 40px 0 0; }
  .geo__map-russia { width: 100%; margin: 21px 0 0; }
  .scheme__image { width: 100%; }
}

/* --- ≤768 --- */
@media (max-width: 768px) {
  :root { --gutter: 24px; }
  .intro { padding-top: 42px; }
  .intro__text { font-size: 22.5px; line-height: 27.8px; }
  .intro__strip { margin-top: 42px; }
  .products-cta { padding-top: 42px; }
  .products-cta__text { margin-top: 35px; font-size: 18.8px; line-height: 26.7px; font-weight: 400; }
  .products-cta__row { margin-right: 0; }
  .about-home { margin-top: 42px; }
  .about-home__text, .advantages__list, .text-block, .partners__lead, .partners__grid,
  .partners__terms, .partners__list, .partners__outro { font-size: 16.7px; line-height: 20.2px; }
  .about-home__text p + p, .advantages__item + .advantages__item, .text-block p + p,
  .partners__list li + li { margin-top: 20.2px; }
  .advantages { margin-top: 42px; }
  .scheme { margin-top: 42px; }
  .page-main, .about-page, .policy, .catalog-page .site-main { padding-bottom: 40px; }

  .modal--product { padding: 12px 12px 72px; }
  .lightbox { padding: 48px 12px 12px; border-radius: 6px; }
  .lightbox__close { right: 14px; top: 14px; width: 20px; height: 20px; }
  .lightbox__img { max-height: calc(100vh - 190px); }
  .lightbox__bar { bottom: 14px; }

  .to-top { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .to-top svg { width: 12px; height: 21px; }
}

/* --- ≤480: мобильная версия по кадрам iPhone (393) --- */
@media (max-width: 480px) {
  :root { --gutter: 18.8px; }
  .container { width: calc(100% - 2 * var(--gutter)); }
  .btn { height: 32.5px; padding: 0 25px; border-radius: 4.25px; font-size: 14.1px; line-height: 17.1px; }

  /* главная */
  .intro__text { max-width: 306px; }
  .intro__strip { width: 100vw; margin-left: calc(50% - 50vw); aspect-ratio: 393 / 90.8; }
  .section-title { font-size: 26.7px; line-height: 32.3px; }
  .products-cta__text { max-width: 338px; }
  .products-cta__row {
    flex-direction: column;
    align-items: center;
    gap: 25.4px;
    height: auto;
    margin-top: 25.5px;
  }
  .products-cta__arrow { display: none; }
  .products-cta__arrow--mobile { display: block; width: 14px; height: 40px; }
  .products-cta__btn {
    width: 100%;
    max-width: 356.5px;
    height: 62.5px;
    margin-top: 0;
    border-radius: 36px;
    font-size: 16.7px;
    line-height: 20.2px;
  }
  .about-home { row-gap: 0; }
  .about-home__title, .advantages__title {
    font-size: 26.7px;
    line-height: 32.3px;
    text-align: center;
  }
  .about-home__text { margin-top: 35.4px; text-align: center; }
  .about-home__text p + p { margin-top: 18px; }
  .about-home__buttons { justify-content: space-between; gap: 20px; margin-top: 25.4px; }
  .about-home__buttons .btn { flex: 1 1 0; padding: 0 12px; }
  .about-home__image {
    width: 100vw;
    margin: 0 0 41.6px calc(50% - 50vw);
    aspect-ratio: 393 / 219.6;
  }
  .advantages__list { margin-top: 35.4px; }
  .advantages__item { padding-left: 0; }
  .advantages__item::before { display: none; }
  .scheme__title { font-size: 13.3px; line-height: 16.1px; }
  .scheme__image { width: calc(100% + 26px); margin: 0 -13px 0; max-width: none; }
  .page-main { padding-bottom: 39.6px; }

  /* о компании */
  .about-page__title, .policy__title { margin-top: 22px; font-size: 26.7px; line-height: 32.3px; }
  .about-page__photo { width: 100vw; margin: 22px 0 0 calc(50% - 50vw); aspect-ratio: 393 / 90.8; }
  .text-block { font-size: 10px; line-height: 12.1px; }
  .text-block p + p { margin-top: 10px; }
  .about-page__text { margin: 24px 8px 0; }
  .geo { margin-top: 26px; }
  .geo .section-title { font-size: 15px; line-height: 18.2px; }
  .geo__subtitle { margin-top: 21px; font-size: 13.3px; line-height: 16.1px; }
  .geo__map-world { width: 100vw; margin: 15.4px 0 0 calc(50% - 50vw); aspect-ratio: 393 / 232.9; }
  .geo__map-russia { margin-top: 18.3px; }
  .partners { margin-top: 28px; }
  .partners__lead, .partners__terms, .partners__outro {
    margin-top: 14px;
    font-size: 15px;
    font-weight: 500;
    line-height: 18.2px;
    text-align: center;
  }
  .partners__grid {
    margin-top: 14.6px;
    padding: 0 12px;
    column-gap: 32px;
    row-gap: 14.6px;
    font-size: 10px;
    line-height: 12.1px;
  }
  .partners__grid--second { margin-top: 14.6px; }
  .partners__item { padding-left: 10px; }
  .partners__item::before { top: 2px; width: 6px; height: 7px; }
  .partners__list { margin-top: 14px; padding-left: 4px; font-size: 10px; line-height: 12.1px; }
  .partners__list li + li { margin-top: 10px; }
  .partners__list li::before {
    left: -8px;
    top: 5px;
    width: 2.5px;
    height: 2.5px;
    border-radius: 50%;
    background: var(--c-navy);
  }
  .certs { margin-top: 20px; }
  .certs .section-title { font-size: 26.7px; line-height: 32.3px; }
  .certs__text { margin-top: 24px; }
  .certs__logos { margin-top: 18px; }
  .certs__warning { margin-top: 18px; }
  .contacts-block { margin-top: 22px; }
  .contacts-block__item { font-size: 20px; line-height: 24.2px; }
  .contacts-block__item + .contacts-block__item { margin-top: 24.6px; }
  .about-page { padding-bottom: 41.6px; }

  /* политика */
  .policy__intro { margin-top: 30px; }
  .policy__section-title { font-size: 18px; line-height: 22px; }
  .policy__section .text-block { margin-top: 16px; }

  /* каталог: серый фон #ECEFF1 (правка клиента), карточки в колонку */
  .catalog-page { background: var(--c-catalog-bg); }
  .catalog-page .site-main { padding-bottom: 41.7px; }
  .catalog__title {
    margin-top: 24px;
    font-size: 20px;
    line-height: 24.2px;
    color: var(--c-navy);
  }
  .catalog { margin-top: 24px; row-gap: 24px; width: calc(100% - 46px); }
  .sidebar__list { display: none; grid-template-columns: 1fr; }
  .sidebar__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 7px 12px;
    border: 1px solid var(--c-border);
    background: var(--c-white);
    font-size: 12px;
    font-weight: 600;
    line-height: 14.5px;
    text-align: left;
  }
  .sidebar__toggle svg { width: 7px; height: 4px; color: var(--c-navy); transition: transform .2s; }
  .sidebar__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sidebar.is-open .sidebar__list { display: grid; }
  .sidebar__item { margin-right: 0; }
  .catalog__grid {
    --u: calc(100cqw / 465);
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    row-gap: 14.6px;
  }
  .product-card {
    width: 100%;
    height: auto;
    padding: calc(46 * var(--u)) calc(8 * var(--u)) calc(24 * var(--u)) calc(48 * var(--u));
    margin: 0;
  }
  .product-card--tall { padding-top: calc(20 * var(--u)); }
  .product-card__image,
  .product-card--wide .product-card__image {
    width: calc(353 * var(--u));
    max-width: none;
    height: calc(209 * var(--u));
    aspect-ratio: auto;
    margin: 0 0 0 calc(8 * var(--u));
  }
  .product-card--wide .product-card__image { width: calc(419 * var(--u)); margin-left: calc(-25 * var(--u)); }
  .product-card--tall .product-card__image { height: calc(235 * var(--u)); }
  .product-card--tall.product-card--wide .product-card__image { width: calc(437 * var(--u)); margin-left: calc(-34 * var(--u)); }
  .product-card__head { margin-top: calc(14 * var(--u)); flex-wrap: nowrap; }
  .product-card--tall .product-card__head { margin-top: calc(14 * var(--u)); }
  .product-card__name { width: calc(280 * var(--u)); flex: 0 1 auto; }
  .catalog__empty { color: var(--c-white); }

  /* модалки */
  .modal { padding: 12px; }
  .modal__title { padding-top: 28px; font-size: 24px; line-height: 29px; }
  .modal--age .modal__text { margin: 24px 24px 0; }
  .modal--age .modal__buttons { flex-direction: column; gap: 14px; margin: 24px 24px 0; }
  .modal--age .modal__note { margin: 24px 24px 28px; }
  .form { padding: 20px 20px 28px; }
  .form__captcha-row { flex-wrap: wrap; gap: 12px; }
  .form__captcha-input { min-width: 120px; }
}

/* ≤480: у карточки поля из макета несимметричные (48 слева, 8 справа), поэтому широкие фото
   (батарейки, чехлы, газ) визуально уезжали влево — сдвигаем бокс на половину разницы. */
@media (max-width: 480px) {
  .product-card__image,
  .product-card--wide .product-card__image,
  .product-card--tall .product-card__image,
  .product-card--tall.product-card--wide .product-card__image {
    max-width: 100%;                                   /* широкие боксы не вылезают за поля */
    margin-inline: auto;                               /* центр внутри контента карточки */
    transform: translateX(calc(-20 * var(--u)));       /* и ещё на половину разницы полей — центр карточки */
  }
}

/* ============================================================
   Правка 22.09 (п.9, моб. макет): тексты по центру, кроме блока «Производство»;
   пункты преимуществ и скидок разделены линиями вместо маркеров
   ============================================================ */
@media (max-width: 480px) {
  .advantages__list { text-align: center; }
  .advantages__item { padding: 0 0 13px; border-bottom: 1px solid #C9D1D7; }
  .advantages__item + .advantages__item { margin-top: 13px; }
  .partners__list { padding-left: 0; text-align: center; }
  .partners__list li {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    padding: 0 12px 6px;
    border-bottom: 1px solid #C9D1D7;
  }
  .partners__list li + li { margin-top: 8px; }
  .partners__list li::before { display: none; }
  .certs__text, .certs__warning { text-align: center; }
}

/* ============================================================
   Каталог на главной (новые макеты 22.09): «Каталог» → раздел →
   сайдбар + сетка → «Загрузить ещё». На телефоне разделы текстом,
   и порядок блоков главной — как в мобильном макете.
   ============================================================ */
.home-catalog { margin-top: 96px; }
.home-catalog__sub {
  margin-top: 18px;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
}
.home-catalog .catalog { margin-top: 28px; }
/* высоту ряда задаёт .catalog__grid (calc(464 * var(--u))) — она тянется вместе
   с карточкой. Жёсткие 465px тут оставляли пустоту между рядами на экранах уже 1920. */
.home-cats { display: none; }
.home-catalog__more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.home-catalog__more-btn {
  min-width: 232px;
  height: 56px;
  padding: 0 32px;
  background: var(--c-navy);
  color: var(--c-white);
  font-size: 16px;
  line-height: 19.4px;
}
a.home-catalog__more-btn { display: inline-flex; align-items: center; justify-content: center; }
.home-catalog__more-btn:hover { opacity: .9; }

@media (max-width: 1024px) {
  .home-catalog { margin-top: 56px; }
}

@media (max-width: 767px) {
  /* мобильный макет: полосы из трёх фото нет, «Продукция» — после схемы, дальше каталог */
  .home-page .page-main { display: flex; flex-direction: column; }
  .home-page .page-main > * { align-self: stretch; }   /* flex-элементы не сжимаются по контенту */
  .home-page .intro { order: 1; }
  .home-page .about-home { order: 2; }
  .home-page .advantages { order: 3; }
  .home-page .scheme { order: 4; }
  .home-page .products-cta { order: 5; }
  .home-page .home-catalog { order: 6; }
  .home-page .intro__strip { display: none; }

  .home-catalog { margin-top: 28px; }
  /* в мобильном макете заголовков «Каталог»/раздела нет — сразу разделы текстом */
  .home-catalog .section-title, .home-catalog__sub { display: none; }
  .home-catalog .sidebar { display: none; }          /* вместо сайдбара — ссылки текстом */
  .home-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    width: calc(100% - 46px);
    margin: 18px auto 0;
    font-size: 11px;
    line-height: 13.3px;
    text-align: center;
  }
  .home-cats__link { display: block; padding: 2px 0; white-space: nowrap; }
  .home-cats__link:hover { color: var(--c-navy); }
  .home-catalog .catalog { margin-top: 18px; }
  .home-catalog__more { margin-top: 24px; }
  .home-catalog__more-btn {
    width: calc(100% - 46px);
    max-width: 356.5px;
    min-width: 0;
    height: 62.5px;
    border-radius: 36px;
    font-size: 16.7px;
    line-height: 20.2px;
  }
}

/* ============================================================
   Блоки компании на главной (новые макеты 22.09): после каталога
   идут «Производство», «География продаж», «Партнерство»,
   «Сертификация» и контакты — страница показана целиком.
   ============================================================ */
.about-head { display: flex; flex-direction: column; }
.about-head .about-page__photo { order: 1; }   /* в макете ПК фото выше заголовка */
.about-head .about-page__title { order: 2; }
.about-head .about-page__text { order: 3; }

@media (max-width: 767px) {
  /* в мобильном макете заголовок «Производство» — над фото */
  .about-head .about-page__title { order: 0; margin-top: 28px; }
  .about-head .about-page__photo { margin-top: 18px; }
}

/* Пока фото не загрузилось, бокс не стоит белым пятном — светлая подложка
   (только там, где снимок закрывает бокс целиком, object-fit: cover). */
.intro__strip, .about-home__image, .about-page__photo { background: #EEF1F3; }

/* ============================================================
   Вертикальный ритм главной по PDF-макету 22.09: у каталога и
   блоков компании отступы между блоками были крупнее макетных.
   Значения — замер по макету (1920), ниже 1280 уменьшаются
   пропорционально, как и остальная типографика.
   Страницы «О компании» и «Политика» не трогаем — там свой макет.
   ============================================================ */
.home-catalog { margin-top: clamp(30px, 2.344vw, 45px); }
.home-catalog__sub { margin-top: clamp(17.3px, 1.354vw, 26px); }
.home-catalog .catalog { margin-top: clamp(8px, .625vw, 12px); }
.home-catalog__more { margin-top: clamp(33.3px, 2.604vw, 50px); }

.home-page .page-main { padding-bottom: 0; }
.about-head .about-page__photo { margin-top: clamp(34.7px, 2.708vw, 52px); }
.about-head .about-page__title { margin-top: clamp(34.7px, 2.708vw, 52px); }
.home-page .geo { margin-top: clamp(38.7px, 3.021vw, 58px); }
.home-page .geo__subtitle { margin-top: clamp(39.3px, 3.073vw, 59px); }
.home-page .geo__map-world { margin-top: clamp(28.7px, 2.24vw, 43px); }
.home-page .partners { margin-top: clamp(32px, 2.5vw, 48px); }
.home-page .partners__lead { margin-top: clamp(34.7px, 2.708vw, 52px); }

@media (max-width: 767px) {
  .home-page .page-main { padding-bottom: 0; }
}

/* Переходы между разделами без перезагрузки: тонкая полоса сверху, пока
   грузится следующая страница (assets/js/main.js, initPjax). */
html.is-navigating::after {
  content: '';
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  height: 3px;
  width: 100%;
  background: var(--c-navy);
  transform-origin: 0 50%;
  animation: nav-bar .8s ease-out infinite;
  pointer-events: none;
}
@keyframes nav-bar {
  0%   { transform: scaleX(0); opacity: 1; }
  80%  { transform: scaleX(.9); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html.is-navigating::after { animation: none; transform: scaleX(1); opacity: .6; }
}

/* вкладка «Всё» — первой в сайдбаре, без списка моделей */
.sidebar__item[data-category="all"] .sidebar__link { font-weight: 500; }

/* ============================================================
   Правка 21.10: «Продукция» с кнопкой прайса стоит прямо перед
   каталогом (раньше так было только на телефоне), а заголовок
   «Каталог» убран — раздел подписан своим названием.
   ============================================================ */
.home-page .page-main { display: flex; flex-direction: column; }
.home-page .page-main > * { align-self: stretch; }   /* flex-элементы не сжимаются по контенту */
.home-page .intro { order: 1; }
.home-page .about-home { order: 2; }
.home-page .advantages { order: 3; }
.home-page .scheme { order: 4; }
.home-page .products-cta { order: 5; }
.home-page .home-catalog { order: 6; }
.home-catalog .section-title { display: none; }

@media (min-width: 768px) {
  /* «Продукция» теперь идёт после схемы — отступ сверху как у остальных блоков */
  .home-page .products-cta { padding-top: 0; margin-top: clamp(38.7px, 3.021vw, 58px); }
  .home-catalog { margin-top: clamp(24px, 1.875vw, 36px); }
  /* название раздела — подзаголовок каталога, первым в блоке */
  .home-catalog__sub { margin-top: 0; }
}
