.contact-map-grid {
  display: none !important;
}

.contact-map-terminal .contact-map-caption,
.contact-section .contact-map-terminal .contact-map-caption {
  grid-template-columns: minmax(180px, 0.82fr) minmax(140px, 1.18fr) auto;
  justify-content: stretch;
}

.contact-map-delivery-motion {
  min-width: 0;
  height: 52px;
  position: relative;
  display: block;
  align-self: center;
  overflow: hidden;
  isolation: isolate;
}

.contact-map-delivery-motion::before {
  content: "";
  height: 3px;
  position: absolute;
  right: 18px;
  bottom: 9px;
  left: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(88, 220, 232, 0.2) 8%,
    rgba(88, 220, 232, 0.82) 42%,
    rgba(88, 220, 232, 0.38) 86%,
    transparent 100%
  );
  box-shadow:
    0 0 7px rgba(88, 220, 232, 0.28),
    0 7px 16px rgba(2, 13, 20, 0.28);
}

.contact-map-delivery-motion::after {
  content: "";
  height: 1px;
  position: absolute;
  right: 22px;
  bottom: 4px;
  left: 10px;
  opacity: 0.46;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 12px,
    rgba(182, 239, 244, 0.72) 12px 21px,
    transparent 21px 34px
  );
  animation: contact-map-road-flow 1.6s linear infinite;
}

.contact-map-delivery-vehicle {
  z-index: 3;
  width: 50px;
  height: 37px;
  position: absolute;
  top: 4px;
  left: -58px;
  display: block;
  overflow: visible;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 46'%3E%3Cdefs%3E%3ClinearGradient id='body' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%23ff9c4d'/%3E%3Cstop offset='.58' stop-color='%23f47b20'/%3E%3Cstop offset='1' stop-color='%23c95109'/%3E%3C/linearGradient%3E%3ClinearGradient id='glass' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%2379e5ed' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%23153241'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke-linejoin='round'%3E%3Cpath d='M4 8h34v27H4z' fill='url(%23body)' stroke='%23ffc08e' stroke-width='1.3'/%3E%3Cpath d='M38 17h11l10 10v8H38z' fill='url(%23body)' stroke='%23ffc08e' stroke-width='1.3'/%3E%3Cpath d='M42 20h6l7 7H42z' fill='url(%23glass)'/%3E%3Cpath d='M8 12h26M8 31h47' stroke='%23111d27' stroke-opacity='.55' stroke-width='1.5'/%3E%3Cpath d='M10 18h16' stroke='%23fff' stroke-opacity='.72' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='55' y='29' width='5' height='3' rx='1.5' fill='%238af1f5'/%3E%3Ccircle cx='16' cy='36' r='6' fill='%23091219' stroke='%2358dce8' stroke-opacity='.38'/%3E%3Ccircle cx='16' cy='36' r='2.3' fill='%23d6edf0'/%3E%3Ccircle cx='49' cy='36' r='6' fill='%23091219' stroke='%2358dce8' stroke-opacity='.38'/%3E%3Ccircle cx='49' cy='36' r='2.3' fill='%23d6edf0'/%3E%3C/g%3E%3C/svg%3E");
  filter:
    drop-shadow(0 5px 4px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 9px rgba(244, 123, 32, 0.22));
  transform-origin: 50% 100%;
  animation: contact-map-vehicle-drive-premium 6.2s cubic-bezier(0.38, 0, 0.24, 1) infinite;
}

.contact-map-delivery-vehicle::before {
  content: "";
  width: 34px;
  height: 12px;
  position: absolute;
  top: 13px;
  right: calc(100% - 5px);
  opacity: 0.78;
  background: linear-gradient(90deg, transparent, rgba(88, 220, 232, 0.48));
  clip-path: polygon(0 44%, 100% 0, 100% 100%, 0 58%);
  filter: blur(1px);
}

.contact-map-delivery-vehicle::after {
  content: "";
  width: 12px;
  height: 5px;
  position: absolute;
  top: 20px;
  right: -5px;
  border-radius: 50%;
  opacity: 0.72;
  background: rgba(130, 239, 246, 0.7);
  box-shadow: 0 0 13px 5px rgba(88, 220, 232, 0.28);
  filter: blur(2px);
}

.contact-map-delivery-destination {
  z-index: 2;
  width: 22px;
  height: 22px;
  position: absolute;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(88, 220, 232, 0.58);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #f47b20 0 3px,
    rgba(244, 123, 32, 0.22) 3px 6px,
    transparent 6px
  );
  box-shadow:
    inset 0 0 0 4px rgba(8, 28, 41, 0.9),
    0 0 16px rgba(88, 220, 232, 0.34);
  animation: contact-map-destination-pulse-premium 2.4s ease-in-out infinite;
}

.contact-map-route,
.contact-map-route:visited {
  color: #111d27;
  background: #f47b20;
  border-color: rgba(255, 196, 148, 0.78);
  box-shadow: 0 12px 26px rgba(244, 123, 32, 0.3);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-map-route:hover {
  color: #111d27;
  background: #ff8a2f;
  border-color: rgba(255, 226, 203, 0.96);
  box-shadow: 0 15px 30px rgba(244, 123, 32, 0.38);
  transform: translateY(-1px);
}

.contact-map-route:active {
  color: #111d27;
  background: #dc6512;
  transform: translateY(0);
}

.contact-map-terminal .contact-map-route span,
.contact-map-terminal .contact-map-route i {
  color: #111d27;
}

.contact-route-hero-button,
.contact-route-hero-button:visited {
  color: #111d27;
  background: #f47b20;
  border-color: #f47b20;
}

.contact-route-hero-button:hover,
.contact-route-hero-button:active {
  color: #111d27;
  background: #ff8a2f;
  border-color: #ff8a2f;
}

@keyframes contact-map-road-flow {
  to {
    background-position: 34px 0;
  }
}

@keyframes contact-map-vehicle-drive-premium {
  0% {
    left: -58px;
    opacity: 0;
    transform: translateY(1px) scale(0.96);
  }
  7% {
    opacity: 1;
  }
  38% {
    transform: translateY(0) scale(1);
  }
  72% {
    left: calc(100% - 68px);
    opacity: 1;
    transform: translateY(-1px) scale(1);
  }
  81% {
    left: calc(100% - 57px);
    opacity: 1;
    transform: translateY(0) scale(0.99);
  }
  100% {
    left: calc(100% + 12px);
    opacity: 0;
    transform: translateY(1px) scale(0.96);
  }
}

@keyframes contact-map-destination-pulse-premium {
  0%,
  100% {
    opacity: 0.68;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (width <= 720px) {
  .contact-map-terminal .contact-map-caption,
  .contact-section .contact-map-terminal .contact-map-caption {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .contact-map-delivery-motion {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-map-delivery-motion::after,
  .contact-map-delivery-vehicle,
  .contact-map-delivery-destination {
    animation: none;
  }

  .contact-map-delivery-vehicle {
    left: calc(50% - 25px);
    opacity: 1;
    transform: none;
  }
}
