/* Shared: floating social quick-contact (bottom-right) */

.floating-social {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 350;
  display: grid;
  gap: 10px;
}
@supports (padding: max(0px)) {
  .floating-social {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}
.floating-social__btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-card);
  color: var(--color-primary);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.floating-social__btn:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 136, 211, 0.35);
  box-shadow: 0 14px 34px rgba(6, 136, 211, 0.22);
}
.floating-social__btn:active { transform: translateY(-1px) scale(0.98); }
.floating-social__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(6, 136, 211, 0.22), var(--shadow-card);
}
.floating-social__btn svg { width: 20px; height: 20px; display: block; }

/* Tooltip label */
.floating-social__btn[data-label]::after {
  content: attr(data-label);
  position: absolute;
  right: 56px;
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(2px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.floating-social__btn:hover::after,
.floating-social__btn:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .floating-social { gap: 8px; }
  .floating-social__btn { width: 44px; height: 44px; }
  .floating-social__btn[data-label]::after { display: none; }
}

