/* Presale Master homepage ------------------------------------------------- */
body.home {
    --pm-ink: #101c33;
    --pm-ink-soft: #536074;
    --pm-gold: #fca311;
    --pm-gold-dark: #df8c00;
    --pm-surface: #ffffff;
    --pm-surface-soft: #f7f8fa;
    --pm-border: #e5e8ee;
    --pm-success: #087a4b;
    --pm-shadow: 0 18px 48px rgba(16, 28, 51, .09);
    --pm-radius: 18px;
    --pm-button-radius: 999px;
    background: var(--pm-surface);
    color: var(--pm-ink);
}

body.home .main-wrap,
body.home .pm-home {
    background: var(--pm-surface);
}

body.home .pm-shell {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

body.home .pm-home-section {
    padding: 76px 0;
}

body.home .pm-home-section:nth-of-type(even) {
    background: var(--pm-surface-soft);
}

/* Shared button system. */
body.home .pm-btn,
body.home .pm-icon-btn,
body.home .pm-property-hero__details,
body.home .pm-property-hero .btn-search,
body.home .pm-home .submit-btn,
body.home .header-main-wrap .btn-create-listing,
body.home #main-nav > .menu-item:last-child > .nav-link,
body.home #mobile-main-nav > .menu-item:last-child > .nav-link {
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: var(--pm-button-radius);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.home .pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 19px;
    white-space: nowrap;
}

body.home .pm-btn svg,
body.home .pm-icon-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

body.home .pm-btn--primary,
body.home .pm-property-hero__details,
body.home .pm-property-hero .btn-search,
body.home .pm-home .submit-btn,
body.home .header-main-wrap .btn-create-listing,
body.home #main-nav > .menu-item:last-child > .nav-link,
body.home #mobile-main-nav > .menu-item:last-child > .nav-link {
    border-color: var(--pm-gold);
    background: var(--pm-gold);
    color: #101318;
    box-shadow: 0 10px 26px rgba(252, 163, 17, .2);
}

body.home .pm-btn--primary:hover,
body.home .pm-property-hero__details:hover,
body.home .pm-property-hero .btn-search:hover,
body.home .pm-home .submit-btn:hover,
body.home .header-main-wrap .btn-create-listing:hover,
body.home #main-nav > .menu-item:last-child > .nav-link:hover,
body.home #mobile-main-nav > .menu-item:last-child > .nav-link:hover {
    border-color: var(--pm-gold-dark);
    background: var(--pm-gold-dark);
    color: #101318;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(223, 140, 0, .28);
}

body.home .pm-btn--outline,
body.home .pm-icon-btn {
    border-color: var(--pm-border);
    background: var(--pm-surface);
    color: var(--pm-ink);
    box-shadow: 0 5px 18px rgba(16, 28, 51, .04);
}

body.home .pm-btn--outline:hover,
body.home .pm-icon-btn:hover {
    border-color: var(--pm-gold);
    background: #fff8e8;
    color: var(--pm-ink);
    transform: translateY(-2px);
}

body.home .pm-icon-btn:disabled,
body.home .pm-icon-btn[aria-disabled="true"] {
    border-color: var(--pm-border);
    background: var(--pm-surface);
    color: #aab1bd;
    box-shadow: none;
    cursor: default;
    opacity: .55;
    transform: none;
}

body.home .pm-icon-btn {
    display: inline-grid;
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    place-items: center;
    cursor: pointer;
}

body.home .pm-btn:focus-visible,
body.home .pm-icon-btn:focus-visible,
body.home .pm-property-hero a:focus-visible,
body.home .pm-property-card__link:focus-visible,
body.home .pm-city-strip a:focus-visible,
body.home .pm-text-link:focus-visible,
body.home #main-nav > .menu-item:last-child > .nav-link:focus-visible,
body.home #mobile-main-nav > .menu-item:last-child > .nav-link:focus-visible {
    outline: 3px solid rgba(252, 163, 17, .35);
    outline-offset: 3px;
}

/* City shortcuts. */
body.home .pm-city-strip {
    border-bottom: 1px solid var(--pm-border);
    background: var(--pm-surface);
}

body.home .pm-city-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 68px;
    overflow-x: auto;
    scrollbar-width: none;
}

body.home .pm-city-strip__inner::-webkit-scrollbar {
    display: none;
}

body.home .pm-city-strip__label {
    flex: 0 0 auto;
    margin-right: 4px;
    color: var(--pm-ink-soft);
    font-size: 13px;
}

body.home .pm-city-strip a {
    flex: 0 0 auto;
    min-width: 126px;
    padding: 10px 16px;
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-button-radius);
    background: #fff;
    color: var(--pm-ink);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    transition: .2s ease;
}

body.home .pm-city-strip a:hover {
    border-color: var(--pm-gold);
    background: #fff8e8;
    color: var(--pm-ink);
}

/* Section headings. */
body.home .pm-section-heading,
body.home .pm-location-row__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

body.home .pm-section-heading {
    margin-bottom: 28px;
}

body.home .pm-section-heading--compact {
    margin-bottom: 24px;
}

body.home .pm-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--pm-gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

body.home .pm-section-heading h2,
body.home .pm-trust h2,
body.home .pm-lead h2 {
    margin: 0;
    color: var(--pm-ink);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -.035em;
}

body.home .pm-section-heading p {
    max-width: 650px;
    margin: 9px 0 0;
    color: var(--pm-ink-soft);
    font-size: 15px;
    line-height: 1.6;
}

body.home .pm-section-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

/* Property cards and horizontal collections. */
body.home .pm-property-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

body.home .pm-property-grid--scroll {
    grid-template-columns: none;
    grid-auto-columns: calc((100% - 54px) / 4);
    grid-auto-flow: column;
    margin-block: -16px -38px;
    padding-block: 16px 64px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

body.home .pm-property-grid--scroll::-webkit-scrollbar {
    display: none;
}

body.home .pm-property-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    background: var(--pm-surface);
    scroll-snap-align: start;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

body.home .pm-property-card:hover {
    border-color: rgba(252, 163, 17, .55);
    transform: translateY(-5px);
    box-shadow: var(--pm-shadow);
}

body.home .pm-property-card__link,
body.home .pm-property-card__link:hover {
    display: block;
    color: inherit;
    text-decoration: none;
}

body.home .pm-property-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e9edf2;
}

body.home .pm-property-card__media::after {
    position: absolute;
    inset: 38% 0 0;
    content: "";
    background: linear-gradient(0deg, rgba(7, 16, 31, .82), transparent);
    pointer-events: none;
}

body.home .pm-property-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

body.home .pm-property-card:hover .pm-property-card__image {
    transform: scale(1.045);
}

body.home .pm-property-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dae1e9, #f4f6f8);
    place-items: center;
}

body.home .pm-property-card__placeholder svg {
    width: 54px;
    fill: #b4bdc9;
}

body.home .pm-property-card__status {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: var(--pm-button-radius);
    background: #e7fff3;
    color: var(--pm-success);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

body.home .pm-property-card__price {
    position: absolute;
    right: 14px;
    bottom: 13px;
    left: 14px;
    z-index: 2;
    overflow: hidden;
    color: #fff;
    font-size: clamp(17px, 1.7vw, 23px);
    line-height: 1.1;
    text-overflow: ellipsis;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
    white-space: nowrap;
}

body.home .pm-property-card__body {
    min-height: 103px;
    padding: 17px 16px 15px;
}

body.home .pm-property-card__body h3 {
    overflow: hidden;
    margin: 0 0 10px;
    color: var(--pm-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.home .pm-property-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    color: #768094;
    font-size: 10px;
    line-height: 1.4;
}

body.home .pm-property-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

body.home .pm-property-card__meta svg {
    width: 11px;
    height: 11px;
    fill: var(--pm-gold-dark);
}

/* Search pathways. */
body.home .pm-search-ways {
    display: grid;
    overflow: hidden;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    background: var(--pm-surface);
}

body.home .pm-search-way {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-right: 1px solid var(--pm-border);
}

body.home .pm-search-way:last-child {
    border-right: 0;
}

body.home .pm-search-way__number {
    display: inline-grid;
    width: 38px;
    height: 38px;
    margin-bottom: 28px;
    border-radius: 50%;
    background: #fff3d7;
    color: var(--pm-gold-dark);
    font-size: 11px;
    font-weight: 800;
    place-items: center;
}

body.home .pm-search-way h3 {
    margin: 0 0 10px;
    color: var(--pm-ink);
    font-size: 18px;
    font-weight: 700;
}

body.home .pm-search-way p {
    margin: 0 0 24px;
    color: var(--pm-ink-soft);
    font-size: 13px;
    line-height: 1.6;
}

body.home .pm-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pm-ink);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

body.home .pm-text-link span {
    color: var(--pm-gold-dark);
    font-size: 17px;
    transition: transform .2s ease;
}

body.home .pm-text-link:hover {
    color: var(--pm-gold-dark);
}

body.home .pm-text-link:hover span {
    transform: translateX(3px);
}

/* City rows. */
body.home .pm-location-rows {
    display: grid;
    gap: 54px;
}

body.home .pm-location-row__heading {
    margin-bottom: 16px;
}

body.home .pm-location-row__heading h3 {
    margin: 0;
    color: var(--pm-ink);
    font-size: 19px;
    font-weight: 720;
}

body.home .pm-location-row .pm-icon-btn {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
}

/* Trust block. */
body.home .pm-home-section--trust {
    overflow: hidden;
    background: var(--pm-ink) !important;
}

body.home .pm-trust {
    display: grid;
    align-items: center;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(48px, 7vw, 100px);
}

body.home .pm-trust h2,
body.home .pm-trust p {
    color: #fff;
}

body.home .pm-trust p {
    max-width: 620px;
    margin: 18px 0 24px;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    line-height: 1.75;
}

body.home .pm-trust__checks {
    display: grid;
    margin-bottom: 30px;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

body.home .pm-trust__checks span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
}

body.home .pm-trust__checks i,
body.home .pm-lead__intro li span {
    display: inline-grid;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(252, 163, 17, .16);
    color: var(--pm-gold);
    font-style: normal;
    place-items: center;
}

body.home .pm-trust__stats {
    display: grid;
    overflow: hidden;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 24px;
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .18);
}

body.home .pm-trust__stats article {
    min-height: 160px;
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

body.home .pm-trust__stats article:nth-child(2n) {
    border-right: 0;
}

body.home .pm-trust__stats article:nth-last-child(-n+2) {
    border-bottom: 0;
}

body.home .pm-trust__stats strong {
    display: block;
    margin-bottom: 10px;
    color: var(--pm-gold);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1;
    letter-spacing: -.04em;
}

body.home .pm-trust__stats span {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
}

/* Lead form. */
body.home .pm-home-section--lead {
    background: #f3f5f8 !important;
}

body.home .pm-lead {
    display: block;
}

body.home .pm-lead__form {
    width: 100%;
}

body.home .pm-lead__intro {
    position: sticky;
    top: 110px;
    padding-top: 22px;
}

body.home .pm-lead__intro p {
    margin: 18px 0 26px;
    color: var(--pm-ink-soft);
    font-size: 15px;
    line-height: 1.7;
}

body.home .pm-lead__intro ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.home .pm-lead__intro li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pm-ink);
    font-size: 13px;
    font-weight: 600;
}

body.home .pm-lead__form .popup-page-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--pm-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--pm-shadow);
}

body.home .pm-lead__form .frm_head1 {
    margin: 0 0 22px;
    color: var(--pm-ink);
    font-size: 17px;
    font-weight: 700;
    text-transform: none;
}

body.home .pm-lead__form form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.home .pm-lead__form input[type="text"],
body.home .pm-lead__form input[type="email"],
body.home .pm-lead__form select,
body.home .pm-lead__form textarea {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid var(--pm-border);
    border-radius: 12px;
    background: #fbfcfd;
    color: var(--pm-ink);
    font-family: inherit;
    font-size: 13px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

body.home .pm-lead__form input:focus,
body.home .pm-lead__form select:focus,
body.home .pm-lead__form textarea:focus {
    border-color: var(--pm-gold);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(252, 163, 17, .14);
}

body.home .pm-lead__form select,
body.home .pm-lead__form .ps-radio,
body.home .pm-lead__form .sb_textarea,
body.home .pm-lead__form .sp_text,
body.home .pm-lead__form .sb_btn,
body.home .pm-lead__form .loader-container,
body.home .pm-lead__form .resp_overlay {
    grid-column: 1 / -1;
}

body.home .pm-lead__form .ps-radio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

body.home .pm-lead__form .radio-group1 {
    padding: 15px;
    border: 1px solid var(--pm-border);
    border-radius: 12px;
    background: var(--pm-surface-soft);
}

body.home .pm-lead__form .btype1 {
    margin: 0 0 9px;
    color: var(--pm-ink);
    font-size: 12px;
    font-weight: 750;
}

body.home .pm-lead__form .frm_label {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 11px;
}

body.home .pm-lead__form label {
    color: var(--pm-ink-soft);
    font-size: 11px;
    line-height: 1.35;
}

body.home .pm-lead__form .sb_textarea .radio-group1 {
    margin-bottom: 12px;
}

body.home .pm-lead__form textarea {
    min-height: 92px;
    padding-top: 13px;
    resize: vertical;
}

body.home .pm-lead__form .sp_text {
    margin: 2px 0 0;
    color: #7a8495;
    font-size: 10px;
    text-align: left;
}

body.home .pm-lead__form .sb_btn {
    text-align: left;
}

body.home .pm-lead__form .submit-btn {
    min-width: 160px;
    padding: 0 24px;
    cursor: pointer;
}

/* Header and footer refinements on the homepage. */
body.home .top-bar-wrap {
    background: var(--pm-ink);
}

body.home .header-main-wrap .header-v1 {
    border-bottom-color: rgba(255, 255, 255, .12);
    background: rgba(7, 22, 43, .92);
    backdrop-filter: blur(12px);
}

body.home .header-main-wrap .btn-create-listing,
body.home #main-nav > .menu-item:last-child > .nav-link,
body.home #mobile-main-nav > .menu-item:last-child > .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 19px;
    white-space: nowrap;
}

body.home #main-nav > .menu-item:last-child > .nav-link:hover,
body.home #main-nav > .menu-item:last-child > .nav-link:focus,
body.home #main-nav > .menu-item:last-child > .nav-link:active,
body.home #mobile-main-nav > .menu-item:last-child > .nav-link:hover,
body.home #mobile-main-nav > .menu-item:last-child > .nav-link:focus,
body.home #mobile-main-nav > .menu-item:last-child > .nav-link:active {
    border-color: var(--pm-gold-dark) !important;
    background: var(--pm-gold-dark) !important;
    color: #101318 !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(223, 140, 0, .28);
}

body.home .footer-wrap {
    background: var(--pm-ink);
}

@media (max-width: 991.98px) {
    body.home .pm-home-section {
        padding: 62px 0;
    }

    body.home .pm-property-grid {
        grid-template-columns: repeat(3, minmax(260px, 1fr));
    }

    body.home .pm-property-grid--scroll {
        grid-template-columns: none;
        grid-auto-columns: calc((100% - 36px) / 3);
    }

    body.home .pm-search-ways {
        grid-template-columns: repeat(2, 1fr);
    }

    body.home .pm-search-way:nth-child(2) {
        border-right: 0;
    }

    body.home .pm-search-way:nth-child(-n+2) {
        border-bottom: 1px solid var(--pm-border);
    }

    body.home .pm-trust,
    body.home .pm-lead {
        grid-template-columns: 1fr;
    }

    body.home .pm-lead__intro {
        position: static;
        padding-top: 0;
    }
}

@media (max-width: 767.98px) {
    body.home .pm-shell {
        width: min(100% - 30px, 1240px);
    }

    body.home .pm-home-section {
        padding: 52px 0;
    }

    body.home .pm-city-strip__inner {
        justify-content: flex-start;
        min-height: 62px;
    }

    body.home .pm-city-strip__label {
        position: sticky;
        left: 0;
        z-index: 2;
        align-self: stretch;
        display: flex;
        align-items: center;
        padding-right: 8px;
        background: linear-gradient(90deg, #fff 80%, transparent);
    }

    body.home .pm-city-strip a {
        min-width: 112px;
        padding: 9px 13px;
        font-size: 11px;
    }

    body.home .pm-section-heading {
        align-items: flex-start;
    }

    body.home .pm-section-heading > .pm-btn {
        display: none;
    }

    body.home .pm-section-heading h2,
    body.home .pm-trust h2,
    body.home .pm-lead h2 {
        font-size: 30px;
    }

    body.home .pm-section-heading p {
        font-size: 14px;
    }

    body.home .pm-section-actions .pm-btn {
        display: none;
    }

    body.home .pm-property-grid,
    body.home .pm-property-grid--scroll {
        display: flex;
        gap: 14px;
    }

    body.home .pm-property-card {
        flex: 0 0 min(82vw, 310px);
    }

    body.home .pm-search-way {
        min-height: 225px;
        padding: 24px;
    }

    body.home .pm-location-rows {
        gap: 42px;
    }

    body.home .pm-location-row__heading {
        align-items: center;
        gap: 12px;
    }

    body.home .pm-location-row__heading h3 {
        font-size: 17px;
    }

    body.home .pm-trust__checks {
        grid-template-columns: 1fr;
    }

    body.home .pm-lead__form form,
    body.home .pm-lead__form .ps-radio {
        grid-template-columns: 1fr;
    }

    body.home .pm-lead__form input,
    body.home .pm-lead__form select,
    body.home .pm-lead__form .ps-radio,
    body.home .pm-lead__form .sb_textarea,
    body.home .pm-lead__form .sp_text,
    body.home .pm-lead__form .sb_btn,
    body.home .pm-lead__form .loader-container,
    body.home .pm-lead__form .resp_overlay {
        grid-column: 1;
    }
}

@media (max-width: 575.98px) {
    body.home .pm-search-ways {
        grid-template-columns: 1fr;
    }

    body.home .pm-search-way,
    body.home .pm-search-way:nth-child(2) {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--pm-border);
    }

    body.home .pm-search-way:last-child {
        border-bottom: 0;
    }

    body.home .pm-search-way__number {
        margin-bottom: 18px;
    }

    body.home .pm-trust__stats article {
        min-height: 135px;
        padding: 22px;
    }

    body.home .pm-trust__stats strong {
        font-size: 34px;
    }

    body.home .pm-lead__form .popup-page-content {
        padding: 22px 18px;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home .pm-btn,
    body.home .pm-icon-btn,
    body.home .pm-property-card,
    body.home .pm-property-card__image,
    body.home .pm-text-link span {
        transition: none !important;
    }

    body.home .pm-property-grid--scroll {
        scroll-behavior: auto;
    }
}
