/* ========== СОЦИАЛЬНАЯ БОКОВАЯ ПАНЕЛЬ ========== */
.social-sidebar {
    position: fixed;
    left: 0;
    top: 25%;
    transform: translateY(-50%);
    z-index: 150;
    display: flex;
    align-items: flex-start;
}

.social-sidebar-tab {
    background-color: #3c0000;
    color: #D8C3A5;
    padding: 24px 6px;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 900;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);
}

.social-sidebar-content {
    position: absolute;
    left: 0;
    top: -16px;
    margin-left: 20px;
    padding: 16px 16px 16px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0 24px 24px 0;
    box-shadow: 4px 0 24px -10px rgba(60, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateX(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.social-sidebar:hover .social-sidebar-content {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.social-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    transition: all 0.4s ease;
    width: 44px;
    height: 44px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: #3c0000;
}

.social-item:hover {
    width: 220px;
    transform: translateX(4px);
}

.social-item span {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.social-item:hover span {
    opacity: 1;
}

/* ========== ПРЕВЬЮ ФИЛИАЛОВ ========== */
.entrance-preview {
    position: absolute;
    top: 50%;
    left: 105%;
    transform: translateY(-50%) scale(0.9);
    width: 320px;
    height: 240px;
    background: #fff;
    border-radius: 2rem;
    padding: 8px;
    box-shadow: 0 25px 50px -12px rgba(60, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    border: 2px solid #fff;
}

.branch-card-addr:hover .entrance-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

@media (max-width: 1024px) {
    .entrance-preview {
        left: 0;
        top: 100%;
        transform: translateY(10px);
    }
}