/* Карта — иллюстрация географии доставки, без сервиса отслеживания. */
.info-hero.delivery-map-hero {
  padding: 58px 0;
  background: radial-gradient(ellipse at 80% 30%, #123c64, transparent 65%), #081c34;
}
.info-hero.delivery-map-hero > .container {
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.delivery-intro { min-width: 0; }
.delivery-map-hero .delivery-intro h1 { font-size: clamp(37px, 4.1vw, 54px); line-height: 1.1; letter-spacing: -.055em; }
.delivery-intro > p:not(.eyebrow) { color: #bed0e1; font-size: 14px; line-height: 1.85; max-width: 420px; margin: 25px 0 28px; }
.delivery-intro > .primary { gap: 24px; font-size: 13px; }
.delivery-intro > .primary svg { flex: none; transition: transform .25s cubic-bezier(.25, 1, .5, 1); }
.delivery-intro > .primary:hover svg { transform: translateX(4px); }
.delivery-intro > .primary:focus-visible { outline: 2px solid #bfe6ff; outline-offset: 5px; }
.delivery-intro-note { display: flex; align-items: center; gap: 12px; margin-top: 25px; color: #a8c0d6; font-size: 11px; line-height: 1.7; }
.delivery-intro-note > svg { width: 27px; height: 27px; flex: none; color: #7cbdec; }

.delivery-map {
  min-width: 0;
  width: 100%;
  max-width: 790px;
  margin: 0;
  padding: 20px 20px 17px;
  border: 1px solid #315675;
  border-radius: var(--radius-panel, 24px);
  background: radial-gradient(ellipse at 50% 45%, #163c5e 0, #0c2845 70%);
  box-shadow: 0 24px 64px rgba(0, 12, 28, .15);
  isolation: isolate;
}
.delivery-map-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 36px; }
.delivery-map-heading > span { display: inline-flex; gap: 9px; align-items: center; color: #bad3e8; font: 700 10px Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.delivery-map-heading > span > i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #86d7fa; }
.map-motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 8px 10px; border: 1px solid #426685; border-radius: var(--radius-control, 12px); background: #143854; color: #dbedfc; font: 600 10px Manrope, sans-serif; cursor: pointer; transition: background-color .2s cubic-bezier(.25, 1, .5, 1), border-color .2s cubic-bezier(.25, 1, .5, 1); }
.map-motion-toggle[hidden] { display: none; }
.map-motion-toggle:hover { background: #1c4b70; border-color: #83b6db; }
.map-motion-toggle:focus-visible { outline: 2px solid #a3ddff; outline-offset: 4px; }
.map-motion-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map-play-icon, .map-motion-toggle[data-paused="true"] .map-pause-icon { display: none; }
.map-motion-toggle[data-paused="true"] .map-play-icon { display: block; }
.delivery-map-canvas { margin: 8px -8px 12px; }
.delivery-map-svg { display: block; width: 100%; height: auto; aspect-ratio: 960 / 520; overflow: visible; }
.delivery-route { fill: none; stroke: #8ed9ff; stroke-width: 1.5; stroke-dasharray: 4 6; stroke-linecap: round; opacity: .72; }
.map-city-halo { fill: #76caff; fill-opacity: .13; stroke: #94dbff; stroke-width: 1; stroke-opacity: .38; }
.map-city-dot { fill: #d3f2ff; stroke: #74cfff; stroke-width: 2; }
.map-city-origin .map-city-dot { fill: #f5fbff; }
.map-city text { fill: #dceefa; font: 600 18px Manrope, sans-serif; paint-order: stroke fill; stroke: #102e4b; stroke-width: 5px; stroke-linejoin: round; }
.map-city-origin text { font-weight: 800; fill: #f3f9ff; }
.delivery-plane { fill: #eaf7ff; stroke: #183f63; stroke-width: 2; stroke-linejoin: round; pointer-events: none; transform-origin: 0 0; }
.delivery-map figcaption { border-top: 1px solid #315370; padding-top: 14px; }
.delivery-map-legend { display: flex; flex-wrap: wrap; gap: 9px 22px; color: #c9deed; font-size: 10px; }
.delivery-map-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend-dot { width: 5px; height: 5px; border-radius: 50%; background: #b7e9ff; box-shadow: 0 0 0 3px #244968; }
.map-legend-route { width: 19px; border-top: 1px dashed #9bcfe9; }
.delivery-map figcaption p { margin: 10px 0 0; color: #a6bfd4; font-size: 10px; line-height: 1.65; max-width: 500px; }
#delivery-carriers { scroll-margin-top: 24px; }

@media (min-width: 950px) {
  .info-hero.delivery-map-hero { padding-block: 72px; }
  .info-hero.delivery-map-hero > .container { grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr); gap: 36px; }
}
@media (max-width: 540px) {
  .info-hero.delivery-map-hero { padding-block: 38px 28px; }
  .info-hero.delivery-map-hero > .container { gap: 30px; }
  .delivery-map-hero .delivery-intro h1 { font-size: clamp(35px, 9.5vw, 42px); }
  .delivery-intro > p:not(.eyebrow) { font-size: 13px; margin-block: 21px 24px; }
  .delivery-intro-note { margin-top: 19px; }
  .delivery-map { padding: 13px 12px 14px; }
  .delivery-map-heading { gap: 6px; }
  .delivery-map-heading > span { font-size: 8px; letter-spacing: .025em; gap: 6px; }
  .map-motion-toggle { min-width: 40px; min-height: 40px; padding: 8px; }
  .map-motion-toggle > span { display: none; }
  .map-motion-toggle svg { width: 16px; height: 16px; }
  .delivery-map-canvas { margin: 10px -6px 16px; }
  .map-city-secondary text { display: none; }
  .map-city text { font-size: 30px; stroke-width: 6px; }
  .delivery-plane > g { transform: scale(.8) rotate(90deg) translate(-32px, -32px); }
  .delivery-route { stroke-width: 2.5; }
  .delivery-map-legend { gap: 10px 15px; font-size: 9px; }
  .delivery-map figcaption p { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .delivery-intro > .primary svg, .map-motion-toggle { transition: none; }
  .delivery-intro > .primary:hover svg { transform: none; }
}
