/* POPUP */
.consult-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}

.consult-popup.active {
  display: flex;
}

.consult-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
}

.consult-popup-box {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  padding: 32px;
  z-index: 2;
  animation: popupShow .25s ease;
}

.consult-btn .item-social {
  color: #fff;
}

.consult-btn.zalo:hover {
  background: #0050c5;
}

@keyframes popupShow {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.consult-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  cursor: pointer;
  font-size: 24px;
}

.consult-popup-head h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.consult-popup-head p {
  color: #6b7280;
  margin-bottom: 24px;
}

.consult-popup-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.consult-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-radius: 14px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: .2s;
}

.consult-btn:hover {
  transform: translateY(-2px);
}

.consult-btn.zalo {
  background: #0068ff;
}

.consult-btn.facebook {
  background: #1877f2;
}

.consult-btn.facebook:hover {
  background: #1157b3;
}

.consult-btn.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.consult-btn.instagram:hover {
  background: linear-gradient(135deg, #6d3095, #ca1717, #c78b37);
}

.consult-btn.whatsapp {
  background: #25d366;
}

.consult-btn.whatsapp:hover {
  background: #1b9b4a;
}

.consult-btn.telegram {
  background: #229ed9;
}

.consult-btn.telegram:hover {
  background: #19739c;
}

.consult-btn.phone {
  background: #ffbf00;
}

.consult-btn.phone:hover {
  background: #ca9801;
}

@media(max-width:767px) {

  .consult-popup-box {
    margin: 20px;
    padding: 24px;
  }

}