
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

  :root {
    --bg-dark: #0E1117;
    --bg-mid: #171B22;
    --bg-card: #171B22;
    --bg-card-hover: #1E232C;
    --blue-accent: #3B82F6;
    --blue-bright: #60A5FA;
    --blue-glow: rgba(59, 130, 246, 0.4);
    --silver: #9AA4B2;
    --white: #E6E9EF;
    --text-muted: #9AA4B2;
    --border: rgba(255, 255, 255, 0.09);
  }

  html[data-theme="light"] {
    --bg-dark: #F4F1EA;
    --bg-mid: #FBF9F4;
    --bg-card: #FBF9F4;
    --blue-accent: #1D4ED8;
    --blue-bright: #2563EB;
    --blue-glow: rgba(29,78,216,0.18);
    --silver: #4a4640;
    --white: #1c1a16;
    --text-muted: #6b665d;
    --border: rgba(29, 78, 216, 0.16);
  }
  html[data-theme="light"] body { background: #F4F1EA; color: #2a2620; }
  /* Шапка и подвал остаются тёмными (фирменный стиль) */
  html[data-theme="light"] nav {
    background: rgba(5, 13, 26, 0.92);
    border-bottom: 1px solid rgba(29, 78, 216, 0.25);
  }
  html[data-theme="light"] .nav-links a { color: #C0C4CC; }
  html[data-theme="light"] .nav-links a:hover { color: #F5F7FA; }
  html[data-theme="light"] .burger span { background: #C0C4CC; }
  html[data-theme="light"] footer { background: #070e1a; }
  /* Кнопки в шапке — шапка тёмная, значит текст светлый */
  html[data-theme="light"] nav .btn-nav { color: #F5F7FA; border-color: rgba(29,78,216,0.5); }
  html[data-theme="light"] nav .btn-nav:hover { background: #1D4ED8; color: #fff; }

  /* Hero — молочный */
  html[data-theme="light"] .hero { background: #F4F1EA; }
  html[data-theme="light"] .hero-bg {
    opacity: 1;
    background:
      radial-gradient(ellipse 38% 38% at 82% 18%, rgba(37, 99, 235, 0.14) 0%, transparent 60%),
      radial-gradient(ellipse 42% 48% at 12% 82%, rgba(70, 90, 130, 0.16) 0%, transparent 65%),
      linear-gradient(180deg, #F2EFE7 0%, #E8E4DA 55%, #EFEBE2 100%);
  }
  /* Убираем шум в центре под лого в светлой теме */
  html[data-theme="light"] .world-map { opacity: 0.03; }
  html[data-theme="light"] .hbt-eleven { color: #4a4640; }
  html[data-theme="light"] .hero-tagline { color: #6b665d; }
  html[data-theme="light"] .hero-desc { color: #57524a; }

  /* Контентные карточки — тёплый белый */
  html[data-theme="light"] .dir-card,
  html[data-theme="light"] .why-card,
  html[data-theme="light"] .contact-card,
  html[data-theme="light"] .how-step { background: #FBF9F4; box-shadow: 0 14px 32px rgba(60,50,30,0.18), 0 2px 6px rgba(60,50,30,0.10); border-color: rgba(29,78,216,0.10); }
  html[data-theme="light"] .section-sub,
  html[data-theme="light"] .about-text,
  html[data-theme="light"] .dir-card-text,
  html[data-theme="light"] .why-card-text { color: #57524a; }

  /* Логотип hero: тёмная версия по умолчанию, светлая — в светлой теме */
  html[data-theme="light"] .logo-dark { display: none !important; }
  html[data-theme="light"] .logo-light { display: block !important; }

  /* Картинка в блоке «О компании»: фото в тёмной, скетч в светлой */
  html[data-theme="light"] .about-img-dark { display: none !important; }
  html[data-theme="light"] .about-img-light { display: block !important; }

  /* Внутренние страницы (каталог, карточка, поиск, юр.страницы) в светлой теме */
  html[data-theme="light"] .pp-page,
  html[data-theme="light"] .pp-wrap { color: #2a2620; }
  html[data-theme="light"] .pp-title { color: #1c1a16; }
  html[data-theme="light"] .pp-wrap p,
  html[data-theme="light"] .pp-wrap li { color: #4a4640; }
  html[data-theme="light"] .info-box { background: #FBF9F4 !important; border-color: rgba(29,78,216,0.15) !important; }
  /* Модалка формы и cookie-баннер ВСЕГДА тёмные — не трогаем их в светлой теме */
  html[data-theme="light"] .req-modal-card { background:#FBF9F4 !important; border-color:rgba(29,78,216,0.18) !important; }
  html[data-theme="light"] .req-title { color:#1c1a16 !important; }
  html[data-theme="light"] .req-sub { color:#6b665d !important; }
  html[data-theme="light"] .req-close { color:#6b665d !important; }
  html[data-theme="light"] .req-input { background:#fff !important; border-color:rgba(29,78,216,0.25) !important; color:#1c1a16 !important; }
  html[data-theme="light"] .req-input::placeholder { color:#9a958c !important; }
  html[data-theme="light"] .req-consent span { color:#57524a !important; }
  html[data-theme="light"] .part-card,
  html[data-theme="light"] .filter-panel,
  html[data-theme="light"] .filters { background: #FBF9F4 !important; border-color: rgba(29,78,216,0.12) !important; }
  html[data-theme="light"] .filter-select,
  html[data-theme="light"] .search-input { background: #fff !important; color: #2a2620 !important; border-color: rgba(29,78,216,0.2) !important; }
  html[data-theme="light"] .part-title { color: #1c1a16 !important; }

  /* Hover-подсветка карточек в светлой теме — чистое синее свечение */
  html[data-theme="light"] .why-card:hover,
  html[data-theme="light"] .contact-card:hover,
  html[data-theme="light"] .dir-card:hover {
    border-color: rgba(29,78,216,0.5);
    box-shadow: 0 0 0 1px rgba(29,78,216,0.15), 0 10px 30px rgba(29,78,216,0.18);
    transform: translateY(-6px);
  }
  html[data-theme="light"] .why-icon svg,
  html[data-theme="light"] .contact-icon svg { stroke: #1D4ED8; }

  /* Переключатель темы */
  .theme-toggle {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent;
    border: 1px solid rgba(29, 78, 216, 0.35);
    border-radius: 8px;
    cursor: pointer; padding: 0; flex-shrink: 0;
    color: #C0C4CC;
    transition: all 0.25s;
  }
  .theme-toggle:hover { border-color: #1D4ED8; color: #1D4ED8; }
  .theme-toggle svg { width: 18px; height: 18px; }
  .theme-toggle .icon-sun { display: none; }
  .theme-toggle .icon-moon { display: block; fill: currentColor; stroke: none; }
  html[data-theme="light"] .theme-toggle .icon-sun { display: block; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  html[data-theme="light"] .theme-toggle .icon-moon { display: none; }




  /* ═══════════════════════════════════
     RTL — АРАБСКИЙ ЯЗЫК (lang="ar")
     Направление справа-налево ТОЛЬКО для контента.
     Шапка (nav) и подвал остаются LTR (как есть).
  ═══════════════════════════════════ */
  /* Шрифт Cairo для арабского по всему документу */
  html[lang="ar"] body { font-family: 'Cairo', sans-serif; }
  html[lang="ar"] .nav-links a,
  html[lang="ar"] .btn-nav,
  html[lang="ar"] .btn-primary,
  html[lang="ar"] .hero-tagline,
  html[lang="ar"] .section-title,
  html[lang="ar"] .dir-title,
  html[lang="ar"] .why-title,
  html[lang="ar"] .contact-label,
  html[lang="ar"] .eq-title,
  html[lang="ar"] .cs-h1 { font-family: 'Cairo', sans-serif; }

  /* RTL — только для контентных секций, НЕ для шапки/подвала */
  html[lang="ar"] section,
  html[lang="ar"] .pp-page,
  html[lang="ar"] .cs-page,
  html[lang="ar"] .eq-page { direction: rtl; }

  /* Шапка и подвал жёстко остаются LTR */
  html[lang="ar"] nav,
  html[lang="ar"] footer,
  html[lang="ar"] .nav-links,
  html[lang="ar"] .nav-actions { direction: ltr; }

  /* Разрядку букв убираем только в арабском контенте (связки букв) */
  html[lang="ar"] section * { letter-spacing: 0 !important; }

  /* Текст выравниваем по правому краю (но центрированные блоки остаются по центру) */
  html[lang="ar"] .about-text,
  html[lang="ar"] .dir-text,
  html[lang="ar"] .why-text { text-align: right; }

  /* Блок «О компании»: метка с черточкой — зеркалим */
  html[lang="ar"] .about-label { flex-direction: row-reverse; justify-content: flex-end; }

  /* Карточки контактов: иконка справа */
  html[lang="ar"] .contact-card { flex-direction: row-reverse; }

  /* Хлебные крошки */
  html[lang="ar"] .eq-breadcrumb,
  html[lang="ar"] .cs-breadcrumb { flex-direction: row-reverse; justify-content: flex-end; }

  /* Формы: подписи и поля по правому краю */
  html[lang="ar"] .cs-label,
  html[lang="ar"] .cs-input,
  html[lang="ar"] .req-input { text-align: right; }
  html[lang="ar"] .cs-check,
  html[lang="ar"] .cs-consent,
  html[lang="ar"] .req-consent { flex-direction: row-reverse; text-align: right; }

  /* ── Что НЕ должно зеркалиться в RTL ── */
  /* Шаги «как мы работаем» — порядок 1→2→3 (LTR), но подписи по центру */
  html[lang="ar"] .steps { direction: ltr; }
  /* Картинка «о компании» — сетка не разворачивается (фото слева, текст справа как в RU) */
  html[lang="ar"] .about-inner { direction: ltr; }
  html[lang="ar"] .about-inner .about-label,
  html[lang="ar"] .about-inner .about-text,
  html[lang="ar"] .about-inner .about-heading { direction: rtl; }
  /* Карточки направлений/преимуществ — расположение как в RU (иконка слева сверху), текст по правому краю */
  html[lang="ar"] .dir-card,
  html[lang="ar"] .why-card { direction: ltr; }
  html[lang="ar"] .dir-title,
  html[lang="ar"] .dir-text,
  html[lang="ar"] .why-title,
  html[lang="ar"] .why-text { text-align: right; direction: rtl; }
  /* Иконки внутри карточек не зеркалим (svg остаётся как есть) */
  html[lang="ar"] .dir-icon,
  html[lang="ar"] .why-icon,
  html[lang="ar"] .step-circle,
  html[lang="ar"] .contact-icon { direction: ltr; }

  /* HERO — бренд-текст (русский) остаётся LTR + Montserrat (не Cairo!), чтобы выглядел как в RU.
     Целимся прямо в span'ы .hbt-eleven/.hbt-gate — иначе Cairo от body перебивает */
  html[lang="ar"] .hero-content { direction: ltr; }
  html[lang="ar"] .hero-brand-text,
  html[lang="ar"] .hero-brand-text .hbt-eleven,
  html[lang="ar"] .hero-brand-text .hbt-gate {
    direction: ltr;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 0.22em !important;
  }
  /* Арабские подзаголовки/описание — RTL и больше воздуха между строк */
  html[lang="ar"] .hero-tagline,
  html[lang="ar"] .hero-desc { direction: rtl; line-height: 2.1; }
  /* Кнопки hero — порядок как в RU («Каталог» синяя первой), одинаковая ширина */
  html[lang="ar"] .hero-cta { direction: ltr; }
  html[lang="ar"] .hero-cta .btn-primary {
    letter-spacing: 0 !important;
    padding: 15px 44px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    min-width: 240px;
  }
  /* Кнопки в шапке — высота как у RU/EN (~31px). Cairo выше Montserrat,
     поэтому фиксируем точную высоту + flex-центрирование. */
  html[lang="ar"] nav .btn-nav:not(.btn-nav-search) {
    min-width: 130px;
    text-align: center;
    padding-top: 0;
    padding-bottom: 0;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  html[lang="ar"] nav .btn-nav-search {
    padding-top: 0;
    padding-bottom: 0;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  html[lang="ar"] nav .nav-eq a {
    padding-top: 0;
    padding-bottom: 0;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  /* На мобиле/планшете арабские кнопки шапки прячем — тем же селектором (та же
     специфичность, но правило идёт позже), чтобы перебить inline-flex выше.
     Так арабская шапка ведёт себя как RU/EN: всё уходит в бургер. */
  @media (max-width: 1024px) {
    html[lang="ar"] nav .btn-nav:not(.btn-nav-search),
    html[lang="ar"] nav .btn-nav-search,
    html[lang="ar"] nav .nav-eq a { display: none; }
  }

  /* Контакты: сетка остаётся LTR — порядок плиток как в RU/EN (Email, Телефон, География, Реквизиты) */
  html[lang="ar"] .contacts-grid { direction: ltr; }
  /* но содержимое каждой плитки — RTL (иконка справа, текст справа) */
  html[lang="ar"] .contact-card { direction: rtl; }

  /* Контакты: значения с цифрами/латиницей (телефон, email, ИНН/ОГРН)
     остаются LTR и по правому краю — иначе цифры «прыгают» в RTL */
  html[lang="ar"] .contact-value {
    direction: ltr;
    text-align: right;
    unicode-bidi: plaintext;
  }
  /* Подписи контактов (арабские) — по правому краю */
  html[lang="ar"] .contact-label { text-align: right; }

  /* Опросник: шеврон раскрывающегося блока — стрелка слева, текст справа (RTL) */
  html[lang="ar"] .cs-advanced summary { flex-direction: row-reverse; }

  /* ── КАТАЛОГ (RTL) ── */
  /* Макет каталога — расположение колонок как в RU/EN (фильтры слева, товары справа) */
  html[lang="ar"] .catalog-layout { direction: ltr; }
  /* но текст внутри фильтров и карточек — RTL */
  html[lang="ar"] .filters,
  html[lang="ar"] .part-body,
  html[lang="ar"] .part-footer { direction: rtl; }
  /* Поля фильтров и подписи — текст по правому краю */
  html[lang="ar"] .filter-label,
  html[lang="ar"] .filter-input,
  html[lang="ar"] .filter-select { text-align: right; }
  html[lang="ar"] .filter-input::placeholder { text-align: right; }
  /* Чекбокс «только в наличии» — галочка справа */
  html[lang="ar"] .filter-check { flex-direction: row-reverse; }
  /* Карточка товара: год с «г.» и цена — цифры не разворачиваем */
  html[lang="ar"] .part-type,
  html[lang="ar"] .part-article,
  html[lang="ar"] .part-price,
  html[lang="ar"] .part-price-null { unicode-bidi: plaintext; }
  /* Пагинация — порядок 1→2→3 как в RU (LTR) */
  html[lang="ar"] .pagination { direction: ltr; }
  /* Кнопки фильтров (Применить/Сброс) — порядок как в RU (синяя «Применить» слева) */
  html[lang="ar"] .filter-btns { direction: ltr; }

  /* ── ОБОРУДОВАНИЕ (RTL) ── */
  /* Заголовки и описания секций — по правому краю */
  html[lang="ar"] .eq-section-title,
  html[lang="ar"] .eq-section-sub { text-align: right; }
  /* Сетки оборудования — порядок плиток как в RU (LTR) */
  html[lang="ar"] .eq-groups,
  html[lang="ar"] .eq-services,
  html[lang="ar"] .eq-grid { direction: ltr; }
  /* Карточки групп/услуг: иконка слева сверху (как в RU), текст справа */
  html[lang="ar"] .eq-group-card,
  html[lang="ar"] .eq-service { direction: ltr; }
  html[lang="ar"] .eq-group-title,
  html[lang="ar"] .eq-group-text,
  html[lang="ar"] .eq-group-count,
  html[lang="ar"] .eq-service-title,
  html[lang="ar"] .eq-service-text { direction: rtl; text-align: right; }
  /* Карточки подгрупп/товаров — текст справа */
  html[lang="ar"] .eq-card-body { direction: rtl; text-align: right; }
  /* Хлебные крошки оборудования */
  html[lang="ar"] .eq-breadcrumb,
  html[lang="ar"] .ep-breadcrumb { flex-direction: row-reverse; justify-content: flex-end; }
  /* CTA-блок опросника: макет как в RU (иконка слева, кнопки справа), текст справа */
  html[lang="ar"] .chain-survey-cta { direction: ltr; }
  html[lang="ar"] .chain-survey-cta-text { direction: rtl; text-align: right; }
  /* CTA-блок — по центру (как есть), текст ок */

  /* ── КАРТОЧКА ТОВАРА (RTL) ── */
  /* Верхний блок фото+инфо и сетка похожих — макет как в RU (фото слева) */
  html[lang="ar"] .ep-top,
  html[lang="ar"] .ep-related-grid { direction: ltr; }
  /* Текстовый блок информации и карточки похожих — текст справа */
  html[lang="ar"] .ep-info,
  html[lang="ar"] .ep-rel-title { direction: rtl; text-align: right; }
  /* Заголовки секций и таблицы — справа */
  html[lang="ar"] .ep-section-title,
  html[lang="ar"] .ep-specs td,
  html[lang="ar"] .ep-empty-specs { text-align: right; }
  html[lang="ar"] .ep-specs td:first-child { direction: rtl; }
  /* Таблица типоразмеров — заголовки и ячейки по правому краю (RTL) */
  html[lang="ar"] .ep-size-table { direction: rtl; }
  html[lang="ar"] .ep-size-table th,
  html[lang="ar"] .ep-size-table td { text-align: right; }
  html[lang="ar"] .ep-sizes-summary { direction: rtl; }

  /* ── КАРТОЧКА ТОВАРА КАТАЛОГА (part_detail, RTL) ── */
  /* Блок фото+инфо и сетка похожих — макет как в RU (фото слева, LTR) */
  html[lang="ar"] .detail-grid,
  html[lang="ar"] .related-grid,
  html[lang="ar"] .dims-grid { direction: ltr; }
  /* Текстовый блок информации — текст справа (RTL) */
  html[lang="ar"] .detail-info { direction: rtl; text-align: right; }
  html[lang="ar"] .detail-title,
  html[lang="ar"] .detail-desc,
  html[lang="ar"] .chars-title,
  html[lang="ar"] .related-title { text-align: right; }
  /* Бейджи и цена — расположение как в RU, цифры не прыгают */
  html[lang="ar"] .detail-badges { direction: rtl; }
  html[lang="ar"] .detail-extid,
  html[lang="ar"] .price-main,
  html[lang="ar"] .price-null { unicode-bidi: plaintext; text-align: right; }
  /* Таблица характеристик — ячейки по правому краю */
  html[lang="ar"] .chars-table { direction: rtl; }
  html[lang="ar"] .chars-table td { text-align: right; }
  /* Габариты — плитки по центру (как есть), цифры не трогаем */
  html[lang="ar"] .dim-item { direction: ltr; }
  /* Хлебные крошки — справа */
  html[lang="ar"] .breadcrumb { flex-direction: row-reverse; justify-content: flex-end; }
  /* Кнопка CTA — текст по центру (как есть) */
  html[lang="ar"] .disclaimer { direction: rtl; text-align: right; }
  /* Карточки похожих — текст справа */
  html[lang="ar"] .related-card { direction: rtl; text-align: right; }
  html[lang="ar"] .rc-price { unicode-bidi: plaintext; }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-dark);
    background-image: linear-gradient(180deg, #11161F 0%, #0E1117 45%, #0B0E13 100%);
    background-attachment: fixed;
    color: var(--white);
    overflow-x: hidden;
  }
  /* В светлой теме градиент фона отключаем (остаётся молочный) */
  html[data-theme="light"] body { background-image: none; }

  /* NOISE TEXTURE OVERLAY */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: 64px;
    background: rgba(14, 17, 23, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
  }

  .logo-icon {
    width: 48px;
    height: 32px;
  }

  .nav-links {
    display: flex;
    gap: 22px;
    list-style: none;
  }

  .nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--silver);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
    white-space: nowrap;
  }

  .nav-links a:hover { color: var(--white); }

  .mobile-only { display: none; }

  /* Приоритетные пункты меню (Оборудование/Каталог) — выделены */
  .nav-primary { display: none; }
  .desktop-only-link { display: block; }

  /* Выделенная ссылка «Оборудование» в десктоп-шапке */
  .nav-links .nav-eq a {
    color: #fff;
    background: linear-gradient(135deg, #1a6fd4 0%, #0f4fa0 100%);
    border-radius: 6px;
    padding: 8px 14px;
    box-shadow: 0 2px 14px rgba(26, 111, 212, 0.35);
    transition: box-shadow 0.3s, transform 0.3s;
  }
  .nav-links .nav-eq a:hover {
    color: #fff;
    box-shadow: 0 4px 22px rgba(43, 138, 245, 0.55);
    transform: translateY(-1px);
  }

  .nav-actions { flex-shrink: 0; }

  .btn-nav {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    background: transparent;
    border: 1px solid var(--blue-accent);
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border-radius: 4px;
    white-space: nowrap;
  }
  .btn-nav-search { padding: 8px 12px; display: inline-flex; align-items: center; }

  /* Переключатель языка (выпадающее меню) */
  .lang-switch { position: relative; display: inline-flex; }
  .lang-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--silver);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    padding: 6px 10px;
    transition: color 0.2s, border-color 0.2s;
  }
  .lang-current:hover { color: var(--white); border-color: var(--blue-accent); }
  .lang-caret { font-size: 9px; color: var(--text-muted); transition: transform 0.2s; }
  .lang-switch.open .lang-caret { transform: rotate(180deg); }
  .lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    display: none;
    flex-direction: column;
    background: #111e30;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    min-width: 78px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    z-index: 300;
  }
  .lang-switch.open .lang-menu { display: flex; }
  .lang-opt {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: none;
    color: var(--silver);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    padding: 9px 14px;
    text-align: left;
    transition: background 0.15s, color 0.15s;
  }
  .lang-opt:hover { background: rgba(29,78,216,0.15); color: var(--white); }
  .lang-opt.lang-active { color: var(--blue-bright); background: rgba(29,78,216,0.1); }
  .lang-flag { font-size: 14px; line-height: 1; }

  .btn-nav:hover {
    background: var(--blue-accent);
    box-shadow: 0 0 24px var(--blue-glow), inset 0 0 12px rgba(255,255,255,0.05);
  }

  /* HERO */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 50% 35%, rgba(59, 130, 246, 0.12) 0%, transparent 70%),
      linear-gradient(180deg, #12171F 0%, #0E1117 55%, #0B0E13 100%);
  }

  .hero-bg-img {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    pointer-events: none;
  }

  .truck-silhouette {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38%;
    height: 70%;
    background: linear-gradient(135deg, rgba(26,111,212,0.06) 0%, transparent 60%);
    clip-path: polygon(0 100%, 0 30%, 15% 20%, 60% 18%, 75% 30%, 100% 30%, 100% 100%);
  }

  .crane-silhouette {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 35%;
    height: 80%;
    background: linear-gradient(225deg, rgba(26,111,212,0.06) 0%, transparent 60%);
    clip-path: polygon(100% 100%, 100% 10%, 80% 0%, 60% 25%, 40% 25%, 30% 100%);
  }

  /* World map dots */
  .world-map {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image: radial-gradient(circle, #4a9eff 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 75%);
  }

  .hero-content {
    position: relative;
    z-index: 2;
  }

  .hero-logo-big {
    margin-bottom: 24px;
  }

  .hero-logo-svg {
    width: 320px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .hero-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(44px, 7vw, 88px);
    font-weight: 900;
    letter-spacing: 0.18em;
    line-height: 0.95;
    margin-bottom: 10px;
  }

  .hero-brand .line1 { color: var(--white); }
  .hero-brand .line2 {
    color: var(--blue-bright);
    text-shadow: 0 0 40px rgba(43, 138, 245, 0.5);
  }

  .hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.45em;
    color: var(--silver);
    text-transform: uppercase;
    margin-bottom: 28px;
  }

  .hero-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: var(--silver);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 36px;
  }

  .btn-primary {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    background: linear-gradient(135deg, #1a6fd4 0%, #0f4fa0 100%);
    border: none;
    border-radius: 6px;
    padding: 15px 44px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(26, 111, 212, 0.45), inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
  }

  .btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
    border-radius: 6px;
  }

  .btn-primary:hover {
    background: linear-gradient(135deg, #2b8af5 0%, #1a6fd4 100%);
    box-shadow: 0 6px 36px rgba(43, 138, 245, 0.65), inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-2px);
  }

  /* Две кнопки на hero рядом */
  .hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
  }
  /* Контурная кнопка (Оборудование) — равнозначна, но визуально отличается */
  .btn-primary-outline {
    background: transparent !important;
    border: 1px solid var(--blue-accent) !important;
    box-shadow: none !important;
    color: var(--white) !important;
  }
  .btn-primary-outline::after { display: none; }
  .btn-primary-outline:hover {
    background: var(--blue-accent) !important;
    box-shadow: 0 6px 36px rgba(43, 138, 245, 0.5) !important;
    transform: translateY(-2px);
  }
  

  /* SECTIONS */
  section {
    position: relative;
    z-index: 1;
  }

  .section-pad { padding: 80px 48px; }

  .section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: center;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
  }

  .section-title-wrap {
    text-align: center;
    margin-bottom: 48px;
  }

  .title-line {
    width: 48px;
    height: 3px;
    background: var(--blue-accent);
    margin: 10px auto 0;
    box-shadow: 0 0 12px var(--blue-glow);
  }

  /* ABOUT */
  .about {
    background: var(--bg-mid);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .about-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }

  .about-dash {
    width: 32px;
    height: 3px;
    background: var(--blue-accent);
    box-shadow: 0 0 10px var(--blue-glow);
  }

  .about-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.1em;
  }

  .about-text {
    font-size: 15px;
    font-weight: 300;
    color: var(--silver);
    line-height: 1.8;
  }

  .about-image {
    position: relative;
    height: 280px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: linear-gradient(135deg, #0d1e35, #0a1628);
  }

  .about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(26,111,212,0.1) 0%, transparent 50%),
      repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(26,111,212,0.04) 20px,
        rgba(26,111,212,0.04) 21px
      );
  }

  .about-image-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }

  /* PORT SVG illustration */
  .port-icon { opacity: 0.5; }

  /* DIRECTIONS */
  .directions { background: var(--bg-dark); }

  .directions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .dir-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 36px 32px 32px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease, border-color 0.6s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  }

  /* Верхняя линия отключена — подсветка идёт изнутри */
  .dir-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(59,130,246,0.18) 0%, rgba(59,130,246,0.06) 40%, transparent 72%);
    z-index: 0;
  }

  /* Мягкое свечение изнутри (снизу вверх) */
  .dir-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(ellipse 90% 70% at 50% 115%, rgba(96,165,250,0.20) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    z-index: 0;
  }
  .dir-card > * { position: relative; z-index: 1; }

  .dir-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: inset 0 0 50px rgba(59, 130, 246, 0.12), 0 12px 34px rgba(0,0,0,0.4);
  }

  .dir-card:hover::before { opacity: 1; }
  .dir-card:hover::after { opacity: 1; }

  .dir-icon {
    width: 56px;
    height: 56px;
    background: rgba(26, 111, 212, 0.1);
    border: 1px solid rgba(26, 111, 212, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
  }

  .dir-card:hover .dir-icon {
    background: rgba(26, 111, 212, 0.2);
    border-color: rgba(43, 138, 245, 0.5);
    transform: scale(1.08);
  }

  .dir-icon svg { width: 28px; height: 28px; stroke: var(--blue-bright); fill: none; stroke-width: 1.5; }

  /* Анимации иконок блоков «Направления» и «Промышленное оборудование».
     По умолчанию лёгкое постоянное парение, на hover — живее */
  @keyframes dirFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
  }
  @keyframes dirPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.12); }
  }
  @keyframes dirSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  @keyframes dirSpinPulse {
    0%   { transform: rotate(0deg) scale(1); }
    50%  { transform: rotate(180deg) scale(1.12); }
    100% { transform: rotate(360deg) scale(1); }
  }
  @keyframes dirRollers {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(2px); }
  }
  @keyframes dirDraw {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-2px) rotate(-3deg); }
  }
  .dir-icon svg { transition: transform 0.3s; }
  /* Единый стиль: ВСЕ иконки плавно пульсируют */
  .dir-card .dir-icon svg { animation: dirPulse 3s ease-in-out infinite; transform-origin: center; }
  /* Круглые иконки — «Автозапчасти» (2) и «Спецтехника» (1): вращение + пульсация */
  .directions .dir-card:nth-child(1) .dir-icon svg,
  .directions .dir-card:nth-child(2) .dir-icon svg { animation: dirSpinPulse 9s ease-in-out infinite; transform-origin: center; }
  /* На hover иконка чуть ускоряется/увеличивается — уже есть scale(1.08) у .dir-icon */
  @media (prefers-reduced-motion: reduce) {
    .dir-card .dir-icon svg { animation: none; }
  }

  .dir-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--white);
    transition: color 0.2s;
  }

  .dir-card:hover .dir-title { color: #a8cfff; }

  .dir-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.75;
  }

  /* HOW WE WORK */
  .how {
    background: var(--bg-mid);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
  }

  .steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-accent), var(--blue-accent), transparent);
    opacity: 0.5;
  }

  .step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
  }

  .step-num {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--blue-bright);
    margin-bottom: 8px;
  }

  .step-circle {
    width: 72px;
    height: 72px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(26,111,212,0.15);
  }

  .step-circle svg { width: 28px; height: 28px; stroke: var(--blue-bright); fill: none; stroke-width: 1.5; }

  /* Анимация «Как мы работаем» — эстафета подсветки 1→2→3 без перекрытия.
     Общий цикл 6с на все три; каждый горит в своём окне и полностью
     затухает, прежде чем загорится следующий */
  @keyframes stepGlow {
    0%   { border-color: var(--border); box-shadow: 0 0 20px rgba(26,111,212,0.15); transform: scale(1); }
    8%   { border-color: rgba(43,138,245,0.5); box-shadow: 0 0 22px rgba(43,138,245,0.32), inset 0 0 10px rgba(43,138,245,0.12); transform: scale(1.035); }
    25%  { border-color: var(--border); box-shadow: 0 0 20px rgba(26,111,212,0.15); transform: scale(1); }
    100% { border-color: var(--border); box-shadow: 0 0 20px rgba(26,111,212,0.15); transform: scale(1); }
  }
  @keyframes stepGlowIcon {
    0%   { filter: drop-shadow(0 0 0 rgba(43,138,245,0)); }
    8%   { filter: drop-shadow(0 0 4px rgba(43,138,245,0.5)); }
    25%  { filter: drop-shadow(0 0 0 rgba(43,138,245,0)); }
    100% { filter: drop-shadow(0 0 0 rgba(43,138,245,0)); }
  }
  .step-circle { animation: stepGlow 6s ease-in-out infinite; }
  .step-circle svg { animation: stepGlowIcon 6s ease-in-out infinite; }
  .step:nth-child(1) .step-circle,
  .step:nth-child(1) .step-circle svg { animation-delay: 0s; }
  .step:nth-child(2) .step-circle,
  .step:nth-child(2) .step-circle svg { animation-delay: 2s; }
  .step:nth-child(3) .step-circle,
  .step:nth-child(3) .step-circle svg { animation-delay: 4s; }
  @media (prefers-reduced-motion: reduce) {
    .step-circle, .step-circle svg { animation: none; }
  }

  .step-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--silver);
  }

  /* WHY */
  .why { background: var(--bg-dark); }

  .why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .why-card {
    position: relative;
    overflow: hidden;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease, border-color 0.6s ease;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  }

  .why-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(ellipse 90% 70% at 50% 115%, rgba(96,165,250,0.18) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    z-index: 0;
  }
  .why-card > * { position: relative; z-index: 1; }

  .why-card:hover {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: inset 0 0 50px rgba(59, 130, 246, 0.12), 0 12px 34px rgba(0,0,0,0.4);
    transform: translateY(-6px);
  }
  .why-card:hover::after { opacity: 1; }

  .why-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
  }

  .why-icon svg { width: 36px; height: 36px; stroke: var(--blue-bright); fill: none; stroke-width: 1.5; }

  /* Анимации иконок блока «Почему выбирают» */
  @keyframes whyPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(43,138,245,0)); }
    50%      { transform: scale(1.1); filter: drop-shadow(0 0 6px rgba(43,138,245,0.55)); }
  }
  @keyframes whySpinPulse {
    0%   { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 0 rgba(43,138,245,0)); }
    50%  { transform: rotate(180deg) scale(1.1); filter: drop-shadow(0 0 6px rgba(43,138,245,0.55)); }
    100% { transform: rotate(360deg) scale(1); filter: drop-shadow(0 0 0 rgba(43,138,245,0)); }
  }
  @keyframes whyBars {
    0%, 100% { transform: translateY(0) scaleY(1); }
    50%      { transform: translateY(-2px) scaleY(1.12); }
  }
  @keyframes whyTick {
    0%, 100% { transform: rotate(0deg); }
    25%      { transform: rotate(8deg); }
    75%      { transform: rotate(-8deg); }
  }
  @keyframes whyFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-4px) rotate(4deg); }
  }
  .why-card:nth-child(1) .why-icon svg,
  .why-card:nth-child(2) .why-icon svg,
  .why-card:nth-child(4) .why-icon svg { animation: whyPulse 2.8s ease-in-out infinite; transform-origin: center; }
  /* «Оперативность» (3) — часики: вращение + пульсация */
  .why-card:nth-child(3) .why-icon svg { animation: whySpinPulse 9s ease-in-out infinite; transform-origin: center; }
  @media (prefers-reduced-motion: reduce) {
    .why-card .why-icon svg { animation: none; }
  }

  .why-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
  }

  .why-text {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.65;
  }

  /* CONTACTS */
  .contacts {
    background: var(--bg-mid);
    border-top: 1px solid var(--border);
  }

  .contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
  }

  .contact-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease, border-color 0.6s ease;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  }

  .contact-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(ellipse 90% 70% at 50% 115%, rgba(96,165,250,0.18) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    z-index: 0;
  }
  .contact-card > * { position: relative; z-index: 1; }

  .contact-card:hover {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: inset 0 0 50px rgba(59, 130, 246, 0.12), 0 12px 34px rgba(0,0,0,0.4);
    transform: translateY(-6px);
  }
  .contact-card:hover::after { opacity: 1; }

  .contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59,130,246,0.12);
    border: 1px solid rgba(96,165,250,0.25);
  }

  .contact-icon svg { width: 22px; height: 22px; stroke: var(--blue-bright); fill: none; stroke-width: 1.5; }

  .contact-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 4px;
  }

  .contact-value {
    font-size: 14px;
    color: var(--text-muted);
  }

  /* FOOTER */
  footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-copy {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 300;
  }

  
  /* Hero side image */
  .hero-img-left {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 35%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
  }
  .hero-img-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    mask-image: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
  }

  /* Scroll indicator */
  .scroll-indicator {
    display: none;
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
  }
  .scroll-indicator span {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .scroll-indicator svg {
    width: 20px; height: 20px;
    stroke: var(--blue-accent);
    fill: none; stroke-width: 2;
    animation: bounceDown 1.8s ease-in-out infinite;
  }
  /* Touch hover for mobile */
  .dir-card.touch-hover {
    transform: translateY(-6px);
    border-color: rgba(43, 138, 245, 0.6);
    box-shadow: inset 0 0 40px rgba(29, 78, 216, 0.25), inset 0 0 12px rgba(43, 138, 245, 0.15), 0 8px 24px rgba(0,0,0,0.3);
  }
  .dir-card.touch-hover::before { left: 0; }
  .dir-card.touch-hover::after { opacity: 1; }
  .dir-card.touch-hover .dir-icon {
    background: rgba(26, 111, 212, 0.2);
    border-color: rgba(43, 138, 245, 0.5);
    transform: scale(1.08);
  }
  .why-card.touch-hover {
    border-color: rgba(43, 138, 245, 0.6);
    box-shadow: inset 0 0 40px rgba(29, 78, 216, 0.25), inset 0 0 12px rgba(43, 138, 245, 0.15), 0 8px 24px rgba(0,0,0,0.3);
    transform: translateY(-6px);
  }
  .contact-card.touch-hover {
    border-color: rgba(43, 138, 245, 0.6);
    box-shadow: inset 0 0 40px rgba(29, 78, 216, 0.25), inset 0 0 12px rgba(43, 138, 245, 0.15), 0 8px 24px rgba(0,0,0,0.3);
    transform: translateY(-6px);
  }

  @keyframes bounceDown {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%       { transform: translateY(7px); opacity: 0.5; }
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero-content > * {
    animation: fadeUp 0.7s ease both;
  }

  .hero-content > *:nth-child(1) { animation-delay: 0.1s; }
  .hero-content > *:nth-child(2) { animation-delay: 0.25s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.4s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.5s; }
  .hero-content > *:nth-child(5) { animation-delay: 0.6s; }

  /* Hero brand text */
  .hero-brand-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-align: center;
    margin-bottom: 6px;
  }
  .hbt-eleven { color: #C0C4CC; }
  .hbt-gate   { color: #3B82F6; }

  /* Nav brand text */
  .nav-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    margin-left: 2px;
  }
  .nb-eleven {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #C0C4CC;
  }
  .nb-gate {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #3B82F6;
  }

  /* Footer brand text */
  .footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    margin-left: 2px;
  }
  .fb-eleven {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #7a8fa8;
  }
  .fb-gate {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #3B82F6;
    opacity: 0.85;
  }

  /* ═══════════════════════════════════
     BURGER MENU BUTTON
  ═══════════════════════════════════ */
  .burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    z-index: 110;
  }
  .burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--silver);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ═══════════════════════════════════
     TABLET (≤ 1024px) — switch to burger
  ═══════════════════════════════════ */
  @media (max-width: 1024px) {
    nav { padding: 0 24px; justify-content: space-between; }
    .burger { display: flex; margin-left: auto; }
    .btn-nav { display: none; }
    .nav-actions { display: none; }
    .mobile-only { display: block; }
    .desktop-only-link { display: none; }


    /* Приоритетные пункты бургер-меню (Оборудование/Каталог) */
    .nav-links .nav-primary a {
      color: #fff;
      font-weight: 700;
      background: linear-gradient(135deg, #1a6fd4 0%, #0f4fa0 100%);
      border-radius: 8px;
      padding: 14px 16px;
      margin: 6px 0;
    }
    .nav-links li.nav-primary { border-bottom: none; }

    .nav-links {
      display: none;
      flex-direction: column;
      position: fixed;
      top: 64px; left: 0; right: 0;
      background: rgba(14, 17, 23, 0.98);
      backdrop-filter: blur(12px);
      padding: 24px 24px 32px;
      gap: 0;
      border-bottom: 1px solid var(--border);
      z-index: 100;
      align-items: flex-start;
    }
    .nav-links.open { display: flex; }
    .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%; }
    .nav-links a { display: block; padding: 14px 0; font-size: 15px; }
  }

  /* ═══════════════════════════════════
     TABLET (≤ 900px)
  ═══════════════════════════════════ */
  @media (max-width: 900px) {
    .section-pad { padding: 60px 24px; }
    .about-inner { grid-template-columns: 1fr; gap: 32px; }
    .about-image { height: 220px; }
    .directions-grid { grid-template-columns: 1fr; gap: 16px; }
    .steps { flex-wrap: wrap; gap: 24px; }
    .steps::before { display: none; }
    .step { flex: 0 0 calc(50% - 12px); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .contacts-grid { grid-template-columns: 1fr; gap: 12px; }
  }

  /* ═══════════════════════════════════
     MOBILE (≤ 640px)
  ═══════════════════════════════════ */
  @media (max-width: 640px) {

    /* NAV */
    nav { padding: 0 20px; height: 60px; }

    .nav-links { top: 60px; }

    /* HERO */
    .hero { padding: 90px 20px 80px; min-height: 100svh; min-height: 100vh; justify-content: center; }
    .hero-logo-svg { width: 200px !important; }
    .hero-brand-text { font-size: 22px; }
    .hero-tagline { font-size: 10px; letter-spacing: 0.3em; }
    .hero-desc { font-size: 14px; }
    /* Две кнопки рядом в одну строку на мобильной */
    .hero-cta { flex-wrap: nowrap; gap: 10px; }
    .hero-cta .btn-primary { padding: 14px 8px; font-size: 11px; letter-spacing: 0.08em; flex: 1; text-align: center; }
    /* Арабский: снимаем min-width:240px и большой padding (заданы в RTL-правилах),
       иначе две кнопки не влезают в экран */
    html[lang="ar"] .hero-cta .btn-primary {
      min-width: 0;
      padding: 14px 8px;
      font-size: 12px;
      flex: 1;
    }

    /* Scroll indicator */
    .scroll-indicator { display: flex; }

    /* SECTION PAD */
    .section-pad { padding: 48px 20px; }

    /* SECTION TITLES */
    .section-title { font-size: 20px; letter-spacing: 0.08em; }

    /* ABOUT */
    .about-inner { grid-template-columns: 1fr; gap: 24px; }
    .about-image { height: 200px; }
    .about-heading { font-size: 22px; }

    /* DIRECTIONS */
    .directions-grid { grid-template-columns: 1fr; gap: 12px; }
    .dir-card { padding: 24px 20px; }

    /* STEPS */
    .steps { flex-direction: column; align-items: center; gap: 20px; }
    .steps::before { display: none; }
    .step { width: 100%; max-width: 280px; }

    /* WHY */
    .why-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .why-card { padding: 18px 14px; }
    .why-title { font-size: 12px; }
    .why-text { font-size: 12px; }
    .why .section-title { font-size: 16px; letter-spacing: 0.06em; white-space: nowrap; }

    /* CONTACTS */
    .contacts-grid { grid-template-columns: 1fr; gap: 10px; }
    .contact-card { padding: 18px 16px; gap: 14px; }
    /* Иконку не сжимаем, текстовому блоку даём перенос — телефон/значения не сплющиваются */
    .contact-card > div:last-child { min-width: 0; flex: 1; }
    .contact-value { font-size: 13px; word-break: break-word; overflow-wrap: anywhere; line-height: 1.5; }
    .contact-label { white-space: normal; }

    /* FOOTER */
    footer {
      flex-direction: column;
      gap: 12px;
      padding: 20px;
      text-align: center;
    }
    .footer-copy { font-size: 11px; }

    /* MODAL */
    .modal { padding: 28px 20px; margin: 16px; max-width: calc(100vw - 32px); }
    .modal h3 { font-size: 16px; }

    /* NAV BRAND — smaller on mobile */
    .nav-brand { display: none; }
  }

