/* общие */
*:not(footer svg) {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.l-clear {
    clear: both;
}

.button {
    background: var(--main-color);
    border: 1px solid var(--main-color);
}

.no-touchevents .button:hover {
    color: var(--main-color);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid var(--main-color);
}

/* end общие */

/* sections common */

section.mortgage-section {
    margin: 60px 0;
    padding: 0;
    overflow: hidden;
}

.mortgage-block__title {
    font: 600 21px/130% var(--title-font);
}

@media screen and (min-width: 600px) {
    section.mortgage-section {
        margin: 80px 0;
    }

    .mortgage-block__title {
        font-size: 26px;
    }
}

@media screen and (min-width: 1000px) {
    section.mortgage-section {
        margin: 120px 0;
    }

    .mortgage-block__title {
        font-size: 30px;
    }
}

/* end sections common */

/* section mortgage-title-section */
section.mortgage-title-section {
    margin: 50px 0 30px 0;
}

.mortgage-title-section .mortgage-title {
    font: 600 26px/130% var(--title-font);
    color: var(--text-color);
}

.mortgage-title-section .mortgage-subtitle {
    margin-top: 19px;
    font: 500 14px/130% var(--title-font);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--text-color);
}

@media screen and (min-width: 600px) {
    section.mortgage-title-section {
        margin: 49px 0 40px;
    }

    .mortgage-title-section .mortgage-title {
        max-width: 500px;
        font-size: 36px;
    }

    .mortgage-title-section .mortgage-subtitle {
        margin-top: 21px;
        font-size: 16px;
        letter-spacing: 1.6px;
    }
}

@media screen and (min-width: 1100px) {
    section.mortgage-title-section {
        margin: 71px 0 59px;
    }

    .mortgage-title-section .mortgage-subtitle {
        margin-top: 20px;
    }

    .mortgage-title-section .mortgage-title {
        max-width: 800px;
        font-size: 60px;
    }
}

/* end section mortgage-title-section */

/* mortgage-hot-offer */

.mortgage-hot-offer {
    padding: 0 !important;
}

/* section mortgage-for-constraction */

.mortgage-for-constraction {}


.mortgage-for-constraction__title {
    /*font: 600 21px/130% var(--title-font);*/
    color: var(--title-color);
    letter-spacing: normal;
}

.mortgage-for-constraction__container {
    margin-top: 29px;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mortgage-for-constraction__item {
    padding: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    background: var(--block-background);
    border-radius: 16px;
}

.mortgage-for-constraction__item .item__icon {
    width: 30px;
    height: 30px;
    margin-bottom: 20px;
}

.mortgage-for-constraction__item .item__title {
    font: 600 14px/130% var(--title-font);
    color: var(--title-color);
}

.mortgage-for-constraction__item .item__text {
    font: 400 12px/150% var(--text-font);
    color: var(--dark-grey-color);
    margin-top: 6px;
}

@media screen and (min-width: 600px) {
    .mortgage-for-constraction__container {
        margin-top: 39px;
        gap: 31px 30px;
    }

    .mortgage-for-constraction__item {
        padding: 30px;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        gap: 30px;
    }

    .mortgage-for-constraction__item .item__title {
        font-size: 16px;
    }

    .mortgage-for-constraction__item .item__text {
        margin-top: 10px;
        max-width: 180px;
        font-size: 14px;
    }
}

@media screen and (min-width: 1100px) {
    .mortgage-for-constraction__container {
        -ms-grid-columns: (1fr)[4];
        grid-template-columns: repeat(4, 1fr);
    }

    .mortgage-for-constraction__container {
        margin-top: 40px;
    }

    .mortgage-for-constraction__item {
        padding: 40px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 40px;
    }

    .mortgage-for-constraction__item .item__icon {
        width: 40px;
        height: 40px;
        margin: 0;
    }

    .mortgage-for-constraction__item .item__title {
        font-size: 21px;
    }

    .mortgage-for-constraction__item .item__title.custom-width {
        max-width: 150px;
    }

    .mortgage-for-constraction__item .item__text {
        margin-top: 13px;
        max-width: 200px;
        font-size: 16px;
    }
}

/* end section mortgage-for-constraction */

/* section mortgage-personal-manager */

.mortgage-personal-manager__title {
    color: var(--text-color);
}

.mortgage-personal-manager__title_red {
    color: var(--main-color);
}


.mortgage-personal-manager__link {
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px solid var(--main-color);
    font: normal 500 14px/17px var(--text-font);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--title-color);
    margin-top: 11px;
}

.mortgage-personal-manager .carousel-container {
    padding-top: 30px;
}

.mortgage-personal-manager .carousel .owl-item {
    max-width: 280px;
}

.mortgage-personal-manager .carousel-container .owl-item img {
    width: auto;
    max-height: 40px;
}

.mortgage-personal-manager-item__title {
    padding-top: 21px;
    font: 600 16px/130% var(--title-font);
    color: var(--dark-grey-color);
}

.mortgage-personal-manager-item__text {
    padding-top: 14px;
    font: 400 16px/150% var(--text-font);
    color: var(--dark-grey-color);
}

.mortgage-personal-manager-item__link {
    margin-top: 18px;
    margin-left: auto;
    position: relative;
    display: block;
    height: 50px;
    width: 50px;
    background-color: var(--background);
    border-radius: 50%;
}

.mortgage-personal-manager-item__link svg {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.mortgage-personal-manager__item {
    background: var(--block-background);
    border-radius: 16px;
}

.mortgage-personal-manager__item {
    padding: 30px;
}

.mortgage-personal-manager .carousel .item {
    margin-right: 0;
}

.mortgage-personal-manager .carousel-container .owl-stage {
    padding-top: 0;
}


.mortgage-personal-manager .carousel-container .owl-stage-outer {
    overflow: visible;
}

@media screen and (min-width:600px) {
    .mortgage-personal-manager__title {
        max-width: 500px;
        padding-top: 1px;
    }

    .mortgage-personal-manager .carousel-container {
        padding-top: 40px;
    }

    .mortgage-personal-manager-item__title {
        padding-top: 24px;
    }
}

@media screen and (min-width:1224px) {
    section.mortgage-personal-manager {
        background: transparent;
        margin-top: 69px;
    }

    .mortgage-personal-manager__text-container {
        margin-left: 0;
        width: calc(100% - 724px);
    }

    .mortgage-personal-manager .desk-block {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        width: 654px;
    }

    .mortgage-personal-manager__title {
        width: 92%;
        font-size: 30px;
    }

    .mortgage-personal-manager__text {
        width: 98%;
        font: normal 400 16px/24px var(--text-font);
        padding-top: 28px;
    }

    .mortgage-personal-manager-item__text {
        font: normal 400 14px/24px var(--text-font);
    }

    .mortgage-personal-manager .mortgage-personal-manager__text-container {
        padding-top: 40px;
    }

    .mortgage-personal-manager__link {
        margin-top: 20px;
    }

    .mortgage-personal-manager .carousel .owl-item {
        max-width: 420px;
    }

    .mortgage-personal-manager__item {
        padding: 40px;
        height: 100%;
        max-height: 274px;
    }

    .mortgage-personal-manager-item__title {
        padding-top: 33px;
        font-size: 18px;
    }

    .mortgage-personal-manager-item__text {
        padding-top: 20px;
        font-size: 16px;
    }

    .mortgage-personal-manager .carousel-container .owl-stage .owl-item:last-child .mortgage-personal-manager-item__title {
        max-width: 290px;
    }

    .mortgage-personal-manager-item__link {
        margin-top: -16px;
        height: 60px;
        width: 60px;
    }
}

@media screen and (max-width:1223px) {

    .mortgage-personal-manager .l-r,
    .mortgage-personal-manager .l-l {
        width: 100%;
        float: unset;
        margin-bottom: 0;
    }
}

@media screen and (max-width:639px) {
    .mortgage-personal-manager {
        margin-top: 44px;
        padding-top: 30px;
    }

    .mortgage-personal-manager__text {
        width: 88%;
    }

    .mortgage-personal-manager {
        padding-bottom: 15px;
    }
}

/* end section mortgage-personal-manager */

/* section benefit-projects */

.mortgage-section.benefit-projects-section {
    margin: 0 0 60px 0;
}

@media screen and (min-width: 600px) {
    .mortgage-section.benefit-projects-section {
        margin: 0 0 70px 0;
    }
}

/* end section benefit-projects */

/* section mortgage-faq */
.mortgage-faq {
    padding-top: 50px;
}

section.mortgage-faq .wrapper {
    width: 100%;
}

.mortgage-faq .faq-questions__wrapper .item {
    border-top: 1px solid var(--line-color);
    padding-left: 15px;
    padding-right: 15px;
}

.mortgage-faq .faq-questions__wrapper .item:last-child {
    border-bottom: 1px solid var(--line-color);
}

.mortgage-faq__title {
    margin-left: 15px;
    padding-bottom: 30px;
}

.mortgage-faq__faq-question-text {
    width: 85%;
    font: normal 500 16px/150% var(--text-font);
    color: var(--title-color);
    padding: 29.5px 0;
}

.mortgage-faq__faq-answer {
    font: normal 400 14px/150% var(--text-font);
    color: var(--text-color);
    padding: 2px 0 28px;
}

.mortgage-faq__faq-answer-wrapper {
    display: none;
}

.mortgage-faq .arrow {
    display: inline-block;
    cursor: pointer;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    margin-right: 5px;
}

.mortgage-faq .arrow span {
    display: block;
    width: 16px;
    height: 2px;
    background-color: var(--dark-grey-color);
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: opacity 0.1s ease 0.1s, -webkit-transform 0.2s;
    transition: opacity 0.1s ease 0.1s, -webkit-transform 0.2s;
    -o-transition: transform 0.2s, opacity 0.1s ease 0.1s;
    transition: transform 0.2s, opacity 0.1s ease 0.1s;
    transition: transform 0.2s, opacity 0.1s ease 0.1s, -webkit-transform 0.2s;
    opacity: 1;
}

.mortgage-faq .arrow span:nth-child(1) {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    position: relative;
    top: 2px;
}

.mortgage-faq .active .arrow span {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.active .arrow span:nth-child(2) {
    opacity: 0;
    -webkit-transform: rotate(90deg) translate(-1.5px, 0px);
    -ms-transform: rotate(90deg) translate(-1.5px, 0px);
    transform: rotate(90deg) translate(-1.5px, 0px);
}

.mortgage-faq__faq-question {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    cursor: pointer;
}

@media screen and (min-width:768px) {
    section.mortgage-faq .wrapper {
        width: calc(100% - 60px);
    }

    .mortgage-faq__title {
        margin-left: 0;
        padding-top: 2px;
        padding-bottom: 38px;
    }

    .mortgage-faq .arrow {
        margin-right: 15px;
    }

    .mortgage-faq__faq-question-text {
        width: 92%;
    }
}

@media screen and (min-width: 1224px) {
    section.mortgage-faq .wrapper {
        width: calc(100% - 48px);
    }

    .mortgage-faq__title {
        padding-top: 6px;
        padding-bottom: 40px;
    }

    .mortgage-faq__faq-question-text {
        font-size: 20px;
    }

    .mortgage-faq__faq-answer {
        font-size: 18px;
    }
}

/* end section mortgage-faq */

/* section exposition */

.exposition {
    padding-top: 50px;
    padding-bottom: 0;
}

.exposition .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.exposition__title {
    font: normal 600 21px/32px var(--title-font);
    color: var(--title-color);
}

.exposition__text {
    width: 98%;
    font: normal 400 14px/22px var(--text-font);
    color: var(--dark-grey-color);
    padding-top: 19px;
}

.exposition__link {
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px solid var(--main-color);
    font: normal 500 14px/17px var(--text-font);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--title-color);
    margin-top: 29px;
}

.exposition .l-r {
    float: right;
    width: 51.5%;
    margin-bottom: 0;
}

.exposition .l-l {
    min-height: 208px;
    float: left;
    width: calc(48.5% - 30px);
    border: 1px solid #9D9D9D;
    border-radius: 4px;
    padding: 2.9% 2.6% 2.9%;
    margin-right: 30px;
    margin-bottom: 0;
}

.exposition__img-wrapper {
    background-image: url("/ipoteka_doma/img/exposition.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
    border-radius: 4px;
}

@media screen and (min-width:1224px) {
    .exposition {
        padding-top: 100px;
    }

    .exposition .l-l {
        width: 554px;
        padding: 5.1% 5% 2.9% 5.9%;
    }

    .exposition .l-r {
        width: calc(100% - 584px);
    }

    .exposition__img-wrapper {
        padding-top: 370px;
    }

    .exposition__title {
        font: normal 600 30px/50px var(--title-font);
        color: var(--title-color);
    }

    .exposition__text {
        font: normal 400 16px/24px var(--text-font);
        color: var(--dark-grey-color);
        padding-top: 29px;
    }

    .exposition__link {
        font: normal 500 14px/17px var(--text-font);
        margin-top: 20px;
    }
}

@media screen and (max-width:767px) {
    .exposition .l-r {
        width: 100%;
        float: none;
    }

    .exposition .l-l {
        width: 100%;
        padding: 20px 9px 28px;
        float: none;
        min-height: auto;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .exposition .wrapper {
        display: block;
    }

    .exposition__img-wrapper {
        padding-top: 50.9%;
    }
}

/* end section exposition */

/* bank-popup */

.popup.bank-popup.active {
    position: fixed;
    z-index: 11000;
    left: 0;
    top: 0;
    height: 100vh;
    opacity: 1;
    pointer-events: auto;
}

.popup.bank-popup .inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: initial;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 77px 15px 100px;
}

.popup.bank-popup .inner::-webkit-scrollbar {
    width: 0;
}

.popup.bank-popup .close {
    width: 14px;
    height: 14px;
    position: absolute;
    top: 33px;
    right: 23px;
    z-index: 13000;
}

.popup.bank-popup .close .line {
    position: absolute;
    height: 2px;
    width: 14px;
    background-color: var(--dark-grey-color);
    left: 0;
    right: 0;
    margin: 0 auto;
    -o-transition: all .3s;
    transition: all .3s;
    top: 6px;
    -webkit-transition: all .3s;
}

.popup.bank-popup .close .line._line1 {
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.popup.bank-popup .close .line._line2 {
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.bank-popup-item {
    text-align: center;
}

.bank-popup-item__title {
    font: normal 600 16px/24px var(--title-font);
    color: var(--text-color);
}

.bank-popup-item__text {
    width: 60%;
    font: normal 400 10px/16px var(--text-font);
    color: var(--text-color);
    padding-top: 5px;
    margin: auto;
    margin-bottom: 30px;
}

.bank-item__block-wrapper {
    background: var(--background);
    border-radius: 6px;
    text-align: left;
    padding: 20px;
    margin-bottom: 20px;
}

.bank-popup .h5 {
    width: 90%;
    font: normal 600 14px/22px var(--title-font);
    color: var(--text-color);
    margin-bottom: 12px;
    text-transform: none;
}

.bank-item__block-wrapper li {
    position: relative;
    font: normal 400 14px/22px var(--text-font);
    color: var(--text-color);
    padding-left: 12px;
}

.bank-item__block-wrapper li:not(.bank-item__block-wrapper li:first-child) {
    margin-top: 5px;
}

.bank-item__block-wrapper li:before {
    position: absolute;
    content: '•';
    left: -1px;
    top: 0;
    color: var(--dark-grey-color);
}

.bank-popup .bank-item__additionally {
    width: 100%;
    font: normal 500 14px/22px var(--text-font);
    color: var(--text-color);
    margin-bottom: 0;
    text-align: center;
}

.application-btn {
    max-width: 290px;
    display: block;
    background-color: var(--main-color);
    color: var(--background);
    outline: 1px solid var(--main-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    text-align: center;
    white-space: nowrap;
    border-radius: 30px;
    outline-offset: 10px;
    font: 500 14px / 130% var(--text-font);
    letter-spacing: .1em;
    padding: 16px 65px 15px 63px;
    text-transform: uppercase;
    text-align: center;
    margin: auto;
    margin-top: 50px;
}

.application-btn:hover {
    outline: 1px solid transparent;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.bank-item__hide {
    display: none;
}

@media screen and (min-width:768px) {
    .popup.bank-popup .close {
        top: 53px;
        right: 53px;
    }

    .bank-popup-item__text {
        width: 36%;
    }

    .popup.bank-popup .inner {
        margin: auto;
        padding: 77px 100px 100px;
    }

    .bank-item__block-wrapper {
        padding: 20px 40px;
    }

}

/* end bank-popup */


.popup.hot-offer-popup .overflow {
    height: 100vh;
}

.popup.hot-offer-popup.active {
    position: fixed;
    background: #F8F8F8;
    z-index: 11000;
    left: 0;
    top: 0;
    height: 100vh;
    opacity: 1;
    pointer-events: auto;
}

.popup.hot-offer-popup .inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: initial;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 40px 15px 100px;
}

.popup.hot-offer-popup .inner::-webkit-scrollbar {
    width: 0;
}

.popup.hot-offer-popup .close {
    width: 18px;
    height: 18px;
    position: absolute;
    top: 13px;
    right: 10px;
    z-index: 13000;
    padding: 10px;
    -webkit-box-sizing: unset;
    box-sizing: unset;
}

.popup.hot-offer-popup .close .line {
    position: absolute;
    height: 2px;
    width: 17px;
    background-color: var(--dark-grey-color);
    left: 0;
    right: 0;
    top: 16px;
    margin: 0 auto;
    -o-transition: all .3s;
    transition: all .3s;
    -webkit-transition: all .3s;
}

.popup.hot-offer-popup .close .line._line1 {
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.popup.hot-offer-popup .close .line._line2 {
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.hot-offer-popup-item {
    text-align: center;
}

.hot-offer-popup-item__title {
    font: normal 600 21px/130% var(--title-font);
    color: var(--text-color);
    text-align: left;
}

.hot-offer-popup-item__text {
    width: 60%;
    font: normal 400 10px/16px var(--text-font);
    color: var(--text-color);
    padding-top: 5px;
    margin: auto;
    margin-bottom: 30px;
}

.hot-offer-item__block-wrapper {
    text-align: left;
    padding: 0;
    margin-bottom: 20px;
}

.hot-offer-popup .h5 {
    width: 90%;
    font: normal 600 14px/22px var(--title-font);
    color: var(--text-color);
    margin-bottom: 12px;
    text-transform: none;
}

.hot-offer-item__block-wrapper li {
    position: relative;
    font: normal 400 16px/150% var(--text-font);
    color: var(--text-color);
    padding-left: 12px;
}

.hot-offer-item__block-wrapper li:not(.hot-offer-item__block-wrapper li:first-child) {
    margin-top: 5px;
}

.hot-offer-item__block-wrapper li:before {
    position: absolute;
    content: '•';
    left: -1px;
    top: 0;
    color: var(--dark-grey-color);
}

.hot-offer-popup .hot-offer-item__additionally {
    width: 100%;
    font: normal 500 14px/22px var(--text-font);
    color: var(--text-color);
    margin-bottom: 0;
    text-align: center;
}

.hot-offer-item__hide {
    display: none;
}

@media screen and (min-width:768px) {
    .popup.hot-offer-popup .close {
        top: 21px;
        right: 21px;
    }

    .hot-offer-popup-item__text {
        width: 36%;
    }

    .popup.hot-offer-popup .inner {
        max-width: none;
        padding: 40px 30px 140px;
        margin: auto;
    }

    .hot-offer-item__block-wrapper {
        padding: 30px;
    }


    .hot-offer-popup-item__title {
        font-size: 26px;
        max-width: 500px;
        margin: auto;
        text-align: center;
    }

    .popup.hot-offer-popup.active {
        background: var(--block-background);
    }

    .hot-offer-item__block-wrapper {
        background: var(--background);
        border-radius: 20px;
    }
}

.hot-offer-popup.hot-offer-popup p:not(.hot-offer-popup.hot-offer-popup p:first-child) {
    margin-top: 20px;
    margin-bottom: 20px;
}

.hot-offer-popup.hot-offer-popup p {
    font: normal 400 16px/150% var(--text-font);
    color: var(--text-color);
    overflow-wrap: break-word;
}

.hot-offer-popup.hot-offer-popup p b {
    font: normal 600 16px/150% var(--title-font);
    color: var(--text-color);
}

.hot-offer-popup.hot-offer-popup .hot-offer-item__block-wrapper {
    margin-bottom: 0;
}

.hot-offer-popup.hot-offer-popup .hot-offer-popup-item__title {
    margin-bottom: 30px;
}

/* end hot-offer-popup */

/* footer */

.footer-bottom-desc {
    margin-bottom: 21px;
}

.footer-bottom-link, .footer-bottom .footer-bottom-link {
    font-family: var(--text-font);
}

/* end footer */

/* section address */

section.address {
    padding: 100px 0 0;
}

@media (max-width: 1223px) {
    section.address {
        padding-top: 50px;
    }
}

/* end section address */