/* ===== MODAL DE BIENVENIDA ===== */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex; /* Mostrar cuando tenga la clase show */
}

.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 20px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.4s ease;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 28px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #333;
}

.modal-body h2 {
  font-family: 'Poppins', sans-serif;
  color: #0b1720;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.modal-body p {
  font-family: 'Poppins', sans-serif;
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25D366;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
  margin-bottom: 1.5rem;
  border: none;
  cursor: pointer;
}

.whatsapp-btn:hover {
  background-color: #20B859;
  transform: scale(1.05);
}

.whatsapp-btn i {
  font-size: 1.5rem;
}

.small {
  font-size: 0.9rem;
  color: #666;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 480px) {
  .modal-content {
    padding: 1.5rem;
  }
  .modal-body h2 {
    font-size: 1.5rem;
  }
  .modal-body p {
    font-size: 1rem;
  }
  .whatsapp-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
}