/* — Sticky mobile booking bar, shared by every layout through
      _LayoutFloatingButtons (the partial renders the markup AND ships this
      stylesheet plus its toggle script). Mobile-only: slides up after the
      first scroll; while shown it replaces the floating corner chrome
      (body.mobile-bar-shown) so only one CTA surface is on screen. — */
.mobile-booking-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1040;
    display: none;
    gap: .6rem;
    align-items: stretch;
    padding: .6rem .8rem;
    padding-bottom: calc(.6rem + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -4px 16px rgba(27, 27, 41, .14);
    transform: translateY(120%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s ease
}

.mobile-bar-whatsapp {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 12px;
    padding: 12px;
    text-decoration: none
}

.mobile-bar-call {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    background: linear-gradient(135deg, #3d8bfd 0%, #2b6fd6 100%);
    color: #fff;
    border-radius: 12px;
    text-decoration: none
}

@media (max-width: 767.98px) {
    .mobile-booking-bar {
        display: flex
    }

    .mobile-booking-bar.is-visible {
        transform: translateY(0);
        visibility: visible
    }

    /* The bar replaces the corner chrome while it is on screen — both the
       design layouts' shared .floating-chrome buttons and the legacy
       layout's own .floating-left/.floating-right pair. Desktop is
       untouched. */
    body.mobile-bar-shown .floating-chrome,
    body.mobile-bar-shown .floating-left,
    body.mobile-bar-shown .floating-right {
        display: none !important
    }

    /* The fixed bar would sit over the footer's last lines (copyright and
       the developer signature) once the page is scrolled to the bottom —
       reserve room inside the footer itself so they clear it. The three
       selectors cover the legacy partial footer and each design layout's
       own footer element. */
    body.mobile-bar-shown .footer_section,
    body.mobile-bar-shown .footer-elite,
    body.mobile-bar-shown footer.bg-dark.text-white {
        padding-bottom: calc(84px + env(safe-area-inset-bottom))
    }

    /* Belt and suspenders for the developer signature itself: the legacy
       footer ends with the attribution paragraph. While the bar is on
       screen it gets its own clearance inside the reserved footer space,
       so it can never sit under the bar even if other styles squeeze the
       footer padding. No display/visibility change — the signature stays
       rendered exactly as it is. */
    body.mobile-bar-shown .footer_section .Linkedin {
        padding-bottom: calc(24px + env(safe-area-inset-bottom))
    }
}
