/* ===== Sticky Call Bar ===== */
.sticky-call {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column; /* stack text vertically */
    justify-content: center;
    align-items: center;
    padding: 1em;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: #f26522;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .18);
    z-index: 9999999999;
    transform: translateY(110%);
    transition: transform .25s ease;
    text-align: center;
}

/* show when scrolled down */
.sticky-call.is-visible {
    transform: translateY(0);
}

/* make the button text stack correctly */
.sticky-call .call-text {
    font-size: 14px;       /* smaller label */
    color: #fff;           /* white */
    line-height: 1.2;
    margin-bottom: 2px;
    font-weight: 500;
}

.sticky-call .call-number {
    font-size: 22px;       /* slightly smaller than before */
    color: #fff;        /* orange brand color */
    font-weight: 700;
    line-height: 1.2;
}

/* accessibility outline */
.sticky-call:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* hover/active states */
.sticky-call:hover,
.sticky-call:focus,
.sticky-call:active {
    color: #000 !important;
    text-decoration: none;
}

/* hide on desktop */
@media (min-width: 769px) {
    .sticky-call {
        display: none;
    }
}

/* admin bar fix */
body.admin-bar .sticky-call {
    bottom: 0;
}
