/* ==========================================================================
   ZHEBE 2.0 — шапка с Mega Menu, мобильное меню, поиск, окно расчёта.
   Визуальный язык — текущего сайта: пункты капсом, белая панель, жёлтый акцент.
   ========================================================================== */

/* ---------- Пункт шапки с панелью ---------- */
header .menu > ul > li.zh-mega-li {
    position: static;
    display: flex;
    align-items: center;
    height: 64px;
}
.zh-mega-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 15px;
    letter-spacing: .02em;
    line-height: 26px;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
    transition: color .18s;
}
header.is-tight .zh-mega-trigger {
    font-size: 13.5px;
    letter-spacing: 0;
}
.zh-mega-chevron {
    width: 10px;
    height: 10px;
    transition: transform .18s ease;
}
.zh-mega-trigger:hover,
.zh-mega-li.is-open > .zh-mega-trigger,
.zh-mega-trigger.active {
    color: #FFD003;
}
.zh-mega-li.is-open > .zh-mega-trigger .zh-mega-chevron {
    transform: rotate(180deg);
}
.zh-mega-trigger:focus-visible {
    outline: 2px solid #FFD003;
    outline-offset: 4px;
    border-radius: 4px;
}
/* Белая шапка (прокрутка и внутренние страницы) — тёмный текст, как у ссылок */
header.active .zh-mega-trigger,
.services-page header .zh-mega-trigger,
.about-page header .zh-mega-trigger,
.contacts-page header .zh-mega-trigger,
.error-page header .zh-mega-trigger,
.ok-page header .zh-mega-trigger,
.track-page header .zh-mega-trigger,
.media-page header .zh-mega-trigger {
    color: #000000;
}
header.active .zh-mega-trigger:hover,
header.active .zh-mega-li.is-open > .zh-mega-trigger,
.services-page header .zh-mega-trigger:hover,
.services-page header .zh-mega-li.is-open > .zh-mega-trigger,
.media-page header .zh-mega-li.is-open > .zh-mega-trigger,
header.active .zh-mega-trigger.active {
    color: #B48C00;
}
/* Белая шапка внутренних страниц: наведение и открытый раздел — золотистым, как у ссылок */
.services-page header .zh-mega-trigger:hover,
.services-page header .zh-mega-li.is-open > .zh-mega-trigger,
.about-page header .zh-mega-trigger:hover,
.about-page header .zh-mega-li.is-open > .zh-mega-trigger,
.contacts-page header .zh-mega-trigger:hover,
.contacts-page header .zh-mega-li.is-open > .zh-mega-trigger,
.error-page header .zh-mega-trigger:hover,
.error-page header .zh-mega-li.is-open > .zh-mega-trigger,
.ok-page header .zh-mega-trigger:hover,
.ok-page header .zh-mega-li.is-open > .zh-mega-trigger,
.track-page header .zh-mega-trigger:hover,
.track-page header .zh-mega-li.is-open > .zh-mega-trigger,
.media-page header .zh-mega-trigger:hover,
.media-page header .zh-mega-li.is-open > .zh-mega-trigger {
    color: #B48C00;
}
/* Тёмная тема: пункты всегда светлые — и поверх видео, и на тёмной шапке внутренних страниц */
html.dark header .zh-mega-trigger {
    color: #FFFFFF;
}
html.dark header .zh-mega-trigger:hover,
html.dark header .zh-mega-li.is-open > .zh-mega-trigger,
html.dark header .zh-mega-trigger.active {
    color: #FFD003;
}

/* ---------- Панель ---------- */
.zh-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.zh-mega-li.is-open > .zh-mega {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
}
.zh-mega__panel {
    max-width: 1280px;
    margin: 4px auto 0;
    padding: 32px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 28px;
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .22), 0 0 0 1px rgba(0, 0, 0, .04);
    white-space: normal;
    text-transform: none;
}
.zh-mega__cols {
    display: grid;
    grid-template-columns: repeat(var(--zh-cols, 3), minmax(0, 1fr));
    gap: 32px;
}
.zh-mega__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.zh-mega__title {
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #737373;
}
.zh-mega__col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.zh-mega__col li {
    float: none !important;
    margin: 0 !important;
}
header .zh-mega__col a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
    color: #262626;
    transition: color .15s;
}
header .zh-mega__col a:hover {
    color: #B48C00;
}
/* «Все направления →» под разделительной линией внизу панели «Направления» */
.zh-mega__foot {
    margin-top: -8px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, .08);
}
header .zh-mega a.zh-mega__all {
    display: inline-flex;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
    color: #1A1A1A;
    transition: color .15s;
}
header .zh-mega a.zh-mega__all:hover {
    color: #B48C00;
}

/* Плашка «Не знаете, какой транспорт выбрать?» */
header a.zh-mega__promo {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border-radius: 14px;
    background: #0A0A0A;
    color: #FFFFFF;
    text-transform: none;
    letter-spacing: 0;
    transition: background .18s;
}
header a.zh-mega__promo:hover {
    background: #1C1C1C;
    color: #FFFFFF;
}
.zh-mega__promo-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FFD003;
    color: #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zh-mega__promo-icon svg {
    width: 22px;
    height: 22px;
}
.zh-mega__promo-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: #A3A3A3;
}
.zh-mega__promo-text b {
    font-size: 17px;
    font-weight: 600;
    color: #FFFFFF;
}
.zh-mega__promo-go {
    color: #FFD003;
    font-weight: 600;
    white-space: nowrap;
}

html.dark .zh-mega__panel {
    background: #161A21;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06);
}
html.dark .zh-mega__title {
    color: #8B8F97;
}
html.dark header .zh-mega__col a {
    color: #E5E5E5;
}
html.dark header .zh-mega__col a:hover {
    color: #FFD003;
}
html.dark .zh-mega__foot {
    border-top-color: rgba(255, 255, 255, .1);
}
html.dark header .zh-mega a.zh-mega__all {
    color: #FFFFFF;
}
html.dark header .zh-mega a.zh-mega__all:hover {
    color: #FFD003;
}
html.dark header a.zh-mega__promo {
    background: #0E1116;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
}

/* ---------- Ширина шапки: семь разделов помещаются от 1200 px ----------
   Ступени ставит fitHeader() в zhebe2.js: is-tight (мельче шрифт) → zh-fit-compact (без почты,
   телефон иконкой) → zh-fit-mini (плотнее, без стрелок). Уже 1200 px — бургер, как раньше. */
.zh-menu-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 5px;
    border-radius: 50%;
    background: #F59E0B;
    vertical-align: middle;
}
header.zh-fit-compact .zh-mail--header,
header.zh-fit-compact .header-phone .email {
    display: none !important;
}
header.zh-fit-compact .header-phone .zh-call__num {
    display: none;
}
header.zh-fit-compact .header-right {
    gap: 10px !important;
}
header.zh-fit-mini .menu > ul {
    gap: 10px;
}
header.zh-fit-mini .menu a,
header.zh-fit-mini .zh-mega-trigger {
    font-size: 12.5px;
}
header.zh-fit-mini .zh-mega-chevron {
    display: none;
}
/* Последняя ступень (16.11.2026, масштаб Windows 125 % и браузера 110 %): ещё плотнее меню и правая часть —
   мессенджеры, телефон, поиск, язык и тема остаются на месте, ничего не переносится */
header.zh-fit-micro .menu > ul { gap: 8px; }
header.zh-fit-micro .menu a,
header.zh-fit-micro .zh-mega-trigger { font-size: 12px; letter-spacing: 0; }
header.zh-fit-micro .menu { margin-left: 12px !important; }
header.zh-fit-micro .header-right,
header.zh-fit-micro .header-right .item > .flex { gap: 6px !important; }
header.zh-fit-mini .menu {
    margin-left: 12px;
    padding-left: 12px;
}

/* Без вертикальной полосы между логотипом и меню (на всех страницах и в обеих темах) */
header .menu,
header.active .menu,
html.dark header .menu {
    border-left: 0 !important;
    padding-left: 0 !important;
    margin-left: 28px;
}
header.zh-fit-mini .menu {
    margin-left: 18px;
    padding-left: 0 !important;
}
/* Прозрачная шапка поверх видео: при наведении пункт жёлтый (старое правило красило в чёрный — не видно) */
.home-page header:not(.active) .menu a:hover,
.home-page header:not(.active) .menu a.active,
.service-page header:not(.active) .menu a:hover,
.service-page header:not(.active) .menu a.active {
    color: #FFD003;
}

/* ---------- Кнопка поиска в шапке ---------- */
.zh-search-btn svg {
    width: 17px;
    height: 17px;
}

@media (prefers-reduced-motion: reduce) {
    .zh-mega,
    .zh-mega-chevron {
        transition: none;
    }
}

/* ---------- Мобильное меню: разделы-аккордеоны ---------- */
.zh-mmenu {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}
#mobile-menu .zh-mmenu__link,
#mobile-menu .zh-macc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 15px 0;
    border: 0;
    border-bottom: 1px solid #ECECEC;
    background: none;
    font: inherit;
    font-size: 18px;
    letter-spacing: .01em;
    text-transform: uppercase;
    text-align: left;
    color: #0A0A0A;
    cursor: pointer;
}
.zh-macc__head svg {
    flex-shrink: 0;
    width: 13px;
    height: 13px;
    transition: transform .2s ease;
}
#mobile-menu .zh-macc.is-open > .zh-macc__head {
    color: #B48C00;
    border-bottom-color: transparent;
}
.zh-macc.is-open > .zh-macc__head svg {
    transform: rotate(180deg);
}
.zh-macc__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .22s ease;
}
.zh-macc.is-open > .zh-macc__body {
    grid-template-rows: 1fr;
    border-bottom: 1px solid #ECECEC;
}
.zh-macc__body > ul {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.zh-macc.is-open > .zh-macc__body > ul {
    padding: 2px 0 18px 2px;
}
#mobile-menu .zh-macc__body a {
    font-size: 16px;
    line-height: 1.35;
    color: #404040;
    text-transform: none;
}
/* Заголовок колонки со своей страницей и «Все направления →» — полужирные, как заголовки колонок в шапке */
#mobile-menu .zh-macc__body a.zh-macc__hub {
    font-weight: 600;
}
.zh-mmenu__foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
html #mobile-menu a.zh-mmenu__cta {
    display: block;
    padding: 14px;
    border-radius: 12px;
    background: #FFD003;
    color: #0A0A0A !important;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}
html #mobile-menu a.zh-mmenu__app {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1.5px solid #FFD003;
    border-radius: 8px;
    background: #111827;
    color: #FFD003 !important;
    font-weight: 700;
}
.zh-mmenu__app img {
    width: 18px;
    height: 14px;
}
html.dark #mobile-menu .zh-mmenu__link,
html.dark #mobile-menu .zh-macc__head {
    color: #FFFFFF;
    border-bottom-color: rgba(255, 255, 255, .1);
}
html.dark #mobile-menu .zh-macc.is-open > .zh-macc__head {
    color: #FFD003;
}
html.dark .zh-macc.is-open > .zh-macc__body {
    border-bottom-color: rgba(255, 255, 255, .1);
}
html.dark #mobile-menu .zh-macc__body a {
    color: #C4C4C4 !important;
}

/* ---------- Поиск ---------- */
.zh-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
html.zh-noscroll {
    overflow: hidden;
}
.zh-search {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 72px 16px 16px;
    opacity: 0;
    transition: opacity .18s ease;
}
.zh-search.is-open {
    opacity: 1;
}
.zh-search[hidden] {
    display: none;
}
.zh-search__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, .7);
}
.zh-search__box {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    transform: translateY(-8px);
    transition: transform .18s ease;
}
.zh-search.is-open .zh-search__box {
    transform: none;
}
.zh-search__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid #EEEEEE;
}
.zh-search__bar > svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: #0A0A0A;
}
.zh-search__bar input {
    flex: 1;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 19px;
    color: #0A0A0A;
}
.zh-search__esc {
    flex-shrink: 0;
    margin: 0 !important;
    padding: 3px 8px;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    background: transparent;
    font: inherit;
    font-size: 12px;
    color: #737373;
    cursor: pointer;
}
.zh-search__results {
    overflow-y: auto;
    padding: 6px 12px;
}
.zh-search__results:empty {
    padding: 0;
}
.zh-search__group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
}
.zh-search__group-title {
    padding: 8px 12px 4px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #737373;
}
a.zh-search__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #0A0A0A;
    transition: background .15s;
}
a.zh-search__item:hover,
a.zh-search__item:focus-visible {
    background: #FFFBEA;
    outline: none;
}
.zh-search__item b {
    font-weight: 600;
    font-size: 15px;
}
.zh-search__item span {
    font-size: 13px;
    color: #525252;
}
.zh-search__item mark {
    background: #FFE680;
    color: inherit;
    border-radius: 2px;
}
.zh-search__empty {
    padding: 18px 12px;
    color: #525252;
}
.zh-search__hints {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-top: 1px solid #EEEEEE;
    background: #FAFAFA;
    font-size: 13px;
    color: #737373;
}
.zh-search__hints button {
    margin: 0 !important;
    padding: 6px 12px;
    border: 1px solid #E5E5E5;
    border-radius: 999px;
    background: #FFFFFF;
    font: inherit;
    color: #0A0A0A;
    cursor: pointer;
}
.zh-search__hints button:hover {
    border-color: #FFD003;
}
html.dark .zh-search__box {
    background: #161A21;
}
html.dark .zh-search__bar,
html.dark .zh-search__hints {
    border-color: rgba(255, 255, 255, .08);
}
html.dark .zh-search__bar > svg,
html.dark .zh-search__bar input,
html.dark a.zh-search__item {
    color: #FFFFFF;
}
html.dark .zh-search__item span,
html.dark .zh-search__empty {
    color: #A3A3A3;
}
html.dark a.zh-search__item:hover {
    background: rgba(255, 208, 3, .08);
}
html.dark .zh-search__item mark {
    background: rgba(255, 208, 3, .35);
}
html.dark .zh-search__hints {
    background: #0E1116;
}
html.dark .zh-search__hints button {
    background: transparent;
    border-color: rgba(255, 255, 255, .15);
    color: #FFFFFF;
}

/* Страница /search без JS */
.zh-search-page {
    padding: 140px 0 96px;
    min-height: 60vh;
}
.zh-search-page h1 {
    margin-bottom: 24px;
}
.zh-search-page__form {
    display: flex;
    gap: 12px;
    max-width: 760px;
    margin-bottom: 24px;
}
.zh-search-page__form input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    font: inherit;
    font-size: 17px;
}
.zh-search-page__form button {
    margin: 0;
    padding: 14px 22px;
    border: 0;
    border-radius: 12px;
    background: #FFD003;
    color: #111; /* QA 02.11: в тёмной теме наследовался белый — нечитаемо на жёлтом */
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.zh-search-page .zh-search__group {
    max-width: 760px;
}

/* ---------- Первый экран главной: две кнопки ---------- */
.zh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
a.zh-hero-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 18px;
    transition: background .18s, border-color .18s;
}
a.zh-hero-ghost:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

/* ---------- Smart Quote: окно расчёта ---------- */
.zh-quote {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 16px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity .18s ease;
}
.zh-quote[hidden] {
    display: none;
}
.zh-quote.is-open {
    opacity: 1;
}
.zh-quote__overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, .7);
}
.zh-quote__box {
    position: relative;
    width: 100%;
    max-width: 820px;
    padding: 36px;
    box-sizing: border-box;
    background: #FFFFFF;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    color: #0A0A0A;
    transform: translateY(-8px);
    transition: transform .18s ease;
}
.zh-quote.is-open .zh-quote__box {
    transform: none;
}
.zh-quote__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #F2F2F2;
    color: #404040;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zh-quote__close svg {
    width: 20px;
    height: 20px;
}
.zh-quote__head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    padding-right: 48px;
}
.zh-quote__title {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 500;
}
.zh-quote__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: #8A8A8A;
}
.zh-quote__steps li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.zh-quote__steps li span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #EEEEEE;
    color: #6B6B6B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}
.zh-quote__steps li.is-current {
    color: #0A0A0A;
}
.zh-quote__steps li.is-current span,
.zh-quote__steps li.is-done span {
    background: #FFD003;
    color: #0A0A0A;
}
.zh-quote__tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}
.zh-quote__tab {
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 6px;
    border: 1px solid #E5E5E5;
    border-radius: 14px;
    background: #FFFFFF;
    font: inherit;
    font-size: 14px;
    color: #262626;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.zh-quote__tab svg {
    width: 24px;
    height: 24px;
}
.zh-quote__tab:hover {
    border-color: #FFD003;
}
.zh-quote__tab[aria-selected="true"] {
    border-color: #E6BC00;
    background: #FFFBEA;
    box-shadow: inset 0 0 0 1px #E6BC00;
}
.zh-quote__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.zh-quote__field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 14px;
    color: #404040;
}
.zh-quote__field b,
.zh-quote__check b {
    color: #D97706;
    font-weight: 600;
}
.zh-quote__field.is-wide,
.zh-quote__check.is-wide {
    grid-column: 1 / -1;
}
.zh-quote__field input,
.zh-quote__field select,
.zh-quote__field textarea {
    width: 100%;
    box-sizing: border-box;
    height: auto;
    margin: 0;
    padding: 13px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    background: #FFFFFF;
    font: inherit;
    font-size: 16px;
    color: #0A0A0A;
    transition: border-color .15s, box-shadow .15s;
}
.zh-quote__field textarea {
    resize: vertical;
}
.zh-quote__field input:focus,
.zh-quote__field select:focus,
.zh-quote__field textarea:focus {
    outline: none;
    border-color: #E6BC00;
    box-shadow: 0 0 0 3px rgba(255, 208, 3, .25);
}
.zh-quote__field .is-invalid {
    border-color: #DC2626;
}
.zh-quote__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: #404040;
    cursor: pointer;
}
.zh-quote__check input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: #E6BC00;
    flex-shrink: 0;
}
.zh-quote__check input.is-invalid {
    outline: 2px solid #DC2626;
    outline-offset: 1px;
}
.zh-quote__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 26px;
}
.zh-quote__error {
    flex: 1;
    font-size: 14px;
    color: #DC2626;
}
.zh-quote__next {
    margin: 0 0 0 auto !important;
    padding: 15px 28px;
    border: 0;
    border-radius: 12px;
    background: #FFD003;
    color: #0A0A0A;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.zh-quote__next:hover {
    background: #E6BC00;
}
.zh-quote__next:disabled {
    opacity: .6;
    cursor: wait;
}
.zh-quote__back {
    margin: 0 !important;
    padding: 15px 4px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 15px;
    color: #525252;
    cursor: pointer;
}
html.dark .zh-quote__box {
    background: #161A21;
    color: #FFFFFF;
}
html.dark .zh-quote__close {
    background: rgba(255, 255, 255, .08);
    color: #FFFFFF;
}
html.dark .zh-quote__steps li.is-current {
    color: #FFFFFF;
}
html.dark .zh-quote__steps li span {
    background: rgba(255, 255, 255, .1);
    color: #A3A3A3;
}
html.dark .zh-quote__tab {
    background: transparent;
    border-color: rgba(255, 255, 255, .12);
    color: #E5E5E5;
}
html.dark .zh-quote__tab[aria-selected="true"] {
    background: rgba(255, 208, 3, .1);
    border-color: #FFD003;
    box-shadow: inset 0 0 0 1px #FFD003;
}
html.dark .zh-quote__field,
html.dark .zh-quote__check,
html.dark .zh-quote__back {
    color: #C4C4C4;
}
html.dark .zh-quote__field input,
html.dark .zh-quote__field select,
html.dark .zh-quote__field textarea {
    background: #0E1116;
    border-color: rgba(255, 255, 255, .12);
    color: #FFFFFF;
}
@media (max-width: 640px) {
    .zh-quote {
        padding: 0;
    }
    .zh-quote__box {
        min-height: 100%;
        border-radius: 0;
        padding: 24px 16px;
    }
    .zh-quote__title {
        font-size: 21px;
    }
    .zh-quote__tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .zh-quote__grid {
        grid-template-columns: 1fr;
    }
    .zh-quote__actions {
        flex-wrap: wrap;
    }
}
.zh-quote [hidden] {
    display: none !important;
}
.zh-quote__field input::placeholder,
.zh-quote__field textarea::placeholder {
    color: #A3A3A3;
    opacity: 1;
}
.zh-quote__field select:invalid,
.zh-quote__field select.is-empty {
    color: #A3A3A3;
}
html.dark .zh-quote__field input::placeholder,
html.dark .zh-quote__field textarea::placeholder {
    color: #6B7280;
}
/* Старые стили прячут стандартные чекбоксы — в окне расчёта возвращаем */
.zh-quote__check input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: auto;
    display: inline-block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
}
html.dark .zh-quote__steps li.is-current span,
html.dark .zh-quote__steps li.is-done span {
    background: #FFD003;
    color: #0A0A0A;
}

/* ---------- Карта коридоров (главная, блок 3) ---------- */
#geo.zh-geo {
    position: relative;
    height: auto;
    padding: 96px 0;
    background: #EEF0F2;
}
.zh-geo__head {
    margin-bottom: 40px;
}
.zh-geo__head h2 {
    display: block;
    margin-bottom: 12px;
    font-size: 3.5rem;
    line-height: 120%;
}
.zh-geo__head h2.zh-geo__lead {
    margin-bottom: 0;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    text-transform: none;
}
.zh-geo__layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.zh-geo__controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.zh-geo__label {
    margin-top: 6px;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #6B6B6B;
}
.zh-geo__corridors,
.zh-geo__modes {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.zh-geo__modes {
    flex-direction: row;
    flex-wrap: wrap;
}
.zh-geo__corridor,
.zh-geo__mode {
    margin: 0 !important;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    background: #FFFFFF;
    font: inherit;
    font-size: 15px;
    text-align: left;
    color: #0A0A0A;
    cursor: pointer;
    transition: background .18s, border-color .18s;
}
.zh-geo__corridor:hover,
.zh-geo__mode:hover {
    border-color: #FFD003;
}
.zh-geo__corridor[aria-checked="true"],
.zh-geo__mode[aria-checked="true"] {
    background: #FFF3B0;
    border-color: #E6BC00;
}
.zh-geo__mode {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
}
.zh-geo__mode i,
.zh-geo__legend i {
    display: inline-block;
    width: 22px;
    height: 0;
    border-top: 3px solid #0A0A0A;
}
.zh-geo__mode--all i {
    display: none;
}
.zh-geo__mode--rail i,
.zh-geo__legend--rail i { border-top: 3px dashed #F08C00; }
.zh-geo__mode--auto i,
.zh-geo__legend--auto i { border-top-color: #4AA8E8; }
.zh-geo__mode--sea i,
.zh-geo__legend--sea i { border-top: 3px dotted #1565C0; }
.zh-geo__mode--avia i,
.zh-geo__legend--avia i { border-top: 3px dotted #7C3AED; }
.zh-geo__legend--crossing i {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: #2E9E5B;
}
.zh-geo__info {
    margin-top: 8px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #FFFFFF;
    font-size: 14px;
    line-height: 1.55;
    color: #404040;
}
.zh-geo__info b {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 600;
    color: #0A0A0A;
}
.zh-geo__info p {
    margin: 0;
}
.zh-geo__map {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 0 0 1px #E5E5E5;
}
.zh-geo__map svg {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2000 / 1134;
}
.zh-geo__base {
    transition: opacity .3s;
}
.zh-geo__base.is-dim {
    opacity: .32;
}
.zh-geo__route {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    stroke-width: 4px;
    opacity: 0;
    transition: opacity .3s;
}
.zh-geo__route.is-on { opacity: 1; }
.zh-geo__route--rail { stroke: #F08C00; stroke-dasharray: 12 7; }
.zh-geo__route--auto { stroke: #4AA8E8; }
.zh-geo__route--sea { stroke: #1565C0; stroke-dasharray: 1 8; stroke-width: 4.5px; }
.zh-geo__route--avia { stroke: #7C3AED; stroke-dasharray: 1 9; }
.zh-geo__vehicle {
    transition: opacity .3s;
}
.zh-geo__vehicle.is-off {
    opacity: 0;
}
.zh-geo__node circle {
    fill: #FFD003;
    stroke: #FFFFFF;
    stroke-width: 2.5px;
    vector-effect: non-scaling-stroke;
}
.zh-geo__node.is-crossing circle {
    fill: #2E9E5B;
}
.zh-geo__node {
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: opacity .3s;
}
.zh-geo__node.is-on {
    opacity: 1;
    pointer-events: auto;
}
.zh-geo__node.is-ghost {
    pointer-events: auto;
}
.zh-geo__tip {
    position: absolute;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 8px;
    background: #0A0A0A;
    color: #FFFFFF;
    font-size: 13px;
    white-space: nowrap;
    pointer-events: none;
    transform: translate(-50%, calc(-100% - 8px));
}
.zh-geo__tip[hidden] {
    display: none;
}
.zh-geo__legend {
    position: absolute;
    left: 16px;
    bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .92);
    font-size: 13px;
    color: #404040;
}
.zh-geo__legend li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.zh-geo__regions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}
.zh-geo__regions li {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    font-size: 14px;
    color: #404040;
}
html.dark #geo.zh-geo {
    background: #0E1116;
}
html.dark .zh-geo__corridor,
html.dark .zh-geo__mode,
html.dark .zh-geo__info {
    background: #161A21;
    border-color: rgba(255, 255, 255, .1);
    color: #E5E5E5;
}
html.dark .zh-geo__info b {
    color: #FFFFFF;
}
html.dark .zh-geo__corridor[aria-checked="true"],
html.dark .zh-geo__mode[aria-checked="true"] {
    background: rgba(255, 208, 3, .14);
    border-color: #FFD003;
}
html.dark .zh-geo__map {
    background: #161A21;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
html.dark .zh-geo__regions li {
    background: rgba(255, 255, 255, .06);
    color: #C4C4C4;
}
@media (max-width: 1024px) {
    .zh-geo__layout {
        grid-template-columns: 1fr;
    }
    .zh-geo__corridors {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
@media (max-width: 640px) {
    #geo.zh-geo {
        padding: 56px 0;
    }
    .zh-geo__head h2 {
        font-size: 2rem;
    }
    .zh-geo__head h2.zh-geo__lead {
        font-size: 1.1rem;
    }
    .zh-geo__legend {
        position: static;
        margin: 8px;
    }
}

/* ---------- Страница услуги: новые блоки (этап 3) ---------- */
.zh-svc-block {
    padding: 96px 0;
    background: #FFFFFF;
}
.zh-svc-block--grey {
    background: #F5F5F5;
}
.zh-svc-block--dark {
    background: #0A0A0A;
    color: #FFFFFF;
}
#process.zh-svc-block {
    height: auto;
    padding: 96px 0;
}
.zh-svc-block__head {
    margin-bottom: 48px;
}
.zh-svc-block__head h2 {
    margin: 0;
    font-size: 3rem;
    line-height: 1.1;
    text-transform: uppercase;
}
.zh-svc-block--dark .zh-svc-block__head h2 {
    color: #FFFFFF;
}
.zh-arrows {
    display: block;
    width: 50px;
    height: 18px;
    margin-top: auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='18' fill='none' stroke='%230A0A0A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3l7 6-7 6M19 3l7 6-7 6M36 3l7 6-7 6'/%3E%3C/svg%3E") left center no-repeat;
    transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}

/* Виды перевозок */
.zh-kinds {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
a.zh-kind {
    min-height: 240px;
    box-sizing: border-box;
    padding: 34px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid #ECECEC;
    border-radius: 20px;
    background: #FFFFFF;
    color: #0A0A0A;
    transition: border-color .2s, box-shadow .25s, transform .25s;
}
a.zh-kind:hover {
    border-color: #FFD003;
    box-shadow: 0 18px 40px rgba(10, 10, 10, .07);
    transform: translateY(-3px);
    color: #0A0A0A;
}
a.zh-kind:hover .zh-arrows {
    transform: translateX(10px);
}
.zh-kind h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 500;
}
.zh-kind p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #6B6B6B;
}

/* Типы транспорта */
.zh-veh-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}
.zh-veh-card {
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #FFFFFF;
    font: inherit;
    color: #0A0A0A;
    cursor: pointer;
    transition: border-color .2s, transform .2s;
}
.zh-veh-card:hover {
    transform: translateY(-3px);
}
.zh-veh-card[aria-selected="true"] {
    border-color: #FFD003;
}
.zh-veh-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.zh-veh-card b {
    padding: 14px 16px 4px;
    font-size: 16px;
    font-weight: 600;
}
.zh-veh-card span {
    padding: 0 16px 16px;
    font-size: 13px;
    line-height: 1.45;
    color: #6B6B6B;
}
.zh-veh-detail {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    overflow: hidden;
    border-radius: 20px;
    background: #FFFFFF;
}
.zh-veh-detail[hidden] {
    display: none;
}
.zh-veh-detail > img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}
.zh-veh-detail__body {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.zh-veh-detail__body h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 500;
}
.zh-veh-detail__body p {
    margin: 0;
    line-height: 1.6;
    color: #525252;
}
.zh-veh-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 0;
}
.zh-veh-specs div {
    padding: 14px 16px;
    border-radius: 12px;
    background: #F5F5F5;
}
.zh-veh-specs dt {
    font-size: 13px;
    color: #6B6B6B;
}
.zh-veh-specs dd {
    margin: 4px 0 0;
    font-size: 20px;
    font-weight: 600;
}
a.zh-btn-yellow {
    align-self: flex-start;
    margin-top: auto;
    padding: 14px 22px;
    border-radius: 10px;
    background: #FFD003;
    color: #0A0A0A;
    font-weight: 600;
}
a.zh-btn-yellow:hover {
    background: #E6BC00;
    color: #0A0A0A;
}

/* Какие грузы перевозим */
.zh-cargo {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.zh-cargo__item {
    min-height: 200px;
    box-sizing: border-box;
    padding: 32px;
    display: flex;
    flex-direction: column;
    border: 1px solid #F3D64E;
    border-radius: 20px;
    background: #FFFFFF;
    transition: background .2s, transform .25s, box-shadow .25s;
}
.zh-cargo__item:hover {
    background: #FFFBEA;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(10, 10, 10, .06);
}
.zh-cargo__num {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #FFD003;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    color: #0A0A0A;
}
.zh-cargo__item h3 {
    margin: 24px 0 0;
    font-size: 1.4rem;
    font-weight: 500;
}
.zh-cargo__item p {
    margin: 10px 0 0;
    line-height: 1.6;
    color: #404040;
}

/* Как проходит перевозка: этапы подсвечиваются при прокрутке */
.zh-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}
.zh-steps::before {
    content: '';
    position: absolute;
    left: 24px;
    /* от центра первого кружка до центра последнего: колонка = (100% − 4 × 16px) / 5 */
    right: calc(20% - 36.8px);
    top: 23px;
    height: 2px;
    background: #262626;
}
.zh-steps::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 23px;
    height: 2px;
    width: calc((80% + 12.8px) * var(--zh-steps-progress, 0));
    background: #FFD003;
    transition: width .5s ease;
}
.zh-steps__item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: .45;
    transition: opacity .4s ease;
}
.zh-steps__item.is-lit {
    opacity: 1;
}
.zh-steps__num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1F1F1F;
    color: #A3A3A3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: background .4s, color .4s, box-shadow .4s;
}
.zh-steps__item.is-lit .zh-steps__num {
    background: #FFD003;
    color: #0A0A0A;
    box-shadow: 0 0 0 8px rgba(255, 208, 3, .18);
}
.zh-steps__item h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 500;
    color: #FFFFFF;
}
.zh-steps__item p {
    margin: 0;
    line-height: 1.6;
    color: #A3A3A3;
}
.zh-steps__dirs {
    margin-top: 48px;
    color: #D4D4D4;
}
.zh-steps__dirs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 12px;
}
@media (prefers-reduced-motion: reduce) {
    .zh-steps__item {
        opacity: 1;
    }
}

html.dark .zh-svc-block {
    background: #11141A;
}
html.dark .zh-svc-block--grey {
    background: #0E1116;
}
html.dark .zh-svc-block--dark {
    background: #0A0A0A;
}
html.dark .zh-svc-block__head h2 {
    color: #FFFFFF;
}
html.dark a.zh-kind,
html.dark .zh-veh-card,
html.dark .zh-veh-detail,
html.dark .zh-cargo__item {
    background: #161A21;
    border-color: rgba(255, 255, 255, .1);
    color: #FFFFFF;
}
html.dark a.zh-kind:hover {
    border-color: #FFD003;
    color: #FFFFFF;
}
html.dark .zh-cargo__item:hover {
    background: rgba(255, 208, 3, .06);
}
html.dark .zh-kind p,
html.dark .zh-cargo__item p,
html.dark .zh-veh-card span,
html.dark .zh-veh-detail__body p {
    color: #A3A3A3;
}
html.dark .zh-veh-card[aria-selected="true"] {
    border-color: #FFD003;
}
html.dark .zh-veh-specs div {
    background: rgba(255, 255, 255, .05);
}
html.dark .zh-arrows {
    filter: invert(1);
}
@media (max-width: 1024px) {
    .zh-kinds {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .zh-cargo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .zh-steps {
        grid-template-columns: 1fr;
    }
    .zh-steps::before,
    .zh-steps::after {
        display: none;
    }
    .zh-veh-detail {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .zh-svc-block {
        padding: 56px 0;
    }
    .zh-svc-block__head h2 {
        font-size: 2rem;
    }
    .zh-kinds,
    .zh-cargo {
        grid-template-columns: 1fr;
    }
}
/* Длинная подпись («Рассчитать автоперевозку») не переносится */
.zh-hero-actions > a[data-quote-open] {
    width: auto;
    max-width: none;
    padding-left: 28px;
    padding-right: 28px;
    white-space: nowrap;
}

/* ---------- Карта маршрутов (векторная, по образцу ktze.kz) ---------- */
.zh-vmap {
    --zh-mode-auto: #3FA9E6;
    --zh-mode-rail: #F07800;
    --zh-mode-sea: #1565C0;
    --zh-mode-all: #B48C00;
}
html.dark .zh-vmap {
    --zh-mode-auto: #5CC2FF;
    --zh-mode-rail: #FF9A2E;
    --zh-mode-sea: #4C8DFF;
    --zh-mode-all: #FFD003;
}
#geo.zh-vmap {
    position: relative;
    height: auto;
    padding: 96px 0;
    background: #FFFFFF;
}
.zh-vmap__head {
    margin-bottom: 36px;
    padding-bottom: 22px;
    border-bottom: 2px solid #FFD003;
}
.zh-vmap__head h2 {
    display: block;
    margin-bottom: 12px;
    font-size: 3.5rem;
    line-height: 120%;
}
.zh-vmap__head h2.zh-vmap__lead {
    margin-bottom: 0;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    text-transform: none;
}
.zh-vmap__frame {
    overflow: hidden;
    border: 1px solid #DCE3EC;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 20px 50px -30px rgba(15, 23, 42, .25);
}
.zh-vmap__map {
    position: relative;
    height: 620px;
    background: #F3F6FA;
}
.zh-vmap__canvas,
.zh-vmap__canvas.maplibregl-map {
    /* maplibre-gl.css ставит контейнеру position: relative — без высоты карта схлопывается */
    position: absolute;
    inset: 0;
}

/* Виды транспорта — кнопки поверх карты */
.zh-vmap__modes {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 90px);
    padding: 5px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 6px 20px rgba(15, 23, 42, .1), 0 0 0 1px rgba(15, 23, 42, .06);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.zh-vmap__mode {
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font: inherit;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.zh-vmap__mode svg {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
}
.zh-vmap__mode span {
    white-space: nowrap;
}
.zh-vmap__mode--auto svg { color: var(--zh-mode-auto); }
.zh-vmap__mode--rail svg { color: var(--zh-mode-rail); }
.zh-vmap__mode--sea svg { color: var(--zh-mode-sea); }
.zh-vmap__mode:hover {
    background: #F1F4F8;
}
.zh-vmap__mode[aria-checked="true"] {
    background: #0A0A0A;
    color: #FFFFFF;
}
.zh-vmap__mode--all[aria-checked="true"] svg {
    color: #FFD003;
}

.zh-vmap__zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.zh-vmap__zoom button {
    margin: 0 !important;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .12), 0 0 0 1px rgba(15, 23, 42, .06);
    color: #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s;
}
.zh-vmap__zoom button:hover {
    transform: translateY(-1px);
}
.zh-vmap__zoom svg {
    width: 18px;
    height: 18px;
}

.zh-vmap__legend-btn {
    display: none;
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 3;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 6px 20px rgba(15, 23, 42, .1), 0 0 0 1px rgba(15, 23, 42, .06);
    font-size: 13px;
    font-weight: 500;
    color: #1E293B;
    cursor: pointer;
}
html.dark .zh-vmap__legend-btn {
    background: rgba(17, 24, 39, .92);
    color: #E2E8F0;
}
.zh-vmap__legend {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .9);
    font-size: 12.5px;
    color: #334155;
}
.zh-vmap__legend li {
    display: flex;
    align-items: center;
    gap: 7px;
}
.zh-vmap__legend i {
    width: 22px;
    border-top: 3px solid;
}
.zh-vmap__legend--auto i { border-color: var(--zh-mode-auto); }
.zh-vmap__legend--rail i { border-top-style: dashed; border-color: var(--zh-mode-rail); }
.zh-vmap__legend--sea i { border-top-style: dotted; border-color: var(--zh-mode-sea); }
.zh-vmap__legend--pending i { border-top-style: dashed; border-color: #94A3B8; opacity: .7; }
.zh-vmap__legend--crossing i {
    width: 12px;
    height: 12px;
    border: 3px solid #16A34A;
    border-radius: 50%;
    background: #FFFFFF;
}
.zh-vmap__fail {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    color: #64748B;
}
.zh-vmap__fail[hidden] {
    display: none;
}

/* Список коридоров под картой */
.zh-vmap__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    margin: 0;
    padding: 16px;
    list-style: none;
    border-top: 1px solid #E6EBF1;
    background: #FBFCFD;
}
.zh-vmap__route {
    width: 100%;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    font: inherit;
    text-align: left;
    color: #0F172A;
    cursor: pointer;
    transition: border-color .15s, box-shadow .2s, transform .2s;
}
.zh-vmap__route:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -10px rgba(15, 23, 42, .25);
}
.zh-vmap__route[aria-pressed="true"] {
    border-color: var(--zh-route);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--zh-route) 18%, transparent);
}
.zh-vmap__chev {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--zh-route);
    transition: transform .2s;
}
.zh-vmap__route[aria-pressed="true"] .zh-vmap__chev {
    transform: rotate(180deg);
}
.zh-vmap__route-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.zh-vmap__route-text b {
    font-size: 15px;
    font-weight: 600;
}
.zh-vmap__route-text small {
    font-size: 12.5px;
    line-height: 1.4;
    color: #64748B;
}
.zh-vmap__route-modes {
    display: flex;
    gap: 4px;
}
.zh-vmap__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.zh-vmap__dot--auto { background: var(--zh-mode-auto); }
.zh-vmap__dot--rail { background: var(--zh-mode-rail); }
.zh-vmap__dot--sea { background: var(--zh-mode-sea); }
.zh-vmap__pending {
    color: #B45309 !important;
}
html.dark .zh-vmap__pending {
    color: #FBBF24 !important;
}

.zh-vmap__popular {
    margin-top: 22px;
}
.zh-vmap__popular-title {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}
.zh-vmap__popular-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
}
.zh-vmap__card {
    margin: 0 !important;
    flex: 0 0 200px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #F7F8FA;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.zh-vmap__card.is-active,
.zh-vmap__card:hover {
    border-color: #FFD003;
}
.zh-vmap__card img {
    width: 100%;
    height: 90px;
    object-fit: cover;
}
.zh-vmap__card span {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}
.zh-vmap__card small {
    color: #64748B;
}
.zh-vmap__regions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}
.zh-vmap__regions li {
    padding: 6px 12px;
    border-radius: 999px;
    background: #F1F4F8;
    font-size: 14px;
    color: #404040;
}

/* Узлы: кольцо, порт — с якорем, переход — зелёное кольцо; подписи капсом */
.zh-vnode {
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}
/* Нажимаются только точка и подпись: прямоугольник маркера шире них и закрывал бы соседние точки */
.zh-vmap .zh-vnode {
    pointer-events: none;
    cursor: pointer;
}
.zh-vmap .zh-vnode > * {
    pointer-events: auto;
}
.zh-vnode:focus {
    outline: none;
}
.zh-vnode:focus-visible i {
    outline: 2px solid #1565C0;
    outline-offset: 2px;
}
/* На телефоне точка нажимается пальцем: область нажатия шире самой точки */
@media (pointer: coarse) {
    .zh-vnode i {
        position: relative;
    }
    .zh-vnode i::after {
        content: "";
        position: absolute;
        inset: -10px;
        border-radius: 50%;
    }
}
.zh-vnode[hidden] {
    display: none;
}
/* Город мягко проявляется, когда до него доходит линия маршрута */
@keyframes zhNodeIn {
    from { opacity: 0; transform: scale(.6); }
    to { opacity: 1; transform: none; }
}
.zh-vnode:not([hidden]) > * {
    animation: zhNodeIn .45s cubic-bezier(.2, .7, .2, 1) both;
}
/* подпись страны — сам маркер, его transform задаёт позицию: анимируем только прозрачность */
@keyframes zhFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.zh-varea {
    animation: zhFadeIn .8s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
    .zh-vnode:not([hidden]) > *,
    .zh-varea {
        animation: none;
    }
}
.zh-vnode.is-below {
    flex-direction: column;
    gap: 3px;
}
.zh-vnode.is-below-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.zh-vnode.is-above-right {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 3px;
}
/* Подпись слева сдвинута от оси точки: справа вплотную могут стоять соседние точки */
.zh-vnode.is-above-left,
.zh-vnode.is-below-left {
    align-items: flex-end;
    gap: 3px;
}
.zh-vnode.is-above-left {
    flex-direction: column-reverse;
}
.zh-vnode.is-below-left {
    flex-direction: column;
}
.zh-vnode.is-above-left span,
.zh-vnode.is-below-left span {
    margin-right: 10px;
}
.zh-vnode.is-left {
    flex-direction: row-reverse;
}
.zh-vnode i {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    box-sizing: border-box;
    border: 4px solid #C9A227;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .3);
}
.zh-vnode.is-port i {
    width: 20px;
    height: 20px;
    border: 0;
    background: #C9A227 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v14M5 13a7 7 0 0014 0M8 10h8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.zh-vnode.is-crossing i {
    border-color: #16A34A;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, .2);
}
.zh-vnode span {
    padding: 1px 5px;
    border-radius: 5px;
    background: #FFFFFF;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #1E293B;
}
.zh-vnode.is-crossing span {
    color: #15803D;
}
.zh-vnode.is-nolabel span {
    visibility: hidden;
}
/* На узкой карте хабы стоят плотно */
.zh-vmap__canvas.is-small .zh-vnode span {
    padding: 1px 4px;
    font-size: 9.5px;
    letter-spacing: .02em;
}
.zh-varea {
    pointer-events: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(51, 65, 85, .5);
}
.zh-varea--home {
    font-size: 17px;
    letter-spacing: .02em;
    text-transform: none;
    color: #0A0A0A;
}
.zh-varea--sea {
    font-size: 11.5px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: .02em;
    text-transform: none;
    color: rgba(8, 92, 140, .6);
}
.zh-vmap__canvas.is-small .zh-varea--sea,
.zh-vmap__canvas.is-far .zh-varea--sea {
    display: none;
}
.zh-vmap .maplibregl-ctrl.maplibregl-ctrl-attrib {
    background: rgba(255, 255, 255, .8) !important;
    color: #64748B;
    font-size: 11px;
}

/* Подсказка у маршрута — поверх маркеров городов */
.zh-vpop {
    z-index: 6;
}
.zh-vpop .maplibregl-popup-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.45;
    color: #334155;
}
.zh-vpop__name {
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
}
.zh-vpop__nb {
    white-space: nowrap;
}
.zh-vpop__sep {
    width: 100%;
    margin: 0;
    border: 0;
    border-top: 1px solid #E2E8F0;
}
html.dark .zh-vpop__sep {
    border-top-color: #334155;
}
.zh-vpop__row em {
    font-style: normal;
    color: #64748B;
}
.zh-vpop__mode {
    display: inline-block;
    width: 14px;
    margin: 0 5px 3px 0;
    vertical-align: middle;
    border-top: 3px solid;
}
.zh-vpop__mode--rail { border-top-style: dashed; border-color: #F07800; }
.zh-vpop__mode--auto { border-color: #3FA9E6; }
.zh-vpop__mode--sea { border-top-style: dotted; border-color: #1565C0; }
.zh-vpop__pending {
    padding: 3px 8px;
    align-self: flex-start;
    border-radius: 6px;
    background: #FEF3C7;
    font-size: 12px;
    color: #92400E;
}
html.dark .zh-vpop .maplibregl-popup-content {
    background: #161B25;
    color: #CBD5E1;
}
html.dark .zh-vpop__name {
    color: #FFFFFF;
}
html.dark .zh-vpop .maplibregl-popup-tip {
    border-top-color: #161B25;
    border-bottom-color: #161B25;
}

/* Тёмная тема */
html.dark #geo.zh-vmap {
    background: #0E1116;
}
html.dark .zh-vmap__head h2 {
    color: #FFFFFF;
}
html.dark .zh-vmap__head h2 span {
    color: #FFD003;
}
html.dark .zh-vmap__frame {
    border-color: rgba(255, 255, 255, .08);
    background: #11151D;
    box-shadow: none;
}
html.dark .zh-vmap__map {
    background: #0B0F17;
}
html.dark .zh-vmap__modes,
html.dark .zh-vmap__legend {
    background: rgba(17, 21, 29, .9);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
    color: #CBD5E1;
}
html.dark .zh-vmap__mode {
    color: #CBD5E1;
}
html.dark .zh-vmap__mode:hover {
    background: rgba(255, 255, 255, .06);
}
html.dark .zh-vmap__mode[aria-checked="true"] {
    background: #FFD003;
    color: #0A0A0A;
}
html.dark .zh-vmap__mode--all[aria-checked="true"] svg {
    color: #0A0A0A;
}
html.dark .zh-vmap__zoom button {
    background: #1A2130;
    color: #FFFFFF;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
html.dark .zh-vmap__list {
    border-top-color: rgba(255, 255, 255, .06);
    background: #0E1219;
}
html.dark .zh-vmap__route {
    background: #161B25;
    color: #F1F5F9;
    box-shadow: none;
}
html.dark .zh-vmap__route-text small {
    color: #94A3B8;
}
html.dark .zh-vmap__regions li {
    background: rgba(255, 255, 255, .06);
    color: #C4C4C4;
}
html.dark .zh-vmap__card {
    background: #161B25;
    color: #FFFFFF;
}
html.dark .zh-vnode i {
    border-color: #FFD003;
    background: #0B0F17;
}
html.dark .zh-vnode.is-port i {
    background: #C9A227 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v14M5 13a7 7 0 0014 0M8 10h8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
html.dark .zh-vnode.is-crossing i {
    border-color: #22C55E;
}
html.dark .zh-vnode span {
    background: #0B0F17;
    color: #E2E8F0;
}
html.dark .zh-vnode.is-crossing span {
    color: #4ADE80;
}
html.dark .zh-varea {
    color: rgba(203, 213, 225, .35);
}
html.dark .zh-varea--home {
    color: #0A0A0A;
}
html.dark .zh-varea--sea {
    color: rgba(125, 211, 252, .45);
}
html.dark .zh-vmap .maplibregl-ctrl.maplibregl-ctrl-attrib {
    background: rgba(11, 15, 23, .8) !important;
    color: #94A3B8;
}
html.dark .zh-vmap .maplibregl-ctrl-attrib-button {
    filter: invert(1);
}

@media (max-width: 1024px) {
    .zh-vmap__map {
        height: 520px;
    }
}
@media (max-width: 640px) {
    #geo.zh-vmap {
        padding: 56px 0;
    }
    .zh-vmap__head h2 {
        font-size: 2rem;
    }
    .zh-vmap__head h2.zh-vmap__lead {
        font-size: 1.1rem;
    }
    /* Карта на телефоне крупная: ~70 % экрана, не меньше 480 px */
    .zh-vmap__map {
        height: max(480px, 70vh);
        height: max(480px, 70svh);
    }
    /* Виды транспорта — одна строка с прокруткой */
    .zh-vmap__modes {
        top: 10px;
        left: 10px;
        right: 60px;
        max-width: none;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .zh-vmap__modes::-webkit-scrollbar {
        display: none;
    }
    .zh-vmap__mode {
        flex: none;
    }
    .zh-vmap__zoom {
        top: 10px;
        right: 10px;
    }
    .zh-vmap__legend {
        display: none;
        left: 10px;
        bottom: 54px;
        flex-direction: column;
        max-width: calc(100% - 20px);
    }
    .zh-vmap__map.is-legend-open .zh-vmap__legend {
        display: flex;
    }
    .zh-vmap__legend-btn {
        display: inline-flex;
    }
    .zh-vmap__list {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    .zh-varea {
        font-size: 10px;
    }
    .zh-varea--home {
        font-size: 13px;
    }
}

/* ---------- Главная, блоки 6–11 (этап 2, часть 2) ---------- */
a.zh-btn-outline,
button.zh-btn-outline {
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 13px 22px;
    border: 1.5px solid #0A0A0A;
    border-radius: 10px;
    background: transparent;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    color: #0A0A0A;
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s;
}
a.zh-btn-outline:hover,
button.zh-btn-outline:hover {
    background: #FFD003;
    border-color: #FFD003;
    color: #0A0A0A;
}
html.dark a.zh-btn-outline,
html.dark button.zh-btn-outline {
    border-color: rgba(255, 255, 255, .6);
    color: #FFFFFF;
}
html.dark a.zh-btn-outline:hover,
html.dark button.zh-btn-outline:hover {
    border-color: #FFD003;
    color: #0A0A0A;
}
.zh-team-about {
    margin-top: 24px !important;
}
.zh-reviews-projects {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

/* Проекты */
.zh-projects {
    padding: 96px 0;
    background: #FAFAFA;
}
.zh-projects__head {
    margin-bottom: 40px;
}
.zh-projects__head h2,
.zh-videos__head h2,
.zh-stats__head h2 {
    margin: 0;
    font-size: 3rem;
    line-height: 1.1;
    text-transform: uppercase;
}
.zh-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.zh-proj {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #ECECEC;
    background: #FFFFFF;
    transition: box-shadow .25s, transform .25s;
}
.zh-proj[hidden] {
    display: none;
}
.zh-proj:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(10, 10, 10, .08);
}
.zh-proj__ph {
    height: 220px;
    overflow: hidden;
    background: #EDEDED;
}
.zh-proj__ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.zh-proj:hover .zh-proj__ph img {
    transform: scale(1.06);
}
.zh-proj__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 26px 26px;
}
.zh-proj__body h3 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.3;
    font-weight: 500;
}
.zh-proj__facts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}
.zh-proj__facts div {
    display: flex;
    gap: 8px;
    font-size: 14px;
}
.zh-proj__facts dt {
    flex-shrink: 0;
    min-width: 84px;
    color: #8A8A8A;
}
.zh-proj__facts dd {
    margin: 0;
    color: #262626;
}
.zh-proj__result {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #525252;
}
.zh-proj__result b {
    color: #0A0A0A;
    font-weight: 600;
}
.zh-proj__more {
    align-self: flex-start;
    margin: auto 0 0 !important;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 600;
    color: #B48C00;
    cursor: pointer;
}
.zh-proj__more:hover {
    color: #0A0A0A;
}
.zh-projects__all {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}
.zh-proj-dialog {
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 64px);
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #FFFFFF;
    color: #0A0A0A;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}
.zh-proj-dialog::backdrop {
    background: rgba(10, 10, 10, .7);
}
.zh-proj-dialog__content {
    padding: 36px;
}
.zh-proj-dialog__content .zh-proj__full-route {
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8A6D00;
}
.zh-proj-dialog__content h3 {
    margin: 8px 48px 16px 0;
    line-height: 1.3;
    font-size: 1.6rem;
    font-weight: 500;
}
.zh-proj-dialog__content h4 {
    margin: 20px 0 8px;
    font-size: 1rem;
    font-weight: 600;
}
.zh-proj__rich {
    line-height: 1.65;
    color: #404040;
}
.zh-proj__rich ul {
    padding-left: 20px;
    list-style: disc;
}
.zh-proj-dialog__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    border: 0;
    border-radius: 50%;
    background: #F2F2F2;
    font-size: 18px;
    cursor: pointer;
}
html.dark .zh-projects {
    background: #15181E;
}
html.dark .zh-proj,
html.dark .zh-proj-dialog {
    background: #1B1F27;
    border-color: rgba(255, 255, 255, .08);
    color: #FFFFFF;
}
html.dark .zh-projects__head h2,
html.dark .zh-videos__head h2,
html.dark .zh-proj__facts dd,
html.dark .zh-proj__result b {
    color: #FFFFFF;
}
html.dark .zh-proj__result,
html.dark .zh-proj__rich {
    color: #C4C4C4;
}
html.dark .zh-proj__more {
    color: #FFD003;
}
html.dark .zh-proj-dialog__close {
    background: rgba(255, 255, 255, .1);
    color: #FFFFFF;
}

/* ZHEBE в действии */
.zh-videos {
    padding: 96px 0;
    background: #FFFFFF;
}
.zh-videos__head {
    margin-bottom: 40px;
}
/* Лента со свайпом и защёлкиванием */
.zh-videos__grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.zh-videos__grid::-webkit-scrollbar {
    display: none;
}
/* Следующая карточка выглядывает сбоку: в кадре 3,5 видео на десктопе */
.zh-video {
    flex: 0 0 calc((100% - 54px) / 3.5);
    margin: 0;
    scroll-snap-align: start;
}
.zh-video__play,
.zh-video video,
.zh-video iframe {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #0A0A0A;
    cursor: pointer;
}
.zh-video__play img {
    width: 100%;
    height: 100%;
    /* обложка YouTube 4:3 с чёрными полосами — обрезаем до вертикального кадра */
    object-fit: cover;
    transform: scale(1.35);
    opacity: .9;
    transition: transform .5s, opacity .3s;
}
.zh-video__play:hover img {
    transform: scale(1.4);
    opacity: 1;
}
.zh-video__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    background: #FFD003;
    color: #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.zh-video__icon svg {
    width: 28px;
    height: 28px;
    margin-left: 3px;
}
.zh-video figcaption {
    margin-top: 10px;
    font-size: 15px;
    color: #404040;
}
html.dark .zh-videos {
    background: #11141A;
}
html.dark .zh-video figcaption {
    color: #C4C4C4;
}

/* Жебе в цифрах */
.zh-stats {
    padding: 96px 0;
    background: #FFD003;
    color: #0A0A0A;
}
.zh-stats__head {
    margin-bottom: 40px;
}
.zh-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 24px;
    margin: 0;
}
.zh-stats__item {
    display: flex;
    flex-direction: column-reverse;
    gap: 6px;
    padding-top: 18px;
    border-top: 2px solid rgba(10, 10, 10, .2);
}
.zh-stats__item dd {
    margin: 0;
    font-size: 3rem;
    line-height: 1;
    font-weight: 600;
}
.zh-stats__item dt {
    font-size: 16px;
    color: #262626;
}
html.dark .zh-stats {
    background: #1B1F27;
    color: #FFFFFF;
}
html.dark .zh-stats__head h2,
html.dark .zh-stats__item dd {
    color: #FFD003;
}
html.dark .zh-stats__item dt {
    color: #C4C4C4;
}
html.dark .zh-stats__item {
    border-top-color: rgba(255, 255, 255, .15);
}

@media (max-width: 1024px) {
    .zh-projects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .zh-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .zh-projects,
    .zh-videos,
    .zh-stats {
        padding: 56px 0;
    }
    .zh-projects__head h2,
    .zh-videos__head h2,
    .zh-stats__head h2 {
        font-size: 2rem;
    }
    .zh-projects__grid {
        grid-template-columns: 1fr;
    }
    .zh-proj-dialog__content {
        padding: 24px 18px;
    }
}

/* ==========================================================================
   Кнопки ZHEBE 2.0 (.zh-cta): основная — жёлтая с объёмом и стрелкой в круге,
   --glass — на фото/видео, --dark — на светлом фоне. Перекрывают старые стили кнопок.
   ========================================================================== */
a.zh-cta,
button.zh-cta {
    --zh-cta-h: 56px;
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: var(--zh-cta-h);
    min-width: 0;
    max-width: none;
    margin: 0 !important;
    padding: 0 8px 0 26px;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #FFDE4D 0%, #FFD003 55%, #F5C400 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 -2px 0 rgba(0, 0, 0, .08) inset,
                0 10px 24px -8px rgba(230, 180, 0, .55), 0 2px 6px rgba(10, 10, 10, .12);
    font: inherit;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1;
    white-space: nowrap;
    color: #0A0A0A !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .22s cubic-bezier(.2, .7, .2, 1), box-shadow .22s, background .22s;
}
a.zh-cta:not(:has(.zh-cta__arrow)),
button.zh-cta:not(:has(.zh-cta__arrow)) {
    padding: 0 28px;
}
/* блик, пробегающий при наведении */
a.zh-cta::after,
button.zh-cta::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-20deg);
    transition: left .6s cubic-bezier(.2, .7, .2, 1);
    pointer-events: none;
}
a.zh-cta:hover,
button.zh-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 -2px 0 rgba(0, 0, 0, .08) inset,
                0 16px 32px -10px rgba(230, 180, 0, .7), 0 4px 10px rgba(10, 10, 10, .14);
    color: #0A0A0A !important;
}
a.zh-cta:hover::after,
button.zh-cta:hover::after {
    left: 120%;
}
a.zh-cta:active,
button.zh-cta:active {
    transform: translateY(0);
}
a.zh-cta:focus-visible,
button.zh-cta:focus-visible {
    outline: 3px solid rgba(255, 208, 3, .6);
    outline-offset: 3px;
}
button.zh-cta:disabled {
    opacity: .6;
    cursor: wait;
    transform: none;
}
.zh-cta__arrow {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 11px;
    background: #0A0A0A;
    color: #FFD003;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
.zh-cta__arrow svg {
    width: 18px;
    height: 18px;
    transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
.zh-cta:hover .zh-cta__arrow svg {
    transform: translateX(3px);
}

/* Стекло — поверх фото и видео */
a.zh-cta--glass,
button.zh-cta--glass {
    background: rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 8px 24px -10px rgba(0, 0, 0, .5);
    color: #FFFFFF !important;
}
a.zh-cta--glass:hover,
button.zh-cta--glass:hover {
    background: rgba(255, 255, 255, .2);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset, 0 12px 28px -10px rgba(0, 0, 0, .55);
    color: #FFFFFF !important;
}
.zh-cta--glass::after {
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent);
}

/* Тёмная — на светлом фоне */
a.zh-cta--dark,
button.zh-cta--dark {
    background: linear-gradient(180deg, #262626 0%, #0A0A0A 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 12px 28px -12px rgba(10, 10, 10, .55);
    color: #FFFFFF !important;
}
a.zh-cta--dark:hover,
button.zh-cta--dark:hover {
    box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 18px 34px -12px rgba(10, 10, 10, .6);
    color: #FFFFFF !important;
}
.zh-cta--dark .zh-cta__arrow {
    background: linear-gradient(180deg, #FFDE4D, #FFD003);
    color: #0A0A0A;
}
.zh-cta--dark::after {
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .14), transparent);
}
html.dark a.zh-cta--dark,
html.dark button.zh-cta--dark {
    background: linear-gradient(180deg, #FFFFFF 0%, #ECECEC 100%);
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .6);
    color: #0A0A0A !important;
}
html.dark a.zh-cta--dark:hover,
html.dark button.zh-cta--dark:hover {
    color: #0A0A0A !important;
}
html.dark .zh-cta--dark .zh-cta__arrow {
    background: #0A0A0A;
    color: #FFD003;
}

/* Размещение */
.zh-hero-actions {
    gap: 16px;
    margin-top: 8px;
}
a.zh-cta.zh-team-about {
    margin-top: 32px !important;
}
a.zh-cta.zh-veh-detail__cta {
    align-self: flex-start;
    margin-top: auto !important;
}
button.zh-cta.zh-quote__next {
    --zh-cta-h: 52px;
    margin-left: auto !important;
    font-size: 16px;
}
#mobile-menu a.zh-mmenu__cta.zh-cta {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 8px 0 20px;
    border-radius: 14px;
    color: #0A0A0A !important;
}
@media (max-width: 640px) {
    a.zh-cta,
    button.zh-cta {
        --zh-cta-h: 52px;
        font-size: 16px;
    }
    .zh-hero-actions .zh-cta {
        flex: 1 1 auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    a.zh-cta,
    button.zh-cta,
    .zh-cta__arrow svg,
    a.zh-cta::after,
    button.zh-cta::after {
        transition: none;
    }
}

/* Отзывы в тёмной теме: старое правило «html.dark #reviews a» красит все ссылки блока в тёмные карточки — кнопку возвращаем */
html.dark #reviews a.zh-cta.zh-cta--dark {
    background: linear-gradient(180deg, #FFFFFF 0%, #ECECEC 100%) !important;
    border: 0 !important;
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .6) !important;
    color: #0A0A0A !important;
}

/* Точки грузопотока — отдельный холст поверх линий, под маркерами городов */
.zh-vflow {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* Отзывы на телефоне: навигация под лентой */
.zh-rev-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
}
.zh-rev-nav__btn {
    margin: 0 !important;
    width: 44px;
    height: 44px;
    border: 1px solid #E5E5E5;
    border-radius: 50%;
    background: #FFFFFF;
    color: #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .2s, border-color .2s;
}
.zh-rev-nav__btn svg {
    width: 18px;
    height: 18px;
}
.zh-rev-nav__btn:disabled {
    opacity: .35;
    cursor: default;
}
.zh-rev-nav__dots {
    display: flex;
    align-items: center;
    gap: 6px;
}
.zh-rev-nav__dots i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #D4D4D4;
    transition: width .25s, background .25s;
}
.zh-rev-nav__dots i.is-on {
    width: 20px;
    background: #FFD003;
}
html.dark .zh-rev-nav__btn {
    background: #1E2228;
    border-color: rgba(255, 255, 255, .12);
    color: #FFFFFF;
}
html.dark .zh-rev-nav__dots i {
    background: rgba(255, 255, 255, .2);
}
html.dark .zh-rev-nav__dots i.is-on {
    background: #FFD003;
}
@media (min-width: 640px) {
    .zh-rev-nav {
        display: none;
    }
}

/* ---------- Smart Quote в блоке расчёта страницы услуги (доработка ТЗ 2.0, блок 8) ----------
   Та же форма, что в окне, но в потоке страницы: без затемнения, крестика и анимации открытия. */
.zh-quote.zh-quote--inline {
    position: static;
    z-index: auto;
    display: block;
    padding: 0;
    overflow: visible;
    opacity: 1;
}
.zh-quote--inline .zh-quote__box {
    max-width: none;
    transform: none;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 4px 29px rgba(0, 0, 0, .07);
}
html.dark .zh-quote--inline .zh-quote__box {
    border-color: rgba(255, 255, 255, .08);
}
.zh-quote--inline .zh-quote__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 640px) {
    .zh-quote--inline .zh-quote__box {
        min-height: 0;
        border-radius: 16px;
    }
    .zh-quote--inline .zh-quote__grid {
        grid-template-columns: 1fr;
    }
}
/* Тёмная тема: старые правила (html.dark input, html.dark #calculator input — с !important) снимали у полей
   рамку и фон — поля сливались с карточкой. Возвращаем вид полей Smart Quote в окне и в блоке. */
html.dark .zh-quote .zh-quote__field input,
html.dark .zh-quote .zh-quote__field select,
html.dark .zh-quote .zh-quote__field textarea,
html.dark #calculator .zh-quote__field input,
html.dark #calculator .zh-quote__field select,
html.dark #calculator .zh-quote__field textarea {
    background-color: #0E1116 !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    color: #FFFFFF !important;
}
html.dark .zh-quote .zh-quote__field input:focus,
html.dark .zh-quote .zh-quote__field select:focus,
html.dark .zh-quote .zh-quote__field textarea:focus,
html.dark #calculator .zh-quote__field input:focus,
html.dark #calculator .zh-quote__field select:focus,
html.dark #calculator .zh-quote__field textarea:focus {
    border-color: #E6BC00 !important;
}
html.dark .zh-quote .zh-quote__field .is-invalid,
html.dark #calculator .zh-quote__field .is-invalid {
    border-color: #DC2626 !important;
}
html.dark .zh-quote .zh-quote__field select.is-empty,
html.dark #calculator .zh-quote__field select.is-empty {
    color: #8A8F98 !important;
}

/* ---------- «Справочник» (/spravochnik): термины по алфавиту, фильтр и якоря ---------- */
.zh-gloss__lead {
    max-width: 720px;
    margin: 0 0 28px !important;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(0, 0, 0, .7);
}
html.dark .zh-gloss__lead { color: #C4C9D2; }
.zh-gloss__tools {
    position: sticky;
    top: 72px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-bottom: 32px;
    padding: 12px 0;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}
html.dark .zh-gloss__tools { background: #11141A; border-color: rgba(255, 255, 255, .08); }
.zh-gloss__search {
    position: relative;
    flex: 0 1 320px;
    margin: 0;
}
.zh-gloss__search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: #8A8F98;
    pointer-events: none;
}
.zh-gloss__search input {
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    margin: 0;
    padding: 0 14px 0 42px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    background: #FFFFFF;
    font: inherit;
    font-size: 15px;
    color: #0A0A0A;
}
.zh-gloss__search input:focus { outline: none; border-color: #E6BC00; box-shadow: 0 0 0 3px rgba(255, 208, 3, .25); }
html.dark .zh-gloss__search input {
    background: #0E1116 !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    color: #FFFFFF !important;
}
.zh-gloss__letters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
.zh-gloss__letters a {
    display: inline-grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #11141A;
    text-decoration: none;
    transition: background .15s;
}
.zh-gloss__letters a:hover { background: #FFD003; }
.zh-gloss__letters a.is-off { opacity: .25; pointer-events: none; }
html.dark .zh-gloss__letters a { color: #E5E7EB; }
html.dark .zh-gloss__letters a:hover { color: #11141A; }
.zh-gloss__sep {
    width: 1px;
    height: 20px;
    margin: 0 6px;
    background: rgba(0, 0, 0, .15);
}
html.dark .zh-gloss__sep { background: rgba(255, 255, 255, .2); }
.zh-gloss__group { scroll-margin-top: 150px; }
.zh-gloss__letter {
    margin: 0 0 12px !important;
    font-size: 28px !important;
    font-weight: 700;
    color: #E6BC00 !important;
}
.zh-gloss__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 40px !important;
}
.zh-gloss__item {
    scroll-margin-top: 150px;
    padding: 20px 22px;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .05);
    transition: border-color .3s, box-shadow .3s;
}
.zh-gloss__item:target {
    border-color: #FFD003;
    box-shadow: 0 0 0 3px rgba(255, 208, 3, .35);
}
html.dark .zh-gloss__item { background: #1E2228; border-color: rgba(255, 255, 255, .06); box-shadow: none; }
.zh-gloss__item dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0 0 8px; }
.zh-gloss__term {
    font-size: 19px;
    font-weight: 600;
    color: #11141A !important;
    text-decoration: none !important;
}
html.dark .zh-gloss__term { color: #FFFFFF !important; }
.zh-gloss__draft {
    padding: 2px 8px;
    border-radius: 999px;
    background: #FEF3C7;
    font-size: 12px;
    color: #92400E;
}
.zh-gloss__item dd { margin: 0; }
.zh-gloss__item dd p {
    margin: 0 0 10px !important;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(0, 0, 0, .75);
}
html.dark .zh-gloss__item dd p { color: #C4C9D2; }
.zh-gloss__service {
    font-size: 14px;
    font-weight: 500;
    color: #B48C00 !important;
}
html.dark .zh-gloss__service { color: #FFD003 !important; }
.zh-gloss__empty { margin: 0 0 32px !important; color: rgba(0, 0, 0, .6); }
.zh-gloss [hidden] { display: none !important; }
@media (max-width: 768px) {
    /* На телефоне панель не прилипает: с поиском и буквами в несколько строк она закрывала бы пол-экрана */
    .zh-gloss__tools { position: static; }
    .zh-gloss__group, .zh-gloss__item { scroll-margin-top: 80px; }
    .zh-gloss__search { flex-basis: 100%; }
    .zh-gloss__list { grid-template-columns: 1fr; }
}

/* QA 02.11: крупный номер в футере не помещался в колонку на 768–1279 px (горизонтальная прокрутка страницы).
   Размер шрифта — плавно по ширине экрана; номер и разметка прежние. До 568 px — прежние 2rem (style.css). */
@media (min-width: 569px) and (max-width: 1279px) {
    footer .tel.zh-call--lg {
        font-size: clamp(1.75rem, 3.4vw, 3rem);
        white-space: nowrap;
    }
}

/* QA 02.11, тёмная тема: стрелки «>>>» в списке подуслуг (страницы услуг и SEO-страницы) были чёрными на тёмном фоне —
   золотой вариант, как у «>>>» в отзывах. Светлая тема — без изменений. */
html.dark #sub-services .item {
    background-image: url(../images/arrows-gold.svg);
}

/* Доработка ТЗ, главная, блок 1: слоган над H1 — небольшая жёлтая надпись (обычный текст, не заголовок) */
.main .zh-hero-tagline {
    margin: 0 0 14px;
    color: #FFD003;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
@media (max-width: 768px) {
    .main .zh-hero-tagline { margin-bottom: 8px; font-size: 0.75rem; letter-spacing: 0.08em; }
}

/* Доработка ТЗ, карта: режим «Мультимодальные» — точки перевалки (смена вида транспорта) значком ⇄.
   Значок — в этом режиме на главной и на карте страницы «Мультимодальные перевозки» (профиль multi). */
.zh-vmap__mode--multi svg { color: #B48C00; }
.zh-vmap__mode--multi[aria-checked="true"] svg { color: #FFD003; }
.zh-vmap__legend--transfer { display: none !important; }
.zh-vmap--multi .zh-vmap__legend--transfer,
.zh-vmap[data-map-mode="multi"] .zh-vmap__legend--transfer { display: flex !important; }
.zh-vmap__legend--transfer i,
.zh-vmap--multi .zh-vnode.is-transfer i,
.zh-vmap[data-map-mode="multi"] .zh-vnode.is-transfer i {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: #0A0A0A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD003' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h12l-3-3M20 16H8l3 3'/%3E%3C/svg%3E") center / 13px no-repeat;
    box-shadow: 0 0 0 3px rgba(255, 208, 3, .35);
}
.zh-vmap__legend--transfer i { flex-shrink: 0; }

/* Доработка ТЗ, блок 4: ссылка «Подробный расчёт» в лёгкой версии Smart Quote */
.zh-quote__more {
    font-size: 14px;
    font-weight: 500;
    color: #8A6D00;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}
.zh-quote__more:hover { color: #0A0A0A; }
html.dark .zh-quote__more { color: #FFD003; }
html.dark .zh-quote__more:hover { color: #FFFFFF; }

/* «Подробный расчёт» — страница «трудной» Smart Quote */
.zh-dq { padding: 120px 0 80px; background: #F7F7F5; }
.zh-dq .container { max-width: 980px; }
.zh-dq__crumbs { margin-bottom: 14px; font-size: 14px; color: #737373; }
.zh-dq__crumbs a { color: #737373; text-decoration: underline; text-underline-offset: 3px; }
.zh-dq__h1 { margin: 0 0 12px; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; color: #0A0A0A; }
.zh-dq__lead { max-width: 720px; margin: 0 0 28px; font-size: 16px; line-height: 1.55; color: #525252; }
.zh-dq__progress {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}
.zh-dq__progress li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
    border-top: 4px solid #E5E5E5;
    font-size: 13px;
    color: #8A8A8A;
}
.zh-dq__progress li span {
    width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #EEEEEE; color: #6B6B6B; font-size: 12px; font-weight: 600;
}
.zh-dq__progress li em { font-style: normal; }
.zh-dq__progress li.is-done { border-top-color: #FFD003; }
.zh-dq__progress li.is-current { border-top-color: #E6BC00; color: #0A0A0A; font-weight: 500; }
.zh-dq__progress li.is-current span,
.zh-dq__progress li.is-done span { background: #FFD003; color: #0A0A0A; }
.zh-dq__form,
.zh-dq__done {
    padding: 32px;
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}
.zh-dq__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.zh-dq__step legend { margin-bottom: 18px; padding: 0; font-size: 22px; font-weight: 500; color: #0A0A0A; }
.zh-dq__sub { margin: 22px 0 10px; font-size: 15px; font-weight: 500; color: #262626; }
.zh-dq__hint { margin: -6px 0 16px; font-size: 14px; color: #737373; }
.zh-dq__places { margin: 6px 0 18px; }
.zh-dq__place-head,
.zh-dq__place {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 140px 36px;
    gap: 10px;
    align-items: center;
}
.zh-dq__place-head { font-size: 13px; color: #737373; margin-bottom: 6px; }
.zh-dq__place { margin-bottom: 10px; }
.zh-dq__place input {
    width: 100%; box-sizing: border-box; margin: 0; padding: 11px 12px;
    border: 1px solid #E0E0E0; border-radius: 10px; background: #FFFFFF; font: inherit; font-size: 16px; color: #0A0A0A;
}
.zh-dq__remove {
    margin: 0 !important; width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: #F1F1F1; color: #404040; font-size: 20px; line-height: 1; cursor: pointer;
}
.zh-dq__add {
    margin: 0 !important; padding: 8px 0; border: 0; background: none;
    font: inherit; font-size: 14px; font-weight: 500; color: #8A6D00; cursor: pointer;
}
.zh-dq__flags { display: grid; gap: 14px; }
.zh-dq__flag { padding: 14px 16px; border: 1px solid #ECECEC; border-radius: 14px; }
.zh-dq__flag .zh-quote__grid { margin-top: 14px; }
.zh-dq__checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.zh-dq__drop {
    position: relative; display: flex; align-items: center; justify-content: center;
    min-height: 120px; border: 2px dashed #D4D4D4; border-radius: 16px; cursor: pointer;
    font-size: 15px; font-weight: 500; color: #404040; text-align: center;
}
.zh-dq__drop:hover { border-color: #FFD003; }
.zh-dq__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.zh-dq__files { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.zh-dq__files li {
    display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px;
    border-radius: 12px; background: #F7F7F5; font-size: 14px; color: #262626; overflow-wrap: anywhere;
}
.zh-dq__files li span { flex: 1; }
.zh-dq__files li.is-pending { opacity: .6; }
.zh-dq__files li.is-error em { color: #DC2626; font-style: normal; }
.zh-dq__actions { flex-wrap: wrap; }
.zh-dq__done { text-align: center; }
.zh-dq__done h2 { margin: 0 0 12px; font-size: 28px; color: #0A0A0A; }
.zh-dq__done p { margin: 0 0 10px; color: #404040; }
.zh-dq__done .zh-cta { margin-top: 14px; display: inline-flex; }
html.dark .zh-dq { background: #0E1116; }
html.dark .zh-dq__h1, html.dark .zh-dq__step legend, html.dark .zh-dq__done h2 { color: #FFFFFF; }
html.dark .zh-dq__lead, html.dark .zh-dq__crumbs, html.dark .zh-dq__crumbs a, html.dark .zh-dq__hint, html.dark .zh-dq__place-head, html.dark .zh-dq__done p { color: #A3A3A3; }
html.dark .zh-dq__sub, html.dark .zh-dq__drop { color: #E5E5E5; }
html.dark .zh-dq__form, html.dark .zh-dq__done { background: #161A21; box-shadow: none; }
html.dark .zh-dq__progress li { border-top-color: rgba(255, 255, 255, .12); color: #8A8A8A; }
html.dark .zh-dq__progress li.is-current { color: #FFFFFF; border-top-color: #FFD003; }
html.dark .zh-dq__progress li span { background: #262A31; color: #C4C4C4; }
html.dark .zh-dq__progress li.is-current span, html.dark .zh-dq__progress li.is-done span { background: #FFD003; color: #0A0A0A; }
html.dark .zh-dq__place input { background: #0E1116; border-color: rgba(255, 255, 255, .12); color: #FFFFFF; }
html.dark .zh-dq__flag { border-color: rgba(255, 255, 255, .1); }
html.dark .zh-dq__drop { border-color: rgba(255, 255, 255, .2); }
html.dark .zh-dq__files li { background: #0E1116; color: #E5E5E5; }
html.dark .zh-dq__remove { background: #262A31; color: #E5E5E5; }
html.dark .zh-dq__add { color: #FFD003; }
@media (max-width: 768px) {
    .zh-dq { padding: 96px 0 56px; }
    .zh-dq__form, .zh-dq__done { padding: 20px 16px; border-radius: 16px; }
    .zh-dq__progress { gap: 4px; }
    .zh-dq__progress li em { display: none; }
    .zh-dq__progress li.is-current em { display: block; position: absolute; left: 16px; right: 16px; margin-top: 44px; }
    .zh-dq__progress { position: relative; padding-bottom: 26px; }
    .zh-dq__checks { grid-template-columns: 1fr; }
    .zh-dq__place-head { display: none; }
    .zh-dq__place { grid-template-columns: 64px minmax(0, 1fr) 36px; }
    .zh-dq__place input[data-place="weight"] { grid-column: 1 / 3; }
    .zh-dq .zh-quote__grid { grid-template-columns: 1fr; }
    .zh-dq .zh-quote__actions { gap: 12px; }
}
/* Шаги «Подробного расчёта» прячутся атрибутом hidden — он важнее display у кнопок и полей */
.zh-dq [hidden] { display: none !important; }
.zh-dq__place input::placeholder { color: #A3A3A3; opacity: 1; }
html.dark .zh-dq__place input::placeholder { color: #6B6B6B; }
/* при переходе между шагами форма прокручивается к началу — под фиксированной шапкой */
.zh-dq__form { scroll-margin-top: 96px; }

/* Доработка ТЗ, главная, блок 5: компактные «Преимущества» — 3×2, на телефоне горизонтальная прокрутка */
.zh-adv {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.zh-adv__card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 26px 24px;
    border: 1px solid #ECECEC;
    border-radius: 18px;
    background: #FFFFFF;
    transition: transform .25s ease, box-shadow .25s ease;
}
.zh-adv__card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 23, 42, .08); }
.zh-adv__icon {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin-bottom: 6px; border-radius: 14px;
    background: #FFF6CC; color: #8A6D00;
}
.zh-adv__icon svg { width: 24px; height: 24px; }
.zh-adv__stat { font-size: 30px; font-weight: 600; line-height: 1.1; color: #0A0A0A; }
.zh-adv__title { margin: 0 !important; font-size: 19px; font-weight: 500; line-height: 1.3; color: #0A0A0A; }
.zh-adv__text { margin: 0 !important; font-size: 15px; line-height: 1.5; color: #525252; }
.zh-adv.is-waiting .zh-adv__card { opacity: 0; }
.zh-adv.is-in .zh-adv__card { animation: zh-adv-in .5s ease both; animation-delay: calc(var(--i) * 90ms); }
@keyframes zh-adv-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
html.dark .zh-adv__card { background: #1E2228; border-color: rgba(255, 255, 255, .08); }
html.dark .zh-adv__card:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
html.dark .zh-adv__icon { background: rgba(255, 208, 3, .14); color: #FFD003; }
html.dark .zh-adv__stat, html.dark .zh-adv__title { color: #FFFFFF; }
html.dark .zh-adv__text { color: #C4C4C4; }
@media (max-width: 1023px) {
    .zh-adv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .zh-adv {
        display: flex;
        gap: 12px;
        margin: 28px -16px 0;
        padding: 0 16px 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .zh-adv::-webkit-scrollbar { display: none; }
    .zh-adv__card { flex: 0 0 78%; scroll-snap-align: start; }
}

/* Доработка ТЗ, «Футер»: подвал из 5 колонок */
.zh-foot { padding: 64px 0 28px; background: #F5F5F3; color: #262626; }
.zh-foot__grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr 1.2fr;
    gap: 36px;
}
.zh-foot__logo img { width: 124px; height: auto; }
.zh-foot__tagline { margin: 16px 0 20px !important; font-size: 15px; line-height: 1.5; color: #525252; }
.zh-foot__cta { display: inline-flex; }
.zh-foot__title {
    display: block; margin: 0 0 14px !important; font-size: 15px; font-weight: 600;
    letter-spacing: .02em; text-transform: uppercase; color: #0A0A0A; list-style: none; cursor: default;
}
.zh-foot__title::-webkit-details-marker { display: none; }
.zh-foot__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.zh-foot__col a { font-size: 15px; line-height: 1.4; color: #404040; }
.zh-foot__col a:hover { color: #8A6D00; }
.zh-foot__address { margin: 0 0 12px; font-style: normal; font-size: 15px; line-height: 1.5; color: #404040; }
.zh-foot__phone { display: inline-flex; margin-bottom: 8px; font-size: 20px; font-weight: 500; white-space: nowrap; }
.zh-foot__email { display: block; margin-bottom: 16px; overflow-wrap: anywhere; }
.zh-foot__messengers { display: flex; flex-wrap: wrap; gap: 12px; }
.zh-foot__bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    margin-top: 44px; padding-top: 22px; border-top: 1px solid #E2E2DF; font-size: 13px; color: #737373;
}
.zh-foot__prefs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
html.dark .zh-foot { background: #0B0D11; color: #E5E5E5; }
html.dark .zh-foot__title { color: #FFFFFF; }
html.dark .zh-foot__tagline, html.dark .zh-foot__col a, html.dark .zh-foot__address { color: #C4C4C4; }
html.dark .zh-foot__col a:hover { color: #FFD003; }
html.dark .zh-foot__bottom { border-top-color: rgba(255, 255, 255, .1); color: #8A8A8A; }
@media (max-width: 1199px) {
    .zh-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .zh-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .zh-foot { padding: 44px 0 24px; }
    .zh-foot__grid { grid-template-columns: 1fr; gap: 0; }
    .zh-foot__brand { margin-bottom: 20px; }
    details.zh-foot__col { border-top: 1px solid #E2E2DF; }
    details.zh-foot__col .zh-foot__title {
        display: flex; align-items: center; justify-content: space-between; margin: 0 !important; padding: 16px 0; cursor: pointer;
    }
    details.zh-foot__col .zh-foot__title::after { content: '+'; font-size: 22px; font-weight: 400; }
    details.zh-foot__col[open] .zh-foot__title::after { content: '−'; }
    details.zh-foot__col ul { padding-bottom: 16px; }
    .zh-foot__contacts { padding-top: 20px; border-top: 1px solid #E2E2DF; }
    html.dark details.zh-foot__col, html.dark .zh-foot__contacts { border-top-color: rgba(255, 255, 255, .1); }
}
/* старые правила footer ul / li (прежний подвал) не должны раздвигать списки нового */
.zh-foot ul li { margin: 0 !important; padding: 0 !important; }
.zh-foot .zh-foot__col a { text-transform: none; }
html.dark footer.zh-foot a.zh-foot__cta, html.dark footer.zh-foot a.zh-foot__cta:hover, html.dark footer.zh-foot a.zh-foot__cta > span:first-child, footer.zh-foot a.zh-foot__cta { color: #0A0A0A !important; }
html.dark footer.zh-foot a.zh-foot__cta .zh-cta__arrow { color: #FFD003 !important; }

/* QA доработки: длинные слова в заголовках блоков («железнодорожных», «мультимодальных») не помещались на 375 px —
   не вылезают за блок на узких экранах (текст заголовков не меняется) */
@media (max-width: 480px) {
    .zh-svc-block__head h2,
    .zhebe-head__row h2 {
        min-width: 0;
    }
}

/* Презентация компании: «Типы транспорта» без фото — карточки */
.zh-fleet { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.zh-fleet__item { padding: 22px 22px 20px; border-radius: 16px; background: #FFFFFF; border-left: 4px solid #FFD003; }
.zh-fleet__photo { display: block; width: 100%; aspect-ratio: 16 / 10; margin-bottom: 14px; border-radius: 10px; object-fit: cover; }
.zh-fleet__item h3 { margin: 0 0 6px !important; font-size: 19px; font-weight: 500; line-height: 1.3; color: #0A0A0A; }
.zh-fleet__item p { margin: 0 !important; font-size: 15px; line-height: 1.5; color: #525252; }
.zh-fleet__item .zh-fleet__spec { margin-top: 8px !important; color: #404040; }
.zh-fleet__spec b { font-size: 18px; font-weight: 600; color: #0A0A0A; white-space: nowrap; }
.zh-fleet__note { margin: 20px 0 0 !important; font-size: 15px; color: #404040; }
.zh-fleet__tag { display: inline-flex; align-items: center; margin-top: 16px; padding: 6px 14px; border-radius: 999px; background: #FFF6CC; color: #8A6D00; font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: .02em; }
html.dark .zh-fleet__tag { background: rgba(255, 208, 3, .14); color: #FFD003; }
.zh-fleet__icon { margin-bottom: 14px; }
html.dark .zh-fleet__item { background: #1E2228; }
html.dark .zh-fleet__item h3, html.dark .zh-fleet__spec b { color: #FFFFFF; }
html.dark .zh-fleet__item p, html.dark .zh-fleet__note { color: #C4C4C4; }
/* Обложки видео — с нашего сервера; пока обложки нет — тёмная плашка с кнопкой */
.zh-video__play { background: #1E2228; }
/* Атрибуция карт видна всегда (OpenStreetMap / OpenFreeMap, Natural Earth) — компактно, но текстом */
.zh-smap .maplibregl-ctrl.maplibregl-ctrl-attrib,
.zh-vmap .maplibregl-ctrl.maplibregl-ctrl-attrib { padding: 1px 6px; font-size: 11px; line-height: 1.5; background: rgba(255, 255, 255, .85) !important; color: #475569; }
.zh-smap .maplibregl-ctrl-attrib a, .zh-vmap .maplibregl-ctrl-attrib a { color: inherit; text-decoration: underline; }
html.dark .zh-smap .maplibregl-ctrl.maplibregl-ctrl-attrib { background: rgba(15, 18, 24, .85) !important; color: #CBD5E1; }

/* Согласие на обработку ПДн — во всех формах заявок (не отмечено заранее) */
.zh-consent { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 16px; font-size: 14px; line-height: 1.45; color: #404040; cursor: pointer; text-align: left; }
.zh-consent input { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0 !important; accent-color: #E6BC00; -webkit-appearance: auto; appearance: auto; }
.zh-consent a { color: inherit; text-decoration: underline; }
html.dark .zh-consent { color: #D4D4D4; }
.zh-consent.zh-consent--on-yellow { color: #1A1A1A; }
html.dark .zh-consent.zh-consent--on-yellow { color: #D4D4D4; }
.zh-legal { padding: 130px 0 80px; }
.zh-legal .container { max-width: 860px; }
.zh-legal h1 { margin-bottom: 12px; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; }
.zh-legal__draft { margin: 0 0 24px; padding: 12px 16px; border-radius: 12px; background: #FFF6CC; color: #5C4A00; }
.zh-legal__toc { margin: 0 0 32px; padding-left: 20px; display: grid; gap: 6px; }
.zh-legal__section h2 { margin: 28px 0 8px; font-size: 22px; font-weight: 500; text-transform: none; }
html.dark .zh-legal__draft { background: rgba(255, 208, 3, .12); color: #FFE580; }
html.dark .zh-legal, html.dark .zh-legal h1, html.dark .zh-legal h2 { color: #FFFFFF; }
.zh-foot__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.zh-foot__legal a { color: inherit; text-decoration: underline; }

/* «ZHEBE в действии»: на планшете и телефоне — одна строка со свайпом, видео не уменьшаются */
@media (max-width: 1024px) {
    .zh-videos__grid {
        gap: 14px;
        margin-inline: -16px;
        padding: 0 16px 8px;
        scroll-padding-left: 16px;
        -webkit-overflow-scrolling: touch;
    }
    .zh-video {
        flex: 0 0 clamp(240px, 42vw, 300px);
    }
}
/* Телефон: одно видео и край следующего */
@media (max-width: 640px) {
    .zh-video {
        flex-basis: 80vw;
    }
}

/* Шапка (решение 04.11.2026): поиск, почта, телефон, меню — круги одного диаметра.
   Телефон — жёлтый акцент; ореол тонкий, не шире соседних кнопок. Остальное в шапке не менялось. */
header .zh-search-btn,
header .zh-mail,
header .burger {
    box-sizing: border-box;
    flex: none;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 1.5px solid rgba(17, 20, 26, .18);
    border-radius: 50%;
    background-color: #FFFFFF;
    box-shadow: none;
}
header .burger {
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311141A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E") center / 16px no-repeat !important;
}
html.dark header .zh-search-btn,
html.dark header .zh-mail,
html.dark header .burger {
    border-color: rgba(255, 255, 255, .18);
    background-color: #1E2228;
    color: #F3F4F6;
}
html.dark header .burger {
    background: #1E2228 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3F4F6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E") center / 16px no-repeat !important;
}
header .zh-call__icon {
    width: 32px;
    height: 32px;
}
header .zh-search-btn svg,
header .zh-mail svg,
header .zh-call__icon svg {
    width: 16px;
    height: 16px;
}
header .zh-call__icon::before {
    animation-name: zh-call-halo-thin;
}
@keyframes zh-call-halo-thin {
    0% { transform: scale(1); opacity: .7; }
    30%, 100% { transform: scale(1.15); opacity: 0; }
}
@media (hover: hover) {
    header .zh-call:hover .zh-call__icon {
        box-shadow: 0 0 0 2px rgba(255, 208, 0, .35);
    }
}
@media (max-width: 768px) {
    header .header-right {
        gap: 10px !important;
    }
    header .header-right .item > .flex {
        gap: 10px !important;
    }
    header .zh-search-btn,
    header .zh-mail,
    header .burger,
    header .zh-call--compact .zh-call__icon {
        width: 40px;
        height: 40px;
    }
    header .zh-call--compact {
        width: 40px;
        height: 40px;
    }
    header .zh-search-btn svg,
    header .zh-mail svg,
    header .zh-call__icon svg {
        width: 18px;
        height: 18px;
    }
    header .burger,
    html.dark header .burger {
        background-size: 18px !important;
    }
}

/* Виды перевозок: фото карточки — всегда сверху, на любом экране; при наведении — лёгкое приближение */
.zh-kind--photo {
    overflow: hidden;
}
.zh-kind__photo {
    display: block;
    order: -1;
    width: calc(100% + 60px);
    max-width: none;
    height: 170px;
    margin: -34px -30px 0;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}
@media (hover: hover) and (pointer: fine) {
    a.zh-kind--photo:hover > .zh-kind__photo {
        transform: scale(1.04);
    }
}
@media (prefers-reduced-motion: reduce) {
    .zh-kind__photo { transition: none; }
    a.zh-kind--photo:hover > .zh-kind__photo { transform: none; }
}

/* Заголовки блоков услуг на телефоне: длинное слово помещается целиком, без разрыва посреди слова */
@media (max-width: 480px) {
    .zh-svc-block__head h2 {
        font-size: 1.55rem;
        line-height: 1.2;
    }
}

/* Главная: лента новостей. Слева заголовок и кнопка, справа 3 карточки; на телефоне и планшете — свайп */
.zh-nfeed {
    padding: 80px 0;
}
.zh-nfeed__in {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.zh-nfeed__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}
.zh-nfeed__head h2 {
    margin: 0;
}
.zh-nfeed__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.zh-ncard {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 340px;
    overflow: hidden;
    border-radius: 16px;
    background: #1E2228;
    color: #FFFFFF;
    text-decoration: none;
}
.zh-ncard:hover,
.zh-ncard:focus-visible {
    color: #FFFFFF;
}
.zh-ncard__photo,
.zh-ncard picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
.zh-ncard img,
img.zh-ncard__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Обложки 1200×630: главное (бренд, цифра) — в левой части, карточка её и показывает */
    object-position: left center;
    transition: transform .5s ease;
}
.zh-ncard::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, .88) 0%, rgba(10, 10, 10, .5) 38%, rgba(10, 10, 10, 0) 68%);
}
.zh-ncard__date {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 62px;
    padding: 10px 8px;
    border-bottom-left-radius: 12px;
    background: #FFD003;
    color: #0A0A0A;
    line-height: 1.15;
    text-align: center;
}
.zh-ncard__date b {
    font-size: 22px;
    font-weight: 600;
}
.zh-ncard__date span {
    font-size: 13px;
}
.zh-ncard__title {
    position: relative;
    z-index: 1;
    /* Отступ — margin: у line-clamp в padding видна лишняя строка */
    margin: 20px !important;
    padding: 0;
    font-size: 18px !important;
    font-weight: 500;
    line-height: 1.35;
    color: #FFFFFF !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-transform: none;
}
@media (hover: hover) {
    .zh-ncard:hover img {
        transform: scale(1.04);
    }
}
@media (max-width: 1024px) {
    .zh-nfeed {
        padding: 56px 0;
    }
    .zh-nfeed__in {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    .zh-nfeed__head {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }
    .zh-nfeed__track {
        display: flex;
        gap: 14px;
        margin-inline: -16px;
        padding: 0 16px 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 16px;
        -webkit-overflow-scrolling: touch;
    }
    .zh-ncard {
        flex: 0 0 clamp(250px, 76vw, 320px);
        min-height: 320px;
        scroll-snap-align: start;
    }
}

/* Лента видео: навигация как у отзывов, на всех ширинах */
.zh-rev-nav[hidden] {
    display: none;
}
.zh-rev-nav--always {
    display: flex;
    margin-top: 22px;
}
@media (min-width: 640px) {
    .zh-rev-nav--always:not([hidden]) {
        display: flex;
    }
}
.zh-video__play--file img,
.zh-video__play--file:hover img {
    transform: none;
    opacity: 1;
}
.zh-video video {
    height: auto;
    object-fit: cover;
    background: #000000;
}
.zh-video__ig {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    color: #92700A;
    text-decoration: underline;
}
html.dark .zh-video__ig {
    color: #FFD003;
}

/* Анимации (выключатель «Настройки сайта → Анимации», public/assets/js/zhebe2-anim.js). Только transform и opacity:
   классы ставит скрипт, поэтому без JS всё видно сразу. Шапка не участвует. */
.zh-a {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
}
.zh-a.zh-a--in {
    opacity: 1;
    transform: none;
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
@media print {
    .zh-a {
        opacity: 1;
        transform: none;
    }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    html[data-zh-anim] .zh-fleet__item,
    html[data-zh-anim] .zh-cargo__item,
    html[data-zh-anim] .zh-adv__card,
    html[data-zh-anim] .zh-stats__item,
    html[data-zh-anim] .zh-ncard,
    html[data-zh-anim] .zh-video {
        transition: transform .25s ease;
    }
    html[data-zh-anim] .zh-fleet__item:hover,
    html[data-zh-anim] .zh-cargo__item:hover,
    html[data-zh-anim] .zh-adv__card:hover,
    html[data-zh-anim] .zh-stats__item:hover,
    html[data-zh-anim] .zh-ncard:hover,
    html[data-zh-anim] .zh-video:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(10, 10, 10, .12);
    }
}

/* ---------- Вёрстка на всех языках (RU, KZ, EN, ZH): длина текста не ломает сетку ---------- */
main,
footer {
    overflow-wrap: break-word;
}
.zh-kind,
.zh-fleet__item,
.zh-cargo__item,
.zh-adv__card,
.zh-stats__item,
.zh-proj {
    min-width: 0;
}
/* Китайский: без пробелов строки плотнее, нужен больший интервал */
html[lang^="zh"] main p,
html[lang^="zh"] main li,
html[lang^="zh"] main dd,
html[lang^="zh"] main button.zhebe-faq__q,
html[lang^="zh"] footer li {
    line-height: 1.75;
}
html[lang^="zh"] main h1,
html[lang^="zh"] main h2,
html[lang^="zh"] main h3,
html[lang^="zh"] main h4,
html[lang^="zh"] main h5,
html[lang^="zh"] main h6 {
    line-height: 1.45;
    letter-spacing: 0;
}
html[lang^="zh"] #about .description h4,
html[lang^="zh"] #about .title h4,
html[lang^="zh"] #about .since .text h4 {
    line-height: 1.75;
}
/* /about, первый блок: заголовок и абзац — колонками, а не наездом;
   высота блока задана фото, плашка по центру, поэтому текст ниже не наезжает на фото на любом языке */
@media (min-width: 769px) {
    #about .title {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        column-gap: 48px;
        align-items: end;
    }
    #about .title h1 {
        max-width: none;
    }
    #about .title h4 {
        float: none;
        justify-self: end;
        margin-top: 0;
    }
    #about .since {
        display: flex;
        align-items: center;
        min-height: calc(min(850px, 62vw) * .55);
        padding: 0;
    }
    #about .since .box {
        width: 100%;
    }
    #about .image {
        margin-bottom: 0;
        position: absolute;
    }
    #about .image img {
        position: absolute;
        top: 50%;
        right: 15px;
        width: min(850px, 62vw);
        aspect-ratio: 1 / .55;
        height: auto;
        object-fit: cover;
        transform: translateY(-50%);
    }
}
/* Карточки услуг заполняют ячейку сетки (ширина 1/3 осталась от старой раскладки и сужала их втрое);
   высота не зависит от длины текста, фото одинакового размера на всех языках */
#services .services > .item.service,
.home-page #services .services > .item.service,
.home-page #services .services > .item:last-child {
    width: 100%;
    max-width: none;
}
@media (min-width: 569px) and (max-width: 1199px) {
    #services .service {
        min-height: 290px;
    }
}
/* Список подуслуг: стрелки не наезжают на текст */
#sub-services .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
#sub-services .item h5 {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 70px;
}
/* Узкий экран: длинные слова помещаются в строку целиком, а не рвутся посередине */
@media (max-width: 420px) {
    .title > h2,
    .zhebe-head__title {
        font-size: clamp(21px, 6.9vw, 26px);
    }
    .zhebe-head--arrows .zhebe-head__title,
    .zhebe-head__row .zhebe-head__title {
        padding-right: 56px;
    }
    .zh-adv__title {
        font-size: clamp(15px, 4.9vw, 19px);
    }
    #item-3 h4,
    #process .item h4 {
        font-size: clamp(13px, 4vw, 16px);
    }
    #employees .item > p {
        font-size: 15px;
    }
}
/* /about: на узком экране команда выравнивается влево, без пустой ячейки перед третьим человеком */
@media (max-width: 767px) {
    #employees .employees > .flex {
        justify-content: flex-start;
    }
}
/* /about: фото команды плавающее; подпись всегда под ним, а не узкой колонкой сбоку */
#employees .item h4,
#employees .item p {
    clear: both;
}
/* Карточки видов перевозок: длинные слова («Рефрижераторные», «Скоропортящиеся») помещаются в строку */
a.zh-kind > h3 {
    font-size: 24px;
    line-height: 1.2;
}
/* /about: фото команды выровнено с подписью, без сдвига вправо */
#employees .item img {
    float: none;
}
/* Китайский: межстрочный интервал в оставшихся блоках */
html[lang^="zh"] #employees .item p,
html[lang^="zh"] .zh-vmap__lead,
html[lang^="zh"] .zh-gloss__term {
    line-height: 1.6;
}
/* /tmtm и подобные: заголовок справа от описания не касается текста */
.flex > .description + .title {
    padding-left: 32px;
}
@media (max-width: 767px) {
    .flex > .description + .title {
        padding-left: 0;
    }
}
/* Китайский: заголовок не оставляет один знак на последней строке */
html[lang^="zh"] h1,
html[lang^="zh"] h2 {
    text-wrap: balance;
}
/* Страница 404 в светлой теме: тёмный блок и тёмная шапка делали заголовок и меню невидимыми */
html:not(.dark) .error-page section#main {
    background: #FFFFFF;
}
html:not(.dark) .error-page section#main::before,
html:not(.dark) .error-page section#main::after,
html:not(.dark) .error-page section#main .main::before,
html:not(.dark) .error-page section#main .main::after {
    display: none;
}
html:not(.dark) .error-page section#main .title,
html:not(.dark) .error-page section#main .title h1,
html:not(.dark) .error-page section#main .title h2,
html:not(.dark) .error-page section#main .title h4,
html:not(.dark) .error-page section#main .title p {
    color: #0A0A0A;
    opacity: 1;
}
/* /ok и /error: заголовок, текст и ссылки одной колонкой по центру */
#ok .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#ok .container > h1,
#ok .container > h4 {
    float: none;
    width: auto;
    max-width: 720px;
    margin: 0 0 16px;
    padding: 0;
    text-align: center;
}
html:not(.dark) #ok .container > h1 {
    color: #0A0A0A;
}
/* /track и /rail/tariff: плашка над заголовком не прижата к шапке */
@media (min-width: 768px) {
    main.zhebe-track-page {
        padding-top: 96px;
    }
}
/* Заголовки и кнопки без переносов по слогам на всех языках («КОМ-ПАНИЯ» нельзя);
   длинные слова помещаются за счёт размера шрифта (clamp ниже) */
h1, h2, h3, h4, h5, h6,
button, .btn, a.zh-cta, button.zh-cta, a.btn,
.zhebe-head__title {
    -webkit-hyphens: none !important;
    hyphens: none !important;
}
/* «Жебе в цифрах» плитками: цифра сверху, подпись снизу, первая плитка на 2 колонки,
   при наведении плитка тёмная, цифра жёлтая. Вариант A — серые плитки на белом, B — белые на жёлтом. */
.zh-stats--a,
.zh-stats--b {
    padding: 72px 0;
}
.zh-stats--a {
    background: #FFFFFF;
}
.zh-stats--a .zh-stats__grid,
.zh-stats--b .zh-stats__grid {
    gap: 12px;
}
.zh-stats--a .zh-stats__item,
.zh-stats--b .zh-stats__item {
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    min-height: 168px;
    padding: 24px;
    border-top: 0;
    border-radius: 16px;
    background: #F5F5F3;
    transition: background-color .2s ease, color .2s ease;
}
.zh-stats--b .zh-stats__item {
    background: #FFFFFF;
}
.zh-stats--a .zh-stats__item:first-child,
.zh-stats--b .zh-stats__item:first-child {
    grid-column: span 2;
}
.zh-stats--a .zh-stats__item dd,
.zh-stats--b .zh-stats__item dd {
    font-size: clamp(2rem, 1.25rem + 2.4vw, 3.5rem);
    transition: color .2s ease;
}
.zh-stats--a .zh-stats__item:first-child dd,
.zh-stats--b .zh-stats__item:first-child dd {
    font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.zh-stats--a .zh-stats__item dt,
.zh-stats--b .zh-stats__item dt {
    font-size: clamp(13px, 12px + .25vw, 16px);
    line-height: 1.35;
    transition: color .2s ease;
}
@media (hover: hover) {
    .zh-stats--a .zh-stats__item:hover,
    .zh-stats--b .zh-stats__item:hover {
        background: #0A0A0A;
    }
    .zh-stats--a .zh-stats__item:hover dd,
    .zh-stats--b .zh-stats__item:hover dd {
        color: #FFD003;
    }
    .zh-stats--a .zh-stats__item:hover dt,
    .zh-stats--b .zh-stats__item:hover dt {
        color: #E8EAED;
    }
}
@media (max-width: 640px) {
    .zh-stats--a,
    .zh-stats--b {
        padding: 56px 0;
    }
    .zh-stats--a .zh-stats__item,
    .zh-stats--b .zh-stats__item {
        min-height: 132px;
        padding: 16px;
    }
    .zh-stats--a .zh-stats__item dd,
    .zh-stats--b .zh-stats__item dd {
        font-size: clamp(1.5rem, 8vw, 2.25rem);
    }
    .zh-stats--a .zh-stats__item:first-child dd,
    .zh-stats--b .zh-stats__item:first-child dd {
        font-size: clamp(2.75rem, 15vw, 4rem);
    }
}
/* Китайский: заголовок переносится по пробелам и знакам, а не внутри слова («公/司») */
html[lang^="zh"] h1,
html[lang^="zh"] h2 {
    word-break: keep-all;
}
html[lang^="zh"] .zhebe-head__row h2 {
    min-width: 0;
    overflow-wrap: anywhere;
}
/* H1 страниц-копий главной на узком экране: длинные слова («Международные») помещаются */
@media (max-width: 767px) {
    .home-page #main .main h1 {
        font-size: clamp(1.625rem, 8.4vw, 2rem);
    }
}
/* «Есть вопросы?»: кнопка, а не голый текст. Светлая тема — чёрная с жёлтой стрелкой */
#feedback-form button.btn,
#contacts-form button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #262626 0%, #0A0A0A 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 12px 28px -12px rgba(10, 10, 10, .55);
    font-size: 1rem;
    color: #FFFFFF;
    transition: transform .2s ease, box-shadow .2s ease;
}
#feedback-form button.btn::after,
#contacts-form button.btn::after,
#feedback-form button.btn:hover::after,
#contacts-form button.btn:hover::after {
    position: static;
    flex: none;
    width: 42px;
    height: 16px;
    background: url(../images/arrows-gold.svg) center / contain no-repeat;
    animation: none;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    #feedback-form button.btn:hover,
    #contacts-form button.btn:hover {
        transform: translateY(-2px);
    }
}
/* «Преимущества» (прежние карточки): иконка по смыслу, рамка нейтральная, при наведении — жёлтая обводка и свечение */
.zh-benefit {
    border: 1px solid #E2E2DF;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.zh-benefit__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFD003;
    color: #0A0A0A;
}
.zh-benefit__icon svg {
    width: 22px;
    height: 22px;
}
@media (hover: hover) {
    .zh-benefit.zh-hover-card:hover {
        border-color: #FFD003;
        box-shadow: 0 0 0 1px #FFD003, 0 10px 28px -8px rgba(255, 208, 3, .5);
        transform: translateY(-3px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .zh-benefit.zh-hover-card:hover {
        transform: none;
    }
}
/* ТЗ 2-2: города и узлы коридора, текстовый список маршрутов */
.zh-nodes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.zh-nodes__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 16px;
    border-radius: 12px;
    background: #FFFFFF;
}
.zh-nodes__item b {
    font-weight: 500;
}
.zh-nodes__item span {
    font-size: 14px;
    color: #5F5F5F;
}
.zh-routes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}
.zh-routes__group h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 500;
}
.zh-routes__group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.zh-routes__group li {
    padding: 10px 0;
    border-top: 1px solid rgba(10, 10, 10, .1);
    font-size: 15px;
    line-height: 1.5;
}
@media (max-width: 767px) {
    .zh-routes {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* ТЗ 2-2: карточки разделов без описания ниже, термины справочника, калькулятор объёмного веса */
a.zh-kind:not(:has(> p)) {
    min-height: 120px;
}
.zh-terms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.zh-terms__item {
    min-width: 0;
    padding: 24px;
    border: 1px solid #E2E2DF;
    border-radius: 12px;
}
.zh-terms__item h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: none;
}
.zh-terms__item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}
.zh-volume {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 860px;
}
.zh-volume__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    font-size: 14px;
}
.zh-volume__field input {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    border: 1px solid #D5D5D2;
    border-radius: 10px;
    background: #FFFFFF;
    font-size: 16px;
}
.zh-volume__result {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    grid-column: 1 / -1;
    padding: 20px;
    border-radius: 12px;
    background: #FFD003;
    font-size: 18px;
    color: #0A0A0A;
}
.zh-volume__note {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 14px;
    color: #5F5F5F;
}
@media (max-width: 767px) {
    .zh-terms {
        grid-template-columns: minmax(0, 1fr);
    }
    .zh-volume {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* Карточки грузов на узком экране: длинные слова («Электротехническое») помещаются */
@media (max-width: 420px) {
    .zh-cargo__item h3 {
        font-size: clamp(18px, 5.6vw, 22.4px);
    }
}

/* Карта на телефоне: целиком в экране и не выше него. Стоит в конце файла, чтобы перекрыть прежнюю высоту */
@media (max-width: 767px), (pointer: coarse) and (max-height: 500px) {
    .zh-vmap__map {
        height: clamp(340px, 52svh, 480px);
    }
    /* Заголовок блока над картой, а не поверх неё: иначе закрывает точки */
    #geo:not(.zh-vmap) {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    #geo:not(.zh-vmap) .geo-title {
        position: static;
        order: -1;
        padding: 48px 0 20px;
    }
    #geo:not(.zh-vmap) #map {
        position: relative;
        height: clamp(340px, 56svh, 520px);
    }
    /* Виды транспорта — одна строка, обозначения — по кнопке: в повороте экрана тоже */
    .zh-vmap__modes {
        top: 10px;
        left: 10px;
        right: 60px;
        max-width: none;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .zh-vmap__modes::-webkit-scrollbar {
        display: none;
    }
    .zh-vmap__mode {
        flex: none;
    }
    .zh-vmap__zoom {
        top: 10px;
        right: 10px;
    }
    .zh-vmap__legend {
        display: none;
        left: 10px;
        bottom: 54px;
        flex-direction: column;
        max-width: calc(100% - 20px);
    }
    .zh-vmap__map.is-legend-open .zh-vmap__legend {
        display: flex;
    }
    .zh-vmap__legend-btn {
        display: inline-flex;
    }
}
@media (pointer: coarse) and (max-height: 500px) {
    .zh-vmap__map,
    #geo:not(.zh-vmap) #map,
    section#contacts.zhebe-map .zhebe-map__frame {
        height: calc(100svh - 72px);
        min-height: 260px;
    }
}

/* «ZHEBE в действии»: кнопка под лентой */
.zh-videos__more {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}
.zh-videos__ig {
    width: 22px;
    height: 22px;
    margin-right: -4px;
}

/* Заголовок колонки Mega Menu со ссылкой на раздел выглядит так же, как без неё */
header .zh-mega .zh-mega__col > a.zh-mega__title {
    display: inline;
    padding: 0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .08em;
    line-height: 19.2px;
    text-transform: uppercase;
    color: #737373;
}
header .zh-mega .zh-mega__col > a.zh-mega__title:hover {
    text-decoration: underline;
}
html.dark header .zh-mega .zh-mega__col > a.zh-mega__title {
    color: #8B8F97 !important;
}

/* ЖД-тариф: заявка менеджеру открывается кнопкой после расчёта; класс grid перекрывал атрибут hidden */
[data-rail-request][hidden] {
    display: none;
}

/* Строка под заголовком расчёта: цену считает менеджер */
#calculator .calc-note {
    max-width: 760px;
    margin: 12px 0 0;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(10, 10, 10, .7);
}
html.dark #calculator .calc-note {
    color: rgba(244, 245, 246, .72);
}

/* ---------- Иллюстрации транспорта («Типы транспорта», components/vehicle-art) ---------- */
.zh-fleet__item:has(.zh-vart) { overflow: hidden; }
.zh-vart { --zv-body: #FFFFFF; --zv-line: #2B2F36; --zv-g: #2B2F36; --zv-hub: #D9DCE1; display: block; width: 100%; height: auto; aspect-ratio: 240 / 96; margin: 0 0 14px; overflow: visible; }
html.dark .zh-vart { --zv-body: #EEF0F3; --zv-line: #0A0B0D; --zv-g: #5A606B; --zv-hub: #9AA0AA; }
.zh-vart .b { fill: var(--zv-body); stroke: var(--zv-line); stroke-width: 2; stroke-linejoin: round; }
.zh-vart .g { fill: var(--zv-g); }
.zh-vart .g.dark { fill: #2B2F36; stroke: var(--zv-line); stroke-width: 2; }
.zh-vart .y { fill: #FFD003; }
.zh-vart .glass { fill: #9FB4C7; }
.zh-vart .shadow { fill: #000000; opacity: .08; }
html.dark .zh-vart .shadow { opacity: .35; }
.zh-vart .l, .zh-vart .l path { fill: none; stroke: var(--zv-line); stroke-width: 1.5; stroke-linecap: round; opacity: .35; }
.zh-vart .lw { fill: none; stroke: #FFFFFF; stroke-width: 1.5; opacity: .3; }
.zh-vart .ld { fill: none; stroke: #2B2F36; stroke-width: 1.5; opacity: .35; }
.zh-vart .arm { fill: none; stroke: #FFD003; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.zh-vart .rail { fill: none; stroke: var(--zv-g); stroke-width: 2; opacity: .6; }
.zh-vart .w circle { fill: #1A1D22; }
html.dark .zh-vart .w circle { fill: #0A0B0D; stroke: #5A606B; stroke-width: 1.5; }
.zh-vart .w .hub { fill: var(--zv-hub); stroke: none; }
.zh-vart .w .spoke { stroke: #1A1D22; stroke-width: 1.2; }
.zh-vart .wi, .zh-vart .zh-vart__body { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
    /* Выезд при прокрутке: только когда анимации включены и скрипт пометил блок, иначе карточки видны сразу.
       15.11.2026: 0,4 с + 0,05 с на карточку (было 1 с + 0,16 с); загрузку картинки не ждёт — до неё видна заглушка */
    html[data-zh-anim] .zh-fleet--anim:not(.is-driving) .zh-vart { transform: translateX(-120%); opacity: 0; }
    html[data-zh-anim] .zh-fleet--anim.is-driving .zh-vart { animation: zv-in .4s cubic-bezier(.22, .61, .36, 1) both; animation-delay: calc(var(--i, 0) * 50ms); }
    html[data-zh-anim] .zh-fleet--anim.is-driving .zh-vart .w { transform-box: fill-box; transform-origin: center; animation: zv-roll .4s cubic-bezier(.22, .61, .36, 1) both; animation-delay: calc(var(--i, 0) * 50ms); }
    @media (hover: hover) {
        html[data-zh-anim] .zh-fleet__item:hover .zh-vart__body { animation: zv-bob .7s ease-in-out; }
        html[data-zh-anim] .zh-fleet__item:hover .zh-vart .wi { animation: zv-spin .7s linear; }
    }
}
@keyframes zv-in { from { transform: translateX(-120%); opacity: 0; } 50% { opacity: 1; } to { transform: none; opacity: 1; } }
/* Фото машин смотрят кабиной влево — выезжают справа налево (SVG — слева направо) */
@media (prefers-reduced-motion: no-preference) {
    html[data-zh-anim] .zh-fleet--anim:not(.is-driving) .zh-vart--photo { transform: translateX(120%); }
    html[data-zh-anim] .zh-fleet--anim.is-driving .zh-vart--photo { animation-name: zv-in-rtl; }
}
@keyframes zv-in-rtl { from { transform: translateX(120%); opacity: 0; } 50% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes zv-roll { from { rotate: -720deg; } to { rotate: 0deg; } }
@keyframes zv-spin { to { rotate: 360deg; } }
@keyframes zv-bob { 0%, 100% { transform: none; } 30% { transform: translateY(-2px); } 60% { transform: translateY(1px); } }


/* Источники в статье: ссылка строчная, иначе номер списка встаёт к последней строке длинного названия */
.media-page main ol li > a,
.ds-media-page main ol li > a {
    display: inline;
}

/* ===== Баннер-напоминание (админка «Баннеры-напоминания»): вёрстка + SVG, без картинок ===== */
.zh-remind { padding-top: 32px; }
.zh-remind[hidden] { display: none; }
.zh-remind .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.zh-remind__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px 40px;
    padding: 36px 64px 36px 44px;
    border-radius: 24px;
    background: #16191E;
    color: #FFFFFF;
    overflow: hidden;
    box-shadow: inset 6px 0 0 #FFD003;
}
.zh-remind__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.zh-remind__link:focus-visible { outline: 3px solid #FFD003; outline-offset: 3px; }
.zh-remind__arrow {
    position: absolute;
    right: -24px;
    bottom: -36px;
    width: 300px;
    height: auto;
    fill: #FFD003;
    opacity: .1;
    transition: transform .4s ease, opacity .4s ease;
    pointer-events: none;
}
.zh-remind__card:hover .zh-remind__arrow { transform: translateY(-8px); opacity: .16; }
.zh-remind__body { position: relative; min-width: 0; }
.zh-remind__body p { margin: 0; }
.zh-remind__kicker { font-size: 13px; line-height: 1.3; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FFD003; }
.zh-remind__title { margin-top: 14px !important; font-size: 40px; line-height: 1.05; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; color: #FFFFFF; }
.zh-remind__accent { margin-top: 8px !important; font-size: 40px; line-height: 1.05; font-weight: 800; text-transform: uppercase; color: #FFD003; }
.zh-remind__text { margin-top: 14px !important; font-size: 20px; line-height: 1.35; font-weight: 600; color: #FFFFFF; }
.zh-remind__note { display: inline-block; margin-top: 16px !important; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .72); }
.zh-remind__btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    background: #FFD003;
    color: #0E1116 !important;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition: filter .2s ease, transform .2s ease;
}
.zh-remind__btn:hover { filter: brightness(.95); transform: translateY(-1px); }
.zh-remind__btn:focus-visible, .zh-remind__close:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
.zh-remind__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #FFFFFF;
    cursor: pointer;
    transition: background .2s ease;
}
.zh-remind__close:hover { background: rgba(255, 255, 255, .18); }
.zh-remind__close svg { width: 18px; height: 18px; }
html.dark .zh-remind__card { background: #1A1D22; border: 1px solid rgba(255, 208, 3, .22); }

/* Компактный: на страницах услуг и направлений */
.zh-remind--compact { padding-top: 24px; }
.zh-remind--compact .zh-remind__card { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; padding: 18px 64px 18px 28px; border-radius: 18px; }
.zh-remind--compact .zh-remind__arrow { position: relative; right: auto; bottom: auto; width: 44px; opacity: 1; }
.zh-remind--compact .zh-remind__card:hover .zh-remind__arrow { transform: translateY(-3px); opacity: 1; }
.zh-remind--compact .zh-remind__kicker { font-size: 11px; }
.zh-remind--compact .zh-remind__title { margin-top: 4px !important; font-size: 20px; line-height: 1.2; }
.zh-remind--compact .zh-remind__title .zh-remind__accent { margin: 0 0 0 8px !important; font-size: inherit; }
.zh-remind--compact .zh-remind__text { margin-top: 2px !important; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .8); }
.zh-remind--compact .zh-remind__btn { padding: 11px 20px; font-size: 15px; }
.zh-remind--compact .zh-remind__close { top: 50%; transform: translateY(-50%); width: 32px; height: 32px; }

@media (max-width: 767px) {
    .zh-remind { padding-top: 20px; }
    .zh-remind__card { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; padding: 24px 20px 22px 26px; border-radius: 20px; }
    .zh-remind__arrow { width: 200px; right: -30px; bottom: -28px; }
    .zh-remind__kicker { font-size: 11px; padding-right: 36px; }
    .zh-remind__title, .zh-remind__accent { font-size: 26px; }
    .zh-remind__text { font-size: 17px; }
    .zh-remind__note { font-size: 13px; }
    .zh-remind__btn { width: 100%; }
    .zh-remind--compact .zh-remind__card { grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; padding: 16px 16px 16px 22px; }
    .zh-remind--compact .zh-remind__arrow { width: 34px; align-self: start; margin-top: 4px; }
    .zh-remind--compact .zh-remind__title { font-size: 17px; }
    .zh-remind--compact .zh-remind__body { padding-right: 30px; }
    .zh-remind--compact .zh-remind__btn { grid-column: 1 / -1; }
    .zh-remind--compact .zh-remind__close { top: 12px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .zh-remind__arrow, .zh-remind__btn { transition: none; }
    .zh-remind__card:hover .zh-remind__arrow, .zh-remind__btn:hover { transform: none; }
}
/* Цвета баннера сильнее общих правил тёмной темы для абзацев */
.zh-remind .zh-remind__kicker, .zh-remind .zh-remind__accent,
html.dark .zh-remind .zh-remind__kicker, html.dark .zh-remind .zh-remind__accent { color: #FFD003 !important; }
.zh-remind .zh-remind__title, .zh-remind .zh-remind__text,
html.dark .zh-remind .zh-remind__title, html.dark .zh-remind .zh-remind__text { color: #FFFFFF !important; }
html.dark .zh-remind .zh-remind__note { color: rgba(255, 255, 255, .72) !important; }
html.dark .zh-remind--compact .zh-remind__text { color: rgba(255, 255, 255, .8) !important; }
@media (max-width: 767px) {
    .zh-remind--compact .zh-remind__kicker { display: none; }
}
.zh-remind .zh-remind__accent { white-space: nowrap; }

/* Обложка в карточке материала: атрибут height="630" перебивал пропорцию 16:9 — картинка вытягивалась на всю высоту */
.zh-news-card img { height: auto; }

/* Фото транспорта без фона (vehicles:import): крупно, на всю ширину карточки, мягкая тень; анимации — те же, что у SVG */
.zh-vart--photo { aspect-ratio: 5 / 2; margin: -4px -6px 10px; width: calc(100% + 12px); }
.zh-vart--photo .zh-vart__body { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .14)); }
html.dark .zh-vart--photo .zh-vart__body { filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); }
/* Обложка статьи целиком: атрибут height="630" обрезал её на узкой колонке */
img.zh-post-cover { height: auto; }
/* Тёмная тема: под фото машины — мягкое светлое свечение, чтобы тёмные колёса и рама не терялись на фоне */
html.dark .zh-vart--photo { position: relative; }
html.dark .zh-vart--photo::before { content: ""; position: absolute; inset: 18% 4% 0; background: radial-gradient(ellipse 50% 42% at 50% 78%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 72%); pointer-events: none; }
html.dark .zh-vart--photo .zh-vart__body { position: relative; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)) drop-shadow(0 0 1px rgba(255, 255, 255, .25)); }

/* Иконки карточек «Клиентам» и «Экспертиза» — как в «Преимуществах» */
.zh-kind__icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: #FFF6CC; color: #8A6D00; flex: none; }
.zh-kind__icon svg { width: 24px; height: 24px; }
html.dark .zh-kind__icon { background: rgba(255, 208, 3, .14); color: #FFD003; }

/* Руководитель («О компании»): портрет 4:5 на всю колонку, имя крупнее, должность и регалии под ним */
.zh-ceo { width: 100%; }
.zh-ceo__photo { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: #191B1E; box-shadow: 0 18px 40px rgba(10, 10, 10, .16), 0 2px 6px rgba(10, 10, 10, .08); }
.zh-ceo__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
html.dark .zh-ceo__photo { box-shadow: none; border: 1px solid rgba(255, 255, 255, .08); }
.zh-ceo__info { margin-top: 18px; }
.zh-ceo__name { margin: 0 0 10px !important; font-size: 24px !important; font-weight: 600 !important; line-height: 1.25 !important; }
@media (max-width: 1023px) {
    .zh-ceo__photo { max-height: 70vh; aspect-ratio: auto; height: min(70vh, calc((100vw - 32px) * 1.25)); }
    .zh-ceo__name { font-size: 22px !important; }
}

/* Фокус с клавиатуры (WCAG 2.4.7): двойная рамка — видна на белом, тёмном и жёлтом фоне; поля ввода — своя подсветка */
:where(a, button, summary, [tabindex]:not([tabindex="-1"]), input[type="checkbox"], input[type="radio"]):focus-visible,
.zh-remind__btn:focus-visible, .zh-remind__close:focus-visible, .zh-remind__link:focus-visible {
    outline: 2px solid #0A0A0A !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 2px #FFD003 !important;
}
html.dark :where(a, button, summary, [tabindex]:not([tabindex="-1"]), input[type="checkbox"], input[type="radio"]):focus-visible,
html.dark .zh-remind__btn:focus-visible, html.dark .zh-remind__close:focus-visible, html.dark .zh-remind__link:focus-visible {
    outline-color: #FFD003 !important;
    box-shadow: 0 0 0 2px #0A0A0A !important;
}
:where(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus-visible {
    outline: 2px solid #E6BC00;
    outline-offset: 1px;
}

/* Контраст текста, светлая тема (WCAG AA 4.5:1, аудит 08.11): серые подписи → #6B6B6B, золото ссылок → #8A6D00, синий кейсов → #0A66C2 */
html:not(.dark) .zh-foot__bottom, html:not(.dark) .zh-foot__bottom small { color: #6B6B6B !important; }
html:not(.dark) .zh-proj__facts dt,
html:not(.dark) .zh-quote__steps,
html:not(.dark) .zh-dq__progress li,
html:not(.dark) .zh-dq__crumbs,
html:not(.dark) .zh-dq__crumbs a { color: #6B6B6B; }
html:not(.dark) .zh-proj__more { color: #8A6D00; }
html:not(.dark) .text-\[\#007AFF\] { color: #0A66C2 !important; }

/* Баннер cookie (появляется, только если в настройках есть счётчики и текст баннера) */
.zh-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 20px; border-radius: 16px; background: #FFFFFF; color: #0A0A0A; box-shadow: 0 18px 40px rgba(10, 10, 10, .18); }
.zh-cookie[hidden] { display: none; }
.zh-cookie__text { flex: 1 1 320px; margin: 0 !important; font-size: 14px; line-height: 1.5; color: #333333; }
.zh-cookie__actions { display: flex; gap: 10px; }
.zh-cookie__btn { padding: 10px 18px; border: 1px solid #D4D4D4; border-radius: 999px; background: transparent; color: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.zh-cookie__btn--yes { border-color: #FFD003; background: #FFD003; color: #0A0A0A; }
html.dark .zh-cookie { background: #1A1D22; color: #FFFFFF; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
html.dark .zh-cookie__text { color: #D4D4D4; }
html.dark .zh-cookie__btn { border-color: rgba(255, 255, 255, .25); }
html.dark .zh-cookie__btn--yes { border-color: #FFD003; color: #0A0A0A; }

/* Заголовок общего блока на разделах — div вместо H2 (SEO-структура страниц не меняется), выглядит как H2 блока на главной */
.zh-block-title { margin: 0; font-family: Onest, ui-sans-serif, sans-serif; font-size: 48px; font-weight: 400; line-height: 1.1; letter-spacing: normal; text-transform: uppercase; color: #0A0A0A; }
.zh-block-title--cases { line-height: 1.15; color: #000000; }
.zh-videos__head .zh-block-title { color: #000000; }
html.dark .zh-block-title { color: #E8EAED; }
html.dark .zh-block-title::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 12px; background: #FFD003; }
@media (max-width: 640px) {
    .zh-block-title { font-size: 32px; }
}

/* Мобильное меню: на всех страницах на весь экран, как на главной (раньше вне главной — панель 270px
   на полупрозрачной подложке: просвечивала страница, кнопка «Рассчитать перевозку» не помещалась) */
@media (max-width: 1023px) {
    #mobile-menu {
        width: 100vw;
        max-width: 100vw;
        background: #FFFFFF;
        overflow-x: hidden;
    }
    html.dark #mobile-menu { background: #0A0B0D; }
    #mobile-menu .mobile-menu {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 24px 16px;
        overflow-y: auto;
    }
    #mobile-menu .zh-mmenu__foot,
    #mobile-menu a.zh-mmenu__cta {
        box-sizing: border-box;
        max-width: 100%;
        min-width: 0;
    }
}

/* Блок руководителя (components/sections/team): фото 4:5 + имя, должность, цитата */
.zh-ceo2 { display: flex; flex-direction: column; gap: 24px; }
.zh-ceo2__photo { align-self: center; width: min(70%, calc(45vh * .8)); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: #191B1E; box-shadow: 0 18px 40px rgba(10, 10, 10, .16), 0 2px 6px rgba(10, 10, 10, .08); }
.zh-ceo2__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
html.dark .zh-ceo2__photo { box-shadow: none; border: 1px solid rgba(255, 255, 255, .08); }
.zh-ceo2__body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.zh-ceo2__head { align-self: stretch; text-align: center; }
h4.zh-ceo2__name { margin: 0 !important; font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: normal; text-transform: none; color: #0A0A0A; }
html.dark h4.zh-ceo2__name { color: #FFFFFF; }
.zh-ceo2__creds { margin: 8px 0 0 !important; padding: 0 !important; list-style: none; font-size: 14px; line-height: 1.45; color: #5F6368; }
.zh-ceo2__creds li { margin: 0; padding: 0; }
.zh-ceo2__creds li + li { margin-top: 2px; }
html.dark .zh-ceo2__creds { color: #9AA0A6; }
.zh-ceo2__text { margin-top: 20px; font-size: 15px; line-height: 1.65; }
.zh-ceo2 a.zh-cta.zh-team-about { margin-top: 24px !important; }
@media (min-width: 768px) {
    .zh-ceo2__photo { width: min(50%, 360px); }
}
@media (min-width: 1024px) {
    .zh-ceo2 { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); gap: 56px; align-items: center; }
    .zh-ceo2__photo { align-self: auto; width: 100%; max-width: 416px; max-height: 520px; }
    .zh-ceo2__head { text-align: left; }
    h4.zh-ceo2__name { font-size: 30px; }
    .zh-ceo2__creds { margin-top: 10px !important; font-size: 15px; }
    .zh-ceo2__text { margin-top: 24px; font-size: 16px; line-height: 1.75; }
    .zh-ceo2 a.zh-cta.zh-team-about { margin-top: 28px !important; }
}

/* Карта маршрутов (09.11): маркер — только точка, якорь по центру (точка всегда на своей координате);
   подпись — отдельно, положение выбирает zhebe2-map.js, чтобы подписан был каждый город */
.zh-vmap .zh-vnode,
.zh-vmap .zh-vnode[class*="is-"] {
    display: block;
    flex-direction: initial;
    gap: 0;
}
.zh-vmap .zh-vnode[hidden] {
    display: none;
}
.zh-vmap .zh-vnode > i {
    display: block;
}
.zh-vmap .zh-vnode > span {
    position: absolute;
    left: 20px;
    top: 0;
    margin: 0 !important;
    line-height: 1.35;
}
/* Кнопка «Рассчитать перевозку» в подсказке маршрута: маршрут уходит в Smart Quote */
.zh-vpop a.zh-vpop__cta {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #FFD003;
    color: #0A0A0A !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.zh-vpop a.zh-vpop__cta:hover { background: #F2C200; }

/* Видео-презентация (components/sections/promo-video): кадр 16:9, карточка-ссылка поверх нарисованной в ролике */
.zh-pvideo { padding: 64px 0; }
.zh-pvideo__head { margin-bottom: 28px; }
.zh-pv {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
    background: #0A0B0D;
    container-type: inline-size;
    box-shadow: 0 18px 40px rgba(10, 10, 10, .14);
}
.zh-pv__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0A0B0D; }
.zh-pv__card {
    position: absolute;
    z-index: 2;
    display: block;
    border-radius: 2.083cqw; /* 40px из 1920 */
    cursor: pointer;
    transition: box-shadow .25s ease;
}
.zh-pv__card[hidden] { display: none; }
.zh-pv__card:hover,
.zh-pv__card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px #FFD003, 0 0 28px 6px rgba(255, 208, 3, .55);
}
.zh-pv__after { margin-top: 20px; display: flex; justify-content: center; }
.zh-pv__after[hidden] { display: none; }
html.dark .zh-pv { box-shadow: none; border: 1px solid rgba(255, 255, 255, .08); }
@media (max-width: 640px) {
    .zh-pvideo { padding: 40px 0; }
    .zh-pvideo__head { margin-bottom: 18px; }
    .zh-pv { border-radius: 14px; }
}
html .zh-pv a.zh-pv__card:hover,
html .zh-pv a.zh-pv__card:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px #FFD003, 0 0 28px 6px rgba(255, 208, 3, .55) !important;
}

/* Кружок-превью «Презентация сайта» (components/promo-bubble): левый нижний угол, справа — WhatsApp */
.zh-pvb {
    --pvb: 120px;
    --pvb-lift: 0px;
    position: fixed;
    left: 24px;
    bottom: calc(24px + var(--pvb-lift));
    z-index: 990;
    width: var(--pvb);
    height: var(--pvb);
    opacity: 0;
    transform: translateY(12px) scale(.92);
    transition: opacity .35s ease, transform .35s cubic-bezier(.2, .7, .2, 1), bottom .25s ease;
}
.zh-pvb[hidden] { display: none; }
.zh-pvb.is-in { opacity: 1; transform: none; }
/* при открытом Smart Quote, поиске, окне ролика (html.zh-noscroll) и мобильном меню — скрыт (класс ставит zhebe2.js) */
.zh-pvb.is-covered { visibility: hidden; opacity: 0; }
.zh-pvb__open {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #0A0B0D !important;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(10, 10, 10, .28), 0 2px 6px rgba(10, 10, 10, .18);
}
.zh-pvb__open::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px #FFD003;
    pointer-events: none;
}
.zh-pvb__open::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(255, 208, 3, .75);
    animation: zhPvbPulse 2.4s ease-out infinite;
    pointer-events: none;
}
@keyframes zhPvbPulse {
    0% { transform: scale(1); opacity: .9; }
    70% { transform: scale(1.18); opacity: 0; }
    100% { transform: scale(1.18); opacity: 0; }
}
.zh-pvb__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 50%;
}
.zh-pvb__media img,
.zh-pvb__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zh-pvb__open:hover { transform: scale(1.04); transition: transform .2s ease; }
.zh-pvb__open:focus-visible { outline: 3px solid #FFD003 !important; outline-offset: 4px; }
.zh-pvb__close {
    position: absolute;
    top: -4px;
    right: -4px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    color: #0A0B0D !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(10, 10, 10, .25);
}
.zh-pvb__close svg { width: 14px; height: 14px; }
html.dark .zh-pvb__close { background: #22262C !important; color: #E8EAED !important; }
.zh-pvb__tip {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    padding: 9px 14px;
    border-radius: 12px;
    background: #FFFFFF;
    color: #0A0A0A;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(10, 10, 10, .18);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translate(-6px, -50%);
    transition: opacity .3s ease, transform .3s ease;
}
.zh-pvb__tip::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 50%;
    width: 10px;
    height: 10px;
    background: inherit;
    transform: translateY(-50%) rotate(45deg);
}
.zh-pvb.has-tip .zh-pvb__tip { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
html.dark .zh-pvb__tip { background: #22262C; color: #E8EAED; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
@media (max-width: 767px) {
    .zh-pvb { --pvb: 84px; left: 16px; bottom: calc(16px + var(--pvb-lift)); }
    .zh-pvb__tip { display: none; }
    .zh-pvb__close { width: 24px; height: 24px; top: -6px; right: -6px; }
}
@media (prefers-reduced-motion: reduce) {
    .zh-pvb, .zh-pvb__tip { transition: none; }
    .zh-pvb__open::before { animation: none; display: none; }
}

/* Окно с полным роликом */
.zh-pvm {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity .2s ease;
}
.zh-pvm[hidden] { display: none; }
.zh-pvm.is-open { opacity: 1; }
.zh-pvm__overlay { position: absolute; inset: 0; background: rgba(10, 10, 10, .78); }
.zh-pvm__box { position: relative; width: min(1100px, 100%, calc((100vh - 140px) * 16 / 9)); }
.zh-pvm__box .zh-pv { box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.zh-pvm__close {
    position: absolute;
    top: -46px;
    right: 0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .14) !important;
    color: #FFFFFF !important;
    cursor: pointer;
}
.zh-pvm__close:hover { background: rgba(255, 255, 255, .26) !important; }
.zh-pvm__close svg { width: 20px; height: 20px; }
.zh-pvm .zh-pv__after .zh-cta { box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
@media (max-width: 767px) {
    .zh-pvm { padding: 56px 12px 12px; }
}
/* под кружком кнопка или поле — кружок уходит, пока место не освободится */
.zh-pvb.is-tucked { opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; }
.zh-pvb.is-tucked .zh-pvb__tip { opacity: 0; }

/* Справочник контейнеров (components/sections/service-kinds + App\Support\ContainerSpecs): картинка, типовые размеры по ISO */
.zh-kinds--containers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zh-kinds--containers a.zh-kind { gap: 12px; padding: 26px 26px 24px; }
.zh-cnt__art { display: flex; align-items: flex-end; justify-content: center; height: 96px; margin-bottom: 4px; color: #C9A227; }
.zh-cnt__art img { max-width: 100%; max-height: 96px; width: auto; height: auto; object-fit: contain; }
.zh-cnt__art svg { width: 132px; height: 62px; }
.zh-cnt__specs { margin: 0; display: grid; gap: 6px; font-size: 14px; line-height: 1.35; }
.zh-cnt__specs > div:not(.zh-cnt__variant) { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px dashed #E6E6E6; }
.zh-cnt__specs dt { color: #6B6B6B; }
.zh-cnt__specs dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
.zh-cnt__variant { margin-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #9A7B00; }
.zh-kind p.zh-cnt__extra { font-size: 14px; line-height: 1.45; }
.zh-cnt__note { margin: 18px 0 0; font-size: 13px; color: #6B6B6B; }
html.dark .zh-cnt__art { color: #FFD003; }
html.dark .zh-cnt__specs dt, html.dark .zh-cnt__note { color: #9AA0A6; }
html.dark .zh-cnt__specs > div:not(.zh-cnt__variant) { border-bottom-color: rgba(255, 255, 255, .12); }
html.dark .zh-cnt__variant { color: #FFD003; }
@media (max-width: 1100px) { .zh-kinds--containers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .zh-kinds--containers { grid-template-columns: 1fr; } }

/* Документы и шаблоны: карточка с образцом PDF (App\Support\DocTemplates) — та же карточка, что a.zh-kind, но не ссылка целиком */
div.zh-kind--doc {
    min-height: 240px;
    box-sizing: border-box;
    padding: 34px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid #ECECEC;
    border-radius: 20px;
    background: #FFFFFF;
    color: #0A0A0A;
}
.zh-kind p.zh-doc__meta { font-size: 13px; line-height: 1.4; color: #6B6B6B; }
.zh-doc__actions { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.zh-doc__actions a.zh-cta { margin: 0 !important; }
a.zh-doc__help { font-size: 14px; font-weight: 600; color: #0A0A0A; text-decoration: underline; text-decoration-color: #FFD003; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a.zh-doc__help:hover { color: #8A6D00; }
html.dark div.zh-kind--doc { background: #15181C; border-color: rgba(255, 255, 255, .08); color: #E8EAED; }
html.dark a.zh-doc__help { color: #E8EAED; }
html.dark a.zh-doc__help:hover { color: #FFD003; }
html.dark .zh-kind p.zh-doc__meta { color: #9AA0A6; }

/* «География перевозок» без карты (страны без маршрутов): только заголовки, без пустого полотна высотой в экран */
#geo.geo--nomap { height: auto !important; min-height: 0 !important; }
#geo.geo--nomap .geo-title { position: static; padding: 56px 0 8px; }

/* «Какие грузы перевозим»: номер и иконка груза в одной строке (App\Support\FleetArt::CARGO) */
.zh-cargo__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.zh-cargo__icon { margin-left: auto; }
/* «Города и узлы»: иконка вида точки — порт, ж/д станция, погранпереход, город */
.zh-nodes__item { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center; }
.zh-nodes__item b, .zh-nodes__item > span:not(.zh-nodes__icon) { grid-column: 2; }
.zh-nodes__item .zh-nodes__icon { grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: #FFF6CC; color: #8A6D00; }
.zh-nodes__icon svg { width: 19px; height: 19px; }
html.dark .zh-nodes__item .zh-nodes__icon { background: rgba(255, 208, 3, .14); color: #FFD003; }

/* Вводный текст из одной короткой строки (только description_2): подпись блока с жёлтой линией, а не одинокая серая строка */
html[data-zh-ds] #description.zh-desc--note .flex { justify-content: flex-start; }
html[data-zh-ds] #description.zh-desc--note h4,
#description.zh-desc--note h4 { display: inline-block; max-width: 920px; margin: 0; padding: 18px 24px; border-left: 4px solid #FFD003; border-radius: 4px 14px 14px 4px; background: #FFFBEA; font-size: 1.25rem; font-weight: 400; line-height: 1.5; color: #0A0A0A; }
html.dark #description.zh-desc--note h4 { background: rgba(255, 208, 3, .08); color: #F2F2F2; }
.zh-nodes:has(.zh-nodes__icon) { grid-template-columns: repeat(auto-fill, minmax(224px, 1fr)); }
.zh-nodes__item b, .zh-nodes__item > span:not(.zh-nodes__icon) { overflow-wrap: normal; word-break: normal; }
/* Страна без маршрутов на карте: вместо пустого места — карточка расчёта под груз (Smart Quote) */
#geo.geo--nomap .geo-title { padding-bottom: 56px; }
.zh-geo-quote { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; padding: 28px 32px; border: 1px solid #F3D64E; border-left: 4px solid #FFD003; border-radius: 20px; background: #FFFFFF; }
.zh-geo-quote__text { flex: 1 1 280px; margin: 0; font-size: 1.375rem; font-weight: 500; line-height: 1.35; color: #0A0A0A; }
html.dark .zh-geo-quote { background: #1E2228; border-color: rgba(255, 208, 3, .35); border-left-color: #FFD003; }
html.dark .zh-geo-quote__text { color: #FFFFFF; }
@media (max-width: 767px) { .zh-geo-quote { padding: 22px 20px; } .zh-geo-quote .zh-cta { width: 100%; justify-content: center; } }
.zh-ok-number { display: inline-block; margin-bottom: 6px; font-size: 1.15em; } .zh-ok-number b { color: #FFD003; font-weight: 600; }

/* «Что везёте?» над карточками раздела: кнопки-фильтры, неподходящие карточки приглушаются (не исчезают) */
.zh-kf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -24px 0 24px; }
.zh-kf__label { margin-right: 6px; font-size: 15px; font-weight: 500; color: #404040; }
.zh-kf__chip { padding: 8px 16px; border: 1px solid #E5E5E5; border-radius: 999px; background: #FFFFFF; font-size: 14px; line-height: 1.2; color: #0A0A0A; cursor: pointer; transition: background .2s, border-color .2s; }
.zh-kf__chip:hover { border-color: #FFD003; }
.zh-kf__chip.is-active { background: #FFD003; border-color: #FFD003; font-weight: 600; }
.zh-kind.is-kf-dim { opacity: .35; filter: grayscale(.6); transition: opacity .25s, filter .25s; }
html.dark .zh-kf__label { color: #C4C4C4; }
html.dark .zh-kf__chip { background: #1E2228; border-color: #2E333B; color: #FFFFFF; }
html.dark .zh-kf__chip.is-active { background: #FFD003; border-color: #FFD003; color: #0A0A0A; }
/* Телефон: кнопки одной строкой с прокруткой, чтобы карточки оставались на экране */
@media (max-width: 767px) {
    .zh-kf { flex-wrap: nowrap; overflow-x: auto; margin: -12px -20px 20px; padding: 2px 20px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .zh-kf::-webkit-scrollbar { display: none; }
    .zh-kf__label, .zh-kf__chip { flex: none; white-space: nowrap; }
}

/* Аудит 12.11, А1: на телефоне длинные подписи кнопок не обрезаются (было: «ассчитать морскую перевозку» на /ship,
   KK-подписи на /negabaritnyy-gruz и /konteynernye-perevozki) — перенос на вторую строку, кнопка выше; текст не меняется */
@media (max-width: 767px) {
    a.zh-cta,
    button.zh-cta {
        height: auto;
        min-height: var(--zh-cta-h);
        max-width: 100%;
        padding-top: 8px;
        padding-bottom: 8px;
        white-space: normal;
        line-height: 1.2;
        text-align: center;
    }
    /* Кнопка расчёта в первом экране: на ПК — в одну строку (правило выше), на телефоне — переносится */
    .zh-hero-actions > a[data-quote-open] {
        white-space: normal;
        padding-left: 20px;
        padding-right: 8px;
    }
    /* Крупный телефон на /contacts не выходит за колонку */
    .zh-call--lg {
        font-size: clamp(24px, 7.4vw, 32px) !important;
    }
}

/* Аудит 12.11, А8: пункты «Дополнительно» на главной со своей страницей — ссылки (тонкое подчёркивание, жёлтый при наведении) */
.extra ul a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(115, 115, 115, .45);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color .15s, text-decoration-color .15s;
}
.extra ul a:hover {
    color: #B48C00;
    text-decoration-color: currentColor;
}
html.dark .extra ul a:hover {
    color: #FFD003;
}

/* Аудит 12.11, А10: на телефоне подзаголовок первого экрана читается и на пёстром кадре (/avia, /ship) — мягкая тень
   под текстом и затемнение нижней части кадра; на ПК без изменений */
@media (max-width: 767px) {
    #main .main .title h1,
    #main .main .title h4,
    #main .main .title p {
        text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 2px 14px rgba(0, 0, 0, .45);
    }
    #main::before {
        content: '';
        position: absolute;
        inset: 35% 0 0 0;
        z-index: 1;
        background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .45));
        pointer-events: none;
    }
}

/* ---------- Окно характеристик транспорта (components/vehicle-spec, 12.11.2026) — как окно отзывов/писем ---------- */
.zh-spec-open {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: inherit;
    cursor: zoom-in;
}
/* Вся карточка открывает окно (как карточка письма): кнопка растянута на карточку, плашка — внизу по центру */
.zh-fleet__item:has(.zh-spec-open),
#park .item:has(.zh-spec-open),
.zh-kind--spec {
    position: relative;
}
.zh-spec-open::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}
.zh-spec-open:focus-visible { outline: none; }
.zh-fleet__item:has(.zh-spec-open:focus-visible),
#park .item:has(.zh-spec-open:focus-visible),
.zh-kind--spec:has(.zh-spec-open:focus-visible) {
    outline: 2px solid #FFD000;
    outline-offset: 2px;
}
.zh-spec-open__hint {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #0E1116;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
    transform: translate(-50%, 8px);
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}
.zh-spec-open__hint svg { width: 14px; height: 14px; color: #FFD000; }
html.dark .zh-spec-open__hint { background: #FFD000; color: #000000; }
html.dark .zh-spec-open__hint svg { color: #000000; }
.zh-fleet__item:has(.zh-spec-open),
#park .item:has(.zh-spec-open),
.zh-kind--spec {
    transition: transform .25s cubic-bezier(.22, .61, .36, 1), box-shadow .25s cubic-bezier(.22, .61, .36, 1), border-color .25s ease;
}
@media (hover: hover) {
    .zh-fleet__item:has(.zh-spec-open):hover,
    #park .item:has(.zh-spec-open):hover,
    .zh-kind--spec:hover {
        border-color: #FFD000 !important;
        box-shadow: var(--zh-glow, 0 14px 34px rgba(255, 208, 0, .32), 0 2px 8px rgba(0, 0, 0, .08));
    }
    .zh-fleet__item:hover .zh-spec-open__hint,
    #park .item:hover .zh-spec-open__hint,
    .zh-kind--spec:hover .zh-spec-open__hint,
    .zh-spec-open:focus-visible .zh-spec-open__hint {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .zh-fleet__item:has(.zh-spec-open):hover,
    #park .item:has(.zh-spec-open):hover,
    .zh-kind--spec:hover {
        transform: translateY(-4px);
    }
}
@media (hover: none) {
    .zh-spec-open__hint { display: none; }
}
#park .zh-park-mock {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 5 / 2;
    object-fit: contain;
    margin-bottom: 28px;
}
#park .zh-spec-open { margin-bottom: 0; }
.zh-park__note { margin-top: 8px; }
.zh-spec-dialog {
    width: min(960px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #FFFFFF;
    color: #0A0A0A;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
    overflow: hidden;
}
.zh-spec-dialog::backdrop {
    background: rgba(8, 10, 14, .62);
    backdrop-filter: blur(4px);
}
.zh-spec-dialog[open] { animation: zh-spec-in .28s cubic-bezier(.22, .61, .36, 1); }
@keyframes zh-spec-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .zh-spec-dialog[open] { animation: none; } }
.zh-spec-dialog__body {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    max-height: calc(100vh - 48px);
    overflow: auto;
}
.zh-spec-dialog__body:not(:has(.zh-spec-dialog__media)) { grid-template-columns: minmax(0, 1fr); }
.zh-spec-dialog__media {
    display: grid;
    place-items: center;
    padding: 32px 24px;
    background: #F4F5F7;
}
.zh-spec-dialog__media img { width: 100%; height: auto; max-height: 60vh; object-fit: contain; }
.zh-spec-dialog__text { display: flex; flex-direction: column; gap: 14px; padding: 40px 36px 32px; }
.zh-spec-dialog h3 { margin: 0 40px 0 0; font-size: 26px; line-height: 1.2; font-weight: 600; text-transform: none; }
.zh-spec-dialog h3 span { font-weight: inherit; }
.zh-spec-dialog__lead { margin: 0; font-size: 16px; line-height: 1.5; color: #404040; }
.zh-spec-dialog__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.zh-spec-dialog__table th, .zh-spec-dialog__table td { padding: 10px 0; border-bottom: 1px solid #ECECEC; vertical-align: top; text-align: left; }
.zh-spec-dialog__table th { width: 55%; padding-right: 16px; font-weight: 400; color: #616161; }
.zh-spec-dialog__table td { font-weight: 600; }
.zh-spec-dialog__note { margin: 0; font-size: 13px; color: #737373; }
.zh-spec-dialog a.zh-spec-dialog__cta { align-self: flex-start; margin-top: auto !important; }
.zh-spec-dialog__close {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 0;
    border: 1px solid rgba(0, 0, 0, .12); border-radius: 50%; background: #FFFFFF; color: #111827; font-size: 16px; cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.zh-spec-dialog__close:hover, .zh-spec-dialog__close:focus-visible { background: #FFD000; border-color: #FFD000; }
html.dark .zh-spec-dialog { background: #1E2228; color: #F3F4F6; }
html.dark .zh-spec-dialog__media { background: #15181E; }
html.dark .zh-spec-dialog__lead { color: #C9CDD3; }
html.dark .zh-spec-dialog__table th, html.dark .zh-spec-dialog__table td { border-color: rgba(255, 255, 255, .1); }
html.dark .zh-spec-dialog__table th { color: #A8AFB8; }
html.dark .zh-spec-dialog__close { background: #2A2F37; border-color: rgba(255, 255, 255, .12); color: #F3F4F6; }
html.dark .zh-spec-dialog__close:hover { background: #FFD000; color: #000; }
@media (max-width: 767px) {
    .zh-spec-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 16px; }
    .zh-spec-dialog__body { grid-template-columns: minmax(0, 1fr); max-height: calc(100dvh - 16px); }
    .zh-spec-dialog__media { padding: 48px 16px 12px; }
    .zh-spec-dialog__text { padding: 20px 20px 24px; }
    .zh-spec-dialog h3 { font-size: 21px; }
    .zh-spec-dialog a.zh-spec-dialog__cta { align-self: stretch; }
}


/* ---------- Шапка до 1023 px (15.11.2026): на всю ширину, отступ 16 px — логотип у левого края, бургер у правого,
   поиск, почта и телефон между ними на равных расстояниях; высота прежняя (64 px). Язык и тема — в мобильном меню.
   ПК (от 1024 px) не меняется. ---------- */
@media (max-width: 1023px) {
    header > .container { max-width: none; padding-left: 16px !important; padding-right: 16px !important; }
    header .container > .flex { gap: 0; }
    header .container > .flex > .col:first-child { flex: 0 0 auto; }
    header .header-right { flex: 1 1 auto; gap: 0 !important; justify-content: flex-end; }
    header .header-right .item:not(.header-phone),
    header .header-right .item:not(.header-phone) > .flex { display: contents !important; }
    header .zh-langdd--header,
    header .zh-theme--header,
    header .zh-mail--header,
    header .header-phone,
    header .header-right .telegram,
    header .header-right .whatsapp,
    header .header-right .cabinet-btn { display: none !important; }
    /* Кнопки группой справа (16.11.2026): свободное место — между логотипом и поиском, между кругами по 8 px.
       Иконка по центру круга: без align/justify inline-flex прижимал svg конверта к левому краю (сдвиг 10 px) */
    header .zh-search-btn,
    header .zh-mail--compact,
    header .zh-call--compact,
    header .burger { display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 auto; margin: 0 0 0 8px !important; width: 40px; height: 40px; }
    header .zh-search-btn { margin-left: auto !important; }
    header .zh-call--compact .zh-call__icon { width: 40px; height: 40px; }
    header .container > .flex > .col:first-child .logo,
    header .container > .flex > .col:first-child .logo img { flex-shrink: 0; }
}

/* ---------- Плавающая кнопка WhatsApp на телефоне и планшете: как на ПК, внизу справа, 56 px; учитывает safe-area
   и плашку внизу экрана (--zh-wa-lift ставит zhebe2.js); скрыта при открытом Smart Quote, окне характеристик,
   поиске и мобильном меню ---------- */
@media (max-width: 1023px) {
    .call.zh-float-wa {
        display: block !important;
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        width: 56px;
        height: 56px;
        /* Подъём над плашкой — transform, а не bottom (16.11.2026): движение не пересчитывает раскладку и не даёт CLS */
        transform: translate3d(0, calc(-1 * var(--zh-wa-lift, 0px)), 0);
        transition: transform .25s ease, opacity .2s ease, visibility .2s;
    }
    @media (prefers-reduced-motion: reduce) {
        .call.zh-float-wa { transition: opacity .2s ease, visibility .2s; }
    }
    .zh-float-wa a svg { width: 28px; height: 28px; }
}
.zh-float-wa.is-covered { visibility: hidden; opacity: 0; pointer-events: none; }
.zh-float-wa.is-remind { visibility: hidden; opacity: 0; pointer-events: none; }

/* ---------- Заглушка мокапа (15.11.2026, App\Support\Mockup): размытый силуэт 40×16 под картинкой, пока она грузится.
   Снимается классом is-loaded (zhebe2.js) — иначе просвечивал бы сквозь прозрачный фон мокапа. Анимация выезда её не ждёт. ---------- */
.zh-lqip { position: relative; }
.zh-lqip::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: var(--lqip) center bottom / contain no-repeat;
    filter: blur(6px); opacity: .9; transition: opacity .35s ease;
}
.zh-cnt__art.zh-lqip::before { background-size: auto 96px; }
.zh-lqip > img { position: relative; z-index: 1; }
.zh-lqip.is-loaded::before { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .zh-lqip::before { transition: none; } }

/* ---------- Cookie (15.11.2026, components/consent-scripts): баннер с тремя кнопками, короткий вариант, окно настроек ---------- */
.zh-cookie { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 880px; }
.zh-cookie__text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.zh-cookie__actions { flex-wrap: wrap; }
.zh-cookie__btn { min-height: 44px; font-family: inherit; }
.zh-cookie__btn:focus-visible { outline: 3px solid #FFD003; outline-offset: 2px; }
.zh-cookie__btn--link { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; padding-inline: 8px; }
html.dark .zh-cookie__btn--link { border-color: transparent; }
.zh-cookie--short { max-width: 640px; padding: 12px 16px; }
.zh-cookie--short .zh-cookie__text { flex-basis: 260px; }
@media (max-width: 640px) {
    .zh-cookie { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); padding: 14px 16px; gap: 10px; }
    .zh-cookie__actions { width: 100%; }
    .zh-cookie:not(.zh-cookie--short) .zh-cookie__btn { flex: 1 1 calc(50% - 5px); padding-inline: 10px; }
    .zh-cookie__btn--link { flex-basis: 100% !important; }
    .zh-cookie--short .zh-cookie__actions { width: auto; }
    /* Компактнее (16.11.2026): меньше отступы и шрифт; короткий вариант — текст и «Понятно» в одну строку.
       Снизу — safe-area; кнопку WhatsApp над баннером поднимает zhebe2.js (--zh-wa-lift) */
    .zh-cookie { padding: 10px 12px; gap: 8px 10px; border-radius: 14px; }
    .zh-cookie__text { font-size: 13px; line-height: 1.4; }
    .zh-cookie__btn { min-height: 40px; padding: 8px 14px; font-size: 13px; }
    .zh-cookie--short { flex-wrap: nowrap; padding: 10px 10px 10px 14px; }
    .zh-cookie--short .zh-cookie__text { flex: 1 1 auto; min-width: 0; }
    .zh-cookie--short .zh-cookie__actions { flex: 0 0 auto; }
}

.zh-foot__cookie { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.zh-foot__cookie:hover, .zh-foot__cookie:focus-visible { text-decoration-thickness: 2px; }
footer .bottom .zh-foot__cookie { margin-left: 16px; }

.zh-cookie-dlg { width: min(560px, calc(100vw - 16px)); max-height: calc(100dvh - 16px); padding: 0; border: 0; border-radius: 20px; background: #FFFFFF; color: #0A0A0A; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.zh-cookie-dlg::backdrop { background: rgba(10, 10, 10, .6); backdrop-filter: blur(4px); }
.zh-cookie-dlg__body { display: flex; flex-direction: column; gap: 16px; padding: 28px 28px 24px; }
.zh-cookie-dlg__title { margin: 0 44px 0 0 !important; font-size: 22px; font-weight: 600; line-height: 1.25; }
.zh-cookie-dlg__row { padding-top: 14px; border-top: 1px solid #ECECEC; }
.zh-cookie-dlg__switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.zh-cookie-dlg__name { font-size: 16px; font-weight: 600; }
.zh-cookie-dlg__switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.zh-cookie-dlg__track { position: relative; flex: 0 0 auto; width: 46px; height: 26px; border-radius: 999px; background: #D4D4D4; transition: background .2s ease; }
.zh-cookie-dlg__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.zh-cookie-dlg__switch input:checked + .zh-cookie-dlg__track { background: #FFD003; }
.zh-cookie-dlg__switch input:checked + .zh-cookie-dlg__track::after { transform: translateX(20px); }
.zh-cookie-dlg__switch input:disabled + .zh-cookie-dlg__track { opacity: .55; }
.zh-cookie-dlg__switch input:disabled ~ * { cursor: default; }
.zh-cookie-dlg__switch input:focus-visible + .zh-cookie-dlg__track { outline: 3px solid #FFD003; outline-offset: 2px; }
.zh-cookie-dlg__hint { margin: 6px 0 0 !important; font-size: 14px; line-height: 1.5; color: #525252; }
.zh-cookie-dlg__hint b { font-weight: 600; color: inherit; }
.zh-cookie-dlg__list { margin-top: 8px; font-size: 13px; color: #525252; }
.zh-cookie-dlg__list summary { cursor: pointer; font-weight: 600; color: #0A0A0A; }
.zh-cookie-dlg__list ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.zh-cookie-dlg__list li span { display: block; color: #737373; }
.zh-cookie-dlg__list code { font-size: 12px; padding: 1px 5px; border-radius: 4px; background: #F4F5F7; color: #0A0A0A; }
.zh-cookie-dlg__actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.zh-cookie-dlg__more { margin: 0 !important; font-size: 14px; }
.zh-cookie-dlg__more a { color: inherit; text-decoration: underline; }
.zh-cookie-dlg__close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(0, 0, 0, .12); border-radius: 50%; background: #FFFFFF; color: #111827; font-size: 16px; cursor: pointer; }
.zh-cookie-dlg__close:hover, .zh-cookie-dlg__close:focus-visible { background: #FFD000; border-color: #FFD000; }
html.dark .zh-cookie-dlg { background: #1E2228; color: #F3F4F6; }
html.dark .zh-cookie-dlg__row { border-color: rgba(255, 255, 255, .1); }
html.dark .zh-cookie-dlg__hint, html.dark .zh-cookie-dlg__list { color: #C9CDD3; }
html.dark .zh-cookie-dlg__list summary { color: #F3F4F6; }
html.dark .zh-cookie-dlg__list li span { color: #A8AFB8; }
html.dark .zh-cookie-dlg__list code { background: #2A2F37; color: #F3F4F6; }
html.dark .zh-cookie-dlg__track { background: #3A4049; }
html.dark .zh-cookie-dlg__close { background: #2A2F37; border-color: rgba(255, 255, 255, .12); color: #F3F4F6; }
html.dark .zh-cookie-dlg__close:hover { background: #FFD000; color: #000; }
@media (max-width: 640px) {
    .zh-cookie-dlg__body { padding: 22px 18px 20px; }
    .zh-cookie-dlg__actions .zh-cookie__btn { flex: 1 1 100%; }
}
.zh-cookies-page { padding: 120px 0 80px; }
.zh-cookies-page h1 { margin-bottom: 28px; }
.zh-cookies-page__wrap { overflow-x: auto; margin-bottom: 24px; }
.zh-cookies-page__table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.zh-cookies-page__table th, .zh-cookies-page__table td { padding: 12px 14px 12px 0; border-bottom: 1px solid #ECECEC; text-align: left; vertical-align: top; }
.zh-cookies-page__table th { font-weight: 600; color: #616161; }
.zh-cookies-page__table code { font-size: 13px; }
html.dark .zh-cookies-page__table th, html.dark .zh-cookies-page__table td { border-color: rgba(255, 255, 255, .1); }
html.dark .zh-cookies-page__table th { color: #A8AFB8; }
.zh-cookie__btn { margin: 0 !important; }

/* ---------- Окно характеристик, новый вид (15.11.2026, вариант B): стиль окна благодарственных писем.
   Крупное название, строка «что это», описание, таблица «параметр — значение жирным», мелкая подпись, кнопка на всю ширину.
   ПК (от 900 px) — мокап слева, текст справа; до 900 px — мокап сверху; телефон (до 767 px) — на весь экран с прокруткой. ---------- */
.zh-spec-dialog[data-v] { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); border-radius: 20px; overflow: hidden; }
.zh-spec-dialog[data-v] .zh-spec-dialog__body { display: block; max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain; }
.zh-spec-dialog[data-v] .zh-spec-dialog__media { display: flex; align-items: flex-end; justify-content: center; padding: 56px 40px 28px; background: linear-gradient(180deg, #F4F5F7 0%, #ECEEF1 100%); }
.zh-spec-dialog[data-v] .zh-spec-dialog__media img { display: block; width: 100%; max-width: 680px; height: auto; max-height: none; aspect-ratio: 5 / 2; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .16)); }
.zh-spec-dialog[data-v] .zh-spec-dialog__text { display: flex; flex-direction: column; gap: 0; padding: 28px 36px 32px; }
.zh-spec-dialog[data-v] .zh-spec-dialog__text > h3 { margin: 0 0 6px !important; font-size: 30px; line-height: 1.15; font-weight: 600; color: inherit; }
.zh-spec-dialog[data-v] .zh-spec-dialog__what { margin: 0 0 14px !important; font-size: 18px; line-height: 1.4; font-weight: 500; color: #8A6D00 !important; }
.zh-spec-dialog[data-v] .zh-spec-dialog__lead { margin: 0 0 22px !important; font-size: 16px; line-height: 1.6; color: #404040; }
.zh-spec-dialog[data-v] .zh-spec-dialog__table { width: 100%; margin: 0 0 10px; border-collapse: collapse; font-size: 15px; }
.zh-spec-dialog[data-v] .zh-spec-dialog__table th,
.zh-spec-dialog[data-v] .zh-spec-dialog__table td { padding: 12px 0; border-bottom: 1px solid #ECECEC; vertical-align: baseline; }
.zh-spec-dialog[data-v] .zh-spec-dialog__table tr:first-child th,
.zh-spec-dialog[data-v] .zh-spec-dialog__table tr:first-child td { border-top: 1px solid #ECECEC; }
.zh-spec-dialog[data-v] .zh-spec-dialog__table th { width: 50%; padding-right: 16px; text-align: left; font-weight: 400; color: #616161; }
.zh-spec-dialog[data-v] .zh-spec-dialog__table td { text-align: right; font-weight: 700; color: #0A0A0A; font-variant-numeric: tabular-nums; }
.zh-spec-dialog[data-v] .zh-spec-dialog__note { margin: 0 0 22px !important; font-size: 12px !important; line-height: 1.45; color: #8A8A8A; }
.zh-spec-dialog[data-v] a.zh-spec-dialog__cta { align-self: stretch; justify-content: center; width: 100%; margin: auto 0 0 !important; }
.zh-spec-dialog[data-v] .zh-spec-dialog__close { position: absolute; top: 14px; right: 14px; }
html.dark .zh-spec-dialog[data-v] .zh-spec-dialog__media { background: linear-gradient(180deg, #171A20 0%, #12151A 100%); }
html.dark .zh-spec-dialog[data-v] .zh-spec-dialog__media img { filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .55)); }
html.dark .zh-spec-dialog[data-v] .zh-spec-dialog__what { color: #FFD003 !important; }
html.dark .zh-spec-dialog[data-v] .zh-spec-dialog__lead { color: #C9CDD3; }
html.dark .zh-spec-dialog[data-v] .zh-spec-dialog__table th,
html.dark .zh-spec-dialog[data-v] .zh-spec-dialog__table td { border-color: rgba(255, 255, 255, .1); }
html.dark .zh-spec-dialog[data-v] .zh-spec-dialog__table th { color: #A8AFB8; }
html.dark .zh-spec-dialog[data-v] .zh-spec-dialog__table td { color: #F3F4F6; }
html.dark .zh-spec-dialog[data-v] .zh-spec-dialog__note { color: #8A9099; }
/* ПК: две колонки, мокап слева на всю высоту окна */
@media (min-width: 900px) {
    .zh-spec-dialog[data-v] { width: min(1080px, calc(100vw - 48px)); }
    .zh-spec-dialog[data-v] .zh-spec-dialog__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
    .zh-spec-dialog[data-v] .zh-spec-dialog__media { position: sticky; top: 0; align-items: center; min-height: 100%; max-height: calc(100dvh - 48px); padding: 48px 32px; }
    .zh-spec-dialog[data-v] .zh-spec-dialog__text { padding: 44px 40px 36px; }
}
/* Телефон: на весь экран, прокрутка внутри, крестик всегда виден */
@media (max-width: 767px) {
    .zh-spec-dialog[data-v] { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
    .zh-spec-dialog[data-v] .zh-spec-dialog__body { height: 100dvh; max-height: 100dvh; }
    .zh-spec-dialog[data-v] .zh-spec-dialog__media { padding: 64px 16px 20px; }
    .zh-spec-dialog[data-v] .zh-spec-dialog__text { min-height: calc(100dvh - 40vw - 84px); padding: 22px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
    .zh-spec-dialog[data-v] .zh-spec-dialog__text > h3 { font-size: 24px; }
    .zh-spec-dialog[data-v] .zh-spec-dialog__what { font-size: 16px !important; }
    .zh-spec-dialog[data-v] .zh-spec-dialog__lead { font-size: 15px !important; }
    .zh-spec-dialog[data-v] .zh-spec-dialog__close { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }
}

/* ---------- Кейсы (15.11.2026): вся карточка ведёт на страницу кейса — ссылка «Смотреть проект» / «Весь кейс» растянута
   на карточку (::after), кнопки и ссылки внутри текста — поверх неё. Кнопки остаются. ---------- */
.zh-proj, .zh-case-link { position: relative; cursor: pointer; }
.zh-proj__more::after, .zh-case-link__a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.zh-proj__more:focus-visible, .zh-case-link__a:focus-visible { outline: none; }
.zh-proj:has(.zh-proj__more:focus-visible), .zh-case-link:has(.zh-case-link__a:focus-visible) { outline: 3px solid #FFD003; outline-offset: 3px; }
.zh-case-link [data-case-collapse-toggle], .zh-case-link [data-case-collapse-content] a { position: relative; z-index: 2; }
.zh-proj:hover .zh-proj__more, .zh-case-link:hover .zh-case-link__a { text-decoration: underline; text-underline-offset: 3px; }
/* Заголовок блока «Типы транспорта» div-ом (FleetArt::TITLE, /avia) — размер как у H2 блоков услуг */
.zh-svc-block__head .zh-fleet__title { margin: 0 !important; font-size: clamp(24px, 6.4vw, 48px); line-height: 1.1; color: #000000; }
html.dark .zh-svc-block__head .zh-fleet__title { color: #E8EAED; }

/* ---------- Главная → «Услуги» (15.11.2026): затемнение фото — плотнее сверху под текстом, к низу почти прозрачное;
   контраст текста ≥ 4,5:1 (AA) на всех карточках — замер по фону под каждой строкой. Показ фото (наведение / сразу на
   сенсорных экранах) — как раньше, style.css. ---------- */
#services .service .img::after {
    background: linear-gradient(180deg, rgba(10, 12, 16, .84) 0%, rgba(10, 12, 16, .74) 34%, rgba(10, 12, 16, .42) 64%, rgba(10, 12, 16, .08) 100%);
}
/* Стрелки «>>>» внизу карточки — на светлом фото (облака) тень, чтобы не терялись; только когда фото показано */
@media (hover: hover) {
    #services .service:has(.img):hover .arrows, #services .service:has(.img):focus-within .arrows { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .8)) drop-shadow(0 0 8px rgba(0, 0, 0, .5)); }
}
@media (hover: none) {
    #services .service:has(.img) .arrows { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .8)) drop-shadow(0 0 8px rgba(0, 0, 0, .5)); }
}

/* ---------- Главная → «Услуги», светлая тема (15.11.2026): затемнение легче и короче — под текстом ~0,6, к середине
   карточки 0, низ без заливки; белому тексту — мягкая тень. Тёмная тема — градиент выше, без изменений.
   Контраст текста ≥ 4,5:1 (AA) — замер по фону под каждой строкой, без учёта тени. ---------- */
html:not(.dark) #services .service .img::after {
    background: linear-gradient(180deg, rgba(10, 12, 16, .62) 0%, rgba(10, 12, 16, .58) 48%, rgba(10, 12, 16, .2) 60%, rgba(10, 12, 16, 0) 70%);
}
/* 3PL: текст длиннее (до ~70 % высоты) — затемнение держится ниже */
html:not(.dark) #services .services > .item.service:nth-child(3) .img::after {
    background: linear-gradient(180deg, rgba(10, 12, 16, .62) 0%, rgba(10, 12, 16, .58) 70%, rgba(10, 12, 16, .15) 82%, rgba(10, 12, 16, 0) 90%);
}
@media (hover: hover) {
    html:not(.dark) #services .service:has(.img):hover h4, html:not(.dark) #services .service:has(.img):focus-within h4,
    html:not(.dark) #services .service:has(.img):hover p, html:not(.dark) #services .service:has(.img):focus-within p { color: #FFFFFF !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 0 12px rgba(0, 0, 0, .35); }
}
@media (hover: none) {
    html:not(.dark) #services .service:has(.img) h4, html:not(.dark) #services .service:has(.img) p { color: #FFFFFF !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 0 12px rgba(0, 0, 0, .35); }
}

/* ---------- «Типы транспорта» с мокапами — горизонтальная лента, как рилсы на главной (15.11.2026): размер карточек прежний
   (не уже 290 px — на ПК 1440 видно ~4, на 1920 ~5, на телефоне ~1,2), без переноса строк; свайп / колесо /
   тачпад, защёлкивание по карточкам, стрелки и точки под лентой (zhebe2.js, data-rev-nav). Всё помещается — стрелок нет.
   Описания — в карточке и в HTML. ---------- */
.zh-fleet--strip {
    display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding: 4px 2px 10px; margin: 28px -2px 0;
}
.zh-fleet--strip::-webkit-scrollbar { display: none; }
.zh-fleet--strip > .zh-fleet__item { flex: 1 0 290px; min-width: 290px; scroll-snap-align: start; padding: 18px 20px 20px; }
/* Мокап — главный элемент карточки: зона выше (2:1), мокап на всю ширину с небольшими полями, без обрезки
   (у картинки прозрачные поля 4 % — их и «съедает» увеличение) */
.zh-fleet--strip .zh-vart--photo { aspect-ratio: 2 / 1; margin: -6px -14px 14px; width: calc(100% + 28px); display: flex; align-items: flex-end; justify-content: center; }
.zh-fleet--strip .zh-vart--photo .zh-vart__body { width: 106%; max-width: none; height: auto; flex: 0 0 auto; aspect-ratio: 5 / 2; } /* пропорции мокапа (1000×400) явно: до загрузки lazy-картинка не 0×0 */
/* Описание — до 3 строк, дальше многоточие; полный текст — в HTML карточки и в окне характеристик */
.zh-fleet--strip .zh-fleet__item > p:not(.zh-fleet__spec) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.zh-fleet--strip:focus-visible { outline: 3px solid #FFD003; outline-offset: 4px; border-radius: 16px; }
.zh-fleet-nav { margin-top: 14px; }
@media (max-width: 767px) {
    .zh-fleet--strip { margin-inline: -16px; padding-inline: 16px; scroll-padding-left: 16px; gap: 12px; }
    .zh-fleet--strip > .zh-fleet__item { flex: 0 0 82%; min-width: 0; }
}

/* ---------- Новости: компактная тёмная шапка без медиа (15.11.2026, components/news-hero) — крошки, рубрика и дата, H1;
   у статьи обложка заходит на нижний край шапки. Одинакова в светлой и тёмной теме (тёмный фирменный фон). ---------- */
.zh-nhero { position: relative; margin: 0 0 40px; padding: 128px 0 56px; background: radial-gradient(120% 140% at 85% 0%, #1E2530 0%, #0E1116 55%, #0A0B0D 100%); color: #FFFFFF; }
.zh-nhero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #FFD003 0 64px, transparent 64px); }
.zh-nhero__in--narrow { max-width: 48rem; margin: 0 auto; padding: 0 16px; }
.zh-nhero nav { margin-bottom: 18px !important; color: rgba(255, 255, 255, .62) !important; }
.zh-nhero nav a { color: rgba(255, 255, 255, .62) !important; }
.zh-nhero nav a:hover, .zh-nhero nav a:focus-visible { color: #FFD003 !important; }
.zh-nhero nav [aria-current] { color: rgba(255, 255, 255, .88) !important; }
.zh-nhero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 14px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.zh-nhero__rubric { font-weight: 600; color: #FFD003; }
.zh-nhero__title { margin: 0 !important; font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.15; font-weight: 500; letter-spacing: -.01em; color: #FFFFFF !important; text-transform: none; overflow-wrap: break-word; }
.zh-nhero__sub { max-width: 46rem; margin: 16px 0 0 !important; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.55; color: rgba(255, 255, 255, .78) !important; }
/* у статьи: обложка «наезжает» на шапку */
.zh-nhero:has(+ div .zh-post-cover--hero) { padding-bottom: 120px; margin-bottom: 0; }
.zh-post-cover--hero { position: relative; z-index: 1; margin-top: -88px; box-shadow: 0 24px 50px rgba(10, 11, 13, .28); aspect-ratio: 1200 / 630; height: auto; }
html.dark .zh-post-cover--hero { box-shadow: 0 24px 50px rgba(0, 0, 0, .6); }
.zh-post-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
@media (max-width: 767px) {
    .zh-nhero { padding: 96px 0 40px; margin-bottom: 28px; }
    .zh-nhero:has(+ div .zh-post-cover--hero) { padding-bottom: 72px; }
    .zh-post-cover--hero { margin-top: -52px; }
    .zh-post-actions .zh-cta { flex: 1 1 100%; justify-content: center; }
}
/* шапка новостей — первый экран: у main нет верхнего отступа (как у zh-phero), шапка сайта прозрачная поверх; текст белый в обеих темах */
html[data-zh-ds] main:has(> #main.zh-nhero) { padding-top: 0; }
html .zh-nhero h1.zh-nhero__title, html.dark main .zh-nhero h1.zh-nhero__title { color: #FFFFFF !important; }
/* #main из style.css — первый экран главной на 100vh с затемнением ::after; у шапки новостей — своя высота */
#main.zh-nhero { height: auto; overflow: visible; }
#main.zh-nhero::before { content: none; }

/* ===== Раскрывающиеся группы (16.11.2026): «СНГ» и «Юго-Восточная Азия» в меню «Направления» и на /napravleniya.
   Ссылки всегда в HTML; без JS группа открыта. Закрытая панель — высота 0 (grid 0fr) и inert. ===== */
.zh-disc {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows .28s ease, opacity .2s ease;
}
.zh-disc > .zh-disc__inner { overflow: hidden; min-height: 0; }
html.zh-js-disc [data-disc]:not(.is-open) > .zh-disc { grid-template-rows: 0fr; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .zh-disc { transition: none; } }

/* В меню: кнопка группы выглядит как пункт, со стрелкой; вложенные пункты с отступом и линией слева */
.zh-msub__btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 16px; line-height: 1.35; color: #262626; text-align: left;
    min-height: 24px; transition: color .15s;
}
.zh-msub__btn:hover { color: #B48C00; }
.zh-msub__btn:focus-visible { outline: 2px solid #FFD003; outline-offset: 3px; border-radius: 4px; }
.zh-msub__chev { width: 10px; height: 10px; flex: none; transition: transform .2s ease; }
.zh-msub.is-open .zh-msub__chev { transform: rotate(180deg); }
.zh-msub .zh-disc__inner {
    display: flex; flex-direction: column; gap: 10px;
    margin: 0 0 0 4px; padding: 0 0 0 12px; border-left: 2px solid #FFD003; list-style: none;
}
.zh-msub.is-open .zh-disc__inner { padding-top: 10px; padding-bottom: 2px; }
header .zh-msub .zh-disc__inner a { font-size: 15px; }
html.dark .zh-msub__btn { color: #E5E5E5; }
html.dark .zh-msub__btn:hover { color: #FFD003; }
/* Мобильное меню: крупнее зона нажатия */
#mobile-menu .zh-msub__btn { color: #404040; min-height: 32px; width: 100%; justify-content: space-between; }
#mobile-menu .zh-msub .zh-disc__inner a { font-size: 15px; display: inline-block; padding: 4px 0; }
html.dark #mobile-menu .zh-msub__btn { color: #C4C4C4; }

/* /napravleniya: карточка-группа — фото, заголовок-кнопка, список стран раскрывается внутри карточки */
.zh-kind--group { cursor: default; }
.zh-kind--group h3 { margin: 0; }
.zh-kind__toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
    padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; text-align: left; min-height: 44px;
}
.zh-kind__toggle:focus-visible { outline: 2px solid #FFD003; outline-offset: 4px; border-radius: 6px; }
.zh-kind__count { font-size: 14px; font-weight: 400; color: #8B8F97; margin-left: 8px; white-space: nowrap; }
.zh-kind__chev {
    width: 32px; height: 32px; flex: none; border-radius: 50%; background: #FFF4C2; color: #8a6a00;
    display: inline-flex; align-items: center; justify-content: center; transition: transform .25s ease, background .2s;
}
.zh-kind__chev svg { width: 12px; height: 12px; }
.zh-kind--group.is-open .zh-kind__chev { transform: rotate(180deg); background: #FFD003; }
.zh-kind--group .zh-disc__inner { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.zh-kind--group.is-open .zh-disc__inner { padding-top: 10px; }
.zh-kind--group .zh-disc__inner a {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 10px 2px; min-height: 44px; border-top: 1px solid #EFEFEF; color: inherit; font-size: 16px; text-decoration: none;
}
.zh-kind--group .zh-disc__inner a::after { content: "→"; color: #B48C00; }
.zh-kind--group .zh-disc__inner a:hover { color: #B48C00; }
.zh-kind--group .zh-disc__inner a.zh-kind__all { font-weight: 600; }
html.dark .zh-kind--group .zh-disc__inner a { border-top-color: rgba(255, 255, 255, .1); }
html.dark .zh-kind__chev { background: rgba(255, 208, 3, .15); color: #FFD003; }
/* Карточка-группа — та же рамка, отступы и фото, что у карточек-ссылок (a.zh-kind) */
div.zh-kind--group {
    min-height: 240px; box-sizing: border-box; padding: 34px 30px 30px;
    display: flex; flex-direction: column; gap: 16px;
    border: 1px solid #ECECEC; border-radius: 20px; background: #FFFFFF; color: #0A0A0A;
    transition: border-color .2s, box-shadow .25s;
}
div.zh-kind--group:hover, div.zh-kind--group.is-open { border-color: #FFD003; box-shadow: 0 18px 40px rgba(10, 10, 10, .07); }
div.zh-kind--group > h3 { font-size: 24px; line-height: 1.2; }
div.zh-kind--group .zh-kind__toggle > span:first-child { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
div.zh-kind--group .zh-kind__count { margin-left: 0; }
html.dark div.zh-kind--group { background: #161A21; border-color: rgba(255, 255, 255, .1); color: #FFFFFF; }
html.dark div.zh-kind--group:hover, html.dark div.zh-kind--group.is-open { border-color: #FFD003; }

/* ---------- Шапка от 1024 px (16.11.2026): Telegram и WhatsApp видны всегда — размером с соседние кнопки (32 px),
   без двойного отступа после телефона; при нехватке места ужимаются меню и отступы (fitHeader), мессенджеры не прячутся ---------- */
@media (min-width: 1024px) {
    header .header-right > .item.header-phone { margin-right: 0; }
    header .header-right .zh-msg .zh-msg__icon { width: 32px; height: 32px; border-radius: 10px; }
    header .header-right .zh-msg .zh-msg__icon::after { border-radius: 9px; }
    header .header-right .zh-msg .zh-msg__icon svg { width: 18px; height: 18px; }
}

/* ---------- Первый экран при prefers-reduced-motion (16.11.2026): видео не стартует само — кнопка ▶ на постере,
   по нажатию видео показывается и играет (повторное — пауза). Справа вверху, под шапкой — не рядом с плавающим WhatsApp ---------- */
.hero-media__play {
    position: absolute; z-index: 3; right: 32px; top: 104px;
    width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .92); color: #0A0A0A;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
}
.hero-media__play[hidden] { display: none; }
.hero-media__play svg { width: 24px; height: 24px; }
.hero-media__play:hover { background: #FFD003; }
.hero-media__play:focus-visible { outline: 3px solid #FFD003; outline-offset: 3px; }
.hero-media__play .hero-media__pause-i, .hero-media__play.is-playing .hero-media__play-i { display: none; }
.hero-media__play.is-playing .hero-media__pause-i { display: block; }
@media (prefers-reduced-motion: reduce) { .hero-media__video.is-user-play { display: block; } }
@media (max-width: 767px) { .hero-media__play { right: 16px; top: 84px; width: 48px; height: 48px; } }

/* ---------- Рекламный лендинг /lp/ (pages/landing): «Откуда / Срок / Цена» и маршруты — выводятся только заполненные ---------- */
.zh-lp-facts-block { padding-top: 40px; padding-bottom: 8px; }
.zh-lp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0; }
.zh-lp-facts__item { padding: 20px 24px; border-radius: 16px; background: #F5F5F5; }
.zh-lp-facts__item dt { margin: 0 0 6px; font-size: 14px; color: #616161; }
.zh-lp-facts__item dd { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 600; }
.zh-lp-facts__note { margin: 12px 0 0; font-size: 13px; color: #737373; }
.zh-lp-routes { margin-top: 24px; display: grid; gap: 8px; }
.zh-lp-routes__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding: 16px 20px; border-radius: 14px; background: #fff; }
.zh-lp-routes__way { flex: 1 1 260px; font-size: 17px; font-weight: 600; }
.zh-lp-routes__meta { font-size: 15px; color: #616161; }
html.dark .zh-lp-facts__item, html.dark .zh-lp-routes__row { background: #1E1E1E; }
html.dark .zh-lp-facts__item dt, html.dark .zh-lp-routes__meta { color: #A3A3A3; }
@media (max-width: 640px) {
    .zh-lp-facts__item { padding: 16px 18px; }
    .zh-lp-facts__item dd { font-size: 19px; }
}

/* ---------- «Доставляем по Казахстану» (components/sections/kz-cities): ссылки на страницы городов ---------- */
.zh-kz-cities__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.zh-kz-cities__link { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 18px; border: 1px solid #E5E5E5; border-radius: 14px; color: #0A0A0A; font-size: 16px; font-weight: 500; text-decoration: none; transition: border-color .2s, background-color .2s; }
.zh-kz-cities__link small { font-size: 13px; font-weight: 400; color: #737373; white-space: nowrap; }
.zh-kz-cities__link:hover, .zh-kz-cities__link:focus-visible { border-color: #FFD000; background: #FFFBEA; }
html.dark .zh-kz-cities__link { border-color: #2A2A2A; color: #F5F5F5; }
html.dark .zh-kz-cities__link small { color: #A3A3A3; }
html.dark .zh-kz-cities__link:hover, html.dark .zh-kz-cities__link:focus-visible { border-color: #FFD000; background: #262110; }

/* ---------- Страница города (pages/city): текст маршрута под карточками «Расстояние / Трасса / …» ---------- */
.zh-city-route .zh-lp-facts { margin-top: 28px; }
.zh-city-text { max-width: 860px; margin-top: 32px; }
.zh-city-text p { margin: 0 0 14px; font-size: 17px; line-height: 1.6; color: #262626; }
.zh-city-text h3 { margin: 28px 0 12px; font-size: 22px; line-height: 1.25; font-weight: 600; text-transform: none; }
html.dark .zh-city-text p { color: #D4D4D4; }
@media (max-width: 640px) { .zh-city-text p { font-size: 16px; } }
