.fab-contacts {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1050;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.fab-btn {
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: #202060;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(32, 32, 96, .35);
    cursor: pointer;
    transition: transform .2s ease;
    position: relative;
}
.fab-btn:hover { transform: scale(1.05); }
.fab-btn:focus { outline: none; }

.fab-btn__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    transition: opacity .25s ease, transform .3s ease;
}

/* Звичайний стан: трубка/повідомлення видно, хрестик схований */
.fab-btn__icon--open  { opacity: 1; transform: rotate(0) scale(1); }
.fab-btn__icon--close { opacity: 0; transform: rotate(-90deg) scale(.5); }

/* Активний стан: навпаки */
.fab-btn.is-active .fab-btn__icon--open  { opacity: 0; transform: rotate(90deg) scale(.5); }
.fab-btn.is-active .fab-btn__icon--close { opacity: 1; transform: rotate(0) scale(1); }

.fab-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: max-content;
    min-width: 220px;
    max-width: calc(100vw - 32px);
    padding: 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    font-size: 16px;
    line-height: 1.3;
}
.fab-menu[hidden] { display: none; }

.fab-menu__title {
    margin-bottom: 12px;
    font-weight: 700;
    color: #202060;
    text-align: center;
}

.fab-menu__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 600;
    color: #202060;
    text-decoration: none;
    white-space: nowrap;
}
.fab-menu__item:hover {
    background: #f0f0f7;
    color: #202060;
    text-decoration: none;
}
.fab-menu__item img { width: 24px; height: 24px; }

.fab-menu__city {
    flex: 0 0 80px;
    font-size: 14px;
    font-weight: 400;
    color: #888;
}

/* Меню з телефонами: місто над номером */
#fabMenuPhone .fab-menu__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 12px;
}

#fabMenuPhone .fab-menu__city {
    flex: none;
    font-size: 13px;
}