/* Блок карты на /contacts */

.contacts-location {
  margin-top: 8px;
}

.contacts-location__head {
  margin-bottom: 20px;
}

.contacts-location__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1D5FD1;
  margin-bottom: 10px;
}

.contacts-location__title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  color: #16233B;
  margin-bottom: 8px;
}

.contacts-location__address {
  color: #5B6B84;
  font-size: 15px;
  line-height: 1.6;
  max-width: 720px;
}

.contacts-location__address-icon {
  display: inline-flex;
  align-items: center;
  color: #1D5FD1;
  margin-right: 6px;
  vertical-align: -2px;
}

.contacts-location__address-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.contacts-location__map-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #DCE6F2;
  background: #ffffff;
  box-shadow: none;
}

.contacts-location__map-wrap[hidden] {
  display: none !important;
}

.contacts-location__map {
  width: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.contacts-location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #F3F7FD;
  border-top: 1px solid #DCE6F2;
}

.contacts-location__route-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  background: #0F3D8C;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.contacts-location__route-btn:hover {
  background: #1D5FD1;
  transform: translateY(-1px);
}

.contacts-location__route-btn svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.contacts-location__hint {
  font-size: 13px;
  color: #5B6B84;
}

@media (max-width: 768px) {
  .contacts-location__map {
    min-height: 320px;
  }

  .contacts-location__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contacts-location__route-btn {
    width: 100%;
  }
}
