/*
 * FAB stack (desktop/tablet) + mobile bottom bar (under 580px).
 * Loads site-wide.
 */

.floating-button-stack {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}
.floating-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    transition: all 0.2s;
}
.floating-button:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
.floating-button.phone { background: var(--green); }
.floating-button.whatsapp { background: var(--whatsapp); }
.floating-button.tooltip { position: relative; }
.floating-button.tooltip::before {
    content: attr(data-tip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--ink);
    color: white;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
    font-weight: 600;
}
.floating-button.tooltip:hover::before { opacity: 1; }

.mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--line);
    padding: 10px 14px;
    z-index: 90;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-bar .row { display: flex; gap: 8px; }
.mobile-bar a {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    font-family: var(--display);
    font-size: 13px;
    color: white;
    text-decoration: none;
}
.mobile-bar .call { background: var(--green); }
.mobile-bar .whats { background: var(--whatsapp); }

@media (max-width: 767px) {
    .fab { width: 50px; height: 50px; }
    .fab-stack { display: none; }
    .mobile-bar { display: none; }
}
