/* Floating WhatsApp contact button — sits directly below the back-to-top arrow */
.pointone-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 10000;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--color-text, #FFFFFF);
  background: linear-gradient(135deg, var(--color-cyan, #32C5FF), var(--color-primary, #087FFF) 55%, var(--color-violet, #8665FF));
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(8, 127, 255, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
  font-size: 27px;
  line-height: 1;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.pointone-whatsapp:hover,
.pointone-whatsapp:focus-visible {
  color: var(--color-text, #FFFFFF);
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 127, 255, 0.52), 0 0 22px rgba(134, 101, 255, 0.35);
}

.pointone-whatsapp:focus-visible {
  outline: 2px solid var(--color-cyan, #32C5FF);
  outline-offset: 4px;
}

.pointone-whatsapp i {
  line-height: 1;
}

.pointone-whatsapp__label {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  padding: 8px 14px;
  color: var(--color-text, #FFFFFF);
  background: rgba(7, 22, 41, 0.96);
  border: 1px solid rgba(50, 197, 255, 0.45);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 200ms ease, transform 200ms ease;
  visibility: hidden;
  white-space: nowrap;
}

.pointone-whatsapp:hover .pointone-whatsapp__label,
.pointone-whatsapp:focus-visible .pointone-whatsapp__label {
  opacity: 1;
  transform: translate(0, -50%);
  visibility: visible;
}

/* Make room for the WhatsApp button under the back-to-top arrow */
.go-top,
.go-top.active {
  bottom: 80px;
}

/* Keep the cookie notice from covering the button on desktop */
@media (min-width: 541px) {
  .pointone-cookie-banner {
    right: 86px;
  }
}

@media (max-width: 540px) {
  .pointone-whatsapp {
    right: 12px;
    bottom: 12px;
  }

  .go-top,
  .go-top.active {
    right: 14px;
    bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pointone-whatsapp,
  .pointone-whatsapp__label {
    transition: none;
  }

  .pointone-whatsapp:hover,
  .pointone-whatsapp:focus-visible {
    transform: none;
  }
}
