/* Попап с контактами: открывается по любой ссылке на контакты */

.contacts-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 6, 8, 0.82);
  backdrop-filter: blur(8px);
}

.contacts-modal.is-open {
  display: flex;
}

.contacts-modal__card {
  position: relative;
  width: min(420px, 100%);
  padding: 34px 28px 30px;
  border-radius: 22px;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
  text-align: center;
  animation: contacts-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes contacts-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.contacts-modal__title {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff;
}

.contacts-modal__hint {
  margin: 0 0 24px;
  font-size: 13px;
  color: #8b8b93;
}

.contacts-modal__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacts-modal__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.contacts-modal__link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.contacts-modal__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
  opacity: 0.85;
}

.contacts-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contacts-modal__close:hover {
  background: rgba(255, 255, 255, 0.16);
}
