.footer {
    padding-top: 32px;
    padding-bottom: 40px;
    background-color: rgba(60, 36, 21, 1);
}

.footer__main {
    display: flex;
    margin-bottom: 120px;
    gap: 278px;
}

.footer__main-left {
    display: flex;
    gap: 165px;
    align-items: flex-start;
}

.footer__top-btn {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: flex-end;    
    margin-right: 32px;
    gap: 12px;
    padding: 14px 24px;
    width: fit-content;
    background-color: rgba(96, 96, 96, 0.12);
    font-family: "Inter Tight", serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: rgba(255, 255, 255, 1);
    cursor: pointer;
    transition: background-color .3s ease-in-out;
}

.footer__top-btn:hover {
    background: rgba(96, 96, 96, .3);
}

.footer__main-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: space-between;
    min-height: 100%;
}

.footer__main-info-inner {
    display: flex;
    flex-direction: column;
}

.footer__phone a {
    margin-bottom: 12px;
    font-family: "Noto Serif Display", serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 52px;
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    transition: color .3s ease-in-out;
}

.footer__phone a:hover {
    color: rgba(245, 237, 224, 1);
}

.footer__phone {
    margin-bottom: 12px;
}

.footer__worktime {
    margin-bottom: 32px;
    font-family: "Inter Tight", serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: rgba(245, 237, 224, 1);
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer__social .telegramm {
    display: none;
}

.footer__social a {
    text-decoration: none;
}

.footer__social path {
    fill: #fff;
}

.footer__social g {
    transition: opacity .3s ease-in-out;
}

.footer__social a:hover g {
    opacity: 1;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__sign,
.footer__bottom a {
    font-family: "Inter Tight", serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    opacity: .5;
    transition: opacity .3s ease-in-out;
}

.footer__bottom a:hover {
    opacity: 1;
}

.itb-copyright svg path {
    fill: rgba(255, 255, 255, 1);
}

.footer__bottom .itb-copyright:hover {
    color: #fff;
}

.footer__main-addresses {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer__main-addresses-title {
    font-family: "Noto Serif Display", serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 40px;
    color: rgba(245, 237, 224, 1);
}

.footer__main-addresses ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__main-addresses ul li span {
    font-family: "Inter Tight", serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: rgba(245, 237, 224, 1);
}

.footer__main-addresses-list {
    display: flex;
    align-items: flex-start;
    gap: 77px;
    justify-content: space-between;
}

.footer__main-info img {
    width: 100%;
}

@media (max-width: 1700px) {
    .footer__main {
        justify-content: space-between;
        gap: 20px;
    }
}

@media (max-width: 1370px) {
    .footer__main-addresses-list {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 1300px) {
    .footer__main {
        flex-direction: column;
    }

    .footer__main-left {
        gap: 20px;
        justify-content: space-between;
    }
}

@media (max-width: 1024px) {
    .footer__bottom {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 991px) {
    .footer__main {
        flex-direction: column;
    }

    .footer__main-addresses-list {
        display: none;
    }

    .footer__main-addresses-list.show {
        display: flex;
    }

    .footer__main-addresses-title {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .footer__main-addresses-title::after {
        height: 24px;
        width: 24px;
        content: url('data:image/svg+xml;utf8, <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 10L12 14L8 10" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer__main {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer__main-left {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .footer {
        position: relative;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .footer__top-btn {
        position: absolute;
        margin: 0;
        top: 20px;
        right: 20px;
        padding: 9px 20px;
        font-size: 15px;
        line-height: 22px;
    }

    .footer__phone a {
        margin-bottom: 8px;
        font-size: 24px;
        line-height: 32px;
    }

    .footer__worktime {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 24px;
    }

    .footer__main-addresses-title {
        font-size: 24px;
        line-height: 32px;
    }

    .footer__main {
        margin-bottom: 40px;
    }

    .footer__main-addresses {
        gap: 24px;
    }

    .footer__main-addresses ul li span {
        font-size: 14px;
        line-height: 22px;
    }

    .footer__main-addresses ul {
        gap: 12px;
    }

    .footer__sign, .footer__bottom a {
        font-size: 14px;
        line-height: 20px;
    }
}