/* Стили для футера */
.footer {
    background-color: #f9f9f9;
    padding: 40px 0;
    margin-top: 40px;
}

.footer .container {
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
}

.footer__middle {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer__info p {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer__phone {
    font-size: 20px;
    color: #333;
    text-decoration: none;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.footer__phone:hover {
    color: #FF6B00;
}

.footer__documents {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.footer__documents a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer__documents a:hover {
    color: #FF6B00;
    border-bottom-color: #FF6B00;
}

/* Оранжевый цвет для всего текста футера */
.footer, .footer * {
    color: #FF8800 !important;
}

/* Одинаковый размер шрифта для всех элементов футера на мобильных устройствах */
@media (max-width: 600px) {
    .footer, .footer * {
        font-size: 16px !important;
    }
    .footer__middle {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 0 !important;
    }
    .footer__info, .footer__right {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left !important;
        width: auto;
        margin-bottom: 0 !important;
        padding: 0 !important;
        gap: 6px;
    }
    .footer__info {
        gap: 6px;
    }
    .footer__right {
        margin-top: 10px;
    }
    .footer__contacts {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        margin-left: 6px;
    }
    .footer__contacts > div {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin-bottom: 0 !important;
        width: auto;
        padding: 0 !important;
        gap: 0px;
    }
    .footer__contacts > div > svg,
    .footer__contacts > div > a {
        display: inline-block;
        vertical-align: middle;
        text-align: left;
        margin: 0 !important;
        padding: 0 !important;
    }
    .footer__right a {
        width: auto;
        text-align: left;
        display: block;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    
    .footer__middle {
        flex-direction: column;
        gap: 6px;
    }
    
    .footer__right {
        align-items: flex-start;
    }
    
    .footer__documents {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .footer__documents a {
        margin-right: 20px;
    }
}

/* Выровнять иконки и текст по центру в футере */
.footer__contacts > div {
    display: flex;
    align-items: center;
    gap: 8px;
}