/* ============================================
   WHATSAPP BUTTON — Propuesta 4: FIRMEZA variante
   ============================================ */

.whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: visible;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn__icon {
  font-size: 30px;
  color: #FFFFFF;
  line-height: 1;
}

/* Pulse ring */
.whatsapp-btn__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: wp-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes wp-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.7); opacity: 0;   }
  100% { transform: scale(1.7); opacity: 0;   }
}

/* Tooltip */
.whatsapp-btn__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #1A1A1A;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.whatsapp-btn:hover .whatsapp-btn__label { opacity: 1; }

@media (max-width: 480px) {
  .whatsapp-btn { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .whatsapp-btn__icon { font-size: 26px; }
}
