@charset "UTF-8";

@font-face {
    font-family: "Geometria";
    src: url("../../fonts/Geometria-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Geometria";
    src: url("../../fonts/Geometria-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

/* pt-sans-narrow-regular - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: "PT Sans Narrow";
    font-style: normal;
    font-weight: 400;
    src: url("../../fonts/pt-sans-narrow-v19-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2") format("woff2");
}

/* pt-sans-narrow-700 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: "PT Sans Narrow";
    font-style: normal;
    font-weight: 700;
    src: url("../../fonts/pt-sans-narrow-v19-cyrillic_cyrillic-ext_latin_latin-ext-700.woff2") format("woff2");
}

/* Page */
.page-template-page-real-estate .footer-fon {
    display: none;
}

@media (max-width: 1400px) {
    .page-template-page-real-estate .margin-elem-header {
        margin-top: 60px;
    }
}

@media (max-width: 650px) {
    .page-template-page-real-estate .margin-elem-header {
        margin-top: 50px;
    }
}

.real-estate-page {
    display: flex;
    flex-direction: column;
    gap: 0;
    color: #111;
    background: #fafaf8;
    font-family: "Geometria", sans-serif;
    position: relative;
}

.real-estate-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    height: 66px;
    background: url("../../image/real-estate/hero-top-decor.svg") center top / cover no-repeat;
    pointer-events: none;
}

@media (max-width: 991px) {
    .real-estate-page::before {
        display: none;
    }
}

.real-estate-page > .top-nav {
    margin: 0;
    padding: 80px 0 0;
    background: transparent;
}

@media (max-width: 991px) {
    .real-estate-page > .top-nav {
        padding-top: 16px;
    }
}

.real-estate-page .breadcrumbs__link {
    color: #484848;
}

.real-estate-page .breadcrumbs__last {
    color: #cc001e;
}

.page-template-page-real-estate .popup-link-custom {
    max-width: 100%;
}

/* Buttons: base structure from style-service-new.css */
.real-estate-page .btn-red,
.real-estate-page .btn-white {
    display: flex;
}

.real-estate-page .btn-red .popup-link-custom,
.real-estate-page .btn-white :is(a, button) {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
    min-height: 60px;
    padding: 17px 40px;
    max-width: 100%;
    border: 0;
    border-radius: 40px;
    font-family: "Geometria", sans-serif;
    font-size: clamp(14px, calc(0.178571vw + 13.285714px), 16px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 991px) {
    .real-estate-page .btn-red .popup-link-custom,
    .real-estate-page .btn-white :is(a, button) {
        min-height: 50px;
        padding: 16px 20px;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-page .btn-red .popup-link-custom,
    .real-estate-page .btn-white :is(a, button) {
        transition: none;
    }
}

.real-estate-page .btn-red .popup-link-custom {
    color: #fafaf8;
    background: linear-gradient(102deg, #cc001e 38.45%, #7a0114 100%);
}

.real-estate-page .btn-white :is(a, button) {
    color: #111;
    background: #fafaf8;
}

.real-estate-page .btn-white.btn-black :is(a, button) {
    color: #fafaf8;
    background: #111;
}

.real-estate-page .btn-red .popup-link-custom::before,
.real-estate-page .btn-white :is(a, button)::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .real-estate-page .btn-red .popup-link-custom:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(204, 0, 30, 0.2);
    }

    .real-estate-page .btn-white :is(a, button):hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    }

    .real-estate-page .btn-red .popup-link-custom:hover::before,
    .real-estate-page .btn-white :is(a, button):hover::before {
        left: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-page .btn-red .popup-link-custom::before,
    .real-estate-page .btn-white :is(a, button)::before {
        transition: none;
    }
}

.real-estate-page .btn-red .popup-link-custom:focus-visible,
.real-estate-page .btn-white :is(a, button):focus-visible {
    outline: 2px solid #cc001e;
    outline-offset: 4px;
}

/* Headings: shared typography, individual sizes remain in sections */
.real-estate-page h1,
.real-estate-page h2,
.real-estate-page h3,
.real-estate-page h4 {
    margin: 0;
    font-family: "PT Sans Narrow", "Arial Narrow", sans-serif;
    font-weight: 700;
    line-height: 1;
}

.real-estate-page h1 span,
.real-estate-page h2 span {
    color: #cc001e;
}

/* Shared light sections */
.real-estate-section--light {
    --real-estate-padding-top: clamp(60px, calc(7.142857vw + 31.428571px), 140px);
    --real-estate-padding-bottom: clamp(60px, calc(7.142857vw + 31.428571px), 140px);
    position: relative;
    padding-block: var(--real-estate-padding-top) var(--real-estate-padding-bottom);
    color: #111;
    background: #fafaf8;
}

/* Adjacent light sections have a 50px content gap at the 400px design width. */
.real-estate-section--light:has(+ .real-estate-section--light) {
    --real-estate-padding-bottom: clamp(25px, calc(3.125vw + 12.5px), 60px);
}

.real-estate-section--light + .real-estate-section--light {
    --real-estate-padding-top: clamp(25px, calc(3.125vw + 12.5px), 60px);
}

/* Shared FAQ/reviews styles have !important padding; isolate their page variant. */
.real-estate-page :is(.real-estate-faq, .rew-global--light) {
    padding-block: var(--real-estate-padding-top) var(--real-estate-padding-bottom) !important;
}

/* Real estate: first screen */
.real-estate-hero {
    margin-top: -70px;
    padding: clamp(44px, calc(6.339286vw + 18.642857px), 115px) 0 0;
    overflow: hidden;
}

@media (max-width: 991px) {
    .real-estate-hero {
        margin-top: 0;
    }
}

.real-estate-hero__inner {
    position: relative;
    min-height: 570px;
}

@media (max-width: 991px) {
    .real-estate-hero__inner {
        display: flex;
        flex-direction: column;
        gap: 24px;
        min-height: 0;
    }
}

.real-estate-hero__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: min(100%, 715px);
}

@media (max-width: 1300px) and (min-width: 992px) {
    .real-estate-hero__content {
        width: 57%;
    }
}

@media (max-width: 991px) {
    .real-estate-hero__content {
        gap: 28px;
        width: 100%;
    }
}

.real-estate-hero__intro {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media (max-width: 991px) {
    .real-estate-hero__intro {
        gap: 14px;
    }
}

.real-estate-hero__title h1 {
    font-size: clamp(48px, calc(3.571429vw + 33.714286px), 88px);
    line-height: 0.9;
    text-transform: uppercase;
    color: #111;
}

@media (max-width: 991px) {
    .real-estate-hero__title h1 {

        line-height: 0.9;
    }
}

.real-estate-hero__text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 585px;
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .real-estate-hero__text {
        gap: 8px;
        max-width: 585px;
    }
}

.real-estate-hero__text p {
    margin: 0;
    color: #111;
    font-size: inherit;
    line-height: inherit;
}

.real-estate-hero__actions {
    display: flex;
    align-items: stretch;
    gap: 30px;
}

@media (max-width: 1300px) and (min-width: 992px) {
    .real-estate-hero__actions {
        gap: 15px;
    }
}

@media (max-width: 991px) {
    .real-estate-hero__actions {
        flex-direction: column;
        gap: 12px;
    }
}

.real-estate-hero__button {
    display: flex;
    flex: 0 0 auto;
}

@media (max-width: 991px) {
    .real-estate-hero__button {
        width: 100%;
    }
}

.real-estate-hero__button :is(a, button) {
    padding-inline: 40px;
    white-space: nowrap;
}

@media (max-width: 1300px) and (min-width: 992px) {
    .real-estate-hero__button :is(a, button) {
        padding-inline: 25px;
    }
}

@media (max-width: 991px) {
    .real-estate-hero__button :is(a, button) {
        white-space: normal;
        padding-inline: 20px;
    }
}

@media (hover: hover) and (pointer: fine) {
    .real-estate-hero__button :is(a, button):hover {
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    }
}

.real-estate-hero__button.btn-black {
    width: 260px;
}

@media (max-width: 1300px) and (min-width: 992px) {
    .real-estate-hero__button.btn-black {
        width: 210px;
    }
}

@media (max-width: 991px) {
    .real-estate-hero__button.btn-black {
        width: 100%;
    }
}

.real-estate-hero__media {
    position: absolute;
    right: -320px;
    bottom: 0;
    z-index: 1;
    width: 1043px;
    aspect-ratio: 1043 / 570;
    pointer-events: none;
}

@media (max-width: 1300px) and (min-width: 992px) {
    .real-estate-hero__media {
        right: -350px;
    }
}

@media (max-width: 991px) {
    .real-estate-hero__media {
        position: relative;
        right: auto;
        bottom: auto;
        align-self: flex-start;
        flex: none;
        width: calc(100% + 124px);
    }
}

.real-estate-hero__media::before {
    content: "";
    position: absolute;
    top: -247px;
    left: 0;
    z-index: 0;
    width: 918px;
    height: 737px;
    background: url("../../image/real-estate/hero-outline.svg") center / 100% 100% no-repeat;
}

@media (max-width: 991px) {
    .real-estate-hero__media::before {
        top: -15.3%;
        left: 0.4%;
        width: 85.33%;
        height: auto;
        aspect-ratio: 413 / 331;
        background-image: url("../../image/real-estate/hero-outline-mobile.svg");
    }
}

.real-estate-hero__image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Shared real estate dark sections */
.real-estate-section--dark {
    position: relative;
    padding-block: clamp(50px, calc(4.464286vw + 32.142857px), 100px);
    background: #111;
    color: #fafaf8;
}

/* The brush belongs to dark sections; a 2px overlap hides the SVG edge seam. */
.real-estate-section--dark::before,
.real-estate-section--dark::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    z-index: 4;
    height: 110px;
    background: url("../../image/real-estate/hero-brush.svg") center bottom / cover no-repeat;
    pointer-events: none;
}

.real-estate-section--dark::before {
    top: -108px;
}

.real-estate-section--dark::after {
    bottom: -108px;
    transform: rotate(180deg);
}

.real-estate-section--dark.real-estate-section--no-brush-top::before,
.real-estate-section--dark.real-estate-section--no-brush-bottom::after {
    content: none;
}

@media (max-width: 991px) {
    .real-estate-page {
        --brush-height: clamp(24px, 7.5vw, 72px);
    }

    .real-estate-section--dark::before,
    .real-estate-section--dark::after {
        height: var(--brush-height);
    }

    .real-estate-section--dark::before {
        top: calc(2px - var(--brush-height));
    }

    .real-estate-section--dark::after {
        bottom: calc(2px - var(--brush-height));
    }

    .real-estate-section--light:has(+ .real-estate-section--dark:not(.real-estate-section--no-brush-top)) {
        --real-estate-padding-bottom: clamp(40px, calc(var(--brush-height) + 18px), 72px);
    }

    .real-estate-section--dark:not(.real-estate-section--no-brush-bottom) + .real-estate-section--light {
        --real-estate-padding-top: clamp(40px, calc(var(--brush-height) + 18px), 72px);
    }
}

/* Segments */
.real-estate-segments {
    overflow-x: clip;
    overflow-y: visible;
}

.real-estate-segments__container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 991px) {
    .real-estate-segments__container {
        gap: 12px;
    }
}

.real-estate-segments__title {
    align-self: center;
    width: 100%;
    max-width: 1080px;
    text-align: center;
}

.real-estate-segments__title h2 {
    color: #fafaf8;
    font-size: clamp(28px, calc(2.857143vw + 16.571429px), 60px);
    text-transform: uppercase;
}

.real-estate-segments__subtitle {
    color: rgba(250, 250, 248, 0.6);
    font-family: "Geometria", sans-serif;
    font-size: clamp(20px, calc(1.785714vw + 12.857143px), 40px);
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}

.real-estate-segments__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
}

@media (max-width: 991px) {
    .real-estate-segments__cards {
        display: flex;
        gap: 12px;
        width: calc(100% + 20px);
        padding-right: 20px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .real-estate-segments__cards::-webkit-scrollbar {
        display: none;
    }

    .real-estate-segments__cards:focus-visible {
        outline: 2px solid #cc001e;
        outline-offset: 3px;
    }
}

.real-estate-segments__card {
    display: flex;
    align-items: center;
    gap: 30px;
    min-width: 0;
    min-height: 182px;
    padding: 16px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #1d1d1d;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .real-estate-segments__card:hover {
        transform: translateY(-7px);
        border-color: rgba(204, 0, 30, 0.7);
        box-shadow:
            0 22px 55px rgba(0, 0, 0, 0.42),
            0 0 24px rgba(204, 0, 30, 0.22),
            0 12px 45px rgba(204, 0, 30, 0.28);
    }

    .real-estate-segments__card:hover .real-estate-segments__image {
        transform: scale(1.05);
        filter: brightness(1.07) contrast(1.03);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-segments__card {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .real-estate-segments__card {
        flex: 0 0 min(280px, calc(100vw - 40px));
        min-height: 230px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 12px;
        scroll-snap-align: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-segments__card {
        transition: none;
    }

    .real-estate-segments__card.image-fade-up {
        opacity: 1;
        transform: none;
    }

    .real-estate-segments__card.image-fade-up._active {
        opacity: 1;
        transform: none;
    }
}

.real-estate-segments__media {
    flex: 0 0 250px;
    width: 250px;
    height: 150px;
    overflow: hidden;
    border: 2px solid #cc001e;
    border-radius: 8px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-segments__media {
        flex-basis: 200px;
        width: 200px;
    }
}

@media (max-width: 991px) {
    .real-estate-segments__media {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 256 / 150;
    }
}

.real-estate-segments__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-segments__image {
        transition: none;
    }
}

.real-estate-segments__card-title {
    flex: 1;
    min-width: 0;
}

.real-estate-segments__card-title h3 {
    color: #fafaf8;
    font-size: clamp(20px, calc(0.892857vw + 16.428571px), 30px);
    text-transform: uppercase;
}

/* Obstacles */
.real-estate-obstacles {
    padding-top: 0;
    overflow-x: clip;
    overflow-y: visible;
}

.real-estate-obstacles__container {
    position: relative;
}

@media (max-width: 991px) {
    .real-estate-obstacles__container {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}

.real-estate-obstacles__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

@media (max-width: 991px) {
    .real-estate-obstacles__grid {
        display: contents;
    }
}

.real-estate-obstacles__intro {
    position: relative;
    min-width: 0;
}

@media (max-width: 991px) {
    .real-estate-obstacles__intro {
        display: contents;
    }
}

.real-estate-obstacles__title {
    position: relative;
    z-index: 2;
    max-width: 575px;
}

@media (max-width: 991px) {
    .real-estate-obstacles__title {
        order: 1;
        max-width: 100%;
    }
}

.real-estate-obstacles__title h2 {
    font-size: clamp(36px, calc(2.142857vw + 27.428571px), 60px);
    color: #fafaf8;
    text-transform: uppercase;
}

.real-estate-obstacles__visual {
    position: absolute;
    right: -10px;
    bottom: 0;
    left: 0;
    height: 660px;
    pointer-events: none;
}

@media (max-width: 991px) {
    .real-estate-obstacles__visual {
        position: relative;
        order: 3;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 360 / 323;
    }
}

.real-estate-obstacles__visual::before {
    content: "";
    position: absolute;
    top: 20px;
    left: -328px;
    width: 918px;
    height: 343px;
    background: url("../../image/real-estate/obstacles-arrow-desktop.svg") center / 100% 100% no-repeat;
}

@media (max-width: 991px) {
    .real-estate-obstacles__visual::before {
        top: 4.17%;
        left: -50%;
        width: 137.5%;
        height: auto;
        aspect-ratio: 495 / 186;
        background-image: url("../../image/real-estate/obstacles-arrow-mobile.svg");
    }
}

.real-estate-obstacles__woman {
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: min(100%, 450px);
    max-height: 100%;
    object-fit: contain;
    object-position: bottom;
}

@media (max-width: 991px) {
    .real-estate-obstacles__woman {
        width: 62.5%;
        right: 11.11%;
    }
}

.real-estate-obstacles__cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

@media (max-width: 991px) {
    .real-estate-obstacles__cards {
        order: 2;
        flex-direction: row;
        gap: 12px;
        width: calc(100% + 20px);
        padding-right: 20px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        align-items: stretch;
    }

    .real-estate-obstacles__cards::-webkit-scrollbar {
        display: none;
    }

    .real-estate-obstacles__cards:focus-visible {
        outline: 2px solid #cc001e;
        outline-offset: 3px;
    }
}

.real-estate-obstacles__card {
    min-width: 0;
    padding: 24px;
    border: 1px solid transparent;
    border-radius: 16px;
    color: #fafaf8;
    background: #1d1d1d;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .real-estate-obstacles__card:hover {
        transform: translateY(-7px);
        border-color: rgba(204, 0, 30, 0.7);
        box-shadow:
            0 22px 55px rgba(0, 0, 0, 0.42),
            0 0 24px rgba(204, 0, 30, 0.22),
            0 12px 45px rgba(204, 0, 30, 0.28);
    }

    .real-estate-obstacles__card:hover .real-estate-obstacles__icon {
        color: #cc001e;
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-obstacles__card {
        transition: none;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-obstacles__card {
        padding: 18px;
    }
}

@media (max-width: 991px) {
    .real-estate-obstacles__card {
        position: relative;
        flex: 0 0 min(70vw, 430px);
        padding: 16px;
        scroll-snap-align: start;
    }

    .real-estate-obstacles__card[open] .real-estate-obstacles__toggle {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 1;
        width: 40px;
        min-height: 40px;
        height: 40px;
    }

    .real-estate-obstacles__card[open] .real-estate-obstacles__card-main {
        display: none;
    }
}

.real-estate-obstacles__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 120px;
    list-style: none;
    cursor: pointer;
}

@media (max-width: 991px) {
    .real-estate-obstacles__toggle {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        min-height: 0;
        gap: 0;
    }
}

.real-estate-obstacles__toggle::-webkit-details-marker {
    display: none;
}

.real-estate-obstacles__toggle::marker {
    content: "";
}

.real-estate-obstacles__toggle:focus-visible {
    outline: 2px solid #cc001e;
    outline-offset: 4px;
}

.real-estate-obstacles__card-main {
    display: flex;
    align-items: center;
    gap: 30px;
    min-width: 0;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-obstacles__card-main {
        gap: 15px;
    }
}

@media (max-width: 991px) {
    .real-estate-obstacles__card-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

.real-estate-obstacles__card-media {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-obstacles__card-media {
        flex-basis: 85px;
        width: 85px;
        height: 85px;
    }
}

@media (max-width: 991px) {
    .real-estate-obstacles__card-media {
        flex: 0 0 120px;
        width: 120px;
        height: 120px;
    }
}

.real-estate-obstacles__card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.real-estate-obstacles__card-title {
    min-width: 0;
}

.real-estate-obstacles__card-title h3 {
    font-size: clamp(20px, calc(0.892857vw + 16.428571px), 30px);
    color: #fafaf8;
    text-transform: uppercase;
}

.real-estate-obstacles__icon {
    position: relative;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    color: #808080;
    transition: transform 0.3s ease;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-obstacles__icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 991px) {
    .real-estate-obstacles__icon {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-obstacles__icon {
        transition: none;
    }
}

.real-estate-obstacles__icon::before,
.real-estate-obstacles__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44%;
    height: 3px;
    background: currentColor;
    border-radius: 3px;
    transform: translate(-50%, -50%);
}

.real-estate-obstacles__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.real-estate-obstacles__card[open] .real-estate-obstacles__icon {
    transform: rotate(45deg);
}

@media (max-width: 991px) {
    .real-estate-obstacles__card[open] .real-estate-obstacles__icon {
        top: 0;
        right: 0;
    }
}

.real-estate-obstacles__description {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #fafaf8;
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    line-height: 1.5;
}

.real-estate-obstacles__description p {
    margin: 0;
}

.real-estate-obstacles__card[open] .real-estate-obstacles__description {
    padding-top: 20px;
}

@media (max-width: 991px) {
    .real-estate-obstacles__card[open] .real-estate-obstacles__description {
        padding: 0 28px 0 0;
    }
}

.real-estate-obstacles__actions {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 20px;
    display: flex;
    gap: 30px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-obstacles__actions {
        gap: 12px;
    }
}

@media (max-width: 991px) {
    .real-estate-obstacles__actions {
        position: relative;
        order: 4;
        bottom: auto;
        left: auto;
        flex-direction: column;
        gap: 12px;
        margin-top: calc(-16px - 11.11%);
    }
}

.real-estate-obstacles__button {
    display: flex;
    width: 280px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-obstacles__button {
        width: 210px;
    }
}

@media (max-width: 991px) {
    .real-estate-obstacles__button {
        width: 100%;
    }
}

/* Sales system */
.real-estate-system {
    padding-block: clamp(60px, calc(1.160714vw + 55.357143px), 73px) clamp(60px, calc(7.410714vw + 30.357143px), 143px);
    overflow: hidden;
}

.real-estate-system__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

@media (max-width: 991px) {
    .real-estate-system__container {
        gap: 4px;
    }
}

.real-estate-system__intro {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    min-height: 510px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-system__intro {
        min-height: 440px;
    }
}

@media (max-width: 991px) {
    .real-estate-system__intro {
        display: flex;
        flex-direction: column;
        min-height: 0;
        gap: 10px;
    }
}

.real-estate-system__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 68px;
    max-width: 710px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-system__content {
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .real-estate-system__content {
        gap: 8px;
        padding-top: 0;
        max-width: none;
    }
}

.real-estate-system__title h2 {
    font-size: clamp(36px, calc(3.214286vw + 23.142857px), 72px);
    text-transform: uppercase;
}

.real-estate-system__text {
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    line-height: 1.5;
}

.real-estate-system__text p {
    margin: 0;
}

.real-estate-system__media {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 100%;
    max-width: 616px;
    aspect-ratio: 616 / 509;
    pointer-events: none;
}

@media (max-width: 991px) {
    .real-estate-system__media {
        width: 100%;
        max-width: none;
        align-self: center;
    }
}

.real-estate-system__image {
    display: block;
    width: 100%;
    height: auto;
}

.real-estate-system__channels {
    position: absolute;
    bottom: 43px;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 30px;
}

@media (max-width: 991px) {
    .real-estate-system__channels {
        position: static;
        gap: 20px;
        padding-top: 24px;
    }
}

.real-estate-system__channels-title h3 {
    font-size: clamp(28px, calc(1.428571vw + 22.285714px), 44px);
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .real-estate-system__channels-title h3 {
        white-space: normal;
    }
}

.real-estate-system__channels-arrow {
    width: 212px;
    height: 77px;
    background: url("../../image/real-estate/sales-channels-arrow-desktop.svg") center / contain no-repeat;
}

@media (max-width: 991px) {
    .real-estate-system__channels-arrow {
        width: 135px;
        height: 51px;
        background-image: url("../../image/real-estate/sales-channels-arrow-mobile.svg");
        background-size: contain;
    }
}

.real-estate-system__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 991px) {
    .real-estate-system__cards {
        display: flex;
        gap: 12px;
        width: calc(100% + 20px);
        padding-right: 20px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .real-estate-system__cards::-webkit-scrollbar {
        display: none;
    }

    .real-estate-system__cards:focus-visible {
        outline: 2px solid #cc001e;
        outline-offset: 3px;
    }
}

.real-estate-system__card {
    position: relative;
    min-width: 0;
    min-height: 210px;
    border-radius: 16px;
}

.real-estate-system__card--flip {
    perspective: 1000px;
    cursor: pointer;
}

.real-estate-system__card--flip:focus-visible {
    outline: 2px solid #cc001e;
    outline-offset: 3px;
}

.real-estate-system__card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 210px;
    border-radius: inherit;
    transform-style: preserve-3d;
    transition: transform 0.55s ease;
}

.real-estate-system__card-front,
.real-estate-system__card-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 30px;
    border-radius: inherit;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.real-estate-system__card-front {
    background: #f3f3f3;
}

.real-estate-system__card-back {
    background: #f3f3f3;
    color: #111;
    font-size: 14px;
    line-height: 1.5;
    transform: rotateY(180deg);
}

.real-estate-system__card-back p {
    margin: 0;
}

.real-estate-system__card-back p + p {
    margin-top: 10px;
}

@media (hover: hover) and (pointer: fine) {
    .real-estate-system__card--flip:hover .real-estate-system__card-inner {
        transform: rotateY(180deg);
    }
}

.real-estate-system__card--flip._flipped .real-estate-system__card-inner {
    transform: rotateY(180deg);
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-system__card-front,
    .real-estate-system__card-back {
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .real-estate-system__card {
        flex: none;
        width: 280px;
        min-height: 210px;
        scroll-snap-align: start;
    }

    .real-estate-system__card-front,
    .real-estate-system__card-back {
        padding: 20px;
    }
}

.real-estate-system__card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.real-estate-system__card-help {
    display: flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #cc001e;
    pointer-events: none;
}

.real-estate-system__card-help svg {
    display: block;
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.real-estate-system__card-media {
    display: flex;
    align-items: center;
    height: 70px;
    min-width: 0;
    max-width: 140px;
}

.real-estate-system__card-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.real-estate-system__card-title h4 {
    font-size: clamp(24px, calc(0.357143vw + 22.571429px), 28px);
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-system__card-inner {
        transition: none;
    }
}

/* Website needs */
.real-estate-website-needs__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (max-width: 767px) {
    .real-estate-website-needs__inner {
        gap: 24px;
    }
}

.real-estate-website-needs__title {
    align-self: center;
    width: 100%;
    max-width: 1080px;
    text-align: center;
}

@media (max-width: 991px) {
    .real-estate-website-needs__title {
        padding-inline: 10px;
    }
}

.real-estate-website-needs__title h2 {
    color: #fafaf8;
    font-size: clamp(28px, calc(2.857143vw + 16.571429px), 60px);
    text-transform: uppercase;
}

.real-estate-website-needs__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 1199px) {
    .real-estate-website-needs__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .real-estate-website-needs__cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
}

.real-estate-website-needs__card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    padding: 20px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #1d1d1d;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .real-estate-website-needs__card:hover {
        transform: translateY(-7px);
        border-color: rgba(204, 0, 30, 0.7);
        box-shadow:
            0 22px 55px rgba(0, 0, 0, 0.42),
            0 0 24px rgba(204, 0, 30, 0.22),
            0 12px 45px rgba(204, 0, 30, 0.28);
    }

    .real-estate-website-needs__card:hover .real-estate-website-needs__card-image {
        transform: scale(1.05);
    }
}

@media (max-width: 767px) {
    .real-estate-website-needs__card {
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-website-needs__card {
        transition: none;
    }

    .real-estate-website-needs__card.image-fade-up {
        opacity: 1;
        transform: none;
    }

    .real-estate-website-needs__card.image-fade-up._active {
        opacity: 1;
        transform: none;
    }
}

.real-estate-website-needs__card-heading {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

@media (max-width: 767px) {
    .real-estate-website-needs__card-heading {
        gap: 16px;
    }
}

.real-estate-website-needs__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    padding: 15px;
    border-radius: 8px;
    background: linear-gradient(92deg, #cc001e 38.45%, #7a0114 100%);
    overflow: hidden;
}

@media (max-width: 767px) {
    .real-estate-website-needs__card-icon {
        width: 60px;
        height: 60px;
        padding: 10px;
    }
}

.real-estate-website-needs__card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-website-needs__card-image {
        transition: none;
    }
}

.real-estate-website-needs__card-title {
    min-width: 0;
}

.real-estate-website-needs__card-title h3 {
    color: #fafaf8;
    font-size: clamp(22px, calc(0.714286vw + 19.142857px), 30px);
    text-transform: uppercase;
}

.real-estate-website-needs__card-lead {
    color: #fafaf8;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration-line: underline;
    text-decoration-color: #cc001e;
    text-decoration-thickness: 3px;
    text-underline-offset: 7px;
    text-decoration-skip-ink: none;
}

.real-estate-website-needs__card-lead::before {
    content: "– ";
    color: #cc001e;
}

.real-estate-website-needs__card-text {
    color: #fafaf8;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.real-estate-website-needs__card-text p {
    margin: 0;
}


/* Approach */
.real-estate-approach {
    overflow: hidden;
}

.real-estate-approach__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 77px;
}

@media (max-width: 991px) {
    .real-estate-approach__inner {
        gap: 20px;
    }
}

.real-estate-approach__top {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 38px;
    min-height: 380px;
}

@media (max-width: 991px) {
    .real-estate-approach__top {
        min-height: 0;
        gap: 16px;
    }
}

.real-estate-approach__label {
    display: flex;
    align-items: center;
    gap: 40px;
    color: rgba(17, 17, 17, 0.6);
    font-family: "Geometria", sans-serif;
    font-size: clamp(18px, calc(1.964286vw + 10.142857px), 40px);
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .real-estate-approach__label {
        gap: 16px;
    }
}

.real-estate-approach__label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(17, 17, 17, 0.6);
}

.real-estate-approach__intro {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 475px) minmax(0, 345px);
    gap: 35px;
    align-items: start;
}

@media (max-width: 1365px) and (min-width: 992px) {
    .real-estate-approach__intro {
        grid-template-columns: minmax(0, 470px) minmax(0, 290px);
    }
}

@media (max-width: 991px) {
    .real-estate-approach__intro {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

.real-estate-approach__title h2 {
    color: #111;
    font-size: clamp(36px, calc(3.214286vw + 23.142857px), 72px);
    text-transform: uppercase;
}

.real-estate-approach__text {
    padding-top: 92px;
    color: #111;
    font-family: "Geometria", sans-serif;
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    line-height: 1.5;
}

@media (max-width: 1365px) and (min-width: 992px) {
    .real-estate-approach__text {
        padding-top: 45px;
    }
}

@media (max-width: 991px) {
    .real-estate-approach__text {
        padding-top: 0;
    }
}

.real-estate-approach__text p {
    margin: 0;
}

.real-estate-approach__media {
    position: absolute;
    top: -53px;
    right: 0;
    z-index: 1;
    width: min(42%, 580px);
    pointer-events: none;
}

@media (max-width: 991px) {
    .real-estate-approach__media {
        position: relative;
        top: auto;
        right: auto;
        align-self: center;
        width: min(100%, 580px);
        aspect-ratio: 360 / 312;
    }
}

.real-estate-approach__image {
    display: block;
    width: 100%;
    height: auto;
}

.real-estate-approach__steps {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 70px;
    max-width: 1360px;
}

@media (max-width: 1365px) and (min-width: 992px) {
    .real-estate-approach__steps {
        gap: 35px;
    }
}

@media (max-width: 991px) {
    .real-estate-approach__steps {
        display: flex;
        gap: 60px;
        margin-top: calc(-20px - min(13vw, 84px));
        width: calc(100% + 20px);
        padding-right: 20px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .real-estate-approach__steps::-webkit-scrollbar {
        display: none;
    }

    .real-estate-approach__steps:focus-visible {
        outline: 2px solid #cc001e;
        outline-offset: 3px;
    }
}


.real-estate-approach__step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

@media (min-width: 992px) {
    .real-estate-approach__step {
        flex: 0 1 auto;
    }

    .real-estate-approach__step:nth-child(5n + 1) {
        flex-basis: 210px;
    }

    .real-estate-approach__step:nth-child(5n + 2) {
        flex-basis: 250px;
    }

    .real-estate-approach__step:nth-child(5n + 3) {
        flex-basis: 200px;
    }

    .real-estate-approach__step:nth-child(5n + 4) {
        flex-basis: 220px;
    }

    .real-estate-approach__step:nth-child(5n + 5) {
        flex-basis: 200px;
    }
}

@media (max-width: 991px) {
    .real-estate-approach__step {
        flex-shrink: 0;
        width: clamp(180px, 22vw, 220px);
        gap: 8px;
        scroll-snap-align: start;
    }
}

.real-estate-approach__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15px;
    right: -52px;
    width: 34px;
    height: 30px;
    background: url("../../image/real-estate/approach-step-arrow.svg") center / contain no-repeat;
    pointer-events: none;
}

@media (max-width: 1365px) and (min-width: 992px) {
    .real-estate-approach__step:not(:last-child)::after {
        right: -35px;
    }
}

@media (max-width: 991px) {
    .real-estate-approach__step:not(:last-child)::after {
        top: 10px;
        right: -44px;
    }
}

.real-estate-approach__step-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

@media (max-width: 1365px) and (min-width: 992px) {
    .real-estate-approach__step-heading {
        gap: 8px;
    }
}

.real-estate-approach__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fafaf8;
    background: linear-gradient(92deg, #cc001e 38.45%, #7a0114 100%);
    font-family: "PT Sans Narrow", "Arial Narrow", sans-serif;
    font-size: clamp(26px, calc(0.357143vw + 24.571429px), 30px);
    font-weight: 700;
    line-height: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 991px) {
    .real-estate-approach__step-number {
        width: 50px;
        height: 50px;
    }
}

.real-estate-approach__step-title {
    min-width: 0;
}

.real-estate-approach__step-title h3 {
    color: #111;
    font-size: clamp(20px, calc(0.357143vw + 18.571429px), 24px);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .real-estate-approach__step:hover .real-estate-approach__step-number {
        transform: translateY(-4px) scale(1.08);
        box-shadow: 0 8px 22px rgba(204, 0, 30, 0.28);
    }

    .real-estate-approach__step:hover .real-estate-approach__step-title h3 {
        color: #cc001e;
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-approach__step-number,
    .real-estate-approach__step-title h3 {
        transition: none;
    }
}

.real-estate-approach__step-text {
    color: #111;
    font-family: "Geometria", sans-serif;
    font-size: clamp(14px, calc(0.178571vw + 13.285714px), 16px);
    line-height: 1.5;
}

.real-estate-approach__step-text p {
    margin: 0;
}


/* Approach stagger-x adapted from Kubbo */
@keyframes a-stagger-left-in {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.real-estate-approach__steps._anim-items.a-stagger-x > * {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-approach__steps._anim-items.a-stagger-x > * {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
.real-estate-approach__steps._anim-items.a-stagger-x._active > * {
    opacity: 1;
    transform: none;
    animation: a-stagger-left-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-approach__steps._anim-items.a-stagger-x._active > * {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.real-estate-approach__steps._anim-items.a-stagger-x._active > *:nth-child(1) {
    animation-delay: 0.07s;
}

.real-estate-approach__steps._anim-items.a-stagger-x._active > *:nth-child(2) {
    animation-delay: 0.14s;
}

.real-estate-approach__steps._anim-items.a-stagger-x._active > *:nth-child(3) {
    animation-delay: 0.21s;
}

.real-estate-approach__steps._anim-items.a-stagger-x._active > *:nth-child(4) {
    animation-delay: 0.28s;
}

.real-estate-approach__steps._anim-items.a-stagger-x._active > *:nth-child(5) {
    animation-delay: 0.35s;
}

.real-estate-approach__steps._anim-items.a-stagger-x._active > *:nth-child(6) {
    animation-delay: 0.42s;
}

.real-estate-approach__steps._anim-items.a-stagger-x._active > *:nth-child(7) {
    animation-delay: 0.49s;
}

.real-estate-approach__steps._anim-items.a-stagger-x._active > *:nth-child(8) {
    animation-delay: 0.56s;
}


/* Website sales hub */
.real-estate-hub {
    padding-top: clamp(0px, calc(-4.464286vw + 67.857143px), 50px);
}

@media (max-width: 991px) {
    .real-estate-hub {
        overflow-x: clip;
        overflow-y: visible;
    }
}

.real-estate-hub__inner {
    display: flex;
    flex-direction: column;
}

.real-estate-hub__hero {
    position: relative;
    min-height: 410px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-hub__hero {
        min-height: 370px;
    }
}

@media (max-width: 991px) {
    .real-estate-hub__hero {
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-height: 0;
    }
}

.real-estate-hub__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: min(800px, 60%);
    padding-top: 126px;
}

@media (min-width: 992px) and (max-width: 1365px) {
    .real-estate-hub__content {
        width: 64%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-hub__content {
        gap: 25px;
        padding-top: 70px;
    }
}

@media (max-width: 991px) {
    .real-estate-hub__content {
        gap: 24px;
        width: 100%;
        padding-top: 0;
    }
}

.real-estate-hub__title h2 {
    color: #fafaf8;
    font-size: clamp(32px, calc(3.571429vw + 17.714286px), 72px);
    text-transform: uppercase;
}

.real-estate-hub__actions {
    display: flex;
    gap: 30px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-hub__actions {
        gap: 15px;
    }
}

@media (max-width: 991px) {
    .real-estate-hub__actions {
        flex-direction: column;
        gap: 12px;
    }
}

.real-estate-hub__button {
    display: flex;
    width: 280px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-hub__button {
        width: 240px;
    }
}

@media (max-width: 991px) {
    .real-estate-hub__button {
        width: 100%;
    }
}

.real-estate-hub__button :is(a, button):focus-visible {
    outline-offset: 3px;
}

.real-estate-hub__media {
    position: absolute;
    top: 0;
    right: 35px;
    z-index: 1;
    width: min(45%, 618px);
    aspect-ratio: 618 / 410;
    pointer-events: none;
}

@media (min-width: 992px) and (max-width: 1365px) {
    .real-estate-hub__media {
        right: 0;
    }
}

@media (max-width: 991px) {
    .real-estate-hub__media {
        position: relative;
        top: auto;
        right: auto;
        align-self: center;
        width: min(84.17%, 618px);
        aspect-ratio: 303 / 201;
    }
}

.real-estate-hub__image {
    display: block;
    width: 100%;
    height: auto;
}

.real-estate-hub__steps {
    display: flex;
    gap: 137px;
    min-width: 0;
    padding-top: 50px;
    border-top: 2px solid #cc001e;
}

@media (min-width: 992px) and (max-width: 1365px) {
    .real-estate-hub__steps {
        gap: 80px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-hub__steps {
        gap: 50px;
    }
}

@media (max-width: 991px) {
    .real-estate-hub__steps {
        gap: 80px;
        width: calc(100% + 20px);
        padding-top: 30px;
        padding-right: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .real-estate-hub__steps::-webkit-scrollbar {
        display: none;
    }

    .real-estate-hub__steps:focus-visible {
        outline: 2px solid #cc001e;
        outline-offset: 3px;
    }
}

.real-estate-hub__step {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    min-height: 186px;
}

@media (max-width: 991px) {
    .real-estate-hub__step {
        flex: 0 0 250px;
        gap: 8px;
        min-height: 0;
        scroll-snap-align: start;
    }
}

.real-estate-hub__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -107px;
    width: 81px;
    height: 30px;
    background: url("../../image/real-estate/website-flow-arrow-desktop.svg") center / contain no-repeat;
    transform: translateY(-50%);
    pointer-events: none;
}

@media (min-width: 992px) and (max-width: 1365px) {
    .real-estate-hub__step:not(:last-child)::after {
        right: -80px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-hub__step:not(:last-child)::after {
        right: -50px;
        width: 55px;
    }
}

@media (max-width: 991px) {
    .real-estate-hub__step:not(:last-child)::after {
        right: -60px;
        width: 44px;
        background-image: url("../../image/real-estate/website-flow-arrow-mobile.svg");
    }
}

.real-estate-hub__step-title h3 {
    color: #fafaf8;
    font-size: clamp(23px, calc(0.625vw + 20.5px), 30px);
    text-transform: uppercase;
}

.real-estate-hub__step-text {
    color: #fafaf8;
    font-family: "Geometria", sans-serif;
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    line-height: 1.5;
}

.real-estate-hub__step-text p {
    margin: 0;
}


/* Cases */
.real-estate-cases {
    overflow: hidden;
}

.real-estate-cases__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (max-width: 991px) {
    .real-estate-cases__inner {
        gap: 24px;
    }
}

.real-estate-cases__title h2 {
    color: #111;
    font-size: clamp(36px, calc(2.142857vw + 27.428571px), 60px);
    text-transform: uppercase;
}

.real-estate-cases__slider-wrap {
    position: relative;
    min-width: 0;
}

@media (max-width: 991px) {
    .real-estate-cases__slider-wrap {
        margin-right: calc(50% - 50vw);
    }
}

.real-estate-cases__swiper {
    overflow: hidden;
}

.real-estate-cases__navigation {
    position: absolute;
    top: 50%;
    right: -25px;
    left: -25px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
}

.real-estate-cases__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #cc001e;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.3s ease;
}

.real-estate-cases__nav.swiper-button-disabled {
    opacity: 0.4;
    cursor: default;
}

.real-estate-cases__nav.swiper-button-lock {
    display: none;
}

.real-estate-cases__nav:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}

@media (max-width: 991px) {
    .real-estate-cases__navigation {
        display: none;
    }
}

.real-estate-cases__slide {
    height: auto;
}

.real-estate-cases__card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-width: 0;
    width: 100%;
    min-height: 360px;
    height: 100%;
    padding: 20px;
    overflow: hidden;
    border-radius: 16px;
    background: #1d1d1d;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .real-estate-cases__card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
    }

    .real-estate-cases__card:hover .real-estate-cases__image {
        transform: scale(1.035);
    }
}

@media (max-width: 991px) {
    .real-estate-cases__slide {
        width: min(280px, 100%);
    }

    .real-estate-cases__card {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-cases__card {
        transition: none;
    }
}

.real-estate-cases__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(29, 29, 29, 0) 50%, rgba(29, 29, 29, 0.85) 70%);
    pointer-events: none;
}

.real-estate-cases__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.real-estate-cases__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-cases__image {
        transition: none;
    }
}

.real-estate-cases__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

@media (max-width: 991px) {
    .real-estate-cases__content {
        gap: 12px;
    }
}

.real-estate-cases__card-title h3 {
    color: #fafaf8;
    font-size: clamp(18px, calc(1.071429vw + 13.714286px), 30px);
    text-transform: uppercase;
}

.real-estate-cases__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fafaf8;
    font-family: "Geometria", sans-serif;
    font-size: clamp(14px, calc(0.178571vw + 13.285714px), 16px);
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .real-estate-cases__link:hover .real-estate-cases__arrow {
        transform: translateX(4px);
    }
}

.real-estate-cases__arrow {
    display: block;
    flex: 0 0 28px;
    width: 28px;
    height: 14px;
    background: url("../../image/real-estate/cases-arrow.svg") center / contain no-repeat;
    transition: transform 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-cases__arrow {
        transition: none;
    }
}

.real-estate-cases__link:focus-visible {
    outline: 2px solid #fafaf8;
    outline-offset: 4px;
}


/* Client journey */
.real-estate-client-journey__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (max-width: 991px) {
    .real-estate-client-journey__inner {
        gap: 20px;
    }
}

.real-estate-client-journey__title {
    align-self: center;
    max-width: 830px;
    text-align: center;
}

.real-estate-client-journey__title h2 {
    color: #111;
    font-size: clamp(27px, calc(2.946429vw + 15.214286px), 60px);
    text-transform: uppercase;
}

.real-estate-client-journey__panel {
    display: grid;
    grid-template-columns: minmax(0, 0.815fr) minmax(0, 1fr);
    align-items: center;
    gap: 5%;
    padding: 30px;
    border-radius: 16px;
    background: #1d1d1d;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1199px) and (min-width: 992px) {
    .real-estate-client-journey__panel {
        gap: 25px;
        padding: 25px;
    }
}

@media (max-width: 991px) {
    .real-estate-client-journey__panel {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
        padding: 16px;
    }
}

.real-estate-client-journey__steps {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    align-self: stretch;
}

@media (max-width: 991px) {
    .real-estate-client-journey__steps {
        gap: 20px;
    }
}

.real-estate-client-journey__step {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    min-height: 60px;
    padding-left: 20px;
    border-left: 2px solid #cc001e;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .real-estate-client-journey__step {
        gap: 14px;
        padding-left: 14px;
    }
}

@media (max-width: 991px) {
    .real-estate-client-journey__step {
        gap: 12px;
        min-height: 43px;
        padding-left: 12px;
    }
}

.real-estate-client-journey__number {
    flex: 0 0 60px;
    color: #cc001e;
    font-family: "TT Norms", "Geometria", sans-serif;
    font-size: clamp(32px, calc(1.428571vw + 26.285714px), 48px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

@media (max-width: 991px) {
    .real-estate-client-journey__number {
        flex-basis: 42px;
    }
}

.real-estate-client-journey__step-title {
    flex: 1;
    min-width: 0;
}

.real-estate-client-journey__step-title h3 {
    color: #fafaf8;
    font-size: clamp(22px, calc(0.714286vw + 19.142857px), 30px);
}

@media (hover: hover) and (pointer: fine) {
    .real-estate-client-journey__step-title h3 {
        background: linear-gradient(90deg, #cc001e 50%, #fafaf8 50%) right / 200% 100% no-repeat;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        transition: background-position 0.55s ease;
    }

    .real-estate-client-journey__step:hover .real-estate-client-journey__step-title h3 {
        background-position: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-client-journey__step-title h3 {
        transition: none;
    }
}

.real-estate-client-journey__media {
    min-width: 0;
}

@media (max-width: 991px) {
    .real-estate-client-journey__media {
        width: 100%;
    }
}

.real-estate-client-journey__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Features slider */
.real-estate-features {
    position: relative;
    padding-bottom: clamp(8px, calc(9.107143vw - 28.428571px), 110px);
}

.real-estate-features__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (max-width: 991px) {
    .real-estate-features__inner {
        gap: 24px;
    }
}

.real-estate-features__intro {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media (max-width: 991px) {
    .real-estate-features__intro {
        gap: 12px;
    }
}

.real-estate-features__title h2 {
    color: #fafaf8;
    font-size: clamp(28px, calc(2.857143vw + 16.571429px), 60px);
    text-transform: uppercase;
}

.real-estate-features__description {
    color: #fafaf8;
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    line-height: 1.5;
}

.real-estate-features__description p {
    margin: 0;
}

.real-estate-features__slider-wrap {
    position: relative;
    min-width: 0;
}

@media (max-width: 991px) {
    .real-estate-features__slider-wrap {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}

.real-estate-features__swiper {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 16px;
}

.real-estate-features__slide {
    display: grid;
    grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(20px, 2.7778vw, 40px);
    min-width: 0;
    height: auto;
    padding: 30px;
    border-radius: 16px;
    background: #1d1d1d;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .real-estate-features__slide {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 16px;
    }
}

.real-estate-features__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

@media (max-width: 991px) {
    .real-estate-features__content {
        gap: 10px;
    }
}

.real-estate-features__slide-title h3 {
    color: #fafaf8;
    font-size: clamp(24px, calc(1.071429vw + 19.714286px), 36px);
    line-height: 1;
    text-transform: uppercase;
}

.real-estate-features__text-wrap {
    min-width: 0;
}

.real-estate-features__text {
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: #fafaf8;
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    line-height: 1.5;
}

@media (max-width: 991px) {
    .real-estate-features__text {
        gap: 10px;
    }
}

.real-estate-features__text :is(p, ul, ol) {
    margin: 0;
}

.real-estate-features__text :is(ul, ol) {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    list-style: none;
}

@media (max-width: 991px) {
    .real-estate-features__text :is(ul, ol) {
        gap: 8px;
    }
}

.real-estate-features__text li {
    position: relative;
    padding-left: 43px;
    list-style: none;
}

@media (max-width: 991px) {
    .real-estate-features__text li {
        padding-left: 30px;
    }
}

.real-estate-features__text li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    background: url("../../image/real-estate/features-check.svg") center / contain no-repeat;
}

@media (max-width: 991px) {
    .real-estate-features__text li::before {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 650px) {
    .real-estate-features__text.mob-spoller.spoller-initialized li:empty {
        display: none;
    }
}

.real-estate-features__media {
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #2c2c2c;
}

@media (max-width: 991px) {
    .real-estate-features__media {
        border-radius: 7px;
    }
}

.real-estate-features__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 580 / 534;
    object-fit: cover;
}

.real-estate-features__navigation {
    position: absolute;
    top: 50%;
    right: -50px;
    left: -50px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
}

@media (max-width: 991px) {
    .real-estate-features__navigation {
        position: static;
        width: 100%;
        transform: none;
    }
}

.real-estate-features__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 10px;
    border: 0;
    background: #cc001e;
    color: #fafaf8;
    pointer-events: auto;
    cursor: pointer;
    transition: opacity 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

@media (max-width: 991px) {
    .real-estate-features__nav {
        width: 38px;
        height: 38px;
        padding: 8px;
        border-radius: 50%;
    }
}

.real-estate-features__nav:disabled {
    opacity: 0.45;
    cursor: default;
}

.real-estate-features__nav:focus-visible {
    outline: 2px solid #fafaf8;
    outline-offset: 3px;
}

.real-estate-features__nav--prev {
    border-radius: 30px 0 0 30px;
}

@media (max-width: 991px) {
    .real-estate-features__nav--prev {
        border-radius: 50%;
    }
}

.real-estate-features__nav--next {
    border-radius: 0 30px 30px 0;
}

@media (max-width: 991px) {
    .real-estate-features__nav--next {
        border-radius: 50%;
    }
}

.real-estate-features__nav-icon {
    display: block;
    width: 30px;
    height: 30px;
    background: url("../../image/real-estate/features-arrow.svg") center / contain no-repeat;
}

@media (max-width: 991px) {
    .real-estate-features__nav-icon {
        width: 23px;
        height: 23px;
    }
}

.real-estate-features__nav--prev .real-estate-features__nav-icon {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-features__nav {
        transition: none;
    }
}

/* Redesign comparison */
.real-estate-redesign {
    position: relative;
}

.real-estate-redesign__inner {
    display: grid;
    grid-template-columns: minmax(0, 640px) minmax(0, 650px);
    grid-template-areas: "slider content";
    justify-content: space-between;
    gap: 40px;
}

@media (max-width: 1199px) {
    .real-estate-redesign__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .real-estate-redesign__inner {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

.real-estate-redesign__content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media (max-width: 991px) {
    .real-estate-redesign__content {
        gap: 12px;
    }
}

@media (min-width: 992px) {
    .real-estate-redesign__title {
        max-width: 500px;
    }
}

.real-estate-redesign__title h2 {
    color: #111;
    font-size: clamp(36px, calc(2.142857vw + 27.428571px), 60px);
    text-transform: uppercase;
}

.real-estate-redesign__description {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #111;
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    line-height: 1.5;
}

.real-estate-redesign__description p {
    margin: 0;
}

.real-estate-redesign__actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: auto;
}

@media (max-width: 991px) {
    .real-estate-redesign__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 0;
    }
}

.real-estate-redesign__button {
    display: flex;
    width: 280px;
    max-width: 100%;
}

@media (max-width: 1199px) {
    .real-estate-redesign__button {
        width: 50%;
    }
}

@media (max-width: 991px) {
    .real-estate-redesign__button {
        width: 100%;
    }
}

.real-estate-redesign__button button {
    width: 100%;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .real-estate-redesign__button button {
        white-space: normal;
    }
}

.real-estate-redesign__slider {
    grid-area: slider;
    min-width: 0;
}

.real-estate-redesign__swiper {
    overflow: hidden;
    width: 100%;
}

.real-estate-redesign__slide {
    width: 100%;
    min-width: 0;
}

.real-estate-redesign__case {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 991px) {
    .real-estate-redesign__case {
        gap: 12px;
    }
}

.real-estate-redesign .compare-slider {
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.real-estate-redesign .compare-slider__container {
    position: relative;
    width: 100%;
    aspect-ratio: 640 / 420;
    container-type: inline-size;
    border: 1px solid #000;
    border-radius: 16px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .real-estate-redesign .compare-slider__container {
        border-radius: 8px;
    }
}

.real-estate-redesign .compare-slider__before,
.real-estate-redesign .compare-slider__after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.real-estate-redesign .compare-slider__before img,
.real-estate-redesign .compare-slider__after img {
    display: block;
    width: 100cqw;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    pointer-events: none;
}

.real-estate-redesign .compare-slider__before {
    z-index: 1;
}

.real-estate-redesign .compare-slider__after {
    z-index: 2;
    width: 50%;
    overflow: hidden;
}

.real-estate-redesign .compare-slider__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 10;
    width: 4px;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.real-estate-redesign .compare-slider__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #cc001e;
    transform: translateX(-50%);
}

.real-estate-redesign .compare-slider__button {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 4px solid #cc001e;
    border-radius: 50%;
    background: #1d1d1d;
    box-shadow: 0 6px 30px rgba(204, 0, 30, 0.4);
    transform: translate(-50%, -50%);
}

@media (max-width: 991px) {
    .real-estate-redesign .compare-slider__button {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 991px) {
    .real-estate-redesign .compare-slider__button svg {
        width: 20px;
        height: 20px;
    }
}

.real-estate-redesign__case-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 40px;
}

@media (max-width: 991px) {
    .real-estate-redesign__case-info {
        min-height: 23px;
    }
}

.real-estate-redesign__case-title h3 {
    color: #111;
    font-size: clamp(16px, calc(0.714286vw + 13.142857px), 24px);
    text-transform: uppercase;
}

.real-estate-redesign__case-link a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #111;
    font-size: clamp(12px, calc(0.267857vw + 10.928571px), 15px);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 991px) {
    .real-estate-redesign__case-link a {
        gap: 5px;
    }
}

.real-estate-redesign__case-link a:hover {
    color: #cc001e;
}

.real-estate-redesign__navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
}

@media (max-width: 991px) {
    .real-estate-redesign__navigation {
        padding-top: 12px;
    }
}

.real-estate-redesign__arrow {
    display: flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #cc001e;
    cursor: pointer;
    transition: transform 0.3s ease;
}

@media (max-width: 991px) {
    .real-estate-redesign__arrow {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        padding: 5px;
    }
}

@media (max-width: 991px) {
    .real-estate-redesign__arrow svg {
        width: 18px;
        height: 18px;
    }
}

.real-estate-redesign__arrow:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .real-estate-cases__nav:not(.swiper-button-disabled):hover,
    .real-estate-features__nav:not(:disabled):hover,
    .real-estate-redesign__arrow:hover {
        transform: translateY(-5px);
    }
}

.real-estate-redesign__pagination {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.real-estate-redesign__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 !important;
    transform: unset !important;
    border-radius: 50%;
    background: #888;
    opacity: 1;
    transition: width 0.3s ease;
}

@media (max-width: 991px) {
    .real-estate-redesign__pagination .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }
}

.real-estate-redesign__pagination .swiper-pagination-bullet-active {
    width: 40px;
    border-radius: 10px;
    background: #cc001e;
}

@media (max-width: 991px) {
    .real-estate-redesign__pagination .swiper-pagination-bullet-active {
        width: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-redesign__pagination .swiper-pagination-bullet {
        transition: none;
    }
}


/* Real estate process tabs: adapted from service vertical-tabs */
@font-face {
    font-family: "TT Norms";
    src: url("../../fonts/TTNorms-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

.real-estate-process {
    overflow: hidden;
}

.real-estate-process__header {
    display: grid;
    grid-template-columns: minmax(0, 417px) minmax(0, 923px);
    column-gap: 30px;
    align-items: start;
    margin-bottom: 40px;
}

.real-estate-process__label {
    grid-column: 1;
    grid-row: 1;
    color: rgba(17, 17, 17, 0.6);
    font-size: clamp(20px, calc(1.785714vw + 12.857143px), 40px);
    line-height: 1.2;
    text-transform: uppercase;
}

.real-estate-process__title {
    grid-column: 2;
    grid-row: 1;
}

.real-estate-process__title h2 {
    color: #111;
    font-size: clamp(30px, calc(2.678571vw + 19.285714px), 60px);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.real-estate-process__description {
    grid-column: 2;
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    line-height: 1.5;
    margin-top: 20px;
}

.real-estate-process__description p {
    margin: 0;
}

.real-estate-process__tabs {
    display: grid;
    grid-template-columns: minmax(0, 417px) minmax(0, 923px);
    gap: 30px;
    align-items: start;
}

.real-estate-process__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.real-estate-process__tab {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: 100%;
    padding: 0 0 25px;
    margin: 0 0 25px;
    border: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.3);
    border-radius: 0;
    background: transparent;
    color: #111;
    font-family: "Geometria", sans-serif;
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    line-height: 1.45;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.real-estate-process__tab:last-child {
    margin-bottom: 0;
}

.real-estate-process__tab._active {
    color: #cc001e;
    border-bottom: 2px solid #cc001e;
    font-weight: 700;
}

.real-estate-process__tab-number {
    flex: 0 0 auto;
}

.real-estate-process__tab:focus-visible {
    outline: 2px solid #cc001e;
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    .real-estate-process__tab:hover {
        color: #cc001e;
    }
}

.real-estate-process__panels {
    min-width: 0;
}

.real-estate-process__panel {
    display: none;
}

.real-estate-process__panel._active {
    display: block;
}

.real-estate-process__card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    padding: 40px;
    border-radius: 16px;
    background: #1d1d1d;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #fafaf8;
}

.real-estate-process__entry {
    display: flow-root;
}

.real-estate-process__intro {
    display: contents;
}

.real-estate-process__stage {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(20px, calc(1.785714vw + 12.857143px), 40px);
    line-height: 1.2;
    text-transform: uppercase;
}

.real-estate-process__step-title {
    margin: 0 0 20px;
}

.real-estate-page .real-estate-process__step-title h3 {
    margin: 0;
    color: #fff;
    font-family: "TT Norms", sans-serif;
    font-weight: 700;
    font-size: clamp(16px, calc(1.071429vw + 11.714286px), 28px);
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.real-estate-process__details {
    color: #fafaf8;
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    line-height: 1.5;
}

.real-estate-process__details > * {
    margin-block: 0;
}

.real-estate-process__details > * + * {
    margin-top: 18px;
}

.real-estate-process__details ul,
.real-estate-process__details ol {
    margin: 0;
    padding-left: 27px;
}

.real-estate-process__details ul {
    list-style: disc outside;
}

.real-estate-process__details ol {
    list-style: decimal outside;
}

.real-estate-process__details li {
    margin-bottom: 0;
}

.real-estate-process__media {
    float: right;
    width: 30%;
    max-width: 253px;
    height: 252px;
    margin: 0 0 20px 40px;
    overflow: hidden;
    border: 2px solid #cc001e;
    border-radius: 8px;
}

.real-estate-process__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.real-estate-process__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.real-estate-process__button {
    display: flex;
    width: 284px;
    max-width: 100%;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-process__header,
    .real-estate-process__tabs {
        grid-template-columns: minmax(0, 32%) minmax(0, 1fr);
    }

    .real-estate-process__media {
        width: 35%;
        margin-left: 20px;
    }

    .real-estate-process__card {
        padding: 30px;
    }

    .real-estate-process__actions {
        gap: 15px;
    }

    .real-estate-process__button {
        width: calc(50% - 7.5px);
    }
}

@media (max-width: 991px) {
    .real-estate-process__header {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .real-estate-process__description {
        margin-top: 0;

    }

    .real-estate-process__tabs {
        display: flex;
        flex-direction: column;
        gap: 30px;
        min-width: 0;
    }

    .real-estate-process__nav {
        flex-direction: row;
        align-items: stretch;
        align-self: stretch;
        gap: 20px;
        width: calc(100% + 40px);
        margin: 0 -20px;
        padding: 0 20px;
        overflow-x: auto;
        overflow-y: hidden;
        border-bottom: 1px solid rgba(17, 17, 17, 0.3);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .real-estate-process__nav::-webkit-scrollbar {
        display: none;
    }

    .real-estate-process__tab {
        flex: 0 0 242px;
        gap: 5px;
        width: 242px;
        margin: 0;
        padding: 0 0 15px;
        border-bottom: 2px solid transparent;

        line-height: 1.35;
    }

    .real-estate-process__tab._active {
        border-bottom-color: #cc001e;
    }

    .real-estate-process__panels {
        width: 100%;
    }

    .real-estate-process__card {
        gap: 24px;
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 15px 10px rgba(0, 0, 0, 0.2);
    }

    .real-estate-process__entry {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .real-estate-process__intro {
        display: flex;
        flex-direction: column;
        order: 1;
        gap: 12px;
    }

    .real-estate-process__stage {
        margin-bottom: 0;

    }

    .real-estate-process__step-title {
        margin-bottom: 0;
    }

    .real-estate-process__media {
        float: none;
        order: 2;
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 320 / 180;
        margin: 0;
    }

    .real-estate-process__actions {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 12px;
        margin-top: 0;
    }

    .real-estate-process__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-process__tab {
        transition: none;
    }
}

/* Real estate: pricing scenarios. Based on the shared service pricing-card structure. */
.real-estate-pricing {
    padding-bottom: clamp(50px, calc(0.892857vw + 46.428571px), 60px);
    overflow-x: clip;
    overflow-y: visible;
    color: #fff;
    background: #111;
}

.real-estate-pricing__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 40px;
    text-align: center;
}

.real-estate-pricing__title h2 {
    color: #fff;
    font-size: clamp(36px, calc(2.142857vw + 27.428571px), 60px);
    line-height: 1;
    text-transform: uppercase;
}

.real-estate-pricing__description {
    max-width: 966px;
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    line-height: 1.5;
}

.real-estate-pricing__description p {
    margin: 0;
}

.real-estate-pricing__grid {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    min-width: 0;
}

.real-estate-pricing .pricing-card {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    padding: 25px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #1d1d1d;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .real-estate-pricing .pricing-card:hover {
        border-color: #cc001e;
    }
}

.real-estate-pricing .pricing-card__title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-height: 58px;
}

.real-estate-pricing .pricing-card__title h3 {
    margin: 0;
    color: #fff;
    font-family: "TT Norms", "Geometria", sans-serif;
    font-size: clamp(16px, calc(0.535714vw + 13.857143px), 22px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.real-estate-pricing .pricing-card__tooltip {
    position: relative;
    display: inline-flex;
    flex: 0 0 24px;
}

.real-estate-pricing .tooltip-block__button {
    display: block;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #cc001e;
    cursor: pointer;
}

.real-estate-pricing .tooltip-block__button svg {
    display: block;
}

.real-estate-pricing .tooltip-block__text {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: calc(100% + 8px);
    width: min(260px, 75vw);
    padding: 12px;
    border-radius: 10px;
    background: #2b2b2b;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.real-estate-pricing .pricing-card__tooltip:hover .tooltip-block__text,
.real-estate-pricing .pricing-card__tooltip:focus-within .tooltip-block__text {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.real-estate-pricing .pricing-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 250px;
}

.real-estate-pricing .pricing-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.real-estate-pricing .pricing-card__desc {
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: #cc001e;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    text-decoration-skip-ink: none;
}

.real-estate-pricing .pricing-card__desc p {
    margin: 0;
}

.real-estate-pricing .pricing-card__price-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    min-height: 124px;
    padding: 20px;
    border-radius: 20px;
    background: #2b2b2b;
}

.real-estate-pricing .pricing-card__price {
    font-size: clamp(24px, calc(0.714286vw + 21.142857px), 32px);
    font-weight: 700;
    line-height: 1.25;
}

.real-estate-pricing .pricing-card__period {
    font-size: clamp(14px, calc(0.178571vw + 13.285714px), 16px);
    line-height: 1.5;
}

.real-estate-pricing .pricing-card__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0 0 10px;
    list-style: none;
    font-size: clamp(14px, calc(0.178571vw + 13.285714px), 16px);
    line-height: 1.5;
}

.real-estate-pricing .pricing-card__item {
    padding-left: 20px;
    border-left: 2px solid #cc001e;
}

.real-estate-pricing .pricing-card__extra {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
    font-size: 14px;
    line-height: 1.5;
}

.real-estate-pricing .pricing-card__extra-title {
    margin-bottom: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.real-estate-pricing .pricing-card__extra-list {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.real-estate-pricing .pricing-card__list-more {
    display: none;
}

.real-estate-pricing .pricing-card__btn {
    display: flex;
    margin-top: auto;
}

.real-estate-pricing .pricing-card__btn .popup-link-custom {
    min-height: 60px;
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    text-transform: none;
}

@media (max-width: 1200px) {
    .real-estate-pricing__grid {
        gap: 16px;
        margin-inline: -20px;
        padding: 0 20px 20px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .real-estate-pricing__grid::-webkit-scrollbar {
        display: none;
    }

    .real-estate-pricing .pricing-card {
        flex: 0 0 350px;
    }
}

@media (max-width: 991px) {
    .real-estate-pricing__header {
        gap: 10px;
        margin-bottom: 20px;
    }

    .real-estate-pricing__grid {
        gap: 12px;
    }

    .real-estate-pricing .pricing-card {
        flex-basis: 280px;
        gap: 10px;
        padding: 16px;
        border-radius: 16px;
    }

    .real-estate-pricing .pricing-card__title {
        min-height: 42px;
    }

    .real-estate-pricing .pricing-card__tooltip {
        flex-basis: 20px;
    }

    .real-estate-pricing .tooltip-block__button,
    .real-estate-pricing .tooltip-block__button svg {
        width: 20px;
        height: 20px;
    }

    .real-estate-pricing .pricing-card__media {
        height: auto;
        aspect-ratio: 248 / 150;
    }

    .real-estate-pricing .pricing-card__price-box {
        gap: 10px;
        min-height: 0;
        padding: 14px;
        border-radius: 12px;
    }

    .real-estate-pricing .pricing-card__list {
        gap: 8px;

    }

    .real-estate-pricing .pricing-card__list:not(._active) .pricing-card__item--collapsed {
        display: none;
    }

    .real-estate-pricing .pricing-card__list-more {
        display: inline-flex;
        align-items: center;
        align-self: flex-start;
        padding: 0;
        border: 0;
        background: transparent;
        color: #cc001e;
        font: inherit;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .real-estate-pricing .pricing-card__btn .popup-link-custom {
        min-height: 50px;

    }
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-pricing .pricing-card,
    .real-estate-pricing .tooltip-block__text {
        transition: none;
    }
}


/* Light theme for the shared reviews component */
.rew-global--light {
    color: #111;
    background: #fafaf8;
}

.rew-global--light .rew-global__title {
    max-width: none;
}

.rew-global--light .rew-global__title h2 {
    color: #111;
    font-size: clamp(36px, calc(2.142857vw + 27.428571px), 60px);
    line-height: 1;
}

.rew-global--light .rew-global__desp {
    color: #111;
}

.rew-global--light .rew-global__title h2 span {
    color: #cc001e;
}

.rew-global--light .rew-global__scrollbar.swiper-scrollbar {
    background: #d0d0d0;
}

.rew-global--light .rew-global__scrollbar .swiper-scrollbar-drag {
    background: #cc001e;
}

.rew-global--light .rew-global__nav .uslugi-custom__arrow {
    display: flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 10px;
    border-radius: 50%;
    background: #cc001e;
    cursor: pointer;
}

.rew-global--light .rew-global__nav .uslugi-custom__arrow svg {
    display: block;
    width: 30px;
    height: 30px;
}

.rew-global--light .rew-global__nav .uslugi-custom__arrow svg path {
    stroke: #fff;
}

.real-estate-page .rew-global--light .rew-global__content .uslugi-custom__pags.pag {
    margin-top: 20px;
}

@media (max-width: 991px) {
    .real-estate-page .rew-global--light .rew-global__content .uslugi-custom__pags.pag {
        display: none;
    }
}

/* FAQ — real estate variant */
.real-estate-faq {
    margin: 0;
    background: #fafaf8;
    color: #111;
    overflow: hidden;
}

.real-estate-faq .faq-custom__header {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto 70px;
    text-align: center;
}

.real-estate-faq .faq-custom__title {
    align-self: center;
    width: 100%;
    max-width: 983px;
}

.real-estate-faq .faq-custom__title h2 {
    width: 100%;
    margin: 0;
    color: #111;
    font-size: clamp(28px, calc(2.857143vw + 16.571429px), 60px);
    line-height: 1;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    text-transform: uppercase;
}

.real-estate-faq .faq-custom__text {
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    line-height: 1.5;
}

.real-estate-faq .faq-custom__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.real-estate-faq .faq-custom__column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.real-estate-faq .faq-cust {
    margin: 0;
    border-radius: 16px;
    background: #f3f3f3;
    color: #111;
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .real-estate-faq .faq-cust:hover {
        box-shadow: 0 10px 30px rgba(204, 0, 30, 0.22);
    }
}

.real-estate-faq .faq-cust__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-inline: 20px;
    padding-block: 20px;
    border-bottom: 1px solid transparent;
    cursor: pointer;
}

.real-estate-faq .faq-cust__title {
    flex: 1;
    min-width: 0;
}

.real-estate-faq .faq-cust__title h3 {
    color: #111;
    font-family: "PT Sans Narrow", "Arial Narrow", sans-serif;
    font-size: clamp(16px, calc(0.714286vw + 13.142857px), 24px);
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

.real-estate-faq .faq-cust__icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    color: #111;
    transition: color 0.3s ease, transform 0.3s ease;
}

.real-estate-faq .faq-cust__icon svg {
    display: block;
}

.real-estate-faq .faq-cust._active .faq-cust__icon {
    color: #cc001e;
    transform: scale(-1, 1);
}

.real-estate-faq .faq-cust__desp {
    margin-inline: 20px;
    max-height: 0;
    overflow: hidden;
    color: #111;
    font-size: clamp(14px, calc(0.178571vw + 13.285714px), 16px);
    line-height: 1.375;
}

.real-estate-faq .faq-cust._active .faq-cust__desp {
    max-height: none;
}

.real-estate-faq .faq-cust__desp p {
    margin: 0;
}

.real-estate-faq .faq-cust__desp p + p {
    margin-top: 12px;
}

@media (max-width: 1200px) {
    .real-estate-faq .faq-custom__content {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .real-estate-faq .faq-custom__header {
        gap: 20px;
        margin-bottom: 20px;
    }

    .real-estate-faq .faq-custom__content,
    .real-estate-faq .faq-custom__column {
        gap: 12px;
    }

    .real-estate-faq .faq-cust {
        border-radius: 16px;
    }

    .real-estate-faq .faq-cust__top {
        gap: 12px;
        margin-inline: 14px;
        padding-block: 14px;
    }

    .real-estate-faq .faq-cust__desp {
        margin-inline: 14px;

        line-height: 1.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-estate-faq .faq-cust,
    .real-estate-faq .faq-cust__icon {
        transition: none;
    }
}


/* CTA: real estate strategy */
.real-estate-cta__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    grid-template-areas:
        "content media"
        "button media";
    gap: 25px 0;
    min-height: 417px;
    padding: 40px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 30px;
    background: linear-gradient(81deg, #7a0114 0.68%, #cc001e 47.65%, #ff9c00 98.38%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.real-estate-cta__content {
    position: relative;
    z-index: 2;
    grid-area: content;
    display: flex;
    flex-direction: column;
    align-self: start;
    gap: 20px;
    max-width: 680px;
    min-width: 0;
    color: #fff;
}

.real-estate-cta__title h2 {
    color: #fff;
    font-size: clamp(26px, calc(2.321429vw + 16.714286px), 52px);
    line-height: 1;
    text-transform: uppercase;
}

.real-estate-cta__description {
    color: #fff;
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    line-height: 1.5;
}

.real-estate-cta__description p {
    margin: 0;
}

.real-estate-cta__media {
    position: absolute;
    grid-area: auto;
    right: -44px;
    bottom: 0;
    z-index: 1;
    width: min(54%, 744px);
    height: 100%;
    pointer-events: none;
}

.real-estate-cta__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}

.real-estate-cta__button {
    position: relative;
    z-index: 2;
    grid-area: button;
    align-self: end;
    width: 407px;
    max-width: 100%;
}

.real-estate-page .real-estate-cta__button button.popup-link-custom {
    min-height: 64px;
    padding: 20px 30px;
    border-radius: 30px;
    background: #fff;
    color: #7f0114;
    font-size: clamp(14px, calc(0.178571vw + 13.285714px), 16px);
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 10px 15px rgba(255, 131, 131, 0.2);
}

.real-estate-cta__inner--no-image {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "content"
        "button";
}

.real-estate-cta__inner--no-image .real-estate-cta__content {
    max-width: 850px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .real-estate-cta__inner {
        grid-template-columns: minmax(0, 60%) minmax(0, 1fr);
        min-height: 385px;
        padding: 32px;
    }

    .real-estate-cta__media {
        width: 52%;
    }
}

@media (max-width: 991px) {
    .real-estate-cta__inner {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
            "content"
            "media"
            "button";
        gap: 0;
        min-height: 0;
        padding: 16px;
        border-radius: 16px;
        background: linear-gradient(88deg, #7a0114 0.68%, #cc001e 47.65%, #ff9c00 98.38%);
    }

    .real-estate-cta__content {
        gap: 10px;
        max-width: none;
    }

    .real-estate-cta__title h2 {

        line-height: 1;
    }

    .real-estate-cta__description {

        line-height: 1.5;
    }

    .real-estate-cta__media {
        position: relative;
        right: auto;
        bottom: auto;
        grid-area: media;
        width: 100%;
        height: auto;
        aspect-ratio: 1830 / 1024;
        margin: 0;
    }

    .real-estate-cta__image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center bottom;
    }

    .real-estate-cta__button {
        align-self: stretch;
        width: 100%;
    }

    .real-estate-page .real-estate-cta__button button.popup-link-custom {
        min-height: 50px;
        padding: 16px 12px;

    }
}


/* Final contacts: real estate */
.real-estate-contact {
    position: relative;
    isolation: isolate;
    padding-block: 0;
    min-height: 529px;
    overflow: hidden;
    background: #111;
}

.real-estate-contact__surface {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #fafaf8;
    pointer-events: none;
}

/* Contacts use the shared dark-section brush, positioned inside the white surface. */
.real-estate-contact::before {
    top: -1px;
    transform: rotate(180deg);
}

.real-estate-contact::after {
    bottom: -1px;
    transform: none;
    /* The shared brush is #111111; this renders its solid fill as #070707. */
    filter: brightness(0.411765);
}

.real-estate-contact__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 480px) minmax(0, 351px) minmax(0, 1fr);
    align-items: start;
    column-gap: 47px;
    min-height: 529px;
    padding-top: 140px;
    padding-bottom: 80px;
}

.real-estate-contact__header {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 0;
}

.real-estate-contact__label {
    color: rgba(17, 17, 17, 0.6);
    font-family: "Geometria", sans-serif;
    font-size: clamp(20px, calc(1.785714vw + 12.857143px), 40px);
    line-height: 1.2;
    text-transform: uppercase;
}

.real-estate-contact__title h2 {
    color: #111;
    font-family: "PT Sans Narrow", "Arial Narrow", sans-serif;
    font-size: clamp(44px, calc(3.214286vw + 31.142857px), 80px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.real-estate-contact__action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 78px;
    min-width: 0;
}

.real-estate-contact__description {
    color: #111;
    font-family: "Geometria", sans-serif;
    font-size: clamp(14px, calc(0.357143vw + 12.571429px), 18px);
    line-height: 1.5;
}

.real-estate-contact__description p {
    margin: 0;
}

.real-estate-contact__button {
    width: 297px;
    max-width: 100%;
}

.real-estate-page .real-estate-contact__button button.popup-link-custom {
    min-height: 60px;
    padding: 20px 30px;
    background: linear-gradient(100deg, #cc001e 38.45%, #7a0114 100%);
    color: #fff;
    font-size: 16px;
}

.real-estate-contact__media {
    position: absolute;
    z-index: 4;
    right: -35px;
    bottom: -20px;
    width: min(49%, 685px);
    pointer-events: none;
}

.real-estate-contact__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (min-width: 992px) and (max-width: 1299px) {
    .real-estate-contact__container {
        grid-template-columns: minmax(0, 38%) minmax(0, 29%) minmax(0, 1fr);
        column-gap: 20px;
    }

    .real-estate-contact__media {
        right: -50px;
        width: 51%;
    }
}

@media (max-width: 991px) {
    .real-estate-contact {
        min-height: 0;
    }

    .real-estate-contact::before {
        top: -2px;
    }

    .real-estate-contact::after {
        bottom: -2px;
    }

    .real-estate-contact__container {
        display: flex;
        flex-direction: column;
        gap: 0;
        min-height: 546px;
        padding-top: 60px;
        padding-bottom: 0;
    }

    .real-estate-contact__header {
        width: 100%;
        gap: 16px;
    }

    .real-estate-contact__title h2 {

        line-height: 1;
        letter-spacing: 0.02em;
    }

    .real-estate-contact__action {
        width: 100%;
        gap: 24px;
        margin-top: 16px;
    }

    .real-estate-contact__description {

        line-height: 1.5;
    }

    .real-estate-contact__button {
        width: 100%;
    }

    .real-estate-page .real-estate-contact__button button.popup-link-custom {
        min-height: 50px;
        padding: 15px 20px;

    }

    .real-estate-contact__media {
        position: relative;
        right: auto;
        bottom: auto;
        left: -5px;
        align-self: center;
        width: min(calc(100% + 10px), 680px);
        max-width: none;
        margin-top: 15px;
        margin-bottom: -16px;
        rotate: -3.3deg;
    }
}
