.floating-btn {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  /* Start side: left in LTR, right in RTL — Daleel uses the opposite on mobile */
  inset-inline-start: 1rem;
  inset-inline-end: auto;
  z-index: 999;
  display: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  direction: inherit;
}

.floating-trigger {
  width: 52px;
  height: 52px;
  background: var(--color-gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 15px rgba(232, 160, 32, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.floating-trigger:active {
  transform: scale(0.9);
}

.floating-menu {
  position: absolute;
  bottom: 64px;
  inset-inline-start: 0;
  inset-inline-end: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-menu--open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-item {
  width: 46px;
  height: 46px;
  background: #fff;
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.floating-item--whatsapp { color: #25d366; }
.floating-item--phone { color: #3b82f6; }
.floating-item--email { color: #ea4335; }

@media (max-width: 767px) {
  .floating-btn {
    display: block;
  }
}

.floating-btn--desktop {
  display: block;
}
