/* Footer unificado */
.site-footer {
  margin-top: 4rem;
}

/* Botón flotante WhatsApp */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.wa-float__tooltip {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
  max-width: min(280px, calc(100vw - 5rem));
}

.wa-float:hover .wa-float__tooltip,
.wa-float:focus-within .wa-float__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-float__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.wa-float__bubble {
  background: #fff;
  color: #1c1c1c;
  border-radius: 14px 14px 4px 14px;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  font-size: 13px;
  line-height: 1.45;
}

.wa-float__bubble strong {
  display: block;
  font-size: 14px;
  margin-bottom: 0.15rem;
  color: #111;
}

.wa-float__btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.wa-float__btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
  color: #fff;
}
