footer{
    padding: 80px 0;
    background: #F6EFE8;
}

.footer__top{
    display: flex;
    align-items: end;
    gap: 20px;
}

.footer__bottom{
    display: flex;
    align-items: start;
    gap: 20px;
    margin-top: 50px;
}

.footer__nav{
    width: calc(20% - 20px * 4 / 5);
}

.footer__title{
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: normal;
    color: #B81C22;
    padding-bottom: 11px;
    border-bottom: 1px solid #F6EFE8;
    margin-bottom: 10px;
}

.footer__link{
font-weight: 400;
font-size: 16px;
line-height: 200%;
letter-spacing: normal;
color: #1B1E49;
}

.footer__nav:has(.footer__title + .footer__title) .footer__title:nth-of-type(2){
    margin-top: 30px;
}

.footer__copy{
    background: #1B1E49;
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    line-height: 40px;
    letter-spacing: normal;
    text-align: center;
}

.footer__title a{
    color: #B81C22;
}

@media screen and (max-width: 991px) {
    footer{
        padding: 50px 0;
    }
    

    .footer__logo{
        max-width: 239px;
    }
    
    .footer__bottom{
        margin-top: 40px;
        flex-wrap: wrap;
    }
    
    .footer__nav{
        width: calc(50% - 20px * 1 / 2);
    }
    
    .footer__title{
        font-size: 16px;
    }
    
    .footer__link{
    font-size: 14px;
    }
    
    .footer__nav:has(.footer__title + .footer__title) .footer__title:nth-of-type(2){
        margin-top: 20px;
    }
    
    .footer__copy{
        font-size: 12px;
        line-height: 40px
    }

    .footer__nav:nth-last-of-type(1){
        width: 100%;
    }

    }
