.call-block {
    margin-block: 1.25rem;
    padding: 1rem;
    border: 1px solid #c9d9ec;
    border-radius: .75rem;
    background: #f1f6fc;
    color: #132b46;
    text-align: center;
}

.call-block p {
    margin: 0 0 .75rem;
    font-weight: 600;
}

.call-block-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}

.call-block-actions a,
.mobile-call-bar a,
.mobile-call-bar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .4rem .75rem;
    border: 1px solid #21466c;
    border-radius: .45rem;
    background: #fff;
    color: #173b60;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
}

.call-block-actions .call-block-phone,
.mobile-call-bar a:first-child {
    background: #173b60;
    color: #fff;
}

.call-block-actions a:hover,
.mobile-call-bar a:hover {
    text-decoration: underline;
}

.call-block-actions a:focus-visible,
.mobile-call-bar :is(a, button):focus-visible {
    outline: 3px solid #326aa1;
    outline-offset: 2px;
}

.mobile-call-bar {
    display: none;
}

@media (max-width: 767px) {
    html:has(.mobile-call-bar:not([hidden])) {
        scroll-padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }

    .mobile-call-bar:not([hidden]) {
        position: sticky;
        bottom: 0;
        z-index: 1020;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.5fr) 44px;
        gap: 4px;
        /* Keep the lower-right launcher area available to floating chat. */
        margin-inline-end: calc(96px + env(safe-area-inset-right));
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
        border-radius: 0 .65rem 0 0;
        background: #f1f6fc;
        box-shadow: 0 -2px 12px #132b4626;
    }

    .mobile-call-bar a,
    .mobile-call-bar button {
        padding-inline: 0;
        font-size: .875rem;
    }
}
