html {
    scroll-behavior: smooth;
}

.vp-hidden {
    display: none !important;
}

.vp-container {
    --container-margin: 3%;
    --breakout-margin: 3%;
    display: grid;
    grid-template-columns: [full-width-start] minmax(auto, var(--container-margin)) [breakout-start] minmax(auto, var(--breakout-margin)) [content-start] 1fr [content-end] minmax(auto, var(--breakout-margin)) [breakout-end] minmax(auto, var(--breakout-margin)) [full-width-end];
}

@media (max-width: 640px) {
    .vp-container {
        display: block;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.vp-container > * {
    grid-column: content;
}

.vp-container > .breakout {
    grid-column: breakout;
}

.vp-container > .full-width {
    grid-column: full-width;
}


.vp-header {
    width: 100%;
    height: 77px;
    background: #202020;

    z-index: 99999;
    position: relative;

    --address-width: 220px;
}

@media (max-width: 640px) {
    .vp-header {
        background: none;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
    }
}

.vp-logo {
    display: flex;
    width: 188px;
}
.vp-secondary-container .vp-logo {
    width: 65px;
}
.vp-logo .vp-pc-only svg {
    width: 220px;
    height: 50px;
    margin: 0px 0px -7px 0px;
}

@media (max-width: 640px) {
    .vp-logo {
        flex: 1;
    }

    .vp-logo img {
        max-width: 210px;
    }

    .page-id-128 .vp-logo,
    .page-template-template-default-page .vp-logo {
        min-height: 31px;
        background: url('../img/logo-black.svg') left center / 188px auto no-repeat;
    }

    .page-id-128 .vp-logo > img,
    .page-id-128 .vp-logo > svg,
    .page-id-128 .vp-logo > span,
    .page-template-template-default-page .vp-logo > img,
    .page-template-template-default-page .vp-logo > svg,
    .page-template-template-default-page .vp-logo > span {
        display: none !important;
    }
}

.vp-container__main {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    height: 100%;
}

@media (max-width: 640px) {
    .vp-container__main {
        height: 53px;
        padding: 0 6px;
    }
}

.vp-primary-menu {
    display: flex;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.vp-primary-menu li a {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 29px;

    color: #FFFFFF;
}


.vp-header-contacts {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;

    min-width: var(--address-width);
}

.vp-header-contacts .vp-phone-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: -4px;
}

.vp-header-contacts .vp-phone-popup {
    top: calc(100% + 12px);
    left: 0;
    right: auto;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.vp-header-contacts .vp-phone-popup a {
    color: #161616;
}

.vp-header-contacts .vp-phone-popup a span {
    color: #999;
}

.vp-header-contacts .vp-phone-popup a:active {
    color: #AE080A;
}

.vp-header-contacts .addr {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 29px;
    text-decoration-line: underline;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vp-header-contacts .addr svg {
    height: 28px;
}

.vp-secondary-container {
    position: absolute;
    bottom: 0;
    transform: translate(0, 100%);
    left: 0;
    width: 100%;
    z-index: 9999;
}

.vp-secondary-menu {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid white;
    z-index: 999;

    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: #FFFFFF;

    padding-top: .8rem;
    padding-bottom: .8rem;
}

@media (max-width: 640px) {
    .vp-secondary-menu {
        gap: 8px;
        font-family: 'Circe';
        font-style: normal;
        font-weight: 700;
        font-size: 20px;
        line-height: 29px;
        text-transform: uppercase;
        color: #9F9F9F;
        height: 35px;
        padding-top: 0;
        padding-bottom: 0;
        justify-content: center;
        align-items: center;
        border-bottom: 1px solid #9F9F9F;
    }
}

.vp-secondary-menu__nav {
    display: flex;
    gap: 2rem;
    flex: 1;
}

@media (max-width: 640px) {
    .vp-secondary-menu__nav {
        align-items: center;
        gap: 15px;
    }

    .vp-secondary-menu .vp-logo {
        display: none;
    }

    .vp-secondary-menu__nav li {
        position: relative;
        padding: 0;
    }

    .vp-secondary-menu__nav li:after {
        content: '';
        display: block;
        position: absolute;
        right: -9px;
        top: 44%;
        transform: translateY(-50%);
        width: 1px;
        height: 17px;
        background: #9F9F9F;
    }

    .vp-secondary-menu__nav li.active > a {
        color: #FFFFFF;
        font-weight: 800;
    }

    .vp-secondary-menu__nav {
        flex: none;
    }

    .vp-secondary-menu__right {
        min-width: auto;
        display: flex;
        margin-left: 8px;
        align-items: center;
    }

    .vp-secondary-menu__nav a,
    .vp-secondary-menu__right a {
        color: #9F9F9F;
    }

    .vp-secondary-menu__right a {
        font-size: 13px;
    }
}

@media (min-width: 641px) {
    .vp-secondary-menu__right {
        min-width: var(--address-width);
    }
}




.hero-block {
    position: relative;
    /* height: calc(100vh - 95px); */
    height: 850px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
@media (max-width: 640px) {
    .hero-block {
        height: 750px;
    }
}
.hero-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #3F3939 3.97%, rgba(63, 57, 57, 0.677925) 36.5%, rgba(63, 57, 57, 0.395983) 64.54%, rgba(63, 57, 57, 0) 95.33%);
    z-index: 1;
    opacity: .4;
    height: 60vh;
    z-index: 98;
}
.hero-block__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-block__content {
    margin-top: 20vh;
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: white;
    z-index: 99;
}
.hero-block__title {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 300;
    font-size: 110px;
    line-height: 126px;
    letter-spacing: 0.27em;
    color: #FFFFFF;
    background: none;
    box-shadow: none;
    text-shadow: none;
}
.hero-block__subtitle {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 300;
    font-size: 50px;
    line-height: 50px;
    color: #FFFFFF;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
}

.hero-block__buttons {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.hero-block__button {
    width: 320px;
    border-radius: 30px;
    padding: 10px 0px;
    background: #AE080A;
    color: white;
    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
    color: #FFFFFF;
}

@media (max-width: 640px) {
    .hero-block__content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-top: 0;
        max-width: none;
        width: min(360px, calc(100% - 32px));
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .hero-block__title {
        font-style: normal;
        font-weight: 200;
        font-size: 45px;
        line-height: 60px;
        letter-spacing: .38em;
        color: #FFFFFF;
        margin-bottom: 32px;
    }
    .hero-block__subtitle {
        font-style: normal;
        font-weight: 300;
        font-size: 23px;
        line-height: 25px;
        color: #FFFFFF;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
        order: -1;
        margin-bottom: 15px;
    }
    .hero-block__buttons {
        margin-top: 0;
        width: 100%;
    }
    .hero-block__button {
        width: 100%;
        border-radius: 10px;
        padding: 16px;
        font-size: 16px;
        line-height: 1.474em;
        box-sizing: border-box;
    }
}

.big-red-button {
    border-radius: 10px;
    padding: 1rem 0px;
    background: #AE080A;
    color: white;
    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 35px;
    text-align: center;

    color: #FFFFFF;

    display: block;

    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    text-transform: uppercase;

    color: #FFFFFF;
}



.house-swiper {
    position: relative;
    height: calc(100vh - 95px);
}

.house-swiper::before {
    content: ' ';
    opacity: .4;
    height: 200px;
    z-index: 98;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;

    background: linear-gradient(180deg, #343434 3.97%, rgba(52, 52, 52, 0.677925) 36.5%, rgba(52, 52, 52, 0.395983) 64.54%, rgba(52, 52, 52, 0) 95.33%);
}

.interior-hero {
    overflow: hidden;
    margin-bottom: 0;
    background: #343434;
}

.interior-hero::before {
    pointer-events: none;
}

.interior-hero__slider,
.interior-hero__slider .swiper-wrapper,
.interior-hero__slide {
    height: 100%;
}

.interior-hero__slide {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.interior-hero__content {
    position: absolute;
    inset: 0;
    z-index: 99;
    pointer-events: none;
}

.interior-hero__content .vp-container {
    position: relative;
    height: 100%;
}

.interior-hero__page-title {
    position: absolute;
    left: 9.7%;
    bottom: 8.4%;
    margin: 0;
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-weight: 500;
    font-size: 64px;
    line-height: 1.15;
    letter-spacing: 0;
    color: #fff;
    text-transform: uppercase;
}

.interior-hero__card {
    position: absolute;
    top: 35.5%;
    right: 4.7%;
    width: min(563px, 21vw);
    min-height: auto;
    padding: 40px;
    border-radius: 20px;
    background: rgba(66, 66, 66, 0.3);
    color: #fff;
    overflow: hidden;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.interior-hero__card h2 {
    margin: 0;
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: 0;
    color: #fff;
    text-transform: uppercase;
}

.interior-hero__divider {
    width: 100%;
    height: 1px;
    margin: 15px 0 20px;
    background: rgba(255, 255, 255, 0.74);
}

.interior-hero__card p {
    margin: 0;
    font-family: 'Circe', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.34;
    color: #fff;
    margin-right: 80px;
}

.interior-hero__card p::first-letter {
    text-transform: uppercase;
}

.interior-hero__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 66px;
    margin-top: 40px;
    padding: 0px 24px;
    border-radius: 10px;
    background: #ae080a;
    font-family: 'Circe', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s ease;
}

.interior-hero__button:hover {
    background: #c20a0c;
    color: #fff;
}

.interior-hero__arrows {
    z-index: 100;
}

.interior-hero-thumbs {
    margin-top: 10px;
    margin-bottom: 0;
    overflow: hidden;
}

.interior-hero-thumbs__slider {
    height: 216px;
    overflow: visible;
}

.interior-hero-thumbs__slide {
    position: relative;
    width: 360px;
    height: 216px;
    box-sizing: border-box;
    border: 4px solid #fff;
    border-radius: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    overflow: hidden;
}

.interior-hero-thumbs__slide a {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.interior-telegram-banner {
    height: 115px;
    margin-top: 15px;
    background: #fff;
    box-shadow: 2px 2px 10px rgba(18, 18, 18, 0.25);
}

.interior-telegram-banner__inner {
    width: calc(100% - 200px);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.interior-telegram-banner__text,
.interior-telegram-banner__text-inline,
.interior-telegram-banner__link {
    font-family: 'Circe', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.47;
    color: #161616;
}

.interior-telegram-banner__text,
.interior-telegram-banner__text-inline {
    white-space: nowrap;
}

.interior-telegram-banner__link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    white-space: nowrap;
}

.interior-telegram-banner__link:hover {
    color: #161616;
}

.interior-telegram-banner__link svg {
    width: 32px;
    height: auto;
    flex: 0 0 auto;
}

.interior-telegram-banner__links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.interior-telegram-banner__max img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex: 0 0 auto;
}

.interior-mobile-info {
    display: none;
}

@media (max-width: 1200px) {
    .interior-hero__page-title {
        left: 7.5%;
        font-size: 48px;
    }

    .interior-hero__card {
        right: 7.5%;
        width: 44vw;
        min-height: 0;
        padding: 32px;
    }

    .interior-hero__card h2 {
        font-size: 28px;
    }

    .interior-hero__card p {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .interior-hero.house-swiper {
        height: 261px;
        min-height: 0;
    }

    .interior-hero__slide {
        background-position: center;
    }

    .interior-hero__page-title {
        left: 16px;
        bottom: 8px;
        font-family: 'Circe', sans-serif;
        font-weight: 800;
        font-size: 20px;
        line-height: 1.45;
    }

    .interior-hero__card {
        display: none;
    }

    .interior-hero.house-swiper .vp-swiper-arrows span[data-action="Prev"] {
        margin-left: 9px;
    }

    .interior-hero.house-swiper .vp-swiper-arrows span[data-action="Next"] {
        margin-right: 9px;
    }

    .interior-hero-thumbs {
        margin-top: 10px;
        margin-bottom: 0;
        padding-left: 0;
    }

    .interior-hero-thumbs__slider {
        height: 120px;
    }

    .interior-hero-thumbs__slide {
        width: 120px;
        height: 120px;
        border: 0;
        border-radius: 20px;
    }

    .interior-telegram-banner {
        height: 56px;
        margin-top: 15px;
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    .interior-telegram-banner__inner {
        width: 100%;
        justify-content: center;
        gap: 0;
    }

    .interior-telegram-banner__text {
        display: none;
    }

    .interior-telegram-banner__link {
        gap: 8px;
        font-size: 16px;
        line-height: 1.47;
    }

    .interior-telegram-banner__text-inline {
        font-size: 16px;
        line-height: 1.47;
    }

    .interior-telegram-banner__link svg {
        width: 24px;
    }

    .interior-telegram-banner__links {
        gap: 16px;
    }

    .interior-telegram-banner__max img {
        width: 24px;
        height: 24px;
    }

    .interior-mobile-info {
        display: block;
        padding: 8px 16px 0 8px;
        background: #fff;
    }

    .interior-mobile-info__card {
        width: 100%;
        max-width: 343px;
        min-height: 317px;
        margin: 0 auto;
        padding: 16px;
        border-radius: 10px;
        background: #fff;
        box-shadow: 2px 2px 10px rgba(22, 22, 22, 0.25);
        color: #161616;
    }

    .interior-mobile-info__card h2 {
        margin: 0;
        font-family: 'Circe', sans-serif;
        font-weight: 700;
        font-size: 20px;
        line-height: 1.45;
        color: #161616;
        text-transform: uppercase;
    }

    .interior-mobile-info__divider {
        width: 100%;
        height: 1px;
        margin: 7px 0 16px;
        background: #8b8b8b;
    }

    .interior-mobile-info__card p {
        margin: 0 0 18px;
        font-family: 'Circe', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 1.47;
        color: #161616;
    }

    .interior-mobile-info__button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-height: 48px;
        margin-top: 24px;
        padding: 14px 18px;
        border-radius: 10px;
        background: #ae080a;
        font-family: 'Circe', sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: 18px;
        color: #fff;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
    }

    .interior-mobile-info__button:hover {
        color: #fff;
    }
}

.interior-project-composition.project-sostav {
    position: relative;
    z-index: 1;
    margin: 80px 0 0;
    background: #fff;
}

.interior-project-composition.project-sostav::after {
    display: none;
}

.interior-project-composition__inner {
    width: min(1720px, calc(100% - 80px));
    margin: 0 auto;
}

.interior-project-composition.project-sostav h2 {
    margin: 0 0 40px;
    padding: 0;
    font-family: 'Circe', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: 0.1em;
    color: #161616;
    text-align: left;
    text-transform: uppercase;
}

.interior-project-composition.project-sostav h2::after {
    display: none;
}

.interior-project-composition__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 84px;
}

.interior-project-composition__column {
    min-width: 0;
}

.interior-project-composition__column > div {
    margin: 0;
}

.interior-project-composition__column h3 {
    margin: 44px 0 18px;
    font-family: 'Circe', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.47;
    color: #161616;
}

.interior-project-composition .list-marked {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Circe', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.47;
}

.interior-project-composition .list-marked li {
    position: relative;
    min-height: 32px;
    margin: 0 0 23px;
    padding: 0 0 0 48px;
    color: #161616;
}

.interior-project-composition .list-marked li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 34px;
    height: 34px;
    background: url("data:image/svg+xml,%3Csvg%20width%3D%2234%22%20height%3D%2234%22%20viewBox%3D%220%200%2034%2034%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M23%2012.9999L14.0506%2020.9999L11%2018.2729M33%206.99997L33%2027C33%2030.3137%2030.3137%2033%2027%2033H7C3.68629%2033%201%2030.3137%201%2027V6.99997C1%203.68628%203.68629%201%207%201H27C30.3137%201%2033%203.68628%2033%206.99997Z%22%20stroke%3D%22%23161616%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E") center / contain no-repeat;
}

.interior-smart-banner {
    height: 211px;
    margin-top: 80px;
    background: #fff;
    box-shadow: 2px 2px 10px rgba(18, 18, 18, 0.25);
}

.interior-smart-banner__inner {
    width: min(1460px, calc(100% - 80px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    font-family: 'Circe', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 51px;
    letter-spacing: 0;
    color: #161616;
    text-transform: uppercase;
}

.interior-payment {
    margin-top: 80px;
    background: #fff;
}

.interior-payment__inner {
    width: 100%;
}

.interior-payment h2 {
    width: min(1760px, calc(100% - 160px));
    margin: 0 auto 40px;
    font-family: 'Circe', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: 0.1em;
    color: #161616;
    text-transform: uppercase;
}

.interior-payment__frame {
    position: relative;
    height: 888px;
    overflow: hidden;
}

.interior-payment__slider,
.interior-payment__slider .swiper-wrapper,
.interior-payment__slide {
    height: 100%;
}

.interior-payment__slide {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.interior-payment__arrows {
    z-index: 4;
}

.interior-payment__overlay {
    position: absolute;
    top: 205px;
    right: 10.1%;
    z-index: 3;
    width: 561px;
    min-height: auto;
    padding: 40px;
    border-radius: 10px;
    background: rgba(66, 66, 66, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.interior-payment__overlay-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-family: 'Circe', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.47;
    color: #fff;
}

.interior-payment__check {
    position: relative;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 2px solid #161616;
    border-radius: 5px;
}

.interior-payment__check::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    width: 11px;
    height: 17px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    color: #161616;
}

.interior-payment__check--light {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 0;
    border-color: #fff;
    border-radius: 0;
    background: url("data:image/svg+xml,%3Csvg%20width%3D%2234%22%20height%3D%2234%22%20viewBox%3D%220%200%2034%2034%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M23%2012.9999L14.0506%2020.9999L11%2018.2729M33%206.99997L33%2027C33%2030.3137%2030.3137%2033%2027%2033H7C3.68629%2033%201%2030.3137%201%2027V6.99997C1%203.68628%203.68629%201%207%201H27C30.3137%201%2033%203.68628%2033%206.99997Z%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E") center / contain no-repeat;
}

.interior-payment__check--light::after {
    display: none;
}

.interior-payment__tiles {
    position: absolute;
    left: 50%;
    bottom: 40px;
    z-index: 3;
    width: min(1507px, calc(100% - 160px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.interior-payment__tile {
    min-height: 63px;
    padding: 14px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Circe', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.45;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.interior-payment__tile.blur-background::before {
    background: rgba(66, 66, 66, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
}

.interior-payment__tile--button {
    gap: 16px;
    background: #ae080a;
    font-weight: 700;
}

.interior-payment__tile--button:hover {
    color: #fff;
}

.interior-payment__tile--button svg {
    width: 32px;
    height: auto;
}

.interior-payment__mobile-info {
    display: none;
}

.interior-order {
    min-height: 790px;
    margin-top: 0;
    background: #252525;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

.interior-order__inner {
    width: min(1460px, calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 712px) minmax(0, 562px);
    justify-content: space-between;
    gap: 120px;
    padding-top: 180px;
}

.interior-order h2 {
    margin: 0;
    font-family: 'Figtree', 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 54px;
    line-height: 73px;
    letter-spacing: 0;
    color: #fff;
    text-transform: uppercase;
}

.interior-order__divider {
    width: 263px;
    height: 1px;
    margin: 40px 0 40px;
    background: rgba(255, 255, 255, 0.85);
}

.interior-order__left p,
.interior-order__right p {
    margin: 0;
    font-family: 'Circe', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 40px;
    color: #fff;
}

.interior-order__left p + p {
    margin-top: 24px;
}

.interior-order__right {
    padding-top: 0;
}

.interior-order__right h3 {
    margin: 0 0 40px;
    font-family: 'Circe', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #fff;
}

.interior-order__right a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    margin-top: 64px;
    border: 3px solid #c8b197;
    font-family: 'Circe', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 18px;
    color: #fff;
    text-decoration: none;
}

.interior-order__right a:hover {
    color: #fff;
}

@media (min-width: 1281px) and (max-width: 1600px) {
    .interior-hero__card {
        width: min(563px, 34vw);
        top: 20.5%;
    }

    .interior-smart-banner__inner {
        font-size: 34px;
    }

    .interior-payment__tile {
        font-size: 18px;
    }

    .interior-payment__overlay-item {
        font-size: 22px;
    }

    .interior-order__left p,
    .interior-order__right p {
        font-size: 20px;
    }
}

@media (min-width: 641px) and (max-width: 1280px) {
    .interior-hero__card {
        top: 20.5%;
        width: min(563px, 40vw);
    }

    .interior-telegram-banner__inner {
        width: calc(100% - 100px);
    }

    .interior-smart-banner__inner {
        font-size: 34px;
    }

    .interior-payment__tile {
        min-height: 35px;
        padding: 14px 15px;
        font-size: 16px;
    }

    .interior-payment__overlay-item {
        font-size: 22px;
    }

    .interior-order h2 {
        font-size: 44px;
        line-height: 63px;
    }

    .interior-order__left p,
    .interior-order__right p {
        font-size: 18px;
        line-height: 28px;
    }

    .interior-order__right h3 {
        margin: 0 0 30px;
        font-size: 34px;
        line-height: 30px;
    }
}

@media (max-width: 640px) {
    .interior-project-composition.project-sostav {
        margin: 48px 0 0;
    }

    .interior-project-composition__inner {
    width: auto;
        padding: 0 16px;
    }

    .interior-project-composition.project-sostav h2 {
        margin: 0 0 28px;
        font-size: 20px;
        line-height: 1.45;
        letter-spacing: 0.1em;
        text-align: center;
        white-space: nowrap;
    }

    .interior-project-composition__columns {
        display: block;
    }

    .interior-project-composition__column h3 {
        margin: 28px 0 14px;
        font-size: 16px;
        line-height: 1.47;
    }

    .interior-project-composition .list-marked {
        font-size: 16px;
        line-height: 1.47;
    }

    .interior-project-composition .list-marked li {
        min-height: 24px;
        margin-bottom: 16px;
        padding-left: 32px;
    }

    .interior-project-composition .list-marked li::before {
        top: 0;
        width: 24px;
        height: 24px;
    }

    .interior-smart-banner {
        height: 135px;
        margin-top: 48px;
    }

    .interior-smart-banner__inner {
        width: auto;
        padding: 0 16px;
        align-items: flex-start;
        padding-top: 24px;
        font-size: 18px;
        line-height: 1.65;
        letter-spacing: 0.1em;
    }

    .interior-payment {
        margin-top: 48px;
    }

    .interior-payment h2 {
        width: auto;
        margin: 0 0 24px;
        padding: 0 16px;
        font-size: 20px;
        line-height: 1.45;
        letter-spacing: 0.1em;
        white-space: nowrap;
    }

    .interior-payment__frame {
        height: 535px;
    }

    .interior-payment__overlay {
        display: none;
    }

    .interior-payment__tiles {
        bottom: 24px;
        width: 343px;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
    }

    .interior-payment__tile {
        min-height: 30px;
        padding: 7px 8px;
        font-size: 14px;
        line-height: 1.47;
        border-radius: 10px;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .interior-payment__tile--button {
        gap: 8px;
        order: 99;
    }

    .interior-payment__tile--button svg {
        width: 16px;
    }

    .interior-payment .vp-swiper-arrows {
        top: 50%;
        transform: translate(0, -50%);
    }

    .interior-payment .vp-swiper-arrows span[data-action="Prev"] {
        margin-left: 8px;
    }

    .interior-payment .vp-swiper-arrows span[data-action="Next"] {
        margin-right: 8px;
    }

    .interior-payment__mobile-info {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 25px 16px 25px;
    }

    .interior-payment__mobile-item {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-family: 'Circe', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 1.47;
        color: #161616;
    }

    .interior-payment__check {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        border-width: 2px;
    }

    .interior-payment__mobile-info .interior-payment__check {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        border: 0;
        border-radius: 0;
        background: url("data:image/svg+xml,%3Csvg%20width%3D%2234%22%20height%3D%2234%22%20viewBox%3D%220%200%2034%2034%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M23%2012.9999L14.0506%2020.9999L11%2018.2729M33%206.99997L33%2027C33%2030.3137%2030.3137%2033%2027%2033H7C3.68629%2033%201%2030.3137%201%2027V6.99997C1%203.68628%203.68629%201%207%201H27C30.3137%201%2033%203.68628%2033%206.99997Z%22%20stroke%3D%22%23161616%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .interior-payment__check--light {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-width: 0;
    }

    .interior-payment__check::after {
        left: 6px;
        top: 3px;
        width: 8px;
        height: 13px;
    }

    .interior-payment__mobile-info .interior-payment__check::after {
        display: none;
    }

    .interior-order {
        min-height: 547px;
        margin-top: 0;
    }

    .interior-order__inner {
        width: auto;
        min-height: 547px;
        display: block;
        padding: 40px 16px 64px;
    }

    .interior-order h2 {
        font-family: 'Circe', sans-serif;
        font-size: 24px;
        line-height: 1.47;
    }

    .interior-order__divider {
        width: 97px;
        margin: 24px 0 24px;
    }

    .interior-order__left p,
    .interior-order__right p {
        font-size: 16px;
        line-height: 1.47;
    }

    .interior-order__left p + p {
        margin-top: 10px;
    }

    .interior-order__right {
        margin-top: 24px;
    }

    .interior-order__right h3 {
        margin: 0 0 26px;
        font-size: 20px;
        line-height: 1.47;
    }

    .interior-order__right a {
        height: 64px;
        margin-top: 36px;
        border-width: 3px;
        font-size: 16px;
        line-height: 18px;
        width: auto;
    }
}

.house__title {
    position: absolute;
    bottom: 3rem;
    z-index: 999;
    width: 100%;
}

.house__title__colors {
    display: none !important;
}

.house__title h2 {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 300;
    font-size: 64px;
    line-height: 77px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.house__small-calculator {
    position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.house__small-calculator > .vp-container {
    height: 100%;
}

.house__small-calculator__panel-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    align-items: center;

    position: absolute;
    top: calc(50vh - 77px);
    transform: translate(0, -50%);
    z-index: 99;
}

.house__small-calculator__panel {
    position: relative;
    border-radius: 20px;
    width: 546px;
}

.house__small-calculator__header {
    margin-top: 20px;
    margin-bottom: 10px;
    display: block;
}

.house__small-calculator__badge {
    margin-bottom: 0px;
    display: block;
    line-height: 32px;
    font-size: 18px;
    font-weight: 700;
}

.house__small-calculator__content {
    z-index: 90;
    position: relative;
    color: white;
    padding: 10px 30px 20px 30px;
}

.house__small-calculator__panel::before {
    background: rgba(180, 180, 180, 0.4);
    backdrop-filter: blur(5px) brightness(80%);
    content: ' ';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 89;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.2);
}

.house__small-calculator__title {
    border-bottom: 1px solid white;
    font-family: 'Circe';
    font-style: normal;
    font-size: 36px;
    line-height: 63px;
    color: #FFFFFF;

    display: flex;
    align-items: center;
}

.house__small-calculator__span {
    flex: 1;
}

.house__small-calculator__title--has-promo .house__small-calculator__span {
    flex: 0 0 auto;
    margin-right: 28px;
}

.house__small-calculator__title--has-promo .house__small-calculator__colors {
    margin-left: auto;
}

.house-promo-badge {
    background: #AE080A;
    color: #FFFFFF;
    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    border: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color .2s ease;
}

.house-promo-badge:hover,
.house-promo-badge:focus-visible {
    background: #C40A0C;
    outline: none;
}

.house-promo-badge--calculator {
    flex: 0 0 160px;
    max-width: 160px;
    border-radius: 8px;
    font-size: 20px;
    line-height: 1;
    padding: 10px 16px 8px;
    text-transform: uppercase;
}

.house__send-message {
    margin-top: 1rem;

    background: #FFFFFF;
    box-shadow: 2px 2px 10px rgba(18, 18, 18, 0.25);

    font-family: 'Circe';
    font-style: normal;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 35px;
    color: #161616;
}

.house__send-message__items {
    display: flex;
    height: 5rem;
    align-items: center;
}

.house__send-message a {
    color: #161616;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.house__send-message__left {
    flex: 1;
}

.house__send-message__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.house__send-message__max {
    flex: 0 0 auto;
}

.house__send-message__max img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

body.single-doma {
    background: white;
}


.house__section-title {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: #161616;

    margin-top: 4rem;

    margin-bottom: 1rem;
}
.planirovka .house__section-title {
    margin-left: 4rem;
}

.planirovka__header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.planirovka__header .bedrooms-badge {
    position: static;
    min-width: auto;
    font-size: 18px;
    padding: 10px 25px 6px;
    margin-top: 38px;
    line-height: 1.2;
}

.detail-plan-new .bedrooms-badge {
    display: none;
}

.house__pills {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 40px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    display: flex;
    gap: 35px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.house__pills li {
    color: #919191;
    cursor: pointer;
}

.house__pills small {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 400;
    font-size: 9px;
    line-height: normal;
    text-transform: uppercase;
    color: #161616;
    margin-left: 5px;
    margin-bottom: -3px;
}

.house__pills li.active,
.house__pills li.active small {
    color: #fff;
}

/* MAF Pills — pill-shaped tab buttons (Figma node 4423-4716) */
.house__maf-pills {
    gap: 16px;
    flex-wrap: wrap;
}

.house__maf-pills li {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1px 24px;
    border-radius: 20px;
    border: 2px solid #161616;
    background: #FFFFFF;
    color: #161616;
    font-size: 16px;
    line-height: 2.5em;
    letter-spacing: 0.15em;
}

.house__maf-pills li.active {
    background: #161616;
    color: #FFFFFF;
    font-weight: 700;
    border-color: #161616;
}

.house__complectation__price {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #161616;
    text-align: right;
    margin-top: 0px;
    margin-bottom: 20px;
    min-width: 300px;
}

.house__complectation__shadow {
    display: flex;
    flex-direction: column;
}

.house__section-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    justify-content: space-between;
}

.house__complectation__price--header {
    margin-left: auto;
    flex-shrink: 0;
}

.house__complectation__subtitle {
    font-size: 22px;
}

.house-swiper {
    margin-bottom: .5rem;
}

.house-small-swiper {
    margin-bottom: .5rem;
}

.house-small-swiper .small-page-slider {
    max-height: 216px;
    height: 216px;
}


.small-page-slider .swiper-slide {
    margin-left: .4rem;
    margin-right: .4rem;
    box-sizing: border-box;
    border-radius: 20px;
}


.vp-color-choice {
    display: flex;
    gap: 1rem;
}
.vp-color-choice > button {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
/* обводка кружка с зазором — только на активном */
.vp-color-choice > button.active {
    outline: 1px solid #FFFFFF;
    outline-offset: 2px;
}
.vp-color-choice > button .vp-color-choice__check {
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}
.vp-color-choice > button.active .vp-color-choice__check {
    opacity: 1;
}

.small-page-slider {
    margin-bottom: .6rem;
}
.house__small-calculator__content .house__small-calculator__row:nth-child(2){
    margin-bottom: 4px;
    margin-top: 20px;
}
.house__small-calculator__content .house__small-calculator__row:nth-child(3){
    margin-bottom: 6px;
}
.house__small-calculator__row {
    display: flex;
    margin-bottom: 10px;
}

.house__small-calculator__row > div {
    flex: 1;
}

/* Нетиповой калькулятор: подписи («Комплектация Стандарт») длиннее, чем
   «Коробка дома» в обычном, поэтому колонки делят ширину поровну и переносят
   текст, а не выезжают за карточку. */
.house__small-calculator__row--simple > div {
    flex: 1 1 0;
    min-width: 0;
}

.house__small-calculator__row--simple .vp-checker {
    align-items: flex-start;
}

.house__small-calculator__row--simple .checkmark-check {
    flex: none;
}

.no-pointer-events {
    pointer-events: none;
    cursor: default;
}

.vp-checker {
    display: flex;
    gap: .5rem;
}

.vp-checker .checkmark-check {
    background: none;
    border: 2px solid white;
}

.vp-checker.checker input:checked ~ .checkmark-check {
    background-image: none;
}

.vp-checker.checker .checkmark-check::after {
    border-color: white;
}


.vp-checker.vp-checker--black .checkmark-check {
    background: none;
    border: 2px solid black;
}


.vp-checker.vp-checker--black.checker .checkmark-check::after {
    border-color: black;
}

.house__small-calculator__price {
    margin-top: 1rem;
    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-size: 60px;
    line-height: 1;
    color: #FFFFFF;
    text-align: right;
}

.house__small-calculator__price > span {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 35px;

    color: #FFFFFF;
}

.house__small-calculator__sublabel {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    text-align: right;
}



.house__complectation__details {
    display: flex;
    gap: 9rem;
    align-items: flex-start;
    margin-top: 50px;
}

.house__complectation__details > div {
    flex: 1;
}

/* МАФ-калькулятор: один столбец вместо двух */
.house__maf-complectation__details {
    display: block;
}

.house__maf-complectation__details .house__complectation__detail-item {
    max-width: 760px;
}

.house__maf-complectation__details .house__complectation__detail-item h2 {
    margin-bottom: 20px;
}

/* h2 и subtitle стоят в ряд */
.house__complectation__detail-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 20px;
}

.house__complectation__detail-item > .complectation,
.house__complectation__detail-item > .complectation.dom,
.house__complectation__detail-item > hr,
.house__complectation__detail-item > .complectation-interior-notice {
    flex-basis: 100%;
    min-width: 0;
}

.house__complectation__detail-item h2 {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
    color: #161616;
    margin-bottom: 0;
}

.house__complectation__detail-item .subtitle {
    color: #161616;
    font-family: 'Circe';
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 25px;
}

.complectation-interior-notice {
    color: #000;
    font-family: 'Circe';
    font-size: 19px;
    font-style: normal;
    line-height: normal;
    margin-top: 16px;
    margin-top: -5px;
    font-weight: 300;
}

.vp-accordion-item.accordion-item .accordion-body {
    padding: 25px 0px 20px 45px;
}

.vp-accordion-item.accordion-item .accordion-body .body-price,
.vp-accordion-item.accordion-item .accordion-body .body-notice {
    margin-top: 10px;
}

.vp-accordion-item.accordion-item .accordion-body ul li {
    line-height: 1.5;
    font-size: 20px;
    padding-left: 40px;
}

/* Приглушаем только текст: opacity на самом li затронула бы и маркер :before.
   opacity: 1 обязателен — иначе сработает бутстраповское .fade:not(.show) { opacity: 0 }. */
.vp-accordion-item.accordion-item .accordion-body ul li.fade {
    opacity: 1;
    color: rgba(22, 22, 22, 0.2);
}

.accordion-body ul li:before {
    background-size: 30px;
    width: 25px;
    height: 2px;
    top: 13px;
}

/* В комплектациях маркер списка — галочка вместо прочерка. */
.vp-accordion-item.accordion-item .accordion-body ul li:before {
    background: url('../img/icons/check.svg') center no-repeat;
    background-size: 18px 13px;
    width: 18px;
    height: 13px;
    top: 6px;
}

/* Недоступные опции остаются с прочерком — короче галочки. */
.vp-accordion-item.accordion-item .accordion-body ul li.fade:before {
    background: url('../img/icons/dash.svg') center no-repeat;
    background-size: 30px;
    width: 14px;
    height: 2px;
    top: 13px;
    left: 2px;
}


.accordion-item.vp-accordion-item .accordion-header {
    display: flex;
    gap: 1rem;
}

.accordion-flush .accordion-item.vp-accordion-item {
    border: 0;
    font-family: 'Circe';
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 35px;
    color: #161616;
    margin-bottom: 1.5rem;
}


.vp-accordion-item.accordion-item .accordion-button .full-button {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 300;
    font-size: 22px;
    line-height: 35px;
    text-decoration-line: underline;

    color: #898989;
}

.accordion-item.vp-accordion-item .accordion-button {
    width: auto;
    padding: 0;
}

.vp-accordion-item.accordion-item .accordion-header {
    padding-left: 0;
}

.vp-accordion-item.accordion-item .name {
    flex: 1;
}

.vp-accordion-item.accordion-item .accordion-button {

}

.vp-accordion-item.accordion-item .accordion-body ul li {
    padding-bottom: .5rem;
    line-height: 1.2;
}

.accordion .vp-accordion-item.accordion-item:last-child .accordion-button {
    border: 0;
}

.vp-accordion-item .accordion-header .no-price {
    display: none;
}

.vp-ipoteka-section {
    display: flex;
    gap: 15rem;
}

.vp-ipoteka-section .column-left {
    flex: 1;

}

.vp-ipoteka-section .column-right {
    flex: 1;
}

.vp-ipoteka-section .list-marked li {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 25px;
    color: #161616;
}

.vp-ipoteka-section .vp-company-logos {
    display: flex;
    gap: 1rem;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.vp-ipoteka-section .bank-partners {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 35px;
    color: #161616;
}

.vp-ipoteka-section .vp-company-logos img {
    max-height: 102px;
}

.full-scale-border-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 28px 0;
    gap: 10px;

    border: 2px solid #161616;
    border-radius: 20px;

    color: #161616;

    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    color: #161616;
}

.vp-ipoteka-contact {
    gap: 20px;
}

.vp-ipoteka-contact__socials {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.vp-ipoteka-contact__socials a {
    display: flex;
    align-items: center;
}

.vp-ipoteka-contact__socials svg,
.vp-ipoteka-contact__socials img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.vp-secondary-menu__houses {
    display: flex;
    justify-content: end;
    padding-right: 65px;
}

.vp-secondary-menu__houses ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;

    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.5em;
    text-transform: uppercase;

    color: #EDEDED;

    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.vp-secondary-menu__houses ul a {
    color: #EDEDED;
}

.vp-secondary-menu__houses ul li {
    position: relative;
}

.vp-secondary-menu__houses ul li:not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    right: -17px;
    top: 45%;
    transform: translateY(-50%);
    width: 2px;
    height: 25px;
    background-color: #EDEDED;
}

.vp-secondary-menu__houses ul li.active > a {
    color: #FFFFFF;
    font-weight: 600;
    text-transform: none;
}

@media (max-width: 640px) {
    .vp-secondary-menu__houses {
        justify-content: center;
        padding-right: 0;
    }

    .vp-secondary-menu__houses ul {
        color: #9F9F9F;
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
        gap: 19px;
    }

    .vp-secondary-menu__houses ul a {
        color: #9F9F9F;
    }

    .vp-secondary-menu__houses ul li:not(:last-child)::after {
        right: -10px;
        width: 1px;
        height: 15px;
        background-color: #9F9F9F;
    }

    .vp-secondary-menu__houses ul li.active > a {
        color: #FFFFFF;
        font-weight: 800;
        text-transform: uppercase;
    }
}

.house-main-slider {
    --button-width: 240px;
    --slide-gap: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.house-main-slide {

    width: calc(100% - 2 * var(--button-width) - 2 * var(--slide-gap));
    height: 60vh;
    position: relative;
}

.house-main-slide__img {
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
}

.house-promo-badge--main-slide {
    position: absolute;
    top: 30px;
    right: 0;
    z-index: 3;
    min-width: 320px;
    border-radius: 10px 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
    padding: 16px 40px 14px;
}

.house-main-slide__title-row {
    position: absolute;
    left: 2rem;
    bottom: 1rem;
    width: 100%;
}

.house-main-slide__title-row {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    opacity: 1;
    transition: opacity .1s;
}

.house-main-slide__title-row h4 {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    text-transform: uppercase;
    line-height: 47px;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
}


.house-main-slide__title-row > div {
    display: flex;
    align-items: center;
}

.house-main-slide__cell-content {
    padding: .3rem .8rem .1rem;
    font-family: 'Circe';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 35px;

    color: #FFFFFF;
}


.blur-background {
    position: relative;
}

.blur-background > * {
    z-index: 2;
    position: relative;
}
.blur-background::before {
    background: rgba(180, 180, 180, 0.4);
    backdrop-filter: blur(5px) brightness(80%);
    content: ' ';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.2);
}


.house-main-slide__button {
    background: #AE080A;
    border-radius: 10px;
    color: white;

    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 35px;

    padding: .3rem .8rem;

    display: flex;
    align-items: center;
    gap: .5rem;

}

.house-main-slide {
    transform: filter .3s;
}

.house-main-slide.swiper-slide-prev .house-main-slide__title-row,
.house-main-slide.swiper-slide-next .house-main-slide__title-row{
    opacity: 0;

}

.house-main-slider__left-button,
.house-main-slider__right-button {
    position: absolute;
    width: var(--button-width);
    height: 100%;
    background: rgba(62, 52, 42, 0.77);
    z-index: 9991;
    cursor: pointer;
}

.house-main-slider__left-button {
    left: 0;
    top: 0;
}
.house-main-slider__right-button {
    right: 0;
    top: 0;
}

@media (min-width: 641px) {
    .house-main-slide__title-row > .blur-background:nth-child(2) .house-main-slide__cell-content {
        margin-top: -5px;
    }

    .house-main-slide__row-break {
        flex: 0 0 0px;
        width: 0;
        overflow: hidden;
        margin: 0 calc(-0.5 * 1rem);
    }

    .house-main-slider__left-button,
    .house-main-slider__right-button {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .house-main-slider__left-button::after {
        content: '';
        display: block;
        width: 24px;
        height: 44px;
        background: url('../images/arrow-left.svg') no-repeat center;
        background-size: contain;
    }

    .house-main-slider__right-button::after {
        content: '';
        display: block;
        width: 24px;
        height: 44px;
        background: url('../images/arrow-right.svg') no-repeat center;
        background-size: contain;
    }
}
@media (max-width: 1600px) and (min-width: 641px) {
    .house-main-slide__title-row {
        gap: 0.8rem;
    }
    .house-main-slide__title-row h4 {
        font-size: 14px;
    }
    .house-main-slide__cell-content {
        font-size: 16px;
    }
    .house-main-slide__button {
        font-size: 16px;
    }
    .house__small-calculator__panel {
        width: 600px;
    }
    .house__title h2 {
        font-size: 52px;
    }
    .vp-swiper-arrows span[data-action="Prev"] svg,
    .vp-swiper-arrows span[data-action="Next"] svg {
        width: 22px;
        height: 48px;
    }
    .house__small-calculator__price {
        font-size: 52px;
    }
    .house__small-calculator__panel-container {
        top: calc(50vh - 50px);
        right: 10px;
    }
    .house__title {
        bottom: 2rem;
    }

}
@media (max-width: 1500px) and (min-width: 641px) {
    .house__section-title {
        font-size: 28px;
        line-height: 32px;
    }
    .house__complectation__subtitle {
        font-size: 18px;
    }
    .house__complectation__details {
        gap: 5rem;
        align-items: flex-start;
        margin-top: 30px;
    }
    .house__complectation__price {
        font-size: 30px;
    }
}
@media (max-width: 640px) {
    .house-main-slider {
        --button-width: 0px;
        --slide-gap: 0px;
        margin-bottom: 15px;
    }

    .house-main-slide {
        height: 325px;
    }

    .house-promo-badge--main-slide {
        top: 35px;
        min-width: 140px;
        font-size: 22px;
        line-height: 1;
        padding: 16px 22px 14px;
    }

    .house-main-slide__title-row {
        flex-wrap: wrap;
        left: 16px;
        right: 16px;
        bottom: 25px;
        width: auto;
        gap: 5px 8px;
    }

    .house-main-slide__row-break {
        flex-basis: 100%;
        height: 0;
        display: block;
    }

    .house-main-slide__title-row h4 {
        font-size: 15px;
        line-height: 1.47;
    }

    .house-main-slide__title-row .house-main-slide__cell-content {
        font-size: 16px;
        line-height: 1.47;
        padding: .45rem .5rem;
    }

    .house-main-slide__button {
        font-size: 16px;
        line-height: 1.47;
        padding: .45rem .5rem;
    }

    .house-main-slide .blur-background::before {
        background: rgba(66, 66, 66, 0.3);
        border-radius: 10px;
        backdrop-filter: none;
    }

    .house-main-slider__left-button,
    .house-main-slider__right-button {
        width: 40px;
        background: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .house-main-slider__left-button::before {
        content: '';
        display: block;
        width: 16px;
        height: 29px;
        background: url("data:image/svg+xml,%3Csvg width='16' height='29' viewBox='0 0 16 29' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='14,2 2,14.5 14,27' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    }

    .house-main-slider__right-button::before {
        content: '';
        display: block;
        width: 16px;
        height: 29px;
        background: url("data:image/svg+xml,%3Csvg width='16' height='29' viewBox='0 0 16 29' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='2,2 14,14.5 2,27' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    }
}

/* === house-swiper / house-small-swiper mobile (single-doma) === */
@media (max-width: 640px) {
    .house-swiper {
        height: 274px;
        margin-bottom: 8px;
    }

    .house-swiper::before {
        height: 139px;
    }

    .house__small-calculator__panel-container {
        display: none;
    }

    .house__title {
        bottom: 15px;
        z-index: 50;
    }

    .house__title h2 {
        font-size: 20px;
        font-weight: 300;
        line-height: 1.47em;
    }

    /* Thumbnails */
    .house-small-swiper {
        margin-bottom: 0;
    }

    .house-small-swiper .small-page-slider {
        height: 120px;
        max-height: 120px;
    }

    .house-small-swiper .small-page-slider:not([data-slider_label="interior"]) {
        display: none !important;
    }

    .house-small-swiper .small-page-slider .swiper-slide {
        margin-left: 0;
        margin-right: 0;
        border-radius: 20px;
    }

    /* Color buttons in mobile slider title row */
    .house__title__row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .house__title__colors {
        display: flex !important;
        gap: 13px;
    }

    .house__title__colors > button {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
}

/* === house__send-message mobile (single-doma) === */
@media (max-width: 640px) {
    .house__send-message {
        margin-top: 0;
        height: 56px;
        display: flex;
        align-items: center;
        box-shadow: 2px 2px 10px 0px rgba(18, 18, 18, 0.25);
    }

    .house__send-message .vp-container {
        width: 100%;
    }

    .house__send-message__items {
        height: 56px;
        justify-content: center;
    }

    .house__send-message__left {
        display: none;
    }

    .house__send-message a {
        gap: 8px;
        font-size: 16px;
        line-height: 1.47em;
    }
}

/* === Дом калькулятор mobile (single-doma) === */
.house__small-calculator__mobile {
    display: none;
}

@media (max-width: 640px) {
    .house__small-calculator__mobile {
        display: block;
        margin: 0 16px;
        margin-top: 16px;
        border-radius: 10px;
        box-shadow: 2px 2px 10px 0px rgba(22, 22, 22, 0.25);
        overflow: hidden;
    }

    .house__small-calculator__mobile .house__small-calculator__panel::before {
        display: none;
    }

    .house__small-calculator__mobile .house__small-calculator__panel {
        width: 100%;
        border-radius: 10px;
        background: #FFFFFF;
    }

    .house__small-calculator__mobile .house__small-calculator__content {
        color: #161616;
        padding: 16px;
    }

    .house__small-calculator__mobile .house__small-calculator__title {
        border-bottom: 1px solid #161616;
        font-size: 20px;
        line-height: 1.47em;
        color: #161616;
        margin-bottom: 16px;
    }

    .house__small-calculator__mobile .house-promo-badge--calculator {
        flex-basis: auto;
        min-width: 118px;
        max-width: 140px;
        margin-right: 0;
        font-size: 16px;
        padding: 9px 14px 7px;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .house__small-calculator__mobile .house__small-calculator__span {
        font-size: 20px;
        font-weight: 700;
        line-height: 1.47em;
        margin-bottom: 10px;
    }

    .house__small-calculator__mobile .house__small-calculator__header {
        color: #161616;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .house__small-calculator__mobile .house__small-calculator__row {
        margin-bottom: 8px;
    }

    .house__small-calculator__mobile .house__small-calculator__groups {
        display: flex;
        gap: 44px;
    }
    .house__small-calculator__row {
        gap: 44px;
    }
    .house__small-calculator__row > div {
        flex: none;
    }

    .house__small-calculator__row--simple {
        gap: 16px;
    }

    .house__small-calculator__row--simple > div {
        flex: 1 1 0;
        min-width: 0;
    }

    .house__small-calculator__mobile .house__small-calculator__group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .house__small-calculator__mobile .house__small-calculator__badge {
        color: #161616;
        font-size: 14px;
        font-weight: 700;
        line-height: 25px;
        margin-left: 0px;
    }

    .house__small-calculator__mobile .vp-checker span {
        color: #161616;
        font-size: 14px;
    }

    .house__small-calculator__mobile .checkmark-check {
        border-color: #161616;
        background-color: #fff;
    }

    .house__small-calculator__mobile .checker .checkmark-check::after {
        border-color: black;
        left: 5px;
        top: 1px;
    }

    .house__small-calculator__mobile .house__small-calculator__price {
        font-size: 20px;
        font-weight: 700;
        line-height: 1.47em;
        color: #161616;
        text-align: right;
        margin-top: 16px;
    }

    .house__small-calculator__mobile .house__small-calculator__price > span {
        font-size: 16px;
        color: #161616;
    }

    .house__small-calculator__mobile .house__small-calculator__sublabel {
        font-size: 12px;
        line-height: 1.47em;
        text-align: right;
        margin-top: -6px;
        color: #000;
    }

    .house__small-calculator__mobile .house__small-calculator__buttons {
        margin-top: 16px;
    }

    .house__small-calculator__mobile .big-red-button {
        display: block;
        height: 48px;
        line-height: 48px;
        padding: 0;
        font-size: 16px;
        border-radius: 10px;
    }
}

/* === Планировка mobile (single-doma) === */
@media (max-width: 640px) {
    /* Заголовок секции */
    .single-doma .house__section-title {
        font-size: 20px;
        line-height: 1.47em;
        margin-top: 30px;
        margin-bottom: 0px;
    }
    .planirovka .house__section-title {
        margin-left: 10px;
    }
    .planirovka__header {
        gap: 10px;
    }
    .planirovka__header .bedrooms-badge {
        font-size: 12px;
        padding: 8px 12px 4px;
        margin-top: 23px;
    }

    /* Изображение планировки: 210px высота */
    .detail-plan-new .images {
        height: 400px;
        padding: 0;
    }

    .detail-plan-new .images.has-bedrooms,
    .has-bedrooms-mob {
        padding-top: 0 !important;
    }

    /* Кнопки: flatten группы в единый flex-ряд */
    .detail-plan-new .mixed .buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 0px;
        margin-left: 0;
        width: auto;
    }

    .detail-plan-new .mixed .buttons .f-cat,
    .detail-plan-new .mixed .buttons .f-trig,
    .detail-plan-new .mixed .buttons .f-num {
        display: contents;
    }

    /* Кнопка дефолт: белый фон, тёмный border */
    .detail-plan-new .mixed .buttons button {
        margin-bottom: 0;
        height: 32px;
        border-radius: 20px;
        border: 1px solid #161616;
        background: #FFFFFF;
        color: #161616;
        font-family: 'Circe';
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        padding: 7px 16px;
        cursor: pointer;
        line-height: 1.47em;
        box-sizing: border-box;
    }

    /* Активная кнопка: тёмный фон, белый текст */
    .detail-plan-new .mixed .buttons button.active {
        background: #6A6A6A;
        color: #FFFFFF;
        border-color: #6A6A6A;
    }

    /* plan-category: дефолт белый */
    .detail-plan-new .mixed .buttons .plan-category {
        background: #FFFFFF;
        color: #161616;
        border-color: #161616;
    }

    /* plan-category активная: тёмная */
    .detail-plan-new .mixed .buttons .plan-category.active {
        background: #6A6A6A;
        color: #FFFFFF;
        border-color: #6A6A6A;
    }
}

/* === Комплектация дома mobile (single-doma) === */
@media (max-width: 640px) {
    .house__section-header {
        gap: 5px;
        flex-direction: column;
    }

    /* Subtitle "Выберите уровень готовности" */
    .house__complectation__subtitle {
        font-size: 16px;
        line-height: 1.47em;
        margin-bottom: 15px;
    }

    /* Скрываем <br> после subtitle */
    .house__complectation__subtitle + br {
        display: none;
    }
    #mafy-cat br {
        display:none;
    }

    /* Все белые карточки (pills-card + detail-item-cards) */
    .house__complectation__shadow {
        padding: 10px 10px;
        margin-bottom: 0px;
        width: 93%;
        column-gap: 10px;
    }

    .accordion-body ul li:before {
        width: 15px;
        top: 8px;
    }

    /* Цена комплектации */
    .house__complectation__price {
        font-size: 25px;
        line-height: 1em;
        margin-top: 0rem;
        margin-bottom: 0rem;
    }

    /* Details: складываем в колонку */
    .house__complectation__details {
        flex-direction: column;
        gap: 0;
        margin-top: 10px;
    }

    .house__maf-complectation__details .house__complectation__detail-item {
        max-width: 100%;
    }

    /* h2 "Дом" / "Интерьер" в карточках */
    .house__complectation__detail-item h2 {
        font-size: 20px;
        line-height: 1.47em;
        font-weight: 700;
        margin-bottom: 0;
    }

    /* Subtitle строк ("Сроки:", подзаголовок) */
    .house__complectation__detail-item .subtitle {
        font-size: 16px;
        margin-bottom: 12px;
    }

    /* Сноска в блоке "Интерьер" */
    .complectation-interior-notice {
        font-size: 13px;
        margin-top: 0px;
    }

    /* Accordion item font size */
    .accordion-flush .accordion-item.vp-accordion-item {
        font-size: 16px;
        line-height: 1.47em;
        margin-bottom: 8px;
    }

    /* Accordion header: flex row с checkbox + name + подробнее */
    .accordion-item.vp-accordion-item .accordion-header {
        gap: 8px;
        align-items: center;
    }

    /* Checkbox в accordion */
    .house__complectation__detail-item .checkmark-check {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        border-radius: 5px;
        border: 1px solid #161616;
        background-color: #fff;
    }

    .house__complectation__detail-item .checker .checkmark-check::after {
        border-color: black;
    }


    /* Название позиции */
    .house__complectation__detail-item .vp-accordion-item .name {
        font-size: 16px;
        line-height: 1.47em;
        color: #161616;
    }

    /* Браузер распознаёт цены как номера телефонов — сбрасываем стиль авто-ссылок */
    .house__complectation__detail-item .vp-accordion-item .name a[href^="tel"],
    .house__complectation__detail-item .vp-accordion-item .name a[x-apple-data-detectors] {
        color: inherit !important;
        text-decoration: none !important;
        pointer-events: none;
    }

    /* Кнопка "Подробнее" */
    .vp-accordion-item.accordion-item .accordion-button .full-button {
        font-size: 12px;
        line-height: 1.47em;
        color: #898989;
        text-decoration: underline;
        white-space: nowrap;
    }

    /* Скрываем стрелку аккордеона на мобайле (оставляем только "Подробнее") */
    .house__complectation__detail-item .accordion-button span:first-child {
        display: none;
    }

    /* Accordion body padding */
    .vp-accordion-item.accordion-item .accordion-body {
        padding: 12px 0 12px 32px;
    }

    /* Список опций в accordion body */
    .vp-accordion-item.accordion-item .accordion-body ul li {
        font-size: 14px;
        line-height: 1.5;
        padding-left: 24px;
    }

    .vp-accordion-item.accordion-item .accordion-body ul li:before {
        background-size: 14px 10px;
        width: 14px;
        height: 10px;
        top: 5px;
    }

    .vp-accordion-item.accordion-item .accordion-body ul li.fade:before {
        background-size: 15px;
        width: 15px;
        height: 2px;
        top: 8px;
    }

    /* HR разделитель в карточке */
    .house__complectation__detail-item hr {
        margin: 16px 0 0px;
        border-color: rgba(22, 22, 22, 0.4);
    }
}

.page-id-10,
.page-id-128,
.page-template-template-default-page {
    background: white;
}

.model-rows__inner .top-filter h2 {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 80px;
    margin-bottom: -5px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #202020;
}

.model-rows__inner .top-filter .triggers > button {
    padding: .7rem 1.7rem;
    height: auto;
}

@media (max-width: 640px) {
    .model-rows__inner .top-filter .triggers > button:first-child {
        padding: .5rem 1rem;
        height: auto;
    }
}

.model-rows__inner .top-filter {
    padding: 0;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

#MafyHeading .model-rows__inner .top-filter {
    align-items: start;
}

.model-rows__inner .top-filter .triggers .params-popup {
    z-index: 9999;
}

@media (max-width: 640px) {
    .model-rows__inner .top-filter {
        margin-top: 40px;
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 15px;
        padding: 0;
        display: flex;
        flex-direction: column-reverse;
        gap: 24px;
        align-items: end;
    }

    .model-rows__inner .top-filter h2 {
        font-family: 'Circe';
        font-style: normal;
        font-weight: 700;
        font-size: 20px;
        line-height: 29px;
        letter-spacing: 0.1em;
        color: #161616;
        margin: 0;
    }

    .model-rows__inner .top-filter .triggers {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }

    .model-rows__inner .top-filter .triggers > button.by-params {
        background: #AE080A;
        border-radius: 10px;
        height: 32px;
        padding: 0 20px;
        font-family: 'Circe';
        font-style: normal;
        font-weight: 700;
        font-size: 16px;
        line-height: 1;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-transform: none;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    .model-rows__inner .top-filter .triggers > button.by-params span {
        margin-bottom: -2px;
    }
}

@media (min-width: 640px) {
    .vp-mobile-only {
        display: none;
    }
}

@media (max-width: 640px) {
    .vp-pc-only {
        display: none;
    }
}

/* Menu Wide */
.vp-header .menu-wide {
  display: none;
  overflow-y: scroll;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: #fff;
  z-index: 10;
}

.menu-wide__buttons {
    display: flex;
    flex-direction: row-reverse;
    padding: .5rem;
}

.vp-header .menu-wide.active {
  display: block;
}

.vp-header .menu-wide .close {
  position: absolute;
  right: 40px;
  top: 55px;
  cursor: pointer;
}

.vp-header .menu-wide .logotype {
  margin: 170px 0px 85px;
  text-align: center;
}

.vp-header .menu-wide .search-box {
  margin-bottom: 75px;
}

.vp-header .menu-wide .search-box .form-group {
  position: relative;
}

.vp-header .menu-wide .search-box .form-group input[type='text'] {
  border: 1px solid rgba(217, 217, 217, 0.5);
  color: #000;
  font-weight: 300;
  font-size: 18px;
  line-height: 40px;
  height: 80px;
  padding-bottom: 0px;
  padding-left: 30px;
  padding-right: 30px;
}

.vp-header .menu-wide .search-box .form-group input[type='text']::-moz-placeholder {
  color: #d9d9d9;
}

.vp-header .menu-wide .search-box .form-group input[type='text']:-ms-input-placeholder {
  color: #d9d9d9;
}

.vp-header .menu-wide .search-box .form-group input[type='text']::placeholder {
  color: #d9d9d9;
}

.vp-header .menu-wide .search-box .form-group input[type='submit'] {
  background: url('../img/icons/search-gold.svg') center no-repeat;
  background-size: 25px;
  width: 25px;
  height: 29px;
  border: 0px;
  padding: 0px;
  cursor: pointer;
  position: absolute;
  right: 30px;
  top: 26px;
}

.vp-header .menu-wide .row {
  margin: 0px;
  padding-bottom: 120px;
}

.vp-header .menu-wide .links a {
  color: #000;
}

.vp-header .menu-wide .links .block:first-child {
  margin-bottom: 40px;
}

.vp-header .menu-wide .links .block > a,
.vp-header .menu-wide .links .block > p > a {
  font-weight: 700;
  font-size: 24px;
  line-height: 40px;
  padding-bottom: 7px;
  display: inline-block;
}

.vp-header .menu-wide .links .block > a:hover,
.vp-header .menu-wide .links .block > p > a:hover {
  color: #c8b197;
}

.vp-header .menu-wide .links .block ul li {
  padding-bottom: 14px;
}

.vp-header .menu-wide .links .block ul li:last-child {
  padding-bottom: 0px;
}

.vp-header .menu-wide .links .block ul li a {
  font-weight: 300;
  font-size: 24px;
  line-height: 28px;
}

.vp-header .menu-wide .links .block ul li a:hover {
  color: #c8b197;
}

.vp-header .menu-wide .text-block {
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  margin-bottom: 45px;
}

.vp-header .menu-wide .text-block:last-child {
  margin-bottom: 0px;
}

.vp-header .menu-wide .text-block a {
  color: #000;
  font-weight: 700;
  margin-top: 3px;
  display: inline-block;
}

.vp-header .menu-wide .text-block a:hover {
  color: #c8b197;
}

.vp-header .menu-wide {
    z-index: 99999;
}

@media (max-width: 991px) {
  .vp-header .menu-wide .logotype {
    margin: 35px 30px 15px;
    text-align: left;
  }

  .vp-header .menu-wide .logotype a svg,
  .vp-header .menu-wide .logotype a img {
    width: 270px;
  }

  .vp-header .menu-wide .search-box {
    margin: 0px 30px 45px;
  }

  .vp-header .menu-wide .close {
    right: 30px;
    top: 27px;
    z-index: 2;
  }

  .vp-header .menu-wide .close svg {
    width: 28px;
  }

  .vp-header .menu-wide .row {
    margin: 0px;
    padding-bottom: 20px;
    flex-direction: column;
    align-items: center;
  }

  .vp-header .menu-wide .row .col-3 {
    width: 100%;
  }

  .vp-header .menu-wide .row .col-3:last-child {
    display: none;
  }

  .vp-header .menu-wide .row .col-3 .block {
    text-align: center;
    margin-bottom: 25px;
  }

  .vp-header .menu-wide .links .block ul li a {
    font-size: 22px;
    line-height: 26px;
  }

  .vp-header .menu-wide .links .block > a,
  .vp-header .menu-wide .links .block > p > a {
    font-size: 22px;
    line-height: 37px;
    padding-bottom: 11px;
  }
}



.vp-swiper-arrows {
    position: absolute;
    top: 50%;
    z-index: 99;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translate(0, -50%);
}

.vp-swiper-arrows span[data-action="Prev"] {
    margin-left: 3rem;
}

.vp-swiper-arrows span[data-action="Next"] {
    margin-right: 3rem;
}



/* === МАФЫ LOFTHAUS mobile (single-doma) === */
@media (max-width: 640px) {
    /* Pills: уменьшаем размер и отступы */
    .house__maf-pills {
        gap: 8px;
        margin-bottom: 8px;
    }

    .house__maf-pills li {
        height: 32px;
        border-radius: 20px;
        border: 1px solid #161616;
        font-size: 12px;
        line-height: 32px;
        letter-spacing: 0.05em;
        padding: 0 16px;
    }
}

.house-maf {
    position: relative;
}

.house-maf__container {

}

.house-maf__bottom-row {
    position: absolute;
    left: 0;
    bottom: 0;
    padding-left: 2rem;
    padding-bottom: 2rem;
    width: 100%;
    display: flex;
    gap: 1rem;
    align-items: stretch;
    opacity: 1;
    transition: opacity .1s;
    box-sizing: border-box;
    justify-content: center;
}

.house-maf__bottom-row h4 {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 47px;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
}


.house-maf__bottom-row > div {
    display: flex;
    align-items: center;
}

.house-maf__bottom-row__cell-content {
    padding: .3rem .8rem 0rem;
    font-family: 'Circe';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: normal;

    color: #FFFFFF;
}
.house-maf__bottom-row__button {
    z-index: 1;
    background: #AE080A;
    border-radius: 10px;
    color: white;

    font-family: 'Circe';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 35px;

    padding: .3rem .8rem 0rem;

    display: flex;
    align-items: center;
    gap: .5rem;

}

/* === ИПОТЕКА mobile (single-doma) === */
@media (max-width: 640px) {
    /* Section: column layout, убираем огромный gap */
    .vp-ipoteka-section {
        flex-direction: column;
        gap: 24px;
    }

    /* List items: 16px, #161616, padding-left с иконкой */
    .vp-ipoteka-section .list-marked li {
        font-size: 16px;
        line-height: 1.47em;
        color: #161616;
        padding-left: 32px;
        padding-bottom: 16px;
        margin-bottom: 0;
    }

    /* Кнопка "Связаться по Ипотеке": auto height, padding как в Figma */
    .full-scale-border-button {
        height: auto;
        padding: 16px 36px;
        border-radius: 10px;
        font-size: 16px;
        line-height: 1.47em;
        margin-top: 10px;
        text-align: center;
    }

    /* Bank partners: переставляем логотипы выше описания через column-reverse */
    .vp-ipoteka-section .bank-partners {
        display: flex;
        flex-direction: column-reverse;
        gap: 35px;
        font-size: 16px;
        line-height: 1.47em;
        color: #161616;
        margin-bottom: 40px;
        margin-top: 20px;
    }

    /* Скрываем лишний <br> внутри bank-partners */
    .vp-ipoteka-section .bank-partners br {
        display: none;
    }

    /* Логотипы банков */
    .vp-ipoteka-section .vp-company-logos {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        align-items: center;
    }

    .vp-ipoteka-section .vp-company-logos img,
    .vp-ipoteka-section .vp-company-logos svg {
        max-height: 88px;
        width: auto;
    }

    /* Скрываем пустые <p>&nbsp;</p> в конце шаблона */
    .vp-ipoteka-section ~ p {
        display: none;
    }
}

/* === Детальная страница дома (single-doma), только мобильная версия === */
@media (max-width: 640px) {
    /* Хедер в потоке документа с отступами */
    .single-doma .vp-header,
    .page-id-128 .vp-header,
    .page-template-template-default-page .vp-header {
        position: relative;
        margin-top: 55px;
        margin-bottom: 25px;
        left: auto;
        top: auto;
        z-index: 100;
    }

    /* Цвет иконки бургера */
    .single-doma .vp-header [data-action="OpenMobileMenu"] svg path,
    .page-id-128 .vp-header [data-action="OpenMobileMenu"] svg path,
    .page-template-template-default-page .vp-header [data-action="OpenMobileMenu"] svg path {
        fill: #161616;
    }

    /* Вторичный контейнер в потоке документа */
    .single-doma .vp-secondary-container,
    .page-id-128 .vp-secondary-container,
    .page-template-template-default-page .vp-secondary-container {
        position: relative;
        transform: none;
    }

    /* Меню серий: justify-content end + цвета из Figma */
    .single-doma .vp-secondary-menu,
    .page-id-128 .vp-secondary-menu,
    .page-template-template-default-page .vp-secondary-menu {
        justify-content: end;
        border-bottom: 2px solid #AE080A;
    }

    .single-doma .vp-secondary-menu__nav li.active > a,
    .page-id-128 .vp-secondary-menu__nav li.active > a,
    .page-template-template-default-page .vp-secondary-menu__nav li.active > a {
        color: #161616;
    }

    .single-doma .vp-secondary-menu__nav li:after,
    .page-id-128 .vp-secondary-menu__nav li:after,
    .page-template-template-default-page .vp-secondary-menu__nav li:after {
        background: #9F9F9F;
    }

    /* Меню домов: justify-content end */
    .single-doma .vp-secondary-menu__houses {
        justify-content: end;
    }

    .single-doma .vp-secondary-menu__houses ul li.active > a {
        color: #161616;
    }
}

/* === Главная страница (page-id-10), только мобильная версия === */
@media (max-width: 640px) {
    .page-id-10 .vp-secondary-menu__nav a,
    .page-id-10 .vp-secondary-menu__right a {
        color: #fff;
    }

    .page-id-10 .vp-secondary-menu {
        border-bottom: 2px solid #AE080A;
        justify-content: end;
    }

    .page-id-10 .vp-header {
        top: 55px;
    }

    .page-id-10 .vp-secondary-container {
        bottom: -10px;
    }

    /* MAF slider: высота 535px по Figma (y=73…608) */
    .mafy-slider {
        height: 290px !important;
        border-radius: 0 0 20px 20px;
    }

    /* Bottom overlay row: flex-wrap, расположение по Figma */
    .house-maf__bottom-row {
        flex-wrap: wrap;
        padding: 12px 16px 24px;
        gap: 8px;
        justify-content: flex-start;
        align-items: center;
    }



    /* Каждая blur-ячейка: высота 40px, border-radius 10px */
    .house-maf__bottom-row > div {
        height: 40px;
        border-radius: 10px;
    }

    /* Упрощаем blur-background: убираем backdrop-filter */
    .house-maf__bottom-row .blur-background::before {
        background: rgba(66, 66, 66, 0.3);
        backdrop-filter: none;
        border-radius: 10px;
    }

    /* h4 (имя): 20px bold */
    .house-maf__bottom-row h4 {
        font-size: 20px;
        line-height: 40px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Текст в ячейках */
    .house-maf__bottom-row .house-maf__bottom-row__cell-content {
        font-size: 16px;
        padding: 0 8px;
        line-height: 40px;
        white-space: nowrap;
    }

    /* Кнопка "Подробнее" */
    .house-maf__bottom-row__button {
        height: 40px;
        font-size: 16px;
        line-height: 40px;
        padding: 0 12px;
        border-radius: 10px;
        flex: 0 0 auto;
    }

    /* Скрываем лишний <br> после pills */
    #mafy-cat ~ div > br {
        display: none;
    }
    .house-swiper .vp-swiper-arrows {
        top: 123px;
        transform: none;
    }

    .vp-swiper-arrows span[data-action="Prev"] {
        margin-left: 12px;
    }

    .vp-swiper-arrows span[data-action="Next"] {
        margin-right: 12px;
    }

    .vp-swiper-arrows span[data-action="Prev"] svg,
    .vp-swiper-arrows span[data-action="Next"] svg {
        width: 16px;
        height: 29px;
    }

    .interior-hero.house-swiper .vp-swiper-arrows {
        top: 50%;
        transform: translate(0, -50%);
    }

    .interior-hero.house-swiper .vp-swiper-arrows span[data-action="Prev"] {
        margin-left: 9px;
    }

    .interior-hero.house-swiper .vp-swiper-arrows span[data-action="Next"] {
        margin-right: 9px;
    }

    .house-maf.detail-dom,
    .mafy-slider {
        border-radius:20px;
    }
}

/* === Кнопка телефона в мобильном хедере === */
@media (max-width: 640px) {
    .vp-mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 20px;
        position: relative;
    }
}

.vp-phone-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: -5px;
}

.single-doma .vp-mobile-header-actions .vp-phone-btn,
.page-id-128 .vp-mobile-header-actions .vp-phone-btn,
.page-template-template-default-page .vp-mobile-header-actions .vp-phone-btn {
    color: #161616;
}

/* Всплывающее окно с телефонами */
.vp-phone-popup {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #161616;
    border-radius: 12px;
    padding: 16px 20px;
    flex-direction: column;
    gap: 12px;
    z-index: 99999;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.vp-phone-popup.active {
    display: flex;
}

.vp-phone-popup a {
    font-family: 'Circe', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.vp-phone-popup a span {
    color: #999;
}

.vp-phone-popup a:active {
    color: #AE080A;
}

.single-doma .vp-phone-popup,
.page-id-128 .vp-phone-popup,
.page-template-template-default-page .vp-phone-popup {
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.single-doma .vp-phone-popup a,
.page-id-128 .vp-phone-popup a,
.page-template-template-default-page .vp-phone-popup a {
    color: #161616;
}

.single-doma .vp-phone-popup a span,
.page-id-128 .vp-phone-popup a span,
.page-template-template-default-page .vp-phone-popup a span {
    color: #999;
}

.single-doma .vp-phone-popup a:active,
.page-id-128 .vp-phone-popup a:active,
.page-template-template-default-page .vp-phone-popup a:active {
    color: #AE080A;
}

/* ===============================
   Всплывающее окно акции
   =============================== */
.promo-modal .promo-modal__dialog {
    max-width: 720px;
    margin: 1.75rem auto;
}

.promo-modal .promo-modal__content {
    position: relative;
    border: none;
    border-radius: 20px;
    background: rgba(24, 24, 24, 0.92);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    color: #FFFFFF;
    overflow: hidden;
}

.promo-modal__close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity .2s ease;
    z-index: 2;
}

.promo-modal__close:hover,
.promo-modal__close:focus-visible {
    opacity: 1;
    outline: none;
}

.promo-modal__body {
    padding: 48px 56px 44px;
}

.promo-modal__title {
    font-family: 'Circe';
    font-weight: 700;
    font-size: 26px;
    line-height: 1.3;
    color: #FFFFFF;
    margin: 0 0 12px;
    padding-right: 40px;
}

.promo-modal__text {
    font-family: 'Circe';
    font-weight: 400;
    font-size: 22px;
    line-height: 1.45;
    color: #FFFFFF;
    margin: 0;
}

.promo-modal__button {
    display: block;
    width: 100%;
    max-width: 440px;
    margin: 36px auto 0;
    padding: 20px 40px;
    border: none;
    border-radius: 8px;
    background: #AE080A;
    color: #FFFFFF;
    font-family: 'Circe';
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease;
}

.promo-modal__button:hover,
.promo-modal__button:focus-visible {
    background: #C40A0C;
    color: #FFFFFF;
    outline: none;
}

@media (max-width: 640px) {
    .promo-modal .promo-modal__dialog {
        max-width: none;
        margin: 16px;
    }

    .promo-modal .promo-modal__content {
        border-radius: 16px;
    }

    .promo-modal__close {
        top: 14px;
        right: 14px;
        width: 28px;
        height: 28px;
    }

    .promo-modal__close svg {
        width: 18px;
        height: 18px;
    }

    .promo-modal__body {
        padding: 28px 20px 24px;
    }

    .promo-modal__title {
        font-size: 18px;
        margin-bottom: 10px;
        padding-right: 28px;
    }

    .promo-modal__text {
        font-size: 16px;
        line-height: 1.5;
    }

    .promo-modal__button {
        max-width: none;
        margin-top: 24px;
        padding: 16px 0px;
        font-size: 15px;
    }
}

/* === Заглушка «В разработке» (single-doma): отступ от футера === */
.house__send-message--dev {
    margin-bottom: 50px;
}

@media (max-width: 640px) {
    .house__small-calculator__mobile--dev {
        margin-bottom: 50px;
    }
}
