.footer {
    background-color: var(--secondary-background-color);
    flex: 0 0 auto;
}

.footer__wrapper {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer__title {
    color: var(--third-text-color);
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 1px;
    margin: 0 0 30px;
    display: flex;
    align-items: center;
}
.footer__title i {
    display: none;
}
.footer__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__right-container {
    display: flex;
}

.footer__banner-link {
    display: block;
    border-radius: 5px;
    overflow: hidden;
    max-width: 129px;
    max-height: 40px;
}

.footer__banner-link:first-of-type {
    margin-right: 10px;
    margin-bottom: 10px;
}

.footer__item {
    display: flex;
    font-size: 14px;
    color: var(--third-text-color);
    font-weight: 400;
}

.footer__time {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.footer__time .footer__text {
    margin: 0;
}


.footer__phone {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.footer__phone .footer__text {
    margin: 0;
}

.footer__text {
    color: var(--third-text-color);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
}

.footer__text_form {
    font-style: italic;
}

.footer__link {
    color: var(--third-text-color);
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

.footer__link:hover {
    color: var(--accent-color);
}

.footer__title .i {
    font-size: 22px;
}

.footer__form-container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 0 8px;
    border-bottom: 1px solid var(--border-color);
}

.footer__input {
    display: block;
    flex: 1 1 auto;
    padding: 10px;
    margin: 0;
    border: none;
    outline: none;
}

.footer__button {
    display: block;
    width: 110px;
    height: 45px;
    background-color: var(--main-backgroun-color);
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 1px;
    border: none;
}

.footer__container {
    width: 100%;
    background-color: var(--main-backgroun-color);
}

.footer__dropdown {
    width: 80%;
    margin: 0 auto 80px;
}

.footer__dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 0 0 10px;
    transition: all 0.4s ease-in-out;
}

.footer__dropdown-btn .footer__title {
    margin: 0;
}

.footer__dropdown-btn_active {
    background-color: #e5e5e5;
    border-radius: 10px;
}

.footer__dropdown-btn_active .mdi {
    transform: rotate(180deg);
}

.footer__dropdown-items {
    padding: 0 15px;
    margin: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.footer__dropdown_hidden {
    display: none;
}

.footer__dropdown-items_hidden {
    height: 0 !important;
    visibility: hidden;
}

.footer__left {
    width: 30%;
    padding: 50px;
    background: var(--footer-accent-color);
}

.footer__banners {
    display: flex;
    flex-wrap: wrap;
}

.footer__banners-right {
    display: flex;
    flex-direction: column;
}

.footer__banner-right {
    margin: 0 5px 5px 0;
    border-radius: 5px;
    overflow: hidden;
    display: block;
}

.footer__banners {
    padding-top: 10px;
}

.footer__right {
    display: flex;
    width: 70%;
    flex-direction: column;
}

.footer__right-wrapper {
    display: flex;
    padding: 60px 0 60px 50px;
    width: 75%;
}

.footer__banners-right-wrapper {
    display: flex;
}

.footer__copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--secondary-text-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    border-top: 1px solid var(--secondary-border-color);
    padding: 35px 0;
    margin: 0px 50px;

}

.footer__logo {
    display: block;
    max-width: 100%;
    width: 215px;
    height: 43px;
    margin: 0 auto 10px;
}

.footer__logo img {
    width: 100%;
    height: 100%;
}

.footer__column {
    margin: 0 10px;
    width: 100%;
}

.footer__column_right {
    width: 25%;
    padding: 60px 50px 60px 0;
}

@media (max-width: 1699px) {
    .footer__right-container {
        flex-direction: column;
    }
    .footer__right-wrapper {
        padding-right: 50px;
        width: 100%;
    }
    .footer__column_right {
        width: 100%;
        padding: 0 50px 60px 50px;
        margin-left: 0;
    }
    .footer__items-wrapper {
        display: flex;
        margin-top: 10px;
        max-width: 700px;
        width: 100%;
        justify-content: space-between;
    }
    .footer__items-wrapper .footer__title {
        margin-bottom: 5px;
    }

}

@media (max-width: 991px) {
    .footer__wrapper {
        flex-direction: column;
    }
    .footer__left {
        width: 100%;
        background: none;
        padding-bottom: 0;
    }
    .footer__description {
        text-align: center;
    }
    .footer__banners {
        justify-content: center;
    }
    .footer__right-wrapper {
        flex-direction: column;
        padding: 0 50px;
    }
    .footer__right {
        width: 100%;
    }
    .footer__title i {
        display: block;
        transition: all 0.3s ease-in-out;
    }
    .footer__title {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
        cursor: pointer;
    }
    .footer__items {
        display: none;
    }
    .footer__items_last {
        display: block;
    }

    .footer__title_acitve i {
        transform: rotate(180deg);
    }
    .footer__banners-right-title {
        cursor: auto;
    }
}

@media (max-width: 767px) {

    .footer__items-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .footer__banners-right-title {
        justify-content: center;
    }
}
/* ===== MODERN FOOTER ===== */

.footer {
    background:
        linear-gradient(
            135deg,
            #fff7fb 0%,
            #f8f0ff 100%
        ) !important;

    border-top: 1px solid #f1ddea;
}

/* LEFT */

.footer__left {
    background:
        linear-gradient(
            135deg,
            #cf82b3 0%,
            #b890db 100%
        ) !important;

    border-radius: 0 28px 28px 0;
}

/* TITLES */

.footer__title {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: .3px !important;
}

.footer__right .footer__title,
.footer__column .footer__title {
    color: #76586d !important;
}

/* TEXT */

.footer__text {
    color: rgba(255,255,255,.92) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.footer__right .footer__text,
.footer__column .footer__text {
    color: #7b6675 !important;
}

/* LINKS */

.footer__link {
    color: #76586d !important;
    font-size: 13px !important;
    font-weight: 600 !important;

    transition: .2s ease;
}

.footer__link:hover {
    color: #cf82b3 !important;
    transform: translateX(2px);
}

/* RIGHT AREA */

.footer__right {
    background: transparent !important;
}

.footer__right-wrapper {
    padding-top: 70px !important;
}

/* COLUMNS */

.footer__column {
    position: relative;
}

.footer__column::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 5px;
    width: 1px;
    height: calc(100% - 10px);

    background:
        linear-gradient(
            to bottom,
            transparent,
            #edd7e6,
            transparent
        );
}

.footer__column:last-child::after {
    display: none;
}

/* COPYRIGHT */

.footer__copyright {
    border-top: 1px solid #edd7e6 !important;

    color: #8a7484 !important;

    font-size: 13px !important;

    padding: 28px 0 !important;
}

/* LOGO */

.footer__logo {
    filter:
        drop-shadow(0 8px 20px rgba(0,0,0,.08));
}

/* MOBILE */

@media (max-width: 991px) {

    .footer__left {
        border-radius: 0 !important;
        padding: 40px 30px 10px !important;
    }

    .footer__right-wrapper {
        padding: 40px 25px !important;
    }

    .footer__column {
        margin-bottom: 18px;
    }

    .footer__column::after {
        display: none;
    }

    .footer__title {
        padding: 12px 0;
    }

    .footer__items {
        padding-bottom: 10px;
    }

    .footer__copyright {
        margin: 0 25px !important;
    }
}