.contact-map-section {
  display: flex;
  justify-content: center;
}

.map-wrapper {
  position: relative;
  display: inline-block;
  width: min(900px, 100%);
  line-height: 0;
}

.contact-map {
  display: block;
  width: 100%;
}

.contact-logo {
  position: absolute;
  left: 58%;
  top: 56%;
  width: clamp(54px, 12.86%, 116px);
  transform: translate(-50%, -50%);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform;
}

/*
 * Kumulativní a odolné nastavení animace.
 * Vyšší specificita a !important přebijí i případné staré globální
 * pravidlo prefers-reduced-motion uložené v cache prohlížeče.
 */
.contact-logo,
.contact-logo.heartbeat {
  animation-name: nase-cesty-contact-heartbeat !important;
  animation-duration: 1.8s !important;
  animation-timing-function: ease-in-out !important;
  animation-delay: 0s !important;
  animation-iteration-count: infinite !important;
  animation-direction: normal !important;
  animation-fill-mode: none !important;
  animation-play-state: running !important;
}

@keyframes nase-cesty-contact-heartbeat {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  12% {
    transform: translate(-50%, -50%) scale(1.16);
  }

  24% {
    transform: translate(-50%, -50%) scale(1);
  }

  36% {
    transform: translate(-50%, -50%) scale(1.16);
  }

  48% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.contact-title {
  margin: 55px 0 28px;
  color: var(--red);
  font-size: clamp(2rem, 5vw, 2.7rem);
}

.contact-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px 38px;
  margin-bottom: 42px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-size: 1.1rem;
  text-decoration: none;
}

.contact-item:hover {
  text-decoration: underline;
}

.contact-icon {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.contact-message {
  max-width: 720px;
  margin: 0 auto;
  color: var(--blue);
  font-size: clamp(1.15rem, 3vw, 1.42rem);
  line-height: 1.5;
}
