﻿/* =========================================================
   Hotel Exchange Group - Public Website Styles
   Clean production stylesheet
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
    /* Brand — navy & gold (Hotel Exchange Group) */
    --navy: #000b1d;
    --navy-mid: #0a1628;
    --gold: #FF9800;
    --gold-dark: #9e7d45;
    --gold-light: #d4b87a;
    --gold-soft: #f5f0e6;
    --gold-muted: rgba(197, 160, 89, 0.22);
    /* Legacy token names mapped to brand palette */
    --blue: #6b4f1b;
    --blue-btn: #FF9800;
    --blue-dark: #000b1d;
    --blue-mid: #c5a059;
    --blue-soft: #f7daa1;
    --ink: #0a1628;
    --ink-mid: #2a3548;
    --muted: #5c6578;
    --bg: #f8f9fa;
    --section-light: #f4f4f4;
    --white: #ffffff;
    --border: #e2e6ec;
    --border-dark: rgba(255, 255, 255, 0.12);
    --shadow: 0 18px 50px rgba(0, 11, 29, 0.08);
    --shadow-hover: 0 24px 70px rgba(0, 11, 29, 0.14);
    --container: 1520px;
    --page-gutter: clamp(28px, 5vw, 80px);
    --radius-lg: 24px;
    --radius-md: 12px;
    --radius-sm: 6px;
    --radius-pill: 999px;
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-sans: "Montserrat", "Segoe UI", Arial, sans-serif;
    --gradient-gold: linear-gradient(180deg, #FFC107 0%, #FF9800 100%);
    --hero-overlay: linear-gradient(115deg, rgba(0, 11, 29, 0.92) 0%, rgba(0, 11, 29, 0.72) 42%, rgba(0, 11, 29, 0.35) 100%);
}

/* ---------- Base ---------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.hx-section-title h2,
.hx-confidential h2,
.hx-cta h2,
.properties-header h1,
.seo-hero h1,
.about-hero h1,
.team-header h1,
.property-filter-panel h2,
.pd-hero h1 {
    font-family: var(--font-serif);
    font-weight: 600;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - (var(--page-gutter) * 2)));
    max-width: 100%;
    margin: 0 auto;
}

.public-main {
    min-height: 70vh;
    background: var(--bg);
}

h1:focus,
h1:focus-visible,
.seo-hero h1:focus,
.seo-hero h1:focus-visible {
    outline: none;
    box-shadow: none;
}

/* ---------- Header ---------- */
.public-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
    transition: background 0.25s ease, border-color 0.25s ease;
}

body:has(.public-main > .hx-hero:first-child) .public-header,
body:has(.public-main > .seo-hero:first-child) .public-header,
body:has(.public-main > .hx-hero--market:first-child) .public-header {
    position: absolute;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
}

.public-header__inner {
    width: 100%;
    max-width: calc(var(--container) + (var(--page-gutter) * 2));
    margin: 0 auto;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
}

    .public-brand__logo,
    .public-brand img {
        height: 88px;
        width: auto;
        max-width: min(460px, 58vw);
        display: block;
        object-fit: contain;
        object-position: left center;
        border-radius: 0;
    }

.public-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

    .public-brand__text strong {
        font-size: 1rem;
        letter-spacing: 0.02em;
    }

    .public-brand__text small {
        color: var(--gold-light);
        font-size: 0.78rem;
    }

.public-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

    .public-nav a {
        position: relative;
        color: rgba(255, 255, 255, 0.92);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        letter-spacing: 0.02em;
        text-transform: none;
        border: 0;
        padding: 8px 4px 12px;
        min-width: 0;
        text-align: center;
        transition: color 0.2s ease;
    }

        .public-nav a:hover {
            color: var(--gold);
        }

        .public-nav a.is-active {
            color: var(--white);
            font-weight: 600;
        }

            .public-nav a.is-active::after {
                content: "";
                position: absolute;
                left: 50%;
                bottom: 2px;
                transform: translateX(-50%);
                width: 28px;
                height: 2px;
                background: var(--gold);
                border-radius: 1px;
            }

.public-nav__login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    color: var(--white) !important;
    border: 1px solid var(--gold) !important;
    padding: 10px 18px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

    .public-nav__login:hover {
        background: rgba(197, 160, 89, 0.12) !important;
        color: var(--gold) !important;
    }

.public-menu-btn {
    display: none;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
}

/* ---------- Footer ---------- */
.public-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.75);
    margin-top: 80px;
}

.public-footer__inner {
    width: min(var(--container), calc(100% - (var(--page-gutter) * 2)));
    max-width: 100%;
    margin: 0 auto;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
    box-sizing: border-box;
    padding: 60px 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.public-footer__logo {
    height: auto;
    width: auto;
    max-width: 220px;
    max-height: 140px;
    margin-bottom: 20px;
    display: block;
    object-fit: contain;
    object-position: left top;
    border-radius: 0;
}

.public-footer__brand p {
    line-height: 1.7;
    margin: 0;
}

.public-footer__links,
.public-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .public-footer__links h4,
    .public-footer__contact h4 {
        color: var(--gold);
        margin: 0 0 10px;
        font-family: var(--font-sans);
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-size: 0.8rem;
    }

.public-footer a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

    .public-footer a:hover {
        color: var(--gold);
    }

.public-footer__button {
    display: inline-block;
    margin-top: 12px;
    background: var(--gradient-gold);
    color: var(--navy) !important;
    padding: 11px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

    .public-footer__button:hover {
        opacity: 0.92;
        transform: translateY(-1px);
    }

.public-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 18px;
    font-size: 0.85rem;
}

/* ---------- Scroll to top ---------- */
.scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1800;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 28px rgba(0, 11, 29, 0.22);
}

    .scroll-to-top.is-visible {
        opacity: 0.88;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-to-top:hover {
        box-shadow: 0 14px 34px rgba(0, 11, 29, 0.28);
        transform: translateY(-2px);
    }

    .scroll-to-top.is-visible:hover {
        opacity: 1;
        transform: translateY(-2px);
    }

    .scroll-to-top svg {
        width: 22px;
        height: 22px;
    }

@media (max-width: 768px) {
    .scroll-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

/* ---------- Buttons ---------- */
.hx-btn {
    border: 0;
    border-radius: var(--radius-sm);
    padding: 13px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
    white-space: nowrap;
}

    .hx-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(0, 11, 29, 0.18);
    }

.hx-btn--gold,
.hx-btn--primary {
    background: var(--gradient-gold);
    color: var(--navy);
}

    .hx-btn--gold:hover,
    .hx-btn--primary:hover {
        filter: brightness(1.05);
    }

.hx-btn--light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

    .hx-btn--light:hover {
        border-color: var(--gold);
        color: var(--gold);
        background: rgba(197, 160, 89, 0.08);
    }

.hx-btn--outline-gold {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

    .hx-btn--outline-gold:hover {
        background: rgba(197, 160, 89, 0.1);
    }

/* Light sections: outline buttons on pale backgrounds */
.hx-section .hx-btn--light,
.hx-search-card .hx-btn--light,
.seo-section-card .hx-btn--light,
.properties-page .hx-btn--light {
    background: var(--white);
    color: var(--navy);
    border: 1px solid var(--border);
}

    .hx-section .hx-btn--light:hover,
    .hx-search-card .hx-btn--light:hover,
    .seo-section-card .hx-btn--light:hover,
    .properties-page .hx-btn--light:hover {
        border-color: var(--gold);
        color: var(--gold-dark);
    }

/* Dark panels: light buttons stay white-outline */
.hx-hero .hx-btn--light,
.hx-confidential__box .hx-btn--light,
.hx-cta .hx-btn--light,
.seo-hero .hx-btn--light,
.seo-sidebar-card.cta .hx-btn--light,
.about-highlight .hx-btn--light,
.property-detail-hero .hx-btn--light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

    .hx-hero .hx-btn--light:hover,
    .hx-confidential__box .hx-btn--light:hover,
    .hx-cta .hx-btn--light:hover,
    .seo-hero .hx-btn--light:hover,
    .seo-sidebar-card.cta .hx-btn--light:hover,
    .about-highlight .hx-btn--light:hover,
    .property-detail-hero .hx-btn--light:hover {
        border-color: var(--gold);
        color: var(--gold);
        background: rgba(197, 160, 89, 0.1);
    }

.hx-hero__content span.hx-eyebrow,
.hx-hero__content div.hx-hero-display-title,
.hx-cta span.hx-eyebrow {
    color: var(--gold);
}

/* ---------- Shared Typography ---------- */
.hx-eyebrow,
.hx-section-title span,
.seo-eyebrow,
.property-filter-panel__eyebrow {
    display: inline-block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 14px;
    font-family: var(--font-sans);
}

    .hx-eyebrow.dark {
        color: var(--gold-dark);
    }

/* ---------- Home Page ---------- */
.hx-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--white);
    background: var(--navy) url("/images/off-market.png") center/cover no-repeat;
}

.hx-hero--home {
    align-items: stretch;
}

/* Market / SEO landing heroes (static background image) */
.hx-hero--market {
    align-items: stretch;
    min-height: min(88vh, 820px);
    background-color: var(--navy);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hx-hero--alberta,
.hx-hero--bc,
.hx-hero--sask {
    position: relative;
    overflow: hidden;
}

.hx-hero__slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hx-hero__slide {
    position: absolute;
    inset: 0;
    background-color: var(--navy);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.1s ease-in-out;
}

    .hx-hero__slide.is-active {
        opacity: 1;
    }

    .hx-hero--market .hx-hero__overlay {
        background: linear-gradient(
            105deg,
            rgba(0, 11, 29, 0.9) 0%,
            rgba(0, 11, 29, 0.65) 45%,
            rgba(0, 11, 29, 0.3) 72%,
            rgba(0, 11, 29, 0.15) 100%
        );
    }

    .hx-hero--market .hx-hero__content {
        position: relative;
        z-index: 2;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        max-width: calc(var(--container) + (var(--page-gutter) * 2));
        min-height: min(88vh, 820px);
        margin: 0 auto;
        padding: 130px var(--page-gutter) 72px;
        box-sizing: border-box;
    }

    .hx-hero--market .hx-hero__content--alberta,
    .hx-hero--market .hx-hero__content--bc,
    .hx-hero--market .hx-hero__content--sask {
        justify-content: space-between;
        min-height: min(92vh, 900px);
        padding-top: 120px;
        padding-bottom: 44px;
    }

        .hx-hero--market .hx-hero__content--alberta .hx-hero__intro,
        .hx-hero--market .hx-hero__content--bc .hx-hero__intro,
        .hx-hero--market .hx-hero__content--sask .hx-hero__intro {
            max-width: 720px;
        }

.hx-hero__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: end;
    width: 100%;
    margin-top: auto;
    padding-top: 36px;
}

    .hx-hero__bottom .hx-hero-search {
        margin-top: 0;
        max-width: 100%;
    }

    .hx-hero__bottom .hx-hero-search--split {
        overflow: visible;
        box-shadow: none;
        border-radius: 0;
    }

    .hx-hero__content--alberta .hx-hero__cta-grid,
    .hx-hero__content--bc .hx-hero__cta-grid,
    .hx-hero__content--sask .hx-hero__cta-grid {
        max-width: 720px;
    }

.hx-hero__intro--wide {
    max-width: none;
    width: 100%;
}

.hx-hero__eyebrow-row {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 20px);
    margin-bottom: 22px;
    width: 100%;
}

.hx-hero__eyebrow-line {
    flex: 1 1 48px;
    max-width: 72px;
    height: 1px;
    background: var(--gold);
}

.hx-hero__eyebrow-row .hx-hero__eyebrow {
    flex: 0 1 auto;
    margin: 0;
    white-space: nowrap;
}

.hx-hero--market .hx-hero-seo-title {
    max-width: none;
    width: 100%;
}

.hx-hero .hx-hero-seo-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(2.35rem, 4.6vw, 3.85rem);
    line-height: 1.1;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
}

.hx-hero--market .hx-hero__intro p {
    max-width: none;
    width: 100%;
    font-size: clamp(0.95rem, 1.35vw, 1.08rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

    .hx-hero--home .hx-hero__overlay {
        background: linear-gradient(
            105deg,
            rgba(0, 11, 29, 0.9) 0%,
            rgba(0, 11, 29, 0.62) 42%,
            rgba(0, 11, 29, 0.28) 72%,
            rgba(0, 11, 29, 0.18) 100%
        );
    }

    .hx-hero--home .hx-hero__content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        max-width: calc(var(--container) + (var(--page-gutter) * 2));
        min-height: 100vh;
        margin: 0 auto;
        padding: 130px var(--page-gutter) 48px;
        box-sizing: border-box;
    }

.hx-hero__intro {
    max-width: 620px;
}

.hx-hero__divider {
    display: block;
    width: 52px;
    height: 3px;
    margin: 22px 0 24px;
    background: var(--gold);
    border-radius: 2px;
}

.hx-hero--home .hx-hero-seo-title {
    max-width: 600px;
}

.hx-hero--home .hx-hero__intro p {
    max-width: 540px;
    margin: 0;
    font-size: clamp(0.95rem, 1.35vw, 1.05rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 400;
}

.hx-hero__cards {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(5, minmax(0, 1fr));
   /* gap: 14px;*/
    width: 100%;
    margin-top: auto;
    padding-top: 40px;
}

.hx-hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 150px;
    max-width: 200px;
    padding: 22px 14px 16px;
    text-decoration: none;
    color: var(--white);
    text-align: center;
    background: rgba(8, 16, 32, 0.12);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 22%);
    border-radius: var(--radius-md);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

    .hx-hero-card:hover {
        border-color: rgba(197, 160, 89, 0.65);
        box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.45), 0 10px 36px rgba(0, 0, 0, 0.28);
        background: rgba(8, 16, 32, 0.55);
        transform: translateY(-2px);
    }

    
    .hx-hero-card--accent:hover {
        border-color: var(--gold);
        box-shadow: 0 0 0 1px var(--gold), 0 0 28px rgba(197, 160, 89, 0.35), 0 12px 40px rgba(0, 0, 0, 0.3);
        background: rgba(8, 16, 32, 0.5);
    }

.hx-hero-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--gold);
    flex-shrink: 0;
}

    .hx-hero-card__icon svg {
        width: 30px;
        height: 30px;
    }

.hx-hero-card__title {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 10px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.hx-hero-card__arrow {
    color: var(--gold);
    font-size: 1.05rem;
    line-height: 1;
    font-weight: 400;
}

/* ---------- VIDEO LAYER ---------- */
.hx-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: opacity .35s ease-in-out;
}

/* ---------- OVERLAY ---------- */
.hx-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--hero-overlay);
}

    .hx-hero__overlay::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 85% 20%, rgba(197, 160, 89, 0.12), transparent 45%);
        pointer-events: none;
    }

.hx-hero__content {
    width: min(var(--container), calc(100% - (var(--page-gutter) * 2)));
    max-width: 100%;
    margin: 0 auto;
    padding: 120px 0 180px;
    z-index: 2;
    position: relative;
}

.hx-hero h1:not(.hx-hero-seo-title),
.hx-hero__headline {
    max-width: 920px;
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hx-hero p {
    max-width: 720px;
    margin: 26px 0 0;
    font-size: clamp(1.05rem, 2vw, 1.32rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.84);
}

.hx-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

/* ---------- Stats bar (below hero) ---------- */
.hx-stats-bar {
    background: var(--section-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--ink);
}

.hx-stats-bar__inner {
    width: 100%;
    max-width: calc(var(--container) + (var(--page-gutter) * 2));
    margin: 0 auto;
    padding: 0 var(--page-gutter);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hx-stats-bar__item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 32px 28px;
    border-right: 1px solid var(--border);
}

    .hx-stats-bar__item:last-child {
        border-right: 0;
    }

.hx-stats-bar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: var(--gold-muted);
    color: var(--gold);
}

    .hx-stats-bar__icon img {
        width: 28px;
        height: 28px;
        display: block;
        object-fit: contain;
    }

.hx-stats-bar__text strong {
    display: block;
    font-family: var(--font-serif);
    color: var(--navy);
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 6px;
}

.hx-stats-bar__text span {
    display: block;
    font-family: var(--font-sans);
    color: var(--ink-mid);
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 500;
}

/* Legacy stats grid (if reused elsewhere) */
.hx-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--section-light);
    color: var(--ink);
}

    .hx-stats div {
        padding: 28px 24px;
        border-right: 1px solid var(--border);
        text-align: left;
    }

        .hx-stats div:last-child {
            border-right: 0;
        }

    .hx-stats strong {
        display: block;
        font-family: var(--font-serif);
        color: var(--navy);
        font-size: clamp(1.6rem, 2.5vw, 2.1rem);
        font-weight: 700;
        line-height: 1.1;
        margin-bottom: 6px;
    }

    .hx-stats span {
        color: var(--muted);
        font-size: 0.88rem;
        line-height: 1.45;
        font-weight: 500;
    }

.hx-search-card {
    width: min(var(--container), calc(100% - (var(--page-gutter) * 2)));
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background: var(--section-light);
    border-radius: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: none;
    padding: 56px 0 64px;
}

.hx-section,
.hx-confidential,
.hx-cta {
    width: 100%;
    max-width: calc(var(--container) + (var(--page-gutter) * 2));
    margin: 0 auto;
    padding: 90px var(--page-gutter);
    box-sizing: border-box;
}

.hx-section-title {
    text-align: center;
    width: 100%;
    max-width: none;
    margin: 0 0 42px;
}

    .hx-section-title.left {
        text-align: left;
        margin: 0 0 24px;
    }

    .hx-section-title h2,
    .hx-confidential h2,
    .hx-cta h2 {
        width: 100%;
        max-width: none;
        margin: 0;
        color: var(--navy);
        font-family: var(--font-serif);
        font-size: clamp(1.85rem, 3.5vw, 2.85rem);
        line-height: 1.15;
        letter-spacing: -0.02em;
        font-weight: 600;
    }

    .hx-section-title p,
    .hx-confidential p,
    .hx-cta p {
        width: 100%;
        max-width: none;
        color: var(--muted);
        line-height: 1.7;
        text-align: justify;
    }

.hx-filter-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

    .hx-filter-grid a {
        border: 1px solid var(--border);
        border-radius: 14px;
        background: var(--blue-soft);
        padding: 16px;
        font-weight: 800;
        color: var(--blue-dark);
        text-decoration: none;
        text-align: center;
        transition: 0.2s ease;
    }

        .hx-filter-grid a:hover {
            background: var(--blue);
            color: var(--white);
        }

.hx-card-grid.three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.hx-info-card,
.hx-steps article,
.hx-confidential__box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

    .hx-info-card h3,
    .hx-steps h3 {
        margin-top: 0;
        color: var(--blue-dark);
    }

    .hx-info-card p,
    .hx-steps p {
        color: var(--muted);
        line-height: 1.7;
    }

.hx-confidential {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 32px;
    align-items: center;
}

.hx-confidential__box,
.hx-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #12243d 100%);
    color: var(--white);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

    .hx-confidential__box h3,
    .hx-cta h2 {
        color: var(--white);
        margin-top: 0;
    }

    .hx-confidential__box p,
    .hx-cta p {
        color: rgba(255, 255, 255, 0.85);
    }

.hx-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

    .hx-steps strong {
        color: var(--blue);
        font-size: 1.8rem;
    }

/* ---------- Home: private deal process ---------- */
.hx-deal-process .hx-section-title p {
    max-width: 52rem;
    margin: 18px auto 0;
    text-align: center;
}

.hx-deal-process__track {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 28px;
}

.hx-deal-step {
    flex: 1 1 0;
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 22px 26px;
    box-shadow: var(--shadow);
}

.hx-deal-step__num {
    display: block;
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 18px;
}

.hx-deal-step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: var(--gold-muted);
    color: var(--gold);
}

    .hx-deal-step__icon .bi {
        font-size: 1.45rem;
        line-height: 1;
    }

    .hx-deal-step__icon .hx-deal-step__icon-img,
    .hx-deal-step__icon svg {
        width: 28px;
        height: 28px;
        display: block;
        object-fit: contain;
        flex-shrink: 0;
    }

.hx-deal-step__icon--badge {
    background: transparent;
    border: none;
}

    .hx-deal-step__icon--badge .hx-deal-step__icon-img {
        width: 52px;
        height: 52px;
    }

.hx-deal-step h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.25;
}

.hx-deal-step p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.hx-deal-process__connector {
    flex: 0 0 clamp(28px, 3vw, 48px);
    align-self: center;
    position: relative;
    height: 2px;
    background: var(--gold);
    margin: 0 4px;
}

    .hx-deal-process__connector::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 2px solid var(--gold);
        background: var(--white);
        transform: translate(-50%, -50%);
    }

.hx-deal-process__note {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.hx-deal-process__note-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding-right: 20px;
    border-right: 1px solid var(--border);
}

    .hx-deal-process__note-icon img {
        width: 28px;
        height: 28px;
        display: block;
        object-fit: contain;
    }

.hx-deal-process__note p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.hx-cta {
    margin-bottom: 70px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 25px;
}

.hx-hero-seo-title {
    font-family: var(--font-serif);
    line-height: 1.15;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
}

.hx-hero-display-title {
    font-family: var(--font-serif);
    font-weight: 600;
    margin-top: 10px;
    color: var(--white);
}

.hx-hero-headline {
    font-family: var(--font-serif);
    font-weight: 600;
    margin-top: 5px;
    color: var(--white);
}

/* ---------- Properties Listing ---------- */
.properties-page {
    padding: 80px 0;
}

.properties-header {
    text-align: center;
    margin-bottom: 40px;
}

    .properties-header h1 {
        margin: 0 0 10px;
        font-size: clamp(2.2rem, 4vw, 4rem);
        color: var(--blue-dark);
    }

    .properties-header p {
        color: var(--muted);
    }

/* Default marketplace grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* SEO landing pages have sidebar, so cards need more room */
.seo-section-card .property-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* ---------- Property Card ---------- */
.property-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.22s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .property-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

.property-card__image-wrap {
    display: block;
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #111111;
}

.property-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.28s ease;
}

.property-card:hover .property-card__image {
    transform: scale(1.04);
}

.property-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.property-card__badge {
    border-radius: var(--radius-pill);
    padding: 7px 10px;
    font-size: 0.75rem;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

    .property-card__badge.gold {
        background: var(--blue);
        color: var(--white);
    }

    .property-card__badge.dark {
        background: var(--blue-dark);
        color: var(--white);
    }

    .property-card__badge.light {
        background: rgba(255, 255, 255, 0.92);
        color: var(--blue-dark);
    }

.property-card__body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-card__meta {
    color: var(--blue);
    font-weight: 900;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.property-card__body h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.25;
    font: var(--font-sans);
    font-weight: 700;
    padding: 9px 0px;
    height: 55px;
    overflow:hidden;
}

    .property-card__body h3 a {
        color: var(--ink);
        text-decoration: none;
    }

        .property-card__body h3 a:hover {
            color: var(--blue);
        }

.property-card__body p {
    color: var(--ink-mid);
    line-height: 1.65;
    margin: 14px 0 0;
}

.property-card__footer {
    border-top: 1px solid var(--border);
    margin-top: 18px;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: auto;
}

    .property-card__footer small {
        display: block;
        color: var(--muted);
        font-size: 0.78rem;
        margin-bottom: 3px;
    }

    .property-card__footer strong {
        color: var(--ink);
    }

.property-card__link {
    background: var(--blue-soft);
    color: var(--blue);
    text-decoration: none;
    padding: 9px 13px;
    border-radius: var(--radius-pill);
    font-weight: 900;
    white-space: nowrap;
}

    .property-card__link:hover {
        background: var(--blue);
        color: var(--white);
    }

.property-card--rich {
    border-radius: 22px;
}

    .property-card--rich .property-card__image-wrap {
        height: 245px;
    }

.property-card__confidential {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgb(8 18 38 / 36%);
    color: #fff;
    border-radius: 12px;
    padding: 10px 13px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    backdrop-filter: blur(10px);
    /*display: none !important;*/
}

    .property-card__confidential span {
        font-size: 0.78rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    .property-card__confidential small {
        font-size: 0.68rem;
        opacity: 0.82;
    }

.property-card__type {
    display: inline-flex;
    background: var(--blue-soft);
    color: var(--blue);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.property-card__location {
    margin-top: 10px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.property-card__summary {
    color: var(--ink-mid);
    line-height: 1.55;
    font-style: italic;
    font-weight: 500;
    margin: 18px 0 0;
    min-height: 52px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-card__features {
    display: flex;
    gap: 14px;
    margin-top: 10px;
    padding-bottom: 12px;
    min-height: 58px;
    align-self: anchor-center;
    align-items: center;
}

    .property-card__features div {
        min-width: 70px;
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }

    .property-card__features-empty {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

        .property-card__features-empty small {
            font-style: italic;
        }

    .property-card__features span {
        font-size: 1.15rem;
    }

    .property-card__features small {
        color: var(--muted);
        font-size: 0.58rem;
        font-weight: 700;
        text-transform: none;
        line-height: 1.25;
    }

.property-card__unlock {
    width: 100%;
    background: var(--blue-btn);
    color: #000;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .2s ease;
}

    .property-card__unlock:hover {
        background: var(--gold-dark);
        color: #fff;
    }

/* ---------- Property Details ---------- */
.property-detail-loading {
    padding: 80px 0;
}

.property-detail-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--white);
    padding: 80px 0 110px;
}

    .property-detail-hero h1 {
        margin: 0;
        max-width: 780px;
        font-size: clamp(2.4rem, 5vw, 4.6rem);
        line-height: 1;
        letter-spacing: -0.04em;
    }

    .property-detail-hero p {
        margin: 18px 0 0;
        color: rgba(255, 255, 255, 0.85);
        font-size: 1.15rem;
    }

.property-detail-hero__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: end;
}

.property-detail-hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.property-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

    .property-detail-tags span {
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.20);
        color: var(--white);
        padding: 9px 13px;
        border-radius: var(--radius-pill);
        font-weight: 800;
        font-size: 0.9rem;
    }

.property-detail-main {
    margin-top: -70px;
    padding-bottom: 90px;
}

.property-detail-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 26px;
    align-items: start;
}

.property-detail-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.property-gallery-card,
.property-section-card,
.property-inquiry-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.property-gallery-card {
    padding: 0;
}

.property-detail-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.property-section-card,
.property-inquiry-card {
    padding: 28px;
}

    .property-section-card h2,
    .property-inquiry-card h2 {
        margin: 0 0 20px;
        font-size: 1.7rem;
        color: var(--ink);
    }

.property-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

    .property-summary-grid div {
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        padding: 16px;
    }

    .property-summary-grid small {
        display: block;
        color: var(--muted);
        margin-bottom: 6px;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-weight: 800;
    }

    .property-summary-grid strong {
        color: var(--ink);
    }

.property-public-note {
    color: var(--muted);
    line-height: 1.7;
    margin: 22px 0 0;
}

.property-agent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.property-agent-card {
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 16px;
    background: var(--white);
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: center;
}

    .property-agent-card.selected {
        border-color: var(--gold);
        box-shadow: 0 0 0 4px var(--gold-muted);
    }

    .property-agent-card img {
        width: 72px;
        height: 72px;
        border-radius: 18px;
        object-fit: cover;
        background: var(--blue-soft);
    }

    .property-agent-card h3 {
        margin: 0;
        font-size: 1rem;
    }

    .property-agent-card p {
        margin: 5px 0;
        color: var(--muted);
    }

    .property-agent-card span {
        color: var(--blue);
        font-size: 0.8rem;
        font-weight: 900;
    }

    .property-agent-card button {
        grid-column: 1 / -1;
        width: 100%;
    }

.property-inquiry-card {
    position: sticky;
    top: 92px;
}

    .property-inquiry-card p {
        color: var(--muted);
        line-height: 1.65;
    }

.selected-agent-box {
    background: var(--gold-soft);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 18px;
    padding: 14px;
    margin: 18px 0;
}

    .selected-agent-box small {
        display: block;
        color: var(--muted);
        margin-bottom: 4px;
        font-weight: 700;
    }

    .selected-agent-box strong {
        color: var(--navy);
    }

.pd-page {
    padding: 36px 0 90px;
}

.pd-shell {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.pd-hero {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 42px;
    display: flex;
    align-items: flex-end;
    color: #fff;
}

.pd-confidential-badge {
    position: absolute;
    top: 34px;
    left: 34px;
    background: rgba(8,18,38,.9);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    gap: 12px;
    align-items: center;
    display: none !important;
}

    .pd-confidential-badge strong,
    .pd-confidential-badge small {
        display: block;
    }

    .pd-confidential-badge strong {
        text-transform: uppercase;
        font-size: .9rem;
    }

    .pd-confidential-badge small {
        opacity: .8;
    }

.pd-back-btn {
    position: absolute;
    top: 34px;
    right: 34px;
    background: #fff;
    color: var(--blue);
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 900;
}

.pd-hero-content {
    max-width: 780px;
}

.pd-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: .95;
    letter-spacing: -.05em;
}

.pd-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-top: 18px;
    font-weight: 800;
}

.pd-pill {
    background: var(--blue-soft);
    color: var(--blue);
    border-radius: 8px;
    padding: 8px 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem;
}

.pd-hero p {
    max-width: 700px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.9);
    font-size: 1.25rem;
    line-height: 1.55;
}

.pd-feature-strip {
    margin: -42px 30px 0;
    position: relative;
    z-index: 2;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 26px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

    .pd-feature-strip div {
        display: flex;
        align-items: center;
        gap: 14px;
        border-right: 1px solid var(--border);
    }

        .pd-feature-strip div:last-child {
            border-right: 0;
        }

.pd-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--blue);
    font-weight: 900;
}

.pd-feature-strip strong,
.pd-feature-strip small {
    display: block;
}

.pd-feature-strip small {
    color: var(--muted);
}

.pd-main-grid {
    padding: 36px 34px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 34px;
}

.pd-overview-card h2,
.pd-agent-card h2,
.pd-inquiry-section h2 {
    margin: 0 0 20px;
    color: var(--ink);
}

.pd-overview-card p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

.pd-check-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: grid;
    gap: 16px;
}

    .pd-check-list li::before {
        content: "✓";
        color: var(--blue);
        font-weight: 900;
        margin-right: 10px;
    }

.pd-price-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    background: #fff;
    box-shadow: var(--shadow);
}

    /*.pd-price-card div {
        border-bottom: 1px solid var(--border);
        padding-bottom: 18px;
        margin-bottom: 18px;
    }*/

    .pd-price-card small {
        display: block;
        color: var(--muted);
        text-transform: uppercase;
        font-weight: 900;
        letter-spacing: .08em;
        margin-bottom: 8px;
    }

    .pd-price-card strong {
        font-size: 1.5rem;
    }

    .pd-price-card .pd-price {
        font-size: 3rem;
    }

.pd-unlock-btn,
.pd-request-btn {
    width: 100%;
    border: 0;
    background: var(--blue);
    color: #fff;
    border-radius: 12px;
    padding: 16px;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
}

.pd-price-card p {
    color: var(--muted);
    line-height: 1.6;
}

.pd-agent-card,
.pd-inquiry-section {
    margin: 0 34px 34px;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px;
}

.pd-agent-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 28px;
    align-items: center;
}

.pd-agent-profile {
    display: flex;
    gap: 18px;
    align-items: center;
}

    .pd-agent-profile img {
        width: 84px;
        height: 84px;
        border-radius: 50%;
        object-fit: cover;
    }

    .pd-agent-profile h3 {
        margin: 0;
    }

    .pd-agent-profile p {
        margin: 6px 0;
        color: var(--muted);
    }

    .pd-agent-profile span {
        background: var(--blue-soft);
        color: var(--blue);
        padding: 5px 10px;
        border-radius: 999px;
        font-size: .8rem;
        font-weight: 900;
    }

.pd-agent-contact {
    display: grid;
    gap: 12px;
}

    .pd-agent-contact a {
        color: var(--muted);
        text-decoration: none;
        font-weight: 800;
    }

.pd-agent-cta p {
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .pd-feature-strip,
    .pd-main-grid,
    .pd-agent-row {
        grid-template-columns: 1fr;
    }

        .pd-feature-strip div {
            border-right: 0;
            border-bottom: 1px solid var(--border);
            padding-bottom: 16px;
        }

            .pd-feature-strip div:last-child {
                border-bottom: 0;
            }
}

@media (max-width: 768px) {
    .pd-hero {
        padding: 28px;
        min-height: 480px;
    }

    .hx-hero__video {
        display: none;
    }

    .pd-confidential-badge,
    .pd-back-btn {
        position: static;
        margin-bottom: 16px;
        width: fit-content;
    }

    .pd-hero {
        display: block;
    }

        .pd-hero h1 {
            font-size: 2.7rem;
        }

    .pd-feature-strip,
    .pd-main-grid,
    .pd-agent-card,
    .pd-inquiry-section {
        margin-left: 18px;
        margin-right: 18px;
    }

    .hx-btn {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        text-align: center;
        line-height: 1.25;
        padding: 14px 18px;
    }

    .hx-hero__actions .hx-btn,
    .hx-section-cta-row .hx-btn {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        text-align: center;
        line-height: 1.25;
    }

    .pd-price-card .pd-price {
        font-size: 2.4rem;
    }

    .pd-hero-content {
        margin-top: 15px;
    }
}

/* ---------- Forms ---------- */
.form-grid {
    display: grid;
    gap: 14px;
}

    .form-grid label {
        display: block;
        margin-bottom: 6px;
        font-weight: 800;
        color: var(--ink);
    }

.public-input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 13px;
    outline: none;
    font: inherit;
    background: var(--white);
}

    .public-input:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 4px var(--gold-muted);
    }

.public-textarea {
    min-height: 100px;
    resize: vertical;
}

.nda-note {
    background: #fff8e6;
    border: 1px solid #ffe2a8;
    color: #6f4b00;
    border-radius: 16px;
    padding: 12px;
    line-height: 1.5;
    font-size: 0.92rem;
    margin: 16px 0;
}

.submit-btn {
    width: 100%;
}

/* ---------- SEO Landing Pages ---------- */
.seo-hero {
    position: relative;
    background: var(--navy) url("/images/off-market.png") center/cover no-repeat;
    color: var(--white);
    padding: 120px 0 110px;
    overflow: hidden;
}

    .seo-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--hero-overlay);
        z-index: 0;
    }

    .seo-hero .container {
        position: relative;
        z-index: 1;
    }

    .seo-hero h1 {
        max-width: 900px;
        margin: 0;
        font-family: var(--font-serif);
        font-size: clamp(2rem, 4vw, 3.5rem);
        line-height: 1.12;
        letter-spacing: -0.02em;
        font-weight: 600;
    }

    .seo-hero p {
        max-width: 760px;
        margin: 24px 0 0;
        color: rgba(255, 255, 255, 0.86);
        font-size: 1.15rem;
        line-height: 1.7;
    }

.seo-hero-actions {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.seo-content {
    padding: 70px 0;
}

.seo-content-grid {
    display: grid;
    /*grid-template-columns: minmax(0, 1fr) 340px;*/
    gap: 28px;
    align-items: start;
}

.seo-main {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.seo-section-card,
.seo-sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 28px;
}

    .seo-section-card h2,
    .seo-sidebar-card h3 {
        margin: 0 0 14px;
        color: var(--ink);
    }

    .seo-section-card p,
    .seo-sidebar-card p {
        color: var(--muted);
        line-height: 1.75;
        margin: 0;
    }

.seo-sidebar {
    position: sticky;
    top: 92px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.seo-link-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .seo-link-list a {
        display: block;
        background: var(--blue-soft);
        color: var(--blue-dark);
        text-decoration: none;
        font-weight: 800;
        padding: 12px 14px;
        border-radius: 14px;
    }

        .seo-link-list a:hover {
            background: var(--blue);
            color: var(--white);
        }

.seo-sidebar-card.cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--white);
    border-color: rgba(197, 160, 89, 0.25);
}

    .seo-sidebar-card.cta h3 {
        color: var(--white);
    }

    .seo-sidebar-card.cta p {
        color: rgba(255, 255, 255, 0.82);
        margin-bottom: 18px;
    }

.seo-faq-list {
    display: grid;
    gap: 12px;
}

    .seo-faq-list details {
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 14px 16px;
        background: var(--bg);
    }

    .seo-faq-list summary {
        cursor: pointer;
        font-weight: 900;
        color: var(--ink);
    }

    .seo-faq-list details p {
        margin-top: 12px;
    }

/* ---------- SEO Admin / PropertySeoForm ---------- */
.seo-page {
    padding: 28px;
    background: #f7f2e8;
    min-height: 100vh;
}

.seo-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}

    .seo-header h1 {
        margin: 8px 0 6px;
        color: #111111;
    }

    .seo-header p {
        color: #6b6b6b;
        margin: 0;
    }

.seo-back {
    color: var(--blue-mid);
    text-decoration: none;
    font-weight: 800;
}

.seo-header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.seo-save-btn,
.seo-preview-btn,
.seo-small-btn {
    border: 0;
    border-radius: var(--radius-pill);
    padding: 11px 16px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
}

.seo-save-btn {
    background: var(--blue-mid);
    color: var(--white);
}

.seo-preview-btn {
    background: #111111;
    color: var(--white);
}

.seo-small-btn {
    background: var(--blue-soft);
    color: var(--blue-dark);
    padding: 7px 12px;
    font-size: 0.82rem;
}

.seo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 18px;
}

.seo-card {
    background: var(--white);
    border: 1px solid rgba(17, 17, 17, 0.10);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 14px 40px rgba(17, 17, 17, 0.06);
}

    .seo-card.full-width {
        grid-column: 1 / -1;
    }

.seo-card-title h2 {
    margin: 0 0 6px;
    color: #111111;
}

.seo-card-title p {
    margin: 0 0 20px;
    color: #6b6b6b;
    line-height: 1.5;
}

.seo-form-group {
    margin-bottom: 18px;
}

    .seo-form-group label,
    .seo-status-box label {
        display: block;
        font-weight: 900;
        color: #111111;
        margin-bottom: 7px;
    }

.seo-label-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.seo-input {
    width: 100%;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 16px;
    padding: 12px 14px;
    outline: none;
    background: var(--white);
}

    .seo-input:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 4px var(--gold-muted);
    }

.seo-textarea {
    min-height: 110px;
}

.seo-large-textarea {
    min-height: 170px;
}

.seo-help {
    display: block;
    margin-top: 6px;
    color: #6b6b6b;
    font-size: 0.82rem;
}

    .seo-help.good {
        color: #16833a;
    }

    .seo-help.warn {
        color: #b45f06;
    }

.seo-toggle-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.seo-toggle {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 18px;
    background: #fffaf1;
    border: 1px solid rgba(17, 17, 17, 0.08);
}

    .seo-toggle input {
        margin-top: 4px;
    }

    .seo-toggle strong,
    .seo-toggle small {
        display: block;
    }

    .seo-toggle small {
        color: #6b6b6b;
        margin-top: 3px;
        line-height: 1.4;
    }

    .seo-toggle.danger {
        background: #fff3f3;
    }

.seo-status-box {
    margin-top: 20px;
}

.google-preview,
.social-preview {
    border: 1px solid rgba(17, 17, 17, 0.10);
    border-radius: 20px;
    background: var(--white);
}

.google-preview {
    padding: 18px;
}

.google-url {
    color: #207245;
    font-size: 0.85rem;
    margin-bottom: 7px;
    word-break: break-all;
}

.google-title {
    color: #1a0dab;
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 7px;
}

.google-description {
    color: #4d5156;
    line-height: 1.45;
}

.social-title {
    margin-top: 28px;
}

.social-preview {
    overflow: hidden;
}

    .social-preview img {
        width: 100%;
        height: 170px;
        object-fit: cover;
        background: #111111;
    }

    .social-preview div {
        padding: 16px;
    }

    .social-preview strong {
        display: block;
        color: #111111;
        line-height: 1.35;
    }

    .social-preview p {
        color: #6b6b6b;
        line-height: 1.45;
        margin: 8px 0;
    }

    .social-preview small {
        color: var(--blue-mid);
        text-transform: uppercase;
        font-weight: 900;
        letter-spacing: 0.08em;
    }

.seo-alert {
    padding: 14px 16px;
    border-radius: 18px;
    margin-bottom: 18px;
    font-weight: 800;
}

    .seo-alert.error {
        background: #fff0f0;
        color: #9f1c1c;
        border: 1px solid #f3bcbc;
    }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hx-filter-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hx-card-grid.three,
    .hx-confidential,
    .hx-steps {
        grid-template-columns: 1fr 1fr;
    }

    .hx-deal-process__track {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hx-deal-process__connector {
        display: none;
    }

    .hx-deal-step {
        flex: 1 1 calc(50% - 8px);
    }

    .seo-grid,
    .seo-content-grid {
        grid-template-columns: 1fr;
    }

    .seo-sidebar {
        /*position: static;*/
    }

    .seo-header {
        flex-direction: column;
    }
}

@media (max-width: 1200px) {
    .property-grid,
    .seo-section-card .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .property-detail-main__grid,
    .property-detail-hero__grid {
        grid-template-columns: 1fr;
    }

    .property-inquiry-card {
        position: static;
    }
}

@media (max-width: 1024px) {
    .property-grid,
    .seo-section-card .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .property-grid,
    .seo-section-card .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-detail-main__grid,
    .property-detail-hero__grid {
        grid-template-columns: 1fr;
    }

    .property-inquiry-card {
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        --page-gutter: clamp(20px, 5vw, 32px);
    }

    .container,
    .public-footer__inner,
    .hx-search-card {
        width: min(var(--container), calc(100% - (var(--page-gutter) * 2)));
        max-width: 100%;
    }

    .hx-section,
    .hx-confidential,
    .hx-cta {
        width: 100%;
        max-width: 100%;
        padding-left: var(--page-gutter);
        padding-right: var(--page-gutter);
    }

    .public-header__inner,
    .hx-hero--home .hx-hero__content {
        width: 100%;
        max-width: 100%;
    }

    .hx-hero:not(.hx-hero--home) > .hx-hero__content {
        width: min(var(--container), calc(100% - (var(--page-gutter) * 2)));
        max-width: 100%;
    }

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .public-header__inner {
        min-height: 66px;
        flex-direction: row;
        gap: 12px;
    }

    .public-brand__logo,
    .public-brand img {
        height: 60px;
        max-width: 300px;
        border-radius: 0;
    }

    .public-footer__logo {
        max-width: 180px;
        max-height: 115px;
    }

    .public-brand__text small {
        display: none;
    }

    .public-menu-btn {
        display: block;
    }

    .public-nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #111111;
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 18px;
        padding: 10px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    }

        .public-nav.is-open {
            display: flex;
            background-color: var(--navy);
        }

        .public-nav a {
            padding: 14px 12px;
            text-align: center;
            margin:2px;
        }

    .public-footer__inner {
        grid-template-columns: 1fr;
    }

    .hx-hero {
        min-height: auto;
    }

    .hx-hero__content {
        padding-top: 80px;
        padding-bottom: 130px;
    }

    .hx-hero--home .hx-hero__content {
        min-height: auto;
        padding: 100px var(--page-gutter) 36px;
    }

    .hx-hero--market .hx-hero__content {
        min-height: auto;
        padding: 100px var(--page-gutter) 56px;
    }

    .hx-hero--market .hx-hero__content--alberta,
    .hx-hero--market .hx-hero__content--bc,
    .hx-hero--market .hx-hero__content--sask {
        padding-bottom: 36px;
    }

    .hx-hero__bottom {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hx-hero-carousel {
        text-align: left;
    }

    .hx-hero-carousel__panel {
        justify-content: flex-start;
    }

    .hx-hero-carousel__dots {
        justify-content: flex-start;
    }

    .hx-hero__eyebrow-row {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

        .hx-hero__eyebrow-row .hx-hero__eyebrow {
            white-space: normal;
        }

    .hx-hero h1:not(.hx-hero-seo-title) {
        font-size: clamp(2.55rem, 14vw, 4.2rem);
    }

    .hx-hero .hx-hero-seo-title {
        font-size: clamp(2rem, 9vw, 2.75rem);
        line-height: 1.12;
    }

    .hx-hero__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding-top: 32px;
    }

    .hx-hero-card--mobile-hidden {
        display: none;
    }

    .hx-hero-card {
        min-height: 128px;
        padding: 16px 10px 12px;
    }

        .hx-hero-card .hx-hero-card__title {
            font-size: 0.8rem;
            line-height: 1.3;
        }

    .hx-stats-bar__inner {
        grid-template-columns: 1fr;
    }

    .hx-stats-bar__item {
        border-right: 0;
        border-bottom: 1px solid var(--border);
        padding: 24px 20px;
    }

        .hx-stats-bar__item:last-child {
            border-bottom: 0;
        }

    .hx-deal-process__track {
        flex-direction: column;
    }

    .hx-deal-step {
        flex: 1 1 auto;
    }

    .hx-deal-process__note {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 20px;
        padding: 20px;
    }

    .hx-deal-process__note-icon {
        padding-right: 0;
        padding-bottom: 16px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
        justify-content: center;
    }

    .hx-stats,
    .hx-filter-grid,
    .hx-card-grid.three,
    .hx-confidential,
    .hx-steps,
    .property-grid,
    .seo-section-card .property-grid,
    .property-summary-grid,
    .property-agent-grid {
        grid-template-columns: 1fr;
    }

        .hx-stats div {
            border-right: 0;
            border-bottom: 1px solid var(--border);
        }

            .hx-stats div:last-child {
                border-bottom: 0;
            }

    .hx-search-card {
        margin-top: -80px;
        padding: 24px;
    }

    .hx-section,
    .hx-confidential,
    .hx-cta {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hx-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .property-detail-hero {
        padding: 50px 0 95px;
    }

    .property-detail-main {
        margin-top: -50px;
    }

    .property-detail-image {
        height: 300px;
    }

    .property-section-card,
    .property-inquiry-card,
    .seo-section-card,
    .seo-sidebar-card {
        padding: 22px;
        border-radius: 22px;
    }

    .property-card__image-wrap {
        height: 220px;
    }

    .property-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .seo-hero {
        padding: 60px 0 85px;
    }

        .seo-hero h1 {
            font-size: clamp(2.4rem, 13vw, 4rem);
        }
}

/*------------ icon styles ------------------*/
.property-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

    .property-icon svg,
    .property-icon .amenity-icon__svg {
        width: 18px;
        height: 18px;
        display: block;
        flex: 0 0 auto;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .property-icon .amenity-icon__svg--filled {
        fill: currentColor;
        stroke: none;
    }

.property-card__location {
    margin-top: 10px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-card__features span {
    width: 22px;
    height: 22px;
    color: #64748b;
}

.property-unlock-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    margin-right: 6px;
}

    .property-unlock-icon svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        stroke-width: 2;
        fill: none;
    }

/* Mobile SEO sidebar drawer - must stay at bottom of CSS */
.seo-mobile-sidebar-btn {
    display: none;
}

.seo-sidebar-overlay {
    display: none;
}

/* ---------- SEO Homepage Enhancements ---------- */
.hx-hero--seo .hx-hero__content {
    padding-top: 110px;
    padding-bottom: 160px;
}

.hx-hero__seo-title {
    max-width: 860px;
    margin: 0 0 18px;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--white);
    font-weight: 600;
}

.hx-hero__headline {
    max-width: 980px;
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: var(--white);
}

.hx-btn--large {
    padding: 15px 24px;
    font-size: 1.02rem;
}

.hx-market-nav .hx-section-title p {
    max-width: none;
    width: 100%;
}

.hx-market-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
    justify-content: center;
}

    .hx-market-links a {
        border: 1px solid var(--border);
        border-radius: 14px;
        background: var(--blue-soft);
        padding: 14px 16px;
        font-weight: 900;
        color: var(--blue-dark);
        text-decoration: none;
        transition: 0.2s ease;
        min-width: 180px;
        text-align: center;
    }

        .hx-market-links a:hover {
            background: var(--blue);
            color: var(--white);
            transform: translateY(-1px);
        }

.hx-value-filter {
    margin-top: 24px;
    max-width: 360px;
}

    .hx-value-filter label {
        display: block;
        color: var(--ink);
        font-weight: 900;
        margin-bottom: 8px;
    }

    .hx-value-filter small {
        display: block;
        color: var(--muted);
        line-height: 1.5;
        margin-top: 8px;
    }

.hx-card-grid.two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.hx-positioning .hx-info-card h2 {
    margin-top: 0;
    color: var(--blue-dark);
    font-size: 1.35rem;
}

.hx-listings-preview {
    padding-top: 20px;
    padding-bottom: 20px;
}

.hx-home-property-grid {
    display: grid;
    gap: 22px;
}

    .hx-home-property-grid.three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hx-home-property-grid.four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    .hx-home-property-grid.two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.hx-home-property-grid.four .property-card--rich .property-card__image-wrap {
    height: 210px;
}

.hx-home-property-grid.four .property-card__body {
    padding: 18px 16px 16px;
}

.hx-home-property-grid.four .property-card__body h3 {
    font-size: 1.05rem;
}

    .hx-home-property-grid.four .property-card__features {
        gap: 10px;
        margin-top: 14px;
        padding-bottom: 12px;
        min-height: 52px;
        align-self: anchor-center;
        align-items: center;
    }

.hx-home-property-grid.four .property-card__features div {
    min-width: 58px;
}

.hx-home-property-grid.four .property-card__footer {
    gap: 10px;
}

.hx-home-property-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.22s ease;
    height: 100%;
}

    .hx-home-property-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

.hx-home-property-card__image {
    min-height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

    .hx-home-property-card__image::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(8, 18, 38, 0.15), rgba(8, 18, 38, 0.45));
    }

    .hx-home-property-card__image span {
        position: absolute;
        top: 14px;
        left: 14px;
        background: rgba(8, 18, 38, 0.88);
        color: #fff;
        border-radius: 999px;
        padding: 8px 12px;
        font-size: 0.78rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

.hx-home-property-card__body {
    padding: 24px;
}

    .hx-home-property-card__body small {
        display: block;
        color: var(--blue);
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin-bottom: 10px;
    }

    .hx-home-property-card__body h3 {
        margin: 0;
        color: var(--ink);
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .hx-home-property-card__body p {
        margin: 16px 0 0;
        color: var(--muted);
        line-height: 1.6;
    }

.hx-home-property-card__meta {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 20px 0 0;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--ink);
}

    .hx-home-property-card__meta span,
    .hx-home-property-card__meta strong {
        font-weight: 900;
    }

.hx-section-cta-row {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.hx-national-layer,
.hx-global-layer {
    padding-top: 20px;
    padding-bottom: 20px;
}

    .hx-national-layer .hx-section-title p,
    .hx-global-layer .hx-section-title p {
        width: 100%;
        max-width: none;
    }

@media (max-width: 1100px) {
    .hx-stats-bar__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hx-stats-bar__item {
        padding: 26px 22px;
    }

        .hx-stats-bar__item:nth-child(2n) {
            border-right: 0;
        }

        .hx-stats-bar__item:nth-child(-n+2) {
            border-bottom: 1px solid var(--border);
        }

    .hx-hero__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .hx-hero-card {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 10px;
        min-height: 132px;
        padding: 18px 12px 14px;
    }

        .hx-hero-card .hx-hero-card__icon {
            order: 0;
        }

        .hx-hero-card .hx-hero-card__title {
            flex: 0 1 auto;
            order: 1;
            margin: 4px 0 2px;
            justify-content: center;
            text-align: center;
            width: 100%;
        }

        .hx-hero-card .hx-hero-card__arrow {
            order: 2;
            margin-left: 0;
            margin-top: 2px;
        }

    .hx-home-property-grid.three,
    .hx-home-property-grid.four,
    .hx-home-property-grid.two,
    .hx-card-grid.two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .hx-hero-card {
        min-height: 140px;
    }
}

@media (max-width: 768px) {
    .hx-hero--seo .hx-hero__content {
        padding-top: 80px;
        padding-bottom: 130px;
    }

    .hx-hero__seo-title {
        font-size: clamp(1.1rem, 5vw, 1.45rem);
    }

    .hx-hero__headline {
        font-size: clamp(2.55rem, 14vw, 4.2rem);
    }

    .hx-market-links,
    .hx-section-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

        .hx-market-links a,
        .hx-section-cta-row .hx-btn {
            text-align: center;
            width: 100%;
        }

    .hx-home-property-grid.three,
    .hx-home-property-grid.four,
    .hx-home-property-grid.two,
    .hx-card-grid.two {
        grid-template-columns: 1fr;
    }

    .hx-home-property-grid.four .property-card--rich .property-card__image-wrap {
        height: 230px;
    }

    .hx-home-property-card__meta {
        flex-direction: column;
    }
}

/* ---------- Properties Filter Panel / Mobile Drawer ---------- */
.property-filter-panel {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 24px;
    margin: 0 0 28px;
}

.property-filter-panel__header {
    order: 1;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.property-filter-panel__mobile-top {
    order: 3;
    display: block;
}

.property-filter-grid {
    order: 2;
}

.property-filter-panel__eyebrow {
    display: inline-block;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.property-filter-panel h2 {
    margin: 0;
    color: var(--blue-dark);
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.1;
}

.property-filter-panel__reset,
.property-filter-apply {
    border: 0;
    border-radius: var(--radius-pill);
    padding: 11px 16px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.property-filter-panel__reset {
    background: var(--blue-soft);
    color: var(--blue-dark);
}

    .property-filter-panel__reset:hover {
        background: var(--blue);
        color: var(--white);
    }

.property-filter-apply {
    background: var(--blue-btn);
    color: var(--white);
}

    .property-filter-apply:hover {
        background: var(--gold-dark);
    }

.property-filter-panel__close,
.property-filter-fab,
.property-filter-overlay,
.property-filter-actions,
.property-filter-panel__reset--mobile {
    display: none;
}

.property-filter-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 14px;
    align-items: end;
}

.property-filter-field label {
    display: block;
    color: var(--ink);
    font-weight: 900;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.property-filter-input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 13px;
    outline: none;
    font: inherit;
    background: var(--white);
    color: var(--ink);
}

    .property-filter-input:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 4px var(--gold-muted);
    }

.property-filter-summary {
    color: var(--muted);
    margin-top: 16px;
    font-weight: 700;
}

    .property-filter-summary strong {
        color: var(--blue-dark);
    }

.property-filter-field--amenities {
    min-width: 0;
}

.property-filter-checkboxes {
    min-height: 46px;
    /*border: 1px solid var(--border);*/
    border-radius: 14px;
    background: var(--white);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    /*flex-wrap: wrap;*/
}

.property-filter-checkbox {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    margin: 0 !important;
    color: var(--ink);
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    cursor: pointer;
    user-select: none;
}

    .property-filter-checkbox input {
        width: 16px;
        height: 16px;
        accent-color: var(--blue-btn);
        cursor: pointer;
    }

@media (max-width: 1200px) {
    /*.property-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }*/

    .property-filter-field--wide {
        grid-column: 1 / -1;
    }

    .property-filter-grid {
        grid-template-columns: 1.4fr repeat(5, 1fr);
    }

    .property-filter-field--amenities {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .property-filter-fab {
        display: inline-flex;
        position: fixed;
        right: 16px;
        bottom: 76px;
        z-index: 1600;
        align-items: center;
        gap: 9px;
        border: 0;
        border-radius: 999px;
        padding: 13px 16px;
        background: var(--blue-btn);
        color: #fff;
        font-weight: 900;
        box-shadow: 0 16px 40px rgba(0, 11, 29, 0.28);
        cursor: pointer;
    }

    .property-filter-fab__icon,
    .property-filter-panel__close {
        width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

        .property-filter-fab svg,
        .property-filter-panel__close svg {
            width: 22px;
            height: 22px;
        }

    .property-filter-fab strong {
        display: inline-grid;
        place-items: center;
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        border-radius: 999px;
        background: #fff;
        color: var(--blue-btn);
        font-size: 0.78rem;
    }

    .property-filter-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1650;
        border: 0;
        background: rgba(8,18,38,.55);
        backdrop-filter: blur(3px);
        cursor: pointer;
    }

    .property-filter-panel {
        position: fixed;
        top: 0;
        right: -390px;
        bottom: 0;
        width: min(370px, 90vw);
        height: 100vh;
        z-index: 1700;
        margin: 0;
        border-radius: 24px 0 0 24px;
        padding: 22px;
        overflow-y: auto;
        transition: right .25s ease;
        box-shadow: -20px 0 50px rgba(16,32,51,.25);
    }

        .property-filter-panel.is-open {
            right: 0;
        }

    .property-filter-panel__header {
        order: 1;
        align-items: flex-start;
        margin-bottom: 14px;
        flex-shrink: 0;
    }

    .property-filter-panel__mobile-top {
        order: 2;
        flex-shrink: 0;
        margin-bottom: 16px;
    }

    .property-filter-grid {
        order: 3;
        flex: 1;
        min-height: 0;
        padding-bottom: 8px;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .property-filter-panel__close {
        display: inline-flex;
        flex: 0 0 auto;
        border: 0;
        border-radius: 999px;
        background: var(--blue-soft);
        color: var(--blue-dark);
        cursor: pointer;
        margin-left: auto;
    }

    .property-filter-panel__reset--desktop {
        display: none;
    }

    .property-filter-field--wide {
        grid-column: auto;
    }

    .property-filter-field,
    .property-filter-field--wide,
    .property-filter-field--amenities {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }

    .property-filter-input {
        width: 100% !important;
        min-width: 0 !important;
    }

    .property-filter-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 12px;
    }

    .property-filter-panel__reset--mobile {
        display: inline-flex;
        justify-content: center;
    }

    .property-filter-summary {
        background: var(--blue-soft);
        border-radius: 14px;
        padding: 12px;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
    }

    .property-filter-apply {
        width: 100%;
    }

    .property-filter-checkboxes {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .property-filter-checkbox {
        width: 100%;
        border-radius: 12px;
        background: var(--blue-soft);
        padding: 11px 12px;
    }
}

/*--------- Amenities ---------*/
.amenity-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.amenity-chip {
    display: inline-flex;
    align-items: center;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--gold-dark);
    border: 1px solid rgba(197, 160, 89, 0.35);
    font-size: .9rem;
    font-weight: 700;
}

/*------------- Team page ----------*/
.team-page {
    padding: 70px 0;
}

.team-header {
    text-align: center;
    margin-bottom: 44px;
}

    .team-header h1 {
        margin: 0;
        color: var(--blue-dark);
        font-size: clamp(2.5rem, 5vw, 4.5rem);
    }

    .team-header p {
        color: var(--muted);
        font-size: 1.1rem;
    }

.team-profile-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 34px;
    margin-bottom: 34px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 44px;
    align-items: start;
}

.team-profile-left {
    text-align: center;
}

.team-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    background: #ddd;
}

.team-logo {
    max-width: 260px;
    max-height: 130px;
    object-fit: contain;
    margin-top: 18px;
}

.team-profile-content h2 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.team-profile-content span {
    display: block;
    color: #e30613;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 8px;
}

.team-profile-content p {
    color: var(--ink);
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0 0 10px;
}

.team-see-also {
    margin-top: 16px;
    text-align: right;
    color: var(--muted);
}

    .team-see-also a {
        color: var(--blue);
        text-decoration: none;
    }

        .team-see-also a:hover {
            text-decoration: underline;
        }

@media (max-width: 900px) {
    .team-profile-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }

    .team-photo {
        width: 100%;
        max-width: 320px;
        height: 320px;
    }

    .team-see-also {
        text-align: left;
    }
}

/*------------ About page -------------*/
.about-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: #fff;
    padding: 88px 0 110px;
}

    .about-hero h1 {
        max-width: 960px;
        margin: 0;
        font-size: clamp(2.8rem, 6vw, 5.4rem);
        line-height: .95;
        letter-spacing: -.05em;
    }

    .about-hero p {
        max-width: 760px;
        margin: 24px 0 0;
        color: rgba(255,255,255,.86);
        font-size: 1.15rem;
        line-height: 1.75;
    }

.about-page {
    padding: 70px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.about-main {
    display: grid;
    gap: 22px;
}

.about-card,
.about-sidebar-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 30px;
}

    .about-card h2,
    .about-sidebar-card h3 {
        margin: 0 0 14px;
        color: var(--blue-dark);
    }

    .about-card p,
    .about-sidebar-card p {
        margin: 0 0 14px;
        color: var(--muted);
        line-height: 1.8;
        font-size: 1.03rem;
    }

        .about-card p:last-child {
            margin-bottom: 0;
        }

.about-highlight {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: #fff;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

    .about-highlight h2,
    .about-highlight p {
        color: #fff;
    }

    .about-highlight strong {
        color: var(--gold-light);
    }

.about-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
}

    .about-service-grid span {
        background: var(--blue-soft);
        color: var(--blue-dark);
        border-radius: 14px;
        padding: 13px 14px;
        font-weight: 900;
    }

.about-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 18px;
}

.about-sidebar-card ul {
    padding-left: 18px;
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.about-sidebar-card li {
    margin-bottom: 6px;
}

.about-sidebar-card.cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: #fff;
}

    .about-sidebar-card.cta h3,
    .about-sidebar-card.cta p {
        color: #fff;
    }

@media (max-width: 1100px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-sidebar {
        position: static;
    }
}

/*------------ Contact page -------------*/
.contact-page {
    padding: 70px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.contact-main {
    display: grid;
    gap: 22px;
}

.contact-form-card h2 {
    margin-bottom: 10px;
}

.contact-form-card > p {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.03rem;
}

.contact-form-stack {
    display: grid;
    gap: 1rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-form-field label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 700;
    font-size: .9rem;
    color: var(--ink);
}

.contact-submit-btn {
    width: 100%;
    margin-top: 1.25rem;
}

.contact-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 18px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

    .contact-info-list li {
        display: grid;
        gap: 4px;
    }

    .contact-info-list span {
        color: var(--muted);
        font-size: .82rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .06em;
    }

    .contact-info-list a {
        color: var(--blue-dark);
        font-weight: 800;
        text-decoration: none;
    }

        .contact-info-list a:hover {
            color: var(--blue);
        }

.contact-sidebar-actions {
    display: grid;
    gap: 10px;
}

.contact-alert {
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: .92rem;
    line-height: 1.5;
}

.contact-alert--error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

@media (max-width: 1100px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .about-hero {
        padding: 64px 0 86px;
    }

    .about-service-grid {
        grid-template-columns: 1fr;
    }

    .about-card,
    .about-sidebar-card {
        padding: 24px;
        border-radius: 22px;
    }
}

/*------------ Thank you page -------------*/
.thank-you-celebration {
    overflow: hidden;
    position: relative;
}

.thank-you-popper-stage {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 0;
    height: 0;
    z-index: 900;
    pointer-events: none;
    animation: thank-you-popper-hide 0s linear forwards 6.8s;
}

.thank-you-popper-cannon {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translate(6px, 6px) scale(0);
    opacity: 0;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
}

.thank-you-popper-cannon--burst-1 {
    animation: thank-you-popper-pop .75s cubic-bezier(.34, 1.45, .64, 1) forwards .5s;
}

.thank-you-popper-cannon--burst-2 {
    animation: thank-you-popper-pop .75s cubic-bezier(.34, 1.45, .64, 1) forwards 3.35s;
}

.thank-you-popper-icon {
    display: block;
    font-size: 2.35rem;
    line-height: 1;
    transform: rotate(-18deg);
}

.thank-you-popper-piece {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--w);
    height: var(--h);
    background: var(--color);
    opacity: 0;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    will-change: transform, opacity;
}

.thank-you-popper-piece--rect {
    border-radius: 3px;
}

.thank-you-popper-piece--circle {
    border-radius: 50%;
    width: max(var(--w), var(--h));
    height: max(var(--w), var(--h));
}

.thank-you-popper-piece--strip {
    width: calc(var(--w) * .42);
    border-radius: 999px;
}

.thank-you-popper-piece--diamond {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.thank-you-popper-piece--burst-1 {
    animation: thank-you-popper-burst var(--dur, 2.1s) cubic-bezier(.12, .75, .28, 1) forwards;
    animation-delay: calc(.65s + var(--delay, 0s));
}

.thank-you-popper-piece--burst-2 {
    animation: thank-you-popper-burst var(--dur, 2.1s) cubic-bezier(.12, .75, .28, 1) forwards;
    animation-delay: calc(3.5s + var(--delay, 0s));
}

.thank-you-hero,
.thank-you-page,
.thank-you-card {
    position: relative;
    z-index: 1;
}

.thank-you-hero {
    position: relative;
    overflow: hidden;
    min-height: min(72vh, 640px);
    display: flex;
    align-items: center;
    background:
        var(--navy) url("/images/off-market.png") center/cover no-repeat;
}

.thank-you-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(0, 11, 29, 0.9) 0%,
        rgba(0, 11, 29, 0.68) 42%,
        rgba(0, 11, 29, 0.42) 72%,
        rgba(0, 11, 29, 0.28) 100%
    );
    pointer-events: none;
}

.thank-you-hero__overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(197, 160, 89, 0.1), transparent 45%);
    pointer-events: none;
}

.thank-you-hero__content {
    position: relative;
    z-index: 2;
}

.thank-you-reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: thank-you-reveal .85s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: var(--reveal-delay, 0s);
}

.thank-you-page {
    padding: 70px 0 90px;
    position: relative;
    scroll-margin-top: 96px;
}

.thank-you-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 42px 36px;
    position: relative;
    overflow: hidden;
}

    .thank-you-card h2 {
        margin: 0 0 18px;
        color: var(--blue-dark);
        font-size: clamp(1.75rem, 3vw, 2.25rem);
    }

    .thank-you-card p {
        margin: 0 0 16px;
        color: var(--muted);
        line-height: 1.85;
        font-size: 1.05rem;
    }

        .thank-you-card p:last-of-type {
            margin-bottom: 0;
        }

    .thank-you-card strong {
        color: var(--ink);
    }

.thank-you-icon-wrap {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin: 0 auto 22px;
}

.thank-you-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold-dark);
    border: 2px solid rgba(197, 160, 89, 0.35);
    box-shadow: 0 12px 30px rgba(255, 152, 0, 0.18);
    animation: thank-you-icon-pop .7s cubic-bezier(.34, 1.56, .64, 1) .55s both;
}

.thank-you-icon-check path {
    stroke-dasharray: 28;
    stroke-dashoffset: 28;
    animation: thank-you-check-draw .65s ease forwards .85s;
}

    .thank-you-icon svg {
        width: 34px;
        height: 34px;
    }

.thank-you-signoff {
    display: grid;
    gap: 4px;
    margin: 28px 0 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    color: var(--ink);
}

    .thank-you-signoff strong {
        font-size: 1rem;
    }

    .thank-you-signoff span {
        color: var(--muted);
        font-size: .98rem;
    }

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

@keyframes thank-you-popper-burst {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(var(--spin)) scale(.15);
    }

    8% {
        opacity: 1;
        transform: translate(calc(var(--tx) * .18), calc(var(--ty-peak) * .22)) rotate(calc(var(--spin) + 90deg)) scale(1);
    }

    42% {
        opacity: 1;
        transform: translate(calc(var(--tx) * .62), var(--ty-peak)) rotate(calc(var(--spin) + 280deg)) scale(1.05);
    }

    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty-end)) rotate(calc(var(--spin) + 720deg)) scale(.55);
    }
}

@keyframes thank-you-popper-pop {
    0% {
        opacity: 0;
        transform: translate(6px, 6px) scale(.2) rotate(-8deg);
    }

    45% {
        opacity: 1;
        transform: translate(6px, 6px) scale(1.2) rotate(-24deg);
    }

    100% {
        opacity: .9;
        transform: translate(6px, 6px) scale(1) rotate(-18deg);
    }
}

@keyframes thank-you-popper-hide {
    to {
        visibility: hidden;
    }
}

@keyframes thank-you-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes thank-you-icon-pop {
    from {
        opacity: 0;
        transform: scale(.4);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes thank-you-check-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .thank-you-popper-stage {
        display: none;
    }

    .thank-you-reveal,
    .thank-you-icon,
    .thank-you-icon-check path {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        stroke-dashoffset: 0;
    }
}

@media (max-width: 768px) {
    .thank-you-popper-stage {
        right: 16px;
        bottom: 16px;
    }

    .thank-you-popper-icon {
        font-size: 2rem;
    }

    .thank-you-card {
        padding: 28px 22px;
    }

    .thank-you-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .thank-you-actions .hx-btn {
            width: 100%;
            justify-content: center;
        }
}

/*------ Property Details - Members and Contact Form --------*/
.pd-main-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 380px;
    gap: 2rem;
    margin-top: 2rem;
}

.pd-sticky-inquiry {
    position: sticky;
    top: 110px;
    align-self: start;
}

.pd-feature-strip {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 1rem;
    background: #fff;
    border-radius: 24px;
    margin-top: 24px;
    position: relative;
    z-index: 10;
    padding: 1.5rem;
    box-shadow: 0 10px 35px rgba(15,23,42,.08);
}

    .pd-feature-strip div {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

.pd-feature-icon {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

.pd-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1rem;
}

.pd-amenity-card {
    display: flex;
    gap: .8rem;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1rem;
}

.pd-amenity-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--gold-soft);
    display: grid;
    place-items: center;
    color: var(--gold-dark);
    flex: 0 0 auto;
}

    .pd-amenity-icon svg,
    .pd-amenity-icon .amenity-icon__svg {
        width: 22px;
        height: 22px;
        display: block;
        flex: 0 0 auto;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .pd-amenity-icon .amenity-icon__svg--filled {
        fill: currentColor;
        stroke: none;
    }

.pd-member-list {
    display: grid;
    gap: 1rem;
}

.pd-member-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 1rem;
}

    .pd-member-card.selected {
        border-color: #ff8707;
    }

    .pd-member-card img {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        object-fit: cover;
    }

.pd-member-contact {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-top: .6rem;
}

.pd-primary-badge {
    display: inline-flex;
    background: var(--gold-soft);
    color: var(--gold-dark);
    padding: .3rem .7rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

.pd-form-stack {
    display: grid;
    gap: .9rem;
}

    .pd-form-stack label {
        display: block;
        margin-bottom: .35rem;
        font-weight: 700;
        font-size: .9rem;
    }

.pd-form-control {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: .8rem .95rem;
}

.pd-form-text {
    color: #64748b;
    margin-bottom: 1rem;
}

.pd-brochure-btn {
    width: 100%;
    background: #ffb137;
    text-align: center;
}

.validation-message {
    color: #dc3545;
    font-size: .8rem;
}

@media (max-width: 992px) {
    .pd-main-grid {
        padding: 36px 15px;
        grid-template-columns: 1fr;
    }

    .pd-sticky-inquiry {
        position: static;
    }

    .pd-feature-strip, .pd-main-grid, .pd-agent-card, .pd-inquiry-section {
        margin:0px;
    }

    .pd-feature-strip {
        grid-template-columns: repeat(2,1fr);
    }

    .pd-amenities-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Hero reference UI (Alberta / landing layouts) ---------- */
.hx-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 40px;
    align-items: end;
}

.hx-hero__cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.hx-hero-cta-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 11, 29, 0.35);
    color: var(--white);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

    .hx-hero-cta-box:hover {
        border-color: var(--gold);
        background: rgba(0, 11, 29, 0.5);
    }

    .hx-hero-cta-box--gold {
        border-color: var(--gold);
    }

    .hx-hero-cta-box strong {
        display: block;
        font-family: var(--font-sans);
        font-size: 0.95rem;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .hx-hero-cta-box small {
        display: block;
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .hx-hero-cta-box--gold small:not(.hx-hero-cta-box__sub--muted) {
        color: var(--gold-light);
    }

.hx-hero-cta-box__sub--muted {
    color: rgba(255, 255, 255, 0.72) !important;
}

    .hx-hero-cta-box:focus-visible {
        outline: 2px solid var(--gold);
        outline-offset: 2px;
    }

    .hx-hero-cta-box__icon {
        flex: 0 0 auto;
        width: 28px;
        height: 28px;
        color: var(--gold);
    }

.hx-hero-search {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    margin-top: 28px;
    max-width: 720px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 11, 29, 0.22);
}

    .hx-hero-search__field {
        flex: 1 1 180px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 12px 16px;
        background: var(--white);
        border-right: 1px solid var(--border);
    }

        .hx-hero-search__field label {
            font-size: 0.62rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--muted);
        }

        .hx-hero-search__field select,
        .hx-hero-search__field input {
            border: 0;
            background: transparent;
            font: inherit;
            font-weight: 600;
            color: var(--ink);
            outline: none;
            padding: 0;
            min-height: 24px;
        }

    .hx-hero-search__submit {
        flex: 0 0 auto;
        border: 0;
        padding: 16px 22px;
        background: var(--gradient-gold);
        color: var(--navy);
        font-family: var(--font-sans);
        font-weight: 700;
        font-size: 0.8rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: filter 0.2s ease;
    }

        .hx-hero-search__submit:hover {
            filter: brightness(1.06);
        }

/* Separate filter controls — wrap on smaller screens */
.hx-hero-search--split {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin-top: 0;
    max-width: 100%;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

    .hx-hero-search--split .hx-hero-search__field {
        flex: 1 1 220px;
        min-width: min(220px, 100%);
        border: 0;
        border-right: 0;
        border-radius: var(--radius-md);
        background: var(--white);
        box-shadow: 0 12px 32px rgba(0, 11, 29, 0.22);
    }

    .hx-hero-search--split .hx-hero-search__submit {
        flex: 1 1 220px;
        min-width: min(220px, 100%);
        width: auto;
        border-radius: var(--radius-md);
        box-shadow: 0 12px 32px rgba(0, 11, 29, 0.22);
        justify-content: center;
    }

.hx-hero--alberta .hx-hero-carousel,
.hx-hero--bc .hx-hero-carousel,
.hx-hero--sask .hx-hero-carousel {
    font-family: var(--font-sans);
}

.hx-hero-carousel {
    color: var(--white);
    text-align: right;
}

.hx-hero-carousel__panel {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

.hx-hero-carousel__nav-btn {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(0, 11, 29, 0.5);
    color: var(--white);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

    .hx-hero-carousel__nav-btn:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

.hx-hero-carousel__cities {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex: 1 1 auto;
    max-width: 520px;
}

.hx-hero-carousel__city-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(197, 160, 89, 0.55);
    margin: 4px 20px;
    flex-shrink: 0;
}

.hx-hero-carousel__city {
    flex: 1 1 0;
    min-width: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    padding: 0;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.25s ease;
}

    .hx-hero-carousel__city.is-active {
        opacity: 1;
    }

    .hx-hero-carousel__city:hover {
        opacity: 0.85;
    }

    .hx-hero-carousel__city.is-active:hover {
        opacity: 1;
    }

.hx-hero-carousel__city-name {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--white);
    margin-bottom: 4px;
}

.hx-hero-carousel__city-desc {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.hx-hero--alberta .hx-hero-carousel__city:not(.is-active) .hx-hero-carousel__city-name,
.hx-hero--alberta .hx-hero-carousel__city:not(.is-active) .hx-hero-carousel__city-desc,
.hx-hero--bc .hx-hero-carousel__city:not(.is-active) .hx-hero-carousel__city-name,
.hx-hero--bc .hx-hero-carousel__city:not(.is-active) .hx-hero-carousel__city-desc,
.hx-hero--sask .hx-hero-carousel__city:not(.is-active) .hx-hero-carousel__city-name,
.hx-hero--sask .hx-hero-carousel__city:not(.is-active) .hx-hero-carousel__city-desc {
    color: rgba(255, 255, 255, 0.55);
}

.hx-hero-carousel__dots {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
}

    .hx-hero-carousel__dots button {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.35);
        cursor: pointer;
        transition: background 0.2s ease, transform 0.2s ease;
    }

        .hx-hero-carousel__dots button.is-active {
            background: var(--gold);
            transform: scale(1.15);
        }

@media (max-width: 1024px) {
    .hx-hero__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hx-hero__bottom {
        grid-template-columns: 1fr;
    }

    .hx-hero-carousel__cities {
        max-width: none;
    }

    .hx-hero-carousel__city-divider {
        margin: 4px 14px;
    }
}

@media (max-width: 768px) {
    .hx-hero__cta-grid {
        grid-template-columns: 1fr;
    }

    .hx-hero-search:not(.hx-hero-search--split) {
        flex-direction: column;
        border-radius: var(--radius-md);
    }

        .hx-hero-search:not(.hx-hero-search--split) .hx-hero-search__field {
            border-right: 0;
            border-bottom: 1px solid var(--border);
        }

        .hx-hero-search:not(.hx-hero-search--split) .hx-hero-search__submit {
            width: 100%;
            justify-content: center;
        }

    .hx-hero-search--split .hx-hero-search__field,
    .hx-hero-search--split .hx-hero-search__submit {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .hx-hero--alberta .hx-hero-carousel,
.hx-hero--bc .hx-hero-carousel,
.hx-hero--sask .hx-hero-carousel {
        display: none;
    }
}

/* ----- Property gallery & spotlight lightbox ----- */
.pd-container {
    max-width: 1240px;
}

.pd-gallery {
    position: relative;
    margin-bottom: 28px;
}

.pd-gallery-back {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 4;
    background: rgba(255, 255, 255, 0.95);
    color: var(--blue);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(8, 18, 38, 0.12);
}

.pd-gallery-stage {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #0b1628;
    min-height: clamp(320px, 58vh, 640px);
    cursor: zoom-in;
    box-shadow: var(--shadow);
}

.pd-gallery-track {
    display: flex;
    height: 100%;
    min-height: clamp(320px, 58vh, 640px);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.pd-gallery-slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: clamp(320px, 58vh, 640px);
}

.pd-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pd-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-dark);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(8, 18, 38, 0.18);
    transition: transform 0.15s ease, background 0.15s ease;
}

.pd-gallery-nav:hover {
    transform: translateY(-50%) scale(1.05);
    background: #fff;
}

.pd-gallery-nav--prev { left: 16px; }
.pd-gallery-nav--next { right: 16px; }

.pd-gallery-stage-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(180deg, transparent, rgba(8, 18, 38, 0.75));
}

.pd-gallery-counter {
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.pd-gallery-fullscreen-btn {
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--blue-dark);
    font-weight: 800;
    cursor: pointer;
}

.pd-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.pd-gallery-thumb {
    flex: 0 0 96px;
    width: 96px;
    height: 72px;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    opacity: 0.72;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pd-gallery-thumb.is-active {
    border-color: var(--blue);
    opacity: 1;
    transform: translateY(-2px);
}

.pd-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pd-header-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px 32px;
    margin-bottom: 8px;
    box-shadow: var(--shadow);
}

.pd-header-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 800;
    font-size: 0.85rem;
}

.pd-header-card h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--blue-dark);
}

.pd-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 16px;
    font-weight: 800;
}

.pd-header-location {
    color: var(--muted);
}

.pd-header-lead {
    margin: 18px 0 0;
    max-width: 820px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--muted);
}

.pd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(4, 10, 22, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: pd-lightbox-in 0.2s ease;
}

@keyframes pd-lightbox-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pd-lightbox-inner {
    position: relative;
    width: min(1200px, 100%);
    height: min(88vh, 900px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pd-lightbox-image {
    max-width: 100%;
    max-height: calc(88vh - 120px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.pd-lightbox-close {
    position: absolute;
    top: -8px;
    right: 0;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.pd-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.pd-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 2.25rem;
    cursor: pointer;
}

.pd-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.24);
}

.pd-lightbox-nav--prev { left: 0; }
.pd-lightbox-nav--next { right: 0; }

.pd-lightbox-counter {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 800;
    letter-spacing: 0.06em;
}

.pd-lightbox-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    max-width: 100%;
    overflow-x: auto;
    padding: 4px;
}

.pd-lightbox-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 54px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    opacity: 0.55;
}

.pd-lightbox-thumb.is-active {
    border-color: #fff;
    opacity: 1;
}

.pd-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .pd-gallery-back {
        top: 12px;
        left: 12px;
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .pd-gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }

    .pd-gallery-thumb {
        flex: 0 0 76px;
        width: 76px;
        height: 56px;
    }

    .pd-header-card {
        padding: 22px 20px;
    }

    .pd-lightbox {
        padding: 12px;
    }

    .pd-lightbox-nav {
        width: 44px;
        height: 44px;
    }
}
