/* Mobile call bar, issue #15. Fixed position, no layout shift. */
.ec-callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 140;
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--dark-blue);
    box-shadow: 0 -2px 14px rgba(16, 24, 40, 0.22);
    animation: ec-callbar-in 200ms ease-out both;
}
.ec-callbar[hidden] { display: none; }
.ec-callbar__link {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: var(--radius);
    background: var(--green-text);
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
}
.ec-callbar__link:active, .ec-callbar__link:hover { background: #276b2b; }
.ec-callbar__close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius);
    background: transparent;
    color: var(--white);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.ec-callbar__close:hover { background: rgba(255, 255, 255, 0.12); }
.ec-callbar__link:focus-visible,
.ec-callbar__close:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
html.has-callbar { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
@keyframes ec-callbar-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (min-width: 901px) { .ec-callbar { display: none; } }
@media (prefers-reduced-motion: reduce) { .ec-callbar { animation: none; } }
@media print { .ec-callbar { display: none; } }
