.footer {
    margin-top: 90px;
    background: var(--sections-bg);
}
.footer_isDark{
    color: var(--text-light);
}

.footer-top {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}


.footer-middle {
    padding: 45px 0;
    border-bottom: 1px solid var(--border-color);
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    flex: none;
    width: calc((100% - 60px) / 4);
}

.footer-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.1;
    margin-bottom: 30px;
}

.footer-contact {
    margin-bottom: 20px;
    font-size: 15px;
}
.contacts-item{
    color: var(--text-main);
}
.footer_isDark .contacts-item{
    color: var(--text-light);
}
.contacts-item:hover{
    text-decoration: none;
}
.contacts-item svg {
    fill: var(--icons-gray-color);
}
.contacts-item:hover svg{
    fill: currentColor;
}

.footer-messagers {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    font-size: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-messagers__title {
    flex: 0 0 100%;
}

.footer-middle--second {
    display: flex;
    align-items: center;
    padding: 27px 0;
    border-bottom: 1px solid var(--border-color);
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-socials {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #7E7E7E;
}

.footer-socials svg {
    display: block;
    margin: 0;
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    line-height: 1.5;
    color: #7E7E7E;
}


.footer__meta {
    flex-grow: 1;
}

/*.footer--two .footer__subscribe-form {*/
/*    margin-bottom: 30px;*/
/*}*/

/*.footer--two .footer__subscribe-form form {*/
/*    background: #fff;*/
/*    border: 1px solid var(--border-color-dark);*/
/*    border-radius: var(--border-radius-little);*/
/*}*/

/*.footer--two .footer__subscribe-form form input[type=email] {*/
/*    background: transparent;*/
/*    border: none;*/
/*    height: 43px;*/
/*}*/

/*.footer--two .footer__subscribe-form form button[type=submit] {*/
/*    flex: 0 0 60px;*/
/*    border: none;*/
/*    padding: 0;*/
/*    width: 60px;*/
/*    height: 43px;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    text-align: center;*/
/*}*/

.footer--two .footer-messagers {
    padding: 0;
    background: transparent;
    margin-top: 40px;
    color: var(--text-gray-dark);
}

.footer--two .footer-middle {
    border: none;
}

.footer--two .footer-middle--second {
    padding: 0;
    border: none;
    position: relative;
    justify-content: center;
}

.footer--two .footer-middle--second::before {
    display: block;
    content: "";
    height: 1px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--border-color);
}

.footer--two .footer-socials {
    position: relative;
    z-index: 2;
    margin: 0;
    justify-content: center;
    background: var(--bg-gray);
    padding: 0 15px;
    color: var(--text-gray-dark);
}

.footer--two .footer-links {
    margin-top: 15px;
}

.footer--two .footer-bottom {
    padding-bottom: 45px;
}

.footer--two .dev {
    color: var(--text-gray-dark);
}

.footer--two .dev svg {
    height: 57px;
    width: 255px;
}

.footer--two .dev svg * {
    fill: var(--text-gray-dark);
}

.footer--three {
    background: #333;
    color: #fff;
}

.footer--three .footer__subscribe-form {
    margin-bottom: 30px;
}

.footer--three .footer__subscribe-form form {
    background: var(--text-gray-dark);
    border: 1px solid var(--text-gray-dark);
    border-radius: var(--border-radius-little);
}

.footer--three .footer__subscribe-form form input[type=email] {
    background: transparent;
    border: none;
    height: 43px;
}

.footer--three .footer__subscribe-form form button[type=submit] {
    flex: 0 0 60px;
    border: none;
    padding: 0;
    width: 60px;
    height: 43px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer--three .footer-middle {
    border-color: #474747;
}

.footer--three .footer-middle--second {
    display: flex;
    justify-content: space-between;
    color: #7E7E7E;
    border-bottom: none;
}

.footer--three .footer-socials {
    margin-left: 0;
    flex-wrap: wrap;
    row-gap: 25px;
}

.footer--three .footer-socials > span {
    flex: 0 0 100%;
}

.footer--three .footer-socials a {
    color: var(--text-gray-dark);
}

.footer--three .footer-messagers {
    padding: 0;
    background: transparent;
    justify-content: flex-end;
    row-gap: 25px;
    column-gap: 15px;
}

.footer--three .footer-messagers__title {
    text-align: right;
}

.footer--three .footer-messagers a {
    color: var(--text-gray-dark);
}

.footer--three .footer-messagers svg {
    width: 40px;
    height: 40px;
}

.footer--three .footer-bottom {
    padding-top: 15px;
}

.footer--three .footer-links {
    margin-top: 15px;
}

.copyright,
.dev {
    flex: 0 0 calc((100% - 60px) / 4);
}

.dev {
    display: flex;
    justify-content: flex-end;
}

@media screen and (max-width: 1200px){
    .footer-column{
        width: calc(50% - 10px);
    }
}
@media screen and (max-width: 768px){
    .footer-bottom{
        display: block;
    }
    .dev{
        margin-top: 1rem;
    }
}
@media (max-width: 576px) {
    .footer-column{
        width: 100%;
    }
}