.mortgage-help {
    background: rgba(224, 229, 237, 1);
}

.mortgage-help__wrapper {
    display: grid;
    grid-template-columns: minmax(0, 654px) minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.mortgage-help__title {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 53px;
    color: #1F4FCE;
    margin: 0;
}

.mortgage-help__description {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #1B1B1B;
    margin: 32px 0 0;
    max-width: 617px;
}

.mortgage-help__list {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 617px;
}

/* Строка макета — 26px (высота блока с маркером), поэтому шаг списка 42. */
.mortgage-help__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 26px;
}

.mortgage-help__bullet {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1F4FCE;
    margin-top: 7px;
}

.mortgage-help__item-text {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #1B1B1B;
}

/* ── ASIDE ───────────────────────────────────────────────── */

.mortgage-help__aside {
    padding-top: 138px;
}

.mortgage-help__banks {
    list-style: none;
    margin: 0 0 0 12px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.mortgage-help__bank {
    width: 152px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.mortgage-help__bank-logo {
    max-width: 136px;
    max-height: 45px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.mortgage-help__note {
    position: relative;
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #1F4FCE;
    text-align: center;
    margin: 52px 0 0;
    padding-top: 20px;
}

.mortgage-help__note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 13px;
    right: 13px;
    height: 1px;
    background: linear-gradient(90deg, rgba(31, 79, 206, 1) 0%, rgba(31, 79, 206, 0) 50%, rgba(31, 79, 206, 1) 100%);
}

.mortgage-help__btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.mortgage-help__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    min-height: 44px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(180deg, #4085D9 0%, #0C3E9A 100%);
    font-family: 'Manrope', 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.01em;
    color: rgba(255, 240, 240, 1);
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mortgage-help__btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    color: rgba(255, 240, 240, 1);
}

/* ---- TABLET (≤1024px) ---- */
@media (max-width: 1024px) {
    .mortgage-help__wrapper {
        grid-template-columns: 1fr minmax(0, 380px);
        gap: 24px;
    }

    .mortgage-help__title {
        font-size: 28px;
        line-height: 35px;
    }

    .mortgage-help__description {
        font-size: 16px;
        line-height: 24px;
        margin-top: 20px;
    }

    .mortgage-help__list {
        margin-top: 24px;
        gap: 12px;
    }

    .mortgage-help__bullet {
        width: 8px;
        height: 8px;
        margin-top: 6px;
    }

    .mortgage-help__item-text {
        font-size: 12px;
        line-height: 19px;
    }

    .mortgage-help__aside {
        padding-top: 90px;
    }

    .mortgage-help__banks {
        margin-left: 0;
        gap: 12px;
    }

    .mortgage-help__bank {
        width: auto;
        flex: 1 1 0;
        height: 76px;
    }

    .mortgage-help__bank-logo {
        max-width: 100%;
        max-height: 34px;
    }

    .mortgage-help__note {
        font-size: 16px;
        line-height: 22px;
        margin-top: 32px;
    }

    .mortgage-help__btn {
        font-size: 12px;
        min-height: 40px;
        padding: 8px 20px;
    }
}

/* ---- MOBILE (≤640px) ---- */
@media (max-width: 640px) {
    .mortgage-help,
    .mortgage-help * {
        text-align: left !important;
    }

    .mortgage-help__wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mortgage-help__title {
        font-size: 22px;
        line-height: 29px;
    }

    .mortgage-help__description {
        font-size: 14px;
        line-height: 20px;
        margin-top: 16px;
    }

    .mortgage-help__list {
        margin-top: 16px;
        gap: 10px;
    }

    .mortgage-help__aside {
        padding-top: 0;
    }

    .mortgage-help__banks {
        gap: 10px;
    }

    .mortgage-help__bank {
        height: 64px;
        border-radius: 8px;
    }

    .mortgage-help__bank-logo {
        max-height: 30px;
    }

    .mortgage-help__note {
        font-size: 14px;
        line-height: 20px;
        margin-top: 24px;
        text-align: center !important;
    }

    .mortgage-help__note::before {
        left: 0;
        right: 0;
    }

    .mortgage-help__btn-wrap {
        margin-top: 20px;
    }

    .mortgage-help__btn {
        width: 100%;
        text-align: center !important;
    }

    .mortgage-help__title br,
    .mortgage-help__description br,
    .mortgage-help__note br {
        display: none;
    }
}
