.footer{
    margin-top: 60px;
    background-color: var(--dark-blue);
    padding-top: 55px;
    padding-bottom: 24px;
}

.footer-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 3px  solid var(--orange);
    padding-bottom: 38px;
    margin-bottom: 19px
}

.footer-box .footer-box__item:nth-child(1){
    margin-top: -24px;
}

.footer-box .footer-box__item:nth-child(3){
    margin-right: 15px;
    max-width: 236px;
}

.footer-box__logo{
    display: block;
    width: clamp(9rem, 18.6vw + 2rem, 14.75rem);
    height: clamp(4.313rem, 9vw + 0.95rem, 7.125rem);
    margin-bottom: 60px;
}

.footer-box__details{
    margin-bottom: 24px;
}

.footer-box__detail{
    max-width: 252px;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.35;
    color: var(--white);
}

.footer-box__not-a-public-offer{
    max-width: 252px;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.33;
    color: var(--grey);
}

.footer-box__nav li{
    margin-bottom: 17.7px;
}

.footer-box__nav .footer-box__link{
    max-width: 140px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--white);
    transition: .3s;
}

.footer-box__title{
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-box__service-nav li{
    margin-bottom: 12.2px;
}

.footer-box__service-nav .footer-box__link{
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    color: var(--white);
    transition: .3s;
}

.phone-numbers--footer{
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 26px;
}

.footer-box__info{
    max-width: 277px;
    margin-bottom: 36px;
}

.info__item{
    margin-bottom: 8px;
}

.footer-box__info .info__item:nth-child(1){
    display: flex;
    gap: 10px;
}

.footer-box__info .info__item:nth-child(1)::before{
    content: '';
    display: block;
    background-image: url(../images/footer/location.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 20px;
    height: 20px;
}

.footer-box__info .info__item:nth-child(2){
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-box__info .info__item:nth-child(2)::before{
    content: '';
    display: block;
    background-image: url(../images/footer/email.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 20px;
    height: 20px;
}

.footer-box__info .info__item:nth-child(3){
    display: flex;
    align-items:center ;
    gap: 6px;
}

.footer-box__info .info__item:nth-child(3)::before{
    content: '';
    display: block;
    background-image: url(../images/footer/hours.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 20px;
    height: 20px;
}

.info__address{
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    color: var(--white);
}

.info__mail{
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    color: var(--white);
    transition: .3s;
}

.info__work-time{
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    color: var(--white);
}

.social-footer{
    display: flex;
    gap: 20px;
    transition: .3s;
}

.footer__box-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__item-bottom{
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    color: var(--white);
}

.footer__item-bottom::before{
    content: '';
    display: flex;
    background-image: url(../images/footer/copyright.svg);
    width: 23px;
    height: 23px;
}

.footer__item-bottom span{
    color: var(--orange);
}

.footer__map,
.footer__policy{
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    color: var(--white);
    transition: .3s;
}

.footer__map{
    padding-right: 14px;
}

.footer__policy{
    border-left: 3px solid var(--orange);
    padding-left: 17px;
}

.footer-box__item--mobi{
    display: none;
}

.footer-box__nav--mobi{
    display: none;
}

.footer-box__service-nav--mobi{
    display: none;
}

.footer-box__item-mobi{
    display: none;
}

.footer__policy-moby{
    display: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    color: var(--white);
}

@media(hover: hover){
    .footer-box__nav .footer-box__link:hover{
        opacity: 0.7;
    }

    .footer-box__service-nav .footer-box__link:hover{
        opacity: 0.7;
    }

    .info__mail:hover{
        opacity: 0.7;
    }

    .footer__map:hover,
    .footer__policy:hover{
        opacity: 0.7;
    }
}

@media(max-width: 1000px){
    .container--footer{
        max-width: 800px;
    }

    .footer-box .footer-box__item:nth-child(3) {
        margin-right: 0;
    }
}

@media(max-width: 720px){
    .container--footer{
        max-width: 600px;
    }

    .footer-box{
        row-gap: 20px;
    }

    .footer__box-bottom {
        padding-top: 24px;
        margin-bottom: 8px;
        flex-direction: row-reverse;
    }

    .footer__policy{
        display: none;
    }

    .footer__policy-moby{
        display: block;
    }
}

@media(max-width: 580px){
    .footer {
        margin-top: 48px;
        padding-top: 52px;
        padding-bottom: 31px;
    }

    .footer-box {
        border-bottom: 2px solid var(--orange);
        padding-bottom: 0px;
        margin-bottom: 26px;
    }

    .footer-box__logo {
        margin-bottom: 6px;
    }

    .social-footer{
        display: none;
    }

    .social--mobi-footer{
        padding-top: 4px;
    }

    .phone-numbers--footer {
        margin-bottom: 18px;
    }

    .footer-box__info {
        max-width: 300px;
        margin-bottom: 24px;
    }

    .footer-box__info .info__item:nth-child(1) {
        padding-left: 4px;
        gap: 15px;
    }

    .footer-box__info .info__item:nth-child(2) {
        gap: 12px;
    }

    .footer-box__info .info__item:nth-child(3) {
        gap: 12px;
    }
    

    .footer-box .footer-box__item:nth-child(2),
    .footer-box .footer-box__item:nth-child(3){
        display: none;
    }

    .footer-box__item--mobi{
        display: block;
    }

    .footer-box__details{
        display: none;
    }

    .footer-box__not-a-public-offer{
        display: none;
    }

    .footer-box__info .info__item:nth-child(1)::before,
    .footer-box__info .info__item:nth-child(2)::before,
    .footer-box__info .info__item:nth-child(3)::before{
        width: 28px;
        height: 28px;
    }

    .footer-box__item-mobi-flex{
        display: flex;
        justify-content: space-between;
        gap: 19px;
        padding-bottom: 2px;
        border-bottom: 2px solid var(--orange);
        margin-bottom: 24px;
    }

    .footer-box__nav--mobi{
        display: block;
        flex-basis: 200px;
    }
    
    .footer-box__service-nav--mobi{
        display: block;
    }

    .footer-box__title {
        margin-bottom: 12px;
    }

    .footer-box__service-nav li {
        margin-bottom: 20.4px;
    }

    .footer-box__item-mobi{
        border-bottom: 2px solid var(--orange);
        padding-bottom: 22px;
    }

    .footer-box__item-mobi .footer-box__details{
        display: block;
        margin-bottom: 8px;
    }

    .footer-box__item-mobi .footer-box__details .footer-box__detail{
        font-size: 14px;
    }

    .footer-box__item-mobi .footer-box__not-a-public-offer{
        display: block;
        font-size: 14px;
        line-height: 1.28;
        max-width: none;
    }

    .footer-box__item-mobi{
        display: block;
    }
}