

/* Start:/local/components/romstroy/mortgage.calculator/templates/.default/style.css?179501811245175*/
@font-face {
    font-family: 'FM Mortgage Roboto';
    font-weight: 400;
    font-display: swap;
    src: url('/local/templates/aspro-allcorp3stroy/css/fonts/roboto/fonts/roboto-v27-latin_cyrillic-ext-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'FM Mortgage Roboto';
    font-weight: 500;
    font-display: swap;
    src: url('/local/components/romstroy/mortgage.calculator/templates/.default/fonts/roboto-500.woff2') format('woff2');
}
@font-face {
    font-family: 'FM Mortgage Roboto';
    font-weight: 700;
    font-display: swap;
    src: url('/local/components/romstroy/mortgage.calculator/templates/.default/fonts/roboto-700.woff2') format('woff2');
}
@font-face {
    font-family: 'FM Mortgage Montserrat';
    font-weight: 400;
    font-display: swap;
    src: url('/local/components/romstroy/mortgage.calculator/templates/.default/fonts/montserrat-400.woff2') format('woff2');
}
@font-face {
    font-family: 'FM Mortgage Montserrat';
    font-weight: 500;
    font-display: swap;
    src: url('/local/components/romstroy/mortgage.calculator/templates/.default/fonts/montserrat-500.woff2') format('woff2');
}
@font-face {
    font-family: 'FM Mortgage Montserrat';
    font-weight: 600;
    font-display: swap;
    src: url('/local/templates/aspro-allcorp3stroy/css/fonts/montserrat/fonts/montserrat-v15-latin_cyrillic-ext-600.woff2') format('woff2');
}
@font-face {
    font-family: 'FM Mortgage Montserrat';
    font-weight: 700;
    font-display: swap;
    src: url('/local/components/romstroy/mortgage.calculator/templates/.default/fonts/montserrat-700.woff2') format('woff2');
}

/* Общие стили и компоненты: область действия блока */
.fm-mortgage {
    --fm-action-green: #4c8400;
    --fm-action-green-hover: #416f00;
    --fm-green: #5baa00;
    --fm-design-green: #5baa00;
    --fm-design-dark-green: #4c8609;
    --fm-design-stroke: #76a255;
    --fm-button-text-height: 1.09447;
    --fm-rate-green: #4c9600;
    --fm-label-green: #517237;
    --fm-dark: #28400a;
    --fm-light: #f4f8ed;
    --fm-border: #d7dfcc;
    --fm-text: #333;
    color: var(--fm-text);
    --fm-body-font: 'FM Mortgage Montserrat', Montserrat, Arial, sans-serif;
    --fm-display: 'FM Mortgage Roboto', Roboto, Arial, sans-serif;
    font: 400 15px/1.5 var(--fm-body-font);
    background: white;
    width: 100%;
    overflow-wrap: anywhere;
    --fm-hero-image: url('/local/components/romstroy/mortgage.calculator/templates/.default/images/mortgage-hero.webp');
    --fm-result: #467b08;
    --fm-manager-overlap: clamp(86px, 9.9vw, 190px);
    --fm-card-gap: clamp(24px, 2.7vw, 52px);
}
.fm-mortgage,.fm-mortgage *{box-sizing:border-box}.fm-mortgage [hidden]{display:none}.fm-mortgage :where(a,button,input,select,summary){outline:none}.fm-mortgage :where(a,button,input,select,summary):focus-visible{box-shadow:0 0 0 3px white,0 0 0 6px #376500}.fm-mortgage :where(a,button,input,select){font:inherit}.fm-mortgage :where(a,button){-webkit-tap-highlight-color:transparent}.fm-mortgage :where(img,svg){max-width:100%}:where(.fm-mortgage) .fm-wrap {
    max-width: 1568px;
    margin: 0 auto;
    padding: 0 32px;
    min-width: 0;
}:where(.fm-mortgage) .fm-heading {
    font-size: 32px;
    line-height: 1.16;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0;
    font: 700 30px/1.16 var(--fm-display);
}:where(.fm-mortgage) .fm-heading--small{font-size:24px}:where(.fm-mortgage) .fm-kicker{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#668343;margin-bottom:16px}:where(.fm-mortgage) .fm-note {
    font-size: 13px;
    line-height: 1.55;
    color: #666;
    overflow-wrap: anywhere;
}:where(.fm-mortgage) .fm-intro {
    max-width: 540px;
    color: #666;
    font-size: 14px;
    margin-top: 14px;
}:where(.fm-mortgage) .fm-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 32px;
    flex-direction: column;
}:where(.fm-mortgage) .fm-section-head .fm-intro {
    max-width: 660px;
    margin: 0;
}.fm-mortgage .fm-button {
    --fm-button-text: #fff;
    --fm-button-bg: var(--fm-action-green);
    --fm-button-border: var(--fm-button-bg);
    --fm-button-hover-bg: var(--fm-action-green-hover);
    --fm-button-hover-border: var(--fm-button-hover-bg);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 20px;
    border: 1px solid var(--fm-button-border);
    border-radius: 6px;
    background: var(--fm-button-bg);
    color: var(--fm-button-text);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    transition: background .18s,border-color .18s,box-shadow .18s;
    overflow-wrap: anywhere;
    font: 500 15px/1.25 var(--fm-display);
}
.fm-mortgage .fm-button:is(:hover, :focus-visible, :active) {
    color: var(--fm-button-text);
    background: var(--fm-button-hover-bg);
    border-color: var(--fm-button-hover-border);
}
.fm-mortgage .fm-button--outline {
    --fm-button-text: #333;
    --fm-button-bg: #fff;
    --fm-button-border: #d9e1ce;
    --fm-button-hover-bg: #e7efd9;
    --fm-button-hover-border: #507c24;
}
.fm-mortgage .fm-button--light {
    --fm-button-bg: rgba(0,0,0,.57);
    --fm-button-border: #fff;
    --fm-button-hover-bg: rgba(0,0,0,.68);
    --fm-button-hover-border: #fff;
}
:where(.fm-mortgage) .fm-button[aria-disabled=true], :where(.fm-mortgage) .fm-button:disabled{opacity:.5;cursor:not-allowed}:where(.fm-mortgage) .fm-link{color:#446c1f;text-underline-offset:4px;cursor:pointer;overflow-wrap:anywhere}:where(.fm-mortgage) .fm-actions{display:flex;gap:12px;flex-wrap:wrap}:where(.fm-mortgage) .fm-label{display:block;font-size:14px;font-weight:600;margin:0 0 8px}:where(.fm-mortgage) .fm-input{width:100%;min-width:0;min-height:48px;padding:12px 14px;border:1px solid #c9d2bf;border-radius:6px;color:#30382c;background:#fff;transition:border-color .18s,box-shadow .18s}:where(.fm-mortgage) .fm-input[aria-invalid=true], :where(.fm-mortgage) .fm-input--invalid{border-color:#ad2929;box-shadow:inset 0 0 0 1px #ad2929}:where(.fm-mortgage) .fm-input:read-only{background:#f3f6ef}:where(.fm-mortgage) .fm-range{display:block;width:100%;accent-color:var(--fm-green);margin:14px 0 8px;min-height:24px}:where(.fm-mortgage) .fm-range-labels{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#62695c}:where(.fm-mortgage) .fm-facts{margin:20px 0;display:flex;flex-direction:column;gap:0}:where(.fm-mortgage) .fm-facts__row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #d4ddc9;font-size:13px}:where(.fm-mortgage) .fm-facts__label{color:#62695c;min-width:0}:where(.fm-mortgage) .fm-facts__value{margin:0;text-align:right;font-weight:500;min-width:0;overflow-wrap:anywhere}:where(.fm-mortgage) .fm-error{border:1px solid #c36c5c;background:#fff0e9;color:#8d2721;border-radius:8px;padding:16px;margin-top:18px;font-size:14px}:where(.fm-mortgage) .fm-success{padding:16px;border-radius:8px;background:#edf5df;color:#2e5419;margin-top:16px}:where(.fm-mortgage) .fm-sr{clip-path:inset(50%);width:1px;height:1px;overflow:hidden;position:fixed;pointer-events:none}.fm-mortgage p{margin:12px 0 0}.fm-mortgage a:focus-visible{border-radius:4px}
@media(max-width:767px){:where(.fm-mortgage) .fm-wrap {
    padding: 0 clamp(18px, 5.83vw, 24px);
}:where(.fm-mortgage) .fm-heading {
    font-size: 27px;
}:where(.fm-mortgage) .fm-section-head{flex-direction:column;gap:14px;margin-bottom:24px}:where(.fm-mortgage) .fm-section-head .fm-intro{max-width:none}:where(.fm-mortgage) .fm-button{padding:12px 14px}:where(.fm-mortgage) .fm-facts__row{font-size:13px}:where(.fm-mortgage) .fm-facts__label{flex:1}:where(.fm-mortgage) .fm-facts__value{flex:1}}
@media(prefers-reduced-motion:reduce){.fm-mortgage *, .fm-mortgage .fm-button{transition:none;scroll-behavior:auto}}
/* Первый экран */
.page-top-info:has(.fm-mortgage-page-title) {
    position: fixed;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.content-md:has(> .right_block > .fm-mortgage) {
    padding-inline: 0;
}
body > .body > .main:has(> .container .fm-mortgage) {
    padding-bottom: 0;
}
:where(.fm-mortgage) .fm-hero {
    background: var(--fm-dark);
    border-radius: 0;
    width: 100%;
    background-image: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.38) 29%, transparent 68%), var(--fm-hero-image);
    background-size: cover;
    background-position: center;
    min-height: clamp(490px, 30.85vw, 592px);
    display: flex;
    align-items: flex-start;
}:where(.fm-mortgage) .fm-hero__media{display:none}:where(.fm-mortgage) .fm-hero__body {
    width: 100%;
    padding-top: clamp(62px, 6.25vw, 120px);
    padding-bottom: calc(var(--fm-manager-overlap) + 9px);
}:where(.fm-mortgage) .fm-hero__copy {
    max-width: 670px;
    color: #fff;
}:where(.fm-mortgage) .fm-hero__kicker {
    text-transform: uppercase;
    margin-bottom: 35px;
    font: 500 24px/1.1 var(--fm-display);
}:where(.fm-mortgage) .fm-hero__title {
    font-size: 46px;
    line-height: 1.12;
    letter-spacing: 0;
    margin: 0 0 38px;
    max-width: 650px;
    font: 700 42px/1.1 var(--fm-display);
}:where(.fm-mortgage) .fm-hero__accent {
    color: #b7eb71;
    display: block;
}:where(.fm-mortgage) .fm-hero__intro {
    max-width: 540px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 22px;
}:where(.fm-mortgage) .fm-hero__title:has(+ .fm-hero__intro) {
    margin-bottom: 16px;
}:where(.fm-mortgage) .fm-hero__actions {
    display: flex;
    gap: clamp(14px, 1.35vw, 26px);
    flex-wrap: wrap;
}:where(.fm-mortgage) .fm-hero__actions .fm-button {
    min-width: 205.23px;
    min-height: 42.07px;
    padding: 8px 18px;
    font: 600 16px/var(--fm-button-text-height) var(--fm-body-font);
}:where(.fm-mortgage) .fm-hero__actions .fm-button--light {
    min-width: 242.29px;
}:where(.fm-mortgage) .fm-hero-bottom{background:var(--fm-light)}:where(.fm-mortgage) .fm-hero-bottom__row {
    display: flex;
    gap: clamp(28px,3.75vw,72px);
    align-items: flex-end;
}:where(.fm-mortgage) .fm-manager {
    flex: 0 1 554px;
    background: #eef5e7;
    border: 1px solid #9ab784;
    border-left: var(--fm-manager-stripe, 6px) solid #4c8609;
    border-radius: 11px;
    padding: 30px 31px;
    margin-top: calc(-1 * var(--fm-manager-overlap));
    transform: translateY(0);
    isolation: isolate;
    min-height: 244px;
}:where(.fm-mortgage) .fm-manager__label {
    font-size: 12px;
    text-transform: uppercase;
    color: #43651f;
    margin-bottom: 13px;
}:where(.fm-mortgage) .fm-manager__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #000;
}:where(.fm-mortgage) .fm-manager__benefit {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}
:where(.fm-mortgage) :is(.fm-manager__benefit, .fm-hero-bottom__benefit) {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
:where(.fm-mortgage) :is(.fm-manager__benefit, .fm-hero-bottom__benefit)::before {
    content: '';
    flex: 0 0 var(--fm-benefit-size, 16px);
    height: var(--fm-benefit-size, 16px);
    margin-top: 2px;
    background: var(--fm-benefit-icon, url('/local/components/romstroy/mortgage.calculator/templates/.default/images/mortgage-manager-check.svg')) center / contain no-repeat;
}
:where(.fm-mortgage) .fm-hero-bottom__benefit {
    --fm-benefit-icon: url('/local/components/romstroy/mortgage.calculator/templates/.default/images/mortgage-benefit-check.svg');
    --fm-benefit-size: 17px;
}
:where(.fm-mortgage) .fm-manager .fm-button {
    --fm-button-bg: var(--fm-design-green);
    min-width: 173.98px;
    min-height: 42.07px;
    padding: 8px 14px;
    margin-top: 18px;
    font: 600 14px/var(--fm-button-text-height) var(--fm-body-font);
}
:where(.fm-mortgage) .fm-hero-bottom__benefits {
    display: flex;
    gap: 12px 24px;
    flex-wrap: wrap;
    flex: 1;
    padding: 24px 0;
}:where(.fm-mortgage) .fm-hero-bottom__benefit{font-size:13px;color:#62695c}
@media (min-width: 768px) {
    :where(.fm-mortgage) .fm-hero {
        align-items: stretch;
    }
    :where(.fm-mortgage) .fm-hero__body,
    :where(.fm-mortgage) .fm-hero__copy {
        display: flex;
        flex-direction: column;
    }
    :where(.fm-mortgage) .fm-hero__body {
        padding-bottom: var(--fm-manager-overlap);
    }
    :where(.fm-mortgage) .fm-hero__copy {
        flex: 1;
    }
    :where(.fm-mortgage) .fm-hero__title,
    :where(.fm-mortgage) .fm-hero__title:has(+ .fm-hero__intro) {
        margin-bottom: 0;
    }
    :where(.fm-mortgage) .fm-hero__intro {
        margin: 16px 0 0;
    }
    :where(.fm-mortgage) .fm-hero__actions {
        margin-block: auto;
        padding-block: 12px;
    }
    :where(.fm-mortgage) .fm-hero-bottom {
        --fm-hero-strip-height: 51px;
        background: linear-gradient(var(--fm-light), var(--fm-light)) top / 100% var(--fm-hero-strip-height) no-repeat;
    }
    :where(.fm-mortgage) .fm-hero-bottom__row {
        align-items: flex-start;
    }
    :where(.fm-mortgage) .fm-hero-bottom__benefits {
        min-height: var(--fm-hero-strip-height);
        align-content: center;
        align-items: center;
        gap: 4px 24px;
        padding: 3px 0;
    }
}
@media (min-width: 768px) and (max-width: 1050px) {
    :where(.fm-mortgage) .fm-hero-bottom {
        --fm-hero-strip-height: 96px;
    }
    :where(.fm-mortgage) .fm-manager {
        flex-basis: min(554px, 68%);
    }
}
@media (max-width: 767px) {
    :where(.fm-mortgage) .fm-hero {
        flex-direction: column;
        min-height: 0;
        background-image: none;
    }
    :where(.fm-mortgage) .fm-hero__media {
        display: block;
        width: 100%;
        height: clamp(158px, 49.27vw, 227px);
        overflow: hidden;
    }
    :where(.fm-mortgage) .fm-hero__photo {
        display: block;
        width: 100%;
        height: 121%;
        object-fit: cover;
        object-position: 91% center;
        transform: translateY(-11%);
    }
    :where(.fm-mortgage) .fm-hero__body {
        padding-top: 17px;
        padding-bottom: 63px;
    }
    :where(.fm-mortgage) .fm-hero__title {
        font-size: clamp(28px, 7.8vw, 32px);
        max-width: 361px;
        margin-bottom: 16px;
    }
    :where(.fm-mortgage) .fm-hero__kicker {
        font-size: 18px;
        margin-bottom: 15px;
    }
    :where(.fm-mortgage) :is(.fm-hero__intro, .fm-manager > .fm-note) {
        display: none;
    }
    :where(.fm-mortgage) .fm-hero__actions {
        flex-direction: column;
        gap: 15px;
        max-width: 361px;
    }
    :where(.fm-mortgage) .fm-hero__actions .fm-button {
        min-width: 0;
        min-height: 38.27px;
        padding: 7px 12px;
        border-radius: 5.46px;
        font-size: 14.55px;
    }
    :where(.fm-mortgage) .fm-hero-bottom__row {
        --fm-manager-stripe: 6px;
        --fm-manager-inset: clamp(18px, 7.25vw, 30px);
        --fm-benefit-size: 15px;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    :where(.fm-mortgage) .fm-manager {
        flex: auto;
        margin-top: -35px;
        min-height: 248px;
        padding: 23px var(--fm-manager-inset);
        position: relative;
    }
    :where(.fm-mortgage) .fm-manager__label {
        font-size: 11px;
        margin-bottom: 12px;
    }
    :where(.fm-mortgage) .fm-manager__title {
        font-size: 22px;
        margin-bottom: 12px;
    }
    :where(.fm-mortgage) .fm-manager__benefit {
        font-size: 13px;
        margin: 3px 0;
    }
    :where(.fm-mortgage) .fm-manager .fm-button {
        margin-top: 24px;
        min-width: 163px;
        min-height: 38px;
        border-radius: 5.53px;
        font-size: 12.89px;
    }
    :where(.fm-mortgage) .fm-hero-bottom__benefits {
        flex-direction: column;
        gap: 2px;
        padding: 12px calc(var(--fm-manager-inset) + var(--fm-manager-stripe)) 22px;
    }
    :where(.fm-mortgage) .fm-hero-bottom__benefit {
        --fm-benefit-icon: url('/local/components/romstroy/mortgage.calculator/templates/.default/images/mortgage-manager-check.svg');
        --fm-benefit-size: 15px;
    }
    :where(.fm-mortgage) .fm-hero-bottom__benefit:first-child {
        --fm-benefit-icon: url('/local/components/romstroy/mortgage.calculator/templates/.default/images/mortgage-benefit-check.svg');
    }
}

.fm-mortgage .fm-hero__actions .fm-button:first-child {
    --fm-button-bg: var(--fm-design-green);
}
.fm-mortgage .fm-hero__actions .fm-button--light {
    --fm-button-bg: rgb(0 0 0 / 41%);
}

/* Программы */
:where(.fm-mortgage) .fm-programs {
    padding: clamp(44px, 3.7vw, 76px) 0 72px;
}
:where(.fm-mortgage) .fm-programs .fm-section-head {
    flex-direction: row;
    align-items: baseline;
    margin-bottom: 43px;
}
:where(.fm-mortgage) .fm-programs .fm-intro {
    max-width: 410px;
    font-size: 13px;
    line-height: 1.4;
}:where(.fm-mortgage) .fm-programs__list {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(26px, 2.35vw, 45px) var(--fm-card-gap);
}:where(.fm-mortgage) .fm-program {
    flex: 0 0 calc((100% - 2 * var(--fm-card-gap)) / 3);
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #a5b994;
    border-radius: 11px;
    background: var(--fm-light);
    padding: clamp(22px, 1.85vw, 35px);
    min-height: 486px;
}:where(.fm-mortgage) .fm-program__top{display:flex;gap:16px;justify-content:space-between;align-items:center}:where(.fm-mortgage) .fm-program__identity{min-width:0;flex:1}:where(.fm-mortgage) .fm-program__tag {
    font-size: 15px;
    color: var(--fm-label-green);
    text-transform: uppercase;
    margin-bottom: 12px;
}:where(.fm-mortgage) .fm-program__name {
    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--fm-text);
    text-decoration: none;
    display: block;
}:where(.fm-mortgage) .fm-program__portrait {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--fm-action-green);
    padding: 3px;
    background: white;
    flex: none;
}:where(.fm-mortgage) .fm-program__rate {
    font-size: 47px;
    font-weight: 700;
    color: var(--fm-rate-green);
    letter-spacing: -0.75px;
    line-height: 1.1;
    margin: 15px 0 12px;
}:where(.fm-mortgage) .fm-program__annual{font-size:15px;letter-spacing:0;font-weight:400;color:#62695c;margin-left:12px}:where(.fm-mortgage) .fm-program__summary {
    font-size: 14px;
    color: #666;
    min-height: 0;
}:where(.fm-mortgage) .fm-program .fm-facts{margin-top:auto;padding-top:16px}:where(.fm-mortgage) .fm-program__actions{display:flex;gap:10px}:where(.fm-mortgage) .fm-program__actions .fm-button {
    font: 700 15px/var(--fm-button-text-height) var(--fm-display);
    min-height: 40.67px;
    padding: 7px 8px;
    flex: 1;
    border-radius: 6px;
}
:where(.fm-mortgage) .fm-program__actions .fm-button--outline {
    --fm-button-border: var(--fm-design-stroke);
    --fm-button-text: #666;
    font: 400 15px/1.58 var(--fm-display);
}
.fm-mortgage .fm-program__actions .fm-button:first-child {
    --fm-button-bg: var(--fm-design-green);
    --fm-button-border: var(--fm-design-stroke);
    flex: 1.4;
}
@media (max-width: 767px) {
    :where(.fm-mortgage) .fm-program__actions .fm-button {
        border-radius: 8px;
    }
    :where(.fm-mortgage) .fm-program__actions .fm-button--outline {
        margin-inline: 1px;
    }
}
@media(min-width:768px) and (max-width:1050px){:where(.fm-mortgage) .fm-program {
    flex-basis: calc((100% - var(--fm-card-gap)) / 2);
}}
@media(max-width:767px){:where(.fm-mortgage) .fm-programs{padding:28px 0 40px}
:where(.fm-mortgage) .fm-programs .fm-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}
:where(.fm-mortgage) .fm-programs__list{gap:20px}:where(.fm-mortgage) .fm-program {
    flex-basis: 100%;
    padding: 26px clamp(17px, 6.55vw, 27px);
    min-height: 0;
}:where(.fm-mortgage) .fm-program__tag{margin-bottom:12px}:where(.fm-mortgage) .fm-program__name {
    font-size: 22px;
}:where(.fm-mortgage) .fm-program__portrait {
    width: clamp(60px, 18.2vw, 75px);
    height: clamp(60px, 18.2vw, 75px);
}:where(.fm-mortgage) .fm-program__rate {
    font-size: 47px;
    margin: 15px 0 11px;
}:where(.fm-mortgage) .fm-program__actions{flex-direction:column}:where(.fm-mortgage) .fm-program .fm-facts{padding-top:6px}:where(.fm-mortgage) .fm-program .fm-facts__row{flex-direction:column;gap:0}:where(.fm-mortgage) .fm-program .fm-facts__value{text-align:left}}
/* Банковские предложения */
:where(.fm-mortgage) .fm-banks {
    padding: clamp(48px, 5vw, 90px) 0 68px;
    background: #fafbf8;
}
:where(.fm-mortgage) .fm-banks .fm-intro {
    max-width: 850px;
}
:where(.fm-mortgage) .fm-banks__date{font-size:12px;color:#62695c;margin:12px 0 24px}:where(.fm-mortgage) .fm-banks__filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:29px}:where(.fm-mortgage) .fm-banks__filter {
    border: 1px solid #d2d2d2;
    border-radius: 7px;
    padding: 10px 17px;
    text-decoration: none;
    color: #707070;
    font: 400 15px/var(--fm-button-text-height) var(--fm-body-font);
    transition: background .18s;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    background: white;
}.fm-mortgage .fm-banks__filter:is(:hover, :focus-visible) {
    background-color: #e7efd9;
    color: #333;
}
.fm-mortgage .fm-banks__filter[aria-pressed=true] {
    background-color: var(--fm-design-dark-green);
    border-color: var(--fm-design-stroke);
    color: #fff;
}
.fm-mortgage .fm-banks__filter[aria-pressed=true]:is(:hover, :focus-visible) {
    background-color: var(--fm-action-green-hover);
    border-color: var(--fm-action-green-hover);
    color: #fff;
}:where(.fm-mortgage) .fm-banks__list{display:flex;flex-wrap:wrap;gap:clamp(24px, 3vw, 52px)}:where(.fm-mortgage) .fm-bank {
    flex: 1 1 360px;
    min-width: 0;
    padding: clamp(22px, 1.9vw, 36px);
    border: 1px solid #b8c8a7;
    border-radius: 11px;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 12px rgb(40 64 10 / 9%);
}
:where(.fm-mortgage) .fm-bank__header {
    margin-bottom: 14px;
}
:where(.fm-mortgage) .fm-bank__logo{display:block;width:144px;height:48px;object-fit:contain;object-position:left center;margin-bottom:6px}:where(.fm-mortgage) .fm-bank__name{font-size:23px;font-weight:700;line-height:1.2}
:where(.fm-mortgage) .fm-bank__offer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
}
:where(.fm-mortgage) .fm-bank__rate {
    font-size: clamp(38px, 3vw, 51px);
    font-weight: 700;
    color: var(--fm-rate-green);
    letter-spacing: -1px;
    line-height: 1.15;
}
:where(.fm-mortgage) .fm-bank__annual {
    margin-left: 10px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    color: #62695c;
}
:where(.fm-mortgage) .fm-bank__psk{font-size:12px;color:#62695c;margin:6px 0 0}:where(.fm-mortgage) .fm-bank__status{font-size:12px;color:#43651f;background:#e8f1dc;padding:7px 10px;border-radius:5px}:where(.fm-mortgage) .fm-bank__status--paused{color:#88521d;background:#fff0da}:where(.fm-mortgage) .fm-bank__note{font-size:13px;line-height:1.6;color:#62695c;margin-bottom:12px;flex:1}:where(.fm-mortgage) .fm-bank .fm-actions{align-items:center;margin-top:12px}:where(.fm-mortgage) .fm-bank__date {
    font-size: 11px;
    color: #666;
    margin-top: 0;
}
:where(.fm-mortgage) .fm-bank .fm-button {
    min-width: min(100%, 220px);
    min-height: 40.67px;
    padding: 7px 12px;
    --fm-button-text: #666;
    --fm-button-border: var(--fm-design-stroke);
    font: 400 15px/1.58 var(--fm-display);
}
@media(max-width:767px){:where(.fm-mortgage) .fm-banks {
    padding: 43px 0;
}:where(.fm-mortgage) .fm-bank{flex-basis:100%;padding:23px}:where(.fm-mortgage) .fm-banks__filters{gap:7px}:where(.fm-mortgage) .fm-banks__filter{font-size:12px;padding:8px 12px}:where(.fm-mortgage) .fm-bank .fm-actions{flex-direction:column;align-items:stretch}}
:where(.fm-mortgage) .fm-banks__empty { padding: 18px; background: white; border-radius: 11px; }
@media (min-width: 1200px) {
    :where(.fm-mortgage) .fm-banks {
        padding-bottom: 90px;
    }
    :where(.fm-mortgage) .fm-banks .fm-intro {
        margin-top: 28px;
    }
    :where(.fm-mortgage) .fm-banks__filters {
        margin-bottom: 35px;
    }
}
/* Калькулятор */

:where(.fm-mortgage) .fm-calculator {
    padding: clamp(48px, 4.9vw, 100px) 0 52px;
    background: white;
}:where(.fm-mortgage) .fm-calculator__layout {
    display: flex;
    gap: clamp(28px, 4vw, 75px);
    align-items: flex-start;
    margin-top: 30px;
}
@media (min-width: 1200px) {
    :where(.fm-mortgage) .fm-calculator__layout {
        margin-top: clamp(30px, 2.8vw, 58px);
    }
}
:where(.fm-mortgage) .fm-calculator__heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
:where(.fm-mortgage) .fm-calculator__heading .fm-intro {
    flex: 0 1 42%;
    max-width: none;
    margin: 0;
}
@media (max-width: 900px) {
    :where(.fm-mortgage) .fm-calculator__heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
:where(.fm-mortgage) .fm-calculator__controls {
    --fm-field-bg: #f8f8f8;
    flex: 1.38;
    min-width: 0;
    background: #fff;
    padding: clamp(20px, 2.5vw, 54px) clamp(18px, 2.3vw, 44px) clamp(18px, 2.3vw, 44px);
    border: 1px solid #bccbb0;
    border-top: 5px solid var(--fm-result);
    border-radius: 11px;
}
:where(.fm-mortgage) .fm-calculator__row {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(18px, 1.4vw, 22px);
    margin-bottom: 20px;
}
:where(.fm-mortgage) .fm-calculator__row--stacked {
    flex-direction: column;
    gap: clamp(16px, 2vw, 34px);
    margin-bottom: 8px;
}
:where(.fm-mortgage) .fm-calculator__row--region {
    margin-bottom: clamp(20px, 2vw, 39px);
}
:where(.fm-mortgage) .fm-calculator__field {
    flex: 1 1 180px;
    display: block;
    min-width: 0;
    margin: 0;
    --fm-field-border: #e3e6e0;
    --fm-field-line: #b5bdb0;
}
:where(.fm-mortgage) label.fm-calculator__field {
    background-color: var(--fm-field-bg);
    border: 1px solid var(--fm-field-border);
    border-bottom: 2px solid var(--fm-field-line);
    border-radius: 3px 3px 0 0;
    transition: border-color .18s;
    padding: 7px 14px 0;
    cursor: text;
}
:where(.fm-mortgage) .fm-calculator__field:hover {
    --fm-field-line: #657d56;
}
:where(.fm-mortgage) .fm-calculator__row--stacked .fm-calculator__field {
    flex: auto;
}
:where(.fm-mortgage) .fm-calculator__field .fm-label {
    color: #58604f;
    font: 500 13px/1.3 var(--fm-display);
    margin: 0;
}
:where(.fm-mortgage) .fm-calculator__field .fm-input {
    display: block;
    min-height: 30px;
    border: 0;
    background: transparent;
    color: var(--fm-text);
    font: 400 17px/1.25 var(--fm-display);
}
:where(.fm-mortgage) .fm-calculator__field input.fm-input {
    padding: 2px 0 5px;
}
:where(.fm-mortgage) .fm-calculator__field--select {
    position: relative;
    isolation: isolate;
}
/* Подпись поверх нативного списка оставляет всю его площадь доступной для клика. */
:where(.fm-mortgage) .fm-calculator__field--select .fm-label {
    position: absolute;
    inset: 8px 38px auto 15px;
    z-index: 1;
    pointer-events: none;
}
:where(.fm-mortgage) .fm-calculator__field--select select.fm-input {
    width: 100%;
    min-height: 57px;
    padding: 23px 38px 5px 14px;
    cursor: pointer;
    background-color: var(--fm-field-bg);
    border: 1px solid var(--fm-field-border);
    border-bottom: 2px solid var(--fm-field-line);
    border-radius: 3px 3px 0 0;
}
@media (forced-colors: none) {
    :where(.fm-mortgage) .fm-calculator__field--select select.fm-input {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='m1 2 6 6 6-6' fill='none' stroke='%2358604f' stroke-width='2'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
    }
}
:where(.fm-mortgage) .fm-calculator__value {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
:where(.fm-mortgage) .fm-calculator__value .fm-input {
    flex: 1 1 0;
}
:where(.fm-mortgage) .fm-calculator__suffix {
    flex: none;
    color: #58604f;
    font: 400 15px/1.25 var(--fm-display);
}
:where(.fm-mortgage) .fm-calculator__field:has(+ .fm-range--joined) .fm-input {
    font-weight: 700;
}
:where(.fm-mortgage) .fm-calculator__field:has(.fm-input[aria-invalid=true]) {
    --fm-field-border: #ad2929;
    --fm-field-line: #ad2929;
    transition-duration: 0s;
}
:where(.fm-mortgage) .fm-calculator__field .fm-input[aria-invalid=true],
:where(.fm-mortgage) .fm-calculator__field .fm-input:focus-visible {
    box-shadow: none;
}
:where(.fm-mortgage) .fm-calculator__field:has(.fm-input:focus-visible) {
    --fm-field-bg: #eef3e8;
}
:where(.fm-mortgage) .fm-calculator__field:has(.fm-input:focus-visible):not(:has([aria-invalid=true])) {
    --fm-field-line: #376500;
}
.fm-mortgage :is(.fm-calculator__controls, .fm-lead) :where(a, button, input, select):focus-visible {
    box-shadow: none;
}
:where(.fm-mortgage) .fm-lead .fm-input:focus-visible {
    background-color: #eef3e8;
}
:where(.fm-mortgage) :is(.fm-calculator__check, .fm-lead__consent):has(input:focus-visible),
:where(.fm-mortgage) :is(.fm-calculator__controls, .fm-lead) a:focus-visible {
    text-decoration: underline;
}
:where(.fm-mortgage) .fm-calculator__controls .fm-range:focus-visible {
    filter: contrast(1.45);
}
:where(.fm-mortgage) .fm-calculator__group {
    margin-bottom: 24px;
}
:where(.fm-mortgage) .fm-calculator__hint {
    font-size: 12px;
    color: #58604f;
    margin: 10px 0;
}
:where(.fm-mortgage) .fm-calculator__check{display:flex;align-items:flex-start;gap:10px;font-size:14px;margin:18px 0;cursor:pointer}:where(.fm-mortgage) .fm-calculator__checkbox{width:18px;height:18px;accent-color:var(--fm-green);flex:none}
:where(.fm-mortgage) .fm-calculator .fm-range {
    margin: 2px 0 1px;
}
@media (forced-colors: none) {
    :where(.fm-mortgage) .fm-calculator .fm-range {
        appearance: none;
        background: transparent;
        --fm-range-track: linear-gradient(
            to right,
            var(--fm-rate-green) var(--fm-range-fill, 0%),
            #d9e1d2 var(--fm-range-fill, 0%)
        );
    }
    :where(.fm-mortgage) .fm-range::-webkit-slider-runnable-track {
        height: 4px;
        border-radius: 4px;
        background: var(--fm-range-track);
    }
    :where(.fm-mortgage) .fm-range::-moz-range-track {
        height: 4px;
        border-radius: 4px;
        background: var(--fm-range-track);
    }
    :where(.fm-mortgage) .fm-range::-webkit-slider-thumb {
        appearance: none;
        width: 16px;
        height: 16px;
        margin-top: -6px;
        border-radius: 50%;
        background: var(--fm-action-green);
    }
    :where(.fm-mortgage) .fm-range::-moz-range-thumb {
        width: 16px;
        height: 16px;
        border: 0;
        border-radius: 50%;
        background: var(--fm-action-green);
    }
    :where(.fm-mortgage) label.fm-calculator__field:has(+ .fm-range--joined):not(:has([aria-invalid=true])) {
        border-bottom-color: transparent;
    }
    :where(.fm-mortgage) .fm-calculator .fm-range--joined {
        margin-block: 0 -14px;
        --fm-track-offset: -12px;
        --fm-range-track:
            linear-gradient(to right, var(--fm-design-green) var(--fm-range-fill, 0%), transparent 0) center / 100% 3px no-repeat,
            linear-gradient(#d8d7d7, #d8d7d7) center / 100% 2px no-repeat;
    }
    :where(.fm-mortgage) .fm-range--joined + .fm-range-labels {
        pointer-events: none;
    }
    :where(.fm-mortgage) .fm-range--joined::-webkit-slider-runnable-track {
        height: 3px;
        transform: translateY(var(--fm-track-offset));
    }
    :where(.fm-mortgage) .fm-range--joined::-moz-range-track {
        height: 3px;
        transform: translateY(var(--fm-track-offset));
    }
    :where(.fm-mortgage) .fm-range--joined::-webkit-slider-thumb {
        width: 17px;
        height: 17px;
        margin-top: -7px;
        background: var(--fm-design-green);
    }
    :where(.fm-mortgage) .fm-range--joined::-moz-range-thumb {
        width: 17px;
        height: 17px;
        background: var(--fm-design-green);
        transform: translateY(var(--fm-track-offset));
    }
}
:where(.fm-mortgage) .fm-calculator__result {
    flex: 1;
    min-width: 0;
    padding: clamp(26px, 2.1vw, 42px) clamp(25px, 3.2vw, 54px);
    border-radius: 11px;
    background: var(--fm-result);
    color: #fff;
    position: sticky;
    top: 20px;
}:where(.fm-mortgage) .fm-calculator__result-label {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 7px;
}:where(.fm-mortgage) .fm-calculator__payment {
    display: flex;
    align-items: baseline;
    gap: 9px;
    flex-wrap: wrap;
    font-size: 49px;
    line-height: 1.2;
    letter-spacing: 0;
    font-weight: 700;
    margin: 20px 0 8px;
    font: 700 55px/1.1 var(--fm-display);
}:where(.fm-mortgage) .fm-calculator__unit {
    font-size: 19px;
    letter-spacing: 0;
    font-weight: 400;
    font: 500 20px/1.2 var(--fm-display);
}:where(.fm-mortgage) .fm-calculator__result .fm-note {
    color: white;
    font-size: 14px;
}
:where(.fm-mortgage) .fm-calculator__result [data-fm-field="resultCaption"] {
    font-size: 16px;
    font-weight: 700;
}
:where(.fm-mortgage) .fm-calculator__result [data-fm-field="resultWarning"]:not(:empty) {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid rgb(255 255 255 / 56%);
    border-radius: 6px;
}:where(.fm-mortgage) .fm-calculator__result .fm-facts__label {
    color: white;
    font-weight: 400;
}
:where(.fm-mortgage) .fm-calculator__result .fm-facts__value {
    font-weight: 700;
}:where(.fm-mortgage) .fm-calculator__result .fm-facts__row {
    border-color: rgba(255,255,255,.45);
    padding: 13px 0;
    font-size: clamp(14px, 1.1vw, 16px);
}:where(.fm-mortgage) .fm-calculator__result .fm-actions{flex-direction:column;margin:24px 0 18px}:where(.fm-mortgage) .fm-calculator__result .fm-button{width:100%}:where(.fm-mortgage) .fm-calculator__totals{display:flex;gap:15px;flex-wrap:wrap;margin-top:20px}:where(.fm-mortgage) .fm-calculator__totals-item{flex:1;min-width:140px}:where(.fm-mortgage) .fm-calculator__totals-value{font-size:19px;margin-top:5px}:where(.fm-mortgage) .fm-calculator__schedule{margin-top:32px;border-top:1px solid #c6d1ba;padding-top:20px}:where(.fm-mortgage) .fm-calculator__summary{color:#375e19;cursor:pointer;font-weight:600;padding:10px 0}:where(.fm-mortgage) .fm-schedule{overflow:auto;max-height:480px;margin-top:20px;border:1px solid #cbd6bf;border-radius:8px;background:white}:where(.fm-mortgage) .fm-schedule__row{display:flex;min-width:660px;border-bottom:1px solid #e0e6d8}:where(.fm-mortgage) .fm-schedule__row--head{position:sticky;top:0;background:#e9f0df;font-weight:600}:where(.fm-mortgage) .fm-schedule__cell{flex:1;min-width:0;text-align:right;padding:13px;font-size:13px}:where(.fm-mortgage) .fm-schedule__cell:first-child{flex:.55;text-align:left}:where(.fm-mortgage) .fm-calculator__download{margin-top:18px}
@media(max-width:900px){:where(.fm-mortgage) .fm-calculator__layout{flex-direction:column}:where(.fm-mortgage) .fm-calculator__controls, :where(.fm-mortgage) .fm-calculator__result{width:100%;flex:auto}:where(.fm-mortgage) .fm-calculator__result{position:static}}
@media(max-width:767px){:where(.fm-mortgage) .fm-calculator{padding:40px 0}:where(.fm-mortgage) .fm-calculator__row{gap:18px;margin-bottom:18px}:where(.fm-mortgage) .fm-calculator__field{flex-basis:100%}:where(.fm-mortgage) .fm-calculator__result{padding:25px}:where(.fm-mortgage) .fm-calculator__payment {
    font-size: 40px;
}:where(.fm-mortgage) .fm-calculator__result .fm-facts__row{flex-direction:column;gap:3px}:where(.fm-mortgage) .fm-calculator__result .fm-facts__value{text-align:left}}
:where(.fm-mortgage) .fm-calculator__totals-details > summary { cursor: pointer; padding: 10px 0; font-weight: 700; }
:where(.fm-mortgage) .fm-calculator__totals-note { margin-top: 12px; }
.fm-mortgage .fm-calculator__result .fm-button {
    --fm-button-text: #666;
    --fm-button-bg: #fff;
    --fm-button-border: var(--fm-design-stroke);
    --fm-button-hover-bg: #eef5e7;
    --fm-button-hover-border: #fff;
    min-height: 53.37px;
    font: 700 16px/1.58 var(--fm-body-font);
}
.fm-mortgage .fm-calculator__result .fm-button--light {
    --fm-button-text: #fff;
    --fm-button-bg: var(--fm-design-dark-green);
    --fm-button-border: #fafafa;
    --fm-button-hover-bg: var(--fm-action-green-hover);
    min-height: 54px;
    line-height: 1.28;
}
:where(.fm-mortgage) .fm-calculator__summary {
    color: #666;
    font: 700 16px/1.28 var(--fm-body-font);
}
/* Этапы работы */

:where(.fm-mortgage) .fm-process {
    padding: clamp(52px, 5vw, 80px) 0;
    background: #fafbf8;
}:where(.fm-mortgage) .fm-process__layout {
    display: flex;
    gap: clamp(35px, 7vw, 130px);
    align-items: flex-start;
}:where(.fm-mortgage) .fm-process__intro{flex:1;min-width:0}:where(.fm-mortgage) .fm-process__escrow {
    background: #e9eedf;
    padding: clamp(22px, 3vw, 48px);
    border-radius: 11px;
    margin-top: 28px;
}:where(.fm-mortgage) .fm-process__escrow-title{font-size:19px;font-weight:700;margin-bottom:12px}:where(.fm-mortgage) .fm-process__steps{flex:1.3;min-width:0;counter-reset:fm-step}:where(.fm-mortgage) .fm-process__step {
    display: flex;
    gap: 28px;
    padding: 20px 0;
    border-bottom: 1px solid #cfd8c7;
    counter-increment: fm-step;
}
:where(.fm-mortgage) .fm-process__step:first-child {
    padding-top: 0;
}
:where(.fm-mortgage) .fm-process__step::before {
    content: counter(fm-step, decimal-leading-zero);
    color: var(--fm-label-green);
    font-size: 20px;
    font-weight: 700;
    flex: 0 0 35px;
}
:where(.fm-mortgage) .fm-process__step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
:where(.fm-mortgage) .fm-process__step-text,
:where(.fm-mortgage) .fm-process__escrow .fm-note {
    font-size: 16px;
    color: #62695c;
}
@media(max-width:767px){:where(.fm-mortgage) .fm-process{padding:44px 0}:where(.fm-mortgage) .fm-process__layout{flex-direction:column;gap:30px}:where(.fm-mortgage) .fm-process__intro, :where(.fm-mortgage) .fm-process__steps{width:100%}}
/* Каталог и консультация */
:where(.fm-mortgage) .fm-projects {
    padding: clamp(45px, 5vw, 100px) 0 56px;
}:where(.fm-mortgage) .fm-projects__panel {
    display: flex;
    align-items: center;
    gap: 35px;
    border-radius: 14px;
    min-height: 267px;
    padding: 40px clamp(36px,9vw,174px);
    background-image: linear-gradient(90deg, rgba(0,0,0,.67), rgba(0,0,0,.26)), var(--fm-hero-image);
    background-size: cover;
    background-position: center;
    color: #fff;
}
:where(.fm-mortgage) .fm-projects__text{flex:1;min-width:0}
:where(.fm-mortgage) .fm-projects__text .fm-note{color:#e0ead7;max-width:550px;margin-top:16px}
@media (min-width: 1024px) {
    :where(.fm-mortgage) .fm-projects__text .fm-heading {
        line-height: 1.28;
    }
    :where(.fm-mortgage) .fm-projects__text .fm-note {
        color: #fff;
        font-size: 20px;
        line-height: 1.28;
    }
}
:where(.fm-mortgage) .fm-projects__actions {
    display: flex;
    gap: clamp(12px, 2vw, 29px);
    flex: 0 1 clamp(395px, 45vw, 583px);
    min-width: 0;
}
:where(.fm-mortgage) .fm-projects__actions .fm-button {
    flex: 1.92 1 0;
    min-height: 55.33px;
    font: 700 18px/var(--fm-button-text-height) var(--fm-body-font);
    border-width: 1.36px;
    letter-spacing: 0;
}
.fm-mortgage .fm-projects__actions .fm-button:first-child {
    --fm-button-text: #e9eedf;
    --fm-button-bg: var(--fm-design-green);
    --fm-button-border: var(--fm-design-stroke);
}
.fm-mortgage .fm-projects__actions .fm-button--light {
    flex: 1 1 0;
    --fm-button-text: #000;
    --fm-button-bg: #e9eedf;
    --fm-button-border: var(--fm-design-stroke);
    --fm-button-hover-bg: #d7e2c7;
    --fm-button-hover-border: #d7e2c7;
}
@media (max-width: 1023px) {
    :where(.fm-mortgage) .fm-projects__actions {
        flex: 0 1 270px;
        flex-direction: column;
    }
    .fm-mortgage .fm-projects__actions .fm-button {
        flex: auto;
    }
}
:where(.fm-mortgage) .fm-consult {
    padding: 0;
    background: #fafbf8;
}:where(.fm-mortgage) .fm-consult__panel {
    background: transparent;
    border-radius: 10px;
    padding: clamp(44px, 5vw, 94px) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(23px, 2.4vw, 48px);
    flex-direction: column;
    text-align: center;
}:where(.fm-mortgage) .fm-consult__text{min-width:0}:where(.fm-mortgage) .fm-consult__panel .fm-note{margin-top:10px}
@media(max-width:767px){:where(.fm-mortgage) .fm-projects {
    padding-bottom: 32px;
    padding: 36px 0 32px;
}:where(.fm-mortgage) .fm-projects__panel{padding:28px 23px;flex-direction:column;align-items:stretch;gap:24px}:where(.fm-mortgage) .fm-projects__actions{flex:auto}:where(.fm-mortgage) .fm-consult {
    padding-bottom: 32px;
    padding: 0;
}:where(.fm-mortgage) .fm-consult__panel {
    padding: 40px 0;
    flex-direction: column;
    align-items: center;
}}
:where(.fm-mortgage) .fm-consult__panel .fm-heading { font-size: clamp(27px, 2.4vw, 40px); }
:where(.fm-mortgage) .fm-consult__panel .fm-note {
    max-width: 60ch;
    margin-top: clamp(12px, 1.7vw, 33px);
    font-size: 16px;
    line-height: 1.28;
}
:where(.fm-mortgage) .fm-consult__panel .fm-button {
    --fm-button-bg: var(--fm-design-dark-green);
    --fm-button-text: #e9eedf;
    --fm-button-border: var(--fm-design-stroke);
    width: min(100%, 330.42px);
    min-height: 55.33px;
    border-width: 1.36px;
    font: 700 18px/var(--fm-button-text-height) var(--fm-body-font);
    letter-spacing: 0;
}
/* Модальные окна */

:where(.fm-mortgage) .fm-modal{border:1px solid #b9c9a8;border-radius:14px;width:calc(100% - 32px);max-width:640px;max-height:calc(100dvh - 40px);padding:28px;color:#30382c;background:white;overflow:auto;margin:auto}:where(.fm-mortgage) .fm-modal::backdrop{background:#15220bc4}:where(.fm-mortgage) .fm-modal__top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px}:where(.fm-mortgage) .fm-modal__close{color:#526d3b;text-decoration:none;font-size:25px;line-height:1;border:1px solid #bdccaf;border-radius:5px;padding:7px 12px;flex:none}:where(.fm-mortgage) .fm-modal__title{font-size:25px;font-weight:700;line-height:1.2}:where(.fm-mortgage) .fm-modal__condition{padding:16px 0;border-bottom:1px solid #dce4d4}:where(.fm-mortgage) .fm-modal__condition-title{font-size:16px;font-weight:700;margin-bottom:7px}:where(.fm-mortgage) .fm-modal__condition-text{font-size:14px;color:#62695c}:where(.fm-mortgage) .fm-modal__rate{font-size:30px;font-weight:700;color:#59970c}:where(.fm-mortgage) .fm-modal__actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:24px}:where(.fm-mortgage) .fm-modal__quote{white-space:pre-line;font-size:12px;line-height:1.6;padding:16px;background:#f2f6eb;border-radius:8px;max-height:220px;overflow:auto;margin:20px 0}:where(.fm-mortgage) .fm-lead__field{margin-bottom:18px}:where(.fm-mortgage) .fm-lead__consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;margin:20px 0}:where(.fm-mortgage) .fm-lead__demo{font-size:13px;color:#65715a;margin-top:14px}:where(.fm-mortgage) .fm-lead__error{color:#a52a22;font-size:13px;margin-top:5px}
@media(max-width:767px){:where(.fm-mortgage) .fm-modal{padding:22px}:where(.fm-mortgage) .fm-modal__title{font-size:23px}}

:where(.fm-mortgage) .fm-lead__legal { margin: -6px 0 18px; }

:where(.fm-mortgage) dialog {
    position: fixed;
    inset: 0;
    z-index: 1010;
}
:where(.fm-mortgage) dl { margin-bottom: 20px; }
:where(.fm-mortgage) h2 { text-transform: none; }
.fm-mortgage .fm-hero__title,
.fm-mortgage .fm-calculator__result .fm-facts__value,
.fm-mortgage .fm-projects__panel .fm-heading {
    color: #fff;
}

/* End */
/* /local/components/romstroy/mortgage.calculator/templates/.default/style.css?179501811245175 */
