.scroll-top {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 99;
}

.scroll-top:hover {
    background: #43a047;
    transform: scale(1.1);
}

.scroll-top.active {
    display: flex;
}

.scroll-top.telegram-btn {
    display: flex;
    bottom: 2rem;
}

.ipoteka-footer {
    /* font-family: "Squad", sans-serif; */
    background-color: #f8f9fa;
    padding: 0;
    color: #333;
    border-top: 1px solid #e9ecef;
}

/* .ipoteka-footer * { */
/* box-sizing: border-box; */
/* margin: 0; */
/* padding: 0; */
/* } */
.ipoteka-footer__container {
    width: 100%;
    margin: 0 auto;
}

.ipoteka-footer hr {
    x-sizing: border-box;
    margin-bottom: 0;
    padding: 0;
}

.ipoteka-footer__top {
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #e9ecef;
    background-color: #E3E8F1;
}

.ipoteka-footer__contacts {
    display: flex;
    gap: 36px;
    align-items: flex-start;
}

.ipoteka-footer__contact-item {
    display: flex;
    flex-direction: column;
}

.ipoteka-footer__contact-item strong {
    font-size: 16px;
    font-weight: 700;
    color: #151617;
    /* font-family: "Squad", sans-serif; */
}

.ipoteka-footer__contact-item strong a {
    color: #151617;
    text-decoration: none;
}

.ipoteka-footer__contact-item strong a:hover {
    text-decoration: underline;
}

.ipoteka-footer__contact-item span {
    font-size: 14px;
    color: #7D828B;
    font-weight: 400;
    /* font-family: "Squad", sans-serif; */
}

.ipoteka-footer__social {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: end;
}

.ipoteka-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.ipoteka-footer__social-link img {}

.mobile-app-download {
    display: none;
}






.ipoteka-footer__nav {
    padding: 28px 0 20px 0;
    background-color: #ECEFF6;
}

@media (max-width: 1440px) {
    .ipoteka-footer__contacts {
        gap: 32px;
    }
}

@media (max-width: 1350px) {
    .ipoteka-footer__top {
        padding: 20px 0 20px 0;
    }

    .ipoteka-footer__contacts {
        gap: 20px;
    }
}

.horizontal-line {
    padding-left: 80px;
    padding-right: 80px;
    background-color: #ECEFF6;
}

.horizontal-line hr {
    border-top: 1px solid #D0D8E8;
}

.ipoteka-footer__bottom {
    border-top: 1px solid #e9ecef;
    padding: 24px 0 20px 0;
    background-color: #ECEFF6;
}

.ipoteka-footer__copyright {
    width: 100%;
    text-align: left;
}

.ipotek-footer__logo {
    text-align: right;
}

.ipotek-footer__logo img {
    display: inline-block;
}

.ipoteka-footer__copyright p {
    color: #7D828B;
    font-size: 14px;
    font-weight: 400;
}

.ipoteka-footer__copyright a {
    color: #7D828B;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

.ipoteka-footer__copyright a:hover {
    text-decoration: underline;
}



@media (max-width: 1200px) {
    .ipoteka-footer__top {
        flex-direction: column;
        gap: 30px;
    }

    .ipoteka-footer__contacts {
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .ipoteka-footer {}

    .ipoteka-footer__contacts {
        flex-direction: column;
        gap: 20px;
    }

    .ipoteka-footer__bottom {
        text-align: center;
    }

    .ipoteka-footer__copyright {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ipoteka-footer {}

    .ipoteka-footer__top {
        padding: 20px;
    }

    .ipoteka-footer__logo img {
        max-width: 150px;
    }

    .ipoteka-footer__social {
        gap: 12px;
    }

    .ipoteka-footer__social-link {
        width: 40px;
        height: 40px;
    }

    .ipoteka-footer__nav {
        padding: 24px 0 0 0;
    }

    .ipoteka-footer__bottom {
        padding: 24px 0 28px 0;
    }

    .ipoteka-footer__copyright {
        text-align: left;
    }

    /* скрываем UL по умолчанию */
    .ipoteka-footer__nav-list {
        display: none;
    }

    /* при наведении/тапе на колонку — возвращаем flex-верстку списка */
    .ipoteka-footer__nav-column:hover .ipoteka-footer__nav-list {
        display: flex;
    }

    .ipoteka-footer__nav-title {
        position: relative;
        padding-right: 24px;
        cursor: pointer;
    }

    h3.ipoteka-footer__nav-title::after {
        display: block;
        content: '';
        position: absolute;
        top: 50%;
        right: 0;
        width: 16px;
        height: 16px;
        transform: translateY(-50%);
        background: url('/upload/footer_images/arrow_down.svg') no-repeat center center;
        background-size: contain;
        transition: transform .2s ease;
    }

    .mobile-app-download {
        display: block;
        padding: 28px 16px 0px 16px;
        background: #ECEFF6;
        display: grid;
        gap: 16px;
    }

    .mobile-app-download__cabinet-btn {
        display: inline-flex;
        /* флекс-контейнер для выравнивания иконки и текста */
        align-items: center;
        /* по вертикали */
        background-color: #ffffff;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 600;
        color: #293244;
        width: 161px;
        height: 36px;
        justify-content: space-evenly;
    }

    .mobile-app-download__cabinet-btn:hover {
        color: #293244;
    }

    .mobile-app-download__title {
        font-size: 14px;
        color: #7D828B;
    }

    .mobile-app-download__stores {
        display: flex;
        gap: 24px;
    }
}