footer {
    background: #A8D29F;
    color: #233648;
    position: relative;
    margin-top: 100px;
}

footer:before{
    content:'';
    background: var(--theme-background-footer);
    background-size: cover;
    height: 85px;
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: -83px;
    z-index: -1;
}

footer a{
    color: #233648;
}

.footer-container{
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.footer-row {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    align-items: center;
}

.footer-logo {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: var(--gap);
}

.footer__menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 20px;
}

.footer__menu a {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    text-decoration: none;
}

.privacy-policy-link {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    color: #000;
}

.footer-contacts{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 5px;
}

.footer-phone{
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
    text-decoration: none;
}

.social-contacts{
    display: flex;
    gap: 10px;
}
.social-contacts a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: solid #233648 1px;
}
.social-contacts svg{
    fill: #233648;
    width: inherit;
    height: 20px;
}

.social-contacts a:hover{
    background: #233648;
}
.social-contacts a:hover svg{
    fill: #fff;
}

@media (min-width: 768px) {
    .footer-row{
        flex-direction: row;
    }
    .footer-contacts{
         width: 265px;
         min-width: 265px;
    }
    footer {
        margin-top: 160px;
    }
    footer:before{
        height: 150px;
        top: -148px;
    }
}

@media (min-width: 1024px) {
    .footer-logo{
        width: 590px;
    }

    .footer-row{
        align-items: normal;
    }
    .footer__menu li{
        flex: 1 0 46%;
    }
}


input[type=text],
textarea {
    background-color: #F9F9F9;
    border-radius: 18px 18px 18px 18px;
    width: 100%;
    max-width: 100%;
    border: 1px solid #69727d;
    padding: 10px;
}