/* =====================================================
   Brightfield Global — styled after brightfieldmedical.com
   ===================================================== */

/* ---------- Fonts (self-hosted Poppins; Inter stays as Cyrillic fallback) ---------- */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Poppins/Poppins-400.woff2) format("woff2");
  }
  @font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/Poppins/Poppins-500.woff2) format("woff2");
  }
  @font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/Poppins/Poppins-600.woff2) format("woff2");
  }
  @font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/Poppins/Poppins-700.woff2) format("woff2");
  }

/* ---------- Design Tokens ---------- */
:root {
    --blue-900: #052f63;
    --blue-800: #073c80;
    --blue-700: #0B4996;   /* brand — site blue */
    --blue-600: #0e57b0;
    --blue-500: #0B4996;   /* accent / buttons */
    --blue-400: #2f72c8;
    --blue-100: #e3ecf7;
    --blue-50:  #f0f5fc;

    /* brightfieldmedical.com palette */
    --accent:     #0B4996;
    --text-black: #070707;
    --gray-bg:    #F8F8F8;
    --card-line:  #EBEBEB;

    /* brand blue as rgb for shadows */
    --blue-rgb: 11, 73, 150;

    --ink:      #070707;
    --ink-soft: #2c2c2c;
    --muted:    #5f6470;
    --line:     #e6e8ee;

    --bg:       #ffffff;
    --bg-soft:  #F8F8F8;

    --white:    #ffffff;

    --radius-sm: 15px;
    --radius:    24px;
    --radius-lg: 24px;
    --radius-pill: 56px;

    --shadow-sm: 0 0 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 12px 30px rgba(7, 7, 7, 0.08);
    --shadow-lg: 0 24px 60px rgba(7, 7, 7, 0.12);
    /* neutral (no blue tint) — for clean 3D lift */
    --shadow-card: 0 24px 54px rgba(28, 33, 48, 0.12);
    --shadow-soft: 0 12px 26px rgba(28, 33, 48, 0.10);

    --ease: ease;
    --ease-out: ease;

    --container: 1280px;
    --gutter: 20px;

    --font: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  }
  
  /* ---------- Reset ---------- */
  *,
  *::before,
  *::after { box-sizing: border-box; }
  
  html { -webkit-text-size-adjust: 100%; }
  
  body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4, p, figure, address { margin: 0; }
  ul { margin: 0; padding: 0; list-style: none; }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; height: auto; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; }
  address { font-style: normal; }
  
  /* ---------- Layout helpers ---------- */
  .container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
  }
  
  .section-title {
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--text-black);
  }
  .section-title--center { text-align: center; }
  /* accent kicker above titles — brightfieldmedical pattern */
  .section-kicker {
    display: block;
    font-size: 24px;
    line-height: 24px;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 12px;
  }
  @media (max-width: 600px) {
    .section-title { font-size: 28px; line-height: 36px; }
    .section-kicker { font-size: 18px; line-height: 24px; }
  }
  
  .section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
  }
  
  /* ---------- Buttons (= .arrow_button на brightfieldmedical.com) ---------- */
  .btn {
    --btn-bg: var(--accent);
    --btn-fg: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    min-height: 46px;
    padding: 8px 8px 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border: 1px solid var(--accent);
    transition: all 0.3s ease;
    box-sizing: border-box;
  }
  .btn > span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
  }
  .btn:hover { background: #fff; color: var(--accent); }

  /* стрелка из SVG (круглая иконка 28×28) */
  .btn .btn__arrow,
  .btn img.btn__arrow {
    flex: none;
    width: 28px;
    height: 28px;
    display: block;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.3s ease;
  }
  .btn:hover .btn__arrow { border-color: var(--accent); }

  /* legacy: старый круглый svg-icon — оставляем совместимость */
  .btn .btn__icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #fff;
    color: var(--accent);
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
  }
  .btn .btn__icon svg { display: block; }
  .btn:hover .btn__icon { border-color: var(--accent); }

  /* без иконки — симметричный padding как Learn More / white */
  .btn > span:only-child { padding-right: 8px; }

  .btn--ghost {
    --btn-bg: #fff;
    --btn-fg: var(--text-black);
    border-color: #fff;
    padding: 8px 32px;
  }
  .btn--ghost:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

  .btn--outline {
    --btn-bg: transparent;
    --btn-fg: var(--accent);
    border-color: var(--accent);
    padding: 8px 8px 8px 16px;
  }
  .btn--outline:hover { background: var(--accent); color: #fff; }
  .btn--outline:hover .btn__arrow { border-color: #fff; }

  .btn--light {
    --btn-bg: #fff;
    --btn-fg: var(--accent);
    border-color: #fff;
  }
  .btn--light:hover { background: #fff!important; color: var(--accent)!important; border-color: var(--accent)!important; }

  .btn--ghost-light {
    --btn-bg: transparent;
    --btn-fg: #fff;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 8px 32px;
  }
  .btn--ghost-light:hover { background: #fff; color: var(--accent); border-color: #fff; }

  /* primary без явной стрелки в разметке — дорисовываем как на референсе */
  .btn--primary:not(:has(.btn__arrow)):not(:has(.btn__icon))::after {
    content: "";
    width: 28px;
    height: 28px;
    flex: none;
    background: url(../img/button-arrow.svg) center / contain no-repeat;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.3s ease;
  }
  .btn--primary:not(:has(.btn__arrow)):not(:has(.btn__icon)):hover::after {
    border-color: var(--accent);
  }
  @media screen and (max-width: 768px) {
    .hero-slide__actions 
    .btn > span{
      font-size: 12px;
    }
    .hero-slide__actions 
    .btn {
      padding: 6px 8px 6px 8px;
    }
  }

  
  /* =====================================================
     HEADER — fixed, transparent over hero, white when scrolled
     ===================================================== */
  .header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  /* home / contacts: hero lies underneath the transparent header */
  body.home .header,
  body.page-template-homepage-php .header,
  body.page-template-homepage .header,
  body.page-template-pageshomepage-php .header,
  body.page-template-contacts .header,
  body.page-template-pagescontacts-php .header,
  body.page-template-about .header,
  body.page-template-pagesabout-php .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }
  .header__bar {
    background: #fff;
    padding: 12px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  }
  body.home .header:not(.is-scrolled) .header__bar,
  body.page-template-homepage-php .header:not(.is-scrolled) .header__bar,
  body.page-template-homepage .header:not(.is-scrolled) .header__bar,
  body.page-template-pageshomepage-php .header:not(.is-scrolled) .header__bar,
  body.page-template-contacts .header:not(.is-scrolled) .header__bar,
  body.page-template-pagescontacts-php .header:not(.is-scrolled) .header__bar,
  body.page-template-about .header:not(.is-scrolled) .header__bar,
  body.page-template-pagesabout-php .header:not(.is-scrolled) .header__bar {
    background: transparent;
    padding: 18px 0;
  }
  .header.is-scrolled .header__bar {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
  }
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 64px;
  }
  .header__logo { flex-shrink: 0; }
  .header__logo img { width: 100%; max-width: 221px; height: auto; flex-shrink: 0; }

  .header__nav { margin-left: auto; }
  .header__nav-list {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .header__nav-list a {
    display: block;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: 400;
    color: #1E1E1E;
    white-space: nowrap;
    transition: color 0.3s ease;
  }
  .header__nav-list a:hover { color: var(--accent); }
  .header__nav-list .current-menu-item > a,
  .header__nav-list .current_page_item > a { color: var(--accent); }

  .header__actions { display: flex; align-items: center; gap: 14px; }

  .header__menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    align-items: center;
    transition: border-color 0.3s, background 0.3s;
  }
  .header__menu-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }
  .header__menu-toggle:hover { border-color: var(--accent); }
  
  .header__lang {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
  }
  .header__lang:hover { border-color: var(--blue-400); color: var(--blue-500); }
  .header__lang { position: relative; user-select: none; }
  .header__lang svg { transition: transform 0.3s var(--ease); }
  .header__lang.is-open { border-color: var(--blue-400); color: var(--blue-500); }
  .header__lang.is-open svg { transform: rotate(180deg); }
  .header__lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 170px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(20, 60, 130, 0.12);
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    z-index: 200;
  }
  .header__lang.is-open .header__lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .header__lang-option {
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }
  .header__lang-option:hover { background: var(--bg-soft, #f4f5f7); color: var(--blue-700); }
  .header__lang-option.is-active { color: var(--blue-700); font-weight: 600; }
  
  .header__cta { padding: 6px 6px 6px 16px; min-height: 44px; white-space: nowrap; }

  .header__lang { border-radius: var(--radius-pill); }
  .header__lang:hover { border-color: var(--accent); color: var(--accent); }
  
  .header_search_button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    align-items: center;
    transition: border-color 0.3s, background 0.3s;
    background: var(--white);
  }
  .header_search_button svg{
    width: 20px;
    height: 20px;
  }

  /* =====================================================
     HERO — центральный слайд, соседние выглядывают по бокам
     ===================================================== */
  .hero {
    position: relative;
    /* верхний отступ = высота фиксированной шапки на главной */
    padding: 115px 0 70px;
    overflow: hidden;
  }

  /* обёртка слайдера — база для абсолютных стрелок */
  .hero__wrap { position: relative; }
  .hero__slider {
    width: 100%;
    overflow: hidden;
  }
  .hero__slider .swiper-slide { height: auto; }

  /* Первая отрисовка до старта Swiper: базовый swiper.css задаёт слайду
     width: 100%, поэтому баннер на кадр-другой занимает всю ширину секции
     и только потом ужимается. Повторяем расчёт Swiper и сдвиг centeredSlides,
     чтобы разметка совпала с итоговой сразу.
     --spv / --gap обязаны совпадать с настройками героя в script.js. */
  .hero__slider {
    --spv: 1.05;
    --gap: 12px;
    /* --start (индекс стартового слайда) приходит инлайном из homepage.php */
    --slide-w: calc((100% - (var(--spv) - 1) * var(--gap)) / var(--spv));
  }
  @media (min-width: 640px)  { .hero__slider { --spv: 1.2; --gap: 16px; } }
  @media (min-width: 1024px) { .hero__slider { --spv: 1.4; --gap: 20px; } }
  .hero__slider:not(.swiper-initialized) .swiper-slide {
    width: var(--slide-w);
    margin-right: var(--gap);
  }
  .hero__slider:not(.swiper-initialized) .swiper-wrapper {
    transform: translate3d(
      calc((100% - var(--slide-w)) / 2 - var(--start, 0) * (var(--slide-w) + var(--gap))),
      0,
      0
    );
  }
  /* приглушение соседних слайдов — только после инициализации Swiper,
     иначе без JS весь слайдер остался бы полупрозрачным */
  /* .hero__slider.swiper-initialized .swiper-slide {
    opacity: 0.4;
    transition: opacity 0.6s ease;
  }
  .hero__slider.swiper-initialized .swiper-slide-active { opacity: 1; } */

  /* ---------- слайд ---------- */
  .hero-slide {
    position: relative;
    /* пропорции баннера = пропорции исходной картинки */
    aspect-ratio: 1353 / 564;
    border-radius: 24px;
    overflow: hidden;
    /* background: var(--gray-bg); */
  }
  .hero-slide__media,
  .hero-slide__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  /* затемнение под текстом — только там, где текст есть */
  .hero-slide--has-content::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* background: linear-gradient(
      to top,
      rgba(7, 7, 7, 0.72) 0%,
      rgba(7, 7, 7, 0.45) 38%,
      rgba(7, 7, 7, 0) 72%
    ); */
  }

  /* ---------- контент слайда: слева, прижат к низу ---------- */
  .hero-slide__content {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: min(100%, 720px);
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    color: #fff;
  }
  /* .hero__slider.swiper-initialized .hero-slide__content {
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .hero__slider.swiper-initialized .swiper-slide-active .hero-slide__content { opacity: 1; } */

  .hero-slide__label {
    display: inline-block;
    padding: 5px 20px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: #fff;
    font-size: 16px;
    font-weight: 400;
  }
  .hero-slide__title {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: 0;
    color: #fff;
    margin: 0;
  }
  .hero-slide__text {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    max-width: 550px;
  }
  .hero-slide__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* ---------- стрелки: по бокам слайдера, по центру высоты ---------- */
  .hero__nav {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* прозрачная полоса поверх слайда не должна перехватывать свайп */
    pointer-events: none;
  }
  .hero__arrow {
    pointer-events: auto;
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #fff;
    box-shadow: var(--shadow-sm);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
  }
  .hero__arrow:hover { background: #fff; color: var(--accent); }
  .hero__arrow.swiper-button-disabled { opacity: 0.4; cursor: default; }

  @media (max-width: 1050px) {
    .hero-slide__title { font-size: 38px; }
    .hero-slide__content { padding: 36px; }
  }
  @media (max-width: 880px) {
    .hero { padding: 100px 0 50px; }
    .hero__arrow { width: 40px; height: 40px; }
  }

  /* Планшет и узкий десктоп.
     Слайд держит пропорцию баннера 1353/564, а ширину ему режет соседний
     подглядывающий слайд — высота падает до 280-380px. Подпись, заголовок,
     текст и кнопки в неё не влезают: верх контента обрезался слайдом
     (overflow: hidden), а сам текст растягивался на всю ширину и ложился
     на фото товара справа.
     Решение: высоту задаёт контент — картинка уходит в фон, текст встаёт
     в поток и занимает левую колонку. Выше 1400px контент помещается
     в пропорцию баннера, там ничего не меняем. */
  @media (min-width: 641px) and (max-width: 1400px) {
    .hero-slide--has-content {
      aspect-ratio: auto;
      min-height: 280px;
    }
    .hero-slide--has-content .hero-slide__media {
      position: absolute;
      inset: 0;
    }
    .hero-slide--has-content .hero-slide__content {
      position: relative;
      width: min(62%, 720px);
    }
  }
  /* в узкой колонке крупный кегль расходится на 4-5 строк */
  @media (min-width: 641px) and (max-width: 880px) {
    .hero-slide__content { padding: 28px; gap: 14px; }
    .hero-slide__title { font-size: 30px; }
    .hero-slide__text { font-size: 15px; line-height: 24px; }
  }
  @media (max-width: 640px) {
    /* вертикальный баннер под телефон */
    .hero-slide { aspect-ratio: 356 / 445; border-radius: 18px; }
    .hero-slide__content { padding: 24px; gap: 14px; width: 100%; }
    .hero-slide__title { font-size: 28px; }
    .hero-slide__text { font-size: 15px; line-height: 24px; }
    .hero-slide__label { font-size: 14px; padding: 4px 14px; }
    .hero-slide__actions .btn { font-size: 14px; }
    /* стрелки уходят под слайдер, чтобы не перекрывать узкий баннер */
    .hero__nav {
      position: static;
      transform: none;
      justify-content: center;
      gap: 12px;
      margin-top: 18px;
    }
  }

  /* =====================================================
     PRODUCTS
     ===================================================== */
  .products { padding: 20px 0 50px; }
  .products__grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .product-card {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 130px;
    padding: 44px 32px;
    border-radius: var(--radius);
    /* background: var(--gray-bg); */
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.5s var(--ease), border-color 0.3s ease, background 0.3s ease;
    will-change: transform;
  }
  .product-card::after {
    /* glow ring */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1.5px transparent;
    transition: box-shadow 0.5s var(--ease);
  }
  .product-card__media {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    transition: transform 0.6s var(--ease);
  }
  .product-card__media img {
    height: 46px;
    width: auto;
    object-fit: contain;
  }
  .product-card__shine {
    position: absolute;
    top: 0; left: -60%;
    width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
  }
  .product-card:hover {
    box-shadow: none;
    border-color: var(--accent);
    background: #fff;
  }
  .product-card:hover::after { box-shadow: inset 0 0 0 1px rgba(28, 33, 48, 0.05); }
  .product-card:hover .product-card__media { transform: scale(1.06); }
  .product-card:hover .product-card__shine { animation: shine 0.9s var(--ease); }
  @keyframes shine {
    to { left: 130%; }
  }
  
  /* =====================================================
     ABOUT — lead paint text + cards (brightfieldmedical)
     ===================================================== */
  .about { padding: 20px 0 100px;  }
  .about__intro { display: flex; flex-direction: column; }
  .about__subtitle {
    display: block;
    font-size: 24px;
    line-height: 24px;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 12px;
  }
  .about__lead {
    margin: 0 0 35px;
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    color: var(--text-black);
  }
  .about__brand { color: var(--text-black); }
  .about__lead .paint-target,
  .about__lead .paint-target .w {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: #B1B1B1;
    transition: color 0.15s linear;
    will-change: color;
  }
  .about__lead .paint-target .w.is-on { color: var(--text-black); }
  @media (prefers-reduced-motion: reduce) {
    .about__lead .paint-target .w { transition: none; }
  }
  .about__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 85px;
    margin-bottom: 85px;
    border-bottom: 1px solid #B1B1B1;
  }
  .about__plus { flex: none; width: 48px; height: 48px; display: block; }
  .about__grid { margin-top: 0; }
  /* gap здесь не ставить: в режиме слайдера Swiper разносит слайды через
     spaceBetween и о css-gap не знает — слайды съезжают, соседний уходит
     за обрезку, а последний не доезжает до края. Для сетки gap задан
     вместе с grid-template-columns в блоке @media (min-width: 881px). */
  .about__grid .swiper-wrapper { align-items: stretch; }

  @media (max-width: 1200px) {
    .about__lead { font-size: 32px; line-height: 42px; }
  }
  @media (max-width: 870px) {
    .about__subtitle { font-size: 18px; }
    .about__lead { font-size: 24px; line-height: 32px; }
    .about__actions { padding-bottom: 40px; margin-bottom: 40px; }
  }
  @media (max-width: 560px) {
    .about__plus { width: 40px; height: 40px; }
  }

  .feature {
    position: relative;
    height: auto;
    background: #fbfbfb;
    border-radius: var(--radius);
    padding: 24px;
  }
  .feature__icon {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    margin-bottom: 30px;
    transition: transform 0.5s var(--ease);
  }
  .feature:hover .feature__icon {
    transform: rotate(-4deg);
  }
  .feature__title {
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    color: var(--text-black);
    border-top: 1px solid var(--card-line);
    padding-top: 20px;
    margin-bottom: 12px;
  }
  .feature__text {
    font-size: 16px;
    line-height: 30px;
    color: var(--text-black);
  }
  
  /* =====================================================
     LOGISTICS
     ===================================================== */
  .logistics { padding: 100px 0; background: #fff; }
  .logistics__grid { margin-top: 0; }
  .logi-card {
    position: relative;
    display: flex;
    gap: 22px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--gray-bg);
    border: 1px solid transparent;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease;
  }
  .logi-card:hover { border-color: var(--accent); background: #fff; }

  .logi-card__num {
    flex: none;
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    transition: transform 0.3s ease;
  }
  .logi-card:hover .logi-card__num {
    transform: scale(1.06);
  }
  .logi-card__title {
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-black);
  }
  .logi-card__text {
    font-size: 16px;
    line-height: 26px;
    color: var(--text-black);
  }
  
  /* =====================================================
     NEWS
     ===================================================== */
  .news { padding: 100px 0; background: var(--gray-bg); }
  .news__grid { margin-top: 0; }
  .news__grid:not(.m-swiper) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  @media (max-width: 880px) {
    .news__grid:not(.m-swiper) { grid-template-columns: 1fr; }
  }
  .news-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
  }
  .news-card__media {
    overflow: hidden;
    aspect-ratio: 16 / 9;
  }
  .news-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
  }
  .news-card:hover { box-shadow: var(--shadow-sm); }
  .news-card:hover .news-card__media img { transform: scale(1.06); }

  .news-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    flex: 1;
  }
  .news-card__title {
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    color: var(--text-black);
  }
  .news-card__text {
    font-size: 16px;
    line-height: 26px;
    color: var(--text-black);
    flex: 1;
  }
  .news-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    color: var(--accent);
    margin-top: 6px;
    align-self: flex-start;
    transition: color 0.3s var(--ease);
  }
  .news-card__link svg { transition: transform 0.4s var(--ease); }
  /* only the View More link reacts — and only on its own hover */
  .news-card__link:hover { color: var(--blue-700); }
  .news-card__link:hover svg { transform: translateX(5px); }
  
  /* =====================================================
     REVIEWS
     ===================================================== */
  /* =====================================================
     INDUSTRIES SERVED — brightfieldmedical.com
     ===================================================== */
  .industries {
    background: url(../img/industries/ind.jpg) no-repeat center center / cover;
    padding: 56px 0 82px;
  }
  .industries_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .industries_subtitle {
    font-size: 18px;
    line-height: 24px;
    color: var(--accent);
    font-weight: 400;
    margin-bottom: 14px;
    text-align: center;
  }
  .industries_title {
    font-size: 48px;
    line-height: 56px;
    font-weight: 400;
    color: var(--text-black);
    margin: 0 0 14px;
    text-align: center;
    max-width: 735px;
  }
  .industries_text {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: var(--text-black);
    text-align: center;
    max-width: 620px;
    margin: 0;
  }
  .industries_box {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
  }
  .industries_box_item {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
  }
  .industries_box_item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 24px;
  }
  .industries_item_title {
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    color: var(--text-black);
    margin: 0 0 12px;
    padding-top: 12px;
    border-top: 1px solid #EBEBEB;
  }
  .industries_item_text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-black);
    margin: 0;
  }
  @media (max-width: 1200px) {
    .industries_box { gap: 25px; margin-top: 40px; }
  }
  @media (max-width: 870px) {
    .products-grid-title,
    .industries_title { font-size: 38px; line-height: 46px; }
    .industries_box { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 520px) {
    .industries_title { font-size: 32px; line-height: 40px; }
    .industries_box { grid-template-columns: 1fr; }
    .industries_box_item img { margin-bottom: 15px; }
  }
  @media (max-width: 450px) {
    .industries_title { font-size: 26px; line-height: 34px; }
  }

  /* =====================================================
     INDUSTRIES SERVED — brightfieldmedical.com
     ===================================================== */
  .industries {
    background: url(../img/industries/ind.jpg) no-repeat center center / cover;
    padding: 56px 0 82px;
  }
  .industries_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .industries_subtitle {
    font-size: 18px;
    line-height: 24px;
    color: var(--accent);
    font-weight: 400;
    margin-bottom: 14px;
    text-align: center;
  }
  .industries_title {
    font-size: 48px;
    line-height: 56px;
    font-weight: 400;
    color: var(--text-black);
    margin: 0 0 14px;
    text-align: center;
    max-width: 735px;
  }
  .industries_text {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: var(--text-black);
    text-align: center;
    max-width: 620px;
    margin: 0;
  }
  .industries_box {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
  }
  .industries_box_item {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
  }
  .industries_box_item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 24px;
  }
  .industries_item_title {
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    color: var(--text-black);
    margin: 0 0 12px;
    padding-top: 12px;
    border-top: 1px solid #EBEBEB;
  }
  .industries_item_text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-black);
    margin: 0;
  }
  @media (max-width: 1200px) {
    .industries_box { gap: 25px; margin-top: 40px; }
  }
  @media (max-width: 870px) {
    .industries_title { font-size: 38px; line-height: 46px; }
    .industries_box { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 520px) {
    .industries_title { font-size: 32px; line-height: 40px; }
    .industries_box { grid-template-columns: 1fr; }
    .industries_box_item img { margin-bottom: 15px; }
  }
  @media (max-width: 450px) {
    .industries_title { font-size: 26px; line-height: 34px; }
  }

  .reviews { padding: 100px 0; }
  .reviews__slider {
    margin-top: 52px;
    overflow: hidden;
    padding: 6px;
    margin-inline: -6px;
  }
  .reviews__slider .swiper-slide { height: auto; }
  .review-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--gray-bg);
    border: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
  }
  .review-card:hover {
    box-shadow: none;
    border-color: var(--accent);
    background: #fff;
  }
  
  .review-card__date { font-size: 0.82rem; color: var(--muted); }
  .review-card__product { display: flex; align-items: center; gap: 14px; }
  .review-card__thumb {
    flex: none;
    width: 54px; height: 54px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    overflow: hidden;
  }
  .review-card__thumb img { height: 44px; width: auto; object-fit: contain; }
  .review-card__product-name { font-size: 1rem; font-weight: 600; color: var(--ink); }
  .review-card__text { font-size: 0.92rem; color: var(--ink-soft); flex: 1; }
  
  .review-card__author { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
  .review-card__avatar {
    flex: none;
    width: 40px; height: 40px;
  }
  .review-card__avatar img { width: 100%; height: 100%; object-fit: cover;     border-radius: 50%;}
  .review-card__name { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
  .review-card__org { display: block; font-size: 0.78rem; color: var(--muted); }
  
  .reviews__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
  }
  .reviews__arrow {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
  }
  .reviews__arrow:hover { border-color: var(--blue-400); color: var(--blue-500); transform: translateY(-2px); }
  .reviews__page { font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); }
  .reviews__progress {
    width: 90px; height: 3px;
    border-radius: 3px;
    background: var(--line);
    position: relative;
    overflow: hidden;
  }
  .reviews__progress::before {
    content: "";
    position: absolute;
    inset: 0;
    width: var(--p, 16%);
    border-radius: 3px;
    background: var(--blue-500);
    transition: width 0.5s var(--ease);
  }
  
  /* =====================================================
     FOOTER
     ===================================================== */
  .footer {
    background: linear-gradient(0deg, #0B4996 0%, #0896F4 100%);
    color: #fff;
  }
  .footer__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 45px;
  }
  .footer__logo {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 40px;
  }
  .footer__address {
    font-size: 18px;
    line-height: 2;
    color: #fff;
  }
  .footer__address a { transition: opacity 0.3s; }
  .footer__address a:hover { opacity: 0.75; }

  .footer__heading {
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 18px;
  }
  .footer__list { display: flex; flex-direction: column; gap: 15px; }
  .footer__list a {
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    position: relative;
    width: fit-content;
    transition: color 0.3s;
  }
  .footer__list a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%; height: 1px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
  }
  .footer__list a:hover { color: #fff; }
  .footer__list a:hover::after { transform: scaleX(1); }
  
  .footer__cta-col { 
    display: flex; 
    flex-direction: column;
    gap: 20px;
    align-items: flex-start; 
  }
  
  .footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 22px 0;
  }
  .footer__bottom p {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
  }
  /* нижнее меню — строка ссылок под копирайтом, на узком экране переносится */
  .footer__bottom_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin-top: 12px;
  }
  .footer__bottom_list a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.3s var(--ease);
  }
  .footer__bottom_list a:hover { color: #fff; }
  
  /* =====================================================
     NAV MENU OVERLAY
     ===================================================== */
  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    background:
      radial-gradient(900px 600px at 82% -10%, rgba(36, 116, 223, 0.35), transparent 60%),
      linear-gradient(160deg, #082a57 0%, #061a36 100%);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
  }
  .nav-menu.is-open { opacity: 1; visibility: visible; }
  
  .nav-menu__inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-top: 26px;
    padding-bottom: 44px;
  }
  .nav-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
  }
  .nav-menu__label {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
  }
  .nav-menu__close {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease);
  }
  .nav-menu__close:hover { background: rgba(255, 255, 255, 0.1); transform: rotate(90deg); }
  
  .nav-menu__links {
    display: flex;
    flex-direction: column;
    margin: 34px 0 0;
    max-width: 720px;
    width: 100%;
  }
  .nav-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #fff;
    opacity: 0;
    transform: translateY(24px);
    transition:
      color 0.3s ease,
      padding-left 0.4s var(--ease),
      transform 0.6s var(--ease),
      opacity 0.6s var(--ease);
  }
  .nav-menu__link svg { flex: none; color: rgba(255, 255, 255, 0.45); transition: transform 0.4s var(--ease), color 0.3s; }
  .nav-menu__link:hover { color: var(--blue-400); padding-left: 16px; }
  .nav-menu__link:hover svg { transform: translateX(8px); color: var(--blue-400); }
  .nav-menu__link.is-active { color: var(--blue-400); }   /* текущая страница: только цвет, без сдвига */
  
  .nav-menu.is-open .nav-menu__link { opacity: 1; transform: none; }
  .nav-menu.is-open .nav-menu__link:nth-child(1) { transition-delay: 0s, 0s, 0.10s, 0.10s; }
  .nav-menu.is-open .nav-menu__link:nth-child(2) { transition-delay: 0s, 0s, 0.16s, 0.16s; }
  .nav-menu.is-open .nav-menu__link:nth-child(3) { transition-delay: 0s, 0s, 0.22s, 0.22s; }
  .nav-menu.is-open .nav-menu__link:nth-child(4) { transition-delay: 0s, 0s, 0.28s, 0.28s; }
  .nav-menu.is-open .nav-menu__link:nth-child(5) { transition-delay: 0s, 0s, 0.34s, 0.34s; }
  .nav-menu.is-open .nav-menu__link:nth-child(6) { transition-delay: 0s, 0s, 0.40s, 0.40s; }
  
  .nav-menu__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 56px;
    margin-top: 38px;
    padding-top: 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease) 0.4s, transform 0.6s var(--ease) 0.4s;
  }
  .nav-menu.is-open .nav-menu__foot { opacity: 1; transform: none; }
  .nav-menu__contact { display: flex; flex-direction: column; gap: 7px; }
  .nav-menu__contact-label {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--blue-400);
  }
  .nav-menu__contact a { font-size: 1.06rem; font-weight: 500; color: #fff; transition: color 0.3s; }
  .nav-menu__contact a:hover { color: var(--blue-400); }

  /* prevent scroll when menu open */
  body.is-locked { overflow: hidden; }
  
  /* =====================================================
     CATALOG PAGE
     ===================================================== */
  .catalog { padding: 48px 0 100px; }
  .catalog .line-tab {
    transition: all 0.4s var(--ease);
  }
  .catalog .line-tab:hover {
    transform: scale(1.04);
  }
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
  }
  .breadcrumb__dot { width: 8px; height: 8px; background: var(--blue-700); border-radius: 2px; }
  .breadcrumb__link { color: var(--ink); transition: color 0.3s; text-transform: uppercase;}
  .breadcrumb__link:hover { color: var(--blue-500); }
  .breadcrumb__sep { color: var(--muted); }
  .breadcrumb__current { color: var(--muted); text-transform: uppercase; }
  
  .catalog__title {
    margin-top: 26px;
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    font-weight: 500;
    letter-spacing: 0;
  }
  
  .catalog__intro {
    text-align: center;
    max-width: 720px;
    margin: 56px auto 0;
  }
  .catalog__heading {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.15;
  }
  .catalog__subtitle {
    margin-top: 16px;
    font-size: 1.02rem;
    color: var(--muted);
  }
  
  /* product-line tabs */
  .lines { margin: 48px 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .line-tab {
    display: grid;
    place-items: center;
    min-height: 110px;
    padding: 28px 24px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1.5px solid var(--line);
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
  }
  .line-tab img { height: 40px; width: auto; object-fit: contain; }
  .line-tab:hover { border-color: var(--blue-100); }
  .line-tab--active { border-color: var(--blue-500); }
  
  /* product grid */
  .catalog__grid:not(.m-swiper) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .prod-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color 0.4s var(--ease);
  }
  .prod-card:hover { border-color: var(--blue-100); }
  .prod-card__media {
    display: block;
    aspect-ratio: 1 / 1;
    padding: 22px;
    background: #fff;
    overflow: hidden;
  }
  .prod-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s var(--ease);
  }
  .prod-card:hover .prod-card__media img { transform: scale(1.04); }
  
  .prod-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 26px 28px;
    flex: 1;
  }
  .prod-card__cat {
    margin-top: 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blue-500);
  }
  .prod-card__title {
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--ink);
  }
  .prod-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease);
  }
  .prod-card__title a:hover { color: var(--blue-700); }
  .prod-card__text {
    font-size: 0.92rem;
    color: var(--muted);
    flex: 1;
  }
  .prod-card__btn {
    margin-top: 14px;
    width: 100%;
    justify-content: center;
  }
  
  /* =====================================================
     CATEGORY PAGE
     ===================================================== */
  /* category head: brand logo + category name */
  .category__head {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .category__logo { height: 44px; width: auto; max-width: 100%; display: block; }
  .category__name {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.1;
    color: var(--ink);
  }
  
  /* product grid: fixed 3-column layout, 6 cards per filter */
  .category__grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .cat-empty {
    grid-column: 1 / -1;
    padding: 60px 0;
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
  }
  /* category card button: outlined by default, fills blue only on hover */
  .category__grid .prod-card__btn { margin-top: 18px; }
  
  /* subcategory panel */
  .cat-panel {
    margin-top: 40px;
    padding: 22px;
    background: #f4f5f7;
    border-radius: 18px;
  }
  /* accordion toggle (subtitle becomes a clickable header) */
  .cat-panel__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 2px 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    color: var(--ink);
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
  }
  .cat-panel__subtitle {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: color 0.25s var(--ease);
  }
  .cat-panel__toggle:focus { outline: none; }
  .cat-panel__toggle:focus-visible { outline: none; border-radius: 8px; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25); }
  .cat-panel__toggle:hover .cat-panel__subtitle { color: var(--blue-700); }
  .cat-panel__chevron { flex: none; color: var(--blue-700); transition: transform 0.35s var(--ease); }
  .cat-panel:not(.is-collapsed) .cat-panel__chevron { transform: rotate(180deg); }
  
  /* collapsible body — animates auto height via grid rows */
  .cat-panel__collapse {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.4s var(--ease);
  }
  .cat-panel.is-collapsed .cat-panel__collapse { grid-template-rows: 0fr; }
  .cat-panel__collapse-inner { overflow: hidden; min-height: 0; }
  .cat-panel__collapse .cat-panel__pills { padding-top: 18px; }
  
  /* accordion is mobile-only: on desktop filters stay open, no toggle */
  @media (min-width: 881px) {
    .cat-panel__toggle { cursor: default; pointer-events: none; }
    .cat-panel__chevron { display: none; }
    .cat-panel.is-collapsed .cat-panel__collapse { grid-template-rows: 1fr; }
    .cat-panel__collapse { transition: none; }
  }
  
  .cat-panel__pills {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
  .cat-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 56px;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  }
  .cat-pill:hover { border-color: var(--blue-200, var(--blue-100)); color: var(--blue-500); }
  .cat-pill--active,
  .cat-pill:active {
    border-color: var(--blue-500);
    color: var(--blue-700);
  }
  /* static pagination under the products */
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 56px;
  }
  .pagination__btn {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0 6px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
  }
  .pagination__btn:hover { border-color: var(--blue-400); color: var(--blue-500); }
  .pagination__btn--active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
  .pagination__btn--active:hover { color: #fff; }
  .pagination__btn--nav svg { display: block; }
  .pagination__dots { padding: 0 4px; color: var(--muted); font-weight: 600; }
  
  /* category copy block */
  .cat-copy { margin-top: 80px; }
  .cat-copy__title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 26px;
  }
  .cat-copy p,
  .cat-copy__text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--muted);
    max-width: 1000px;
  }
  .cat-copy p { margin-bottom: 20px; }
  .cat-copy p:last-child { margin-bottom: 0; }
  /* .cat-copy__text + .cat-copy__text { margin-top: 22px; } */
  
  /* =====================================================
     PRODUCT PAGE
     ===================================================== */
  .product { padding: 40px 0 20px; }
  .product__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    margin-top: 30px;
    align-items: center;
  }
  
  /* gallery */
  .gallery { position: relative; min-width: 0; }
  .gallery__video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 7px 20px 7px 8px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    box-shadow: 0 6px 16px rgba(20, 60, 130, 0.08);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  }
  .gallery__video:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(20, 60, 130, 0.12); }
  .gallery__play {
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--blue-700);
    color: var(--blue-700);
    padding-left: 3px;
    transition: transform 0.3s var(--ease);
  }
  .gallery__video:hover .gallery__play { transform: scale(1.06); }
  .gallery__main {
    position: relative;
    display: flex;
    justify-content: center;
    aspect-ratio: 4 / 4;
    padding: 26px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
  }
  .gallery__main img { max-height: 100%; width: auto; object-fit: contain; }
  /* side arrows — mobile only (hidden on desktop) */
  .gallery__arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--blue-700);
    box-shadow: 0 6px 16px rgba(20, 60, 130, 0.14);
    z-index: 4;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
  }
  .gallery__arrow svg { display: block; }
  .gallery__arrow:active { background: var(--blue-700); color: #fff; }
  .gallery__arrow--prev { left: 12px; }
  .gallery__arrow--next { right: 12px; }
  /* thumbnails row: swiper + nav arrows (desktop) */
  .gallery__thumbs-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
  .gallery__thumbs { flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .gallery__thumbs .swiper-slide { height: auto; }
  .gallery__tnav {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--blue-700);
    cursor: pointer;
    transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
  }
  .gallery__tnav:hover { border-color: var(--blue-400); color: var(--blue-500); }
  .gallery__tnav svg { display: block; }
  .gallery__tnav.swiper-button-disabled { opacity: 0.35; cursor: default; pointer-events: none; }
  .gallery__thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color 0.3s var(--ease);
  }
  .gallery__thumb img { max-height: 100%; width: auto; object-fit: contain; }
  .gallery__thumb:hover { border-color: var(--blue-300); }
  .gallery__thumb.is-active { border-color: var(--blue-500); }
  
  /* info */
  .product__brand { height: 46px; width: auto; margin-bottom: 20px; }
  .product__title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.1;
    color: var(--ink);
  }
  .product__reviews-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-500);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
  }
  .product__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 22px 0;
    padding: 16px 0;
    border-top: 1px dashed var(--line);
    border-bottom: 1px dashed var(--line);
    font-size: 0.88rem;
    color: var(--muted);
  }
  .product__meta strong { color: var(--ink); font-weight: 600; }
  .product__meta-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-300); }
  .product__desc { font-size: 0.98rem; color: var(--muted); max-width: 52ch; }
  .product__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
  .product__actions .btn { border-radius: var(--radius-pill); padding: 8px 8px 8px 16px; }
  
  /* about */
  /* =====================================================
     PRODUCT DOWNLOADS — файлы товара
     Карточки в две колонки, при одном файле занимает одну и не растягивается.
     ===================================================== */
  .downloads { padding: 44px 0 0; }
  .downloads .section-title { margin-bottom: 24px; }
  .downloads__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .downloads__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  }
  .downloads__item:hover,
  .downloads__item:focus-visible {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
  }

  /* иконка-документ, поверх неё плашка с расширением */
  .downloads__icon {
    position: relative;
    flex: none;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--muted);
  }
  .downloads__icon svg { width: 100%; height: 100%; }
  .downloads__ext {
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    padding: 1px 5px;
    border-radius: 4px;
    /* фон задаётся вместе с цветом иконки ниже; currentColor тут не годится —
       он же красил бы и текст, надпись слилась бы с плашкой */
    background: var(--muted);
    color: #fff;
    font-size: 9px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 12px;
    white-space: nowrap;
  }
  .downloads__icon--pdf { color: #d7443e; }
  .downloads__icon--pdf .downloads__ext { background: #d7443e; }
  .downloads__icon--doc { color: #2b6cb0; }
  .downloads__icon--doc .downloads__ext { background: #2b6cb0; }
  .downloads__icon--xls { color: #1f8a5b; }
  .downloads__icon--xls .downloads__ext { background: #1f8a5b; }
  .downloads__icon--img { color: #8a5cd1; }
  .downloads__icon--img .downloads__ext { background: #8a5cd1; }
  .downloads__icon--archive { color: #b8860b; }
  .downloads__icon--archive .downloads__ext { background: #b8860b; }
  .downloads__icon--file { color: var(--muted); }

  .downloads__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0; /* иначе длинное название распирает карточку */
  }
  .downloads__title {
    font-size: 16px;
    line-height: 24px;
    color: var(--text-black);
    overflow-wrap: anywhere;
  }
  .downloads__meta {
    font-size: 0.82rem;
    color: var(--muted);
  }

  .downloads__action {
    flex: none;
    margin-left: auto;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--accent);
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  }
  .downloads__item:hover .downloads__action {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }

  @media (max-width: 767px) {
    .downloads { padding-top: 32px; }
    .downloads__list { grid-template-columns: 1fr; gap: 12px; }
    .downloads__item { padding: 14px 16px; gap: 12px; }
    .downloads__icon { width: 40px; height: 40px; }
  }

  /* =====================================================
     PRODUCT VIDEO — плеер и лента превью
     ===================================================== */
  .product-video { padding: 44px 0 0; }
  .product-video .section-title { margin-bottom: 24px; }
  /* aspect-ratio вместо padding-hack: высоту не считаем вручную */
  .product-video__player {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
  }
  .product-video__player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }

  .product-video__thumbs { margin-top: 16px; overflow: hidden; }
  /* ширину слайда задаём здесь — у swiper slidesPerView: auto */
  .product-video__thumb {
    position: relative;
    width: 200px;
    aspect-ratio: 16 / 9;
    flex: none;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--gray-bg);
    cursor: pointer;
    transition: border-color 0.3s var(--ease), opacity 0.3s var(--ease);
    opacity: 0.75;
  }
  .product-video__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .product-video__thumb:hover { opacity: 1; }
  .product-video__thumb.is-active {
    border-color: var(--accent);
    opacity: 1;
  }
  /* кружок play поверх превью */
  .product-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding-left: 3px; /* оптическая компенсация треугольника */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent);
    box-shadow: var(--shadow-sm);
  }
  .product-video__thumb.is-active .product-video__play {
    background: var(--accent);
    color: #fff;
  }

  @media (max-width: 670px) {
    .product-video { padding-top: 32px; }
    .product-video__player { border-radius: var(--radius-sm); }
    .product-video__thumb { width: 150px; }
    .product-video__play { width: 34px; height: 34px; }
  }

  /* =====================================================
     PRODUCT SPECIALITY — список направлений товара
     Ссылки-пилюли: прозрачная заливка, бордер, скругление.
     ===================================================== */
  .product-specialty { padding: 44px 0 0; }
  .product-specialty .section-title { margin-bottom: 24px; }
  .product-specialty__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .product-specialty__item {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: transparent;
    font-size: 16px;
    line-height: 24px;
    color: var(--ink-soft);
    transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
  }
  .product-specialty__item:hover,
  .product-specialty__item:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--blue-50);
  }
  @media (max-width: 670px) {
    .product-specialty { padding-top: 32px; }
    .product-specialty__list { gap: 10px; }
    .product-specialty__item { padding: 8px 18px; font-size: 15px; }
  }

  .product-about { padding: 44px 0 44px; }
  .product-about .section-title { margin-top: 30px; margin-bottom: 28px; }
  .product-about__text { display: flex; flex-direction: column; gap: 18px; max-width: 980px; }
  .product-about__text p { font-size: 0.98rem; color: var(--muted); line-height: 1.7; }
  .product-about__text ul {
    margin: 0;
    padding-left: 1.25em;
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: disc;
  }
  .product-about__text ul li {
    font-size: 0.98rem;
    color: var(--muted);
    line-height: 1.7;
  }
  .product-about__text ul li::marker { color: var(--blue-500); }

  /* product page section spacing overrides */
  .single-product .reviews { padding: 30px 0 50px; }
  .single-product .offer { padding-top: 80px; }
  .single-product .faq { padding-bottom: 0; }
  
  /* specs table */
  .specs { padding: 56px 0; }
  .specs .section-title { margin-bottom: 32px; }
  .specs__table {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .specs__row {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
  }
  .specs__row:nth-child(odd) { background: var(--blue-50); }
  .specs__row--head { background: var(--blue-100) !important; }
  .specs__cell {
    padding: 15px 24px;
    font-size: 0.92rem;
    color: var(--ink-soft);
  }
  .specs__row--head .specs__cell { font-weight: 600; color: var(--ink); }
  .specs__cell:first-child { border-right: 1px solid rgba(255,255,255,0.6); }
  .specs__table.is-collapsed .specs__row--extra { display: none; }
  .specs__more {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--blue-500);
    cursor: pointer;
  }
  .specs__more:hover { color: var(--blue-700, #0b3d91); }
  
  /* =====================================================
     CONTACT / Get a Quote — brightfieldmedical.com
     ===================================================== */
  .contact {
    padding: 80px 0 150px;
    background: url(../img/contact-bg.png) no-repeat bottom center / cover;
  }
  .contact_wrapper {
    display: grid;
    grid-template-columns: 1fr 595px;
    gap: 40px;
  }
  .contact_left {
    display: flex;
    flex-direction: column;
  }
  .contact_subtitle {
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 14px;
  }
  .contact_title {
    font-size: 48px;
    line-height: 56px;
    font-weight: 400;
    color: var(--text-black);
    margin-bottom: 24px;
    max-width: 500px;
  }
  .contact_text {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    max-width: 500px;
    color: var(--text-black);
  }
  .contact_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.47);
    padding: 23px 65px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6px);
  }
  /* сетка конструктора: поле занимает строку целиком или половину */
  .contact_form_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .contact_form_item--full { grid-column: 1 / -1; }
  .contact_form_item--half { grid-column: span 1; }
  @media (max-width: 560px) {
    /* на узком экране половинки не читаются — всё в одну колонку */
    .contact_form_grid { grid-template-columns: 1fr; }
    .contact_form_item--half { grid-column: 1 / -1; }
  }
  .contact_form_title {
    font-size: 32px;
    line-height: 56px;
    font-weight: 400;
    color: var(--text-black);
  }
  .contact_form_item {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .contact_form_item label {
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-black);
  }
  .contact_form_item input,
  .contact_form_item textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.47);
    border: 1px solid rgba(217, 217, 217, 0.65);
    border-radius: 15px;
    padding: 10px 20px;
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-black);
    resize: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background 0.3s ease;
  }
  .contact_form_item textarea { height: 150px; }
  .contact_form_item input::placeholder,
  .contact_form_item textarea::placeholder {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #D9D9D9;
  }
  .contact_form_item input:focus,
  .contact_form_item textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.85);
  }
  .contact_form_button {
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 50px;
    padding: 10px 50px;
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #fff;
    max-width: 250px;
    align-self: center;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
  }
  .contact_form_button:hover {
    background: #fff;
    color: var(--accent);
  }
  .contact_form_button:disabled { opacity: 0.7; cursor: wait; }
  .contact_form .contact_form_error,
  .contact_form .contact_form_success,
  .contact_form .contact_form_loading {
    display: none;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
  }
  .contact_form .contact_form_error { color: #d33; }
  .contact_form .contact_form_success { color: #1a9d4f; }
  .contact_form .contact_form_loading { color: var(--muted); }

  @media (max-width: 1200px) {
    .contact { padding-bottom: 100px; }
    .contact_wrapper { grid-template-columns: 1fr 500px; }
    .contact_form { padding: 23px 40px; }
    .contact_title { font-size: 42px; line-height: 50px; }
  }
  @media (max-width: 1050px) {
    .contact_wrapper { grid-template-columns: 1fr 450px; }
  }
  @media (max-width: 970px) {
    .contact_wrapper {
      display: flex;
      flex-direction: column;
      max-width: 695px;
      margin: 0 auto;
      align-items: center;
    }
    .contact_right { width: 100%; }
    .contact_left { align-items: center; }
    .contact_subtitle,
    .contact_title,
    .contact_text { text-align: center; }
  }
  @media (max-width: 870px) {
    .contact_title { font-size: 38px; line-height: 46px; }
  }
  @media (max-width: 670px) {
    .contact { padding: 60px 0 80px; }
    .contact_title { font-size: 32px; line-height: 40px; }
    .contact_form { padding: 22px 22px; border-radius: 32px; }
    .contact_form_title { font-size: 26px; line-height: 34px; text-align: center; }
    .contact_form_item label { font-size: 16px; line-height: 24px; }
    .contact_form_item input,
    .contact_form_item textarea { font-size: 14px; line-height: 22px; }
    .contact_form_button { max-width: none; width: 100%; }
  }
  @media (max-width: 450px) {
    .contact_title { font-size: 26px; line-height: 34px; }
    .contact_text { font-size: 16px; line-height: 24px; }
    .contact_form_title { font-size: 22px; line-height: 30px; }
  }

  /* offer */
  .offer { padding: 40px 0 80px; }
  .offer__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
    padding: 56px;
    border-radius: var(--radius-lg);
    background: linear-gradient(0deg, #0B4996 0%, #0896F4 100%);
    color: #fff;
  }
  .offer__intro, .offer__form { min-width: 0; }
  .offer__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: 0; }
  .offer__text { margin-top: 16px; font-size: 0.96rem; color: rgba(255,255,255,0.92); line-height: 1.65; }
  
  /* white form card */
  .offer__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    background: #fff;
    border-radius: 18px;
  }
  .offer__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .offer__input {
    width: 100%;
    padding: 10px 20px;
    border-radius: 15px;
    border: 1px solid #d9d9d9;
    background: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--ink);
    transition: border-color 0.25s var(--ease);
  }
  .offer__input::placeholder { color: var(--muted); }
  .offer__input:focus { outline: none; border-color: var(--accent); }
  .offer__textarea { min-height: 96px; resize: vertical; }
  .offer__submit {
    justify-content: center;
    margin-top: 4px;
    border-radius: 10px;
    background: var(--blue-700);
  }
  .offer__submit::before { background: var(--blue-900); }
  
  /* benefits */
  .benefits { padding: 40px 0 70px; }
  .benefits .section-title { margin-bottom: 36px; }
  .benefits__slider { overflow: hidden; padding: 6px; margin-inline: -6px; }
  .benefits__slider .swiper-slide { height: auto; }
  .benefit {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
  }
  .benefit__media { aspect-ratio: 16 / 10; overflow: hidden; background: #f2f5fa; }
  .benefit__media img { width: 100%; height: 100%; object-fit: cover; }
  .benefit__title { font-size: 1.08rem; font-weight: 600; color: var(--ink); padding: 20px 22px 0; }
  .benefit__text { font-size: 0.9rem; color: var(--muted); padding: 8px 22px 24px; }
  .benefits__nav { display: flex; justify-content: center; gap: 14px; margin-top: 32px; }
  .benefits__arrow {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
  }
  .benefits__arrow:hover { border-color: var(--blue-400); color: var(--blue-500); transform: translateY(-2px); }
  
  /* faq */
  .faq { padding: 40px 0 100px; }
  .page-template-logistics .global,
  .page-template-logistics .faq { padding-bottom: 50px;  }
  .faq .section-title { margin-bottom: 36px; }
  .faq__list { display: flex; flex-direction: column; gap: 14px; }
  .faq__item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
    transition: border-color 0.3s var(--ease);
  }
  .faq__item.is-open { border-color: var(--blue-100); }
  .faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
  }
  .faq__icon {
    position: relative;
    flex: none;
    width: 22px; height: 22px;
  }
  .faq__icon::before, .faq__icon::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 12px; height: 2px;
    background: var(--blue-500);
    transform: translate(-50%, -50%);
    transition: transform 0.4s var(--ease), opacity 0.3s;
    border-radius: 2px;
  }
  .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
  .faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
  .faq__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--ease);
  }
  .faq__item.is-open .faq__a { grid-template-rows: 1fr; }
  .faq__a > p {
    overflow: hidden;
    margin: 0;
    padding: 0 26px;
    font-size: 0.93rem;
    color: var(--muted);
    line-height: 1.65;
  }
  .faq__item.is-open .faq__a > p { padding-bottom: 24px; }
  
  /* =====================================================
     VIDEO REVIEW MODAL
     ===================================================== */
  .vmodal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  }
  .vmodal.is-open { opacity: 1; visibility: visible; }
  .vmodal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 22, 46, 0.66);
    backdrop-filter: blur(3px);
  }
  .vmodal__dialog {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 18px;
    padding: 26px 28px 28px;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.4s var(--ease);
  }
  .vmodal.is-open .vmodal__dialog { transform: none; }
  
  .vmodal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
  }
  .vmodal__title { font-size: 1.1rem; font-weight: 500; color: var(--ink); }
  .vmodal__title strong { font-weight: 700; }
  .vmodal__close {
    flex: none;
    display: grid; place-items: center;
    width: 34px; height: 34px;
    border-radius: 9px;
    color: var(--ink-soft);
    transition: background 0.25s, color 0.25s;
  }
  .vmodal__close:hover { background: var(--bg-soft); color: var(--ink); }
  
  .vmodal__player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #0b1730;
  }
  .vmodal__player img { width: 100%; height: 100%; object-fit: cover; }
  .vmodal__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: grid; place-items: center;
    width: 62px; height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--blue-700);
    padding-left: 4px;
    transition: transform 0.3s var(--ease), background 0.3s;
  }
  .vmodal__player:hover .vmodal__play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
  .vmodal__caption { margin: 16px 0 18px; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
  
  .vmodal__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .vthumb { text-align: left; }
  .vthumb__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    background: #0b1730;
  }
  .vthumb__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
  .vthumb:hover .vthumb__media img { transform: scale(1.06); }
  .vthumb__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: grid; place-items: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--blue-700);
    padding-left: 2px;
  }
  .vthumb__cap { display: block; margin-top: 8px; font-size: 0.74rem; color: var(--muted); }
  
  .vmodal__foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
  }
  .vmodal__dots { display: flex; gap: 7px; }
  .vmodal__dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
  .vmodal__dots span.is-active { background: var(--blue-500); width: 18px; border-radius: 4px; }
  .vmodal__channel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
    transition: color 0.25s;
  }
  .vmodal__channel:hover { color: var(--blue-600); }
  .vmodal__yt { display: inline-flex; }
  
  /* =====================================================
     ABOUT PAGE
     ===================================================== */
  .eyebrow {
    display: inline-block;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--accent);
    margin-bottom: 14px;
  }
  
  /* about hero — full-bleed slides */
  .ab-hero {
    position: relative;
    min-height: clamp(560px, 78vh, 760px);
    overflow: hidden;
    background: var(--gray-bg);
  }
  .ab-hero__slider {
    position: absolute;
    inset: 0;
  }
  .ab-hero__slider .swiper-wrapper,
  .ab-hero__slider .swiper-slide { height: 100%; }
  .ab-hero__slide {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(560px, 78vh, 760px);
    overflow: hidden;
  }
  .ab-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .ab-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .ab-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.78) 38%,
      rgba(255, 255, 255, 0.35) 68%,
      rgba(255, 255, 255, 0.12) 100%
    );
  }
  .ab-hero__panel {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 140px;
    padding-bottom: 90px;
  }
  /* Крошки вынесены из слайдов и прижаты под шапку: внутри слайда они
     показывались только на первом и пропадали при листании. */
  .ab-hero__topbar {
    position: absolute;
    top: 118px;
    left: 0;
    right: 0;
    z-index: 3;
  }
  .ab-hero__breadcrumb { margin-bottom: 0; }
  .ab-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 640px;
  }
  .ab-hero__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.15;
    color: var(--text-black);
    margin-top: 10px;
  }
  .ab-hero__text {
    margin-top: 18px;
    font-size: 1.02rem;
    color: var(--ink-soft);
    line-height: 1.7;
    max-width: 52ch;
  }
  .ab-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
  }
  .ab-hero__nav {
    position: absolute;
    right: max(var(--gutter), calc((100% - var(--container)) / 2));
    bottom: 36px;
    z-index: 3;
    display: flex;
    gap: 10px;
  }

  /* =====================================================
     ABOUT — Approach / Expertise / Key Benefits
     ===================================================== */
  .about_box_item {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
  }
  .about_box_item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 30px;
  }
  .about_box_item h3 {
    border-bottom: 1px solid #EBEBEB;
    padding-bottom: 12px;
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    color: var(--text-black);
  }
  .about_box_item p {
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
    color: var(--text-black);
  }

  .approach { padding-top: 100px; }
  .approach_wrapper { display: flex; flex-direction: column; }
  .approach_top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 48px;
  }
  .approach_top_left {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .approach_top_right { max-width: 525px; }
  .approach_top_box { display: flex; flex-direction: column; gap: 24px; }
  .approach_top_item {
    padding-bottom: 24px;
    border-bottom: 1px solid #EBEBEB;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .approach_top_item:last-child { padding-bottom: 0; border-bottom: none; }
  .approach_top_item_title {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: var(--text-black);
  }
  .approach_top_item_text { font-size: 16px; line-height: 24px; color: var(--text-black); }
  .approach_top_left_subtitle {
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: var(--accent);
  }
  .approach_top_left_title {
    font-size: 48px;
    line-height: 56px;
    font-weight: 400;
    color: var(--text-black);
  }
  .approach_top_left_text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-black);
  }
  .approach_bottom {
    position: relative;
    height: 557px;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 32px 68px;
    background: no-repeat center center / cover;
  }
  .approach_bottom_box:not(.m-swiper) {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    width: 100%;
  }
  .approach_bottom_box { width: 100%; }
  .approach_bottom_box .about_box_item img { margin-bottom: 20px; }

  .about_expertise { padding: 100px 0; }
  .about_expertise_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about_expertise_subtitle {
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 14px;
    text-align: center;
  }
  .about_expertise_title {
    font-size: 48px;
    line-height: 56px;
    font-weight: 400;
    color: var(--text-black);
    margin-bottom: 24px;
    max-width: 825px;
    text-align: center;
  }
  .about_expertise_text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-black);
    max-width: 625px;
    text-align: center;
    margin-bottom: 54px;
  }
  .about_expertise_box:not(.m-swiper) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
  }
  .about_expertise_box { width: 100%; }
  .about_expertise_item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 24px;
    border: 1px solid #afafaf;
    /* border-left-color: var(--accent); */
    /* border-left: 4px solid var(--accent); */
    padding: 24px;
    transition: all 0.3s ease;
  }
  .about_expertise_item:hover{
    border-color: var(--accent);
  }
  .about_expertise_item h3 {
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    color: var(--text-black);
    padding-bottom: 12px;
    border-bottom: 1px solid #EBEBEB;
  }
  .about_expertise_item p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-black);
  }

  .key-benefits {
    background-color: #F8F8F8;
    padding: 100px 0;
  }
  .key-benefits_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .key-benefits_subtitle {
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 14px;
    text-align: center;
  }
  .key-benefits_title {
    font-size: 48px;
    line-height: 56px;
    font-weight: 400;
    color: var(--text-black);
    margin-bottom: 24px;
    max-width: 825px;
    text-align: center;
  }
  .key-benefits_text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-black);
    max-width: 625px;
    text-align: center;
    margin-bottom: 54px;
  }
  .key-benefits_box:not(.m-swiper) {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    width: 100%;
  }
  .key-benefits_box { width: 100%; }
  .key-benefits_item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 24px;
    border: 1px solid #EBEBEB;
    padding: 24px;
    transition: all 0.3s ease;
  }
  .key-benefits_item:hover,
  .key-benefits_item.active {
    background-color: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }
  .key-benefits_item span {
    font-size: 36px;
    line-height: 36px;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 12px;
    transition: color 0.3s ease;
  }
  .key-benefits_item:hover span,
  .key-benefits_item.active span { color: #fff; }
  .key-benefits_item h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: var(--text-black);
    margin-bottom: 12px;
  }
  .key-benefits_item:hover h3,
  .key-benefits_item.active h3 { color: #fff; }
  .key-benefits_item p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-black);
  }
  .key-benefits_item:hover p,
  .key-benefits_item.active p { color: #fff; }
  .key-benefits_item_1 { grid-column: 1 / 3; }
  .key-benefits_item_2 { grid-column: 3 / 5; }
  .key-benefits_item_3 { grid-column: 5 / 7; }
  .key-benefits_item_4 { grid-column: 1 / 4; padding-bottom: 70px; }
  .key-benefits_item_5 { grid-column: 4 / 7; padding-bottom: 70px; }

  @media (max-width: 1200px) {
    .approach_top_left_title,
    .about_expertise_title,
    .key-benefits_title { font-size: 40px; line-height: 48px; }
    .approach_top_left { gap: 0; }
    .approach_top_item_title { font-size: 20px; line-height: 28px; }
    .approach_top_item { padding-bottom: 15px; }
    .approach_top_box { gap: 15px; }
    .approach_bottom { padding: 32px; }
  }
  @media (max-width: 1070px) {
    .key-benefits_item_1 { grid-column: 1 / 4; }
    .key-benefits_item_2 { grid-column: 4 / 7; }
    .key-benefits_item_3 { grid-column: 1 / 4; }
    .key-benefits_item_4 { grid-column: 4 / 7; }
    .key-benefits_item_5 { grid-column: 1 / 7; }
  }
  @media (max-width: 1000px) {
    .approach_top { flex-direction: column; gap: 50px; }
    .approach_top_left,
    .approach_top_right { max-width: 100%; }
    .approach_bottom { height: auto; }
    .approach_bottom_box { grid-template-columns: 1fr 1fr; }
    .approach_top_item_title,
    .approach_top_item_text,
    .approach_top_left_subtitle,
    .approach_top_left_text,
    .approach_top_left_title { text-align: center; }
  }
  @media (max-width: 870px) {
    .approach_top_left_title,
    .about_expertise_title,
    .key-benefits_title { font-size: 38px; line-height: 46px; }
    .about_expertise_box { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 730px) {
    .approach_top_left_title,
    .about_expertise_title,
    .key-benefits_title { font-size: 32px; line-height: 40px; }
  }
  @media (max-width: 670px) {
    .approach_bottom_box,
    .key-benefits_box { grid-template-columns: 1fr; }
    .approach_bottom_box .about_box_item img { margin-bottom: 10px; }
    .about_expertise_text { margin-bottom: 30px; }
    .key-benefits_item_1,
    .key-benefits_item_2,
    .key-benefits_item_3,
    .key-benefits_item_4,
    .key-benefits_item_5 { grid-column: unset; padding-bottom: 24px; }
    .key-benefits_item h3 { font-size: 20px; line-height: 28px; }
    .key-benefits_item span { font-size: 32px; }
  }
  @media (max-width: 515px) {
    .about_expertise_box { grid-template-columns: 1fr; }
    .about_expertise_item { min-height: 175px; }
  }
  @media (max-width: 450px) {
    .approach_top_left_title,
    .about_expertise_title,
    .key-benefits_title { font-size: 26px; line-height: 34px; }
    .about_box_item h3,
    .approach_top_item_title { font-size: 18px; line-height: 26px; }
    .approach_bottom { padding: 24px; }
  }
  
  /* specialties */
  .specialties { padding: 50px 0 60px; }
  .specialties .section-title { margin-bottom: 36px; }
  .specialties__slider { overflow: hidden; padding: 6px; margin-inline: -6px; }
  .specialties__slider .swiper-slide { height: auto; }
  .spec-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
  }
  .spec-card__media { aspect-ratio: 4 / 3; overflow: hidden; display: block; }
  .spec-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
  .spec-card:hover .spec-card__media img { transform: scale(1.05); }
  .spec-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
  .spec-card__title { font-size: 1.12rem; font-weight: 600; color: var(--ink); }
  .spec-card__title a { color: inherit; text-decoration: none; }
  .spec-card__title a:hover { color: var(--blue-500); }
  .spec-card__text { font-size: 0.88rem; color: var(--muted); flex: 1; }
  .spec-card__link { font-size: 0.85rem; font-weight: 600; color: var(--blue-500); }
  .ab-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
  
  /* tech */
  .tech { position: relative; padding: 90px 0; color: #fff; overflow: hidden; }
  .tech__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
  .tech__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,38,84,0.72), rgba(10,38,84,0.66)); }
  .tech__inner { position: relative; z-index: 1; }
  .tech__head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
  .tech__title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: 0; }
  .tech__subtitle { margin-top: 14px; font-size: 0.98rem; color: rgba(255,255,255,0.85); }
  .tech__grid { margin: 0 auto; max-width: 1180px; }
  .tech-card {
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius);
    padding: 26px 24px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }
  .tech-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(6, 24, 56, 0.28); }
  .tech-card:hover .tech-card__icon { transform: translateY(-2px) rotate(-4deg); }
  .tech-card__icon {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--blue-700);
    color: #fff;
    margin-bottom: 16px;
    transition: transform 0.4s var(--ease);
  }
  .tech-card__icon i { font-size: 20px; line-height: 1; display: block; }
  .tech-card__title { font-size: 1.02rem; font-weight: 600; margin-bottom: 14px; }
  .tech-card__list { display: flex; flex-direction: column; gap: 8px; }
  .tech-card__list li { position: relative; padding-left: 16px; font-size: 0.85rem; color: var(--muted); }
  .tech-card__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-400); }
  .tech__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
  /* (btn--ghost-light defined in Buttons block above) */
  
  /* gallery */
  .gallery-sec { padding: 70px 0; }
  .gallery-sec .section-title { margin-bottom: 36px; }
  .gallery-sec__slider { overflow: hidden; padding: 6px; margin-inline: -6px; }
  .gallery-sec__slider .swiper-slide { height: auto; }
  .gal { display: flex; flex-direction: column; gap: 12px; }
  .gal__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }
  .gal__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); pointer-events: none; }
  .gal:hover .gal__media img { transform: scale(1.05); }
  .gal__cap { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
  
  /* news2 */
  .news2 { padding: 70px 0 40px; }
  .news2__nav { display: flex; gap: 10px; }
  .news2__arrow {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    transition: border-color 0.3s, color 0.3s, background 0.3s;
  }
  .news2__arrow:hover { border-color: var(--blue-400); color: var(--blue-500); }
  .news2__arrow--next { background: var(--blue-500); color: #fff; border-color: var(--blue-500); }
  .news2__arrow--next:hover { background: var(--blue-600); color: #fff; }
  .news2__slider { overflow: hidden; padding: 6px; margin-inline: -6px; }
  .news2__slider .swiper-slide { height: auto; }
  .news2 .news-card { height: 100%; }
  .news-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 8px; }
  .news-card__foot .news-card__link { margin-top: 0; align-self: center; }
  .countdown { display: flex; align-items: center; gap: 9px; }
  .cd-unit { display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .cd-unit { display: flex; flex-direction: column; align-items: center; }
  .cd-unit b { font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1; }
  .cd-unit i { font-size: 0.62rem; font-style: normal; color: var(--muted); margin-top: 4px; letter-spacing: 0.02em; }
  .cd-sep { font-size: 1.05rem; font-weight: 700; color: var(--blue-300); align-self: flex-start; margin-top: 1px; }
  
  /* clients */
  .clients { padding: 50px 0; }
  .clients .section-title { margin-bottom: 32px; }
  .clients__bar { display: flex; align-items: center; gap: 18px; }
  .clients__arrow {
    flex: none;
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    transition: border-color 0.3s, color 0.3s, background 0.3s;
  }
  .clients__arrow:hover { border-color: var(--blue-400); color: var(--blue-500); }
  .clients__slider {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 30px 0;
  }
  .client-logo { display: grid; place-items: center; height: 52px; }
  .client-logo img {
    max-height: 46px;
    max-width: 80%;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .client-logo:hover img { opacity: 1; transform: scale(1.04); }
  
  /* why choose */
  .why { padding: 70px 0; }
  .why__inner { display: grid; grid-template-columns: 1.2fr 1fr 0.82fr; gap: 36px; align-items: stretch; }
  .why__lead { margin: 18px 0 28px; font-size: 0.96rem; color: var(--muted); line-height: 1.7; max-width: 46ch; }
  .why__list { display: flex; flex-direction: column; gap: 22px; }
  .why__item { display: flex; gap: 16px; }
  .why__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-700); }
  .why__title { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
  .why__text { font-size: 0.88rem; color: var(--muted); }
  .why__image { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
  .why__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .why__stats:not(.m-swiper) { display: flex; flex-direction: column; gap: 20px; }
  /* Грид-ячейка: без явной ширины она сайзится по контенту, Swiper меряет её больше,
     раздувает слайды — и так по кругу до предела браузера. width: 100% прибивает к треку. */
  .why__stats { width: 100%; min-width: 0; }
  .why-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 26px 30px;
    border-radius: 18px;
    background: var(--blue-100);
    transition: transform 0.4s var(--ease), background 0.4s var(--ease);
  }
  .why-stat:hover { transform: translateY(-4px); background: #d6e6fb; }
  .why-stat:hover .why-stat__num { color: var(--blue-700); }
  .why-stat__num { transition: color 0.4s var(--ease); }
  .why-stat__num { font-size: 2.2rem; font-weight: 800; color: var(--ink); line-height: 1; }
  .why-stat__label { font-size: 0.86rem; color: var(--ink-soft); }
  
  /* certs */
  .certs { padding: 50px 0 90px; }
  .certs__head {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
  }
  .certs__lead { margin: 0; font-size: 0.96rem; color: var(--muted); }
  .certs__grid:not(.m-swiper) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .cert { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
  .cert__badge {
    display: grid; place-items: center;
    width: 86px; height: 86px;
    border-radius: 50%;
    border: 3px solid var(--blue-700);
    color: var(--blue-700);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }
  .cert__img {
    width: 92px;
    height: 92px;
    object-fit: contain;
  }
  .cert__title { font-size: 1rem; font-weight: 600; color: var(--ink); }
  
  /* swiper bullets (about sliders) */
  .ab-dots .swiper-pagination-bullet {
    width: 8px; height: 8px;
    background: var(--line);
    opacity: 1;
    transition: width 0.3s var(--ease), background 0.3s var(--ease);
  }
  .ab-dots .swiper-pagination-bullet-active { width: 22px; border-radius: 4px; background: var(--blue-500); }
  
  /* =====================================================
     CONTACTS PAGE
     ===================================================== */
  .eyebrow--center { display: block; text-align: center; }
  
  .contacts-hero {
    padding: 140px 0 60px;
    background:
      linear-gradient(
        180deg,
        #d6eeff 0%,
        #e4f3ff 32%,
        #f0f8ff 58%,
        #fafcff 82%,
        #ffffff 100%
      );
  }
  .contacts-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: center;
    margin-top: 26px;
  }
  .contacts-hero__title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 500; letter-spacing: 0; line-height: 1.1; max-width: 14ch; }
  .contacts-hero__text { margin-top: 20px; font-size: 0.98rem; color: var(--muted); line-height: 1.7; max-width: 46ch; }
  .contact-info { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
  .contact-info li { display: flex; align-items: center; gap: 14px; font-size: 0.95rem; color: var(--ink-soft); }
  .contact-info__icon {
    flex: none;
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 11px;
    background: var(--blue-50);
    color: var(--blue-700);
  }
  .contact-info__icon i { font-size: 17px; display: block; }
  .contacts-hero__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
  .contacts-hero__map iframe { width: 100%; height: 360px; border: 0; display: block; }
  
  /* global presence */
  .global {
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
    background: var(--bg);
  }
  .global__head { position: relative; z-index: 2; text-align: center; max-width: 835px; margin: 0 auto 50px; }
  .global__cards { position: relative; padding: 0 0 18px; }
  .global__map {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 108%;
    height: 100%;
    z-index: 0;
    opacity: 0.95;
    pointer-events: none;
  }
  .global__map svg { display: none; }
  .global__grid { position: relative; z-index: 1; }
  .global__title {
    font-size: 48px;
    line-height: 56px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text-black);
    max-width: 835px;
    margin: 0 auto 14px;
  }
  .global__subtitle {
    margin: 0 auto;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: var(--text-black);
    max-width: 620px;
  }
  .global__grid:not(.m-swiper) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .office {
    display: flex;
    flex-direction: column;
    min-height: 325px;
    background: #fff;
    border: none;
    border-radius: 24px;
    padding: 24px;
    /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); */
    border: 1px solid var(--line);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .office:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); background: #fff; }
  .office__head { display: flex; align-items: center; gap: 15px; margin-bottom: 27px; }
  .office__flag { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: none; }
  .office__flag img,
  .office__flag svg { width: 100%; height: 100%; display: block; object-fit: cover; }
  .office__name { font-size: 18px; font-weight: 500; color: var(--text-black); line-height: 1.3; }
  .office__list { display: flex; flex-direction: column; gap: 20px; }
  .office__list li,
  .office__list li a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-black);
  }

  @media (max-width: 1200px) {
    .global__title { font-size: 42px; line-height: 52px; }
    .global__grid:not(.m-swiper) { gap: 25px; }
  }
  @media (max-width: 870px) {
    .global__title { font-size: 38px; line-height: 46px; }
    .global__subtitle { font-size: 16px; line-height: 25px; }
  }
  @media (max-width: 730px) {
    .global { padding-bottom: 50px; }
    .global__title { font-size: 32px; line-height: 40px; }
    .office { min-height: 280px; }
  }
  @media (max-width: 450px) {
    .global__title { font-size: 26px; line-height: 34px; }
  }
  .office__list i {
    flex: none;
    display: grid; place-items: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    margin-top: 1px;
  }
  .office__list em { font-style: normal; color: var(--muted); }
  
  /* consultation */
  .consult { padding: 30px 0 90px; }
  .consult__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
  .consult__title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: 0; }
  .consult__text { margin: 18px 0 28px; font-size: 0.96rem; color: var(--muted); line-height: 1.7; }
  .consult__features { display: flex; flex-direction: column; gap: 18px; }
  .consult__features li { display: flex; align-items: center; gap: 14px; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }
  .consult__icon {
    flex: none;
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border-radius: 11px;
    background: var(--blue-50);
    color: var(--blue-700);
  }
  .consult__icon i { font-size: 16px; display: block; }
  
  .consult__form {
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-lg);
    padding: 34px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .consult__form-title { font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
  .consult__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .consult__input {
    width: 100%;
    padding: 10px 20px;
    border-radius: 15px;
    border: 1px solid #d9d9d9;
    background: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--ink);
    transition: border-color 0.25s var(--ease);
  }
  .consult__input::placeholder { color: var(--muted); }
  .consult__input:focus { outline: none; border-color: var(--accent); }
  .consult__select-wrap { position: relative; }
  .consult__select { appearance: none; -webkit-appearance: none; cursor: pointer; color: var(--muted); }
  .consult__chevron { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
  .consult__textarea { min-height: 120px; resize: vertical; }
  .consult__bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
  .consult__check { display: flex; align-items: center; gap: 9px; font-size: 0.84rem; color: var(--muted); cursor: pointer; }
  .consult__check input { width: 16px; height: 16px; accent-color: var(--blue-700); }
  .consult__submit { padding: 13px 26px; }
  
  /* =====================================================
     LOGISTICS PAGE
     ===================================================== */
  .logi-hero { padding: 40px 0 60px; }
  .logi-hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
  .logi-hero__title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 500; letter-spacing: 0; line-height: 1.12; }
  .logi-hero__text { margin-top: 20px; font-size: 0.98rem; color: var(--muted); line-height: 1.7; }
  .logi-hero__media { border-radius: var(--radius-lg); overflow: hidden; }
  .logi-hero__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block; }
  
  .solutions { padding: 50px 0 80px; }
  .solutions__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
  .solutions__title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: 0; }
  .solutions__subtitle { margin-top: 12px; font-size: 0.96rem; color: var(--muted); }

  /* logistics expertise (medical-style: text left, image right) */
  .logi-expertise { padding: 100px 0 80px; }
  .logi-expertise__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
  }
  .logi-expertise__subtitle {
    font-size: 18px;
    line-height: 24px;
    color: var(--accent);
    font-weight: 400;
    margin-bottom: 14px;
  }
  .logi-expertise__title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.15;
    font-weight: 400;
    color: var(--text-black);
    margin-bottom: 14px;
    max-width: 825px;
  }
  .logi-expertise__text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-black);
    max-width: 625px;
    margin-bottom: 34px;
  }
  .logi-expertise__line {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    border: 1px solid #EBEBEB;
    border-radius: 24px;
  }
  .logi-expertise__line span {
    border-radius: 24px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-black);
    padding: 10px 20px;
    transition: background 0.3s ease, color 0.3s ease;
  }
  .logi-expertise__line span:hover {
    background: var(--accent);
    color: #fff;
  }
  .logi-expertise__box {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .logi-expertise__item {
    padding: 32px 0;
    border-bottom: 1px solid #EBEBEB;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .logi-expertise__item:first-child { padding-top: 0; }
  /* чередование: чётные блоки — картинка слева, текст справа */
  .logi-expertise__item:nth-child(even) .logi-expertise__left  { order: 2; }
  .logi-expertise__item:nth-child(even) .logi-expertise__right { order: 1; }
  .logi-expertise__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }
  .logi-expertise__left h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: var(--text-black);
  }
  .logi-expertise__right {
    border-radius: 24px;
    overflow: hidden;
    min-height: 280px;
  }
  .logi-expertise__right img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
  }

  .logi-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 56px;
  }
  .logi-block:last-child { margin-bottom: 0; }
  .logi-block--reverse .logi-block__text { order: 2; }
  .logi-block__title { font-size: 1.35rem; font-weight: 600; color: var(--ink); margin-bottom: 22px; letter-spacing: 0; }
  .logi-list { display: flex; flex-direction: column; gap: 16px; }
  .logi-list li { display: flex; gap: 14px; align-items: flex-start; }
  .logi-list b { color: var(--ink); font-weight: 600; }
  .logi-list div { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
  .logi-check {
    flex: none;
    display: grid; place-items: center;
    width: 22px; height: 22px;
    border-radius: 7px;
    background: var(--blue-500);
    color: #fff;
    margin-top: 1px;
  }
  .logi-block__media { display: grid; place-items: center; }
  .logi-block__media img { width: 100%; max-width: 460px; height: auto; object-fit: contain; }
  
  /* logistics advantages (4-col industries on logistics page) */
  .logi-advantages {
    background: url("../img/logistics/industries-bg.webp") no-repeat center center / cover;
    padding-top: 100px;
    padding-bottom: 82px;
  }
  .logi-advantages .industries_title,
  .logi-advantages .industries_text { max-width: 100%; }
  .logi-advantages .industries_box {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  /* В роли слайдера сетка живёт на .swiper-wrapper. Селектор длиннее общего
     .industries_box .swiper-wrapper (3 колонки) — иначе тот бы перебил. */
  @media (min-width: 881px) {
    .logi-advantages .industries_box .swiper-wrapper {
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
  }
  @media (min-width: 881px) and (max-width: 1200px) {
    .logi-advantages .industries_box .swiper-wrapper { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 1200px) {
    .logi-advantages .industries_box { grid-template-columns: repeat(2, 1fr); }
    .logi-advantages .industries_title { font-size: 42px; line-height: 52px; }
  }
  @media (max-width: 870px) {
    .logi-advantages .industries_title { font-size: 38px; line-height: 46px; }
  }
  @media (max-width: 730px) {
    .logi-advantages .industries_title { font-size: 32px; line-height: 40px; }
    .certs{
      padding-bottom: 0;
    }
  }
  @media (max-width: 670px) {
    .logi-advantages { padding-bottom: 50px; }
    .page-template-logistics .faq { padding-bottom: 0px;  }
  }
  @media (max-width: 570px) {
    .logi-advantages .industries_box { grid-template-columns: 1fr; }
  }
  @media (max-width: 450px) {
    .logi-advantages .industries_title { font-size: 26px; line-height: 34px; }
  }

  /* logistics CTA */
  .logi-cta { padding: 60px 0; }
  .logi-cta__inner {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 56px 40px;
    border-radius: var(--radius-lg);
    color: #fff;
    background:
      linear-gradient(150deg, rgba(8, 32, 70, 0.86) 0%, rgba(6, 24, 56, 0.9) 100%),
      url("../img/logi-cta-bg.webp") center / cover no-repeat;
  }
  .logi-cta__title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: 0; }
  .logi-cta__text { max-width: 640px; margin: 16px auto 30px; font-size: 0.96rem; color: rgba(255, 255, 255, 0.85); line-height: 1.6; }
  .logi-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
  
  /* =====================================================
     NEWS PAGE
     ===================================================== */
  .news-page { padding: 40px 0 100px; }
  .news-page__title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 500; letter-spacing: 0; }
  .news-page__intro { margin-top: 22px; max-width: 78ch; font-size: 1rem; color: var(--muted); line-height: 1.7; margin-bottom: 64px; }
  
  .news-featured {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
    margin: 0px 0 64px;
  }
  .news-featured__media { border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
  .news-featured__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block; }
  .news-featured__title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 500; letter-spacing: 0; line-height: 1.15; margin: 14px 0 18px; }
  .news-featured__text { font-size: 0.96rem; color: var(--muted); line-height: 1.7; margin-bottom: 22px; max-width: 46ch; }
  
  .news__grid--page { gap: 28px; }
  
  /* =====================================================
     NEWS POST (article)
     ===================================================== */
  .post { padding: 40px 0 60px; }
  .post__container { max-width: calc(960px + var(--gutter) * 2); }
  .post__title {padding-top: 20px; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; letter-spacing: 0; line-height: 1.15; }
  .post__date { margin-top: 14px; font-size: 0.9rem; color: var(--muted); }
  .post__media { margin: 26px 0 36px; }
  .post__main { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
  .post__main img { width: 100%; height: auto; display: block; }
  .post__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
  .post__thumb {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: border-color 0.3s var(--ease);
  }
  .post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
  .post__thumb:hover { border-color: var(--blue-400); }
  .post__thumb:hover img { transform: scale(1.05); }
  .post__thumb.is-active { border-color: var(--blue-500); }
  
  .post__body { color: var(--ink-soft); }
  .post__body p { font-size: 0.98rem; line-height: 1.75; color: var(--muted); margin-bottom: 16px; }
  .post__body h2 { font-size: 1.15rem; font-weight: 600; color: var(--ink); margin: 26px 0 12px; }
  .post__body ul { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .post__body li { position: relative; padding-left: 20px; font-size: 0.96rem; line-height: 1.7; color: var(--muted); }
  .post__body li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-400); }
  
  /* =====================================================
     ТЕКСТОВАЯ СТРАНИЦА (шаблон Text Page)
     Ширина колонки уже контейнера — длинная строка плохо читается.
     ===================================================== */
  .text-page { padding: 40px 0 80px; }
  .text-page__container { max-width: calc(860px + var(--gutter) * 2); }
  .text-page__head { margin-top: 18px; }
  .text-page__lead {
    margin-top: 16px;
    font-size: 18px;
    line-height: 28px;
    color: var(--ink-soft);
  }
  .text-page__date { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
  .text-page__media {
    margin-top: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
  }
  .text-page__media img { width: 100%; height: auto; display: block; }
  .text-page__body { margin-top: 36px; }
  .text-page__pages { display: flex; gap: 10px; margin-top: 28px; font-weight: 500; }

  /* =====================================================
     RICH TEXT — вывод редактора WordPress
     Размеры заголовков берутся из общей шкалы в конце файла,
     здесь — только отступы и всё остальное содержимое.
     ===================================================== */
  .rich-text { color: var(--ink-soft); }
  .rich-text > *:first-child { margin-top: 0; }
  .rich-text p {
    font-size: 16px;
    line-height: 28px;
    color: var(--ink-soft);
    margin: 0 0 18px;
  }
  .rich-text h2 { color: var(--text-black); margin: 40px 0 16px; }
  .rich-text h3 { color: var(--text-black); margin: 32px 0 14px; }
  .rich-text h4 { color: var(--text-black); margin: 26px 0 12px; font-size: 18px; line-height: 26px; font-weight: 400; }
  .rich-text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s var(--ease);
  }
  .rich-text a:hover { color: var(--blue-600); }
  .rich-text strong, .rich-text b { font-weight: 600; color: var(--text-black); }

  /* списки: маркеры рисуем сами — в теме глобально снят list-style */
  .rich-text ul, .rich-text ol {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .rich-text li {
    position: relative;
    padding-left: 24px;
    font-size: 16px;
    line-height: 26px;
  }
  .rich-text ul > li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-400);
  }
  /* нумерация — своим счётчиком, раз list-style снят */
  .rich-text ol { counter-reset: rich-list; }
  .rich-text ol > li { counter-increment: rich-list; }
  .rich-text ol > li::before {
    content: counter(rich-list) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    color: var(--blue-500);
  }
  .rich-text li > ul, .rich-text li > ol { margin: 10px 0 0; }

  .rich-text blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 3px solid var(--blue-400);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--blue-50);
  }
  .rich-text blockquote p { margin: 0; color: var(--ink); }
  .rich-text hr { margin: 36px 0; border: 0; border-top: 1px solid var(--line); }

  .rich-text img { border-radius: var(--radius-sm); }
  .rich-text figure { margin: 28px 0; }
  .rich-text figcaption, .rich-text .wp-caption-text {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
  }

  /* таблицы: узкая колонка текста — на телефоне прокручиваем саму таблицу */
  .rich-text table {
    width: 100%;
    margin: 28px 0;
    border-collapse: collapse;
    font-size: 0.92rem;
  }
  .rich-text table th, .rich-text table td {
    padding: 14px 18px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
  }
  .rich-text table th { background: var(--blue-50); font-weight: 600; color: var(--text-black); }
  .rich-text .wp-block-table, .rich-text .table-scroll { overflow-x: auto; }

  /* выравнивания редактора */
  .rich-text .aligncenter { display: block; margin-inline: auto; text-align: center; }
  .rich-text .alignleft { float: left; margin: 6px 24px 18px 0; max-width: 50%; }
  .rich-text .alignright { float: right; margin: 6px 0 18px 24px; max-width: 50%; }
  .rich-text .alignwide, .rich-text .alignfull { margin-inline: 0; }
  .rich-text::after { content: ""; display: block; clear: both; }

  @media (max-width: 670px) {
    .text-page { padding: 24px 0 56px; }
    .text-page__body { margin-top: 28px; }
    .rich-text .alignleft, .rich-text .alignright { float: none; margin-inline: 0; max-width: 100%; }
    /* широкую таблицу из редактора прокручиваем, а не ломаем ей колонку */
    .rich-text table { display: block; overflow-x: auto; }
  }

  .post__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; }
  .post__nav .btn span { display: inline-flex; align-items: center; }
  
  /* =====================================================
     MOBILE SECTION SLIDERS (home)
     ===================================================== */
  .m-swiper { overflow: hidden; }
  .m-swiper .swiper-slide { height: auto; }
  /* .industries_box сама по себе сетка (её использует ещё и секция преимуществ
     на логистике) — в роли swiper сетка переезжает на .swiper-wrapper ниже */
  .industries_box.m-swiper { display: block; }
  .m-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; }
  /* со стрелками .m-dots становится строкой [назад][точки][вперёд]: сами точки
     живут во вложенном контейнере, иначе рендер пагинации стёр бы кнопки */
  .m-dots--nav { gap: 14px; }
  .m-dots__bullets { display: flex; align-items: center; gap: 8px; justify-content: center;}
  .m-dots .swiper-pagination-bullet { width: 8px; height: 8px; background: var(--line); opacity: 1; transition: width 0.3s var(--ease), background 0.3s var(--ease); }
  .m-dots .swiper-pagination-bullet-active { width: 22px; border-radius: 4px; background: var(--blue-500); }
  .m-dots--light .swiper-pagination-bullet { background: rgba(255, 255, 255, 0.4); }
  .m-dots--light .swiper-pagination-bullet-active { background: #fff; }
  /* lines slider dots sit above the product grid — keep them clear of the cards */
  .catalog [data-dots="lines"] { margin-top: 22px; margin-bottom: 30px; }
  .m-arrows { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
  .m-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink-soft); transition: border-color 0.3s, color 0.3s, background 0.3s; }
  .m-arrow:hover { border-color: var(--blue-400); color: var(--blue-500); }
  .m-arrow--next { background: var(--blue-500); color: #fff; border-color: var(--blue-500); }
  .m-arrow--next:hover { background: var(--blue-600); color: #fff; }
  
  @media (min-width: 881px) {
    .m-swiper { overflow: visible; }
    .m-swiper .swiper-wrapper { transform: none !important; }
    .m-swiper .swiper-slide { width: auto !important; margin: 0 !important; }
    .m-dots, .m-arrows { display: none !important; }
    .about__grid .swiper-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .logistics__grid .swiper-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .tech__grid .swiper-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .global__grid .swiper-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .catalog__grid .swiper-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .certs__grid .swiper-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .news__grid .swiper-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .industries_box .swiper-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
    /* about: раскладка та же, что была на контейнере — переехала на .swiper-wrapper */
    .approach_bottom_box .swiper-wrapper { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
    .about_expertise_box .swiper-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .key-benefits_box .swiper-wrapper { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
    .why__stats .swiper-wrapper { display: flex; flex-direction: column; gap: 20px; height: 100%; }
  }

  /* планшетные переопределения — после блока выше, иначе он их перебивает */
  @media (min-width: 881px) and (max-width: 1000px) {
    .approach_bottom_box .swiper-wrapper { grid-template-columns: 1fr 1fr; }
  }
  /* industries: на широком экране шаг сетки был 40px, до 1200px — 25px */
  @media (min-width: 1201px) {
    .industries_box .swiper-wrapper { gap: 40px; }
  }

  /* about: секции-гриды в режиме слайдера (< 881px) */
  @media (max-width: 880px) {
    /* .approach_bottom — flex с align-items: flex-end, иначе точки встанут сбоку от карточек */
    .approach_bottom { flex-direction: column; align-items: stretch; justify-content: flex-end; }
    /* отступы, рассчитанные на широкие ячейки грида, в слайдере лишние */
    .about_expertise_box.m-swiper .about_expertise_item { margin-bottom: 0; }
    .key-benefits_box.m-swiper .key-benefits_item { padding-bottom: 24px; }
    /* .why-stat { flex: 1 } перебивает swiper-овский flex-shrink: 0 — слайды сжимались бы */
    .why__stats.m-swiper .why-stat { flex: 0 0 auto; min-width: 0; }
    .why__dots { order: 2; }
    /* точки лежат поверх произвольного фото из ACF — без тени на светлом снимке их не видно */
    .approach_bottom .m-dots .swiper-pagination-bullet {
      background: rgba(255, 255, 255, 0.55);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    }
    .approach_bottom .m-dots .swiper-pagination-bullet-active { background: #fff; }
  }

  /* =====================================================
     МОБИЛЬНЫЕ СЛАЙДЕРЫ — вынос за оба края экрана
     Слайдер шире контейнера ровно на два гаттера и отрицательными margin
     садится на края viewport, а боковые отступы ему возвращает padding.
     Swiper вычитает padding из своей ширины при расчёте слайдов, поэтому
     первый слайд не липнет к левому краю, последний в конце прокрутки не
     упирается в правый, а при свайпе слайды уезжают за границу экрана.
     ===================================================== */
  @media (max-width: 880px) {
    .m-swiper {
      width: calc(100% + var(--gutter) * 2);
      margin-inline: calc(var(--gutter) * -1);
      padding-inline: var(--gutter);
    }
    /* родители с align-items: center отцентрировали бы расширенный блок */
    .about_expertise_box.m-swiper,
    .industries_box.m-swiper,
    .key-benefits_box.m-swiper { align-self: flex-start; }
    /* Карточки Approach живут внутри фото-панели и в кадре ровно одна:
       за пределы панели не выходим. Число слайдов задаёт data-m-spv. */
    .approach_bottom_box.m-swiper {
      width: 100%;
      margin-inline: 0;
      padding-inline: 0;
    }
  }

  /* Секционные слайдеры — тот же вынос за оба края (у них базовый padding: 6px
     под тени карточек, по бокам его заменяет гаттер, сверху/снизу остаётся). */
  @media (max-width: 639px) {
    .reviews{
      padding-bottom: 0;
    }
    .reviews__slider {
      margin-top: 30px;
      width: calc(100% + var(--gutter) * 2);
      margin-inline: calc(var(--gutter) * -1);
      padding-inline: var(--gutter);
    }
  }
  @media (max-width: 559px) {
    .benefits__slider,
    .specialties__slider,
    .gallery-sec__slider,
    .news2__slider {
      width: calc(100% + var(--gutter) * 2);
      margin-inline: calc(var(--gutter) * -1);
      padding-inline: var(--gutter);
    }
  }
  
  /* =====================================================
     COOKIE CONSENT
     ===================================================== */
  .cookie-bar {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: var(--gutter);
    z-index: 390; /* ниже лайтбокса (400), выше остального */
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }
  .cookie-bar.is-open { opacity: 1; transform: none; }
  .cookie-bar__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px 24px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .cookie-bar__text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--ink-soft);
  }
  .cookie-bar__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
  .cookie-bar__actions { display: flex; flex: none; gap: 10px; }
  .cookie-bar__btn {
    height: 42px;
    padding: 0 22px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  }
  .cookie-bar__btn--accept { background: var(--accent); color: #fff; }
  .cookie-bar__btn--accept:hover { background: var(--blue-600); }
  .cookie-bar__btn--decline { border: 1px solid var(--line); color: var(--ink-soft); }
  .cookie-bar__btn--decline:hover { border-color: var(--accent); color: var(--accent); }

  @media (max-width: 767px) {
    .cookie-bar__inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
    .cookie-bar__actions { justify-content: stretch; }
    .cookie-bar__btn { flex: 1; padding: 0 12px; }
  }

  /* сдвинуть плашку анимацией незачем, если анимации отключены системно */
  @media (prefers-reduced-motion: reduce) {
    .cookie-bar { transition: none; transform: none; }
  }

  /* =====================================================
     ABOUT HERO — мобильная раскладка
     Наложение текста на фото на узком экране не читается: картинка почти
     не видна под скримом. Поэтому слайд раскладывается стопкой —
     фото сверху, текст под ним, стрелки справа под содержимым.
     ===================================================== */
  @media (max-width: 767px) {
    .ab-hero { min-height: 0; }
    /* слайдер из абсолютного становится обычным блоком, высота — по контенту */
    .ab-hero__slider { position: static; }
    .ab-hero__slider .swiper-wrapper,
    .ab-hero__slider .swiper-slide { height: auto; }
    .ab-hero__slide {
      flex-direction: column;
      align-items: stretch;
      min-height: 0;
    }
    /* фон становится обычной картинкой в потоке */
    .ab-hero__bg {
      position: relative;
      inset: auto;
      aspect-ratio: 4 / 3;
    }
    .ab-hero__scrim { display: none; }
    /* padding-block, а не шорткат: у .container боковые отступы должны остаться */
    .ab-hero__panel { padding-block: 22px 4px; }
    .ab-hero__content { max-width: none; }
    .ab-hero__text { max-width: none; }
    /* шапка фиксированная — крошки отодвигаем от неё */
    .ab-hero__topbar {
      position: static;
      padding-top: 104px;
      padding-bottom: 16px;
    }
    /* стрелки уезжают из абсолюта в поток, под содержимое слайда */
    .ab-hero__nav {
      position: static;
      justify-content: center;
      max-width: calc(var(--container) + var(--gutter) * 2);
      margin: 18px auto 0;
      padding-inline: var(--gutter);
      padding-bottom: 20px;
    }
  }

  /* скрыто визуально, но доступно скринридерам и поисковикам */
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  /* image lightbox */
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: grid;
    place-items: center;
    padding: 30px;
    background: rgba(8, 22, 46, 0.85);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  }
  .lightbox.is-open { opacity: 1; visibility: visible; }
  .lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
  .lightbox__close {
    position: absolute;
    top: 22px; right: 22px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: background 0.3s;
    z-index: 2;
  }
  .lightbox__close:hover { background: rgba(255, 255, 255, 0.3); }
  .lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background 0.3s;
    z-index: 2;
  }
  .lightbox__nav:hover { background: rgba(255, 255, 255, 0.3); }
  .lightbox__nav--prev { left: 18px; }
  .lightbox__nav--next { right: 18px; }
  @media (max-width: 700px) {
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
    .lightbox__nav { width: 40px; height: 40px; }
    .logi-hero__inner{
      padding-top: 50px;
    }
    .logi-hero{
      padding-bottom: 0;
    }
    .logi-expertise__line{
      border: none;
      gap: 10px;
    }
    .logi-expertise__line span{
      width: 100%;
      padding: 4px 8px;
      border: 1px solid var(--line);
      border-radius: 24px;
    }
  }
  
  /* =====================================================
     Reveal animation base state
     ===================================================== */
  [data-fade] { opacity: 0; transform: translateY(26px); }
  [data-stagger] > * { opacity: 0; transform: translateY(34px); }
  .split-line {
    overflow: hidden;
    /* room for descenders (g, y, p) so the reveal mask doesn't clip them */
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
  }
  
  /* =====================================================
     RESPONSIVE
     ===================================================== */
  @media screen and (max-width: 1262px) {
    .header__nav { display: none; }
    .header__menu-toggle { display: flex; }
    .header__logo { margin-right: auto; flex-shrink: 0;}
    .header__logo img { max-width: 180px; }
  }
  @media (max-width: 1080px) {
    :root { --gutter: 28px; }
    .footer__inner { grid-template-columns: 1fr 1fr; row-gap: 44px; }
    .footer__cta-col { justify-content: flex-start; }
  }
  
  /* Планшет: текст ещё лежит поверх фото. Ниже 768px — раскладка стопкой,
     её правила в блоке ABOUT HERO выше по файлу; вилка по min-width нужна,
     чтобы этот блок, идущий позже, их не перебивал. */
  @media (min-width: 768px) and (max-width: 880px) {
    .ab-hero__panel { padding-top: 120px; padding-bottom: 110px; }
    .ab-hero__nav { bottom: 28px; }
    .ab-hero__scrim {
      background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.72) 55%,
        rgba(255, 255, 255, 0.4) 100%
      );
    }
  }

  @media (max-width: 880px) {
    .products__grid { grid-template-columns: 1fr; gap: 18px; }
    .products, .logistics, .news { padding: 72px 0; }
    .about { padding: 0px 0 72px; }
  
    .catalog { padding: 36px 0 72px; }
    .catalog__grid:not(.m-swiper) { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .category__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .cat-panel__pills { grid-template-columns: repeat(3, 1fr); }
    .cat-copy { margin-top: 56px; }
  
    /* hide duplicate footer CTA on mobile */
    .footer__cta-col { display: none; }
  
    .product__top { grid-template-columns: 1fr; gap: 36px; }
    /* mobile gallery: single image + side arrows, no thumbnails */
    .gallery__thumbs-row { display: none; }
    .gallery__arrow { display: grid; }
    .offer__panel { grid-template-columns: 1fr; gap: 30px; padding: 40px 32px; }
    .product-about, .specs, .benefits { padding-top: 48px; padding-bottom: 48px; }
  
    .ab-hero__actions { flex-wrap: wrap; gap: 12px; }
    .ab-hero__actions .btn { flex: 0 0 auto; font-size: 0.85rem; padding: 12px 18px; white-space: nowrap; justify-content: center; }
    .contacts-hero { padding: 110px 0 35px; }
    .contacts-hero__inner { grid-template-columns: 1fr; gap: 36px; }
    .consult__inner { grid-template-columns: 1fr; gap: 36px; }
    .news-featured { grid-template-columns: 1fr; gap: 28px; }
    .post__thumbs { grid-template-columns: repeat(2, 1fr); }
    .logi-hero__inner { grid-template-columns: 1fr; gap: 20px; }
    .solutions__head { margin-bottom: 24px; }
    .logi-expertise { padding: 70px 0 0px; }
    .logi-expertise__box { margin-top: 30px; }
    .logi-expertise__item {
      display: flex;
      flex-direction: column-reverse;
      gap: 20px;
    }
    /* на мобиле всегда картинка сверху, текст снизу */
    .logi-expertise__item:nth-child(even) .logi-expertise__left,
    .logi-expertise__item:nth-child(even) .logi-expertise__right { order: 0; }
    .logi-expertise__right { min-height: 240px; }
    .logi-expertise__right img { min-height: 240px; }
    .logi-expertise__left h3 { font-size: 20px; line-height: 28px; }
    .logi-expertise__line span { padding: 5px 10px; font-size: 16px; line-height: 22px; }
    .logi-block { grid-template-columns: 1fr; gap: 18px; }
    .logi-block--reverse .logi-block__text { order: 0; }
    .logi-block__media { order: -1; }
    .global__grid { grid-template-columns: repeat(2, 1fr); }
    .tech__grid { grid-template-columns: repeat(2, 1fr); }
    .tech { padding: 64px 0; }
    .why__inner { grid-template-columns: 1fr; gap: 28px; align-items: stretch; }
    .why__left { order: 3; }
    .why__image { order: 1; max-width: 100%; }
    .why__image img { position: static; width: 100%; height: auto; aspect-ratio: 16 / 10; }
    .why__stats { order: 2; flex-direction: row; flex-wrap: wrap; }
    .why-stat { flex: 1; min-width: 150px; }
  }
  @media screen and (max-width: 655px) {
    .header__cta{
      display: none!important;
    }
  }
  @media (max-width: 560px) {
    .products{
      padding-top: 0;
    }
    :root { --gutter: 20px; }
    .header__inner { min-height: 56px; gap: 14px; }
    .header__lang { order: -1; }   /* виден на мобиле, слева от бургера */
    .header__cta span:not(.btn__icon):not(.btn__arrow) { display: none; }
    .header__cta { padding: 11px; }
    .section-head { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; }
    .section-head .section-title { flex: 1 1 auto; min-width: 0; font-size: 1.45rem; }
    .section-head .btn { flex: none; padding: 9px 13px; font-size: 0.76rem; white-space: nowrap; }
    .feature__text { max-width: 100%; }
    .footer__inner { grid-template-columns: 1fr; }
    .logi-card { padding: 26px 24px; flex-direction: column;}
  
    .lines { grid-template-columns: 1fr; gap: 16px; }
    .catalog__grid:not(.m-swiper) { grid-template-columns: 1fr; }
  
    .offer__row { grid-template-columns: 1fr; }
    .offer__panel { padding: 32px 22px; }
    .offer__submit { align-self: stretch; padding: 13px 22px; font-size: 0.82rem; white-space: nowrap; }
  
    .cat-panel { padding: 16px; border-radius: 14px; }
    .cat-panel__pills { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cat-pill { min-height: 52px; font-size: 0.82rem; padding: 10px 12px; }
    .category__grid { grid-template-columns: 1fr; margin-top: 28px; }
    .pagination { margin-top: 40px; gap: 6px; }
    .pagination__btn { min-width: 38px; height: 38px; font-size: 0.85rem; }
    .category__head { gap: 12px; }
    .category__logo { height: 38px; }
    .cat-copy { margin-top: 44px; }
    .specs__cell { padding: 13px 16px; font-size: 0.85rem; }
    .product__actions .btn { flex: 1; justify-content: center; }
  
    /* smaller Video Review button on mobile */
    .gallery__video { gap: 8px; padding: 5px 13px 5px 5px; font-size: 0.78rem; }
    .gallery__play { width: 23px; height: 23px; border-width: 1.5px; padding-left: 2px; }
    .gallery__play svg { width: 9px; height: auto; }
  
    /* smaller video modal text on mobile */
    .vmodal__title { font-size: 0.92rem; line-height: 1.35; }
    .vmodal__caption { margin: 12px 0 14px; font-size: 0.82rem; }
    .vthumb__cap { font-size: 0.66rem; margin-top: 6px; }
  
    .tech__grid { grid-template-columns: 1fr; }
    .global__grid { grid-template-columns: 1fr; }
    .consult__row { grid-template-columns: 1fr; }
    .consult__bottom { flex-direction: column; align-items: stretch; gap: 16px; }
    .consult__submit { width: 100%; justify-content: center; }
    .certs__grid { grid-template-columns: 1fr; gap: 32px; }
    .clients__row { justify-content: center; gap: 22px 30px; }
    .ab-hero__actions { flex-wrap: wrap; gap: 12px; }
    .ab-hero__actions .btn { flex: 0 0 auto; font-size: 0.85rem; padding: 12px 18px; white-space: nowrap; justify-content: center; }
    .logi-hero__actions .btn, .product__actions .btn { font-size: 0.78rem; white-space: nowrap; }
    .product__actions .btn { padding: 13px 18px; }
  
    /* tech buttons compact (one row) */
    .tech__actions { gap: 8px; }
    .tech__actions .btn { flex: 0 0 auto; font-size: 0.72rem; padding: 9px 12px; white-space: nowrap; }
  
    /* news2 footer: View More + timer in one row */
    .news-card__foot { flex-wrap: nowrap; gap: 10px; }
    .countdown { gap: 6px; }
    .cd-unit b { font-size: 0.98rem; }
    .cd-unit i { font-size: 0.55rem; }
    .cd-sep { font-size: 0.9rem; }
  
    /* smaller breadcrumb */
    .breadcrumb { flex-wrap: wrap; font-size: 0.6rem; gap: 5px 7px; letter-spacing: 0.03em; }
    .breadcrumb__link, .breadcrumb__sep { white-space: nowrap; }
  
    /* smaller post prev/next + logistics CTA buttons */
    .post__nav { gap: 12px; }
    .post__nav .btn { padding: 11px 16px; font-size: 0.8rem; }
    .logi-cta__inner { padding: 40px 22px; }
    .logi-cta__actions { gap: 10px; }
    .logi-cta__actions .btn { font-size: 0.82rem; padding: 12px 16px; }
  }
  @media screen and (max-width: 421px) {
    .header__logo img {
      max-width: 120px;
    }
    .header__bar{
      padding: 10px 0!important;
    }
    .hero{
      padding-top: 84px!important;
    }
  }
  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    [data-fade], [data-stagger] > * { opacity: 1 !important; transform: none !important; }
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  }


/* =====================================================
   REUSABLE POPUP (request form)
   ===================================================== */
.hk-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hk-popup.is-open { display: flex; }
.hk-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 70, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.hk-popup__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 24px;
  padding: 38px 32px 32px;
  box-shadow: 0 30px 80px rgba(20, 60, 130, 0.25);
  animation: hkPopupIn 0.3s var(--ease, ease);
}
@keyframes hkPopupIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hk-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  color: var(--ink, #14213d);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.hk-popup__close:hover { background: var(--bg-soft, #f4f5f7); color: var(--blue-500, #1b4fd6); }
.hk-popup__title {
  margin: 0 0 20px;
  font-size: 26px;
  line-height: 34px;
  font-weight: 500;
  color: var(--text-black, #070707);
}
/* сетка конструктора: поле на всю строку или в половину */
.hk-popup__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hk-popup__field--full { grid-column: 1 / -1; }
.hk-popup__field--half { grid-column: span 1; }
.hk-popup__form > :not(.hk-popup__field) { grid-column: 1 / -1; }
@media (max-width: 480px) {
  /* в узком попапе половинки нечитаемы */
  .hk-popup__form { grid-template-columns: 1fr; }
  .hk-popup__field--half { grid-column: 1 / -1; }
}
.hk-popup__form input,
.hk-popup__form textarea {
  width: 100%;
  padding: 10px 20px;
  border: 1px solid #d9d9d9;
  border-radius: 15px;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-black, #070707);
  background: #fff;
  transition: border-color 0.2s;
}
.hk-popup__form input::placeholder,
.hk-popup__form textarea::placeholder { color: #a9a9a9; }
.hk-popup__form input:focus,
.hk-popup__form textarea:focus { outline: none; border-color: var(--accent, #0B4996); }
.hk-popup__form textarea { min-height: 110px; resize: vertical; }
.hk-popup__submit {
  margin-top: 4px;
  padding: 10px 40px;
  border: 1px solid var(--accent, #0B4996);
  border-radius: 50px;
  background: var(--accent, #0B4996);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  align-self: center;
  min-width: 200px;
  transition: background 0.3s ease, color 0.3s ease;
}
.hk-popup__submit:hover { background: #fff; color: var(--accent, #0B4996); }

/* статусы формы (показываются из JS) */
.home_contact_form .contact_form_error,
.home_contact_form .contact_form_success,
.home_contact_form .contact_form_loading {
  display: none;
  font-size: 0.88rem;
  padding: 6px 2px 0;
}
.home_contact_form .contact_form_error { color: #d33; }
.home_contact_form .contact_form_success { color: #1a9d4f; }
.home_contact_form .contact_form_loading { color: var(--ink-soft, #6b7280); }


.products_category_slider{
  margin-top: 30px;
}
.products_category_slider_item{
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s var(--ease);
  padding: 22px;
}
.products_category_slider_item:hover{
  border-color: var(--accent);
}
.products_category_slider_item_img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.products_category_slider_item_name{
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-align: center;
}
.products_category_slider_title{
  font-size: 38px;
  line-height: 46px;
  font-weight: 400;
  color: var(--text-black);
  text-align: center;
  margin-top: 54px;
}
.products-grid-title{
  font-size: 48px;
  line-height: 56px;
  font-weight: 400;
  color: var(--text-black);
  text-align: center;
}
/* =====================================================
   СТРЕЛКИ СЛАЙДЕРОВ — общий компонент
   На десктопе кнопки уходят на бока и наполовину вылезают за край
   крайних слайдов, на мобиле встают в строку по бокам от пагинации.
   ===================================================== */
.sl-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  /* на десктопе стрелки уходят из потока, и строка ужалась бы до высоты точек —
     тогда расчёт вертикального центра ниже (--sl-nav-h) перестал бы сходиться */
  min-height: 40px;
}
/* собственные отступы пагинации внутри строки лишние — их держит .sl-nav */
.sl-nav > .ab-dots,
.sl-nav > .sl-dots { margin-top: 0; }
.sl-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-400); /* «назад» — чуть светлее */
  transition: background 0.3s var(--ease), opacity 0.3s var(--ease);
}
.sl-arrow--next { background: var(--accent); }
.sl-arrow:hover { background: var(--blue-600); }
/* на тёмной подложке заливка инвертируется: белый круг, синяя иконка */
.m-dots--light .sl-arrow { background: var(--white); color: var(--blue-400); }
.m-dots--light .sl-arrow--next { background: var(--white); color: var(--accent); }
.m-dots--light .sl-arrow:hover { background: var(--blue-50); }
.sl-arrow svg { width: 20px; height: 20px; }
.sl-arrow.swiper-button-disabled { opacity: 0.35; pointer-events: none; }
/* слайдов меньше, чем помещается на экран — листать нечем */
.sl-arrow.swiper-button-lock { display: none; }

/* пагинация с классом .swiper-pagination — снимаем абсолют из swiper-bundle */
.sl-dots {
  position: static;
  display: flex;
  justify-content: center;
  gap: 8px;
  width: auto;
}
.sl-dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0;
  background: var(--line);
  opacity: 1;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}
.sl-dots .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 4px;
  background: var(--blue-500);
}

/* Обёртка «слайдер + строка контролов»: от неё считается вертикальный центр.
   --sl-nav-h — высота строки контролов (40px кнопка + 24px margin);
   вычитая её половину, попадаем в центр самого слайдера, а не всей обёртки. */
.sl-shell {
  position: relative;
  --sl-nav-h: 64px;
}
/* Вылет = 20px — ровно минимальный --gutter, поэтому на узком десктопе
   стрелки не уезжают за край экрана. */
@media (min-width: 640px) {
  .sl-shell .sl-arrow {
    position: absolute;
    top: calc(50% - var(--sl-nav-h) / 2);
    z-index: 2;
  }
  .sl-shell .sl-arrow--prev { left: 0; transform: translate(-50%, -50%); }
  .sl-shell .sl-arrow--next { right: 0; transform: translate(50%, -50%); }
}
/* Вынос стрелок дальше края слайдов. Только на широком экране: при контейнере
   1320px запас сбоку равен гаттеру, и лишние 25px выталкивают кнопку за вьюпорт —
   появляется горизонтальный скролл. 1370px = 1320 + 2 × (20 гаттер + 25 вынос). */
@media (min-width: 1370px) {
  .sl-shell .sl-arrow--prev { left: -25px; }
  .sl-shell .sl-arrow--next { right: -25px; }
}

/* Моб.: слайдер выходит из паддингов .container на всю ширину экрана —
   слайд при свайпе уезжает за край, а не обрывается по контейнеру.
   Отступ слева/справа в состоянии покоя даёт padding самого слайдера:
   Swiper вычитает его из ширины, поэтому первый слайд не липнет к краю.
   Вешается на сам .swiper; строка контролов остаётся в паддингах контейнера. */
@media (max-width: 639px) {
  .sl-bleed {
    width: calc(100% + var(--gutter) * 2);
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
  }
}

  /* =====================================================
     ЗАГОЛОВКИ — единая шкала
     Три уровня: секция (h2), подблок (h2/h3 формы, попапа, CTA),
     карточка (h3). Начертание у всех 400.
     Блок стоит в конце файла намеренно: правила выше имеют ту же
     специфичность, поэтому при равенстве побеждает последний.
     Составные селекторы (.section-head .section-title и т.п.)
     перечислены явно — иначе их специфичность перебила бы шкалу.
     ===================================================== */

  /* --- Уровень 1: заголовок секции --- */
  .section-title,
  .section-head .section-title,
  .about__lead,
  .hero-slide__title,
  .industries_title,
  .logi-advantages .industries_title,
  .products-grid-title,
  .contact_title,
  .approach_top_left_title,
  .about_expertise_title,
  .key-benefits_title,
  .global__title,
  .tech__title,
  .logi-expertise__title,
  .uk-feature__title,
  .text-page__title {
    font-size: 48px;
    line-height: 56px;
    font-weight: 400;
  }

  /* --- Уровень 2: заголовок подблока --- */
  .contact_form_title,
  .products_category_slider_title,
  .hk-popup__title,
  .logi-cta__title,
  .news-featured__title,
  .offer__title,
  .rich-text h2 {
    font-size: 32px;
    line-height: 40px;
    font-weight: 400;
  }

  /* --- Уровень 3: заголовок карточки --- */
  .feature__title,
  .logi-card__title,
  .news-card__title,
  .prod-card__title,
  .spec-card__title,
  .tech-card__title,
  .why__title,
  .cert__title,
  .benefit__title,
  .office__name,
  .about_box_item h3,
  .about_expertise_item h3,
  .key-benefits_item h3,
  .logi-expertise__left h3,
  .post__body h2,
  .uk-adv-card__title,
  .uk-model-card__name,
  .uk-prod__title,
  .industries_item_title,
  .approach_top_item_title,
  .rich-text h3 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
  }

  @media (max-width: 1200px) {
    .section-title,
    .section-head .section-title,
    .about__lead,
    .hero-slide__title,
    .industries_title,
    .logi-advantages .industries_title,
    .products-grid-title,
    .contact_title,
    .approach_top_left_title,
    .about_expertise_title,
    .key-benefits_title,
    .global__title,
    .tech__title,
    .logi-expertise__title,
    .uk-feature__title,
    .text-page__title { font-size: 42px; line-height: 50px; }
  }

  @media (max-width: 870px) {
    .section-title,
    .section-head .section-title,
    .about__lead,
    .hero-slide__title,
    .industries_title,
    .logi-advantages .industries_title,
    .products-grid-title,
    .contact_title,
    .approach_top_left_title,
    .about_expertise_title,
    .key-benefits_title,
    .global__title,
    .tech__title,
    .logi-expertise__title,
    .uk-feature__title,
    .text-page__title { font-size: 38px; line-height: 46px; }

    .contact_form_title,
    .products_category_slider_title,
    .hk-popup__title,
    .logi-cta__title,
    .news-featured__title,
    .offer__title,
    .rich-text h2 { font-size: 28px; line-height: 36px; }
  }

  @media (max-width: 520px) {
    .section-title,
    .section-head .section-title,
    .about__lead,
    .hero-slide__title,
    .industries_title,
    .logi-advantages .industries_title,
    .products-grid-title,
    .contact_title,
    .approach_top_left_title,
    .about_expertise_title,
    .key-benefits_title,
    .global__title,
    .tech__title,
    .logi-expertise__title,
    .uk-feature__title,
    .text-page__title { font-size: 32px; line-height: 40px; }

    .contact_form_title,
    .products_category_slider_title,
    .hk-popup__title,
    .logi-cta__title,
    .news-featured__title,
    .offer__title,
    .rich-text h2 { font-size: 24px; line-height: 32px; }

    .feature__title,
    .logi-card__title,
    .news-card__title,
    .prod-card__title,
    .spec-card__title,
    .tech-card__title,
    .why__title,
    .cert__title,
    .benefit__title,
    .office__name,
    .about_box_item h3,
    .about_expertise_item h3,
    .key-benefits_item h3,
    .logi-expertise__left h3,
    .post__body h2,
    .uk-adv-card__title,
    .uk-model-card__name,
    .uk-prod__title,
    .industries_item_title,
    .approach_top_item_title,
    .rich-text h3 { font-size: 18px; line-height: 26px; }
  }

  @media (max-width: 450px) {
    .section-title,
    .section-head .section-title,
    .about__lead,
    .hero-slide__title,
    .industries_title,
    .logi-advantages .industries_title,
    .products-grid-title,
    .contact_title,
    .approach_top_left_title,
    .about_expertise_title,
    .key-benefits_title,
    .global__title,
    .tech__title,
    .logi-expertise__title,
    .uk-feature__title,
    .text-page__title { font-size: 26px; line-height: 34px; }

    .contact_form_title,
    .products_category_slider_title,
    .hk-popup__title,
    .logi-cta__title,
    .news-featured__title,
    .offer__title,
    .rich-text h2 { font-size: 22px; line-height: 30px; }
  }


.about__lead{
  font-size: 40px;
  line-height: 48px;
}


.search-popup{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  padding: 20px;
}
.search-popup_inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 600px;
  max-height: calc(100dvh - 100px - 20px);
  background-color: var(--white);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  overflow: hidden;
}
.search-popup_header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  flex-shrink: 0;
}
.search-popup_header h2{
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}
.search-popup__close{
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.search-popup_form{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  flex-shrink: 0;
}
.search-popup_form input{
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 10px;
  appearance: none;
  -webkit-appearance: none;
}
.search-popup_form button{
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.search-popup_form button svg{
  width: 20px;
  height: 20px;
}
.search-popup.active{
  display: block;
}
.search-popup_results{
  display: none;
}
.search-popup_results.active{
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.search-popup_result_item img,
.search-popup_result_item_ph{
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--gray-bg);
}
.search-popup_empty{
  margin: 0;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.dn{
  display: none!important;
}
.search-popup_result_item{
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  width: 100%;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.search-popup_result_item:last-child{
  border-bottom: none;
}
.search-popup_result_item_content{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
}
.search-popup_result_item_content h3{
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
}
.search-popup_result_item_content p{
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--gray);
}
.search-popup_result_item_content span{
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: var(--gray);
  background-color: var(--line);
  padding: 4px 8px;
  border-radius: 4px;
} 
.search-page{
  padding: 48px 0 100px;
}
.search-page__heading{
  margin: 56px 0 28px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 500;
}
.search-page .catalog__empty{
  margin: 48px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 1.02rem;
}
.search-page .news-card__media:empty,
.search-page .prod-card__media:empty{
  background: var(--gray-bg);
}

@media (max-width: 880px) {
  .search-popup{
    padding: 16px;
  }
  .search-popup_inner{
    top: 16px;
    max-width: min(560px, 100%);
    max-height: calc(100dvh - 32px);
    padding: 16px;
    gap: 16px;
    border-radius: 16px;
  }
  .search-popup_header h2{
    font-size: 22px;
    line-height: 28px;
  }
  .search-popup_form input,
  .search-popup_form button{
    height: 44px;
  }
  .search-popup_form button{
    width: 44px;
  }
  .search-popup_results.active{
    gap: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .search-popup_result_item{
    grid-template-columns: 48px 1fr;
    gap: 10px;
    padding: 10px 0;
  }
  .search-popup_result_item img,
  .search-popup_result_item_ph{
    width: 48px;
    height: 48px;
  }
  .search-popup_result_item_content h3{
    font-size: 16px;
    line-height: 22px;
  }
  .search-popup_result_item_content span{
    font-size: 11px;
    line-height: 14px;
    padding: 3px 7px;
  }

  .search-page{
    padding: 28px 0 72px;
  }
  .search-page .catalog__intro{
    margin-top: 28px;
  }
  .search-page .catalog__title{
    font-size: 32px;
    line-height: 40px;
  }
  .search-page .catalog__subtitle{
    margin-top: 12px;
    font-size: 0.95rem;
  }
  .search-page__heading{
    margin: 36px 0 20px;
    font-size: 22px;
    line-height: 28px;
  }
  .search-page .news__grid:not(.m-swiper){
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .search-popup{
    padding: 0;
  }
  .search-popup_inner{
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    border-radius: 0;
    border: none;
    box-shadow: none;
    gap: 14px;
  }
  .search-popup_header h2{
    font-size: 20px;
    line-height: 26px;
  }
  .search-popup_form{
    gap: 8px;
  }
  .search-popup_form input{
    min-width: 0;
    font-size: 16px;
  }
  .search-popup_result_item{
    grid-template-columns: 44px 1fr;
    gap: 10px;
    padding: 10px 0;
  }
  .search-popup_result_item img,
  .search-popup_result_item_ph{
    width: 44px;
    height: 44px;
    border-radius: 6px;
  }
  .search-popup_result_item_content h3{
    font-size: 15px;
    line-height: 20px;
  }

  .search-page{
    padding: 16px 0 56px;
  }
  .search-page .catalog__intro{
    margin-top: 20px;
  }
  .search-page .catalog__title{
    font-size: 26px;
    line-height: 32px;
  }
  .search-page .catalog__subtitle{
    font-size: 0.9rem;
  }
  .search-page__heading{
    margin: 28px 0 16px;
    font-size: 18px;
    line-height: 24px;
  }
  .search-page .news__grid:not(.m-swiper),
  .search-page .catalog__grid:not(.m-swiper){
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .search-page .prod-card__body{
    padding: 4px 18px 22px;
  }
  .search-page .news-card__body{
    padding: 16px;
    gap: 8px;
  }
  .search-page .catalog__empty{
    margin-top: 28px;
    font-size: 0.95rem;
  }
}

html:has(body.is-locked),
body.is-locked {
  overflow: hidden;
  overscroll-behavior: none;
}


@media (max-width: 450px) {
  .products_category_slider_title{
    font-size: 26px;
    line-height: 34px;
  }
  .about__lead{
      font-size: 22px;
      line-height: 28px;
  }
}
.swiper-pagination-bullets, 
.swiper-pagination{
  width: unset!important;
}
.footer__social_box{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer__social{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer__social a{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s;
}
.footer__social a:hover{
  background: rgba(255, 255, 255, 0.3);
}