/* ======================================
   Мобильная панель контактов (sticky bottom bar)
   Показывается только на экранах <= 768px
   ====================================== */

.mobile-contact-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding: 8px 10px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {
  .mobile-contact-bar {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
  }

  /* Отступ снизу для body, чтобы контент не перекрывался панелью */
  body {
    padding-bottom: 70px !important;
  }
}

.mobile-contact-bar__link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border-radius: 50px;
  padding: 8px 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.mobile-contact-bar__link:active {
  transform: scale(0.96);
}

/* WhatsApp */
.mobile-contact-bar__link--whatsapp {
  background: #dcfce7;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
.mobile-contact-bar__link--whatsapp:hover {
  background: #25D366;
  color: #fff;
}

/* Telegram */
.mobile-contact-bar__link--telegram {
  background: #dbeafe;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.mobile-contact-bar__link--telegram:hover {
  background: #229ED9;
  color: #fff;
}

/* MAX */
.mobile-contact-bar__link--max {
  background: #ede9fe;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}
.mobile-contact-bar__link--max:hover {
  background: #7c3aed;
  color: #fff;
}

.mobile-contact-bar__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
