/* ===== FOOTER — СОВРЕМЕННЫЙ СТИЛЬ ===== */
.footer {
    background: var(--dark);
    color: #f0f0f0;
    padding: 70px 0 30px;
    font-size: 15px;
    line-height: 1.6;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px;
}

/* Заголовки колонок */
.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #ffcc29;
    border-radius: 2px;
}

/* Списки меню */
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #ffcc29;
    transform: translateX(5px);
}

/* Логотип */
.logo-col .logo {
    margin-bottom: 25px;
}


/* Контакты */
.footer-contacts a {
    display: block;
    color: #ccc;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-contacts a i {
    width: 25px;
    color: #ffcc29;
    margin-right: 8px;
    transition: transform 0.2s ease;
}

.footer-contacts a:hover {
    color: #fff;
}

.footer-contacts a:hover i {
    transform: scale(1.1);
}
/* Адрес под логотипом */
.footer-address {
    color: #ccc;
    margin-top: 15px;
    font-style: normal;
    line-height: 1.6;
}

/* Контакты в колонке Тамос */
.footer-contact-info a {
    display: block;
    color: #ccc;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-contact-info a i {
    width: 25px;
    color: #ffcc29;
    margin-right: 8px;
    transition: transform 0.2s ease;
}

.footer-contact-info a:hover {
    color: #fff;
}

.footer-contact-info a:hover i {
    transform: scale(1.1);
}

/* Соцсети внутри колонки Тамос */
.footer-col .footer-social {
    margin-top: 20px;
}

.footer-col .footer-social a {
    color: #aaa;
    font-size: 18px;
    margin-right: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-col .footer-social a:hover {
    background: #ffcc29;
    color: var(--dark);
    transform: translateY(-3px);
}

/* Убираем старые соцсети из нижней части */
.footer-bottom .footer-social {
    display: none;
}

.footer-col.logo-col {

        display: flex;
        flex-direction: column;
        align-items: center;
}


        .footer .logo {
            display: flex;
            align-items: center;
            
        }
        .footer-logo-img {
            max-width: 110px;  /* фиксированная ширина */
            height: auto;       /* высота подстраивается пропорционально */
            display: block;
        }




/* Нижняя часть футера */
.footer-bottom {
    max-width: 1280px;
    margin: 40px auto 0;
    padding: 30px 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #aaa;
}

/* Иконки соцсетей */
.footer-social a {
    color: #aaa;
    font-size: 18px;
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: #ffcc29;
    color: var(--dark);
    transform: translateY(-3px);
}

/* Адаптив */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul li a:hover {
        transform: none;
    }

    .fb-widget {
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-contacts a i {
        width: auto;
        margin-right: 5px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-social a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 50px 0 20px;
    }

    .footer-container {
        padding: 0 20px;
        gap: 30px;
    }

    .footer-col h4 {
        font-size: 15px;
    }

    .footer-contacts a {
        font-size: 14px;
    }

    .fb-widget {
        padding: 15px;
    }
}