/* ═══════════════════════════════════════
   FLOATING CONTACT BUTTONS — Premium
   WhatsApp + Telegram stacked on right
   Desktop only (mobile uses bottom bar)
═══════════════════════════════════════ */

.floating-btns {
  position: fixed;
  right: 22px;
  bottom: 32px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

/* Each button — circle */
.floating-btns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  text-decoration: none;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.floating-btns a:hover,
.floating-btns a:focus {
  transform: scale(1.1) translateY(-2px);
  outline: none;
}

/* Icon */
.float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.float-icon img,
.float-icon svg {
  width: 26px;
  height: 26px;
  display: block;
  flex-shrink: 0;
}

/* Label — slides in from right, sits to the LEFT of the circle */
.float-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(12, 12, 12, 0.95);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 0.32rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  backdrop-filter: blur(6px);
}

.floating-btns a:hover .float-label,
.floating-btns a:focus .float-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ── WhatsApp ── */
.float-whatsapp {
  background: #20C20E;
  box-shadow: 0 4px 20px rgba(32, 194, 14, 0.55);
}

.float-whatsapp:hover,
.float-whatsapp:focus {
  box-shadow: 0 8px 32px rgba(32, 194, 14, 0.7);
}

/* Pulse ring */
.float-whatsapp::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(32, 194, 14, 0.4);
  animation: wa-pulse 2.5s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  70%  { transform: scale(1.75); opacity: 0;   }
  100% { transform: scale(1.75); opacity: 0;   }
}

/* ── Telegram ── */
.float-telegram {
  background: #229ED9;
  box-shadow: 0 4px 20px rgba(34, 158, 217, 0.45);
}

.float-telegram:hover,
.float-telegram:focus {
  box-shadow: 0 8px 32px rgba(34, 158, 217, 0.65);
}

/* ── Mobile — show above the bottom bar ── */
@media (max-width: 991.98px) {
  .floating-btns {
    display: flex;
    right: 14px;
    bottom: 28px;
    gap: 10px;
  }

  .floating-btns a {
    width: 48px;
    height: 48px;
  }

  .float-icon img,
  .float-icon svg {
    width: 22px;
    height: 22px;
  }

  /* Hide hover labels on mobile — no hover on touch */
  .float-label {
    display: none;
  }
}
