/* Floating contact buttons — port din FloatingActions.module.css (React) */

.floating-actions {
  position: fixed;
  bottom: 3.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  z-index: 9999;
  pointer-events: none;
}

.floating-actions .fa-btn {
  pointer-events: auto;
}

.fa-btn {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, #1f4476, #0e1f3a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(31, 68, 118, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
              opacity 0.2s ease, visibility 0.2s ease;
}

.fa-btn img {
  display: block;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.fa-btn:hover {
  transform: translateY(-0.15rem) scale(1.04);
  box-shadow: 0 12px 35px rgba(31, 68, 118, 0.45);
}

.fa-whatsapp {
  background: #25d366;
}

.fa-whatsapp:hover {
  background: #1ebe5b;
}

.fa-telegram {
  background: #0088cc;
}

.fa-telegram:hover {
  background: #0074ad;
}

.fa-viber {
  background: #7360f2;
}

.fa-viber:hover {
  background: #5c49db;
}

.fa-scroll-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem) scale(0.8);
}

.fa-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
  .floating-actions {
    bottom: 1rem;
    right: 1rem;
    gap: 0.75rem;
  }

  .fa-btn {
    width: 3rem;
    height: 3rem;
  }

  .fa-btn img {
    width: 1.85rem;
    height: 1.85rem;
  }
}
