/* Separate floating icon buttons — Call, WhatsApp, Free Consultation */
.raab-floating-actions {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}

.raab-floating-actions__btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  position: relative;
}

.raab-floating-actions__btn i {
  font-size: 22px;
  line-height: 1;
}

.raab-floating-actions__btn:hover,
.raab-floating-actions__btn:focus {
  color: #fff;
  text-decoration: none;
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  filter: brightness(1.05);
}

.raab-floating-actions__btn:active {
  transform: scale(0.96);
}

.raab-floating-actions__btn--call {
  background: linear-gradient(145deg, #37517e, #2a3d62);
}

.raab-floating-actions__btn--whatsapp {
  background: linear-gradient(145deg, #25d366, #1da851);
}

.raab-floating-actions__btn--consult {
  background: linear-gradient(145deg, #d4af37, #b8922a);
  color: #1a1a1a;
}

.raab-floating-actions__btn--consult:hover,
.raab-floating-actions__btn--consult:focus {
  color: #1a1a1a;
}

/* Tooltip label on hover (desktop) */
.raab-floating-actions__btn::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #1e2a3a;
  color: #fff;
  font-family: var(--nav-font, "Poppins", sans-serif);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.raab-floating-actions__btn:hover::after,
.raab-floating-actions__btn:focus::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Scroll-top stays bottom-left */
body.has-floating-actions .scroll-top.active {
  bottom: 24px;
  right: auto;
  left: 16px;
}

/* Mobile — same separate icons, slightly smaller, bottom-right stack */
@media (max-width: 767px) {
  .raab-floating-actions {
    right: 14px;
    bottom: 78px;
    gap: 12px;
  }

  .raab-floating-actions__btn {
    width: 48px;
    height: 48px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.24);
  }

  .raab-floating-actions__btn i {
    font-size: 20px;
  }

  /* Hide hover tooltips on touch — title/aria-label still available */
  .raab-floating-actions__btn::after {
    display: none;
  }

  body.has-floating-actions .scroll-top.active {
    bottom: 20px;
    left: 14px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 767px) and (max-height: 500px) {
  .raab-floating-actions {
    bottom: 16px;
    gap: 10px;
  }

  .raab-floating-actions__btn {
    width: 44px;
    height: 44px;
  }

  .raab-floating-actions__btn i {
    font-size: 18px;
  }
}
