/**
 * Sticky mobile CTA bar.
 *
 * Fixed bottom bar, mobile only (md+ hidden). Slides up after scrolling
 * past the hero. When visible, the WhatsApp float shifts up so the two
 * never overlap. Theme: navy bar, gold button.
 */

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    transform: translateY(110%);
    transition: transform 0.35s ease;
    padding-bottom: env(safe-area-inset-bottom);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #0f172a;
    border-top: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: 0 -8px 24px -8px rgba(0, 0, 0, 0.35);
    padding: 0.8rem 1rem;
}

/* Desktop: never show */
@media (min-width: 768px) {
    .sticky-cta {
        display: none;
    }
}

/* Lift the WhatsApp button above the bar while it is visible (mobile only —
   the bar itself is display:none on desktop, so the button must not move there) */
@media (max-width: 767px) {
    body.has-sticky-cta .whatsapp-float {
        bottom: 5.5rem;
    }
}

@media (max-width: 640px) {
    body.has-sticky-cta .whatsapp-float {
        bottom: 5rem;
    }
}
