/* Слой со схемой дороги разделяет фон всей страницы и содержимое секций. */
body.has-route-map {
  position: relative;
  isolation: isolate;
}
.route-map {
  position: absolute;
  inset: var(--route-top) 0 0;
  z-index: -1;
  overflow: clip;
  pointer-events: none;
  background: #0a0e16;
}
.route-map svg { display: block; width: 100%; height: 100%; }
.route-map .road,
.route-map .road-glow,
.route-map .road-travelled,
.route-map .road-shoulder {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.route-map .road-shoulder { stroke: #0c131d; stroke-width: 8; }
.route-map .road { stroke: #334155; stroke-width: 2; }
.route-map .road-glow { stroke: var(--accent); stroke-width: 8; opacity: .12; }
.route-map .road-travelled { stroke: var(--accent); stroke-width: 2.2; opacity: .85; }
.route-map .road-marker { fill: var(--accent); stroke: #fff0bf; stroke-width: 1.25; }
.route-map .road-marker-ring { fill: #fec748; opacity: .2; }
.route-map .road-waypoint { fill: #141e29; stroke: #587082; stroke-width: 1.3; }
.route-map .road-finish { fill: #131b24; stroke: #a68541; stroke-width: 1.6; }
.route-map .road-start { fill: #161d25; stroke: #f5cb6e; stroke-width: 1.4; }
.route-map.is-reduced-motion .road-travelled { opacity: .38; }
.route-map.is-reduced-motion .road-glow,
.route-map.is-reduced-motion .road-marker-group { display: none; }

.has-route-map #clients-marquee,
.has-route-map #services,
.has-route-map #dlya-kogo,
.has-route-map #expertise,
.has-route-map #how,
.has-route-map #prices,
.has-route-map #trust,
.has-route-map #faq {
  background: linear-gradient(90deg, transparent, #0a0e1650 22% 78%, transparent);
}
.has-route-map main:not(.bezlimit) #zayavka {
  background: linear-gradient(90deg, rgba(254,199,72,.12), rgba(254,199,72,.05));
  border-top: 1px solid var(--accent-line);
  border-bottom: 1px solid var(--accent-line);
}
.has-route-map .expertise-bg-img { display: none; }
.has-route-map .marquee-outer::before { background: linear-gradient(90deg, #0a0e16, transparent); }
.has-route-map .marquee-outer::after { background: linear-gradient(270deg, #0a0e16, transparent); }
.has-route-map .section-intro,
.has-route-map .section-sub { text-shadow: 0 1px 3px #0a0e16; }
.has-route-map .glass-card,
.has-route-map .faq-item { background-color: #101620b8; }

@media (max-width: 640px) {
  .route-map .road-glow { stroke-width: 6; }
  .route-map .road-travelled { stroke-width: 1.8; }
  .route-map .road-marker-ring { opacity: .16; }
}

.has-route-map .bezlimit { background: transparent; }
.has-route-map .bezlimit .section { background-color: transparent; }
.has-route-map .bezlimit .included-card,
.has-route-map .bezlimit .service-scope,
.has-route-map .bezlimit .comparison,
.has-route-map .bezlimit .delivery-card,
.has-route-map .bezlimit .permits,
.has-route-map .bezlimit .review { background-color: #151b26e4; }
.has-route-map .bezlimit .capabilities-heading > p,
.has-route-map .bezlimit .delivery-caption { text-shadow: 0 1px 3px #0a0e16; }

[data-hero-rotation] > img.hero-rotation-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .6s ease;
}
[data-hero-rotation] > img.is-current { opacity: 1; }

.hero-rotation-control {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #f1f3f8;
  background: #101723d9;
  border: 1px solid #ffffff35;
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
}
.hero-rotation-control:hover { border-color: var(--accent); color: var(--accent); }
.hero-rotation-control:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hero-rotation-control .hero-play-icon,
.hero-rotation-control.is-paused .hero-pause-icon { display: none; }
.hero-rotation-control.is-paused .hero-play-icon { display: block; }

@media (max-width: 790px) {
  .hero-rotation-control { top: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-hero-rotation] > img.hero-rotation-image { transition: none; }
}

.has-route-map .subscription-hero { border-bottom: none; }
.has-route-map .subscription-hero .subscription-photo::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(90px, 18svh, 180px);
  background: linear-gradient(180deg, transparent, #0a0e16);
  z-index: 1;
  pointer-events: none;
}
