.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: 62px;
  position: relative;
  display: block;
  align-self: center;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(88, 220, 232, 0.18);
  border-radius: 5px;
  background: #06131c url("/assets/contact-road-panorama-v5.webp") center / cover no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -18px 28px rgba(1, 10, 16, 0.24),
    0 8px 24px rgba(1, 10, 16, 0.16);
}

.contact-map-delivery-motion::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 16, 24, 0.28), transparent 22% 78%, rgba(3, 16, 24, 0.22)),
    linear-gradient(180deg, rgba(2, 13, 20, 0.05) 52%, rgba(2, 13, 20, 0.3));
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.24);
}

.contact-map-delivery-motion::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 5px;
  height: 5px;
  left: 29%;
  top: 31px;
  border-radius: 50%;
  background: #8af1f5;
  box-shadow:
    0 0 6px rgba(138, 241, 245, 0.95),
    0 0 15px rgba(88, 220, 232, 0.54);
  animation: contact-map-horizon-pulse 2.4s ease-in-out infinite;
}

.contact-map-delivery-vehicle {
  z-index: 3;
  width: 46px;
  height: 34px;
  position: absolute;
  top: -2px;
  left: calc(29% - 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.54))
    drop-shadow(0 0 8px rgba(244, 123, 32, 0.28));
  transform: scale(0.08);
  transform-origin: 50% 100%;
  will-change: left, top, opacity, transform;
  animation: contact-map-truck-from-horizon 7.6s cubic-bezier(0.38, 0, 0.22, 1) infinite;
}

.contact-map-delivery-vehicle::after {
  content: "";
  width: 10px;
  height: 4px;
  position: absolute;
  top: 19px;
  right: -4px;
  border-radius: 50%;
  opacity: 0.7;
  background: rgba(138, 241, 245, 0.86);
  box-shadow: 0 0 11px 4px rgba(88, 220, 232, 0.34);
  filter: blur(2px);
}

.contact-map-delivery-vehicle {
  width: 60px;
  height: 40px;
  top: -10px;
  left: calc(29% - 30px);
  background-image: url("/assets/contact-delivery-truck-v10.webp");
  background-position: center bottom;
  filter:
    drop-shadow(0 3px 3px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 7px rgba(244, 123, 32, 0.12));
  animation-duration: 8.2s;
}

.contact-map-delivery-vehicle::after {
  display: none;
}

.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.78);
  border-radius: 3px;
  background: rgba(5, 22, 31, 0.92);
  box-shadow:
    0 5px 12px rgba(0, 0, 0, 0.38),
    0 0 14px rgba(244, 123, 32, 0.09),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  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.52);
  box-shadow: 0 9px 8px rgba(88, 220, 232, 0.24);
}

.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-horizon-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.72);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes contact-map-truck-from-horizon {
  0%,
  7% {
    left: calc(29% - 30px);
    top: -10px;
    opacity: 0;
    transform: scale(0.05);
  }
  12% {
    opacity: 0.9;
  }
  42% {
    left: calc(44% - 30px);
    top: 0;
    opacity: 1;
    transform: scale(0.24);
  }
  70% {
    left: calc(54% - 30px);
    top: 11px;
    opacity: 1;
    transform: scale(0.52);
  }
  90% {
    left: calc(58% - 30px);
    top: 19px;
    opacity: 1;
    transform: scale(0.82);
  }
  100% {
    left: calc(61% - 30px);
    top: 22px;
    opacity: 0;
    transform: scale(0.95);
  }
}

@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(54% - 30px);
    top: 11px;
    opacity: 1;
    transform: scale(0.54);
  }
}
