/* ==========================================================================
   Inner pages: site header, listing page, property details
   Tokens mirror the home page (home.css) so all pages read as one system.
   ========================================================================== */

:root {
    --c-ink: #141414;
    --c-text: #2b2b2b;
    --c-muted: #6f7277;
    --c-subtle: #9a9da3;
    --c-white: #ffffff;
    --c-field: #f3f3f4;
    --c-field-hover: #ebebed;
    --c-dark: #151515;
    --c-dark-hover: #2e2e2e;
    --c-line: #e7e8eb;
    --c-line-strong: #d4d6db;

    --c-sky: #3f6aa0;
    --c-sky-soft: #eaf1f9;
    --c-green: #2e7d57;
    --c-green-soft: #e7f4ec;
    --c-rose: #e5484d;

    --fs-xs: .75rem;      /* 12 */
    --fs-sm: .8125rem;    /* 13 */
    --fs-md: .875rem;     /* 14 */
    --fs-base: .9375rem;  /* 15 */
    --fs-lg: 1.0625rem;   /* 17 */
    --fs-xl: 1.25rem;     /* 20 */

    --r-field: .625rem;
    --r-media: .875rem;
    --r-panel: 1rem;

    --gutter: clamp(1.25rem, 4vw, 3.5rem);
    --content-max: 87.5rem;
    --header-h: 4.25rem;
    --ease-out: cubic-bezier(.2, .7, .2, 1);
}

body {
    background: var(--c-white);
    color: var(--c-text);
    font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body.is-locked { overflow: hidden; }

.lp-wrap {
    max-width: calc(var(--content-max) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ---------- Shared bits ---------- */
.eyebrow {
    margin: 0 0 .25rem;
    font-size: var(--fs-sm);
    color: var(--c-muted);
}

.price {
    margin: 0;
    font-size: var(--fs-xl);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--c-ink);
    white-space: nowrap;
}
.price span { margin-left: 2px; font-size: var(--fs-md); font-weight: 400; color: var(--c-muted); }
.price-lg { font-size: 1.75rem; }
.price-lg span { font-size: var(--fs-base); }
.price-note { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--c-muted); }

.text-link {
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--c-ink);
    text-decoration: underline;
    text-decoration-color: var(--c-line-strong);
    text-underline-offset: .1875rem;
    transition: text-decoration-color .2s;
}
.text-link:hover { text-decoration-color: currentColor; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    height: 2.5rem;
    padding: 0 1rem;
    border: 1px solid transparent;
    border-radius: var(--r-field);
    font-size: var(--fs-md);
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
}
.btn .icon { width: 1rem; height: 1rem; }
.btn-dark { background: var(--c-dark); color: var(--c-white); }
.btn-dark:hover { background: var(--c-dark-hover); }
.btn-ghost { border-color: var(--c-line); background: var(--c-white); color: var(--c-ink); }
.btn-ghost:hover { border-color: var(--c-line-strong); background: var(--c-field); }
.btn-sm { height: 2.125rem; padding: 0 .75rem; font-size: var(--fs-sm); }
.btn-block { width: 100%; height: 2.875rem; }

.is-verified {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: var(--c-text);
}
.is-verified .icon { width: .875rem; height: .875rem; color: var(--c-green); }

.media-count {
    position: absolute;
    bottom: .625rem;
    left: .625rem;
    display: inline-flex;
    align-items: center;
    gap: .3125rem;
    height: 1.5rem;
    padding: 0 .5rem;
    border-radius: .375rem;
    background: rgba(20, 20, 20, .6);
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--c-white);
}
.media-count .icon { width: .8125rem; height: .8125rem; }

.media-tag {
    position: absolute;
    top: .625rem;
    left: .625rem;
    display: inline-flex;
    align-items: center;
    height: 1.5rem;
    padding: 0 .5rem;
    border-radius: .375rem;
    background: var(--c-white);
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--c-ink);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--fs-sm);
    color: var(--c-muted);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; }
.breadcrumb li + li::before { content: "/"; color: var(--c-line-strong); }
.breadcrumb li[aria-current] { overflow: hidden; color: var(--c-text); white-space: nowrap; text-overflow: ellipsis; }
.breadcrumb a:hover { color: var(--c-ink); }

/* ==========================================================================
   Site header (inner pages) — same ink and texture as the home footer
   ========================================================================== */
.site-header {
    --night: #121315;
    --night-text: rgba(255, 255, 255, .64);
    --night-soft: rgba(255, 255, 255, .42);
    --night-line: rgba(255, 255, 255, .1);
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px .25rem),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px .25rem),
        var(--night);
    color: var(--night-text);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--night-line);
}
.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: calc(var(--content-max) + var(--gutter) * 2);
    height: var(--header-h);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.site-logo {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--c-white);
}
.site-menu { display: flex; align-items: center; gap: 1.75rem; }
.site-menu .nav-list { gap: 1.75rem; }
.site-menu .nav-link {
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, .78);
    transition: color .2s;
}
.site-menu .nav-link:hover { color: var(--c-white); }
.site-menu .nav-link[aria-current] {
    color: var(--c-white);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .5rem;
}
.site-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 62.4375rem;
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--c-white);
    transition: background-color .2s, border-color .2s, color .2s;
}
.site-login:hover { border-color: var(--c-white); background: var(--c-white); color: var(--c-ink); }
.site-burger {
    display: none;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: none;
    color: var(--c-white);
    cursor: pointer;
}

/* ==========================================================================
   Listing page
   ========================================================================== */
.lp { padding-bottom: clamp(4rem, 7vw, 6.5rem); background: var(--c-white); }

/* ---------- Page head ---------- */
.lp-head { padding-top: 1.75rem; }
.lp-head .breadcrumb { margin-bottom: .625rem; }
.lp-title {
    margin: 0;
    font-size: clamp(1.625rem, 1.2rem + 1.1vw, 2.125rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.025em;
    color: var(--c-ink);
}

/* ---------- Layout ---------- */
.lp-layout {
    display: grid;
    grid-template-columns: 18.5rem minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
    padding-top: 1.5rem;
}

/* Selects (sort, budget, area) */
.field-select {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}
.field-select select {
    width: 100%;
    height: 2.5rem;
    padding: 0 2.125rem 0 .75rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-field);
    background: var(--c-white);
    font-size: var(--fs-md);
    color: var(--c-ink);
    text-overflow: ellipsis;
    appearance: none;
    cursor: pointer;
    transition: border-color .2s;
}
.field-select select:hover { border-color: var(--c-line-strong); }
.field-select select:focus-visible { outline: 0; border-color: var(--c-dark); }
.field-select > .icon {
    position: absolute;
    right: .75rem;
    width: .875rem;
    height: .875rem;
    color: var(--c-muted);
    stroke-width: 2;
    pointer-events: none;
}

.count-pill {
    display: inline-grid;
    place-items: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 .375rem;
    border-radius: 62.4375rem;
    background: var(--c-dark);
    font-size: .6875rem;
    font-weight: 500;
    line-height: 1;
    color: var(--c-white);
}

/* ---------- Filter panel ---------- */
.lp-filters {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--header-h) - 2.5rem);
    overflow: hidden;
    border: 1px solid var(--c-line);
    border-radius: var(--r-panel);
    background: var(--c-white);
}
.lp-filters-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--c-line);
}
.lp-filters-head h2 {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    font-size: var(--fs-base);
    font-weight: 600;
    letter-spacing: 0;
    color: var(--c-ink);
}
.lp-filters-head h2 .icon { width: 1rem; height: 1rem; color: var(--c-muted); }
.lp-filters-head .text-link { margin-left: auto; font-size: var(--fs-sm); }

.lp-filter-form {
    flex: 1;
    min-height: 0;
    padding: 0 1.25rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--c-line-strong) transparent;
}
.lp-filters-close,
.lp-filters-foot,
.lp-backdrop { display: none; }

.filter-block { padding: 1.125rem 0; }
.filter-block + .filter-block { border-top: 1px solid var(--c-line); }
.filter-label {
    margin: 0 0 .625rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-ink);
}
.filter-sub + .filter-sub { margin-top: 1.125rem; }

.filter-more summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-ink);
    list-style: none;
    cursor: pointer;
}
.filter-more summary::-webkit-details-marker { display: none; }
.filter-more summary .icon { width: .875rem; height: .875rem; color: var(--c-muted); stroke-width: 2; transition: transform .2s var(--ease-out); }
.filter-more[open] summary { margin-bottom: 1.125rem; }
.filter-more[open] summary .icon { transform: rotate(180deg); }

/* Segmented Buy / Rent */
.segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: .1875rem;
    border-radius: var(--r-field);
    background: var(--c-field);
}
.segmented input,
.choice input,
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
    display: grid;
    place-items: center;
    height: 2.125rem;
    border-radius: .5rem;
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--c-text);
    cursor: pointer;
    transition: background-color .2s, color .2s;
}
.segmented input:checked + span { background: var(--c-dark); color: var(--c-white); }
.segmented input:focus-visible + span { outline: 2px solid var(--c-dark); outline-offset: 1px; }

.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }

/* Choice chips (radio) */
.choice-group { display: flex; flex-wrap: wrap; gap: .375rem; }
.choice { position: relative; margin: 0; }
.choice span {
    display: inline-flex;
    align-items: center;
    height: 2rem;
    padding: 0 .75rem;
    border: 1px solid var(--c-line);
    border-radius: 62.4375rem;
    font-size: var(--fs-sm);
    color: var(--c-text);
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .2s, background-color .2s, color .2s;
}
.choice span:hover { border-color: var(--c-line-strong); color: var(--c-ink); }
.choice input:checked + span { border-color: var(--c-dark); background: var(--c-dark); color: var(--c-white); }
.choice input:focus-visible + span { outline: 2px solid var(--c-dark); outline-offset: 2px; }

/* Switch rows */
.filter-switches { display: grid; gap: .875rem; }
.switch-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    font-size: var(--fs-md);
    color: var(--c-text);
    cursor: pointer;
}
.switch {
    position: relative;
    flex-shrink: 0;
    width: 2.125rem;
    height: 1.25rem;
    border-radius: 62.4375rem;
    background: var(--c-line-strong);
    transition: background-color .2s;
}
.switch::after {
    content: "";
    position: absolute;
    top: .1875rem;
    left: .1875rem;
    width: .875rem;
    height: .875rem;
    border-radius: 50%;
    background: var(--c-white);
    transition: transform .2s var(--ease-out);
}
.switch-row input:checked + .switch { background: var(--c-dark); }
.switch-row input:checked + .switch::after { transform: translateX(.875rem); }
.switch-row input:focus-visible + .switch { outline: 2px solid var(--c-dark); outline-offset: 2px; }

/* ---------- Results ---------- */
.lp-results { min-width: 0; }

.lp-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.25rem;
    flex-wrap: wrap;
    min-height: 2.5rem;
    margin-bottom: 1rem;
}
.lp-showing { margin: 0; font-size: var(--fs-md); color: var(--c-muted); }
.lp-showing b { font-weight: 600; color: var(--c-ink); }
.lp-tools { display: flex; align-items: center; gap: .625rem; }
.lp-sort { gap: .5rem; }
.lp-sort-label { flex-shrink: 0; font-size: var(--fs-md); color: var(--c-muted); }
.lp-sort select { width: 11.875rem; }

.lp-filter-toggle {
    display: none;
    align-items: center;
    gap: .5rem;
    height: 2.5rem;
    padding: 0 .875rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-field);
    background: var(--c-white);
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--c-ink);
    cursor: pointer;
}
.lp-filter-toggle .icon { width: 1rem; height: 1rem; }

.lp-notice {
    display: flex;
    align-items: center;
    gap: .875rem;
    margin: 0 0 1rem;
    padding: .875rem 1rem;
    border-radius: var(--r-panel);
    background: var(--c-sky-soft);
}
.lp-notice-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--c-white);
    color: var(--c-sky);
}
.lp-notice-icon .icon { width: 1rem; height: 1rem; stroke-width: 2; }
.lp-notice-text { flex: 1; min-width: 0; }
.lp-notice-text p { margin: 0; font-size: var(--fs-md); line-height: 1.5; color: var(--c-text); }
.lp-notice-text .lp-notice-title { font-weight: 600; color: var(--c-ink); overflow-wrap: anywhere; }
.lp-notice .btn { flex-shrink: 0; }

@media (max-width: 575.98px) {
    .lp-notice { flex-wrap: wrap; }
    .lp-notice .btn { width: 100%; }
}

.applied-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}
.applied-chip {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    height: 1.875rem;
    padding: 0 .5rem 0 .75rem;
    border-radius: 62.4375rem;
    background: var(--c-field);
    font-size: var(--fs-sm);
    color: var(--c-ink);
    transition: background-color .2s;
}
.applied-chip .icon { width: .8125rem; height: .8125rem; color: var(--c-muted); stroke-width: 2; }
.applied-chip:hover { background: var(--c-field-hover); }
.applied-filters .text-link { margin-left: .25rem; font-size: var(--fs-sm); }

/* ---------- Card ---------- */
.lp-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }

.lp-card {
    display: grid;
    grid-template-columns: minmax(12.5rem, 32%) minmax(0, 1fr);
    gap: 1.5rem;
    padding: .875rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-panel);
    background: var(--c-white);
    transition: border-color .25s, box-shadow .25s;
}
.lp-card:hover { border-color: var(--c-line-strong); box-shadow: 0 1.125rem 2.5rem -1.75rem rgba(20, 20, 20, .28); }

.lp-card-media {
    position: relative;
    min-height: 14.375rem;
    overflow: hidden;
    border-radius: .75rem;
    background: var(--c-field);
}
.lp-card-media > a { position: absolute; inset: 0; }
.lp-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-out);
}
.lp-card:hover .lp-card-media img { transform: scale(1.03); }

.save-btn {
    position: absolute;
    top: .625rem;
    right: .625rem;
    display: grid;
    place-items: center;
    width: 2.125rem;
    height: 2.125rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 2px .5rem rgba(20, 20, 20, .12);
    color: var(--c-ink);
    cursor: pointer;
    transition: color .2s, transform .2s;
}
.save-btn .icon { width: 1rem; height: 1rem; stroke-width: 1.8; }
.save-btn:hover { color: var(--c-rose); }
.save-btn:active { transform: scale(.92); }
[data-fav-id][aria-pressed="true"] { color: var(--c-rose); }
[data-fav-id][aria-pressed="true"] .icon { fill: currentColor; }

.lp-card-body { display: flex; flex-direction: column; min-width: 0; padding: .375rem .5rem .25rem 0; container-type: inline-size; }
@container (max-width: 560px) {
    .lp-card-body .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.lp-card-top { display: flex; justify-content: space-between; gap: 1.25rem; }
.lp-card-heading { min-width: 0; }

.lp-card-tags { display: flex; flex-wrap: wrap; gap: .375rem; margin: 0 0 .625rem; }
.tag {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    height: 1.5rem;
    padding: 0 .5625rem;
    border-radius: .375rem;
    background: var(--c-field);
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--c-text);
}
.tag .icon { width: .8125rem; height: .8125rem; stroke-width: 1.9; }
.tag-type { background: var(--c-sky-soft); color: var(--c-sky); }
.tag-verified { background: var(--c-green-soft); color: var(--c-green); }

.lp-card-title {
    margin: 0 0 .25rem;
    font-size: var(--fs-lg);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.01em;
}
.lp-card-title a { color: var(--c-ink); }
.lp-card-title a:hover { text-decoration: underline; text-underline-offset: .1875rem; }
.lp-card-loc {
    display: flex;
    align-items: center;
    gap: .3125rem;
    margin: 0;
    font-size: var(--fs-md);
    color: var(--c-muted);
}
.lp-card-loc .icon { width: .875rem; height: .875rem; }
.lp-card-price { flex-shrink: 0; text-align: right; }

.facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 1rem 0 0;
    overflow: hidden;
    border: 1px solid var(--c-line);
    border-radius: var(--r-field);
    background: var(--c-line);
}
.facts div { min-width: 0; padding: .625rem .875rem; background: #f9fafa; }
.facts dt { overflow: hidden; font-size: var(--fs-xs); color: var(--c-muted); white-space: nowrap; text-overflow: ellipsis; }
.facts dd { margin: 2px 0 0; overflow: hidden; font-size: var(--fs-md); font-weight: 500; color: var(--c-ink); white-space: nowrap; text-overflow: ellipsis; }

.lp-card-desc {
    display: -webkit-box;
    margin: .875rem 0 0;
    overflow: hidden;
    font-size: var(--fs-md);
    line-height: 1.6;
    color: var(--c-text);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lp-card-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1rem;
    margin-top: auto;
    padding-top: .875rem;
    border-top: 1px solid var(--c-line);
}
.lp-card-desc + .lp-card-foot { margin-top: 1rem; }

.lister { display: flex; align-items: center; gap: .625rem; min-width: 0; }
.lister-avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 50%;
    background: var(--c-field);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--c-ink);
}
.lister-text { display: grid; min-width: 0; line-height: 1.3; }
.lister-text b,
.lister-text small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lister-text b { font-size: var(--fs-md); font-weight: 500; color: var(--c-ink); }
.lister-text small { font-size: var(--fs-xs); color: var(--c-muted); }

.lp-card-actions { display: flex; flex-shrink: 0; gap: .5rem; }

/* Pagination */
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.25rem;
    margin-top: 1.5rem;
    padding: .75rem .875rem .75rem 1.25rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-panel);
}
.pagination-info { margin: 0; font-size: var(--fs-md); color: var(--c-muted); }
.pagination-info b { font-weight: 600; color: var(--c-ink); }
.pagination-pages { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    min-width: 2.375rem;
    height: 2.375rem;
    padding: 0 .75rem;
    border: 1px solid transparent;
    border-radius: var(--r-field);
    font-size: var(--fs-md);
    color: var(--c-text);
    transition: border-color .2s, background-color .2s, color .2s;
}
a.page-link:hover { background: var(--c-field); color: var(--c-ink); }
.page-link.is-current { background: var(--c-dark); color: var(--c-white); }
.page-step { border-color: var(--c-line); }
.page-step .icon { width: .875rem; height: .875rem; stroke-width: 2; transform: scaleX(-1); }
.page-step.is-next .icon { transform: none; }
.page-link.is-disabled { color: var(--c-subtle); cursor: not-allowed; }
.page-gap { padding: 0 .25rem; color: var(--c-subtle); }

/* Empty state */
.empty-state {
    padding: 3.5rem 1.5rem;
    border: 1px dashed var(--c-line-strong);
    border-radius: var(--r-panel);
    text-align: center;
}
.empty-state h2 { margin: 0 0 .375rem; font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.01em; }
.empty-state p { margin: 0 0 1.25rem; font-size: var(--fs-base); color: var(--c-muted); }

/* Advisor strip */
.lp-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
    border-radius: var(--r-panel);
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px .25rem),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px .25rem),
        #121315;
    color: rgba(255, 255, 255, .64);
}
.lp-help h2 { margin: 0 0 .25rem; font-size: var(--fs-lg); font-weight: 600; letter-spacing: -.01em; color: var(--c-white); }
.lp-help p { max-width: 32.5rem; margin: 0; font-size: var(--fs-md); line-height: 1.6; }
.btn-light { flex-shrink: 0; background: var(--c-white); color: var(--c-ink); }
.btn-light:hover { background: #ececed; }

/* ==========================================================================
   Property details
   ========================================================================== */
.pd { padding: 1.75rem 0 clamp(4rem, 7vw, 6.5rem); background: var(--c-white); }

/* ---------- Head ---------- */
.pd-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
    margin-top: 1.5rem;
}
.pd-head-main { min-width: 0; }
.pd-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin: 0 0 .625rem;
    font-size: var(--fs-md);
    color: var(--c-muted);
}
.pd-title {
    margin: 0 0 .5rem;
    font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.375rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--c-ink);
}
.pd-loc {
    display: flex;
    align-items: center;
    gap: .375rem;
    margin: 0;
    font-size: var(--fs-base);
    color: var(--c-muted);
}
.pd-loc .icon { width: 1rem; height: 1rem; }

.pd-head-side { flex-shrink: 0; text-align: right; }
.pd-price-label { margin: 0 0 2px; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.pd-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .875rem; }
.pd-save[aria-pressed="true"] { border-color: #f3c9cb; background: #fdf1f1; }

/* ---------- Gallery mosaic ---------- */
.pd-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    height: clamp(20rem, 42vw, 32.5rem);
    margin-top: 1.5rem;
}
.pd-shot {
    position: relative;
    display: block;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: .625rem;
    background: var(--c-field);
    cursor: zoom-in;
}
.pd-shot.is-main { grid-row: 1 / 3; border-radius: var(--r-panel) .625rem .625rem var(--r-panel); }
.pd-shot:nth-child(3) { border-top-right-radius: var(--r-panel); }
.pd-shot:nth-child(5) { border-bottom-right-radius: var(--r-panel); }
.pd-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-out), filter .3s;
}
.pd-shot:hover img { transform: scale(1.03); filter: brightness(.94); }
.pd-shot:focus-visible { outline: 2px solid var(--c-dark); outline-offset: 2px; }
.pd-shot-more {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(20, 20, 20, .45);
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--c-white);
}
.pd-gallery-all {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    height: 2.375rem;
    padding: 0 .875rem;
    border: 0;
    border-radius: var(--r-field);
    background: var(--c-white);
    box-shadow: 0 .375rem 1.25rem -.5rem rgba(20, 20, 20, .35);
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--c-ink);
    cursor: pointer;
}
.pd-gallery-all .icon { width: 1rem; height: 1rem; }
.pd-gallery-all:hover { background: var(--c-field); }

/* ---------- Section tabs ---------- */
.pd-tabs {
    position: sticky;
    top: var(--header-h);
    z-index: 20;
    display: flex;
    gap: .25rem;
    margin: 1.25rem 0 0;
    padding: .625rem 0;
    overflow-x: auto;
    background: var(--c-white);
    scrollbar-width: none;
}
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tabs a {
    display: inline-flex;
    align-items: center;
    height: 2.25rem;
    padding: 0 .875rem;
    border-radius: 62.4375rem;
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--c-muted);
    white-space: nowrap;
    transition: background-color .2s, color .2s;
}
.pd-tabs a:hover { color: var(--c-ink); }
.pd-tabs a.is-active { background: var(--c-field); color: var(--c-ink); }

/* ---------- Layout ---------- */
.pd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22.5rem;
    align-items: start;
    gap: 3.5rem;
}
.pd-main { min-width: 0; }

.pd-section {
    padding: 2.5rem 0 0;
    scroll-margin-top: calc(var(--header-h) + 4rem);
}
.pd-section:first-child { padding-top: 1.5rem; }
.pd-section h2 {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 1rem;
    font-size: var(--fs-xl);
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--c-ink);
}
.pd-count { font-size: var(--fs-md); font-weight: 400; color: var(--c-muted); }
.pd-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.pd-section-head h2 { margin: 0; }

.pd-lead {
    max-width: 68ch;
    margin: 0;
    font-size: var(--fs-lg);
    line-height: 1.75;
    color: var(--c-text);
}
.pd-note { max-width: 68ch; margin: .5rem 0 .75rem; font-size: var(--fs-md); line-height: 1.7; color: var(--c-muted); }

/* Key facts: one soft panel, no dividers */
.pd-keyfacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.375rem 1.5rem;
    margin: 1.5rem 0 0;
    padding: 1.375rem 1.5rem;
    border-radius: var(--r-panel);
    background: #f7f8f9;
    list-style: none;
}
.pd-keyfacts li { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.pd-keyfacts .icon { width: 1.25rem; height: 1.25rem; color: var(--c-sky); stroke-width: 1.6; }
.pd-keyfacts span { display: grid; min-width: 0; line-height: 1.3; }
.pd-keyfacts b { font-size: var(--fs-base); font-weight: 600; color: var(--c-ink); overflow-wrap: anywhere; }
.pd-keyfacts small { font-size: var(--fs-sm); color: var(--c-muted); }

/* Highlights */
.pd-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .625rem 1.75rem;
    margin: 1.375rem 0 0;
    padding: 0;
    list-style: none;
}
.pd-highlights li {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
    font-size: var(--fs-base);
    line-height: 1.5;
    color: var(--c-text);
}
.pd-highlights .icon {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-top: .1875rem;
    color: var(--c-green);
    stroke-width: 2.2;
}

/* Photo filter + grid */
.pd-filter { display: flex; flex-wrap: wrap; gap: .375rem; }
.pd-filter button,
.lightbox-filter button {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    height: 2rem;
    padding: 0 .75rem;
    border: 1px solid var(--c-line);
    border-radius: 62.4375rem;
    background: var(--c-white);
    font-size: var(--fs-sm);
    color: var(--c-text);
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .2s, background-color .2s, color .2s;
}
.pd-filter button:hover { border-color: var(--c-line-strong); color: var(--c-ink); }
.pd-filter button.is-active { border-color: var(--c-dark); background: var(--c-dark); color: var(--c-white); }

.pd-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .625rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pd-photo-grid li[hidden] { display: none; }
.pd-video { margin: 1rem 0 0; }
.pd-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-media); background: #000; object-fit: contain; }
.pd-video figcaption { display: flex; align-items: center; gap: .375rem; margin-top: .5rem; font-size: var(--fs-sm); color: var(--c-muted); }
.pd-video figcaption .icon { width: 1rem; height: 1rem; }
.pd-photo-grid button {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: .75rem;
    background: var(--c-field);
    cursor: zoom-in;
}
.pd-photo-grid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.pd-photo-grid button:hover img { transform: scale(1.04); }

/* Details */
.pd-spec {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
    margin: 0;
}
.pd-spec div { min-width: 0; }
.pd-spec dt { font-size: var(--fs-sm); color: var(--c-muted); }
.pd-spec dd { margin: .1875rem 0 0; font-size: var(--fs-base); font-weight: 500; line-height: 1.4; color: var(--c-ink); }

/* Location */
.pd-place {
    display: flex;
    align-items: center;
    gap: .625rem;
    margin: 0;
    font-size: var(--fs-base);
    color: var(--c-text);
}
.pd-place .icon { width: 1.125rem; height: 1.125rem; color: var(--c-sky); }
.pd-place b { font-weight: 600; color: var(--c-ink); }

/* ---------- Contact ---------- */
.pd-aside {
    position: sticky;
    top: calc(var(--header-h) + 4.5rem);
    padding-top: 1.5rem;
    scroll-margin-top: calc(var(--header-h) + 3.5rem);
}
.pd-contact {
    padding: 1.25rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-panel);
    background: var(--c-white);
    box-shadow: 0 1.25rem 2.5rem -2rem rgba(20, 20, 20, .3);
}
.pd-lister { display: flex; align-items: center; gap: .625rem; }
.pd-lister .lister-text { flex: 1; }
.pd-lister .tag { flex-shrink: 0; }

.pd-contact-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin: 1rem 0;
    padding: .75rem .875rem;
    border-radius: var(--r-field);
    background: #f7f8f9;
    font-size: var(--fs-sm);
    color: var(--c-muted);
}
.pd-contact-price b { font-size: var(--fs-lg); font-weight: 600; color: var(--c-ink); }

.pd-form { display: grid; gap: .875rem; }
.pd-form-title { margin: 0; font-size: var(--fs-base); font-weight: 600; color: var(--c-ink); }
.field label {
    display: block;
    margin-bottom: .375rem;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-ink);
}
.field label span { font-weight: 400; color: var(--c-muted); }
.field input,
.field textarea {
    display: block;
    width: 100%;
    padding: 0 .75rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-field);
    background: var(--c-white);
    font-size: var(--fs-md);
    color: var(--c-ink);
    transition: border-color .2s, box-shadow .2s;
}
.field input { height: 2.75rem; }
.field textarea { min-height: 5.5rem; padding-top: .625rem; padding-bottom: .625rem; line-height: 1.5; resize: vertical; }
.field input::placeholder { color: var(--c-subtle); }
.field input:hover,
.field textarea:hover { border-color: var(--c-line-strong); }
.field input:focus,
.field textarea:focus { outline: 0; border-color: var(--c-dark); box-shadow: 0 0 0 .1875rem rgba(20, 20, 20, .06); }
.field [aria-invalid="true"] { border-color: #c4453c; }

.pd-form-status { margin: 0; padding: .625rem .75rem; border-radius: var(--r-field); background: var(--c-green-soft); font-size: var(--fs-sm); color: var(--c-green); }
.pd-form-status:empty { display: none; }
.pd-form-status.is-error { background: #fdecea; color: #b3261e; }

.pd-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: .75rem;
    padding-top: .875rem;
    border-top: 1px solid var(--c-line);
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--c-ink);
}
.pd-call .icon { width: 1rem; height: 1rem; color: var(--c-green); }
.pd-call:hover { text-decoration: underline; text-underline-offset: .1875rem; }

/* ---------- Similar ---------- */
.pd-similar {
    margin-top: 4rem;
    padding: 2.5rem 0 0;
    border-top: 1px solid var(--c-line);
    scroll-margin-top: calc(var(--header-h) + 4rem);
}
.pd-similar-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.pd-similar-head h2 { margin: 0; font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.01em; color: var(--c-ink); }

.sim-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sim-card { display: grid; gap: 2px; color: var(--c-ink); }
.sim-media {
    position: relative;
    display: block;
    margin-bottom: .625rem;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: .875rem;
    background: var(--c-field);
}
.sim-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.sim-card:hover .sim-media img { transform: scale(1.04); }
.sim-price {
    position: absolute;
    bottom: .625rem;
    left: .625rem;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    height: 1.75rem;
    padding: 0 .625rem;
    border-radius: .5rem;
    background: rgba(255, 255, 255, .95);
    font-size: var(--fs-md);
    font-weight: 600;
    line-height: 1.75rem;
    color: var(--c-ink);
}
.sim-price small { font-size: var(--fs-xs); font-weight: 400; color: var(--c-muted); }
.sim-title,
.sim-meta { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sim-title { font-size: var(--fs-base); font-weight: 600; }
.sim-card:hover .sim-title { text-decoration: underline; text-underline-offset: .1875rem; }
.sim-meta { font-size: var(--fs-sm); color: var(--c-muted); }

/* ---------- Lightbox ---------- */
.lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #0d0e10;
    color: var(--c-white);
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }

.lightbox-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .875rem clamp(1rem, 3vw, 2rem);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.lightbox-count { flex-shrink: 0; min-width: 3.5rem; margin: 0; font-size: var(--fs-md); color: rgba(255, 255, 255, .7); }
.lightbox-filter { display: flex; flex: 1; justify-content: center; gap: .375rem; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.lightbox-filter::-webkit-scrollbar { display: none; }
.lightbox-filter button { border-color: rgba(255, 255, 255, .16); background: transparent; color: rgba(255, 255, 255, .78); }
.lightbox-filter button:hover { border-color: rgba(255, 255, 255, .4); color: var(--c-white); }
.lightbox-filter button.is-active { border-color: var(--c-white); background: var(--c-white); color: var(--c-ink); }
.lightbox-close {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: none;
    color: var(--c-white);
    cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .08); }

.lightbox-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    margin: 0;
    padding: 1.25rem clamp(3.5rem, 7vw, 6rem) 2.75rem;
}
.lightbox-stage img {
    max-width: 100%;
    max-height: 100%;
    border-radius: .625rem;
    object-fit: contain;
    user-select: none;
}
.lightbox-stage figcaption {
    position: absolute;
    bottom: .875rem;
    left: 0;
    right: 0;
    font-size: var(--fs-sm);
    text-align: center;
    color: rgba(255, 255, 255, .6);
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    right: clamp(.5rem, 2vw, 1.5rem);
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: var(--c-white);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s;
}
.lightbox-nav.is-prev { right: auto; left: clamp(.5rem, 2vw, 1.5rem); }
.lightbox-nav.is-prev .icon { transform: scaleX(-1); }
.lightbox-nav:hover { background: rgba(255, 255, 255, .14); }
.lightbox-nav:disabled { opacity: .3; cursor: default; }

.lightbox-thumbs {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin: 0;
    padding: .75rem clamp(1rem, 3vw, 2rem) 1.125rem;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
}
.lightbox-thumbs::-webkit-scrollbar { display: none; }
.lightbox-thumbs button {
    display: block;
    width: 5.25rem;
    height: 3.5rem;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: .5rem;
    background: #1d1e21;
    opacity: .55;
    cursor: pointer;
    transition: opacity .2s, border-color .2s;
}
.lightbox-thumbs button:hover { opacity: .9; }
.lightbox-thumbs button[aria-current="true"] { border-color: var(--c-white); opacity: 1; }
.lightbox-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.has-lightbox { overflow: hidden; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.ct { padding-bottom: clamp(4rem, 7vw, 6.5rem); }

.ct-head { max-width: 40rem; padding-top: 1.75rem; }
.ct-head .breadcrumb { margin-bottom: 1rem; }
.ct-title {
    margin: 0;
    font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.03em;
    color: var(--c-ink);
}
.ct-lead { margin: .75rem 0 0; font-size: var(--fs-lg); line-height: 1.55; color: var(--c-muted); }

/* ---------- Layout ---------- */
.ct-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
    align-items: start;
    gap: 1.5rem;
    margin-top: 2.25rem;
}

/* ---------- Form ---------- */
.ct-panel {
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid var(--c-line);
    border-radius: var(--r-panel);
    background: var(--c-white);
}
.ct-panel-title { margin: 0; font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.015em; color: var(--c-ink); }
.ct-panel-note { margin: .25rem 0 0; font-size: var(--fs-sm); color: var(--c-muted); }
.ct-status { margin-top: 1rem; }

.ct-form { display: grid; gap: 1.125rem; margin-top: 1.5rem; }
.ct-topics { margin: 0; padding: 0; border: 0; }
.ct-topics legend {
    margin-bottom: .5rem;
    padding: 0;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-ink);
}
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem 1rem; }
.ct-form .field-select { display: block; }
.ct-form .field textarea { min-height: 8.5rem; }

.field-error { margin: .375rem 0 0; font-size: var(--fs-sm); color: #b3261e; }
.field-error:empty { display: none; }

/* Hidden from people, visible to form-filling bots */
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--c-line);
}
.ct-submit .btn { height: 2.875rem; padding: 0 1.5rem; }
.ct-submit p { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }

/* Sent state */
.ct-sent { padding: clamp(1rem, 3vw, 2.5rem) 0; }
.ct-sent-mark {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: var(--c-green-soft);
    color: var(--c-green);
}
.ct-sent-mark .icon { width: 1.25rem; height: 1.25rem; stroke-width: 2; }
.ct-sent h2 { margin: 0; font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.015em; color: var(--c-ink); }
.ct-sent p { max-width: 30rem; margin: .5rem 0 0; font-size: var(--fs-base); line-height: 1.6; color: var(--c-muted); }
.ct-sent p a { color: var(--c-ink); font-weight: 500; }
.ct-sent-actions { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1.5rem; }

/* ---------- Direct contact ---------- */
.ct-aside { display: grid; gap: 1rem; }

.ct-direct {
    position: relative;
    overflow: hidden;
    padding: 1.75rem 1.75rem 1.5rem;
    border-radius: var(--r-panel);
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px .25rem),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px .25rem),
        #121315;
    color: rgba(255, 255, 255, .64);
}
/* Line drawing of nested arches, echoing the jharokha windows of Jaipur */
.ct-art {
    position: absolute;
    right: -1.5rem;
    bottom: -.0625rem;
    width: 12rem;
    height: auto;
    fill: none;
    stroke: rgba(255, 255, 255, .09);
    stroke-width: 1;
    pointer-events: none;
}
.ct-direct h2 {
    position: relative;
    margin: 0 0 1.25rem;
    font-size: var(--fs-lg);
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--c-white);
}
.ct-lines { position: relative; display: grid; gap: 1rem; margin: 0; }
.ct-lines dt { margin-bottom: .125rem; font-size: var(--fs-xs); color: rgba(255, 255, 255, .45); }
.ct-lines dd { margin: 0; font-size: var(--fs-base); color: var(--c-white); }
.ct-lines a {
    color: var(--c-white);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .25);
    text-underline-offset: .1875rem;
    transition: text-decoration-color .2s;
}
.ct-lines a:hover { text-decoration-color: currentColor; }

/* ---------- Map ---------- */
.ct-map {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--c-line);
    border-radius: var(--r-panel);
    background: var(--c-white);
}
.ct-map iframe {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 0;
    background: var(--c-field);
    filter: grayscale(1) contrast(.95);
}
.ct-map figcaption {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: .875rem 1rem;
    border-top: 1px solid var(--c-line);
    font-size: var(--fs-sm);
    line-height: 1.5;
    color: var(--c-muted);
}
.ct-map figcaption b { display: block; font-weight: 500; color: var(--c-ink); }
.ct-map figcaption .text-link { flex-shrink: 0; font-size: var(--fs-sm); }

/* ---------- Offices ---------- */
.ct-section-title {
    margin: 0;
    font-size: clamp(1.375rem, 1.1rem + .7vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--c-ink);
}
.ct-offices { margin-top: clamp(3.5rem, 6vw, 5rem); }
.ct-offices ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}
.ct-offices li { padding-top: 1.25rem; border-top: 1px solid var(--c-ink); }
.ct-offices h3 { margin: 0; font-size: var(--fs-lg); font-weight: 600; letter-spacing: -.01em; color: var(--c-ink); }
.ct-offices address {
    max-width: 19rem;
    margin: .375rem 0 .75rem;
    font-size: var(--fs-md);
    font-style: normal;
    line-height: 1.6;
    color: var(--c-muted);
}

/* ---------- FAQ ---------- */
.ct-faq {
    display: grid;
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
    gap: 1.5rem clamp(2rem, 6vw, 6rem);
    margin-top: clamp(3.5rem, 6vw, 5rem);
    padding-top: clamp(2.5rem, 4vw, 3.5rem);
    border-top: 1px solid var(--c-line);
}
.ct-faq-intro p { margin: .75rem 0 0; font-size: var(--fs-base); line-height: 1.6; color: var(--c-muted); }
.ct-faq-intro a { color: var(--c-ink); font-weight: 500; white-space: nowrap; }

.ct-faq-list { border-top: 1px solid var(--c-line); }
.ct-qa { border-bottom: 1px solid var(--c-line); }
.ct-qa summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 0;
    font-size: var(--fs-lg);
    font-weight: 500;
    line-height: 1.4;
    color: var(--c-ink);
    list-style: none;
    cursor: pointer;
}
.ct-qa summary::-webkit-details-marker { display: none; }
.ct-qa summary:focus-visible { outline: 2px solid var(--c-dark); outline-offset: .25rem; border-radius: .25rem; }
/* Plus sign that turns into a minus */
.ct-qa-sign { position: relative; flex-shrink: 0; width: .875rem; height: .875rem; }
.ct-qa-sign::before,
.ct-qa-sign::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    margin-top: -.75px;
    background: currentColor;
    transition: transform .2s;
}
.ct-qa-sign::after { transform: rotate(90deg); }
.ct-qa[open] .ct-qa-sign::after { transform: rotate(0deg); }
.ct-qa p { max-width: 42rem; margin: -.25rem 0 1.25rem; font-size: var(--fs-base); line-height: 1.7; color: var(--c-muted); }

@media (max-width: 991.98px) {
    .ct-layout { grid-template-columns: minmax(0, 1fr); }
    .ct-aside { grid-template-columns: 1fr 1fr; }
    .ct-map iframe { aspect-ratio: auto; height: 100%; min-height: 12rem; }
    .ct-map { display: flex; flex-direction: column; }
    .ct-map iframe { flex: 1; }
    .ct-faq { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767.98px) {
    .ct-aside { grid-template-columns: minmax(0, 1fr); }
    .ct-map iframe { aspect-ratio: 4 / 3; height: auto; flex: none; }
    .ct-offices ul { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
}

@media (max-width: 575.98px) {
    .ct-lead { font-size: var(--fs-base); }
    .ct-row { grid-template-columns: minmax(0, 1fr); }
    .ct-submit .btn { width: 100%; }
    .ct-qa summary { font-size: var(--fs-base); }
}

/* ==========================================================================
   Login / register (full-screen, no site header or footer)
   ========================================================================== */
.auth {
    --auth-sky: #3f6aa0;
    --auth-sky-deep: #2f5588;
    --auth-sky-soft: #eaf1f9;
    --auth-sky-ring: rgba(63, 106, 160, .16);

    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100svh;
    background: var(--c-white);
}

/* ---------- Visual ---------- */
.auth-visual {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100svh - 1.5rem);
    min-height: 34rem;
    margin: .75rem 0 .75rem .75rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    overflow: hidden;
    border-radius: 1.5rem;
    background:
        linear-gradient(180deg, rgba(10, 18, 30, 0) 38%, rgba(10, 18, 30, .35) 62%, rgba(10, 18, 30, .72) 100%),
        linear-gradient(180deg, #86acd8 0, #6795c8 22%, rgba(103, 149, 200, 0) 48%),
        url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1800&q=80") center 70% / cover no-repeat,
        #6795c8;
    color: var(--c-white);
}
.auth-logo { align-self: flex-start; font-size: 1.375rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--c-white); }

.auth-visual-body { max-width: 30rem; }
.auth-kicker {
    display: inline-flex;
    align-items: center;
    height: 1.875rem;
    margin: 0 0 1rem;
    padding: 0 .75rem;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 62.4375rem;
    background: rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(.5rem);
    backdrop-filter: blur(.5rem);
    font-size: var(--fs-sm);
    font-weight: 500;
}
.auth-quote {
    margin: 0;
    font-size: clamp(1.875rem, 1.2rem + 1.8vw, 2.875rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.auth-quote span { color: #d6e5f6; }

/* ---------- Form side ---------- */
.auth-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.5rem clamp(1.5rem, 5vw, 5rem);
}
.auth-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    font-size: var(--fs-md);
    color: var(--c-muted);
}
.auth-bar p { margin: 0; }
.auth-bar p a,
.auth-switch a,
.auth-label-row a,
.auth-check a {
    font-weight: 500;
    color: var(--auth-sky);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: .1875rem;
    transition: text-decoration-color .2s, color .2s;
}
.auth-bar p a:hover,
.auth-switch a:hover,
.auth-label-row a:hover,
.auth-check a:hover { color: var(--auth-sky-deep); text-decoration-color: currentColor; }

.auth-back { display: inline-flex; align-items: center; gap: .375rem; font-weight: 500; color: var(--c-ink); }
.auth-back .icon { width: 1rem; height: 1rem; transform: rotate(180deg); transition: transform .2s; }
.auth-back:hover .icon { transform: rotate(180deg) translateX(.1875rem); }

.auth-box { width: 100%; max-width: 27rem; margin: auto; padding: 3rem 0; }

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 2rem;
    padding: .25rem;
    border-radius: .75rem;
    background: var(--c-field);
}
.auth-tabs a {
    display: grid;
    place-items: center;
    height: 2.375rem;
    border-radius: .5rem;
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--c-muted);
    transition: color .2s, background-color .2s;
}
.auth-tabs a:hover { color: var(--c-ink); }
.auth-tabs a[aria-current] {
    background: var(--c-white);
    box-shadow: 0 1px 2px rgba(20, 20, 20, .08), 0 .25rem .75rem -.25rem rgba(20, 20, 20, .12);
    color: var(--c-ink);
}

.auth-title {
    margin: 0;
    font-size: clamp(1.75rem, 1.4rem + .8vw, 2.125rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: var(--c-ink);
}
.auth-sub { margin: .5rem 0 0; font-size: var(--fs-base); line-height: 1.6; color: var(--c-muted); }
.auth-status { margin-top: 1.25rem; }

.auth-form { display: grid; gap: 1.125rem; margin-top: 1.75rem; }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem .875rem; }

.auth .field input { height: 3rem; }
.auth .field input:focus { border-color: var(--auth-sky); box-shadow: 0 0 0 .25rem var(--auth-sky-ring); }
.auth .field [aria-invalid="true"] { border-color: #c4453c; }

.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .375rem; }
.auth-label-row label { margin: 0; }
.auth-label-row a { font-size: var(--fs-sm); }

.auth-password { position: relative; }
.auth-password input { padding-right: 4.25rem; }
.auth-reveal {
    position: absolute;
    top: 50%;
    right: .375rem;
    height: 2.25rem;
    padding: 0 .625rem;
    border: 0;
    border-radius: .5rem;
    background: none;
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--auth-sky);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s;
}
.auth-reveal:hover { background: var(--auth-sky-soft); }

/* Password strength: bars fill in the accent colour */
.auth-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: .25rem; margin-top: .625rem; }
.auth-strength span { height: .25rem; border-radius: 62.4375rem; background: var(--c-line); transition: background-color .25s; }
.auth-strength[data-strength="1"] span:nth-child(-n+1),
.auth-strength[data-strength="2"] span:nth-child(-n+2),
.auth-strength[data-strength="3"] span:nth-child(-n+3),
.auth-strength[data-strength="4"] span { background: var(--auth-sky); }
.auth-hint { margin: .375rem 0 0; font-size: var(--fs-sm); color: var(--c-muted); }

/* Role cards */
.auth-roles { margin: 0; padding: 0; border: 0; }
.auth-roles legend { margin-bottom: .5rem; padding: 0; font-size: var(--fs-sm); font-weight: 500; color: var(--c-ink); }
.auth-role-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.auth-role { position: relative; margin: 0; }
.auth-role input { position: absolute; opacity: 0; pointer-events: none; }
.auth-role span {
    display: grid;
    place-items: center;
    min-height: 3rem;
    padding: .375rem .5rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-field);
    font-size: var(--fs-sm);
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    color: var(--c-text);
    cursor: pointer;
    transition: border-color .2s, background-color .2s, color .2s;
}
.auth-role span:hover { border-color: var(--c-line-strong); color: var(--c-ink); }
.auth-role input:checked + span { border-color: var(--auth-sky); background: var(--auth-sky-soft); color: var(--auth-sky-deep); }
.auth-role input:focus-visible + span { outline: 2px solid var(--auth-sky); outline-offset: 2px; }

/* Checkbox */
.auth-check {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .625rem;
    font-size: var(--fs-md);
    line-height: 1.35;
    color: var(--c-text);
    cursor: pointer;
}
.auth-check input { position: absolute; opacity: 0; pointer-events: none; }
.auth-tick {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 1.125rem;
    height: 1.125rem;
    margin-top: .0625rem;
    border: 1px solid var(--c-line-strong);
    border-radius: .3125rem;
    background: var(--c-white);
    color: transparent;
    transition: background-color .15s, border-color .15s, color .15s;
}
.auth-tick .icon { width: .75rem; height: .75rem; stroke-width: 2.5; }
.auth-check input:checked + .auth-tick { border-color: var(--auth-sky); background: var(--auth-sky); color: var(--c-white); }
.auth-check input:focus-visible + .auth-tick { outline: 2px solid var(--auth-sky); outline-offset: 2px; }
.auth-check input[aria-invalid="true"] + .auth-tick { border-color: #c4453c; }

.auth-submit { width: 100%; height: 3rem; margin-top: .25rem; font-size: var(--fs-base); }
.auth-submit .icon { transition: transform .2s; }
.auth-submit:hover { background: var(--auth-sky-deep); }
.auth-submit:hover .icon { transform: translateX(.1875rem); }

.auth-switch { margin: 1.5rem 0 0; font-size: var(--fs-md); color: var(--c-muted); }

/* Done state */
.auth-done-mark {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background: var(--auth-sky-soft);
    color: var(--auth-sky);
}
.auth-done-mark .icon { width: 1.375rem; height: 1.375rem; stroke-width: 2; }
.auth-done-actions { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1.75rem; }

@media (max-width: 991.98px) {
    .auth { grid-template-columns: minmax(0, 1fr); }
    .auth-visual {
        position: relative;
        height: auto;
        min-height: 20rem;
        margin: .75rem .75rem 0;
        background:
            linear-gradient(180deg, rgba(10, 18, 30, .05) 0, rgba(10, 18, 30, .45) 45%, rgba(10, 18, 30, .78) 100%),
            linear-gradient(180deg, #86acd8 0, rgba(103, 149, 200, 0) 45%),
            url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1400&q=80") center 60% / cover no-repeat,
            #6795c8;
    }
    .auth-visual-body { max-width: 34rem; margin-top: 3rem; }
    .auth-box { padding: 2.5rem 0; }
    .auth-main { padding-top: 1.25rem; }
}

@media (max-width: 575.98px) {
    .auth-visual { min-height: 15rem; padding: 1.25rem; border-radius: 1.125rem; }
    .auth-logo { font-size: 1.1875rem; }
    .auth-kicker { display: none; }
    .auth-quote { font-size: 1.625rem; text-shadow: 0 1px 1.5rem rgba(10, 18, 30, .35); }
    .auth-main { padding-inline: 1.25rem; }
    .auth-bar p { display: none; }
    .auth-row { grid-template-columns: minmax(0, 1fr); }
    .auth-role span { min-height: 3.25rem; padding-inline: .375rem; font-size: var(--fs-xs); }
    .auth-done-actions .btn { flex: 1; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
    .lp-layout { grid-template-columns: 17rem minmax(0, 1fr); gap: 1.5rem; }
    .lp-card { gap: 1.25rem; }
    .lp-card-desc { display: none; }
}

@media (max-width: 991.98px) {
    .site-burger { display: grid; }
    .site-menu {
        --menu-line: rgba(255, 255, 255, .1);
        --menu-hover: rgba(255, 255, 255, .06);
        align-items: stretch;
        gap: 0;
        background: #1b1c1f;
        color: var(--c-white);
    }
    .site-menu .nav-link[aria-current] { background: var(--menu-hover); text-decoration: none; }
    .site-menu .nav-drop { color: rgba(255, 255, 255, .82); }
    .site-menu .nav-list { gap: .125rem; }
    .site-login { display: flex; width: 100%; }


    .lp-layout { grid-template-columns: minmax(0, 1fr); padding-top: 1.5rem; }
    .lp-filter-toggle { display: inline-flex; }

    /* Filters become a side sheet */
    .lp-filters {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 70;
        width: min(25rem, 100%);
        max-height: none;
        border: 0;
        border-radius: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform .3s var(--ease-out), visibility .3s;
    }
    .lp-filters.is-open { visibility: visible; transform: none; }
    .lp-filters-close {
        display: grid;
        place-items: center;
        width: 2.25rem;
        height: 2.25rem;
        margin-right: -.5rem;
        padding: 0;
        border: 0;
        border-radius: var(--r-field);
        background: none;
        color: var(--c-ink);
        cursor: pointer;
    }
    .lp-filter-form { display: flex; flex-direction: column; }
    .lp-filters-foot {
        position: sticky;
        bottom: 0;
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: .625rem;
        margin: auto -1.25rem 0;
        padding: .875rem 1.25rem;
        border-top: 1px solid var(--c-line);
        background: var(--c-white);
    }
    .lp-filters-foot .btn { height: 2.75rem; }
    .lp-backdrop {
        position: fixed;
        inset: 0;
        z-index: 60;
        display: block;
        background: rgba(20, 20, 20, .45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s, visibility .3s;
    }
    .lp-filters.is-open + .lp-backdrop { opacity: 1; visibility: visible; }

    .lp-card-desc { display: -webkit-box; }

}

@media (max-width: 767.98px) {

    .lp-toolbar { align-items: stretch; flex-direction: column; }
    .lp-tools { justify-content: space-between; }
    .lp-sort-label { display: none; }
    .lp-sort select { width: 11.25rem; }

    .lp-card { grid-template-columns: minmax(0, 1fr); gap: .875rem; padding: .75rem; }
    .lp-card-media { min-height: 0; aspect-ratio: 16 / 10; }
    .lp-card-body { padding: 0 .25rem .25rem; }
    .lp-card-top { flex-direction: column; gap: .5rem; }
    .lp-card-price { text-align: left; }
    .lp-card-desc { display: none; }
    .lp-card-foot { flex-direction: column; align-items: stretch; }
    .lp-card-actions .btn { flex: 1; }

    .lp-help { flex-direction: column; align-items: flex-start; padding: 1.375rem; }
    .pagination { justify-content: center; padding: .75rem; }
    .pagination-info { width: 100%; text-align: center; }
    .page-step span { display: none; }
    .page-step { padding: 0; min-width: 2.375rem; }

}


/* ---------- Details page ---------- */
@media (max-width: 1199.98px) {
    .pd-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; }
    .pd-keyfacts, .pd-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sim-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sim-grid li:nth-child(4) { display: none; }
}

@media (max-width: 991.98px) {
    .pd-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .pd-aside { position: static; padding-top: .5rem; }
    .pd-gallery { grid-template-columns: 2fr 1fr; }
    .pd-shot:nth-child(4),
    .pd-shot:nth-child(5) { display: none; }
    .pd-shot:nth-child(2) { border-top-right-radius: var(--r-panel); }
    .pd-shot:nth-child(3) { border-bottom-right-radius: var(--r-panel); border-top-right-radius: .625rem; }
    .sim-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sim-grid li:nth-child(4) { display: block; }
}

@media (max-width: 767.98px) {
    .pd-head { flex-direction: column; align-items: stretch; }
    .pd-head-side { text-align: left; }
    .pd-actions { justify-content: flex-start; }
    .pd-gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: auto; aspect-ratio: 4 / 3; }
    .pd-shot:not(.is-main) { display: none; }
    .pd-shot.is-main { grid-row: auto; border-radius: var(--r-media); }
    .pd-gallery-all { right: .75rem; bottom: .75rem; }
    .pd-tabs { gap: 1.25rem; }
    .pd-keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.125rem 1rem; padding: 1.125rem; }
    .pd-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-lead { font-size: var(--fs-base); }
    .pd-highlights { grid-template-columns: minmax(0, 1fr); }
    .pd-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-similar-head { flex-direction: column; gap: .25rem; }
    .sim-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .875rem; }

    .lightbox-bar { flex-wrap: wrap; }
    .lightbox-filter { order: 3; flex-basis: 100%; justify-content: flex-start; }
    .lightbox-count { flex: 1; }
    .lightbox-stage { padding: .75rem .75rem 2.5rem; }
    .lightbox-nav { top: auto; bottom: .375rem; width: 2.25rem; height: 2.25rem; transform: none; }
    .lightbox-thumbs { justify-content: flex-start; }
    .lightbox-thumbs button { width: 4rem; height: 2.75rem; }
}

@media (max-width: 575.98px) {
    .sim-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Gallery mosaic with fewer than 5 photos */
.pd-gallery-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.pd-gallery-1 .pd-shot.is-main { grid-row: auto; border-radius: var(--r-panel); }
.pd-gallery-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.pd-gallery-2 .pd-shot.is-main { grid-row: auto; }
.pd-gallery-2 .pd-shot:nth-child(2) { border-radius: .625rem var(--r-panel) var(--r-panel) .625rem; }
.pd-gallery-3 { grid-template-columns: 2fr 1fr; }
.pd-gallery-3 .pd-shot:nth-child(2) { border-top-right-radius: var(--r-panel); }
.pd-gallery-3 .pd-shot:nth-child(3) { border-top-right-radius: .625rem; border-bottom-right-radius: var(--r-panel); }
@media (max-width: 767.98px) {
    .pd-gallery-2, .pd-gallery-3 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
}

/* Spam trap on the enquiry form: hidden from people */
.pd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Profile (profile.php): account overview in the same glass + pastel style as the member panel ---------- */
.pf {
    --pf-ink: #1c1c2b; --pf-text: #3d3f52; --pf-muted: #6d7086; --pf-subtle: #9c9fb3;
    --pf-line: rgba(214, 216, 232, .9); --pf-line-soft: rgba(226, 228, 240, .8);
    --pf-glass: rgba(255, 255, 255, .72); --pf-edge: rgba(255, 255, 255, .9);
    --pf-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 .75rem 2rem -1.25rem rgba(64, 52, 140, .28);
    --pf-violet: #6d4ff5; --pf-violet-bg: #efeaff; --pf-violet-line: #ddd4ff;
    --pf-blue: #3478f0;   --pf-blue-bg: #e6efff;   --pf-blue-line: #cfe0ff;
    --pf-green: #1f9463;  --pf-green-bg: #e1f5eb;  --pf-green-line: #c7ead8;
    --pf-amber: #c9780a;  --pf-amber-bg: #fff0d9;  --pf-amber-line: #fbdcae;
    --pf-rose: #d8435a;   --pf-rose-bg: #ffe6ea;   --pf-rose-line: #ffcdd5;
    padding-bottom: 4rem;
    color: var(--pf-text);
    background:
        radial-gradient(38rem 28rem at 8% -6%, rgba(186, 170, 255, .38), transparent 70%),
        radial-gradient(34rem 26rem at 96% 4%, rgba(168, 208, 255, .36), transparent 70%),
        radial-gradient(40rem 30rem at 60% 100%, rgba(214, 196, 255, .3), transparent 70%),
        linear-gradient(160deg, #f4f4fa 0%, #efedf8 50%, #eef2f8 100%);
}
.pf .breadcrumb { padding-top: 1.5rem; }
.pf .btn .icon { width: 1rem; height: 1rem; }
.pf .btn { gap: .5rem; }

/* Pastel tiles and chips */
.pf-tile { display: grid; flex: none; place-items: center; width: 2.625rem; height: 2.625rem; border: 1px solid var(--tl, var(--pf-line)); border-radius: .75rem; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)), var(--tb, #f2f2f7); color: var(--tc, var(--pf-ink)); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset; }
.pf-tile .icon { width: 1.125rem; height: 1.125rem; }
.pf-tile.sm { width: 2rem; height: 2rem; border-radius: .625rem; }
.pf-tile.sm .icon { width: .9375rem; height: .9375rem; }
.pf-chip { display: inline-flex; flex: none; align-items: center; gap: .3125rem; height: 1.5rem; padding: 0 .5625rem; border: 1px solid var(--tl, var(--pf-line)); border-radius: 99px; background: var(--tb, rgba(255, 255, 255, .8)); font-size: .6875rem; font-weight: 600; white-space: nowrap; color: var(--tc, var(--pf-muted)); }
.pf-chip .icon { width: .75rem; height: .75rem; }
.pf .is-violet { --tc: var(--pf-violet); --tb: var(--pf-violet-bg); --tl: var(--pf-violet-line); }
.pf .is-blue   { --tc: var(--pf-blue);   --tb: var(--pf-blue-bg);   --tl: var(--pf-blue-line); }
.pf .is-green  { --tc: var(--pf-green);  --tb: var(--pf-green-bg);  --tl: var(--pf-green-line); }
.pf .is-amber  { --tc: var(--pf-amber);  --tb: var(--pf-amber-bg);  --tl: var(--pf-amber-line); }
.pf .is-rose   { --tc: var(--pf-rose);   --tb: var(--pf-rose-bg);   --tl: var(--pf-rose-line); }

.pf-bar { position: relative; display: block; height: .4375rem; overflow: hidden; border-radius: 99px; background: rgba(123, 97, 255, .14); }
.pf-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #9b8aff, #6d4ff5); }
.pf-bar.is-amber { background: rgba(201, 120, 10, .14); }
.pf-bar.is-amber i { background: linear-gradient(90deg, #f0b35a, #c9780a); }
.pf-bar.is-blue { background: rgba(52, 120, 240, .14); }
.pf-bar.is-blue i { background: linear-gradient(90deg, #7aa9ff, #3478f0); }

/* Hero */
.pf-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
    margin-top: 1.25rem;
    padding: 1.75rem 2rem;
    overflow: hidden;
    border: 1px solid var(--pf-edge);
    border-radius: 1.25rem;
    background:
        radial-gradient(16rem 12rem at 88% 20%, rgba(255, 255, 255, .7), transparent 70%),
        linear-gradient(120deg, rgba(236, 231, 255, .95) 0%, rgba(226, 222, 250, .92) 55%, rgba(220, 228, 250, .92) 100%);
    box-shadow: var(--pf-shadow);
}
.pf-hero::after { content: ""; position: absolute; right: -3rem; bottom: -5rem; width: 18rem; height: 18rem; border-radius: 50%; background: rgba(123, 97, 255, .08); pointer-events: none; }
.pf-hero-body { position: relative; z-index: 1; min-width: 0; }
.pf-who { display: flex; align-items: center; gap: 1rem; }
.pf-avatar { display: grid; flex: none; place-items: center; width: 4rem; height: 4rem; border: 3px solid rgba(255, 255, 255, .9); border-radius: 50%; background: linear-gradient(135deg, #9b8aff, #5b3fe0); box-shadow: 0 .75rem 1.5rem -.75rem rgba(91, 63, 224, .6); font-size: 1.25rem; font-weight: 600; color: #fff; }
.pf-who-text { min-width: 0; }
.pf-kicker { margin: 0; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-violet); }
.pf-who h1 { margin: .125rem 0 0; overflow: hidden; font-size: 1.75rem; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; color: var(--pf-ink); text-overflow: ellipsis; white-space: nowrap; }
.pf-chips { display: flex; flex-wrap: wrap; gap: .375rem; margin: 1rem 0 0; }
.pf-chips .pf-chip { height: 1.75rem; padding: 0 .75rem; background: rgba(255, 255, 255, .75); font-size: .75rem; }
.pf-usage { max-width: 28rem; margin-top: 1.25rem; }
.pf-usage p { display: flex; justify-content: space-between; margin: 0 0 .5rem; font-size: .8125rem; color: var(--pf-muted); }
.pf-usage b { font-weight: 600; color: var(--pf-ink); }
.pf-hero-media { position: relative; z-index: 1; display: block; color: inherit; }
.pf-hero-media img { display: block; width: 16rem; height: 11.5rem; border: 4px solid rgba(255, 255, 255, .85); border-radius: 7rem 7rem 1rem 1rem; object-fit: cover; box-shadow: 0 1rem 2rem -1rem rgba(64, 52, 140, .45); transition: transform .3s; }
.pf-hero-media:hover img { transform: translateY(-2px); }
.pf-hero-cap { position: absolute; right: .75rem; bottom: .75rem; left: .75rem; display: grid; padding: .5rem .75rem; border: 1px solid var(--pf-edge); border-radius: .75rem; background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); line-height: 1.3; }
.pf-hero-cap small { font-size: .6875rem; color: var(--pf-muted); }
.pf-hero-cap b { overflow: hidden; font-size: .8125rem; font-weight: 600; color: var(--pf-ink); text-overflow: ellipsis; white-space: nowrap; }

/* Figures */
.pf-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.pf-kpi { display: flex; align-items: center; gap: .875rem; min-width: 0; padding: 1rem 1.125rem; border: 1px solid var(--pf-edge); border-radius: 1rem; background: var(--pf-glass); box-shadow: var(--pf-shadow); backdrop-filter: saturate(1.4) blur(12px); }
.pf-kpi-text { display: grid; min-width: 0; line-height: 1.3; }
.pf-kpi-text b { overflow: hidden; font-size: .9375rem; font-weight: 600; color: var(--pf-ink); text-overflow: ellipsis; white-space: nowrap; }
.pf-kpi-text small { overflow: hidden; font-size: .75rem; color: var(--pf-muted); text-overflow: ellipsis; white-space: nowrap; }

/* Layout */
.pf-grid { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 1.25rem; align-items: start; margin-top: 1.75rem; }
.pf-main, .pf-side { display: grid; gap: 1.25rem; min-width: 0; }
.pf-side { position: sticky; top: calc(var(--header-h) + 1rem); }
.pf-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.pf-panel { min-width: 0; padding: 1.25rem; border: 1px solid var(--pf-edge); border-radius: 1rem; background: var(--pf-glass); box-shadow: var(--pf-shadow); backdrop-filter: saturate(1.4) blur(12px); }
.pf-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.pf-section-head h2 { margin: 0; font-size: .9375rem; font-weight: 700; letter-spacing: -.01em; color: var(--pf-ink); }
.pf-section-head p { margin: .1875rem 0 0; font-size: .75rem; color: var(--pf-subtle); }
.pf-section-head > .icon { flex: none; width: 1rem; height: 1rem; color: var(--pf-subtle); }
.pf-count { display: grid; flex: none; place-items: center; min-width: 1.625rem; height: 1.625rem; padding: 0 .5rem; border-radius: 99px; background: var(--pf-violet-bg); font-size: .75rem; font-weight: 700; color: var(--pf-violet); }
.pf-main > section > .pf-section-head { justify-content: flex-start; align-items: center; }
.pf-muted { margin: 0; font-size: .8125rem; line-height: 1.55; color: var(--pf-muted); }
.pf-muted a, .pf-note a { color: var(--pf-violet); font-weight: 600; text-decoration: underline; text-underline-offset: .1875rem; }

/* Listing cards */
.pf-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 1rem; }
.pf-card { display: flex; flex-direction: column; min-width: 0; padding: .5rem; border: 1px solid var(--pf-edge); border-radius: 1rem; background: rgba(255, 255, 255, .85); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 .5rem 1.25rem -1rem rgba(64, 52, 140, .35); color: inherit; transition: transform .2s, box-shadow .2s; }
.pf-card:hover { transform: translateY(-2px); box-shadow: 0 1px 0 #fff inset, 0 .875rem 1.75rem -1rem rgba(64, 52, 140, .4); }
.pf-card-photo { position: relative; display: block; overflow: hidden; border-radius: .75rem; aspect-ratio: 16 / 10; }
.pf-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pf-card:hover .pf-card-photo img { transform: scale(1.04); }
.pf-card-photo .pf-chip { position: absolute; top: .5rem; left: .5rem; background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); }
.pf-star { position: absolute; top: .5rem; right: .5rem; display: grid; place-items: center; width: 1.625rem; height: 1.625rem; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--pf-amber); }
.pf-star .icon { width: .8125rem; height: .8125rem; }
.pf-card-body { display: grid; flex: 1; gap: .25rem; padding: .75rem .375rem .25rem; }
.pf-card-body > b { overflow: hidden; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; color: var(--pf-ink); text-overflow: ellipsis; white-space: nowrap; }
.pf-card-body > small { display: flex; align-items: center; gap: .25rem; overflow: hidden; font-size: .75rem; color: var(--pf-muted); white-space: nowrap; }
.pf-card-body > small .icon { flex: none; width: .75rem; height: .75rem; }
.pf-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .625rem; padding-top: .625rem; border-top: 1px solid var(--pf-line-soft); }
.pf-price { font-size: .9375rem; font-weight: 700; color: var(--pf-ink); }
.pf-price small { margin-left: .125rem; font-size: .6875rem; font-weight: 500; color: var(--pf-subtle); }
.pf-card-meta { display: flex; gap: .25rem; }
.pf-empty { display: flex; align-items: center; gap: 1rem; }
.pf-empty p { margin: 0; font-size: .8125rem; color: var(--pf-muted); }

/* Chart */
.pf-chart { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .625rem; height: 9.5rem; }
.pf-chart-col { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: .375rem; min-width: 0; }
.pf-chart-n { font-size: .75rem; font-weight: 600; color: var(--pf-ink); }
.pf-chart-bar { position: relative; width: 100%; max-width: 2.25rem; border-radius: .5rem; background: rgba(123, 97, 255, .08); }
.pf-chart-bar i { position: absolute; inset: auto 0 0; border-radius: inherit; background: linear-gradient(180deg, #c9c0ff, #a898ff); }
.pf-chart-col.is-now .pf-chart-bar i { background: linear-gradient(180deg, #9b8aff, #5b3fe0); box-shadow: 0 .5rem 1rem -.5rem rgba(91, 63, 224, .6); }
.pf-chart-m { font-size: .6875rem; color: var(--pf-subtle); }
.pf-chart-col.is-now .pf-chart-m { font-weight: 700; color: var(--pf-violet); }
.pf-split { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1rem 0 0; padding: .875rem 0 0; border-top: 1px solid var(--pf-line-soft); list-style: none; font-size: .75rem; color: var(--pf-muted); }
.pf-split li { display: inline-flex; align-items: center; gap: .375rem; }
.pf-split i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--tc); }
.pf-split b { font-weight: 700; color: var(--pf-ink); }

/* Feeds */
.pf-feed { display: grid; margin: 0; padding: 0; list-style: none; }
.pf-feed li { display: flex; align-items: center; gap: .75rem; padding: .625rem 0; border-top: 1px solid var(--pf-line-soft); }
.pf-feed li:first-child { padding-top: 0; border-top: 0; }
.pf-feed-text { display: grid; flex: 1; min-width: 0; line-height: 1.35; }
.pf-feed-text b { display: flex; align-items: center; gap: .375rem; overflow: hidden; font-size: .8125rem; font-weight: 600; color: var(--pf-ink); white-space: nowrap; }
.pf-feed-text small { overflow: hidden; font-size: .6875rem; color: var(--pf-subtle); text-overflow: ellipsis; white-space: nowrap; }
.pf-dot { flex: none; width: .4375rem; height: .4375rem; border-radius: 50%; background: var(--pf-rose); }

/* Side */
.pf-meters { display: grid; gap: .875rem; margin: 0; padding: 0; list-style: none; }
.pf-meters li { display: flex; align-items: center; gap: .75rem; }
.pf-meter { display: grid; flex: 1; gap: .375rem; min-width: 0; }
.pf-meter > span:first-child { display: flex; justify-content: space-between; gap: .5rem; font-size: .8125rem; }
.pf-meter b { font-weight: 600; color: var(--pf-ink); }
.pf-meter small { font-size: .75rem; color: var(--pf-muted); }
.pf-list { display: grid; margin: 0; }
.pf-list div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-width: 0; padding: .625rem 0; border-top: 1px solid var(--pf-line-soft); }
.pf-list div:first-child { padding-top: 0; border-top: 0; }
.pf-list dt { display: flex; flex: none; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--pf-muted); }
.pf-list dt .icon { width: .9375rem; height: .9375rem; color: var(--pf-violet); }
.pf-list dd { min-width: 0; margin: 0; overflow: hidden; font-size: .8125rem; font-weight: 600; color: var(--pf-ink); text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.pf-logout { margin: 1rem 0 0; }
.pf-logout .btn { height: 2.625rem; border-color: var(--pf-line); background: rgba(255, 255, 255, .8); }
.pf-logout .btn:hover { border-color: var(--pf-rose-line); background: var(--pf-rose-bg); color: var(--pf-rose); }
.pf-note { margin: 0; padding: 0 .25rem; font-size: .75rem; line-height: 1.55; color: var(--pf-subtle); }

@media (max-width: 1199.98px) {
    .pf-grid { grid-template-columns: minmax(0, 1fr); }
    .pf-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .pf-note { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
    .pf-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
    .pf-hero { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem; }
    .pf-hero-media img { width: 100%; height: 11rem; border-radius: 1rem; }
    .pf-side { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479.98px) {
    .pf-avatar { width: 3.25rem; height: 3.25rem; font-size: 1.0625rem; }
    .pf-who h1 { font-size: 1.375rem; }
    .pf-kpis { gap: .625rem; }
    .pf-kpi { flex-direction: column; align-items: flex-start; gap: .625rem; padding: .875rem; }
    .pf-kpi .pf-tile { width: 2.25rem; height: 2.25rem; }
    .pf-panel { padding: 1rem; }
    .pf-chart { gap: .375rem; }
}

/* ==========================================================================
   Property details: photos-first hero with a floating details card
   ========================================================================== */
.pd-hero { position: relative; margin-top: 1.25rem; }
.pd-hero .pd-gallery { height: clamp(22rem, 46vw, 36rem); margin-top: 0; }
.pd-hero .pd-gallery::after {
    /* soft shade at the bottom so the floating card sits on the photos cleanly */
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    border-radius: 0 0 var(--r-panel) var(--r-panel);
    background: linear-gradient(180deg, transparent, rgba(15, 15, 20, .28));
    pointer-events: none;
}
.pd-hero .pd-gallery-all { top: 1rem; bottom: auto; }
.pd-hero-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    height: 2rem;
    padding: 0 .875rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--c-ink);
    pointer-events: none;
}

.pd-card {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem 2.5rem;
    margin: -5.5rem clamp(.75rem, 2.5vw, 2rem) 0;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(231, 232, 235, .9);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 1.75rem 3.5rem -2rem rgba(20, 30, 50, .45), 0 .125rem .5rem rgba(20, 30, 50, .04);
}
.pd-card-main { min-width: 0; }
.pd-card .pd-eyebrow { margin-bottom: .75rem; }
.pd-chip {
    display: inline-flex;
    align-items: center;
    height: 1.75rem;
    padding: 0 .75rem;
    border-radius: 99px;
    background: var(--c-dark);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-white);
}
.pd-chip.is-soft { background: var(--c-field); color: var(--c-text); }
.pd-card .pd-title { margin-bottom: .5rem; }
.pd-card-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; text-align: right; }
.pd-card .pd-actions { margin-top: 1rem; }
.pd-card .pd-actions .btn-dark .icon { width: 1rem; height: 1rem; }

.pd-quick {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 1.125rem 0 0;
    border-top: 1px solid var(--c-line);
    list-style: none;
}
.pd-quick li { display: flex; align-items: center; gap: .75rem; min-width: 0; padding: 0 1rem; }
.pd-quick li:first-child { padding-left: 0; }
.pd-quick li + li { border-left: 1px solid var(--c-line); }
.pd-quick .icon { flex: none; width: 2.25rem; height: 2.25rem; padding: .5rem; border-radius: .75rem; background: var(--c-field); color: var(--c-ink); }
.pd-quick span { display: grid; min-width: 0; }
.pd-quick b { overflow: hidden; font-size: var(--fs-base); font-weight: 600; color: var(--c-ink); text-overflow: ellipsis; white-space: nowrap; }
.pd-quick small { overflow: hidden; font-size: var(--fs-xs); color: var(--c-muted); text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 991.98px) {
    .pd-card { grid-template-columns: minmax(0, 1fr); margin-top: -4rem; }
    .pd-card-side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; text-align: left; }
    .pd-card-side .pd-price-label { width: 100%; }
    .pd-card .pd-actions { margin-top: 0; }
    .pd-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
    .pd-quick li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 767.98px) {
    .pd-hero .pd-gallery { height: auto; }
    .pd-hero .pd-gallery-all { top: auto; bottom: 4.25rem; right: .75rem; }
    .pd-card { margin: -2.5rem .5rem 0; padding: 1.25rem; }
    .pd-card .pd-actions { width: 100%; }
    .pd-card .pd-actions .btn { flex: 1; }
    .pd-quick li { gap: .5rem; padding: 0 .625rem; }
    .pd-quick .icon { width: 1.875rem; height: 1.875rem; padding: .4375rem; border-radius: .625rem; }
    .pd-quick b, .pd-quick small { white-space: normal; overflow-wrap: anywhere; }
    .pd-quick b { font-size: var(--fs-md); }
}

/* ---------- Property hero v2: full-width photos, colour accents ---------- */
.pd-hero {
    --pd-sky: #2f6fb3;   --pd-sky-soft: #e8f1fb;
    --pd-green: #1f8a5b; --pd-green-soft: #e3f5ec;
    --pd-amber: #b86e00; --pd-amber-soft: #fff1dc;
    --pd-violet: #6a4fd8; --pd-violet-soft: #efeafe;
    margin-top: 1rem;
    padding-bottom: .5rem;
    background: linear-gradient(180deg, var(--pd-sky-soft) 0%, rgba(232, 241, 251, .4) 70%, var(--c-white) 100%);
}
/* Edge to edge: no outer rounding, thin gaps between tiles */
.pd-hero .pd-gallery { height: clamp(24rem, 50vw, 40rem); gap: .3125rem; border-radius: 0; }
.pd-hero .pd-shot,
.pd-hero .pd-shot.is-main,
.pd-hero .pd-shot:nth-child(n) { border-radius: 0; }
.pd-hero .pd-gallery::after { border-radius: 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(12, 22, 40, .38)); }
.pd-hero .pd-gallery-all { top: 1.25rem; right: var(--gutter); }
.pd-hero .pd-hero-badge {
    top: 1.25rem;
    left: var(--gutter);
    gap: .5rem;
    height: 2.125rem;
    padding: 0 1rem 0 .875rem;
    background: linear-gradient(135deg, #2f6fb3, #4f8fd6);
    backdrop-filter: none;
    box-shadow: 0 .5rem 1.25rem -.5rem rgba(47, 111, 179, .7);
    color: var(--c-white);
}
.pd-hero .pd-hero-badge.is-rent { background: linear-gradient(135deg, #1f8a5b, #34b27a); box-shadow: 0 .5rem 1.25rem -.5rem rgba(31, 138, 91, .7); }
.pd-hero .pd-hero-badge i { width: .4375rem; height: .4375rem; border-radius: 50%; background: var(--c-white); box-shadow: 0 0 0 .1875rem rgba(255, 255, 255, .3); }

/* Details card: accent strip on top, roomier spacing */
.pd-hero .pd-card { overflow: hidden; margin-top: -6.5rem; padding: 1.75rem 2rem 1.5rem; }
.pd-hero .pd-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #2f6fb3, #34b27a 55%, #f0a23a); }
.pd-hero .pd-card .pd-title { font-size: clamp(1.875rem, 1.3rem + 1.5vw, 2.625rem); }
.pd-hero .pd-loc .icon { color: var(--pd-sky); }
.pd-hero .pd-price-label { color: var(--pd-sky); font-weight: 600; }
.pd-hero .price-lg { font-size: 2rem; }

.pd-chip { gap: .375rem; }
.pd-chip .icon { width: .875rem; height: .875rem; }
.pd-chip.is-sky { background: var(--pd-sky-soft, #e8f1fb); color: var(--pd-sky, #2f6fb3); }
.pd-chip.is-amber { background: var(--pd-amber-soft, #fff1dc); color: var(--pd-amber, #b86e00); }

.pd-hero .pd-actions .btn-dark { border-color: transparent; background: linear-gradient(135deg, #2f6fb3, #4f8fd6); box-shadow: 0 .625rem 1.25rem -.625rem rgba(47, 111, 179, .8); }
.pd-hero .pd-actions .btn-dark:hover { background: linear-gradient(135deg, #285f9a, #447fc2); }

/* Quick facts: each with its own soft colour */
.pd-hero .pd-quick { padding-top: 1.25rem; }
.pd-quick li.is-sky .icon    { background: var(--pd-sky-soft);    color: var(--pd-sky); }
.pd-quick li.is-green .icon  { background: var(--pd-green-soft);  color: var(--pd-green); }
.pd-quick li.is-amber .icon  { background: var(--pd-amber-soft);  color: var(--pd-amber); }
.pd-quick li.is-violet .icon { background: var(--pd-violet-soft); color: var(--pd-violet); }

@media (max-width: 991.98px) {
    .pd-hero .pd-card { margin-top: -4.5rem; padding: 1.5rem 1.5rem 1.25rem; }
}
@media (max-width: 767.98px) {
    .pd-hero .pd-gallery { height: auto; aspect-ratio: 4 / 3; }
    .pd-hero .pd-hero-badge { top: .875rem; left: 1rem; }
    .pd-hero .pd-gallery-all { top: auto; right: 1rem; bottom: 3.25rem; }
    .pd-hero .pd-card { margin: -2.25rem 0 0; padding: 1.375rem 1.125rem 1.125rem; }
    .pd-hero .price-lg { font-size: 1.75rem; }
}

/* ---------- Property hero v3: light glass controls, calmer type ---------- */
/* Frosted glass pills over the photo: no dots, borders or heavy shadows */
.pd-hero .pd-hero-badge,
.pd-hero .pd-gallery-all {
    height: 2rem;
    padding: 0 .875rem;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: none;
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: .01em;
    color: var(--c-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.pd-hero .pd-hero-badge { gap: 0; }
.pd-hero .pd-gallery-all { gap: .375rem; }
.pd-hero .pd-gallery-all .icon { width: .875rem; height: .875rem; }
.pd-hero .pd-gallery-all:hover { background: rgba(255, 255, 255, .34); }

/* Card: no accent strip, softer edge */
.pd-hero .pd-card::before { content: none; }
.pd-hero .pd-card { border-color: var(--c-line); box-shadow: 0 1.5rem 3rem -2rem rgba(20, 30, 50, .35); }
.pd-hero .pd-card .pd-title { font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2rem); letter-spacing: -.025em; }
.pd-hero .price-lg { font-size: 1.625rem; }
.pd-hero .pd-price-label { font-size: .6875rem; font-weight: 600; }

/* Tags: small, flat tints */
.pd-hero .pd-card .pd-eyebrow { gap: .375rem; }
.pd-hero .pd-chip,
.pd-hero .pd-card .tag { height: 1.5rem; padding: 0 .625rem; border: 0; border-radius: 99px; font-size: var(--fs-xs); font-weight: 500; }
.pd-hero .pd-chip .icon,
.pd-hero .pd-card .tag .icon { width: .75rem; height: .75rem; }

/* Quick facts: lighter tiles */
.pd-hero .pd-quick .icon { width: 2rem; height: 2rem; padding: .5rem; border-radius: .625rem; }
.pd-hero .pd-quick b { font-size: var(--fs-md); }

/* Buttons: flat, no glow */
.pd-hero .pd-actions .btn-dark { box-shadow: none; }

@media (max-width: 767.98px) {
    .pd-hero .pd-hero-badge, .pd-hero .pd-gallery-all { height: 1.875rem; font-size: var(--fs-xs); }
    .pd-hero .price-lg { font-size: 1.5rem; }
}
/* Smoky glass reads on light and dark photos alike */
.pd-hero .pd-hero-badge,
.pd-hero .pd-gallery-all { background: rgba(16, 20, 28, .34); text-shadow: none; }
.pd-hero .pd-gallery-all:hover { background: rgba(16, 20, 28, .5); }

/* ---------- Owner view of their own listing (property.php) ---------- */
.pd-owner-bar { display: flex; align-items: center; gap: .75rem; margin: 0 0 1rem; padding: .625rem .625rem .625rem .875rem; border: 1px solid rgba(46, 125, 87, .18); border-radius: 999px; background: var(--c-green-soft); }
.pd-owner-dot { display: grid; flex: none; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--c-green); color: var(--c-white); }
.pd-owner-dot .icon { width: .875rem; height: .875rem; }
.pd-owner-bar p { flex: 1; min-width: 0; margin: 0; font-size: var(--fs-sm); color: var(--c-green); }
.pd-owner-bar b { font-weight: 600; }
.pd-owner-bar .btn { flex: none; gap: .375rem; }
.pd-owner-bar .btn .icon { width: .875rem; height: .875rem; }
@media (max-width: 560px) {
    .pd-owner-bar { border-radius: 1rem; }
    .pd-owner-bar .btn span { display: none; }
}
.pd-own { display: grid; gap: .75rem; }
.pd-own-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; overflow: hidden; border-radius: var(--r-field); background: #f7f8f9; list-style: none; text-align: center; }
.pd-own-stats li { display: grid; gap: .125rem; padding: .75rem .25rem; }
.pd-own-stats li + li { border-left: 1px solid var(--c-line); }
.pd-own-stats b { font-size: var(--fs-lg); font-weight: 600; line-height: 1.2; color: var(--c-ink); }
.pd-own-stats span { font-size: var(--fs-xs); color: var(--c-subtle); }
.pd-own-flags { display: grid; margin: 0; padding: 0; list-style: none; }
.pd-own-flags li { display: flex; align-items: center; gap: .5rem; padding: .5rem 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); color: var(--c-muted); }
.pd-own-flags li:last-child { border-bottom: 0; }
.pd-own-flags .icon { flex: none; width: .9375rem; height: .9375rem; color: var(--c-ink); }
.pd-own-flags i { width: .5rem; height: .5rem; margin-left: auto; border-radius: 50%; background: var(--c-line); }
.pd-own-flags i.is-on { background: var(--c-green); }
.pd-own-label { margin: .25rem 0 -.25rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-subtle); }
.pd-own-enq { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.pd-own-enq li > div { display: flex; align-items: center; gap: .625rem; padding: .375rem .5rem; margin: 0 -.5rem; border-radius: var(--r-field); color: inherit; transition: background-color .2s; }
.pd-own-enq .lister-avatar { flex: none; width: 2rem; height: 2rem; font-size: var(--fs-xs); }
.pd-own-enq span:not(.lister-avatar) { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.pd-own-enq b { overflow: hidden; font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); text-overflow: ellipsis; white-space: nowrap; }
.pd-own-enq small { font-size: var(--fs-xs); color: var(--c-subtle); }
.pd-own-enq em { flex: none; padding: .125rem .5rem; border-radius: 99px; background: #fdecea; font-size: .6875rem; font-style: normal; font-weight: 600; color: #c0392b; }
.pd-own-note { margin: 0; padding-top: .75rem; border-top: 1px solid var(--c-line); font-size: var(--fs-xs); line-height: 1.5; color: var(--c-subtle); }
.pd-own .btn { gap: .5rem; }
.pd-own .btn .icon { width: 1rem; height: 1rem; }
