.floating-contact {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: Onest, Arial, sans-serif;
}

.floating-contact a {
  box-sizing: border-box;
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.floating-contact a:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.04);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.floating-contact a:active {
  transform: scale(0.96);
}

.floating-contact a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.floating-contact svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-contact__whatsapp {
  background: linear-gradient(145deg, #2fdf78, #1fbd5d);
}

.floating-contact__whatsapp svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.65;
}

.floating-contact__phone {
  background: linear-gradient(145deg, #303030, #171717);
}

.floating-contact__whatsapp span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .floating-contact {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    gap: 9px;
  }

  .floating-contact a {
    width: 52px;
    height: 52px;
  }

  .floating-contact svg {
    width: 24px;
    height: 24px;
  }

  .floating-contact__whatsapp svg {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-contact a {
    transition: none;
  }
}

@media print {
  .floating-contact {
    display: none !important;
  }
}
