/* Keep adjacent content sections alternating between white and charcoal gray. */
:root{--section-charcoal:#24272b}

/* Messenger links sit with the phone numbers, including on narrow screens. */
.top-phones-inner .top-contact-actions{display:flex;align-items:center;gap:20px}
.top-phones-inner .top-phone-links{display:flex;align-items:center;gap:20px}
.messenger-links{display:flex;align-items:center;gap:8px}
.messenger-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:34px;min-height:34px;padding:5px 8px;border:1px solid #ffffff3d;border-radius:9px;color:#fff;text-decoration:none;transition:background .2s,border-color .2s}
.top-phones .messenger-link{font-size:12px;font-weight:800}
.messenger-link svg{display:block;width:20px;height:20px;flex:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.messenger-link-max_chat img{display:block;width:20px;height:20px;flex:none;object-fit:contain}
.messenger-link:hover,.messenger-link:focus-visible{border-color:#ff914f;background:#ffffff12;color:#fff;outline-offset:2px}
.footer-messengers{margin:14px 0 16px}
.footer-messengers .messenger-link{min-height:39px;padding:7px 10px;font-size:13px;font-weight:800}
@media(max-width:740px){
  .top-phones-inner{min-height:0;padding-top:8px;padding-bottom:8px}
  .top-phones-inner .top-contact-actions{width:100%;justify-content:space-between;gap:10px}
  .top-phones-inner .top-phone-links{flex-wrap:wrap;gap:3px 10px}
  .top-phones .top-phone-links a{font-size:clamp(11px,2.9vw,13px)}
  .header-messengers{flex:none;gap:5px}
  .header-messengers .messenger-link{min-width:32px;min-height:32px;padding:5px}
  .header-messengers .messenger-link span{display:none}
  .header-messengers .messenger-link-max_chat span{display:inline;font-size:11px}
}
@media(max-width:380px){.top-phones-inner .top-phone-links{display:grid;gap:1px}}

/* A light version of the inline order form separates consecutive dark sections. */
body[data-path="/marshruty/"] .inline-lead,
body[data-path^="/marshruty/goroda/"] .inline-lead,
body[data-service="vyvoz-musora"] .inline-lead{background:#fff;color:var(--section-charcoal)}
body[data-path="/marshruty/"] .inline-lead-head h2,
body[data-path^="/marshruty/goroda/"] .inline-lead-head h2,
body[data-service="vyvoz-musora"] .inline-lead-head h2{color:var(--section-charcoal)}
body[data-path="/marshruty/"] .inline-lead-head>p:not(.lead-dialog-note),
body[data-path^="/marshruty/goroda/"] .inline-lead-head>p:not(.lead-dialog-note),
body[data-service="vyvoz-musora"] .inline-lead-head>p:not(.lead-dialog-note){color:#59616a}
body[data-path="/marshruty/"] .inline-lead .lead-dialog-note,
body[data-path^="/marshruty/goroda/"] .inline-lead .lead-dialog-note,
body[data-service="vyvoz-musora"] .inline-lead .lead-dialog-note{border-top-color:#d9dde1;color:#59616a}
body[data-path="/marshruty/"] .inline-lead .lead-dialog-note a,
body[data-path^="/marshruty/goroda/"] .inline-lead .lead-dialog-note a,
body[data-service="vyvoz-musora"] .inline-lead .lead-dialog-note a{color:var(--section-charcoal)}
body[data-path="/marshruty/"] .inline-lead form,
body[data-path^="/marshruty/goroda/"] .inline-lead form,
body[data-service="vyvoz-musora"] .inline-lead form{box-shadow:0 18px 50px #1b202519}

/* The route pages show white guidance, gray form, white fleet or the inverse. */
body[data-path^="/marshruty/"]:not([data-path="/marshruty/"]):not([data-path^="/marshruty/goroda/"]) .fleet-preview{background:#fff;color:var(--section-charcoal)}
body[data-path^="/marshruty/"]:not([data-path="/marshruty/"]):not([data-path^="/marshruty/goroda/"]) .fleet-preview h2{color:var(--section-charcoal)}
body[data-path^="/marshruty/"]:not([data-path="/marshruty/"]):not([data-path^="/marshruty/goroda/"]) .fleet-preview p{color:#59616a}
body[data-path^="/marshruty/"]:not([data-path="/marshruty/"]):not([data-path^="/marshruty/goroda/"]) .fleet-preview .button-outline{color:var(--section-charcoal)}

/* Service pages keep the same rhythm around optional city and container sections. */
body[data-service="vyvoz-musora"] .waste-volumes{background:var(--section-charcoal);color:#fff}
body[data-service="vyvoz-musora"] .waste-volumes h2{color:#fff}
body[data-service="vyvoz-musora"] .waste-volumes>.wrap>p{color:#d6d9dc}
body[data-service="vyvoz-musora"] .waste-volumes-grid article{background:#30343a}
body[data-service="vyvoz-musora"] .related-services{background:var(--section-charcoal);color:#fff}
body[data-service="vyvoz-musora"] .related-services h2{color:#fff}
body[data-service="vyvoz-musora"] .related-services p{color:#d6d9dc}
body[data-service="gruzoperevozki"][data-city=""] .route-mini{background:#fff;color:var(--section-charcoal)}
body[data-service="gruzoperevozki"][data-city=""] .route-mini h2{color:var(--section-charcoal)}
body[data-service="gruzoperevozki"][data-city=""] .route-mini p{color:#59616a}

/* Frequently asked questions alternate with the section before them. */
body[data-path^="/uslugi/"] .service-call + .faq-section,
body[data-path^="/marshruty/"]:not([data-path="/marshruty/"]):not([data-path^="/marshruty/goroda/"]) .faq-section,
body[data-path="/kontakty/"] .faq-section,
body[data-path="/otzyvy/"] .faq-section,
body[data-path="/voprosy/"] .faq-section,
body[data-path="/o-kompanii/"] .faq-section{background:var(--section-charcoal);color:#fff}
body[data-path^="/uslugi/"] .service-call + .faq-section h2,
body[data-path^="/marshruty/"]:not([data-path="/marshruty/"]):not([data-path^="/marshruty/goroda/"]) .faq-section h2,
body[data-path="/kontakty/"] .faq-section h2,
body[data-path="/otzyvy/"] .faq-section h2,
body[data-path="/voprosy/"] .faq-section h2,
body[data-path="/o-kompanii/"] .faq-section h2{color:#fff}
body[data-path^="/uslugi/"] .service-call + .faq-section p,
body[data-path^="/marshruty/"]:not([data-path="/marshruty/"]):not([data-path^="/marshruty/goroda/"]) .faq-section p,
body[data-path="/kontakty/"] .faq-section p,
body[data-path="/otzyvy/"] .faq-section p,
body[data-path="/voprosy/"] .faq-section p,
body[data-path="/o-kompanii/"] .faq-section p{color:#d6d9dc}
body[data-path^="/uslugi/"] .service-call + .faq-section .faq-list details,
body[data-path^="/marshruty/"]:not([data-path="/marshruty/"]):not([data-path^="/marshruty/goroda/"]) .faq-list details,
body[data-path="/kontakty/"] .faq-list details,
body[data-path="/otzyvy/"] .faq-list details,
body[data-path="/voprosy/"] .faq-list details,
body[data-path="/o-kompanii/"] .faq-list details{border-bottom-color:#ffffff30}
main>.related-services+.service-call,
body[data-service="gruzoperevozki"][data-city=""] .service-call,
body[data-service="vyvoz-musora"][data-city=""] .service-call{background:var(--section-charcoal);color:#fff;border-top-color:#ffffff24}
body[data-service="vyvoz-musora"][data-city]:not([data-city=""]) main>.related-services+.service-call{background:#fff;color:var(--section-charcoal);border-top-color:#dfe2e5}
main>.related-services+.service-call h2,
main>.related-services+.service-call a,
body[data-service="gruzoperevozki"][data-city=""] .service-call h2,
body[data-service="gruzoperevozki"][data-city=""] .service-call a,
body[data-service="vyvoz-musora"][data-city=""] .service-call h2,
body[data-service="vyvoz-musora"][data-city=""] .service-call a{color:#fff}
body[data-service="vyvoz-musora"][data-city]:not([data-city=""]) main>.related-services+.service-call h2,
body[data-service="vyvoz-musora"][data-city]:not([data-city=""]) main>.related-services+.service-call a{color:var(--section-charcoal)}
body[data-service="gruzoperevozki"][data-city=""] .faq-section,
body[data-service="vyvoz-musora"][data-city=""] .faq-section,
main>.related-services+.service-call+.faq-section{background:#fff;color:var(--section-charcoal)}
body[data-service="vyvoz-musora"][data-city]:not([data-city=""]) main>.related-services+.service-call+.faq-section{background:var(--section-charcoal);color:#fff}
body[data-service="gruzoperevozki"][data-city=""] .faq-section h2,
body[data-service="vyvoz-musora"][data-city=""] .faq-section h2,
main>.related-services+.service-call+.faq-section h2{color:var(--section-charcoal)}
body[data-service="vyvoz-musora"][data-city]:not([data-city=""]) main>.related-services+.service-call+.faq-section h2{color:#fff}
body[data-service="gruzoperevozki"][data-city=""] .faq-section p,
body[data-service="vyvoz-musora"][data-city=""] .faq-section p,
main>.related-services+.service-call+.faq-section p{color:#59616a}
body[data-service="vyvoz-musora"][data-city]:not([data-city=""]) main>.related-services+.service-call+.faq-section p{color:#d6d9dc}
body[data-service="gruzoperevozki"][data-city=""] .faq-list details,
body[data-service="vyvoz-musora"][data-city=""] .faq-list details,
main>.related-services+.service-call+.faq-section .faq-list details{border-bottom-color:#dfe2e5}
body[data-service="vyvoz-musora"][data-city]:not([data-city=""]) main>.related-services+.service-call+.faq-section .faq-list details{border-bottom-color:#ffffff30}

/* City directories and review sources also finish with alternating surfaces. */
body[data-path^="/goroda/"] .faq-section,
body[data-path="/otzyvy/"] .review-profiles-section{background:var(--section-charcoal);color:#fff}
body[data-path^="/goroda/"] .faq-section h2,
body[data-path="/otzyvy/"] .review-profiles-section h2{color:#fff}
body[data-path^="/goroda/"] .faq-section p{color:#d6d9dc}
body[data-path^="/goroda/"] .faq-list details{border-bottom-color:#ffffff30}
body[data-path="/otzyvy/"] .review-profiles-section .profile-links a{border-color:#ffffff42;color:#fff}
body[data-path="/otzyvy/"] .faq-section{background:#fff;color:var(--section-charcoal)}
body[data-path="/otzyvy/"] .faq-section h2{color:var(--section-charcoal)}
body[data-path="/otzyvy/"] .faq-section p{color:#59616a}
body[data-path="/otzyvy/"] .faq-list details{border-bottom-color:#dfe2e5}
