/* ==========================================================================
   Footer Styles
   ========================================================================== */

/* Сам футер теперь без контейнера, чтобы фон был на всю ширину */
.site-footer {
    background-color: #00C2C7;
    color: #ffffff;
    width: 100%;
}

/* Контейнер для контента (ограничивает ширину сетки) */
.site-footer .container {
    max-width: 1320px; /* Стандартная ширина Bootstrap 5, можете изменить */
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Сетка колонок с отступами сверху и снизу */
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
    gap: 30px;
    padding-top: 60px;
    padding-bottom: 40px;
}

/* --- Стили для контента колонок --- */
.site-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-footer a:hover {
    opacity: 0.8;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
}

/* Колонка 1 */
.footer-logo img {
    max-height: 60px;
    margin-bottom: 30px;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-socials a {
    font-size: 24px;
    display: flex;
    align-items: center;
}

.footer-requisites h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.footer-requisites p {
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.4;
    opacity: 0.9;
}

/* Колонки 2 и 3 */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-menu a {
    font-size: 16px;
}

/* Колонка 4 (Контакты) */
.footer-col--contacts {
    display: flex;
    flex-direction: column;
}

.footer-actions {
    margin-bottom: 30px;
}

/* Стилизуем новую кнопку, чтобы она вписалась в дизайн */
.footer-actions .btn.btn--little {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    background: #E6F9F9;
    color: #00C2C7;
    border: none;
    cursor: pointer;
}

.footer-contact-list {
    margin-bottom: 30px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
}

.footer-contact-item i {
    font-size: 20px;
    width: 30px;
    margin-right: 15px;
}

.footer-contact-item span {
    white-space: nowrap;
}

.footer-yandex {
    margin-bottom: 30px;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-legal a {
    font-size: 14px;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.9;
}

/* ==========================================================================
   Нижний блок с копирайтом (во всю ширину)
   ========================================================================== */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.05); /* Легкое затемнение для визуального разделения */
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 0;
    width: 100%;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #ffffff;
    opacity: 0.9;
}

/* ==========================================================================
   Адаптивность (Mobile & Tablet)
   ========================================================================== */

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding-top: 40px;
    }

    .footer-col--contacts {
        grid-column: span 2;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-actions {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-contact-list {
        width: 48%;
    }

    .footer-legal {
        width: 48%;
    }
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col--contacts {
        grid-column: span 1;
        flex-direction: column;
    }

    .footer-contact-list,
    .footer-legal {
        width: 100%;
    }

    .footer-title {
        margin-bottom: 15px;
        font-size: 18px;
    }

    .footer-bottom {
        text-align: center; /* Центрируем текст на мобильных */
    }
}
