/* ===== ФУТЕР ===== */
.footer {
    background: #3E1A3E;
    padding: 64px 0 0 0;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-top {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* ===== КОЛОНКА С ЛОГОТИПОМ И СОЦСЕТЯМИ ===== */
.footer-logo-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex-shrink: 0;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-logo-icon {
    width: 60px;
    height: 60px;
    position: relative;
    overflow: hidden;
}

.footer-logo-icon svg {
    width: 100%;
    height: 100%;
}

.footer-logo-text {
    color: #EFEFEE;
    font-size: 20px;
    font-family: 'Berold', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 21px;
}

/* ===== СОЦИАЛЬНЫЕ ИКОНКИ (в колонке логотипа) ===== */
.footer-social {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.footer-social-link {
    width: 48px;
    height: 48px;
    padding: 5px;
    background: rgba(239, 239, 238, 0.10);
    border-radius: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    text-decoration: none;
    position: relative;
}

.footer-social-link:hover {
    background: linear-gradient(63deg, #3E1A3E 0%, #C200C2 100%);
}

.footer-social-link:hover .social-bg {
    fill: none;
}

.footer-social-link svg {
    width: 38px;
    height: 38px;
}

/* ===== КОЛОНКИ МЕНЮ ===== */
.footer-menu-wrapper {
    display: flex;
    gap: 32px;
    margin-left: auto;
}

.footer-menu-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-menu-divider {
    width: 1px;
    background: rgba(239, 239, 238, 0.50);
    align-self: stretch;
}

.footer-menu-link {
    color: #EFEFEE;
    font-size: 15px;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    text-decoration: none;
    transition: opacity 0.3s;
    white-space: nowrap;
}

a.footer-menu-link:hover {
    opacity: 0.7;
    color: #EFEFEE;
    text-decoration: none;
}

span.footer-menu-link {
    cursor: default;
}


.footer-contact-item {
	text-align:left;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 991px) {
    .footer {
        padding: 48px 0 48px 0;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .footer-logo-col {
        align-items: center;
        gap: 16px;
    }
    
    .footer-logo {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .footer-logo-icon {
        width: 71px;
        height: 71px;
    }
    
    .footer-logo-text {
        display: none;
    }
    
    .footer-social {
        margin-top: 0;
    }
    
    .footer-menu-wrapper {
        display: none;
    }
    
    .footer-bottom-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .footer-bottom-link {
        color: #EFEFEE;
        font-size: 13px;
        font-family: 'Manrope', sans-serif;
        font-weight: 300;
        text-decoration: none;
        transition: opacity 0.3s;
    }
    
    a.footer-bottom-link:hover {
        opacity: 0.7;
        color: #EFEFEE;
        text-decoration: none;
    }
    
    .footer-mob-decoration {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 134px;
        background: url('/local/templates/main/img/footer-mob-bg.svg') center/cover no-repeat;
        opacity: 0.3;
        z-index: 0;
    }
	
	.footer-contact-item {text-align:center !important;}
}



.footer-contact-item {
    display: block !important;
    width: 100% !important;
}

.footer-contact-item .footer-menu-link {
    display: inline !important;
    white-space: normal !important;
}



/* ===== ДЕСКТОП ===== */
@media (min-width: 992px) {
    .footer-bottom-mobile {
        display: none;
    }
    
    .footer-mob-decoration {
        display: none;
    }
}