/*====== whatsapp flotante========*/
#float-whatsapp {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Efecto hover: agranda y agrega sombra */
#float-whatsapp:hover {
  transform: scale(1.1);
}

/* Estilo del enlace contenedor */
.whatsapp-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: "Arial", sans-serif;
}

/* Globo de texto */
.whatsapp-bubble {
  background-color: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 18px;
  margin-right: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  position: relative;
}

/* Triángulo del globo */
.whatsapp-bubble::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #fff;
}

/* Ícono principal */
.whatsapp-icon {
  width: 95px;  /* Ajusta tamaño del ícono */
  height: 95px;
  border-radius: 50%;
 /* background-color: #25d366; */
  background-color: transparent; /* 🔹 quita el fondo verde */
  padding: 0 px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
 /* box-shadow: none; opcional: quita la sombra */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/*====== RESPONSIVE DESIGN ======*/

/* 📱 Celulares pequeños */
@media (max-width: 600px) {
  #float-whatsapp {
    bottom: 20px;
    right: 20px;
  }

  /* 🔹 Oculta el texto en móviles */
  .whatsapp-bubble {
    display: none;
  }

  .whatsapp-icon {
    width: 80px; /* tamaño más pequeño */
    height: 80px;
    padding: 6px;
  }
}

/* 💻 Tablets */
@media (min-width: 601px) and (max-width: 1024px) {
  .whatsapp-icon {
    width: 85px;
    height: 85px;
  }

  .whatsapp-bubble {
    font-size: 13px;
    padding: 7px 11px;
  }
}