.bone + .footer {
    margin-top: 0;
}
.quest + .footer {
    margin-top: 0;
}

.footer {
    width: 100%;
    background: #546F4F;
    position: relative;
}
.footer .row {
    display: flex;
    flex-flow: row wrap;
}
.footer__top {
    width: calc(100% - 140px);
    padding: 26px 0;
    position: relative;
    z-index: 2;
    margin: 0 70px;
}
.footer__top .row {
    margin: auto;
    padding: 0;
}
.footer__logo {
    float: left;
    width: 218px;
    height: auto;
    margin-top: 25px;
}
.footer__logo img {
    display: block;
    width: 100%;
    height: auto;
}
.footer__lang {
    float: right;
    margin: 18px 0 auto 22px;
    position: relative;
    z-index: 5;
}
.footer__lang.open > a {
    border-radius: 22px 22px 0 0;
}
.footer__lang.open a::after {
    transform: scale(1, -1);
}
.footer__lang.open ul {
    visibility: visible;
    opacity: 1;
    margin: 0;
}
.footer__lang > a {
    display: flex;
    width: auto;
    height: 46px;
    min-width: 140px;
    line-height: 44px;
    padding: 0 21px;
    border-radius: 30px;
    border: 1px solid #F7ECEB;
    font-size: 13px;
    font-weight: 400;
    color: #F7ECEB;
    cursor: pointer;
    text-transform: uppercase;
    justify-content: center;
    transition: border-radius .3s;
}
.footer__lang > a::after {
    content: "";
    float: right;
    margin: auto 0 auto 6px;
    width: 20px;
    height: 20px;
    background: url(../img/arrow_light.svg) center/contain no-repeat;
    transition: transform 0.5s;
    background-size: 12px;
}
.footer__lang ul {
    position: absolute;
    width: 100%;
    height: auto;
    max-height: 250px;
    border-radius: 0 0 12px 12px;
    background: rgba(0, 0, 0, 0.2);
    left: 0;
    top: 100%;
    padding: 5px 0;
    visibility: hidden;
    opacity: 0;
    transition: margin 0.3s, visibility 0.3s, opacity 0.3s;
}
.footer__lang ul li {
    display: block;
}
.footer__lang ul li a {
    display: block;
    padding: 5px 28px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
    color: #F7ECEB;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.3s;
}
.footer__lang ul li a:hover {
    color: rgba(255, 255, 255, 0.7);
}
.footer__lang ul li.active {
    display: none;
}
.footer__email {
    float: right;
    margin: 25px 0 auto auto;
}
.footer__email a {
    display: block;
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    transition: opacity .3s;
}
.footer__base {
    width: calc(100% - 140px);
    border-top: 1px solid rgba(247, 236, 235, 0.2);
    padding: 46px 0 24px;
    position: relative;
    z-index: 2;
    margin: 0 70px;
}
.footer__base .row {
    padding: 0;
}
.footer__about {
    float: left;
    width: 20%;
    padding-right: 35px;
    color: #F7ECEB;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}
.footer__about h3 {
    display: block;
    color: #F7ECEB;
    font-size: 18px;
    font-weight: 600;
    line-height: 120%;
    margin: 0 0 22px;
}
.footer__about p {
    display: block;
    margin-top: 20px;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    color: #fff;
}
.footer__about p + p {
    margin-top: 15px;
}
.footer__product {
    float: left;
    width: 60%;
    flex-direction: column;
    justify-content: flex-start;
    display: flex;
}
.footer__product h3 {
    display: block;
    font-family: "Montserrat", sans-serif;
    color: #F7ECEB;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    margin-bottom: 25px;
    margin-top: 0;
}
.footer__product ul {
    display: flex;
    padding-left: 0;
    flex-direction: column;
    flex-wrap: wrap;
    column-gap: 35px;
    align-content: flex-start;
    align-items: flex-start;
    margin: -9px 0 0 0;
    max-height: 120px;
    width: 100%;
}
.footer__product ul li {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    padding: 7px 0;
}
.footer__product ul li a {
    color: #F7ECEB;
    padding-right: 10px;
    transition: opacity .3s;
}
.footer__product-item {
    float: left;
    padding-right: 10px;
    padding-bottom: 40px;
    break-inside: avoid-column;
}
.footer__product-item h3 {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 110%;
    color: #fff;
    margin-top: 48px;
}
.footer__product-item h3:first-child {
    margin: 0;
}
.footer__product-item h3 a {
    color: #fff;
}
.footer__product-item ul {
    display: block;
    margin-top: 20px;
}
.footer__product-item ul li {
    display: block;
    margin-top: 5px;
}
.footer__product-item ul li:first-child {
    margin: 0;
}
.footer__product-item ul li a {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    transition: color 0.3s;
}
.footer__contact {
    float: left;
    width: 20%;
    padding-right: 35px;
}
.footer__contact h3{
    display: block;
    font-family: "Montserrat", sans-serif;
    color: #F7ECEB;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    margin-bottom: 22px;
    margin-top: 0;
}
.footer__contact div {
    display: flex;
    flex-direction: column;
}
.footer__contact div a {
    color: #F7ECEB;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    white-space: nowrap;
    margin-bottom: 26px;
    transition: opacity .3s;
}
.footer__contact div a:last-child {
    margin-bottom: 0;
}
.footer__contact div a b {
    font-weight: 700;
}
.footer__contact ul {
    display: flex;
    width: 100%;
    flex-flow: row wrap;
    margin-top: 9px;
}
.footer__contact ul li {
    float: left;
    width: 50%;
    margin-top: 11px;
}
.footer__contact ul li a {
    display: flex;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    transition: opacity 0.3s;
}
.footer__contact ul li a img {
    margin: auto 5px auto 0;
}
.footer__bottom {
    width: calc(100% - 140px);
    display: flex;
    position: relative;
    z-index: 1;
    margin: 0 70px;
}
.footer__bottom .row {
    justify-content: space-between;
    padding: 0 0 20px;
}
.footer__bottom-column {
    display: flex;
    flex-direction: column;
    gap: 15px
}
.footer__bottom-column a, .footer__bottom-column p {
    color: #F7ECEB;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    transition: opacity .3s;
}
.footer__bottom-column p {
    margin-top: auto;
    margin-bottom: 0;
}
.footer__bottom-column-top {
    display: none
}

@media screen and (min-width: 1024px) and (max-width: 1240px) {
    .footer__product {
        flex-wrap: wrap;
    }


    .footer__product {
        justify-content: flex-start;
    }
    .footer__product-item {
        padding-right: 25px;
    }
}

@media screen and (min-width: 1024px) {
    .footer__lang ul li:hover {
        color: rgba(255, 255, 255, 0.7);
    }
    .footer__lang ul li.active {
        display: none;
    }
    .footer__product-item ul li a:hover {
        color: #F18A00;
    }
    .footer__contact ul li a:hover {
        opacity: 0.7;
    }
    .footer__email a:hover {
        opacity: 0.7;
    }
    .footer__contact-item a:hover {
        opacity: 0.7;
    }
    .footer__product ul li a:hover {
        opacity: 0.7;
    }
    .footer__bottom-column a:hover {
        opacity: 0.7;
    }
}

@media screen and (max-width: 1023px) {
    .footer .row {
        padding: 0 20px;
        flex-direction: column;
    }
    .footer__top {
        width: 100%;
        padding: 36px 0;
        height: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0;
    }
    .footer__lang > a {
        display: none;
    }
    .footer__product {
        width: 100%;
    }
    .footer__product ul li {
        height: 40px;
    }
    .footer__email {
        display: none;
    }
    .footer__base {
        padding: 35px 0;
        margin: 0 20px;
        width: calc(100% - 40px);
    }
    .footer__base .row {
        padding: 0;
        display: flex;
        flex-flow: row;
    }
    .footer__product ul {
        max-height: 150px;
    }
    .footer__lang {
        margin: 20px 0;
    }
    .footer__about {
        display: none;
    }
    .footer__contact {
        width: 40%;
    }
    .footer__contact div {
        margin: 0;
    }
    .footer__contact div p {
        text-align: left;
        color: #F7ECEB;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 120%;
        margin: 0;
    }
    .footer__contact ul li {
        padding: 0 10px;
    }
    .footer__contact ul li a {
        justify-content: flex-end;
    }
    .footer__contact ul li:nth-child(2n) a {
        justify-content: flex-start;
    }
    .footer__logo {
        width: 100%;
        margin-top: 0;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(247, 236, 235, 0.20);
    }
    .footer__logo img {
        width: 182px;
    }
    .footer__lang ul {
        visibility: visible !important;
        opacity: 1 !important;
        background: none;
        display: flex;
        margin: auto;
        justify-content: left;
    }
    .footer__lang ul li.active {
        display: block;
    }
    .footer__lang ul li.active a {
        opacity: .6;
    }
    .footer__lang ul li a {
        opacity: 1;
        padding: 5px 30px 5px 0;
    }
    .footer__lang ul li:last-child a {
        padding-right: 0;
    }
    .footer__contact .footer__contact-item {
        width: 50%;
        display: flex;
        flex-direction: column;
    }
    .footer__bottom {
        margin: 0;
        width: 100%;
        text-align: center;
        border-top: 1px solid rgba(247, 236, 235, 0.2);
        padding: 30px 0;
    }
    .footer__bottom-column {
        align-items: start;
    }
    .footer__bottom-column p {
        margin-top: 0;
    }
    .footer__bottom-column-top {
        display: flex
    }
}

@media screen and (max-width: 767px) {
    .footer__logo img {
        margin: auto;
    }
    .footer__lang ul {
        justify-content: center;
    }
    .footer__base .row {
        flex-direction: column;
        gap: 35px;
    }
    .footer__contact {
        width: 100%;
        padding-right: 0;
    }
    .footer__contact .footer__contact-item {
        align-items: center;
        width: 100%
    }
    .footer__contact h3, .footer__product h3 {
        text-align: center;
    }
    .footer__bottom-column {
        align-items: center;
    }
    .footer__product ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 16px;
        max-height: none;
        margin: 0;
        justify-content: center;
    }
    .footer__product ul li {
        text-align: center;
        padding: 0;
    }
    .footer__product ul li a {
        display: block;
        color: #F7ECEB;
        transition: opacity 0.3s;
    }
}

@media screen and (max-width: 425px) {
    .footer {
        background-size: auto 125px;
    }
}