@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,500;6..96,600;6..96,700&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
    /* Typography */
    --font-main: "Inter", Arial, sans-serif;
    --font-accent: "Bodoni Moda", Georgia, serif;
    --fs-title: clamp(2.25rem, 4vw, 4rem);
    --fs-subtitle: clamp(1.55rem, 2.4vw, 2.6rem);
    --fs-body: 1.125rem;
    --fs-small: 1rem;
    --fs-compact-button: 0.82rem;

    /* Palette */
    --home-white: #ffffff;
    --home-black: #000000;
    --home-text: #111111;
    --home-muted: rgba(17, 17, 17, 0.60);
    --home-surface: var(--home-white);
    --home-page-bg: #fbfcfb;
    --home-green: #018d71;
    --home-raspberry: #b8325f;
    --home-yellow: #feef10;
    --home-turquoise: #3dc7ab;
    --home-gold: #d8c000;
    --home-border: rgba(17, 17, 17, 0.075);

    /* Shape and elevation */
    --home-radius: 10px;
    --home-radius-small: 8px;
    --home-radius-pill: 999px;
    --home-shadow: 0 12px 32px rgba(17, 17, 17, 0.03);
    --home-shadow-hover: 0 14px 30px rgba(17, 17, 17, 0.05);
    --home-brand-divider:
        linear-gradient(
            to right,
            var(--color-primary) 0 18px,
            transparent 18px 23px,
            var(--color-secondary) 23px 41px,
            transparent 41px 46px,
            var(--color-third) 46px 64px,
            transparent 64px 69px,
            var(--color-raspberry) 69px 87px
        );

    /* Component rhythm */
    --home-gap-xs: 4px;
    --home-gap-sm: 8px;
    --home-gap-lg: 24px;
    --home-section-space: 78px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: var(--fs-body);
}

.welcome-screen {
    position: relative;
    min-height: 100vh;
    margin-top: -175px;
    overflow: hidden;
}

.welcome-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    top: -150px;

    background-image: url("../images/selika_bg_home.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    will-change: transform;
    backface-visibility: hidden;
    animation:
        welcomeIntroTravel 14s ease-out forwards;
    z-index: 0;
}

.welcome-screen > * {
    position: relative;
    z-index: 1;
}

@keyframes welcomeIntroTravel {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    15% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    60% {
        transform: translate3d(0, 0, 0) scale(1.1);
    }

    100% {
        transform: translate3d(60px, 0, 0) scale(1.08);
    }
}

@keyframes welcomeIntroTravelTablet {
    0%,
    15% {
        transform: translate3d(0, 0, 0) scale(1.04);
    }

    60% {
        transform: translate3d(-18px, 10px, 0) scale(1.11);
    }

    100% {
        transform: translate3d(24px, 6px, 0) scale(1.09);
    }
}

@keyframes welcomeIntroTravelPhone {
    0%,
    18% {
        transform: scale(1.12);
        transform-origin: left top;
        background-position: left top;
    }

    60% {
        transform: scale(1.17);
        transform-origin: left top;
        background-position: 6% top;
    }

    100% {
        transform: scale(1.16);
        transform-origin: left top;
        background-position: left top;
    }
}

.home-search-module {
    position: absolute;
    left: 50%;
    top: 51%;
    width: min(500px, calc(100% - 96px));
    transform: translate(-50%, -50%);
    z-index: 3;
}

.home-search-intro {
    width: 100%;
    margin-bottom: 18px;
    text-align: center;
}

.home-search-intro p {
    max-width: 750px;
    margin: 0 auto;

    color: var(--home-text);
    font-family: var(--font-main);
    font-size: 3.2rem;
    font-style: italic;
    line-height: 1.03;
    font-weight: 350;
    letter-spacing: -0.055em;
}

.home-search-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;

    width: min(100%, 760px);
    margin: 0 auto;
    padding: 0;

    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.home-search-form::before {
    display: none;
}

.home-search-text-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
    box-sizing: border-box;

    min-height: 42px;
    padding: 0 12px;

    background: rgba(255, 255, 255, 0.98);
    border: 2px solid var(--home-raspberry);
    border-radius: var(--home-radius-pill);
    overflow: hidden;
}

.home-search-text-row:focus-within {
    background: var(--home-white);
    transform: translateY(-1px);
}

.home-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;

    width: 22px;
    height: 22px;

    color: var(--home-green);
}

.home-search-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.home-search-text-row input, .home-search-text-row input[type="text"], .home-search-text-row input[name="search"] {
    display: block;
    flex: 1 1 auto;

    width: 100%;
    min-width: 0;
    max-width: none;
    height: 50px;
    min-height: 50px;

    margin: 0;
    padding: 0;

    border: 0  !important;
    border-radius: 0 !important;
    outline: 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    color: var(--home-text);
    font-family: var(--font-main);
    font-size: var(--fs-body);
}

.home-search-text-row input::placeholder, .home-search-text-row input[type="text"]::placeholder, .home-search-text-row input[name="search"]::placeholder {
    color: rgba(17, 17, 17, 0.48);
    opacity: 1;
    font-family: var(--font-main);
    font-size: var(--fs-body);
}

.home-search-text-row input:focus, .home-search-text-row input[type="text"]:focus, .home-search-text-row input[name="search"]:focus {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.home-search-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    align-items: stretch;
}

.home-search-choice-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 32px;
    padding: 0 20px;
    border-radius: var(--home-radius-pill);
    color: var(--home-black);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);

    font-family: var(--font-accent);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    text-decoration: none;

    cursor: pointer;

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

.home-search-choice-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.home-search-choice-button-yellow {
    border: 1px solid rgba(254, 239, 16, 1);
}

.home-search-choice-button-green {
    border: 1px solid rgba(1, 141, 113, 1);
}

.welcome-scroll-strip {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: transparent;
    border: 0;
    text-decoration: none;
    transform: translateX(-50%);
    z-index: 2;
}

.welcome-scroll-circle {
    position: relative;
    width: 118px;
    height: 59px;
    border-radius: 118px 118px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--home-white);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-bottom: 0;
    transform: translateY(0);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

.welcome-scroll-arrow {
    position: relative;
    z-index: 2;
    color: var(--home-green);
    font-size: var(--fs-title);
    line-height: 1;
    font-weight: 800;
    animation: welcomeArrowBounce 1.4s ease-in-out infinite;
}

@keyframes welcomeArrowBounce {
    0%,
    100% {
        transform: translateY(-2px);
        opacity: 0.75;
    }

    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}

.welcome-scroll-strip:hover .welcome-scroll-arrow {
    animation-duration: 0.9s;
}

.wrapper-last-properties {
    width: 100%;
    padding: 52px 0 46px;
    overflow: hidden;
    background: var(--home-white);
}

.home-last-container {
    width: min(90vw, 1380px);
    margin: 0 auto;
    overflow: hidden;
}

.home-properties-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
    align-items: start;
    gap: var(--home-gap-lg);
}

.home-latest-column, .home-sold-column {
    min-width: 0;
}

.home-last-title, .home-sold-title {
    width: 100%;
    min-height: 2.1em;
    margin: 0 0 32px;
    color: var(--home-black);
    font-family: var(--font-main);
    font-size: clamp(2rem, 3.2vw, var(--fs-title));
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.home-last-title, .home-sold-title {
    text-align: left;
}

.home-last-title span {
    color: var(--color-raspberry);
}

.home-sold-title span {
    display: block;
    color: var(--color-primary);
}

.home-last-carousel-window {
    width: 100%;
    overflow: hidden;
}

.home-last-properties-grid {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.55s ease;
    will-change: transform;
}

.home-last-properties-grid .home-property-card {
    flex: 0 0 calc((100% - 36px) / 3);
    width: calc((100% - 36px) / 3);
    max-width: calc((100% - 36px) / 3);
}

.home-sold-column {
    padding-left: 24px;
    border-left: 1px solid rgba(1, 141, 113, 0.16);
}

.home-sold-carousel-window {
    position: relative;
    width: 100%;
    overflow: hidden;
    transition: height 0.6s ease-in-out;
}

.home-sold-properties-track {
    position: relative;
    width: 100%;
    transition: height 0.6s ease-in-out;
}

.home-sold-property-card {
    position: absolute;
    inset: 0 auto auto 0;

    width: 100%;
    margin: 0;
    box-sizing: border-box;

    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    transform: translate3d(0, 100%, 0);

    transition:
        transform 0.6s ease-in-out,
        opacity 0.25s ease-in-out;
}

.home-sold-property-card.is-active {
    position: absolute;

    visibility: visible;
    opacity: 1;
    pointer-events: auto;

    transform: translate3d(0, 0, 0);
}

.home-sold-property-card.is-entering {
    visibility: visible;
    opacity: 1;

    transform: translate3d(0, 100%, 0);
}

.home-sold-property-card.is-leaving {
    visibility: visible;
    opacity: 1;
    pointer-events: none;

    transform: translate3d(0, -100%, 0);
}

.home-sold-property-card:hover, .home-sold-property-card.is-active:hover {
    transform: translate3d(0, 0, 0);
}

.home-sold-property-card .home-property-favorite-btn {
    display: none !important;
}

.home-sold-empty {
    margin: 0;
    padding: 24px;
    border: 1px solid rgba(1, 141, 113, 0.14);
    border-radius: 10px;
    color: rgba(0, 0, 0, 0.64);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.5;
    text-align: center;
}

.home-property-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--home-white);
    border: 1px solid rgba(1, 141, 113, 0.14);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.home-property-card:hover {
    transform: translateY(-4px);
    border-color: rgba(61, 199, 171, 0.55);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.13);
}

.home-property-link {
    display: block;
    height: 100%;
    color: var(--home-black);
    text-decoration: none;
}

.home-property-link:hover, .home-property-link:focus {
    color: var(--home-black);
    text-decoration: none;
}

.home-property-media {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: rgba(1, 141, 113, 0.06);
}

.home-property-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.25);
    transition: transform 0.35s ease;
}

.home-property-card:hover .home-property-media img {
    transform: scale(1);
}

.home-property-topbar {
    position: absolute;
    top: 12px;
    right: 56px;
    left: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    pointer-events: none;
}

.home-sold-property-card .home-property-topbar {
    right: 12px;
    justify-content: space-between;
}

.home-property-ref, .home-property-sold-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 6px;
    color: var(--home-white);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1;
}

.home-property-ref {
    background: var(--color-raspberry);
}

.home-property-sold-badge {
    background: var(--color-primary);
    font-weight: 700;
}

.home-property-favorite-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}

.home-property-favorite-btn img {
    display: block;
    width: 20px;
    height: 20px;
    background: transparent;
    object-fit: contain;
    pointer-events: none;
}

.home-property-favorite-btn:hover, .home-property-favorite-btn:focus {
    background: transparent;
    box-shadow: none;
    transform: scale(1.08);
}

.home-property-favorite-btn:active {
    background: transparent;
    transform: scale(0.95);
}

.home-property-favorite-btn.active {
    background: transparent;
    box-shadow: none;
}

.home-property-favorite-btn, .home-property-favorite-btn:hover, .home-property-favorite-btn:focus, .home-property-favorite-btn:active, .home-property-favorite-btn.active, .home-property-favorite-btn.active:hover, .home-property-favorite-btn.active:focus {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.home-property-body {
    padding: 17px 17px 19px;
}

.home-property-price-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.home-property-price {
    color: var(--color-primary);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 600;
    line-height: 1.1;
}

.home-property-price strong {
    font-family: var(--font-main);
    font-weight: 700;
}

.home-property-price span {
    color: var(--home-black);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 400;
}

.home-property-location {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    max-width: 46%;
    color: var(--home-black);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.2;
    text-align: right;
}

.home-property-location span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-property-location i {
    flex: 0 0 auto;
    color: var(--color-third);
    font-size: var(--fs-small);
}

.home-property-body h3 {
    margin: 0 0 8px;
    color: var(--home-black);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.home-property-title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: rgba(0, 0, 0, 0.72);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-property-legal {
    margin: 12px 0 0;
    color: rgba(0, 0, 0, 0.52);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.35;
}


.wrapper-txthome {
    background: var(--home-white);
    color: var(--home-black);
    padding: 58px 0 66px 0;
}

.home-question-section {
    width: 100%;
    padding: 20px 0 40px 0;
}

.home-question-container {
    width: min(80vw, 1380px);
    margin: 0 auto;
    padding: 58px 64px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;

    background:
        linear-gradient(135deg, var(--home-green) 0%, var(--home-turquoise) 100%);

    border-radius: 10px;
    box-shadow: 0 22px 56px rgba(1, 141, 113, 0.24);

    color: var(--home-white);
}

.home-question-content {
    max-width: 820px;
}

.home-question-kicker {
    margin: 0 0 12px 0;

    color: var(--home-yellow);
    font-family: var(--font-accent);
    font-size: var(--fs-body);
    font-style: italic;
    font-weight: 600;
    line-height: 1.1;
    text-transform: none;
    letter-spacing: 0.01em;
}

.home-question-content h2 {
    max-width: 760px;
    margin: 0 0 16px 0;

    color: var(--home-white);
    font-family: var(--font-main);
    font-size: var(--fs-title);
    line-height: 1.03;
    font-weight: 500;
    letter-spacing: -0.055em;
}

.home-question-content p:last-child {
    max-width: 680px;
    margin: 0;

    color: rgba(255, 255, 255, 0.86);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.6;
}

.home-question-button {
    flex: 0 0 auto;

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

    min-height: 48px;
    padding: 0 26px;

    background: var(--home-white);
    color: var(--home-green);

    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: var(--home-radius-pill);

    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.01em;

    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);

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

.home-question-button:hover, .home-question-button:focus {
    background: var(--home-yellow);
    color: var(--home-black);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.home-question-button:active {
    transform: translateY(0) scale(0.985);
}

.wrapper-txthome {
    padding: var(--home-section-space) 0;
    background: var(--home-page-bg);
    color: var(--home-text);
}

.home-discovery-section {
    padding: var(--home-section-space) 0;
    background: var(--home-surface);
    border-top: 1px solid rgba(17, 17, 17, 0.055);
    border-bottom: 1px solid rgba(17, 17, 17, 0.055);
}

.home-about-container, .home-discovery-container {
    width: min(1220px, calc(100% - 40px));
    max-width: none;
    margin-inline: auto;
}

.home-about-header, .home-discovery-heading {
    width: min(700px, 100%);
    max-width: 700px;
    margin: 0 auto 44px;
    text-align: center;
}

.home-about-title, .home-discovery-title {
    margin: 0;
    color: var(--home-text);
    font-family: var(--font-main);
    font-size: var(--fs-title);
    line-height: 1.06;
    font-weight: 720;
    letter-spacing: -0.045em;
}

.home-about-title::after, .home-discovery-title::after {
    content: "";
    display: block;
    width: 68px;
    height: 2px;
    margin: 18px auto 0;
    border-radius: 3px;
    background:
        linear-gradient(
            to right,
            var(--color-primary) 0 14px,
            transparent 14px 18px,
            var(--color-secondary) 18px 32px,
            transparent 32px 36px,
            var(--color-third) 36px 50px,
            transparent 50px 54px,
            var(--color-raspberry) 54px 68px
        );
}

.home-about-kicker, .home-discovery-subtitle {
    max-width: 690px;
    margin: 16px auto 0;
    color: var(--home-muted);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.82;
    font-weight: 430;
    text-transform: none;
    letter-spacing: normal;
}

.home-about-content {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: clamp(30px, 4vw, 50px);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: var(--home-surface);
    box-shadow: var(--home-shadow);
}

.home-about-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 40px;
    width: 87px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--home-brand-divider);
    pointer-events: none;
}

.home-discovery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-discovery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
}

.home-about-label, .home-discovery-kicker {
    margin: 0 0 12px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--home-green);
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.home-about-content h1 {
    max-width: 920px;
    margin: 0;
    color: var(--home-text);
    font-family: var(--font-main);
    font-size: var(--fs-title);
    line-height: 1.08;
    font-weight: 720;
    letter-spacing: -0.045em;
}

.home-about-content h1::after {
    display: none;
}

.home-about-text {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    margin-top: 30px;
}

.home-about-text p, .home-about-text p:first-child {
    margin: 0;
    color: var(--home-muted);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.72;
    font-weight: 420;
}

.home-about-awards {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
    padding: 0;
    border: 0;
}

.home-about-awards::after {
    display: none;
}

.home-award-card {
    position: relative;
    min-height: 178px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: var(--home-surface);
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.028);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.home-award-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    width: 38px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--color-primary);
    pointer-events: none;
}

.home-award-card-left::before {
    background: var(--color-primary);
}

.home-award-card-center::before {
    background: var(--color-secondary);
}

.home-award-card-right::before {
    background: var(--color-raspberry);
}

.home-award-card:hover {
    transform: translateY(-2px);
    border-color: rgba(1, 141, 113, 0.18);
    box-shadow: var(--home-shadow-hover);
}

.home-award-card strong, .home-award-card .typo-section-title {
    color: var(--home-raspberry);
    font-family: var(--font-main);
    font-size: var(--fs-title);
    line-height: 0.98;
    font-weight: 720;
    letter-spacing: -0.045em;
}

.home-award-card-center strong, .home-award-card-center .typo-section-title {
    color: var(--home-green);
}

.home-award-card span, .home-award-card .typo-text:not(.home-award-image-text) {
    color: var(--home-text);
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.home-discovery-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.home-discovery-column {
    min-width: 0;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: var(--home-surface);
    box-shadow: var(--home-shadow);
}

.home-discovery-heading {
    margin-bottom: 24px;
}

.home-discovery-card, .home-discovery-card-agency, .home-discovery-card-team {
    position: relative;
    width: 100%;
    aspect-ratio: 1.45 / 1;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.075);
    border-radius: var(--home-radius);
    background: var(--home-surface);
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.06);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.home-discovery-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    z-index: 3;
    width: 38px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--color-secondary);
    pointer-events: none;
}

.home-discovery-card-team::before {
    background: var(--color-raspberry);
}

.home-discovery-card:hover, .home-discovery-card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(1, 141, 113, 0.18);
    box-shadow: var(--home-shadow-hover);
}

.home-discovery-card img {
    transform: scale(1.02);
}

.home-discovery-card:hover img, .home-discovery-card:focus-within img {
    transform: scale(1.06);
}

.home-discovery-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: flex;
    align-items: flex-end;

    padding: 30px;

    background: radial-gradient(
        ellipse 85% 75% at left bottom,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.62) 30%,
        rgba(0, 0, 0, 0.28) 55%,
        transparent 78%
    );
}

.home-discovery-content {
    max-width: 500px;
}

.home-discovery-card-team .home-discovery-kicker {
    color: rgba(255, 255, 255, 0.82);
}

.home-discovery-content h3 {
    margin: 0;
    color: var(--home-white);
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.045em;
}

.home-discovery-content p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.62;
    font-weight: 420;
}

.home-discovery-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--home-gap-sm);
    margin-top: 18px;
}

.home-discovery-links button {
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: var(--home-radius-small);
    background: rgba(255, 255, 255, 0.10);
    color: var(--home-white);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(8px);
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.home-discovery-links button:hover, .home-discovery-links button:focus, .home-discovery-links button.is-active, .home-discovery-card-team .home-discovery-links button:hover, .home-discovery-card-team .home-discovery-links button:focus, .home-discovery-card-team .home-discovery-links button.is-active {
    transform: translateY(-1px);
    border-color: var(--home-white);
    background: var(--home-white);
    color: var(--home-text);
}

.home-about-awards {
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 280px), 380px)
    );
    justify-content: center;
    align-items: stretch;
}

.home-about-awards > .home-award-card {
    width: 100%;
    max-width: 380px;
    justify-self: center;
}

@keyframes homeReviewEnter {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.home-about-awards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
}

.home-about-awards > .home-award-card {
    width: 100%;
    max-width: none;
}

.home-award-card {
    display: grid;
    grid-template-rows: 12px 48px auto auto;
    align-items: center;
    justify-items: center;
    align-content: center;
    gap: 2px;
    min-height: 168px;
    padding: 14px 18px;
    text-align: center;
}

.home-award-card .home-award-value {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    margin: 0;
    color: var(--home-raspberry);
    font-family: var(--font-main);
    font-size: clamp(2.35rem, 3vw, 3.25rem);
    line-height: 0.98;
    font-weight: 720;
    letter-spacing: -0.05em;
}

.home-award-card-center .home-award-value {
    color: var(--home-green);
}

.home-award-card-right .home-award-value {
    color: var(--color-raspberry);
}

.home-award-card .home-award-title {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 340px;
    margin: 0;
    color: var(--home-text);
    font-family: var(--font-main);
    font-size: clamp(1rem, 1.1vw, 1.18rem);
    line-height: 1.2;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.home-about-awards .home-award-card .home-award-description.typo-text {
    align-self: start;
    max-width: 340px;
    margin: 3px auto 0 !important;
    color: var(--home-muted);
    font-family: var(--font-main) !important;
    font-size: clamp(0.72rem, 0.78vw, 0.82rem) !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

.home-award-card .home-award-updated-at {
    display: block;
    align-self: end;
    margin: 0;
    color: var(--home-muted);
    font-family: var(--font-main);
    font-size: 0.66rem;
    line-height: 1.1;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.015em;
    opacity: 0.72;
}

.home-award-updated-at-placeholder {
    visibility: hidden;
}

.home-award-card .home-award-agency-value {
    color: var(--home-gold);
}

.home-award-card .home-award-sold-value {
    font-size: clamp(2.35rem, 3vw, 3.25rem);
}

/* Compact card copy; intentionally more specific than typo-* utilities. */
.home-discovery-content .home-discovery-kicker {
    margin: 0 0 var(--home-gap-xs);
    color: var(--home-yellow);
    line-height: 1.05;
}

.home-discovery-content h3 {
    margin: 0 0 var(--home-gap-xs);
    line-height: 1.05;
}

.home-discovery-content .js-discovery-text {
    margin: 0;
    line-height: 1.35;
}

.home-discovery-content .home-discovery-links {
    gap: 6px;
    margin-top: 8px;
}

.home-discovery-content .home-discovery-links button {
    min-height: 30px;
    padding: 0 11px;
    font-size: var(--fs-compact-button);
}

.home-discovery-card-team .home-discovery-content .home-discovery-kicker {
    color: rgba(255, 255, 255, 0.82);
}


.home-team-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--home-surface);
}

.home-team-default-media,
.home-team-mosaic {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.home-team-default-media {
    display: block;
}

.home-team-default-media.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home-team-default-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
}

.home-team-mosaic {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 2px;
    background: var(--home-surface);
}

.home-team-mosaic.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home-team-mosaic img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    transform: none !important;
}

.home-discovery-card-team:hover .home-team-mosaic img,
.home-discovery-card-team:focus-within .home-team-mosaic img,
.home-discovery-card-team:hover .home-team-default-media img,
.home-discovery-card-team:focus-within .home-team-default-media img {
    transform: none !important;
}

.home-discovery-card-team .home-discovery-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}


.home-accent-primary { color: var(--color-primary); }
.home-accent-secondary { color: var(--color-secondary); }
.home-accent-raspberry { color: var(--color-raspberry); }

/* Tablet: 641px–1024px */


/* Phone: up to 640px */


@media (prefers-reduced-motion: reduce) {
    .home-last-properties-grid, .home-sold-carousel-window, .home-sold-properties-track, .home-sold-property-card, .home-property-card, .home-property-media img, .home-property-favorite-btn {
        transition: none;
    }

    .home-property-card:hover {
        transform: none;
    }

    .home-property-card:hover .home-property-media img {
        transform: scale(1.25);
    }




}

/* ==========================================================
   HOME REVIEWS
   Two latest reviews + primary raspberry CTA
   ========================================================== */

.home-about-reviews {
    position: relative;
    width: 100%;
    margin-top: 42px;
    padding: clamp(26px, 3vw, 38px);
    overflow: hidden;
    background: var(--home-green);
    color: var(--home-white);
    border: 1px solid rgba(1, 141, 113, 0.18);
    border-radius: var(--home-radius);
    box-shadow: 0 18px 42px rgba(1, 141, 113, 0.16);
}

.home-about-reviews::before {
    content: "";
    position: absolute;
    top: 0;
    left: 38px;
    width: 68px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background:
        linear-gradient(
            to right,
            var(--color-primary) 0 14px,
            transparent 14px 18px,
            var(--color-secondary) 18px 32px,
            transparent 32px 36px,
            var(--color-third) 36px 50px,
            transparent 50px 54px,
            var(--color-raspberry) 54px 68px
        );
    pointer-events: none;
}

.home-about-reviews-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-about-review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 230px;
    padding: 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.97);
    color: var(--home-text);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: var(--home-radius);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.home-about-review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: 42px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--home-raspberry);
    pointer-events: none;
}

.home-about-review-card::after {
    content: "“";
    position: absolute;
    top: 8px;
    right: 22px;
    color: rgba(1, 141, 113, 0.055);
    font-family: var(--font-accent);
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.home-about-review-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.10);
}

.home-about-review-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.home-about-review-stars {
    flex: 0 0 auto;
    color: var(--home-gold);
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.home-about-review-stars span {
    color: rgba(17, 17, 17, 0.14);
}

.home-about-review-date {
    color: rgba(17, 17, 17, 0.48);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 500;
    line-height: 1.3;
    text-align: right;
}

.home-about-review-quote {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    flex: 1;
    margin: 0 0 22px;
    overflow: hidden;
    color: rgba(17, 17, 17, 0.72);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-style: normal;
    font-weight: 400;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.home-about-review-author {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    color: var(--home-text);
    font-family: var(--font-accent);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.25;
}

.home-about-review-author span {
    color: rgba(17, 17, 17, 0.46);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 500;
}

.home-about-review-author span::before {
    content: "·";
    margin-right: 6px;
}

.home-about-reviews-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.20);
}

.home-about-reviews-bottom-content {
    max-width: 520px;
}

.home-about-reviews-kicker,
.home-about-reviews-sidebar-kicker {
    margin: 0 0 9px;
    color: rgba(255, 255, 255, 0.74);
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.home-about-reviews-bottom h3 {
    margin: 0;
    color: var(--home-white);
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.home-about-reviews-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}

.home-about-reviews-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--home-gap-sm);
    min-height: 46px;
    margin: 0;
    padding: 11px 19px;
    border: 2px solid transparent;
    border-radius: var(--home-radius-small);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.home-about-reviews-button:hover,
.home-about-reviews-button:focus-visible {
    transform: translateY(-1px);
    text-decoration: none;
    outline: none;
}

.home-about-reviews-button-primary {
    background: var(--home-white);
    border-color: var(--home-raspberry);
    color: var(--home-black);
    box-shadow: 0 10px 22px rgba(80, 10, 35, 0.20);
}

.home-about-reviews-button-primary:hover,
.home-about-reviews-button-primary:focus-visible {
    background: var(--home-raspberry);
    color: var(--home-white);
    box-shadow: 0 13px 26px rgba(80, 10, 35, 0.26);
}

.home-about-reviews-button-secondary {
    background: var(--color-white);
    border-color: var(--color-primary);
    color: var(--color-black);
}

.home-about-reviews-button-secondary:hover,
.home-about-reviews-button-secondary:focus-visible {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--home-white);
}






/* Page loading */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999999;

    background: #ffffff;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.7s ease,
        visibility 0s linear 0.7s;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 641px) and (max-width: 1200px) {
.home-property-media {
        height: 195px;
    }

    .home-last-container {
        width: 90vw;
    }

    .home-properties-layout {
        grid-template-columns: minmax(0, 2.6fr) minmax(260px, 1fr);
        gap: 20px;
    }

    .home-sold-column {
        padding-left: 20px;
    }

    .home-last-properties-grid {
        gap: 14px;
    }

    .home-last-properties-grid .home-property-card {
        flex-basis: calc((100% - 28px) / 3);
        width: calc((100% - 28px) / 3);
        max-width: calc((100% - 28px) / 3);
    }

    .home-search-module {
        width: min(500px, calc(100% - 72px));
    }

    .home-search-text-row {
        min-height: 56px;
    }

    .home-search-actions, .home-search-choice-button {
        min-height: 34px;
    }

    .home-property-media {
        height: 180px;
    }

    .home-property-body {
        padding: 15px;
    }

    .home-question-container {
        width: min(88vw, 1380px);
        padding: 48px 52px;
    }

    .home-last-container {
        width: min(92vw, 760px);
    }

    .home-properties-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .home-last-properties-grid .home-property-card {
        flex-basis: calc((100% - 18px) / 2);
        width: calc((100% - 18px) / 2);
        max-width: calc((100% - 18px) / 2);
    }

    .home-last-title, .home-sold-title {
        min-height: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .home-sold-title span {
        display: inline;
    }

    .home-sold-column {
        padding-top: 42px;
        padding-left: 0;
        border-top: 1px solid rgba(1, 141, 113, 0.16);
        border-left: 0;
    }

    .home-sold-carousel-window {
        width: min(100%, 440px);
        margin: 0 auto;
    }

    :root {
        --fs-title: clamp(2rem, 5vw, 3.2rem);
        --fs-subtitle: clamp(1.45rem, 4vw, 2.35rem);
        --fs-body: 1.06rem;
        --fs-small: 1rem;
    }

    .welcome-screen::before {
        top: -120px;
        right: -180px;
        bottom: -40px;
        left: -180px;
        background-size: cover;
        background-position: center top;
        animation-name: welcomeIntroTravelTablet;
        animation-duration: 13s;
    }

    .home-search-module {
        top: 54%;
        width: min(480px, calc(100% - 56px));
    }

    .home-search-intro {
        margin-bottom: 16px;
    }

    .home-search-intro p {
        max-width: 620px;
        line-height: 1.05;
    }

    .home-property-media {
        height: 220px;
    }

    .home-property-body {
        padding: 17px;
    }

    .home-question-container {
        width: min(92vw, 760px);
        padding: 34px;

        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 28px;
    }

    .home-last-container {
        width: calc(100% - 32px);
    }

    .home-properties-layout {
        gap: 42px;
    }

    .home-last-title, .home-sold-title {
        margin-bottom: 26px;
    }

    .home-sold-column {
        padding-top: 36px;
    }

    .welcome-screen {
        min-height: 92vh;
    }

    .home-search-module {
        top: 53%;
    }

    .home-search-intro p {
        letter-spacing: -0.04em;
    }

    .home-search-form {
        border-radius: 10px;
    }

    .home-search-text-row {
        min-height: 54px;
        padding: 0 16px;
    }

    .welcome-scroll-strip {
        height: auto;
        background: transparent;
    }

    .welcome-scroll-circle {
        width: 96px;
        height: 48px;
        border-radius: 96px 96px 0 0;
        transform: translateY(0);
        background: var(--home-white);
    }

    .welcome-scroll-arrow {
        font-size: var(--fs-title);
    }

    .wrapper-last-properties {
        padding-top: 42px;
        padding-bottom: 44px;
    }

    .home-about-text {
        grid-template-columns: 1fr;
    }

    .wrapper-txthome, .home-discovery-section {
        padding: 56px 0;
    }

    .home-about-container, .home-discovery-container {
        width: min(100%, calc(100% - 24px));
    }

    .home-about-awards, .home-discovery-container {
        grid-template-columns: 1fr;
    }

    .home-about-awards {
        gap: 18px;
    }

    .home-discovery-container {
        gap: var(--home-gap-lg);
    }

    .home-discovery-card {
        aspect-ratio: 1.55 / 1;
    }

    .home-about-awards {
        grid-template-columns: repeat(
            auto-fit,
            minmax(min(100%, 260px), 360px)
        );
        justify-content: center;
    }

    .home-about-awards {
        grid-template-columns: 1fr;
    }

    .home-about-awards > .home-award-card {
        max-width: 620px;
    }

    .home-award-card {
        min-height: 160px;
    }

.home-about-reviews-grid {
        grid-template-columns: 1fr;
    }

    .home-about-reviews-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .home-about-reviews-actions {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 640px) {
.home-property-media {
        height: 195px;
    }

    .home-last-container {
        width: 90vw;
    }

    .home-properties-layout {
        grid-template-columns: minmax(0, 2.6fr) minmax(260px, 1fr);
        gap: 20px;
    }

    .home-sold-column {
        padding-left: 20px;
    }

    .home-last-properties-grid {
        gap: 14px;
    }

    .home-last-properties-grid .home-property-card {
        flex-basis: calc((100% - 28px) / 3);
        width: calc((100% - 28px) / 3);
        max-width: calc((100% - 28px) / 3);
    }

    .home-search-module {
        width: min(500px, calc(100% - 72px));
    }

    .home-search-text-row {
        min-height: 56px;
    }

    .home-search-actions, .home-search-choice-button {
        min-height: 34px;
    }

    .home-property-media {
        height: 180px;
    }

    .home-property-body {
        padding: 15px;
    }

    .home-question-container {
        width: min(88vw, 1380px);
        padding: 48px 52px;
    }

    .home-last-container {
        width: min(92vw, 760px);
    }

    .home-properties-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .home-last-properties-grid .home-property-card {
        flex-basis: calc((100% - 18px) / 2);
        width: calc((100% - 18px) / 2);
        max-width: calc((100% - 18px) / 2);
    }

    .home-last-title, .home-sold-title {
        min-height: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .home-sold-title span {
        display: inline;
    }

    .home-sold-column {
        padding-top: 42px;
        padding-left: 0;
        border-top: 1px solid rgba(1, 141, 113, 0.16);
        border-left: 0;
    }

    .home-sold-carousel-window {
        width: min(100%, 440px);
        margin: 0 auto;
    }

    :root {
        --fs-title: clamp(2rem, 5vw, 3.2rem);
        --fs-subtitle: clamp(1.45rem, 4vw, 2.35rem);
        --fs-body: 1.06rem;
        --fs-small: 1rem;
    }

    .welcome-screen::before {
        top: -100px;
        right: -575px;

        background-size: cover;
        background-position: left center;

        transform: scale(1.12) translateY(25px);
    }

    .home-search-module {
        top: 54%;
        width: min(480px, calc(100% - 56px));
    }

    .home-search-intro {
        margin-bottom: 16px;
    }

    .home-search-intro p {
        max-width: 620px;
        line-height: 1.05;
    }

    .home-property-media {
        height: 220px;
    }

    .home-property-body {
        padding: 17px;
    }

    .home-question-container {
        width: min(92vw, 760px);
        padding: 34px;

        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 28px;
    }

    .home-last-container {
        width: calc(100% - 32px);
    }

    .home-properties-layout {
        gap: 42px;
    }

    .home-last-title, .home-sold-title {
        margin-bottom: 26px;
    }

    .home-sold-column {
        padding-top: 36px;
    }

    .welcome-screen {
        min-height: 92vh;
    }

    .home-search-module {
        top: 53%;
    }

    .home-search-intro p {
        letter-spacing: -0.04em;
    }

    .home-search-form {
        border-radius: 10px;
    }

    .home-search-text-row {
        min-height: 54px;
        padding: 0 16px;
    }

    .welcome-scroll-strip {
        height: auto;
        background: transparent;
    }

    .welcome-scroll-circle {
        width: 96px;
        height: 48px;
        border-radius: 96px 96px 0 0;
        transform: translateY(0);
        background: var(--home-white);
    }

    .welcome-scroll-arrow {
        font-size: var(--fs-title);
    }

    .wrapper-last-properties {
        padding-top: 42px;
        padding-bottom: 44px;
    }

    .home-about-text {
        grid-template-columns: 1fr;
    }

    .wrapper-txthome, .home-discovery-section {
        padding: 56px 0;
    }

    .home-about-container, .home-discovery-container {
        width: min(100%, calc(100% - 24px));
    }

    .home-about-awards, .home-discovery-container {
        grid-template-columns: 1fr;
    }

    .home-about-awards {
        gap: 18px;
    }

    .home-discovery-container {
        gap: var(--home-gap-lg);
    }

    .home-discovery-card {
        aspect-ratio: 1.55 / 1;
    }

    .home-about-awards {
        grid-template-columns: repeat(
            auto-fit,
            minmax(min(100%, 260px), 360px)
        );
        justify-content: center;
    }

    .home-about-awards {
        grid-template-columns: 1fr;
    }

    .home-about-awards > .home-award-card {
        max-width: 620px;
    }

    .home-award-card {
        min-height: 160px;
    }

.home-last-container {
        width: calc(100% - 28px);
    }

    .home-last-title, .home-sold-title {
        margin-bottom: 24px;
        font-size: clamp(1.9rem, 9vw, 2.7rem);
    }

    .home-last-properties-grid {
        gap: 12px;
    }

    .home-last-properties-grid .home-property-card {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }

    :root {
        --fs-title: clamp(1.9rem, 8vw, 2.45rem);
        --fs-subtitle: clamp(1.5rem, 7vw, 2rem);
        --fs-body: 1.04rem;
        --fs-small: 1rem;
        --home-mobile-title-peek: clamp(108px, 16svh, 128px);
    }

    .welcome-screen {
        min-height: calc(100svh - var(--home-mobile-title-peek));
        height: calc(100svh - var(--home-mobile-title-peek));
        margin-top: -140px;
    }

    @supports (height: 100dvh) {
        .welcome-screen {
            min-height: calc(100dvh - var(--home-mobile-title-peek));
            height: calc(100dvh - var(--home-mobile-title-peek));
        }
    }

    .welcome-screen::before {
        top: -120px;
        right: -52vw;
        bottom: -80px;
        left: -52vw;
        background-size: cover;
        background-position: 58% top;
        animation-name: welcomeIntroTravelPhone;
        animation-duration: 12s;
    }

    .home-search-module {
        top: 86px;
        bottom: auto;
        display: flex;
        flex-direction: column;
        width: min(430px, calc(100% - 56px));
        height: auto;
        transform: translateX(-50%);
    }

    .home-search-intro {
        position: static;
        margin-top: 169px;
        margin-bottom: 12px;
    }

    .home-search-form {
        position: static;
    }

    .home-search-intro p {
        max-width: 340px;
        line-height: 1.08;
        letter-spacing: -0.04em;
        text-shadow: none;
    }

    .home-search-text-row {
        min-height: 52px;
        padding: 0 15px;
    }

    .home-search-actions {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .home-search-choice-button {
        min-height: 34px;
    }

    .home-search-choice-button:first-child {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    }

    .home-property-media {
        height: 230px;
    }

    .home-property-body {
        padding: 16px;
    }

    .home-property-price-row {
        gap: 10px;
    }

    .home-property-location {
        max-width: 48%;
    }

    .home-question-section {
        padding: 44px 0 56px 0;
    }

    .home-question-container {
        width: calc(100% - 28px);
        padding: 28px 22px;
        gap: var(--home-gap-lg);
    }

    .home-question-button {
        width: 100%;
        min-height: 42px;
    }

    .auth-popup {
        padding: 18px;
    }

    .auth-popup__card {
        padding: 32px 22px 24px 22px;
    }

    :root {
        --fs-title: 1.9rem;
        --fs-subtitle: 1.5rem;
        --fs-body: 1rem;
        --fs-small: 1rem;
    }

    .home-search-module {
        width: min(400px, calc(100% - 64px));
    }

    .home-search-text-row {
        min-height: 50px;
        padding: 0 14px;
    }

    .home-search-choice-button {
        min-height: 32px;
    }

    .home-property-media {
        height: 205px;
    }

    .wrapper-txthome, .home-discovery-section {
        padding: 44px 0;
    }

    .home-about-container, .home-discovery-container {
        width: calc(100% - 16px);
    }

    .home-about-header, .home-discovery-heading {
        margin-bottom: 28px;
    }

    .home-about-content, .home-discovery-column {
        padding: 24px;
    }

    .home-about-content::before {
        left: 24px;
    }

    .home-about-text {
        gap: 14px;
        margin-top: 24px;
    }

    .home-award-card {
        min-height: auto;
        padding: 22px;
    }









    .home-discovery-card {
        aspect-ratio: 1 / 1.05;
    }

    .home-discovery-overlay {
        padding: 24px;
    }

    .home-discovery-links button {
        min-height: 32px;
        padding: 0 11px;
    }

    .home-about-awards {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-about-awards > .home-award-card {
        max-width: 100%;
    }























    .home-award-card {
        grid-template-rows: 12px 46px auto auto;
        min-height: auto;
        padding: 16px;
    }

    .home-about-awards .home-award-card .home-award-description.typo-text {
        font-size: 0.76rem !important;
    }

.home-about-reviews-grid {
        grid-template-columns: 1fr;
    }

    .home-about-reviews-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .home-about-reviews-actions {
        justify-content: flex-start;
        width: 100%;
    }

.home-about-reviews {
        margin-top: 32px;
        padding: 24px 18px;
    }

    .home-about-reviews::before {
        left: 22px;
    }

    .home-about-review-card {
        min-height: auto;
        padding: 22px 20px;
    }

    .home-about-review-card-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .home-about-review-date {
        text-align: left;
    }

    .home-about-review-quote {
        -webkit-line-clamp: 5;
    }

    .home-about-reviews-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-about-reviews-button {
        width: 100%;
    }

    .welcome-screen {
        --home-mobile-title-peek: clamp(104px, 17svh, 122px);
        min-height: calc(100svh - var(--home-mobile-title-peek));
        height: calc(100svh - var(--home-mobile-title-peek));
    }

    @supports (height: 100dvh) {
        .welcome-screen {
            min-height: calc(100dvh - var(--home-mobile-title-peek));
            height: calc(100dvh - var(--home-mobile-title-peek));
        }
    }

    .welcome-screen::before {
        top: -190px;
        right: 0;
        bottom: -36px;
        left: 0;
        background-size: cover;
        background-position: left top;
    }

    .home-search-module {
        top: 64px;
        width: min(315px, calc(100% - 88px));
    }

    .home-search-intro {
        margin-top: 132px;
        margin-bottom: 8px;
    }

    .home-search-intro p {
        max-width: 210px;
        font-size: 1.48rem;
        line-height: 1.04;
        letter-spacing: -0.018em;
        font-weight: 350;
    }

    .home-search-form {
        gap: 5px;
    }

    .home-search-text-row {
        min-height: 36px;
        padding: 0 10px;
        gap: 6px;
        border-width: 1px;
    }

    .home-search-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        color: var(--home-green);
    }

    .home-search-submit {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
    }

    .home-search-icon svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

    .home-search-text-row input,
    .home-search-text-row input[type="text"],
    .home-search-text-row input[name="search"] {
        height: 34px;
        min-height: 34px;
        font-size: 0.86rem;
    }

    .home-search-text-row input::placeholder,
    .home-search-text-row input[type="text"]::placeholder,
    .home-search-text-row input[name="search"]::placeholder {
        font-size: 0.86rem;
    }

    .home-search-actions {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 0;
        border-radius: 0;
        background: transparent;
    }

    .home-search-choice-button {
        min-height: 30px;
        padding: 0 12px;
        border-width: 1px;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(16px);
        font-size: 1.04rem;
        font-weight: 600;
        line-height: 1;
    }

    .home-search-choice-button:first-child {
        border-right: 1px solid var(--home-green);
        border-bottom: 1px solid var(--home-green);
    }

    .home-search-choice-button-green {
        border-color: var(--home-green);
    }

    .home-search-choice-button-yellow {
        border-color: rgba(216, 192, 0, 0.95);
    }

    .wrapper-last-properties {
        margin-top: 0;
        padding-top: clamp(12px, 2svh, 18px);
    }

    .home-last-title {
        margin-bottom: clamp(14px, 2svh, 20px);
    }
}
