.footer {
    color: #281D18;
    background: #FFFEF9;
    border-top: 1px solid rgba(40,29,24,0.1);
}

.footer__main {
    display: flex;
    justify-content: space-between;
    gap: 100px;
    margin-bottom: 25px;
}

.footer__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer__logo {
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding-top: 60px;
    padding-left: 30px;
}

.footer__logo-text {
    display: inline-block;
    color: #281D18;
    font-size: 48px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 10px;
    margin: 40px 0;
    opacity: 1;
    overflow: hidden;
    transition: all 0.6s ease;
}

.footer__contacts {
    padding-left: 20px;
}

.footer__lang {
    position: relative;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.footer__lang-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.footer__lang-label {
    cursor: pointer;
}

.footer__lang-options {
    width: 230px;
    position: absolute;
    top: 70px;
    left: 0;
    border: 1px solid rgba(40, 28, 24, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    z-index: 2;
    pointer-events: none;
    transition: all .4s ease;
}

.footer__lang-options--active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.footer__lang-option {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    color: #281D18;
    background: #FFFEF9;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all .4s ease;
}

.footer__lang-option:hover {
    background: #F4F3EE;
}

.footer__phones {
    margin-bottom: 35px;
}

.footer__phones-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer__phones__items {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(40,29,24,0.5);
    font-size: 22px;
    font-weight: 500;
}

.footer__phones__items a {
    color: rgba(40,29,24,1);
    text-decoration: none;
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer__socials a {
    color: #281D18;
    font-size: 14px;
    text-decoration: none;
}

.footer__link {
    position: relative;
}

.footer__link:after {
    content: '';
    height: 1px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.4s ease;
}

.footer__link:hover:after {
    transform: scaleX(1);
}

.footer__menus {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px 0;
    padding-top: 120px;
    padding-right: 70px;
}

.footer__menu--mobile {
    display: none;
}

.footer__menu-title, .footer__subscribe-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer__menu-title-arrow {
    display: none;
}

.footer__menu-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    list-style-type: none;
}

.footer__menu-list a {
    color: #281D18;
    font-size: 12px;
    text-decoration: none;
    opacity: 0.7;
}

.footer__subscribe--mobile {
    display: none;
}

.footer__subscribe-title {
    margin-bottom: 14px;
}

.footer__subscribe-btn {
    width: 205px;
    height: 45px;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid #281D18;
    background: transparent;
    cursor: pointer;
}

.footer__subscribe-btn:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #281D18;
    transform: scaleX(0);
    transform-origin: left;
    z-index: 0;
    transition: all 0.4s ease;
}

.footer__subscribe-btn:hover:after {
    transform: scaleX(1);
}

.footer__subscribe-btn span {
    position: relative;
    color: #281D18;
    z-index: 1;
    transition: all 0.4s ease;
}

.footer__subscribe-btn:hover span {
    color: #FFFEF9;
}

.footer__warn {
    max-width: 245px;
    display: block;
    font-size: 12px;
    font-weight: 300;
    margin-top: 20px;
    opacity: 0.5;
}

.footer__warn--mobile {
    display: none;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
    padding: 20px;
}

.footer__csg {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    color: rgba(40,29,24,0.5);
    font-size: 12px;
    font-weight: 300;
    text-decoration: none;
}

.footer__info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.footer__docs {
    display: flex;
    gap: 40px;
}

.footer__docs a {
    color: rgba(40,29,24,0.7);
    font-size: 12px;
    font-weight: 300;
    text-decoration: none;
}

.footer__copyright {
    display: flex;
    gap: 5px;
    color: rgba(40,29,24,0.7);
    font-size: 12px;
    font-weight: 300;
}

.footer__copyright a {
    color: rgba(40,29,24,0.7);
    text-decoration: none;
}

@media (max-width: 1380px) {
    .footer__main {
        flex-direction: column;
    }

    .footer__menus {
        padding: 0 20px;
    }

    .footer__csg span {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer__main {
        gap: 33px;
        margin-bottom: 5px;
    }

    .footer__logo {
        flex-direction: column-reverse;
        padding: 12px 15px 0;
    }

    .footer__logo svg {
        width: 100%;
        height: auto;
    }

    .footer__logo svg path {
        fill: #B49D93;
    }

    .footer__logo-text {
        font-size: 14px;
        letter-spacing: 5px;
        margin: 0 auto 40px;
    }

    .footer__subscribe--mobile {
        display: block;
    }

    .footer__contacts {
        padding: 0 15px;
    }

    .footer__contacts-group {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .footer__lang {
        margin-bottom: 35px;
    }

    .footer__lang-title {
        font-weight: 500;
    }

    .footer__lang-options {
        top: 65px;
        left: auto;
        right: 0;
    }

    .footer__phones-title {
        font-weight: 400;
    }

    .footer__phones__items {
        font-size: 16px;
        font-weight: 400;
    }

    .footer__socials {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer__menus {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
        padding: 0 15px;
    }

    .footer__menu {
        border-bottom: 1px solid rgba(40,29,24,0.1);
        padding: 17px 0;
    }

    .footer__menu--mobile {
        display: block;
    }
    
    .footer__menu-list {
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s ease;
    }

    .footer__menu--is-open .footer__menu-list {
        padding-top: 17px;
    }

    .footer__menu--is-open .footer__menu-title-arrow {
        transform: rotate(90deg);
    }

    .footer__menu-title, .footer__subscribe-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 400;
    }

    .footer__menu-title {
        cursor: pointer;
        margin-bottom: 0;
    }

    .footer__menu-title-arrow {
        display: block;
        transition: all 0.4s ease;
    }

    .footer__subscribe {
        padding: 45px 15px 50px;
    }

    .footer__subscribe--desktop {
        display: none;
    }

    .footer__subscribe-title {
        justify-content: center;
        margin-bottom: 15px;
    }

    .footer__subscribe-btn {
        width: 100%;
        height: 40px;
        font-size: 12px;
        font-weight: 400;
    }

    .footer__warn {
        max-width: 250px;
        margin-top: 35px;
    }

    .footer__warn--desktop {
        display: none;
    }

    .footer__warn--mobile {
        display: block;
    }

    .footer__bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 25px;
        padding: 25px 15px;
    }

    .footer__csg img {
        width: 105px;
        height: auto;
    }

    .footer__info {
        align-items: flex-start;
        gap: 15px;
    }

    .footer__docs {
        display: none;
    }

    .footer__copyright {
        max-width: 350px;
        flex-wrap: wrap;
    }
}