.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(150px, 1.18fr) auto;
  justify-content: stretch;
}

.contact-map-delivery-motion {
  min-width: 0;
  height: 54px;
  position: relative;
  display: block;
  align-self: center;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(88, 220, 232, 0.11);
  border-radius: 5px;
  background:
    linear-gradient(90deg, rgba(88, 220, 232, 0.08) 1px, transparent 1px)
      0 22px / 34px 16px repeat-x,
    radial-gradient(ellipse at 50% 54%, rgba(88, 220, 232, 0.24), transparent 46%),
    linear-gradient(180deg, rgba(24, 57, 70, 0.78) 0 45%, rgba(7, 23, 32, 0.96) 46% 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -16px 24px rgba(2, 12, 18, 0.3);
}

.contact-map-delivery-motion::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 19px;
  right: 8px;
  bottom: -6px;
  left: 8px;
  clip-path: polygon(44% 0, 56% 0, 98% 100%, 2% 100%);
  background:
    linear-gradient(
      90deg,
      rgba(88, 220, 232, 0.7) 0 1px,
      transparent 1px 49.4%,
      rgba(232, 249, 250, 0.16) 49.4% 50.6%,
      transparent 50.6% calc(100% - 1px),
      rgba(88, 220, 232, 0.7) calc(100% - 1px)
    ),
    linear-gradient(180deg, rgba(26, 55, 66, 0.9), rgba(5, 17, 24, 0.98));
  box-shadow:
    0 0 12px rgba(88, 220, 232, 0.16),
    inset 0 4px 12px rgba(255, 255, 255, 0.025);
}

.contact-map-delivery-motion::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 22px;
  bottom: -18px;
  left: calc(50% - 1px);
  width: 2px;
  opacity: 0.68;
  background: repeating-linear-gradient(
    180deg,
    rgba(239, 250, 251, 0.88) 0 5px,
    transparent 5px 13px
  );
  filter: drop-shadow(0 0 4px rgba(88, 220, 232, 0.28));
  animation: contact-map-road-panorama 1.25s linear infinite;
}

.contact-map-delivery-vehicle {
  z-index: 3;
  width: 46px;
  height: 34px;
  position: absolute;
  top: 13px;
  left: calc(50% - 23px);
  display: block;
  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 4px 4px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 8px rgba(244, 123, 32, 0.2));
  transform-origin: 50% 100%;
  animation: contact-map-truck-on-road 6.8s cubic-bezier(0.42, 0, 0.24, 1) infinite;
}

.contact-map-delivery-vehicle::after {
  content: "";
  width: 10px;
  height: 4px;
  position: absolute;
  top: 19px;
  right: -4px;
  border-radius: 50%;
  opacity: 0.58;
  background: rgba(130, 239, 246, 0.72);
  box-shadow: 0 0 11px 4px rgba(88, 220, 232, 0.24);
  filter: blur(2px);
}

.contact-map-delivery-destination {
  z-index: 4;
  width: 62px;
  height: 20px;
  position: absolute;
  top: 5px;
  right: 7px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 123, 32, 0.68);
  border-radius: 3px;
  background: rgba(8, 29, 40, 0.9);
  box-shadow:
    0 5px 12px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  animation: none !important;
}

.contact-map-delivery-destination::before {
  content: "TIME-PLAY";
  color: #f47b20;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.contact-map-delivery-destination::after {
  content: "";
  width: 1px;
  height: 10px;
  position: absolute;
  top: 100%;
  right: 10px;
  background: rgba(88, 220, 232, 0.42);
  box-shadow: 0 9px 8px rgba(88, 220, 232, 0.2);
}

.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-panorama {
  to {
    background-position: 0 13px;
  }
}

@keyframes contact-map-truck-on-road {
  0% {
    left: calc(50% - 23px);
    opacity: 0;
    transform: translateY(-5px) scale(0.32);
  }
  9% {
    opacity: 0.9;
  }
  54% {
    left: calc(65% - 23px);
    opacity: 1;
    transform: translateY(0) scale(0.62);
  }
  82% {
    left: calc(84% - 23px);
    opacity: 1;
    transform: translateY(5px) scale(0.9);
  }
  100% {
    left: calc(100% + 12px);
    opacity: 0;
    transform: translateY(8px) scale(1.08);
  }
}

@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 {
    animation: none;
  }

  .contact-map-delivery-vehicle {
    left: calc(68% - 23px);
    opacity: 1;
    transform: scale(0.7);
  }
}
