/* =========================================================
   PROPERA — NEW HOME
   HERO
========================================================= */

.propera-home {
    --propera-blue: #063f63;
    --propera-dark: #062d45;
    --propera-white: #ffffff;
}


/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.propera-home__hero {
    position: relative;
    min-height: 760px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #ffffff;
    isolation: isolate;
}


/* ---------------------------------------------------------
   BACKGROUND
--------------------------------------------------------- */

.propera-home__hero-bg {
    position: fixed;
    inset: 0;

    z-index: -2;

    background-image: url('https://propera.ru/wp-content/uploads/2023/10/photo_2023-10-09_14-00-58.jpg');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* ---------------------------------------------------------
   OVERLAY
--------------------------------------------------------- */

.propera-home .propera-home__hero-overlay {
    position: absolute !important;
    inset: 0 !important;

    z-index: -1 !important;

    background:
        linear-gradient(
            90deg,
            rgba(2, 31, 48, 0.62) 0%,
            rgba(2, 31, 48, 0.48) 38%,
            rgba(2, 31, 48, 0.34) 65%,
            rgba(2, 31, 48, 0.40) 100%
        ) !important;
}


/* ---------------------------------------------------------
   CONTAINER
--------------------------------------------------------- */

.propera-home__container {
    width: min(1280px, calc(100% - 80px));
    margin: 0 auto;
}


/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.propera-home__hero-content {

    width: min(600px, 100%);

    margin-left: auto;

    padding: 80px 0;

    text-align: left;
}


/* ---------------------------------------------------------
   BRAND
--------------------------------------------------------- */

.propera-home__brand {

    margin-bottom: 14px;

    font-size: clamp(48px, 5vw, 76px);

    line-height: 0.95;

    font-weight: 700;

    letter-spacing: 0.08em;

    color: #ffffff;

    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}


/* ---------------------------------------------------------
   TAGLINE / EYEBROW
--------------------------------------------------------- */

.propera-home__tagline {

    position: relative;

    display: inline-flex;
    align-items: center;

    margin-bottom: 30px;

    padding-left: 18px;

    font-size: 15px;

    line-height: 1.4;

    font-weight: 500;

    letter-spacing: 0.02em;

    color: rgba(255, 255, 255, 0.92);

    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}


/* маленькая декоративная линия */

.propera-home__tagline::before {

    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 5px;
    height: 24px;

    transform: translateY(-50%);

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.85);
}


/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */

.propera-home__title {

    margin: 0 0 20px;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.08;

    font-weight: 600;

    letter-spacing: -0.025em;

    color: #ffffff;

    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.25);
}


/* ---------------------------------------------------------
   SUBTITLE
--------------------------------------------------------- */

.propera-home__subtitle {

    max-width: 500px;

    margin: 0 0 38px;

    font-size: 20px;

    line-height: 1.45;

    font-weight: 400;

    color: rgba(255, 255, 255, 0.90);

    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}


/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */

.propera-home__buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}


/* ---------------------------------------------------------
   BUTTON BASE
--------------------------------------------------------- */

.propera-home__button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 56px;

    padding: 0 30px;

    border-radius: 100px;

    font-size: 15px;

    line-height: 1;

    font-weight: 600;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* ---------------------------------------------------------
   PRIMARY BUTTON
--------------------------------------------------------- */

.propera-home__button--primary {

    background: #ffffff;

    color: #063f63;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
}


.propera-home__button--primary:hover {

    background: #f4f9fb;

    color: #063f63;

    transform: translateY(-2px);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}


/* ---------------------------------------------------------
   SECONDARY BUTTON
--------------------------------------------------------- */

.propera-home__button--secondary {

    border: 1px solid rgba(255, 255, 255, 0.75);

    background: rgba(255, 255, 255, 0.10);

    color: #ffffff;

    backdrop-filter: blur(8px);
}


.propera-home__button--secondary:hover {

    border-color: #ffffff;

    background: rgba(255, 255, 255, 0.18);

    color: #ffffff;

    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media (max-width: 900px) {

    .propera-home__hero {

        min-height: 700px;
    }


    .propera-home__container {

        width: min(100% - 48px, 720px);
    }


    .propera-home__hero-content {

        width: min(560px, 100%);

        margin-left: auto;
    }


    .propera-home__hero-bg {

        background-position: 58% center;
    }

}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 600px) {

    .propera-home__hero {

        min-height: 720px;

        align-items: flex-end;
    }


    .propera-home__container {

        width: calc(100% - 36px);
    }


    .propera-home__hero-bg {

        position: absolute;

        background-position: 63% center;
    }


    .propera-home__hero-overlay {

        background:
            linear-gradient(
                180deg,
                rgba(2, 31, 48, 0.12) 0%,
                rgba(2, 31, 48, 0.28) 35%,
                rgba(2, 31, 48, 0.78) 72%,
                rgba(2, 31, 48, 0.94) 100%
            );
    }


    .propera-home__hero-content {

        width: 100%;

        margin-left: 0;

        padding: 48px 0 42px;
    }


    .propera-home__brand {

        font-size: 46px;
    }


    .propera-home__tagline {

        margin-bottom: 22px;

        font-size: 13px;
    }


    .propera-home__title {

        margin-bottom: 14px;

        font-size: 34px;

        line-height: 1.08;
    }


    .propera-home__subtitle {

        margin-bottom: 28px;

        font-size: 17px;

        line-height: 1.4;
    }


    .propera-home__buttons {

        flex-direction: column;

        gap: 10px;
    }


    .propera-home__button {

        width: 100%;
    }

}





/* =========================================================
   PROPERA HOME — FORCE OVERRIDES
   Переопределяем глобальные стили темы
========================================================= */


/* HERO */

.propera-home .propera-home__hero {
    color: #ffffff !important;
}


/* BRAND */

.propera-home .propera-home__brand {
    color: #ffffff !important;
}


/* TAGLINE */

.propera-home .propera-home__tagline {
    color: rgba(255, 255, 255, 0.92) !important;
}


/* TITLE */

.propera-home .propera-home__title {
    color: #ffffff !important;

    font-size: clamp(38px, 4vw, 58px) !important;
    line-height: 1.08 !important;
    font-weight: 600 !important;

    margin: 0 0 20px !important;

    letter-spacing: -0.025em !important;

    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.25) !important;
}


/* SUBTITLE */

.propera-home .propera-home__subtitle {
    color: rgba(255, 255, 255, 0.90) !important;

    font-size: 20px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;

    margin: 0 0 38px !important;
}


/* BUTTONS — общий сброс */

.propera-home .propera-home__button {
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 600 !important;

    text-decoration: none !important;

    border-radius: 100px !important;
}


/* PRIMARY BUTTON */

.propera-home .propera-home__button--primary,
.propera-home .propera-home__button--primary:visited {
    background: #ffffff !important;
    color: #063f63 !important;

    border: 1px solid #ffffff !important;
}


.propera-home .propera-home__button--primary:hover {
    background: #f4f9fb !important;
    color: #063f63 !important;
}


/* SECONDARY BUTTON */

.propera-home .propera-home__button--secondary,
.propera-home .propera-home__button--secondary:visited {
    background: rgba(255, 255, 255, 0.10) !important;

    color: #ffffff !important;

    border: 1px solid rgba(255, 255, 255, 0.75) !important;
}


.propera-home .propera-home__button--secondary:hover {
    background: rgba(255, 255, 255, 0.18) !important;

    color: #ffffff !important;

    border-color: #ffffff !important;
}


/* BUTTON — убираем возможные псевдоэлементы темы */

.propera-home .propera-home__button::before,
.propera-home .propera-home__button::after {
    display: none !important;
}






/* =========================================================
   PROPERA HOME — FINAL HERO OVERRIDES
========================================================= */


/* ---------------------------------------------------------
   HERO BACKGROUND
   Фон только внутри Hero, не залезает под header
--------------------------------------------------------- */

.propera-home .propera-home__hero-bg {
    position: absolute !important;
    inset: 0 !important;

    z-index: -2 !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.propera-home .propera-home__hero {
    position: relative !important;
    overflow: hidden !important;
}


/* ---------------------------------------------------------
   MAIN TITLE
--------------------------------------------------------- */

.propera-home .propera-home__title {
    max-width: 560px !important;

    margin: 0 0 20px !important;

    font-size: 44px !important;
    line-height: 1.10 !important;

    font-weight: 600 !important;

    letter-spacing: -0.02em !important;

    color: #ffffff !important;
}


/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media (max-width: 900px) {

    .propera-home .propera-home__title {
        font-size: 38px !important;
    }

}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 600px) {

    .propera-home .propera-home__title {
        font-size: 32px !important;
        line-height: 1.08 !important;
    }

}











/* =========================================================
   PROPERA HOME — ADVANTAGES
========================================================= */

.propera-home__advantages {
    position: relative;

    background: #f7f9f8;

    color: #063f63;

    border-bottom: 1px solid rgba(6, 63, 99, 0.08);
}


/* ---------------------------------------------------------
   CONTAINER
--------------------------------------------------------- */

.propera-home__advantages-container {

    width: min(1280px, calc(100% - 80px));

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    column-gap: 0;
}


/* ---------------------------------------------------------
   CARD
--------------------------------------------------------- */

.propera-home__advantage {

    position: relative;

    min-height: 190px;

    padding: 38px 50px 36px;

    border-right: 1px solid rgba(6, 63, 99, 0.10);
}


.propera-home__advantage:first-child {
    padding-left: 0;
}


.propera-home__advantage:last-child {
    padding-right: 0;

    border-right: none;
}


/* ---------------------------------------------------------
   TOP
--------------------------------------------------------- */

.propera-home__advantage-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 25px;
}


/* ---------------------------------------------------------
   NUMBER
--------------------------------------------------------- */

.propera-home__advantage-number {

    font-size: 12px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: 0.12em;

    color: rgba(6, 63, 99, 0.45);
}


/* ---------------------------------------------------------
   ICON
--------------------------------------------------------- */

.propera-home__advantage-icon {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border: 1px solid rgba(6, 63, 99, 0.25);

    border-radius: 50%;

    font-size: 18px;

    line-height: 1;

    font-weight: 400;

    color: #063f63;
}


/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */

.propera-home__advantage-title {

    margin-bottom: 9px;

    font-size: 19px;

    line-height: 1.2;

    font-weight: 600;

    letter-spacing: -0.01em;

    color: #063f63 !important;
}


/* ---------------------------------------------------------
   TEXT
--------------------------------------------------------- */

.propera-home__advantage-text {

    max-width: 300px;

    font-size: 14px;

    line-height: 1.5;

    font-weight: 400;

    color: rgba(6, 63, 99, 0.68) !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .propera-home__advantages-container {

        width: calc(100% - 48px);
    }


    .propera-home__advantage {

        padding: 32px 28px;
    }


    .propera-home__advantage:first-child {

        padding-left: 0;
    }


    .propera-home__advantage:last-child {

        padding-right: 0;
    }


    .propera-home__advantage-title {

        font-size: 17px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .propera-home__advantages-container {

        width: calc(100% - 36px);

        display: block;
    }


    .propera-home__advantage {

        min-height: auto;

        padding: 28px 0;

        border-right: none;

        border-bottom: 1px solid rgba(6, 63, 99, 0.10);
    }


    .propera-home__advantage:first-child {

        padding-left: 0;
    }


    .propera-home__advantage:last-child {

        padding-right: 0;

        border-bottom: none;
    }


    .propera-home__advantage-top {

        margin-bottom: 16px;
    }


    .propera-home__advantage-title {

        font-size: 18px;
    }


    .propera-home__advantage-text {

        max-width: 100%;

        font-size: 14px;
    }

}












/* =========================================================
   PROPERA HOME — CATEGORIES
========================================================= */

.propera-home__categories {
    position: relative;

    padding: 110px 0 120px;

    background: #ffffff;

    color: #063f63;
}


/* ---------------------------------------------------------
   CONTAINER
--------------------------------------------------------- */

.propera-home__categories-container {
    width: min(1280px, calc(100% - 80px));

    margin: 0 auto;
}


/* ---------------------------------------------------------
   SECTION HEADING
--------------------------------------------------------- */

.propera-home__section-heading {
    max-width: 650px;

    margin-bottom: 55px;
}


.propera-home__section-title {
    margin: 0 0 14px !important;

    font-size: clamp(36px, 4vw, 52px) !important;

    line-height: 1.08 !important;

    font-weight: 600 !important;

    letter-spacing: -0.025em !important;

    color: #063f63 !important;
}


.propera-home__section-description {
    max-width: 560px;

    margin: 0 !important;

    font-size: 18px !important;

    line-height: 1.5 !important;

    font-weight: 400 !important;

    color: rgba(6, 63, 99, 0.65) !important;
}


/* ---------------------------------------------------------
   GRID
--------------------------------------------------------- */

.propera-home__categories-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


/* ---------------------------------------------------------
   CATEGORY CARD
--------------------------------------------------------- */

.propera-home__category-card {

    position: relative;

    display: flex;

    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border-radius: 18px;

    background: #f3f6f5;

    text-decoration: none !important;

    color: #063f63 !important;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.propera-home__category-card:hover {

    color: #063f63 !important;

    transform: translateY(-5px);

    box-shadow: 0 18px 45px rgba(6, 63, 99, 0.12);
}


/* ---------------------------------------------------------
   IMAGE
--------------------------------------------------------- */

.propera-home__category-image {

    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #edf2f1;
}


.propera-home__category-image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}





/* ---------------------------------------------------------
   EMPTY IMAGE
--------------------------------------------------------- */

.propera-home__category-image--empty {

    background:
        linear-gradient(
            135deg,
            #eef3f2,
            #e3ebea
        );
}


/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.propera-home__category-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 22px 22px 24px;
}


/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */

.propera-home__category-title {

    margin: 0 !important;

    font-size: 18px !important;

    line-height: 1.2 !important;

    font-weight: 600 !important;

    color: #063f63 !important;
}


/* ---------------------------------------------------------
   LINK
--------------------------------------------------------- */

.propera-home__category-link {

    flex-shrink: 0;

    font-size: 13px;

    line-height: 1;

    font-weight: 500;

    white-space: nowrap;

    color: rgba(6, 63, 99, 0.65);

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.propera-home__category-card:hover
.propera-home__category-link {

    color: #063f63;

    transform: translateX(3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .propera-home__categories {

        padding: 90px 0 100px;
    }


    .propera-home__categories-container {

        width: calc(100% - 48px);
    }


    .propera-home__categories-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 18px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .propera-home__categories {

        padding: 70px 0 80px;
    }


    .propera-home__categories-container {

        width: calc(100% - 36px);
    }


    .propera-home__section-heading {

        margin-bottom: 35px;
    }


    .propera-home__section-title {

        font-size: 34px !important;
    }


    .propera-home__section-description {

        font-size: 16px !important;
    }


    .propera-home__categories-grid {

        grid-template-columns: 1fr;

        gap: 14px;
    }


    .propera-home__category-content {

        padding: 18px 18px 20px;
    }


    .propera-home__category-title {

        font-size: 17px !important;
    }

}








/* =========================================================
   PROPERA HOME — FINS SELECTOR
========================================================= */

.propera-home__fins {

    padding: 120px 0 130px;

    background: #f7f9f8;

    color: #063f63;
}


.propera-home__fins-container {

    width: min(1280px, calc(100% - 80px));

    margin: 0 auto;
}


/* ---------------------------------------------------------
   HEADING
--------------------------------------------------------- */

.propera-home__fins-heading {

    max-width: 720px;

    margin-bottom: 55px;
}


/* ---------------------------------------------------------
   GRID
--------------------------------------------------------- */

.propera-home__fins-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


/* ---------------------------------------------------------
   CARD
--------------------------------------------------------- */

.propera-home__fin-card {

    display: flex;

    flex-direction: column;

    overflow: hidden;

    background: #ffffff;

    border-radius: 20px;

    text-decoration: none !important;

    color: #063f63 !important;

    box-shadow:
        0 8px 30px rgba(6, 63, 99, 0.06);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.propera-home__fin-card:hover {

    color: #063f63 !important;

    transform: translateY(-6px);

    box-shadow:
        0 20px 50px rgba(6, 63, 99, 0.13);
}


/* ---------------------------------------------------------
   IMAGE
--------------------------------------------------------- */

.propera-home__fin-image {

    position: relative;

    overflow: hidden;

    aspect-ratio: 0.88 / 1;

    background: #e8eeee;
}


.propera-home__fin-image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;


}





/* ---------------------------------------------------------
   NUMBER
--------------------------------------------------------- */

.propera-home__fin-number {

    position: absolute;

    top: 22px;
    left: 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.88);

    backdrop-filter: blur(8px);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.08em;

    color: #063f63;
}


/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.propera-home__fin-content {

    padding: 27px 28px 30px;
}


/* ---------------------------------------------------------
   AGE
--------------------------------------------------------- */

.propera-home__fin-age {

    margin-bottom: 7px;

    font-size: 27px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: -0.02em;

    color: #063f63 !important;
}


.propera-home__fin-age span {

    font-size: 17px;

    font-weight: 400;

    color: rgba(6, 63, 99, 0.60);
}


/* ---------------------------------------------------------
   TASK
--------------------------------------------------------- */

.propera-home__fin-task {

    margin-bottom: 23px;

    font-size: 14px;

    line-height: 1.4;

    color: rgba(6, 63, 99, 0.62);
}


/* ---------------------------------------------------------
   MODEL
--------------------------------------------------------- */

.propera-home__fin-model {

    margin: 0 0 16px !important;

    font-size: 20px !important;

    line-height: 1.2 !important;

    font-weight: 600 !important;

    letter-spacing: 0.02em;

    color: #063f63 !important;
}


/* ---------------------------------------------------------
   PRICE
--------------------------------------------------------- */

.propera-home__fin-price {

    margin-bottom: 24px;

    font-size: 17px;

    line-height: 1;

    font-weight: 600;

    color: #063f63;
}


/* ---------------------------------------------------------
   LINK
--------------------------------------------------------- */

.propera-home__fin-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;

    line-height: 1;

    font-weight: 600;

    color: #063f63;

    transition: gap 0.25s ease;
}


.propera-home__fin-card:hover
.propera-home__fin-link {

    gap: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .propera-home__fins {

        padding: 90px 0 100px;
    }


    .propera-home__fins-container {

        width: calc(100% - 48px);
    }


    .propera-home__fins-grid {

        grid-template-columns: repeat(2, 1fr);
    }


    .propera-home__fin-card:last-child {

        grid-column: span 2;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .propera-home__fins {

        padding: 70px 0 80px;
    }


    .propera-home__fins-container {

        width: calc(100% - 36px);
    }


    .propera-home__fins-heading {

        margin-bottom: 35px;
    }


    .propera-home__fins-grid {

        grid-template-columns: 1fr;

        gap: 16px;
    }


    .propera-home__fin-card:last-child {

        grid-column: auto;
    }


    .propera-home__fin-image {

        aspect-ratio: 1 / 1;
    }


    .propera-home__fin-content {

        padding: 23px 22px 26px;
    }

}







/* =========================================================
   PROPERA HOME — WHY PROPERA
========================================================= */

.propera-home__why {

    padding: 90px 0 100px;

    background: #ffffff;

    color: #063f63;
}


.propera-home__why-container {

    width: min(1180px, calc(100% - 80px));

    margin: 0 auto;
}


/* ---------------------------------------------------------
   HEADING
--------------------------------------------------------- */

.propera-home__why-heading {

    margin-bottom: 45px;

    text-align: center;
}


/* ---------------------------------------------------------
   MAIN LAYOUT
--------------------------------------------------------- */

.propera-home__why-layout {

    display: grid;

    grid-template-columns: 1fr 360px 1fr;

    align-items: center;

    gap: 45px;
}


/* ---------------------------------------------------------
   COLUMNS
--------------------------------------------------------- */

.propera-home__why-column {

    display: flex;

    flex-direction: column;

    gap: 55px;
}


.propera-home__why-column--left {

    text-align: right;
}


.propera-home__why-column--right {

    text-align: left;
}


/* ---------------------------------------------------------
   ADVANTAGE
--------------------------------------------------------- */

.propera-home__why-item {

    display: flex;

    gap: 16px;

    align-items: flex-start;
}


.propera-home__why-column--left
.propera-home__why-item {

    flex-direction: row-reverse;
}


/* ---------------------------------------------------------
   NUMBER
--------------------------------------------------------- */

.propera-home__why-number {

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 1px solid rgba(6, 63, 99, 0.18);

    border-radius: 50%;

    font-size: 18px;

    font-weight: 600;

    letter-spacing: 0.05em;

    color: rgba(6, 63, 99, 0.55);
}


/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */

.propera-home__why-title {

    margin: 3px 0 7px !important;

    font-size: 22px !important;

    line-height: 1.25 !important;

    font-weight: 600 !important;

    color: #063f63 !important;
}


/* ---------------------------------------------------------
   TEXT
--------------------------------------------------------- */

.propera-home__why-text {

    max-width: 250px;

    margin: 0 !important;

    font-size: 16px !important;

    line-height: 1.5 !important;

    color: rgba(6, 63, 99, 0.62) !important;
}


/* ---------------------------------------------------------
   IMAGE
--------------------------------------------------------- */

.propera-home__why-image {

    position: relative;

    overflow: hidden;

    width: 100%;

    aspect-ratio: 0.78 / 1;

    border-radius: 180px 180px 22px 22px;
}


.propera-home__why-image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition: transform 0.5s ease;
}


.propera-home__why-image:hover img {

    transform: scale(1.025);
}


/* ---------------------------------------------------------
   MATERIALS
--------------------------------------------------------- */

.propera-home__why-materials {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    max-width: 800px;

    margin: 45px auto 0;

    text-align: center;

    font-size: 20px;

    line-height: 1.5;

    color: rgba(6, 63, 99, 0.55);
}


.propera-home__why-materials span:first-child {

    font-weight: 600;

    color: #063f63;
}


.propera-home__why-materials-dot {

    font-size: 16px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .propera-home__why {

        padding: 80px 0 90px;
    }


    .propera-home__why-container {

        width: calc(100% - 48px);
    }


    .propera-home__why-layout {

        grid-template-columns: 1fr 300px 1fr;

        gap: 25px;
    }


    .propera-home__why-column {

        gap: 40px;
    }


    .propera-home__why-title {

        font-size: 20px !important;
    }


    .propera-home__why-text {

        font-size: 16px !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .propera-home__why {

        padding: 65px 0 70px;
    }


    .propera-home__why-container {

        width: calc(100% - 36px);
    }


    .propera-home__why-heading {

        margin-bottom: 30px;
    }


    .propera-home__why-layout {

        display: flex;

        flex-direction: column;

        gap: 30px;
    }


    .propera-home__why-image {

        order: 0;

        width: min(330px, 100%);

        margin: 0 auto;

        aspect-ratio: 0.78 / 1;
    }


    .propera-home__why-column {

        width: 100%;

        gap: 25px;
    }


    .propera-home__why-column--left {

        order: 1;

        text-align: left;
    }


    .propera-home__why-column--right {

        order: 2;

        text-align: left;
    }


    .propera-home__why-column--left
    .propera-home__why-item {

        flex-direction: row;
    }


	
	    .propera-home__why-title {

        font-size: 18px !important;
    }
	
	
    .propera-home__why-text {

        max-width: 100%;

        font-size: 14px !important;
    }


    .propera-home__why-materials {

        display: block;

        margin-top: 35px;

        padding-top: 25px;

        border-top: 1px solid rgba(6, 63, 99, 0.1);

        font-size: 14px;
    }


    .propera-home__why-materials-dot {

        display: none;
    }

}









/* =========================================================
   PROPERA HOME — REVIEWS / OZON
========================================================= */

.propera-home__reviews {

    padding: 0 0 100px;

    background: #ffffff;
}


.propera-home__reviews-container {

    width: min(1180px, calc(100% - 80px));

    min-height: 150px;

    margin: 0 auto;

    padding: 30px 42px;

    display: grid;

    grid-template-columns: 1fr auto 1.2fr;

    align-items: center;

    gap: 45px;

    background: #063f63;

    border-radius: 20px;

    color: #ffffff;
}


/* ---------------------------------------------------------
   RATING
--------------------------------------------------------- */

.propera-home__reviews-rating {

    display: grid;

    grid-template-columns: auto 1fr;

    grid-template-rows: auto auto;

    column-gap: 16px;

    align-items: center;
}


.propera-home__reviews-score {

    grid-row: span 2;

    font-size: 46px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: -0.04em;

    color: #ffffff;
}


.propera-home__reviews-stars {

    align-self: end;

    font-size: 16px;

    line-height: 1;

    letter-spacing: 2px;

    color: #ffffff;
}


.propera-home__reviews-label {

    align-self: start;

    margin-top: 5px;

    font-size: 12px;

    line-height: 1.3;

    color: rgba(255, 255, 255, 0.65);
}


/* ---------------------------------------------------------
   COUNT
--------------------------------------------------------- */

.propera-home__reviews-count {

    padding-left: 45px;

    border-left: 1px solid rgba(255, 255, 255, 0.18);
}


.propera-home__reviews-count strong {

    display: block;

    margin-bottom: 4px;

    font-size: 32px;

    line-height: 1;

    font-weight: 600;

    color: #ffffff;
}


.propera-home__reviews-count span {

    font-size: 13px;

    color: rgba(255, 255, 255, 0.65);
}


/* ---------------------------------------------------------
   LINK
--------------------------------------------------------- */

.propera-home__reviews-link {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 10px;

    text-align: right;
}


.propera-home__reviews-link > span {

    font-size: 13px;

    color: rgba(255, 255, 255, 0.65);
}


.propera-home__reviews-link a {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    font-size: 14px;

    line-height: 1;

    font-weight: 600;

    color: #ffffff !important;

    text-decoration: none !important;

    transition: gap 0.25s ease;
}


.propera-home__reviews-link a:hover {

    color: #ffffff !important;

    gap: 13px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .propera-home__reviews {

        padding-bottom: 80px;
    }


    .propera-home__reviews-container {

        width: calc(100% - 48px);

        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }


    .propera-home__reviews-link {

        grid-column: span 2;

        align-items: flex-start;

        text-align: left;

        padding-top: 5px;
    }


    .propera-home__reviews-count {

        padding-left: 30px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .propera-home__reviews {

        padding-bottom: 65px;
    }


    .propera-home__reviews-container {

        width: calc(100% - 36px);

        min-height: auto;

        padding: 27px 24px;

        display: block;

        border-radius: 17px;
    }


    .propera-home__reviews-rating {

        margin-bottom: 25px;
    }


    .propera-home__reviews-score {

        font-size: 40px;
    }


    .propera-home__reviews-count {

        margin-bottom: 25px;

        padding: 0;

        border-left: none;
    }


    .propera-home__reviews-count strong {

        font-size: 28px;
    }


    .propera-home__reviews-link {

        align-items: flex-start;

        text-align: left;
    }

}








/* =========================================================
   PROPERA HOME — PROFESSIONAL COMMUNITY
========================================================= */

.propera-home__community {

    position: relative;

    min-height: 560px;

    overflow: hidden;

    color: #ffffff;
}


/* ---------------------------------------------------------
   BACKGROUND
--------------------------------------------------------- */

.propera-home__community-bg {

    position: absolute;

    inset: 0;

    background-image: url("https://propera.ru/wp-content/uploads/2023/12/A956C246-CFE0-4C74-851F-899CDFFA4CF4-1024x599-optimized.jpg");

    background-size: cover;

    background-position: center;

    background-attachment: fixed;

}


/* ---------------------------------------------------------
   OVERLAY
--------------------------------------------------------- */

.propera-home__community-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 48, 76, 0.92) 0%,
            rgba(3, 48, 76, 0.76) 45%,
            rgba(3, 48, 76, 0.38) 100%
        );
}


/* ---------------------------------------------------------
   CONTAINER
--------------------------------------------------------- */

.propera-home__community-container {

    position: relative;

    z-index: 2;

    width: min(1180px, calc(100% - 80px));

    min-height: 560px;

    margin: 0 auto;

    display: flex;

    align-items: center;
}


/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.propera-home__community-content {

    width: min(760px, 100%);
}


/* ---------------------------------------------------------
   LABEL
--------------------------------------------------------- */

.propera-home__community-label {

    display: inline-block;

    margin-bottom: 18px;

    font-size: 12px;

    line-height: 1.4;

    font-weight: 500;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.72);
}


/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */

.propera-home__community-title {

    margin: 0 0 22px !important;

    font-size: 48px !important;

    line-height: 1.05 !important;

    font-weight: 600 !important;

    letter-spacing: -0.035em;

    color: #ffffff !important;
}


/* ---------------------------------------------------------
   DESCRIPTION
--------------------------------------------------------- */

.propera-home__community-description {

    max-width: 620px;

    margin: 0 0 42px !important;

    font-size: 17px !important;

    line-height: 1.55 !important;

    color: rgba(255, 255, 255, 0.82) !important;
}


/* ---------------------------------------------------------
   DIRECTIONS
--------------------------------------------------------- */

.propera-home__community-directions {

    display: grid;

    grid-template-columns: repeat(4, auto);

    gap: 35px;

    margin-bottom: 42px;
}


.propera-home__community-direction {

    display: flex;

    flex-direction: column;

    gap: 9px;
}


.propera-home__community-direction span {

    font-size: 10px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: 0.12em;

    color: rgba(255, 255, 255, 0.48);
}


.propera-home__community-direction strong {

    font-size: 16px;

    line-height: 1.2;

    font-weight: 500;

    color: #ffffff;
}


/* ---------------------------------------------------------
   BUTTON
--------------------------------------------------------- */

.propera-home__community-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 15px 23px;

    border: 1px solid rgba(255, 255, 255, 0.55);

    border-radius: 50px;

    font-size: 14px;

    line-height: 1;

    font-weight: 600;

    color: #ffffff !important;

    text-decoration: none !important;

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        gap 0.25s ease;
}


.propera-home__community-button:hover {

    color: #ffffff !important;

    background: rgba(255, 255, 255, 0.16);

    border-color: #ffffff;

    gap: 14px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .propera-home__community {

        min-height: 520px;
    }


    .propera-home__community-container {

        width: calc(100% - 48px);

        min-height: 520px;
    }


    .propera-home__community-title {

        font-size: 40px !important;
    }


    .propera-home__community-directions {

        gap: 25px;
    }


    .propera-home__community-direction strong {

        font-size: 14px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .propera-home__community {

        min-height: 650px;
    }


    .propera-home__community-bg {

        background-attachment: scroll;

        background-position: center;
    }


    .propera-home__community-overlay {

        background:
            linear-gradient(
                180deg,
                rgba(3, 48, 76, 0.88) 0%,
                rgba(3, 48, 76, 0.76) 100%
            );
    }


    .propera-home__community-container {

        width: calc(100% - 36px);

        min-height: 650px;
    }


    .propera-home__community-title {

        margin-bottom: 18px !important;

        font-size: 34px !important;

        line-height: 1.08 !important;
    }


    .propera-home__community-description {

        margin-bottom: 35px !important;

        font-size: 15px !important;
    }


    .propera-home__community-directions {

        grid-template-columns: repeat(2, 1fr);

        gap: 28px 20px;

        margin-bottom: 35px;
    }


    .propera-home__community-direction strong {

        font-size: 15px;
    }


    .propera-home__community-button {

        padding: 14px 21px;
    }

}








/* =========================================================
   PROPERA HOME — WHERE TO BUY
========================================================= */

.propera-home__where-to-buy {

    padding: 65px 0;

    background: #f3f7f8;

    color: #063f63;
}


.propera-home__where-to-buy-container {

    width: min(1180px, calc(100% - 80px));

    margin: 0 auto;

    padding: 35px 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    background: #ffffff;

    border-radius: 20px;

    box-shadow: 0 8px 35px rgba(6, 63, 99, 0.06);
}


/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.propera-home__where-to-buy-content {

    max-width: 700px;
}


.propera-home__where-to-buy-label {

    display: block;

    margin-bottom: 10px;

    font-size: 11px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: 0.14em;

    color: rgba(6, 63, 99, 0.45);
}


.propera-home__where-to-buy-title {

    margin: 0 0 10px !important;

    font-size: 28px !important;

    line-height: 1.15 !important;

    font-weight: 600 !important;

    letter-spacing: -0.02em;

    color: #063f63 !important;
}


.propera-home__where-to-buy-text {

    margin: 0 !important;

    font-size: 15px !important;

    line-height: 1.5 !important;

    color: rgba(6, 63, 99, 0.65) !important;
}


/* ---------------------------------------------------------
   BUTTON
--------------------------------------------------------- */

.propera-home__where-to-buy-button {

    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 15px 23px;

    border-radius: 50px;

    background: #063f63;

    color: #ffffff !important;

    font-size: 14px;

    line-height: 1;

    font-weight: 600;

    text-decoration: none !important;

    transition:
        background 0.25s ease,
        gap 0.25s ease,
        transform 0.25s ease;
}


.propera-home__where-to-buy-button:hover {

    background: #052f4a;

    color: #ffffff !important;

    gap: 14px;




/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .propera-home__where-to-buy {

        padding: 55px 0;
    }


    .propera-home__where-to-buy-container {

        width: calc(100% - 48px);

        padding: 32px;

        gap: 30px;
    }


    .propera-home__where-to-buy-title {

        font-size: 25px !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .propera-home__where-to-buy {

        padding: 45px 0;
    }


    .propera-home__where-to-buy-container {

        width: calc(100% - 36px);

        padding: 27px 23px;

        display: block;

        border-radius: 17px;
    }


    .propera-home__where-to-buy-content {

        margin-bottom: 25px;
    }


    .propera-home__where-to-buy-title {

        font-size: 24px !important;

        line-height: 1.2 !important;
    }


    .propera-home__where-to-buy-text {

        font-size: 14px !important;
    }


    .propera-home__where-to-buy-button {

        padding: 14px 21px;
    }

}