/* ===========================
   floating-buttons.css — Botones flotantes WhatsApp + Booking
   =========================== */

.float-btns {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.float-btn {
  position: relative;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.float-btn.visible {
  opacity: 1;
  transform: translateX(0);
}

.float-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.float-btn a:hover {
  transform: scale(1.1) translateY(-2px);
}

/* WhatsApp */
.float-btn--wa a {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}

.float-btn--wa a:hover {
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

.float-btn--wa a svg { color: #fff; width: 26px; height: 26px; }

/* Booking */
.float-btn--booking a {
  background: linear-gradient(135deg, #00d4ff, #7c3aed);
  box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}

.float-btn--booking a:hover {
  box-shadow: 0 8px 32px rgba(0,212,255,0.45);
}

.float-btn--booking a svg { color: #000; width: 24px; height: 24px; }

/* Animación pulse para WhatsApp */
@keyframes float-pulse {
  0%   { box-shadow: 0 4px 20px rgba(37,211,102,0.35), 0 0 0 0 rgba(37,211,102,0.4); }
  70%  { box-shadow: 0 4px 20px rgba(37,211,102,0.35), 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35), 0 0 0 0 rgba(37,211,102,0); }
}

.float-btn--wa.visible a {
  animation: float-pulse 2.5s ease-in-out infinite;
}

.float-btn--wa a:hover {
  animation: none;
}

/* Tooltip */
.float-btn__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7,11,20,0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}

.float-btn:hover .float-btn__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Responsive */
@media (max-width: 540px) {
  .float-btns { bottom: 18px; right: 18px; gap: 10px; }
  .float-btn a { width: 46px; height: 46px; }
  .float-btn__tooltip { display: none; }
}
