@media (max-width: 1240px) {

    section.how-it-works ul li {
        padding: 30px 24px;
    }

    section.for-loan .for-loan__wrapper {
        flex-direction: column-reverse;
        align-items: center;
    }

    section.for-loan ul {
        gap: 24px;
        margin-top: 0;
    }

    section.for-loan .phone-img {
        margin: 0;
    }

    section.for-loan ul li {
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    footer .footer__wrapper {
        flex-direction: column;
        align-items: center;
    }

    footer .footer__wrapper .footer__wrapper__item > img {
        margin-inline: auto;
    }

    footer .text {
        text-align: center;
    }

    footer .footer__wrapper .footer__wrapper__item {
        align-items: center;
    }

    footer {
        padding: 0 0 64px 0;
    }

    footer .footer__wrapper .footer-info-wrapper {
        align-items: center;
    }

    footer .all-rights.mobile {
        display: block;
        margin: 40px auto 0 auto;
        text-align: center;
    }

    footer .footer__wrapper .all-rights.desk {
        display: none;
    }

    section.how-it-works ul {
        flex-direction: column;
        align-items: center;
    }

    section.how-it-works ul li {
        margin-top: 0 !important;
    }

    .first-screen__wrapper {
        flex-direction: column;
        align-items: center;
    }

    .first-screen .percent-rate {
        position: initial;
        max-width: 412px;
        width: 100%;
        margin-bottom: 16px;
    }

    .first-screen .percent-rate .wrapper {
        max-width: 205px;
        margin: 0 auto;
    }

    .first-screen {
        padding-top: 0;
    }

    h1 {
        text-align: center;
    }

    .first-screen__wrapper .subtitle {
        text-align: center;
    }
}

@media (max-width: 700px) {
    section.always-work .always-work__wrapper {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    section.always-work h2 {
        text-align: center;
    }
}

@media (max-width: 500px) {
    section.first-screen {
        background: url("../img/first-screen-bg-mobile.png") no-repeat left;
        background-size: cover;
    }

    body {
        background: #FFFFFF;
    }

    h2 {
        font-size: 32px;
    }

    section.always-work {
        padding-bottom: 64px;
    }

    section.for-loan .phone-img {
        width: 100%;
    }

    header {
        margin-bottom: -72px;
        position: relative;
        z-index: 10;
    }

    header a img {
        margin-top: 12px;
    }

    section.how-it-works {
        padding-top: 64px;
    }

    footer .footer__wrapper .footer__wrapper__item {
        gap: 16px !important;
    }

    .container {
        padding: 0 12px;
    }

    section.always-work .always-work__wrapper img {
        width: 64px;
    }

    h1 {
        font-size: 54px;
    }

    footer .footer__wrapper {
        gap: 40px;
    }

    footer .footer__wrapper .footer-info-wrapper {
        gap: 8px;
    }

    .calculator h4 {
        font-size: 20px;
    }

    section.for-loan .icon-wrapper {
        width: 72px;
        height: 72px;
    }

    section.for-loan .icon-wrapper img {
        transform: scale(.7);
    }

    section.for-loan h5 {
        font-size: 16px;
    }

    footer {
        background: url("../img/footer-bg-mobile.png") no-repeat center right;
        background-size: cover;
    }

    section.for-loan {
        background: url("../img/for-load-bg-mobile.png") no-repeat;
        background-size: cover;
    }

    .first-screen {
        padding-top: 72px;
        padding-bottom: 64px;
    }

    section.how-it-works ul {
        margin-top: 48px;
    }

    section.how-it-works {
        padding-bottom: 64px;
    }

    .calculator {
        padding: 30px 24px;
    }

    header .header__wrapper {
        height: 72px;
    }

    header .header__wrapper > img {
        width: 114px;
    }

    .enter-btn {
        height: 48px;
        position: relative;
        z-index: 10;
    }
}