/* Тёмная тема: фирменная палитра. Подключается последним (layouts/app), поэтому откатывается одним файлом.
   Страница #0A0B0D, чередующиеся секции #0F1114, карточки #16181C, текст #E8EAED / #A8AFB8, акцент #FFD003,
   вместо теней — тонкие светлые рамки. Первая часть повторяет селекторы тёмных правил других файлов с новыми цветами. */

/* ---------- Основа ---------- */
html.dark {
    --zhebe-black: #E8EAED;
    --zhebe-muted: #A8AFB8;
    --zhebe-border: rgba(255, 255, 255, .1);
    --zhebe-gray: #16181C;
    --zhebe-faq-bg: #0F1114;
    --zhebe-gold: #FFD003;
}
html.dark body,
html.dark body.zhebe-body,
html.dark main {
    background-color: #0A0B0D;
    color: #E8EAED;
}
html.dark main p,
html.dark main li {
    color: inherit;
}
/* Секции чередуются: фон страницы и ступень светлее, карточки — ещё светлее */
html.dark #services,
html.dark #feedback,
html.dark #contacts,
html.dark .zh-projects,
html.dark #reviews {
    background-color: #0A0B0D;
}
html.dark #geo,
html.dark .zh-videos,
html.dark #clients,
html.dark #news,
html.dark #faq,
html.dark #calculator,
html.dark .zh-svc-block--grey,
html.dark .zh-svc-block--dark {
    background-color: #0F1114 !important;
}
/* Заголовки, подписи и второстепенный текст */
html.dark main h1,
html.dark main h2,
html.dark main h3,
html.dark main h4,
html.dark main h5,
html.dark main h6 {
    color: #E8EAED;
}
html.dark .zh-kind p,
html.dark .zh-fleet__item p,
html.dark .zh-cargo__item p,
html.dark .zh-adv__text,
html.dark .zh-stats__item dt,
html.dark .zh-video figcaption {
    color: #A8AFB8;
}

/* ---------- Карточки: рамки вместо теней ---------- */
html.dark .zh-kind,
html.dark a.zh-kind,
html.dark .zh-fleet__item,
html.dark .zh-cargo__item,
html.dark .zh-adv__card,
html.dark .zh-proj,
html.dark .zh-review,
html.dark .zh-hover-card,
html.dark .zh-news-card,
html.dark .zh-vmap__route,
html.dark .zh-vmap__frame,
html.dark .zhebe-faq__item,
html.dark .case-card-stats,
html.dark #services .service {
    background-color: #16181C;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) !important;
    border-color: transparent;
}
@media (hover: hover) {
    html.dark .zh-kind:hover,
    html.dark a.zh-kind:hover,
    html.dark .zh-fleet__item:hover,
    html.dark .zh-cargo__item:hover,
    html.dark .zh-adv__card:hover,
    html.dark .zh-proj:hover,
    html.dark .zh-review:hover,
    html.dark .zh-hover-card:hover,
    html.dark .zh-news-card:hover,
    html.dark .zh-stats__item:hover,
    html.dark .zh-ncard:hover,
    html.dark .zh-video:hover {
        box-shadow: 0 0 0 1px rgba(255, 208, 3, .55) !important;
    }
}
html.dark .zh-fleet__item {
    border-left-color: #FFD003;
}
/* Светлая картинка-подложка: подписи кейсов */
html.dark .zh-proj__ph {
    background-color: #1E2126;
}

/* ---------- Жёлтые акценты, как в светлой теме ---------- */
/* Кнопка «Подробнее о компании», «Все проекты», «Смотреть проекты» */
html.dark a.zh-cta--dark,
html.dark button.zh-cta--dark,
html.dark #reviews a.zh-cta.zh-cta--dark {
    background: linear-gradient(180deg, #FFDE4D 0%, #FFD003 55%, #F5C400 100%) !important;
    color: #0A0A0A !important;
    box-shadow: none !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 !important;
    color: #FFD003 !important;
}
/* Ссылки при наведении */
@media (hover: hover) {
    html.dark main a:not(.zh-cta):not(.btn):not(.zh-ncard):not(.zh-kind):not(.zh-news-card):not([class*="bg-["]):hover,
    html.dark footer a:not(.zh-cta):not(.zh-msg):hover {
        color: #FFD003;
    }
}
html.dark main p a:not(.zh-cta),
html.dark main li a:not(.zh-cta):not(.zh-proj__more) {
    text-decoration-color: rgba(255, 208, 3, .6);
}
/* Стрелки >>> */
html.dark .zh-arrows {
    filter: brightness(0) saturate(100%) invert(79%) sepia(85%) saturate(1200%) hue-rotate(358deg) brightness(103%) contrast(104%);
}
/* Номера этапов и грузов, цифры, значки */
html.dark .zh-steps__num,
html.dark .zh-cargo__num {
    color: #FFD003;
    border-color: rgba(255, 208, 3, .5);
}
html.dark .zh-steps__item.is-lit .zh-steps__num {
    background: #FFD003;
    color: #0A0A0A;
    border-color: #FFD003;
}
html.dark .zh-stats__item dd {
    color: #FFD003;
}
html.dark .zh-stats__item {
    border-top-color: rgba(255, 208, 3, .55);
}
html.dark .zh-adv__icon,
html.dark .zh-adv__stat {
    color: #FFD003;
}
/* Подчёркивания заголовков */
html.dark .zh-vmap__head,
html.dark .zh-svc-block__head {
    border-color: #FFD003;
}
/* Точки слайдеров */
html.dark .zh-rev-nav__btn {
    background: #16181C;
    border-color: rgba(255, 255, 255, .14);
    color: #E8EAED;
}
html.dark .zh-rev-nav__btn:not(:disabled):hover {
    border-color: #FFD003;
    color: #FFD003;
}
html.dark .slick-arrow {
    background-color: #16181C !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) !important;
}

/* ---------- Формы ---------- */
html.dark input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
html.dark textarea,
html.dark select {
    color: #E8EAED;
}
html.dark input::placeholder,
html.dark textarea::placeholder {
    color: #A8AFB8 !important;
    opacity: 1;
}
html.dark input:focus,
html.dark textarea:focus,
html.dark select:focus {
    border-color: #FFD003 !important;
}

/* ---------- Подвал ---------- */
html.dark .zh-foot__title,
html.dark .zh-foot__col a:hover {
    color: #FFD003;
}
html.dark .zh-foot__col a,
html.dark .zh-foot__address,
html.dark .zh-foot__tagline,
html.dark .zh-foot__bottom {
    color: #A8AFB8;
}

/* ---------- Картинки не затемняем, логотипы клиентов — на светлой подложке ---------- */
html.dark img,
html.dark video {
    filter: none;
}
html.dark .zh-video__play img {
    opacity: 1;
}
html.dark .zh-client-tile,
html.dark .clients-marquee .flex > div > div {
    background: #FFFFFF !important;
}

/* ---------- Карта и всплывающие окна ---------- */
html.dark .zh-vnode span {
    background: #16181C;
    color: #E8EAED;
}
html.dark .zh-varea {
    color: #A8AFB8;
}
html.dark .zh-varea--home {
    color: #0A0A0A;
}
html.dark .zh-vmap__route[aria-pressed="true"] {
    box-shadow: 0 0 0 1px #FFD003 !important;
}

/* ---------- Прежние тёмные правила на новой палитре ---------- */
html.dark .app-icon-btn {
    background: #16181C !important;
    border-color: #FFD003 !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) !important;
}
html.dark,
html.dark body {
    background-color: #0A0B0D !important;
    color: #E8EAED !important;
}
html.dark .title h1,
html.dark .title h2,
html.dark .title h3,
html.dark .title h4,
html.dark h1,
html.dark h2,
html.dark h3,
html.dark h4,
html.dark .home-page h4,
html.dark article h4 {
    color: #E8EAED !important;
}
html.dark .title h2 span,
html.dark h2 span {
    color: #FFD003 !important;
}
html.dark p,
html.dark .description p,
html.dark .lead,
html.dark .services-lead,
html.dark .geo-lead {
    color: #E8EAED !important;
}
html.dark header.active,
html.dark header.is-solid {
    background: #0A0B0D !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) !important;
}
html.dark header.active a,
html.dark header.is-solid a,
html.dark header.active .tel,
html.dark header.active .email {
    color: #E8EAED !important;
}
html.dark .menu .submenu,
html.dark .dropdown .submenu {
    background: #16181C !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) !important;
}
html.dark .menu .submenu a,
html.dark .dropdown .submenu a {
    color: #E8EAED !important;
}
html.dark .menu .submenu a:hover,
html.dark .dropdown .submenu a:hover {
    color: #FFD003 !important;
}
html.dark #mobile-menu .mobile-menu,
html.dark .zhebe-mobile-menu {
    background: #0A0B0D !important;
    color: #E8EAED !important;
}
html.dark #mobile-menu a,
html.dark .zhebe-mobile-menu a {
    color: #E8EAED !important;
}
html.dark #services {
    background: #0A0B0D !important;
}
html.dark .service a {
    background: #16181C !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) !important;
}
html.dark .service h4 {
    color: #E8EAED !important;
}
html.dark .service h4 span {
    color: #FFD003 !important;
}
html.dark .service p {
    color: #A8AFB8 !important;
}
html.dark .service a:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) !important;
}
html.dark #services .extra-services,
html.dark #services .services .item:last-child {
    color: #E8EAED !important;
}
html.dark #services .extra-services li,
html.dark #services .extra li,
html.dark #services .services .item:last-child li {
    color: #E8EAED !important;
}
html.dark #services .services .item:last-child h4 {
    color: #FFD003 !important;
}
html.dark #calculator {
    background: #0F1114 !important;
}
html.dark #calculator .title h2,
html.dark #calculator .title h3,
html.dark #calculator h2,
html.dark #calculator h3 {
    color: #E8EAED !important;
}
html.dark #calculator p,
html.dark #calculator .calculator-description {
    color: #E8EAED !important;
}
html.dark #calculator input,
html.dark #calculator textarea,
html.dark #calculator select,
html.dark .input input,
html.dark .input textarea,
html.dark input.input,
html.dark textarea.input {
    color: #E8EAED !important;
}
html.dark #calculator input::placeholder,
html.dark #calculator textarea::placeholder,
html.dark .input input::placeholder,
html.dark .input textarea::placeholder {
    color: #A8AFB8 !important;
}
html.dark #calculator select {
    color: #E8EAED !important;
}
html.dark #calculator select option {
    background: #16181C !important;
    color: #E8EAED !important;
}
html.dark #calculator .types .type,
html.dark .types .item {
    background: #16181C !important;
    color: #E8EAED !important;
}
html.dark #calculator .types .type.active,
html.dark #calculator .types .item.active {
    background: #FFD003 !important;
    border-color: #FFD003 !important;
}
html.dark #geo {
    background: #0A0B0D !important;
}
html.dark #geo .geo-title .title h2 {
    color: #E8EAED !important;
}
html.dark #geo .geo-title .title h2 span {
    color: #FFD003 !important;
}
html.dark #geo .geo-lead {
    color: #E8EAED !important;
}
html.dark .geo-direction {
    background: #0F1114 !important;
}
html.dark .geo-direction li {
    color: #E8EAED !important;
}
html.dark #map,
html.dark #zhebe-contacts-map {
    background: #0A0B0D !important;
}
html.dark #map .dg-label__content,
html.dark #zhebe-contacts-map .dg-label__content {
    background: rgba(30, 34, 40, 0.92) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) !important;
    color: #E8EAED !important;
}
html.dark #team {
    background: #0A0B0D !important;
}
html.dark #advantages,
html.dark section.advantages {
    background: #0A0B0D !important;
}
html.dark article[class*="dark:bg-"] h4 {
    color: #E8EAED !important;
}
html.dark article[class*="dark:bg-"] p {
    color: #E8EAED !important;
}
html.dark #stats {
    background: #0F1114 !important;
}
html.dark #stats .title h2,
html.dark #stats .title h4 {
    color: #E8EAED !important;
}
html.dark #stats .item,
html.dark #stats .stat-item {
    background: #16181C !important;
}
html.dark #stats .value,
html.dark #stats .stat-item .num {
    color: #FFD003 !important;
}
html.dark #stats .label,
html.dark #stats .stat-item p {
    color: #E8EAED !important;
}
html.dark #team .title h2 {
    color: #E8EAED !important;
}
html.dark #team .title h2 span {
    color: #FFD003 !important;
}
html.dark #team p,
html.dark #team .company-text,
html.dark #team .ceo-credential {
    color: #E8EAED !important;
}
html.dark #team .member,
html.dark #team .team-card {
    background: #16181C !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) !important;
}
html.dark #team .member .name,
html.dark #team .ceo-name {
    color: #E8EAED !important;
}
html.dark #team .member .role,
html.dark #team .ceo-role {
    color: #A8AFB8 !important;
}
html.dark #cases,
html.dark section#cases {
    background: #0F1114 !important;
}
html.dark #cases .title h2,
html.dark #cases h2 {
    color: #E8EAED !important;
}
html.dark #cases article,
html.dark .case-card {
    background: #16181C !important;
}
html.dark #cases article h5,
html.dark #cases article h4,
html.dark #cases article strong {
    color: #E8EAED !important;
}
html.dark #cases article p,
html.dark #cases article span,
html.dark #cases article div {
    color: #E8EAED !important;
}
html.dark #cases .case-card-stats {
    background: #0F1114 !important;
}
html.dark #cases [data-case-collapse-fade] {
    background: linear-gradient(to top, #16181C, transparent) !important;
}
html.dark #cases button[data-case-collapse-toggle],
html.dark #cases button[data-case-collapse-toggle] span {
    color: #FFD003 !important;
}
html.dark #clients,
html.dark section#clients {
    background: #0A0B0D !important;
}
html.dark #clients h2 {
    color: #E8EAED !important;
}
html.dark #reviews,
html.dark section#reviews {
    background: #0F1114 !important;
}
html.dark #reviews h2 {
    color: #E8EAED !important;
}
html.dark #reviews a,
html.dark #reviews article,
html.dark .review-card {
    background: #16181C !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) !important;
}
html.dark #reviews a p,
html.dark #reviews article p {
    color: #E8EAED !important;
}
html.dark #reviews a p.text-zhebe-black,
html.dark #reviews article p.text-zhebe-black,
html.dark #reviews [class*="text-zhebe-black"] {
    color: #E8EAED !important;
}
html.dark #reviews a p.text-black\/50,
html.dark #reviews article p.text-black\/50,
html.dark #reviews [class*="text-black/50"] {
    color: #A8AFB8 !important;
}
html.dark #faq,
html.dark section#faq,
html.dark .zhebe-faq {
    background: #0A0B0D !important;
}
html.dark .zhebe-head__title,
html.dark #faq h2 {
    color: #E8EAED !important;
}
html.dark .zhebe-faq__item {
    background: #16181C !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) !important;
}
html.dark .zhebe-faq__q {
    color: #E8EAED !important;
}
html.dark .zhebe-faq__icon::before,
html.dark .zhebe-faq__icon::after {
    background: #FFD003 !important;
}
html.dark .zhebe-faq__a {
    color: #E8EAED !important;
}
html.dark #feedback,
html.dark .feedback-section {
    background: #0F1114 !important;
}
html.dark #feedback .title h2,
html.dark #feedback .title h3 {
    color: #E8EAED !important;
}
html.dark #feedback .title h2 span {
    color: #FFD003 !important;
}
html.dark #feedback input,
html.dark #feedback textarea {
    color: #E8EAED !important;
}
html.dark .btn {
    color: #E8EAED !important;
}
html.dark #contacts,
html.dark section#contacts,
html.dark .zhebe-map {
    background: #0A0B0D !important;
}
html.dark #contacts .title h2,
html.dark #contacts h2 {
    color: #E8EAED !important;
}
html.dark #contacts .item,
html.dark #contacts .contacts-card {
    background: #16181C !important;
}
html.dark #contacts .item a,
html.dark #contacts .item p,
html.dark #contacts span,
html.dark #contacts .requisites {
    color: #E8EAED !important;
}
html.dark footer {
    background: #060708 !important;
}
html.dark footer a,
html.dark footer p,
html.dark footer span {
    color: #A8AFB8 !important;
}
html.dark footer a:hover {
    color: #FFD003 !important;
}
html.dark .about-page,
html.dark .about-page #about,
html.dark .contacts-page,
html.dark .contacts-page #contacts,
html.dark .service-page,
html.dark .service-page #service,
html.dark .track-page {
    background: #0A0B0D !important;
    color: #E8EAED !important;
}
html.dark .about-page .title h1,
html.dark .about-page .title h2,
html.dark .about-page h1,
html.dark .about-page h2,
html.dark .contacts-page .title h1,
html.dark .service-page .title h1,
html.dark .track-page .title h1 {
    color: #E8EAED !important;
}
html.dark .about-page p,
html.dark .service-page p {
    color: #E8EAED !important;
}
html.dark .service-page .park-item {
    background: #16181C !important;
}
html.dark .track-card,
html.dark .track-search-box {
    background: #16181C !important;
}
html.dark #services .service {
    background: #16181C;
}
html.dark #preloader,
html.dark .preloader,
html.dark .preloader .back {
    background: #0A0B0D !important;
}
html.dark body.zhebe-body {
    background: #0A0B0D;
    color: #E8EAED;
}
html.dark .app-icon-btn {
    background: #16181C;
    border-color: #FFD003;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
html.dark .zhebe-faq,
html.dark section#faq {
    background: #0A0B0D !important;
}
html.dark section#contacts.zhebe-map,
html.dark .zhebe-map {
    background: #0A0B0D !important;
}
html.dark .zhebe-head__title {
    color: #E8EAED !important;
}
html.dark section#clients {
    background: #0A0B0D !important;
}
html.dark section#cases {
    background: #0F1114 !important;
}
html.dark section#reviews {
    background: #0F1114 !important;
}
html.dark body {
    background-color: #0A0B0D !important;
    color: #E8EAED !important;
}
html.dark .zhebe-header,
html.dark header {
    background-color: rgba(30, 34, 40, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .1) !important;
}
html.dark .zhebe-header__nav a,
html.dark header .menu a {
    color: #E8EAED !important;
}
html.dark .zhebe-header__nav a.is-active,
html.dark header .menu a.active,
html.dark .zhebe-header__nav a:hover,
html.dark header .menu a:hover {
    color: #FFD003 !important;
}
html.dark .zhebe-mobile-menu {
    background-color: #0A0B0D !important;
    border-left: 1px solid rgba(255, 255, 255, .1) !important;
}
html.dark .zhebe-mobile-menu__nav a {
    color: #E8EAED !important;
}
html.dark .zhebe-footer,
html.dark footer {
    background-color: #060708 !important;
    border-top: 1px solid rgba(255, 255, 255, .08) !important;
}
html.dark .zhebe-footer__title,
html.dark .zhebe-footer__subtitle {
    color: #E8EAED !important;
}
html.dark .zhebe-footer__text,
html.dark .zhebe-footer a {
    color: #A8AFB8 !important;
}
html.dark .zhebe-footer a:hover {
    color: #FFD003 !important;
}
html.dark article,
html.dark .card,
html.dark .zhebe-card {
    background-color: #16181C !important;
    border-color: rgba(255, 255, 255, .1) !important;
    color: #E8EAED !important;
}
html.dark input,
html.dark select,
html.dark textarea {
    color: #E8EAED !important;
    border-color: rgba(255, 255, 255, .1) !important;
}
html.dark input::placeholder,
html.dark textarea::placeholder {
    color: #A8AFB8 !important;
}
html.dark #preloader {
    background-color: #0A0B0D !important;
}
html.dark header .tel,
html.dark header .email {
    color: #E8EAED !important;
}
html.dark .zh-lang:not(#_) > .zh-lang__item {
    color: #E8EAED !important;
}
html.dark .zh-lang:not(#_) > .zh-lang__item:hover {
    color: #E8EAED !important;
}
html.dark .zh-theme {
    color: #FFD003;
}
html.dark .zh-theme:hover {
    color: #E8EAED;
}
html.dark .zh-langdd__toggle {
    color: #E8EAED;
}
html.dark .zh-langdd__menu {
    background: #16181C;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
html.dark .zh-langdd__menu:not(#_) .zh-langdd__item {
    color: #E8EAED !important;
}
html.dark .zh-smap {
    background: #16181C;
}
html.dark .zh-smap-marker__label {
    background: #16181C;
    color: #E8EAED;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
html.dark .zh-smap__routes {
    background: rgba(30, 34, 40, 0.92);
    color: #E8EAED;
}
html.dark .extra small,
html.dark .extra span {
    color: #E8EAED !important;
}
html.dark footer small,
html.dark footer .small {
    color: #A8AFB8 !important;
}
html.dark #contacts .tel {
    color: #E8EAED !important;
}
html.dark #contacts .email {
    color: #E8EAED !important;
}
html.dark select option {
    background-color: #16181C;
    color: #E8EAED;
}
html.dark .park .item {
    background: #16181C;
    border: 1px solid rgba(255, 255, 255, .1);
}
html.dark .park h4 {
    color: #E8EAED !important;
}
html.dark .park h6,
html.dark #process .description li,
html.dark .temir-zholy h6 {
    color: #A8AFB8 !important;
}
@media (hover: hover) {
html.dark footer .footer-cols a:hover,
html.dark footer .menu a:hover {
    color: #FFD003 !important;
}
}
html.dark .zh-review__badge {
    background: #FFD003;
}
html.dark .zh-review-dialog {
    background: #16181C;
}
html.dark .zh-review-dialog__nav button,
html.dark .zh-review-dialog__close {
    background: #1E2126;
    color: #E8EAED;
}
html.dark .zh-review-dialog__nav button:hover,
html.dark .zh-review-dialog__close:hover {
    background: #FFD003;
}
html.dark .zh-review-dialog__scan {
    background: #0F1114;
}
@media (min-width: 769px) {
html.dark header .menu .dropdown > .submenu > ul {
    background: #16181C;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
}
@media (min-width: 769px) {
html.dark header .menu .dropdown > .submenu li a {
    color: #E8EAED !important;
}
}
@media (min-width: 769px) {
html.dark header .menu .dropdown > .submenu li a:hover,
html.dark header .menu .dropdown > .submenu li a:focus-visible {
    color: #FFD003 !important;
}
}
html.dark .zh-mail {
    color: #E8EAED !important;
}
html.dark .zh-prose {
    color: #E8EAED;
}
html.dark .zh-prose a {
    color: #FFD003;
}
html.dark .zh-prose blockquote {
    color: #A8AFB8;
}
html.dark header .zh-mega-trigger {
    color: #E8EAED;
}
html.dark .zh-mega__panel {
    background: #16181C;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
html.dark header a.zh-mega__promo {
    background: #0A0B0D;
}
html.dark #mobile-menu .zh-mmenu__link,
html.dark #mobile-menu .zh-macc__head {
    color: #E8EAED;
}
html.dark #mobile-menu .zh-macc__body a {
    color: #A8AFB8 !important;
}
html.dark .zh-search__box {
    background: #16181C;
}
html.dark .zh-search__bar > svg,
html.dark .zh-search__bar input,
html.dark a.zh-search__item {
    color: #E8EAED;
}
html.dark .zh-search__hints {
    background: #0A0B0D;
}
html.dark .zh-search__hints button {
    color: #E8EAED;
}
html.dark .zh-quote__box {
    background: #16181C;
    color: #E8EAED;
}
html.dark .zh-quote__close {
    color: #E8EAED;
}
html.dark .zh-quote__steps li.is-current {
    color: #E8EAED;
}
html.dark .zh-quote__field,
html.dark .zh-quote__check,
html.dark .zh-quote__back {
    color: #A8AFB8;
}
html.dark .zh-quote__field input,
html.dark .zh-quote__field select,
html.dark .zh-quote__field textarea {
    background: #0A0B0D;
    color: #E8EAED;
}
html.dark .zh-quote__field input::placeholder,
html.dark .zh-quote__field textarea::placeholder {
    color: #A8AFB8;
}
html.dark #geo.zh-geo {
    background: #0A0B0D;
}
html.dark .zh-geo__corridor,
html.dark .zh-geo__mode,
html.dark .zh-geo__info {
    background: #16181C;
}
html.dark .zh-geo__info b {
    color: #E8EAED;
}
html.dark .zh-geo__map {
    background: #16181C;
}
html.dark .zh-geo__regions li {
    color: #A8AFB8;
}
html.dark .zh-svc-block {
    background: #0A0B0D;
}
html.dark .zh-svc-block--grey {
    background: #0A0B0D;
}
html.dark .zh-svc-block--dark {
    background: #0F1114;
}
html.dark .zh-svc-block__head h2 {
    color: #E8EAED;
}
html.dark a.zh-kind,
html.dark .zh-veh-card,
html.dark .zh-veh-detail,
html.dark .zh-cargo__item {
    background: #16181C;
    color: #E8EAED;
}
html.dark a.zh-kind:hover {
    color: #E8EAED;
}
html.dark .zh-vmap__legend-btn {
    background: rgba(30, 34, 40, .92);
    color: #E8EAED;
}
html.dark .zh-vpop__sep {
    border-top-color: rgba(255, 255, 255, .1);
}
html.dark .zh-vpop .maplibregl-popup-content {
    background: #16181C;
    color: #E8EAED;
}
html.dark .zh-vpop__name {
    color: #E8EAED;
}
html.dark .zh-vpop .maplibregl-popup-tip {
    border-top-color: #16181C;
    border-bottom-color: #16181C;
}
html.dark #geo.zh-vmap {
    background: #0A0B0D;
}
html.dark .zh-vmap__head h2 {
    color: #E8EAED;
}
html.dark .zh-vmap__frame {
    background: #16181C;
}
html.dark .zh-vmap__map {
    background: #0A0B0D;
}
html.dark .zh-vmap__modes,
html.dark .zh-vmap__legend {
    background: rgba(30, 34, 40, .9);
    color: #E8EAED;
}
html.dark .zh-vmap__mode {
    color: #E8EAED;
}
html.dark .zh-vmap__zoom button {
    background: #16181C;
    color: #E8EAED;
}
html.dark .zh-vmap__list {
    background: #16181C;
}
html.dark .zh-vmap__route {
    background: #16181C;
}
html.dark .zh-vmap__route-text small {
    color: #A8AFB8;
}
html.dark .zh-vmap__regions li {
    color: #A8AFB8;
}
html.dark .zh-vmap__card {
    background: #16181C;
    color: #E8EAED;
}
html.dark .zh-vnode i {
    background: #0A0B0D;
}
html.dark .zh-vnode span {
    background: #0A0B0D;
    color: #E8EAED;
}
html.dark .zh-vmap .maplibregl-ctrl.maplibregl-ctrl-attrib {
    background: rgba(30, 34, 40, .8) !important;
    color: #A8AFB8;
}
html.dark a.zh-btn-outline,
html.dark button.zh-btn-outline {
    color: #E8EAED;
}
html.dark .zh-projects {
    background: #0F1114;
}
html.dark .zh-proj,
html.dark .zh-proj-dialog {
    background: #16181C;
    color: #E8EAED;
}
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: #E8EAED;
}
html.dark .zh-proj__result,
html.dark .zh-proj__rich {
    color: #A8AFB8;
}
html.dark .zh-proj-dialog__close {
    color: #E8EAED;
}
html.dark .zh-videos {
    background: #0A0B0D;
}
html.dark .zh-video figcaption {
    color: #A8AFB8;
}
html.dark .zh-stats {
    background: #16181C;
    color: #E8EAED;
}
html.dark .zh-stats__item dt {
    color: #A8AFB8;
}
html.dark a.zh-cta--dark,
html.dark button.zh-cta--dark {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
html.dark .zh-cta--dark .zh-cta__arrow {
    background: #0F1114;
}
html.dark #reviews a.zh-cta.zh-cta--dark {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) !important;
}
html.dark .zh-rev-nav__btn {
    background: #16181C;
    color: #E8EAED;
}
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: #0A0B0D !important;
    color: #E8EAED !important;
}
html.dark .zh-gloss__tools {
    background: #0A0B0D;
}
html.dark .zh-gloss__search input {
    background: #0A0B0D !important;
    color: #E8EAED !important;
}
html.dark .zh-gloss__letters a {
    color: #E8EAED;
}
html.dark .zh-gloss__item {
    background: #16181C;
}
html.dark .zh-gloss__term {
    color: #E8EAED !important;
}
html.dark .zh-quote__more:hover {
    color: #E8EAED;
}
html.dark .zh-dq {
    background: #0A0B0D;
}
html.dark .zh-dq__h1,
html.dark .zh-dq__step legend,
html.dark .zh-dq__done h2 {
    color: #E8EAED;
}
html.dark .zh-dq__form,
html.dark .zh-dq__done {
    background: #16181C;
}
html.dark .zh-dq__progress li.is-current {
    color: #E8EAED;
}
html.dark .zh-dq__progress li span {
    background: #1E2126;
    color: #A8AFB8;
}
html.dark .zh-dq__place input {
    background: #0A0B0D;
    color: #E8EAED;
}
html.dark .zh-dq__files li {
    background: #0A0B0D;
}
html.dark .zh-dq__remove {
    background: #1E2126;
}
html.dark .zh-adv__card {
    background: #16181C;
}
html.dark .zh-adv__card:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
html.dark .zh-adv__stat,
html.dark .zh-adv__title {
    color: #E8EAED;
}
html.dark .zh-adv__text {
    color: #A8AFB8;
}
html.dark .zh-foot {
    background: #060708;
}
html.dark .zh-foot__title {
    color: #E8EAED;
}
html.dark .zh-foot__tagline,
html.dark .zh-foot__col a,
html.dark .zh-foot__address {
    color: #A8AFB8;
}
html.dark .zh-fleet__item {
    background: #16181C;
}
html.dark .zh-fleet__item h3,
html.dark .zh-fleet__spec b {
    color: #E8EAED;
}
html.dark .zh-fleet__item p,
html.dark .zh-fleet__note {
    color: #A8AFB8;
}
html.dark .zh-smap .maplibregl-ctrl.maplibregl-ctrl-attrib {
    background: rgba(30, 34, 40, .85) !important;
    color: #E8EAED;
}
html.dark .zh-legal,
html.dark .zh-legal h1,
html.dark .zh-legal h2 {
    color: #E8EAED;
}
html.dark header .zh-search-btn,
html.dark header .zh-mail,
html.dark header .burger {
    background-color: #16181C;
    color: #E8EAED;
}
html.dark header .burger {
    background: #16181C 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;
}
html.dark [class~="dark:bg-gray-800"] { background-color: #16181C !important; }
html.dark [class~="dark:border-gray-600"] { border-color: rgba(255, 255, 255, .1) !important; }
html.dark [class~="dark:border-gray-600"] { border-color: rgba(255, 255, 255, .1) !important; }
html.dark [class~="dark:border-gray-700"] { border-color: rgba(255, 255, 255, .1) !important; }
html.dark [class~="dark:border-gray-800"] { border-color: rgba(255, 255, 255, .1) !important; }
html.dark [class~="dark:text-amber-300"] { color: #FFD003 !important; }
html.dark [class~="dark:text-amber-300"] { color: #FFD003 !important; }
html.dark [class~="dark:text-amber-300"] { color: #FFD003 !important; }
html.dark [class~="dark:text-amber-300"] { color: #FFD003 !important; }
html.dark [class~="dark:text-amber-300"] { color: #FFD003 !important; }
html.dark [class~="dark:text-amber-400"] { color: #FFD003 !important; }
html.dark [class~="dark:text-gray-200"] { color: #E8EAED !important; }
html.dark [class~="dark:text-gray-300"] { color: #E8EAED !important; }
html.dark [class~="dark:text-gray-300"] { color: #E8EAED !important; }
html.dark [class~="dark:text-gray-300"] { color: #E8EAED !important; }
html.dark [class~="dark:text-gray-300"] { color: #E8EAED !important; }
html.dark [class~="dark:text-gray-400"] { color: #A8AFB8 !important; }
html.dark [class~="dark:text-gray-400"] { color: #A8AFB8 !important; }
html.dark [class~="dark:text-gray-400"] { color: #A8AFB8 !important; }
html.dark [class~="dark:text-gray-500"] { color: #A8AFB8 !important; }
html.dark [class~="dark:text-white"] { color: #E8EAED !important; }
html.dark [class~="dark:text-white"] { color: #E8EAED !important; }

/* ---------- Точечные правки ---------- */
/* Номера на жёлтом: текст тёмный */
html.dark .zh-cargo__num {
    color: #0A0A0A;
    border-color: transparent;
}
/* Заголовки блока на /about */
html.dark #about h4,
html.dark #about h6,
html.dark .about h4,
html.dark .about h6,
html.dark main section h4,
html.dark main section h6 {
    color: #E8EAED !important;
}
html.dark .zh-proj dt,
html.dark .zh-quote__steps li,
html.dark .zh-quote__steps li span {
    color: #A8AFB8;
}
html.dark .zh-quote__steps li.is-on,
html.dark .zh-quote__steps li.is-on span {
    color: #0A0A0A;
}
/* Жёлтые плашки и кнопки: тёмный текст, даже если у элемента есть класс dark:text-* */
html.dark [class~="bg-[#FFD000]"],
html.dark [class~="bg-[#FFD003]"] {
    color: #0A0A0A !important;
}
/* Панель на странице отслеживания */
html.dark [class~="bg-[#0E1116]"] {
    background-color: #16181C !important;
}

/* Список маршрутов на карте: рамка вместо тени */
html.dark .zh-smap__routes {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
/* Выбранный чип (род вагона и т. п.): тёмный текст на жёлтом */
html.dark input:checked + span[class*="peer-checked:bg-[#FFD000]"] {
    color: #0A0A0A !important;
}
/* /contacts: отделы — без рамок и фона, как в светлой теме */
html.dark .contacts-page #contacts .item {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* /about: текст на жёлтой плашке тёмный */
html.dark #about .since .text h4,
html.dark #about .since .text h6 {
    color: #0A0A0A !important;
}
/* ---------- Кнопки отправки форм: как «Рассчитать перевозку» ---------- */
html.dark form button.btn,
html.dark form button[type="submit"]:not(.zh-cta),
html.dark .lead-popup__submit,
html.dark .calc-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 26px;
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #FFDE4D 0%, #FFD003 55%, #F5C400 100%) !important;
    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) !important;
    color: #0A0A0A !important;
}
html.dark form button.btn span,
html.dark form button[type="submit"]:not(.zh-cta) span,
html.dark .lead-popup__submit span,
html.dark .calc-submit span {
    color: inherit !important;
}
/* Стрелки >>>: жёлтые, на жёлтой кнопке — тёмные */
html.dark .btn::after {
    background-image: url(../images/arrows-gold.svg) !important;
}
html.dark form button.btn::after,
html.dark form button.btn:hover::after,
html.dark #feedback-form button.btn::after,
html.dark #feedback-form button.btn:hover::after,
html.dark #contacts-form button.btn::after,
html.dark #contacts-form button.btn:hover::after {
    position: static;
    flex: none;
    width: 42px;
    height: 16px;
    margin: 0;
    transform: none;
    background: url(../images/arrows-black.svg) center / contain no-repeat !important;
    animation: none !important;
}
/* «Есть вопросы?»: жёлтая диагональ как в светлой теме, приглушённая */
html.dark #feedback {
    background: linear-gradient(130deg, rgba(0, 0, 0, 0) 300px, rgba(255, 208, 3, .18) 300px), #0A0B0D !important;
}
/* ---------- Поля и флажки ---------- */
html.dark input:not([type="checkbox"]):not([type="radio"]):focus,
html.dark select:focus,
html.dark textarea:focus {
    border-color: #FFD003 !important;
    box-shadow: inset 0 -2px 0 #FFD003 !important;
    outline: none !important;
}
html.dark .zh-quote input:not([type="checkbox"]):not([type="radio"]):focus,
html.dark .zh-quote select:focus,
html.dark .zh-quote textarea:focus,
html.dark .zh-dq input:not([type="checkbox"]):not([type="radio"]):focus,
html.dark .zh-dq select:focus,
html.dark .zh-dq textarea:focus {
    box-shadow: 0 0 0 1px #FFD003 !important;
}
html.dark input[type="checkbox"],
html.dark input[type="radio"] {
    accent-color: #FFD003;
}
html.dark input[type="checkbox"]:focus-visible,
html.dark input[type="radio"]:focus-visible {
    outline: 2px solid #FFD003;
    outline-offset: 2px;
}
/* ---------- Жёлтый акцент в каждой секции ---------- */
html.dark main h2 > span {
    color: #FFD003;
}
html.dark main section h2:not(:has(> span)):not(.zh-sr-only)::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 12px;
    border-radius: 2px;
    background: #FFD003;
}
html.dark main .text-center h2::after,
html.dark main h2.text-center::after {
    margin-inline: auto;
}
/* Заголовок уже со стрелками или в карточке: черта не нужна */
html.dark main .zhebe-head--arrows h2::after,
html.dark main .service h2::after,
html.dark main .zh-kind h2::after {
    display: none;
}
/* «Жебе в цифрах»: плитка на ступень светлее фона, при наведении чёрная с жёлтой рамкой; вариант B — жёлтые плитки */
html.dark .zh-stats--a,
html.dark .zh-stats--b {
    background: #0F1114;
}
html.dark .zh-stats--a .zh-stats__item {
    background: #16181C;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
    border-top: 0;
}
html.dark .zh-stats--a .zh-stats__item dd {
    color: #FFD003;
}
html.dark .zh-stats--b .zh-stats__item {
    background: #FFD003;
    border-top: 0;
}
html.dark .zh-stats--b .zh-stats__item dd,
html.dark .zh-stats--b .zh-stats__item dt {
    color: #0A0A0A;
}
@media (hover: hover) {
    html.dark .zh-stats--a .zh-stats__item:hover,
    html.dark .zh-stats--b .zh-stats__item:hover {
        background: #0A0A0A;
        box-shadow: 0 0 0 1px #FFD003;
    }
    html.dark .zh-stats--b .zh-stats__item:hover dd {
        color: #FFD003;
    }
    html.dark .zh-stats--b .zh-stats__item:hover dt {
        color: #E8EAED;
    }
}
/* Значок >>> внутри карточек: жёлтый;  */
html.dark .zh-icon-arrows {
    color: #FFD003;
}
html.dark .zhebe-service-card .arrows,
html.dark .zhebe-adv-card__arrow {
    background-image: url(../images/arrows-gold.svg);
}
/* Заголовки карточек услуг на фото — белые */
html.dark #services .service h4,
html.dark #services .service h4 span {
    color: #FFFFFF !important;
}
/* «Преимущества»: нейтральная рамка, при наведении жёлтая обводка и свечение */
html.dark .zh-benefit.zh-hover-card {
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: none !important;
}
@media (hover: hover) {
    html.dark .zh-benefit.zh-hover-card:hover {
        border-color: #FFD003;
        box-shadow: 0 0 0 1px #FFD003, 0 10px 28px -8px rgba(255, 208, 3, .4) !important;
    }
}
/* ТЗ 2-2: узлы коридора и список маршрутов */
html.dark .zh-nodes__item {
    background: #16181C;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
html.dark .zh-nodes__item span {
    color: #A8AFB8;
}
html.dark .zh-routes__group li {
    border-top-color: rgba(255, 255, 255, .1);
}
/* ТЗ 2-2: термины справочника и калькулятор */
html.dark .zh-terms__item {
    border-color: rgba(255, 255, 255, .1);
    background: #16181C;
}
html.dark .zh-terms__item p,
html.dark .zh-volume__note {
    color: #A8AFB8;
}
html.dark .zh-volume__field input {
    border-color: rgba(255, 255, 255, .14);
    background: #16181C;
    color: #E8EAED;
}
html.dark .zh-volume__result,
html.dark .zh-volume__result b {
    color: #0A0A0A;
}

/* Значок YouTube сохраняет фирменный цвет: общие правила подвала его перекрашивали */
html.dark .zh-msg--youtube .zh-msg__icon,
html.dark footer .zh-msg--youtube .zh-msg__icon svg {
    color: #FF0000 !important;
    fill: #FF0000;
}

/* Шапка в тёмной теме: сплошной фон #0A0B0D без размытия, на всех страницах; тонкая нижняя граница. Светлая тема — без изменений */
html.dark header,
html.dark header.active,
html.dark .zhebe-header,
html.dark header.zhebe-header {
    background: #0A0B0D !important;
    background-color: #0A0B0D !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .06) !important;
}
