/* Sticky Bottom Bar (mobile) */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: 60px;
  border-top: 1px solid var(--border-default);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(14, 11, 22, 0.92);
  padding-bottom: env(safe-area-inset-bottom);
}

.sticky-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  min-height: 48px;
}

.sticky-bar__call {
  color: var(--text-primary);
  background: transparent;
  border-right: 1px solid var(--border-divider);
}

.sticky-bar__whatsapp {
  color: var(--bg-primary);
  background: var(--gradient-gold);
  position: relative;
}

.sticky-bar__whatsapp .online-dot {
  background: var(--bg-primary);
  box-shadow: 0 0 6px rgba(14, 11, 22, 0.4);
  width: 7px;
  height: 7px;
}

.sticky-bar svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}

/* Floating CTA (desktop) */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: var(--z-floating);
  display: none;
  align-items: center;
  gap: var(--space-2);
  background: var(--gradient-gold);
  background-size: 200% auto;
  color: var(--bg-primary);
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: var(--border-radius-full);
  box-shadow: var(--shadow-cta);
  transition: background-position 0.5s ease,
              box-shadow 0.3s ease,
              opacity 0.3s ease,
              transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-cta:hover {
  background-position: right center;
  box-shadow: 0 8px 40px rgba(201, 169, 110, 0.35);
}

/* Pulse ring animation */
.floating-cta::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: var(--gradient-gold);
  opacity: 0;
  z-index: -1;
  animation: ctaPulse 2.5s infinite ease-out;
}

@keyframes ctaPulse {
  0% { opacity: 0.5; transform: scale(1); }
  70% { opacity: 0; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1.15); }
}

.floating-cta {
  position: fixed;
  overflow: visible;
}

.floating-cta svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

@media (max-width: 767px) {
  .sticky-bar {
    display: flex;
  }

  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }

  .floating-cta {
    display: none !important;
  }

}

@media (min-width: 768px) {
  .floating-cta {
    display: inline-flex;
  }
}
