.home-contact-fab {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 1200;
    display: flex;
    width: 44px;
    flex-direction: column;
    gap: 1px;
    padding: 0;
    border: 1px solid #d8e2e5;
    border-right: 0;
    border-radius: 0;
    background: #f4f9fa;
    box-shadow: 0 5px 18px rgba(15, 47, 58, 0.14);
    font-family: inherit;
    transform: translateY(-50%);
    transition: width 0.25s ease, box-shadow 0.25s ease;
}

.home-contact-fab:hover,
.home-contact-fab:focus-within {
    width: 190px;
    box-shadow: 0 8px 24px rgba(15, 47, 58, 0.2);
}

.home-contact-fab-link {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    gap: 12px;
    padding: 7px 10px;
    overflow: hidden;
    color: #145a6c;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, min-height 0.25s ease;
}

.home-contact-fab-link + .home-contact-fab-link {
    border-top: 1px solid rgba(20, 90, 108, 0.1);
}

.home-contact-fab-link img {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    object-fit: contain;
}

.home-contact-fab-link span {
    min-width: 0;
    overflow: hidden;
    color: #525354;
    font-size: 12px;
    line-height: 1.3;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.15s ease;
}

.home-contact-fab:hover .home-contact-fab-link span,
.home-contact-fab:focus-within .home-contact-fab-link span {
    opacity: 1;
    transition-delay: 0.08s;
}

.home-contact-fab-header {
    min-height: 40px;
    background: #f4f9fa;
    color: #1a120b;
}

.home-contact-fab-header span {
    color: #1a120b;
}

.home-contact-fab-header:hover,
.home-contact-fab-header:focus-visible {
    min-height: 48px;
    background: #ffa800;
}

.home-contact-fab-link:not(.home-contact-fab-header):hover,
.home-contact-fab-link:not(.home-contact-fab-header):focus-visible {
    background: #ffa800;
    color: #12333b;
}

.home-contact-fab-link:not(.home-contact-fab-header):hover span,
.home-contact-fab-link:not(.home-contact-fab-header):focus-visible span {
    color: #12333b;
}

.home-contact-fab-link:focus-visible {
    outline: 2px solid #145a6c;
    outline-offset: -2px;
}

@media (max-width: 600px) {
    .home-contact-fab {
        width: 42px;
    }

    .home-contact-fab:hover,
    .home-contact-fab:focus-within {
        width: min(190px, calc(100vw - 16px));
    }

    .home-contact-fab-link {
        min-height: 38px;
    }
}
