/* ──────────────────────────────────────────────────────────────
   5D — Shared mobile sticky CTA
   --------------------------------------------------------------
   A small floating bar that appears at the bottom of the
   viewport on phones only (≤ 720px), with a primary action
   button. Auto-hides on scroll-up at the top of the page.
   ────────────────────────────────────────────────────────── */

.sticky-cta {
  display: none;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 16px;
  z-index: 90;
  padding: 12px 14px 12px 18px;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'Alexandria', sans-serif;
  color: #fff;
  transform: translateY(120%);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}
.sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
}
.sticky-cta .sc-label {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}
.sticky-cta .sc-label b {
  display: block;
  font-weight: 500;
  font-size: 13.5px;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 1px;
}
.sticky-cta .sc-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(74, 215, 145, 0.85);
  background: rgba(74, 215, 145, 0.16);
  color: #fff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(74, 215, 145, 0.18);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.sticky-cta .sc-btn::after {
  content: '→';
  font-size: 14px;
  line-height: 1;
}
.sticky-cta .sc-btn:active {
  background: rgba(74, 215, 145, 0.28);
}

@media (max-width: 720px) {
  .sticky-cta {
    display: flex;
  }
  /* Lift footer / content above the sticky bar to avoid overlap */
  body {
    padding-bottom: 96px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}
