﻿/* Brand fonts loaded locally to make typography deterministic in production. */
@font-face {
    font-family: "Antonio";
    src: url("/assets/fonts/antonio/Antonio-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Antonio";
    src: url("/assets/fonts/antonio/Antonio-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Antonio";
    src: url("/assets/fonts/antonio/Antonio-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src:
        url("/assets/fonts/poppins/Poppins-Light.woff2") format("woff2"),
        url("/assets/fonts/poppins/Poppins-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src:
        url("/assets/fonts/poppins/Poppins-Regular.woff2") format("woff2"),
        url("/assets/fonts/poppins/Poppins-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src:
        url("/assets/fonts/poppins/Poppins-Medium.woff2") format("woff2"),
        url("/assets/fonts/poppins/Poppins-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src:
        url("/assets/fonts/poppins/Poppins-SemiBold.woff2") format("woff2"),
        url("/assets/fonts/poppins/Poppins-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
:root {
    --font-heading: "Antonio", "Poppins", system-ui, sans-serif;
    --font-body: "Poppins", system-ui, sans-serif;
    --bg: #fdfbf7;
    --bg-deep: #f8f4ed;
    --surface: rgba(255, 254, 251, 0.96);
    --surface-solid: #fffefb;
    --surface-soft: #fbf7f1;
    --surface-strong: #ffffff;
    --dark: #23282a;
    --dark-soft: #34393b;
    --text: #222728;
    --muted: #6d706b;
    --line: rgba(35, 40, 42, 0.10);
    --line-strong: rgba(35, 40, 42, 0.18);
    --brand: #c09866;
    --brand-deep: #946a3d;
    --brand-soft: rgba(192, 152, 102, 0.16);
    --brand-strong: #b28452;
    --success: #2f7c52;
    --danger: #b53d31;
    --shadow-xl: 0 28px 80px rgba(28, 33, 35, 0.11);
    --shadow-lg: 0 20px 54px rgba(28, 33, 35, 0.08);
    --shadow-md: 0 12px 28px rgba(28, 33, 35, 0.07);
    --radius-xl: 12px;
    --radius-lg: 8px;
    --radius-md: 6px;
    --radius-sm: 4px;
    --container: 1280px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.55;
    background:
        radial-gradient(circle at top left, rgba(192, 152, 102, 0.08), transparent 24%),
        linear-gradient(180deg, #fffefb 0%, var(--bg) 44%, #f9f5ee 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 100% 0, rgba(35, 40, 42, 0.025), transparent 18%),
        radial-gradient(circle at 0 100%, rgba(192, 152, 102, 0.05), transparent 20%);
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

main {
    padding-bottom: 88px;
}

.container {
    width: min(var(--container), calc(100% - 24px));
    margin: 0 auto;
}

.site-topbar {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(35, 40, 42, 0.08);
    background: rgba(251, 247, 241, 0.92);
    backdrop-filter: blur(18px);
}

.nav-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    min-height: 0;
    padding: 14px 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.brand-dot {
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--brand), var(--brand-deep));
    box-shadow: 0 0 0 8px rgba(192, 152, 102, 0.14);
}

.main-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(35, 40, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--text);
    background: rgba(192, 152, 102, 0.14);
    border-color: rgba(192, 152, 102, 0.28);
}

.nav-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.nav-link-soft,
.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.16s ease, box-shadow 0.18s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.nav-link-soft {
    background: rgba(255, 255, 255, 0.78);
    border-color: var(--line);
    color: var(--text);
}

.nav-cta,
.button-primary {
    background: linear-gradient(135deg, #cca06d 0%, #b3844f 100%);
    color: #fff;
    box-shadow: 0 16px 34px rgba(179, 132, 79, 0.22);
}

.button-dark {
    background: var(--dark);
    color: #fff;
    box-shadow: 0 16px 30px rgba(35, 40, 42, 0.18);
}

.button-light {
    background: #fff;
    color: var(--dark);
}

.button-ghost {
    background: rgba(255, 255, 255, 0.74);
    border-color: var(--line-strong);
    color: var(--text);
}

.nav-link-soft:hover,
.nav-cta:hover,
.button:hover {
    transform: translateY(-1px);
}

.button-block {
    width: 100%;
}

.flash-wrap {
    padding-top: 16px;
}

.flash {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.flash-success {
    background: rgba(47, 124, 82, 0.08);
    color: var(--success);
}

.flash-error {
    background: rgba(181, 61, 49, 0.08);
    color: var(--danger);
}

.hero-panel,
.page-hero {
    padding: 28px 0 10px;
}

.hero-grid,
.listing-layout,
.property-layout,
.contact-layout,
.valuation-layout,
.about-grid,
.dual-cta,
.value-strip,
.city-cloud,
.card-grid,
.property-details-grid,
.hero-stats,
.field-row,
.filters-inline,
.estimate-grid {
    display: grid;
    gap: 16px;
}

.hero-grid,
.listing-layout,
.property-layout,
.contact-layout,
.valuation-layout,
.about-grid,
.dual-cta,
.value-strip,
.city-cloud,
.card-grid,
.property-details-grid,
.hero-stats,
.field-row,
.filters-inline {
    grid-template-columns: 1fr;
}

.hero-panel h1,
.page-hero h1 {
    margin: 12px 0 14px;
    font-family: var(--font-heading);
    font-size: clamp(36px, 11vw, 56px);
    line-height: 0.94;
    letter-spacing: -0.04em;
}

.page-hero h1 {
    max-width: 920px;
    font-size: clamp(34px, 10vw, 52px);
}

.page-hero__narrow {
    max-width: none;
}

.hero-copy {
    max-width: 760px;
}

/* Shared inner-page intros should align with the full content width, not sit in a narrower text column. */
.page-hero p {
    max-width: none;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-deep);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
}

.hero-highlights,
.active-filters,
.feature-cloud,
.video-links,
.hero-search__suggestions,
.spotlight-actions,
.footer-links,
.hero-search__top,
.field-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-highlights {
    margin-top: 18px;
}

.hero-highlights span,
.active-filters span {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(192, 152, 102, 0.12);
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 800;
}

.hero-search,
.spotlight-card,
.filters-panel,
.detail-panel,
.contact-card,
.contact-info-card,
.estimate-card,
.form-panel,
.cta-block,
.property-card,
.results-bar,
.value-strip article,
.city-pill {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.hero-search {
    margin-top: 24px;
    padding: 16px;
}

.hero-search__top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.hero-search__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f1e5d8;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-search__tab--active,
.hero-search__tab:hover {
    background: var(--dark);
    color: #fff;
}

.hero-search__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: end;
}

.hero-search__suggestions {
    margin-top: 14px;
    font-size: 12px;
    color: var(--muted);
}

.hero-search__suggestions a {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    color: var(--text);
    font-weight: 700;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-group--stacked label,
.field-group label {
    font-size: 13px;
    font-weight: 800;
    color: #4e504c;
}

.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    min-height: 50px;
    padding: 14px 16px;
    border: 1px solid rgba(35, 40, 42, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field-group textarea {
    min-height: 132px;
    resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: none;
    border-color: rgba(192, 152, 102, 0.78);
    box-shadow: 0 0 0 4px rgba(192, 152, 102, 0.14);
}

.field-group--wide {
    flex: 1 1 100%;
}

.hero-stats {
    margin-top: 20px;
}

.hero-stats div {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(35, 40, 42, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hero-stats strong {
    display: block;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hero-stats span {
    color: var(--muted);
    font-size: 14px;
}

.hero-aside {
    min-width: 0;
}

.hero-visuals {
    position: relative;
    display: grid;
    gap: 14px;
}

.hero-visual-card {
    position: relative;
    min-height: 240px;
    border-radius: 26px;
    overflow: hidden;
    background: #ddd;
    box-shadow: var(--shadow-xl);
}

.hero-visual-card:not(:first-child) {
    display: none;
}

.hero-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 22, 24, 0.04), rgba(20, 22, 24, 0.74));
}

.hero-visual-card__content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
    color: #fff;
}

.hero-visual-card__content span,
.spotlight-label {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-visual-card__content strong {
    display: block;
    margin-top: 10px;
    font-size: 24px;
    line-height: 1.04;
}

.hero-visual-card__content small {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
}

.spotlight-card {
    padding: 22px;
    background:
        linear-gradient(155deg, rgba(192, 152, 102, 0.18), rgba(255, 255, 255, 0.96) 52%),
        #fff;
}

.spotlight-card--floating {
    grid-column: auto;
}

.spotlight-label {
    color: var(--brand-deep);
    background: rgba(255, 255, 255, 0.8);
}

.spotlight-card h2,
.section-head h2,
.detail-panel h2,
.contact-card h2,
.estimate-card h2,
.cta-block h2,
.form-panel h2 {
    margin: 14px 0 10px;
    font-family: var(--font-heading);
    font-size: clamp(28px, 8vw, 42px);
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.spotlight-card p,
.cta-block p,
.detail-panel p,
.contact-card p,
.estimate-card p,
.footer-copy,
.formatted-content,
.value-strip p {
    color: var(--muted);
}

.section {
    padding: 16px 0 0;
}

.section-soft {
    padding: 24px 0 0;
}

.section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
}

.section-head h2 {
    margin: 0;
}

.section-link {
    font-weight: 900;
    color: var(--brand-deep);
}

.card-grid {
    grid-template-columns: 1fr;
}

.property-card {
    overflow: hidden;
}

.property-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1.06;
    background: linear-gradient(180deg, rgba(192, 152, 102, 0.12), rgba(35, 40, 42, 0.12));
}

.property-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 22, 24, 0.04), rgba(20, 22, 24, 0.78));
}

.property-card__placeholder,
.property-card__placeholder--large {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 240px;
    background:
        linear-gradient(135deg, rgba(192, 152, 102, 0.18), rgba(35, 40, 42, 0.08)),
        var(--surface-soft);
    color: var(--brand-deep);
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
}

.property-card__placeholder--large {
    min-height: 320px;
    border-radius: 18px;
}

.property-card__badges,
.property-card__overlay {
    position: absolute;
    z-index: 2;
}

.property-card__badges {
    top: 14px;
    left: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.property-card__badges span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 900;
}

.property-card__overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
    color: #fff;
}

.property-card__price {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.property-card__price--overlay {
    font-size: 28px;
}

.property-card__overlay-meta {
    margin-top: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
}

.property-card__body {
    padding: 18px;
}

.property-card h3 {
    margin: 0 0 8px;
    font-size: 23px;
    line-height: 1.1;
}

.property-card__location,
.property-card__meta,
.property-card__excerpt {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.property-card__meta {
    margin-top: 8px;
    font-weight: 800;
}

.property-card__excerpt {
    margin-top: 10px;
}

.property-card__footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.property-card__footer span {
    color: var(--muted);
    font-weight: 800;
}

.property-card__footer a {
    color: var(--brand-deep);
    font-weight: 900;
}

.empty-state {
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1px dashed var(--line-strong);
    background: rgba(255, 255, 255, 0.64);
    color: var(--muted);
}

.value-strip article,
.city-pill,
.cta-block,
.detail-panel,
.contact-card,
.contact-info-card,
.estimate-card,
.form-panel,
.filters-panel {
    padding: 20px;
}

.value-strip h3 {
    margin: 12px 0 10px;
    font-size: 20px;
}

.city-pill strong {
    display: block;
    margin-bottom: 6px;
    font-size: 20px;
}

.city-pill span {
    color: var(--muted);
    font-size: 14px;
}

.cta-block--dark {
    background:
        radial-gradient(circle at top left, rgba(192, 152, 102, 0.22), transparent 30%),
        linear-gradient(160deg, #2d3335, #202426);
    color: #fff;
}

.cta-block--dark p,
.cta-block--dark .eyebrow {
    color: rgba(255, 255, 255, 0.76);
}

.cta-block--dark .eyebrow::before {
    background: currentColor;
}

.filters-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 252, 247, 0.98)),
        #fff;
}

.filters-form,
.stack-form,
.valuation-form,
.contact-side,
.valuation-side,
.contact-points,
.details-list {
    display: grid;
    gap: 14px;
}

.filters-actions {
    display: grid;
    gap: 10px;
}

.results-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.results-bar span {
    color: var(--muted);
    font-size: 14px;
}

.pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 22px;
}

.pagination-link,
.pagination-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    font-weight: 900;
}

.pagination-link--disabled {
    color: rgba(34, 39, 40, 0.35);
}

.property-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.property-hero__price {
    font-size: clamp(30px, 9vw, 46px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

.property-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.property-gallery img {
    width: 100%;
    aspect-ratio: 1.14;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff;
}

.property-gallery img:first-child {
    min-height: 240px;
}

.details-list div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(35, 40, 42, 0.08);
}

.details-list span,
.contact-points span,
.estimate-grid span {
    color: var(--muted);
    font-size: 13px;
}

.details-list strong {
    text-align: left;
}

.feature-cloud span {
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--surface-soft);
    font-weight: 800;
}

.video-links a {
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(192, 152, 102, 0.12);
    color: var(--brand-deep);
    font-weight: 900;
}

.field-toggles {
    margin: 2px 0 4px;
}

.field-toggles label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 999px;
    background: var(--surface-soft);
    font-weight: 800;
}

.field-toggles input {
    accent-color: var(--brand-deep);
}

.contact-info-card--accent {
    background: linear-gradient(160deg, var(--brand), #9d7748);
    color: #fff;
}

.contact-info-card--accent p,
.contact-info-card--accent .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.contact-info-card--accent .eyebrow::before,
.cta-block--dark .eyebrow::before {
    background: currentColor;
}

.estimate-card--success {
    background: rgba(47, 124, 82, 0.08);
}

.estimate-card--result {
    background:
        linear-gradient(180deg, rgba(192, 152, 102, 0.14), rgba(255, 255, 255, 0.98)),
        #fff;
}

.estimate-grid {
    grid-template-columns: 1fr;
    margin: 18px 0;
}

.estimate-grid div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(35, 40, 42, 0.08);
}

.estimate-grid strong {
    font-size: 18px;
    text-align: right;
}

.estimate-confidence,
.estimate-summary {
    margin: 0;
}

.plain-list {
    margin: 16px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.plain-list li + li {
    margin-top: 8px;
}

.site-footer {
    padding: 34px 0 44px;
    margin-top: 42px;
    border-top: 1px solid rgba(35, 40, 42, 0.08);
    background: rgba(255, 255, 255, 0.42);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
}

.footer-copy {
    max-width: 460px;
    margin: 8px 0 0;
}

.footer-links a {
    color: var(--muted);
    font-weight: 800;
}

@media (min-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 36px));
    }

    .nav-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-copy,
    .page-hero p {
        font-size: 16px;
    }

    .hero-search__row,
    .field-row,
    .filters-inline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stats,
    .value-strip,
    .city-cloud,
    .card-grid,
    .property-details-grid,
    .about-grid,
    .dual-cta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-visual-card:not(:first-child) {
        display: block;
    }

    .hero-visuals {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-visual-card:first-child,
    .spotlight-card--floating {
        grid-column: 1 / -1;
    }

    .property-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-gallery img:first-child {
        grid-column: 1 / -1;
        aspect-ratio: 1.65;
        min-height: 320px;
    }

    .property-card__footer,
    .pagination-wrap,
    .results-bar,
    .property-hero,
    .footer-grid,
    .section-head {
        flex-direction: row;
        align-items: center;
    }

    .results-bar,
    .property-hero,
    .section-head {
        justify-content: space-between;
    }

    .pagination-wrap {
        justify-content: center;
    }
}

@media (min-width: 860px) {
    .site-topbar {
        display: block;
        background: var(--dark);
        color: rgba(255, 255, 255, 0.72);
        font-size: 12px;
        letter-spacing: 0.04em;
    }

    .site-topbar__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        min-height: 38px;
        flex-wrap: wrap;
    }

    .site-topbar__item {
        white-space: nowrap;
    }

    .nav-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        min-height: 86px;
        padding: 0;
    }

    .brand-mark {
        flex-shrink: 0;
    }

    .main-nav {
        flex: 1;
        align-items: center;
        justify-content: center;
        gap: 12px;
        overflow: visible;
        padding-bottom: 0;
    }

    .main-nav a {
        background: transparent;
        border-color: transparent;
        padding: 0 4px;
        min-height: 0;
        border-radius: 0;
    }

    .main-nav a.is-active,
    .main-nav a:hover {
        background: transparent;
        border-color: transparent;
    }

    .main-nav a.is-active {
        box-shadow: inset 0 -2px 0 rgba(192, 152, 102, 0.8);
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
    }

    .hero-panel,
    .page-hero {
        padding-top: 42px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
        gap: 28px;
        align-items: stretch;
    }

    .listing-layout {
        grid-template-columns: minmax(290px, 330px) minmax(0, 1fr);
        align-items: start;
    }

    .property-layout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
        align-items: start;
    }

    .contact-layout,
    .valuation-layout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
        align-items: start;
    }

    .dual-cta,
    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filters-panel,
    .sticky-panel {
        position: sticky;
        top: 106px;
    }

    .hero-search__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .details-list div {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
    }

    .details-list strong {
        text-align: right;
    }
}

@media (min-width: 1120px) {
    .container {
        width: min(var(--container), calc(100% - 48px));
    }

    .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .value-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .city-cloud {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hero-search__row {
        grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 1.5fr) auto;
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* Brand refinement: cleaner high-end header, editorial home hero, real logo usage */
.site-header {
    padding: 14px 0 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
}

.route-inner .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 14px 0;
}

.route-home .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding-top: 16px;
}

.site-main {
    position: relative;
}

.site-header__shell {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 26px;
    border: 1px solid rgba(35, 40, 42, 0.08);
    background: rgba(255, 252, 247, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 56px rgba(24, 24, 24, 0.09);
}

.route-home .site-header__shell {
    background: linear-gradient(180deg, rgba(14, 14, 14, 0.68), rgba(14, 14, 14, 0.4));
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.brand-mark__image {
    display: block;
    width: min(220px, 62vw);
    height: auto;
}

.main-nav {
    gap: 8px;
}

.main-nav a {
    min-height: 40px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(35, 40, 42, 0.08);
    background: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.main-nav a.is-active,
.main-nav a:hover {
    background: rgba(192, 152, 102, 0.14);
    border-color: rgba(192, 152, 102, 0.26);
}

.route-home .main-nav a {
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.route-home .main-nav a.is-active,
.route-home .main-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
}

.nav-link-soft,
.nav-cta {
    min-height: 46px;
    padding: 11px 18px;
}

.route-home .nav-link-soft {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.route-home .nav-cta {
    box-shadow: 0 20px 36px rgba(179, 132, 79, 0.24);
}

.footer-brand-block {
    display: grid;
    gap: 16px;
}

.footer-brand-logo {
    display: block;
    width: min(260px, 72vw);
    height: auto;
}

.home-hero {
    position: relative;
    min-height: 100svh;
    padding: 136px 0 38px;
    color: #fff;
    overflow: hidden;
}

.home-hero__media,
.home-hero__veil {
    position: absolute;
    inset: 0;
}

.home-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero__veil {
    background:
        linear-gradient(180deg, rgba(7, 7, 7, 0.68) 0%, rgba(7, 7, 7, 0.45) 38%, rgba(7, 7, 7, 0.76) 100%),
        radial-gradient(circle at top left, rgba(200, 157, 104, 0.2), transparent 28%);
}

.home-hero__inner,
.home-hero__stats-wrap {
    position: relative;
    z-index: 2;
}

.home-hero__inner {
    display: grid;
    gap: 30px;
    align-items: center;
}

.home-hero__content {
    max-width: 780px;
}

.home-hero h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    max-width: 13ch;
    margin: 16px 0 14px;
    font-size: clamp(46px, 12vw, 86px);
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.hero-copy--light {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 300;
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.82);
}

.eyebrow--light::before {
    background: currentColor;
}

.hero-highlights--light span {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button-ghost--light {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.button-ghost--light:hover {
    background: rgba(255, 255, 255, 0.14);
}

.home-hero__search-block {
    max-width: 580px;
}

.home-hero__search-head {
    margin-bottom: 14px;
}

.home-hero__search-head p {
    max-width: 34ch;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.home-hero .hero-search {
    margin-top: 0;
    padding: 16px;
    background: rgba(255, 249, 243, 0.96);
    border-color: rgba(35, 40, 42, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.home-hero__stats-wrap {
    margin-top: 22px;
}

.hero-stats--floating {
    padding: 10px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 12, 12, 0.3);
    backdrop-filter: blur(14px);
}

.hero-stats--floating div {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.hero-stats--floating strong {
    color: #fff;
}

.hero-stats--floating span {
    color: rgba(255, 255, 255, 0.72);
}

.section-lifted {
    position: relative;
    z-index: 3;
    margin-top: 0;
    padding-top: 42px;
}

.section {
    padding-top: 34px;
}

.section-soft {
    padding-top: 42px;
}

.section-head {
    margin-bottom: 24px;
}

.property-card,
.detail-panel,
.contact-card,
.contact-info-card,
.estimate-card,
.form-panel,
.filters-panel,
.value-strip article,
.city-pill,
.cta-block,
.results-bar,
.hero-search {
    border-color: rgba(35, 40, 42, 0.07);
    box-shadow: 0 22px 60px rgba(23, 23, 23, 0.06);
}

.property-card__body {
    padding: 22px;
}

.property-card h3 {
    font-size: 24px;
}

.site-footer {
    margin-top: 72px;
    padding: 46px 0 58px;
    background: #0d0d0d;
    border-top: 1px solid rgba(200, 157, 104, 0.16);
}

.site-footer .footer-copy,
.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .footer-links a:hover {
    color: #fff;
}

@media (min-width: 860px) {
    .site-header__shell {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 22px;
        padding: 16px 20px;
        border-radius: 30px;
    }

    .brand-mark__image {
        width: 238px;
    }

    .main-nav {
        flex: 1;
        justify-content: center;
        gap: 10px;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .home-hero {
        padding: 172px 0 54px;
    }

    /* Tablet and desktop: give the editorial column more air from the left edge. */
    .home-hero__inner {
        grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
        gap: 44px;
    }

    .home-hero__content {
        padding-inline-start: clamp(10px, 2.8vw, 42px);
    }

    .home-hero h1 {
        max-width: 13.5ch;
    }

    .hero-copy--light {
        max-width: 48ch;
    }

    .home-hero__stats-wrap {
        margin-top: 28px;
    }

    .section-lifted {
        padding-top: 54px;
    }
}

@media (min-width: 1120px) {
    .route-home .site-header {
        padding-top: 22px;
    }

    .site-header__shell {
        padding: 18px 22px;
    }

    .brand-mark__image {
        width: 268px;
    }

    .home-hero__inner {
        grid-template-columns: minmax(0, 1.14fr) minmax(420px, 0.86fr);
        gap: 52px;
    }

    .home-hero__content {
        padding-inline-start: clamp(18px, 3vw, 52px);
    }

    .home-hero__stats-wrap {
        max-width: 920px;
    }
}

/* Hero refinement: tighter scale, better rhythm, no horizontal overflow */
html,
body {
    overflow-x: hidden;
}

body,
.site-shell,
.site-main,
.home-hero,
.home-hero__inner,
.home-hero__search-block,
.hero-search,
.site-header__shell {
    overflow-x: clip;
}

.container,
.home-hero__content,
.home-hero__search-block,
.main-nav,
.nav-actions,
.hero-search__row,
.hero-stats,
.card-grid,
.value-strip,
.city-cloud,
.dual-cta {
    min-width: 0;
}

.site-header {
    padding-top: 8px;
}

.site-header__shell {
    gap: 12px;
    padding: 11px 12px;
    border-radius: 16px;
}

.brand-mark__image {
    width: min(166px, 50vw);
}

.main-nav {
    gap: 6px;
}

.main-nav a {
    min-height: 34px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: 0.05em;
}

.nav-link-soft,
.nav-cta,
.button {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 12px;
}

.home-hero {
    min-height: auto;
    padding: 96px 0 18px;
}

.home-hero__inner {
    gap: 20px;
}

.home-hero__content {
    max-width: 100%;
    padding-inline-start: 0;
}

.home-hero h1 {
    max-width: none;
    margin: 8px 0 8px;
    font-size: clamp(30px, 7vw, 54px);
    line-height: 0.96;
    letter-spacing: -0.045em;
}

.hero-copy--light {
    max-width: none;
    font-size: 13px;
    line-height: 1.65;
}

.home-hero__actions {
    gap: 8px;
    margin-top: 14px;
}

.home-hero__search-block {
    max-width: 470px;
}

.home-hero__search-head {
    margin-bottom: 10px;
}

.home-hero__search-head p {
    max-width: none;
    font-size: 12px;
    line-height: 1.55;
}

.home-hero .hero-search {
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 249, 243, 0.78);
    backdrop-filter: blur(14px);
}

    .field-group input,
    .field-group select,
    .field-group textarea {
        min-height: 44px;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 13px;
}

.home-hero__stats-wrap {
    margin-top: 14px;
}

.hero-stats--floating {
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
}

.hero-stats--floating div {
    padding: 14px;
    border-radius: 12px;
}

.hero-stats strong {
    font-size: 22px;
}

.hero-stats span {
    font-size: 13px;
}

.section-lifted {
    padding-top: 26px;
}

.section {
    padding-top: 28px;
}

.section-soft {
    padding-top: 34px;
}

.section-head {
    gap: 8px;
    margin-bottom: 18px;
}

.section-head h2,
.detail-panel h2,
.contact-card h2,
.estimate-card h2,
.cta-block h2,
.form-panel h2 {
    font-size: clamp(24px, 6vw, 36px);
}

.property-card__body,
.value-strip article,
.city-pill,
.cta-block,
.detail-panel,
.contact-card,
.contact-info-card,
.estimate-card,
.form-panel,
.filters-panel {
    padding: 18px;
}

.property-card h3 {
    font-size: 21px;
}

.site-footer {
    margin-top: 56px;
    padding: 38px 0 44px;
}

.footer-brand-logo {
    width: min(220px, 66vw);
}

@media (min-width: 860px) {
    .site-header__shell {
        gap: 16px;
        padding: 12px 14px;
    }

    .brand-mark__image {
        width: 194px;
    }

    .main-nav a {
        font-size: 10px;
        padding: 0 9px;
    }

    .nav-link-soft,
    .nav-cta,
    .button {
        min-height: 42px;
        padding: 10px 15px;
        font-size: 12px;
    }

    .home-hero {
        padding: 126px 0 28px;
    }

    .home-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
        gap: 24px;
    }

    .home-hero h1 {
        font-size: clamp(38px, 5vw, 56px);
    }

    .hero-copy--light {
        font-size: 14px;
    }

    .home-hero__stats-wrap {
        margin-top: 14px;
    }
}

@media (min-width: 1120px) {
    .site-header__shell {
        padding: 13px 16px;
    }

    .brand-mark__image {
        width: 206px;
    }

    .home-hero {
        padding: 134px 0 32px;
    }

    .home-hero__inner {
        grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.76fr);
        gap: 26px;
    }
}

/* Refinement pass: mobile drawer, cleaner search form, tighter radii */
.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.site-header__panel {
    min-width: 0;
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(35, 40, 42, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span {
    width: 16px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

.hero-search__fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.hero-search__actions {
    display: flex;
    margin-top: 12px;
}

.hero-search__actions .button {
    width: 100%;
}

.hero-search,
.filters-panel,
.detail-panel,
.contact-card,
.contact-info-card,
.estimate-card,
.form-panel,
.cta-block,
.property-card,
.results-bar,
.value-strip article,
.city-pill,
.site-header__shell {
    border-radius: var(--radius-lg);
}

.hero-stats div,
.property-gallery img,
.property-card__placeholder--large,
.field-group input,
.field-group select,
.field-group textarea {
    border-radius: var(--radius-md);
}

.hero-stats--floating,
.home-hero .hero-search {
    border-radius: var(--radius-lg);
}

.hero-stats--floating div {
    border-radius: var(--radius-md);
}

@media (max-width: 859.98px) {
    body.has-open-menu {
        overflow: hidden;
    }

    .site-header,
    .route-home .site-header,
    .route-inner .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 90;
        padding-top: 8px;
    }

    .route-inner .site-main {
        padding-top: 92px;
    }

    .route-home .home-hero {
        padding-top: 90px;
    }

    .site-header__shell {
        gap: 10px;
        padding: 10px;
        border-radius: 14px;
    }

    .route-home .nav-toggle {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.14);
    }

    .site-header__panel {
        display: none;
        gap: 12px;
        padding-top: 10px;
        border-top: 1px solid rgba(35, 40, 42, 0.08);
    }

    .route-home .site-header__panel {
        border-top-color: rgba(255, 255, 255, 0.12);
    }

    .site-header.is-open .site-header__panel {
        display: grid;
    }

    .brand-mark__image {
        width: min(146px, 44vw);
    }

    .main-nav {
        display: grid;
        grid-template-columns: 1fr;
        overflow: visible;
        gap: 8px;
    }

    .main-nav a,
    .route-home .main-nav a {
        justify-content: flex-start;
        min-height: 40px;
        padding: 0 13px;
        font-size: 11px;
        border-radius: 10px;
    }

    .nav-actions {
        grid-template-columns: 1fr;
    }

    .home-hero__inner {
        gap: 16px;
    }

    .home-hero__search-block {
        max-width: none;
    }

    .home-hero .hero-search {
        padding: 11px;
        background: rgba(255, 249, 243, 0.74);
    }
}

@media (min-width: 640px) {
    .hero-search__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-search__fields .field-group--wide {
        grid-column: 1 / -1;
    }
}

@media (min-width: 860px) {
    .nav-toggle {
        display: none;
    }

    .site-header__shell {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 16px;
    }

    .site-header__panel {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .main-nav {
        flex: 1;
        overflow: visible;
    }

    .hero-search__actions .button {
        width: auto;
        min-width: 220px;
    }
}

@media (min-width: 1120px) {
    .hero-search__fields {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hero-search__fields .field-group--wide {
        grid-column: span 2;
    }
}

/* SEO landing sections: local area cards, FAQ blocks and shared CTA rows. */
.hero-copy--secondary {
    margin-top: 10px;
}

.page-intro-note {
    margin-bottom: 20px;
}

/* Section subtitles follow the same width rhythm as the surrounding container. */
.page-intro-note p,
.page-intro-note__text {
    max-width: none;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.page-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.page-cta-row--form {
    margin-top: 10px;
}

.area-interest-grid,
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.area-interest-card,
.faq-item {
    padding: 20px;
    border: 1px solid rgba(35, 40, 42, 0.07);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 22px 60px rgba(23, 23, 23, 0.06);
}

.area-interest-card h3,
.faq-item h3 {
    margin: 10px 0 10px;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(24px, 5vw, 32px);
    line-height: 1;
    letter-spacing: -0.03em;
}

.area-interest-card p,
.faq-item p {
    margin: 0;
    color: var(--muted);
}

.area-interest-card__footer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
}

.empty-state--wide {
    display: grid;
    gap: 12px;
}

.empty-state--wide p {
    margin: 0;
}

.button,
.nav-link-soft,
.nav-cta,
.main-nav a,
.field-group label,
.property-card__meta,
.property-card__footer span,
.property-card__footer a,
.section-link,
.footer-links a {
    font-weight: 500;
}

/* Price typography stays on the body font stack to preserve the euro symbol and tabular feel. */
.property-card__price,
.property-card__price--overlay,
.property-hero__price,
.results-bar strong,
.details-list strong {
    font-family: var(--font-body), "Segoe UI Symbol", sans-serif;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
    .area-interest-grid,
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .area-interest-card__footer {
        align-items: center;
    }
}

@media (min-width: 1120px) {
    .area-interest-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* Property page refinement: richer gallery, XML-backed facts and map integration. */
.property-page-head {
    padding-top: 8px;
    padding-bottom: 0;
}

.property-page-head__grid {
    display: grid;
    gap: 10px;
    align-items: start;
}

.property-page-head__main,
.property-page-head__aside,
.property-layout__main,
.property-detail-grid,
.property-map-grid,
.property-metric-grid,
.property-showcase__rail {
    display: grid;
    gap: 16px;
}

.property-page-head__location,
.property-page-head__summary {
    max-width: 56ch;
    margin: 0;
    color: var(--muted);
}

.property-page-head__aside {
    align-content: start;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.property-page-head__aside .property-hero__price,
.property-page-head__aside .property-page-head__summary {
    text-align: right;
    justify-self: end;
}

.property-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.property-badges span,
.feature-cloud--property span {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(192, 152, 102, 0.12);
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 600;
}

.property-showcase {
    display: grid;
    gap: 10px;
    align-items: stretch;
}

.property-showcase__hero,
.property-showcase__thumb {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(35, 40, 42, 0.08);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 22px 60px rgba(23, 23, 23, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.property-showcase__hero {
    min-height: clamp(320px, 56vw, 620px);
    aspect-ratio: 1.34;
    height: 100%;
}

/* Secondary media becomes a real layout block instead of a loose thumb column. */
.property-showcase__rail {
    height: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 10px;
}

.property-showcase__thumb {
    min-height: 0;
    height: 100%;
    aspect-ratio: 1.02;
}

.property-showcase__rail--count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.property-showcase__rail--count-2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.property-showcase__rail--count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.property-showcase__rail--count-3 .property-showcase__thumb:last-child {
    grid-column: 1 / -1;
}

.property-showcase__rail--count-4 {
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.property-showcase__hero img,
.property-showcase__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.34s ease;
}

.property-showcase__hero:hover,
.property-showcase__thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 66px rgba(23, 23, 23, 0.09);
}

.property-showcase__hero:hover img,
.property-showcase__thumb:hover img {
    transform: scale(1.03);
}

.property-showcase__thumb--count::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 20, 22, 0.08), rgba(18, 20, 22, 0.62));
}

.property-showcase__thumb--count span {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    display: grid;
    gap: 4px;
    justify-items: center;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    white-space: nowrap;
}

.property-showcase__thumb--count span strong {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.property-showcase__thumb--count span small {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Dedicated CTA for opening the full gallery keeps the action visible and premium. */
.property-metric-grid {
    margin-top: 16px;
}

.property-metric-card {
    padding: 16px;
    border: 1px solid rgba(35, 40, 42, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 252, 247, 0.94);
    box-shadow: 0 18px 38px rgba(23, 23, 23, 0.05);
}

.property-metric-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.property-metric-card strong {
    display: block;
    margin-top: 8px;
    font-family: var(--font-body), "Segoe UI Symbol", sans-serif;
    font-size: clamp(24px, 5vw, 34px);
    font-weight: 600;
    line-height: 1.05;
}

.property-layout--refined {
    gap: 18px;
    align-items: start;
}

.detail-panel--editorial .formatted-content {
    font-size: 15px;
    line-height: 1.85;
}

.details-list--compact div {
    padding-bottom: 12px;
}

.property-map-frame {
    position: relative;
    min-height: 0;
    height: clamp(220px, 34vw, 340px);
    isolation: isolate;
    contain: layout paint;
    overflow: hidden;
    border: 1px solid rgba(35, 40, 42, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 40px rgba(23, 23, 23, 0.05);
}

.property-map-frame iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    z-index: 0;
    border: 0;
}

.property-side-card {
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(246, 239, 230, 0.92));
}

.video-links--stack {
    display: grid;
    gap: 10px;
}

.video-links--stack a {
    justify-content: flex-start;
}

@media (min-width: 640px) {
    .property-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-showcase__rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 860px) {
    .property-map-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
        align-items: start;
    }

    .property-map-frame {
        height: clamp(280px, 28vw, 390px);
    }

    .property-page-head__grid {
        grid-template-columns: minmax(0, 1.36fr) minmax(360px, 0.96fr);
        align-items: stretch;
    }

    /* Desktop gallery behaves like a single editorial block with aligned bottoms. */
    .property-showcase {
        min-height: clamp(460px, 46vw, 620px);
        grid-template-columns: minmax(0, 1.36fr) minmax(360px, 0.96fr);
    }

    .property-showcase__hero,
    .property-showcase__rail {
        min-height: 100%;
    }

    .property-metric-grid,
    .property-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-layout--refined {
        grid-template-columns: minmax(0, 1.12fr) 360px;
    }
}

@media (min-width: 1120px) {
    .property-metric-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .property-page-head__grid {
        grid-template-columns: minmax(0, 1.44fr) minmax(420px, 1fr);
    }

    .property-showcase {
        grid-template-columns: minmax(0, 1.44fr) minmax(420px, 1fr);
    }
}

/* Listing refinement: cleaner hierarchy for the catalog and stronger property cards. */
.page-hero--listing {
    padding-bottom: 6px;
}

.listing-layout--premium {
    gap: 18px;
    align-items: start;
}

.filters-panel--premium,
.listing-intro-card {
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(246, 239, 230, 0.9));
}

.filters-panel__head,
.listing-intro-card {
    display: grid;
    gap: 8px;
}

.filters-panel__body {
    display: grid;
    gap: 14px;
}

.filters-panel__head h2,
.listing-intro-card h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(26px, 5vw, 34px);
    font-weight: 400;
    line-height: 0.98;
}

.filters-panel__head p,
.listing-intro-card p {
    margin: 0;
    color: var(--muted);
}

.listing-results {
    display: grid;
    gap: 16px;
}

.listing-intro-card {
    padding: 18px;
    border: 1px solid rgba(35, 40, 42, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 40px rgba(23, 23, 23, 0.05);
}

.listing-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.listing-quick-links a,
.property-card__metrics span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(35, 40, 42, 0.08);
    font-size: 12px;
    font-weight: 500;
}

.results-bar--premium {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.results-bar--premium > div {
    display: grid;
    gap: 4px;
}

.card-grid--listing {
    gap: 18px;
}

.property-card--premium .property-card__body {
    display: grid;
    gap: 10px;
}

.property-card__metrics {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.property-card__metrics::-webkit-scrollbar {
    display: none;
}

/* Lightbox for the property gallery. */
.has-open-lightbox {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 18px;
}

.gallery-lightbox[hidden] {
    display: none !important;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.84);
    backdrop-filter: blur(8px);
}

/* The lightbox dialog is centered and immersive on desktop. */
.gallery-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1220px, 100%);
    height: min(90vh, 900px);
    margin: 0;
    padding: 34px 82px 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 14, 16, 0.54);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.gallery-lightbox__stage {
    display: grid;
    align-content: center;
    gap: 14px;
    height: 100%;
    min-width: 0;
}

.gallery-lightbox__stage img {
    width: 100%;
    max-height: calc(90vh - 160px);
    object-fit: contain;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
}

.gallery-lightbox__caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 6px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
}

.gallery-lightbox__caption strong {
    font-family: var(--font-body), "Segoe UI Symbol", sans-serif;
    font-weight: 600;
}

.gallery-lightbox__nav,
.gallery-lightbox__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    color: #fff;
    cursor: pointer;
}

.gallery-lightbox__nav svg,
.gallery-lightbox__close svg {
    width: 20px;
    height: 20px;
}

.gallery-lightbox__close {
    top: 18px;
    right: 18px;
}

.gallery-lightbox__nav--prev {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox__nav--next {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 860px) {
    .card-grid--listing {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .listing-layout--premium {
        grid-template-columns: 320px minmax(0, 1fr);
    }

    .card-grid--home-count-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid--home-count-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .filters-panel--collapsible {
        gap: 12px;
    }

    .filters-mobile-toggle {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        width: 100%;
        padding: 0;
        border: 0;
        background: transparent;
        color: inherit;
        text-align: left;
        cursor: pointer;
    }

    .filters-mobile-toggle__copy {
        display: grid;
        gap: 5px;
        min-width: 0;
    }

    .filters-mobile-toggle__copy strong {
        font-family: var(--font-heading);
        font-size: clamp(24px, 5.6vw, 30px);
        font-weight: 400;
        line-height: 0.98;
    }

    .filters-mobile-toggle__copy > span:last-child {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.45;
    }

    .filters-mobile-toggle__badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        min-width: 36px;
        padding: 0 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.82);
        border: 1px solid rgba(35, 40, 42, 0.08);
        color: var(--brand-deep);
        font-size: 12px;
        font-weight: 800;
        white-space: nowrap;
    }

    .filters-mobile-summary {
        gap: 8px;
    }

    .filters-mobile-summary span {
        padding: 8px 11px;
        font-size: 11px;
    }

    .filters-panel--collapsible.is-collapsible-ready .filters-panel__body[hidden] {
        display: none !important;
    }

    .filters-panel--collapsible .filters-actions--sticky {
        position: static;
        margin: 0;
        padding: 0;
        background: none;
    }

    .results-bar--premium {
        flex-direction: column;
        align-items: flex-start;
    }

    .property-page-head__aside {
        gap: 6px;
    }

    .property-page-head__aside .property-hero__price,
    .property-page-head__aside .property-page-head__summary {
        text-align: left;
        justify-self: start;
    }

    /* On mobile the lightbox needs to behave like a full-screen viewer. */
    .gallery-lightbox {
        padding: 0;
    }

    .property-showcase__hero {
        min-height: 0;
        aspect-ratio: 1.08;
    }

    .property-showcase__rail {
        height: auto;
        gap: 10px;
    }

    .property-showcase__thumb {
        min-height: 132px;
        height: auto;
    }

    .gallery-lightbox__dialog {
        width: 100%;
        height: 100dvh;
        padding: 72px 12px 92px;
        border-radius: 0;
        background: rgba(10, 10, 10, 0.94);
    }

    .gallery-lightbox__stage {
        align-content: center;
    }

    .gallery-lightbox__stage img {
        max-height: calc(100dvh - 196px);
        border-radius: 18px;
    }

    .gallery-lightbox__caption {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .gallery-lightbox__close {
        top: 14px;
        right: 12px;
    }

    .gallery-lightbox__nav {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .gallery-lightbox__nav--prev {
        left: 12px;
    }

    .gallery-lightbox__nav--next {
        right: 12px;
    }

}

@media (min-width: 860px) {
    .filters-mobile-toggle,
    .filters-mobile-summary {
        display: none;
    }

    .filters-panel--collapsible .filters-panel__body {
        display: grid !important;
    }
}

/* Home cleanup, accordion FAQ and compact sticky side forms. */
.home-hero__stats-wrap {
    display: none;
}

.faq-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    position: relative;
    display: block;
    padding: 18px 56px 18px 20px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-body);
    font-size: clamp(17px, 3vw, 20px);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-deep);
    font-family: var(--font-body), "Segoe UI Symbol", sans-serif;
    font-size: 22px;
    font-weight: 500;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.75;
    padding: 0 20px 20px;
}

.filters-form--compact,
.contact-card--compact .stack-form {
    gap: 10px;
}

.filters-form--compact .field-group,
.contact-card--compact .field-group {
    gap: 6px;
}

.filters-form--compact .field-group input,
.filters-form--compact .field-group select,
.contact-card--compact .field-group input,
.contact-card--compact .field-group select,
.contact-card--compact .field-group textarea {
    min-height: 44px;
    padding: 11px 13px;
}

.contact-card--compact .field-group textarea {
    min-height: 110px;
}

.filters-actions--sticky,
.contact-card__submit {
    position: sticky;
    bottom: -18px;
    z-index: 2;
    margin: 2px -18px -18px;
    padding: 12px 18px 18px;
    background: linear-gradient(180deg, rgba(250, 246, 239, 0), rgba(250, 246, 239, 0.94) 38%, rgba(250, 246, 239, 0.99) 100%);
}

.contact-card--compact {
    gap: 12px;
}

@media (min-width: 860px) {
    .filters-panel--premium {
        max-height: calc(100vh - 126px);
        overflow: auto;
        scrollbar-width: thin;
    }

    .sticky-panel--property {
        position: static;
        display: grid;
        gap: 14px;
    }

    .contact-card--compact {
        position: sticky;
        top: 106px;
        max-height: calc(100vh - 126px);
        overflow: auto;
        scrollbar-width: thin;
    }
}

@media (max-width: 859.98px) {
    .faq-item summary {
        padding: 16px 48px 16px 18px;
    }

    .filters-actions--sticky,
    .contact-card__submit {
        position: static;
        margin: 0;
        padding: 0;
        background: none;
    }
}

/* Final visual pass: tighter radii, stronger header presence and safer mobile density. */
.site-header__shell {
    gap: 12px;
    padding: 13px 14px;
    border-radius: 12px;
    background: rgba(255, 253, 249, 0.95);
    box-shadow: 0 18px 42px rgba(24, 24, 24, 0.08);
}

.route-home .site-header__shell {
    background: linear-gradient(180deg, rgba(14, 14, 14, 0.74), rgba(14, 14, 14, 0.48));
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.2);
}

.brand-mark__image {
    width: min(160px, 48vw);
}

/* Interactive shapes keep a small radius so the UI feels cleaner overall. */
.main-nav a,
.nav-link-soft,
.nav-cta,
.button,
.listing-quick-links a,
.property-card__metrics span,
.property-card__badges span,
.gallery-lightbox__nav,
.gallery-lightbox__close {
    border-radius: var(--radius-md);
}

.main-nav a {
    min-height: 38px;
    padding: 0 11px;
}

.nav-link-soft,
.nav-cta,
.button {
    min-height: 42px;
    padding: 10px 15px;
}

/* Desktop header gets a little more presence without becoming visually heavy. */
@media (min-width: 860px) {
    .site-header {
        padding-top: 18px;
    }

    .site-header__shell {
        gap: 20px;
        padding: 15px 18px;
        border-radius: 14px;
    }

    .brand-mark__image {
        width: 220px;
    }

    .main-nav {
        gap: 10px;
    }

    .main-nav a {
        min-height: 42px;
        padding: 0 12px;
    }

    .nav-link-soft,
    .nav-cta,
    .button {
        min-height: 44px;
        padding: 10px 16px;
    }
}

/* Mobile property pages: keep the form reachable first and reduce map height. */
@media (max-width: 859.98px) {
    .property-layout--refined {
        gap: 16px;
    }

    .sticky-panel--property {
        order: -1;
        gap: 12px;
    }

    .property-map-frame {
        height: clamp(200px, 46vw, 236px);
    }
}

/* Two-up mobile cards stay compact by trimming secondary copy instead of shrinking everything. */
@media (max-width: 639.98px) {
    .card-grid--listing,
    .card-grid--home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .property-card__media {
        aspect-ratio: 0.96;
    }

    .property-card__badges {
        top: 10px;
        left: 10px;
        gap: 6px;
    }

    .property-card__badges span {
        min-height: 26px;
        padding: 0 8px;
        font-size: 10px;
    }

    .property-card__overlay {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .property-card__price,
    .property-card__price--overlay {
        font-size: 20px;
    }

    .property-card__overlay-meta,
    .property-card__location,
    .property-card__meta {
        font-size: 11px;
    }

    .property-card__body {
        padding: 12px;
    }

    .property-card--premium .property-card__body {
        gap: 8px;
    }

    .property-card h3 {
        margin: 0 0 4px;
        font-size: 16px;
        line-height: 1.18;
    }

    .property-card__metrics {
        gap: 6px;
    }

    .property-card__metrics span {
        min-height: 26px;
        padding: 0 8px;
        font-size: 10px;
    }

    .property-card__excerpt {
        display: none;
    }

    .property-card__footer {
        gap: 6px;
        margin-top: 10px;
        padding-top: 10px;
        font-size: 11px;
    }
}

/* Visual refinement pass 2: cleaner geometry and a more composed header. */
.site-header__shell {
    gap: 11px;
    padding: 12px 13px;
    border-radius: 8px;
    border-color: rgba(35, 40, 42, 0.1);
    background: rgba(255, 253, 249, 0.97);
    box-shadow: 0 14px 32px rgba(24, 24, 24, 0.06);
}

.route-home .site-header__shell {
    background: linear-gradient(180deg, rgba(14, 14, 14, 0.78), rgba(14, 14, 14, 0.54));
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.site-header__bar {
    align-items: center;
    gap: 12px;
}

.brand-mark__image {
    width: min(166px, 50vw);
}

.nav-toggle,
.main-nav a,
.nav-link-soft,
.nav-cta,
.button,
.listing-quick-links a,
.property-card__metrics span,
.property-card__badges span,
.gallery-lightbox__nav,
.gallery-lightbox__close {
    border-radius: 6px;
}

.nav-toggle {
    min-width: 42px;
    min-height: 42px;
}

.main-nav a {
    min-height: 37px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.54);
}

.route-home .main-nav a {
    background: rgba(255, 255, 255, 0.05);
}

.nav-link-soft,
.nav-cta,
.button {
    min-height: 41px;
    padding: 9px 14px;
}

.nav-cta,
.button-primary {
    box-shadow: 0 10px 22px rgba(179, 132, 79, 0.16);
}

@media (min-width: 860px) {
    .site-header {
        padding-top: 20px;
    }

    .site-header__shell {
        gap: 22px;
        padding: 15px 16px;
        border-radius: 10px;
    }

    /* A subtle divider gives the desktop header more structure without adding clutter. */
    .site-header__panel {
        padding-left: 18px;
        border-left: 1px solid rgba(35, 40, 42, 0.08);
    }

    .route-home .site-header__panel {
        border-left-color: rgba(255, 255, 255, 0.12);
    }

    .brand-mark__image {
        width: 228px;
    }

    .main-nav {
        gap: 8px;
    }

    .main-nav a {
        min-height: 40px;
        padding: 0 11px;
    }

    .nav-link-soft,
    .nav-cta,
    .button {
        min-height: 42px;
        padding: 10px 15px;
    }
}

@media (min-width: 860px) and (max-width: 1139.98px) {
    .site-header__shell {
        grid-template-columns: minmax(120px, 154px) minmax(0, 1fr);
        gap: 10px;
        padding: 12px 12px;
    }

    .brand-mark__image {
        width: clamp(118px, 12vw, 150px);
    }

    .site-header__panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        padding-left: 10px;
    }

    .main-nav {
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 4px;
        min-width: 0;
    }

    .main-nav a {
        min-height: 34px;
        padding: 0 7px;
        font-size: 9px;
        letter-spacing: 0.015em;
    }

    .nav-actions {
        flex-shrink: 0;
    }

    .nav-cta {
        min-height: 36px;
        padding: 8px 10px;
        font-size: 10px;
        white-space: nowrap;
    }
}

@media (min-width: 980px) and (max-width: 1139.98px) {
    .site-header__shell {
        grid-template-columns: minmax(132px, 170px) minmax(0, 1fr);
        gap: 12px;
        padding: 12px 14px;
    }

    .brand-mark__image {
        width: clamp(130px, 12.6vw, 164px);
    }

    .site-header__panel {
        gap: 10px;
        padding-left: 12px;
    }

    .main-nav {
        gap: 5px;
    }

    .main-nav a {
        min-height: 35px;
        padding: 0 8px;
        font-size: 9.5px;
    }

    .nav-cta {
        min-height: 37px;
        padding: 8px 11px;
        font-size: 10.5px;
    }
}

/* Hero search refinement: full-width fields and a lighter translucent body. */
.home-hero__search-block {
    width: 100%;
    max-width: min(100%, 560px);
}

.home-hero .hero-search {
    padding: 14px;
    background: rgba(255, 249, 243, 0);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 38px rgba(18, 18, 18, 0.08);
    backdrop-filter: blur(18px);
}

.home-hero .field-group label,
.home-hero .field-group--stacked label {
    color: rgba(255, 255, 255, 0.92);
}

/* In the hero we keep a single clean stack so every field uses the full panel width. */
.home-hero .hero-search__fields {
    grid-template-columns: 1fr !important;
    gap: 10px;
}

.home-hero .hero-search__fields .field-group--wide {
    grid-column: auto;
}

.home-hero .hero-search__top {
    gap: 7px;
    margin-bottom: 12px;
}

.home-hero .hero-search__tab {
    min-height: 40px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.home-hero .hero-search__tab--active,
.home-hero .hero-search__tab:hover {
    background: rgba(255, 255, 255, 0.94);
    color: var(--dark);
}

.home-hero .hero-search__actions {
    margin-top: 10px;
}

.home-hero .hero-search__actions .button {
    width: 100%;
    min-width: 0;
}

@media (min-width: 860px) {
    .home-hero__search-block {
        max-width: min(100%, 600px);
    }

    .home-hero .hero-search {
        padding: 15px;
        background: rgba(255, 249, 243, 0);
    }
}

/* Property cards use icon-led quick facts to make beds and baths readable without extra copy. */
.property-card__metric {
    gap: 7px;
    padding-inline: 9px;
    white-space: nowrap;
}

.property-card__metric svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    color: var(--brand-deep);
}

.property-card__metric strong {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}

.property-card__metric--plain {
    padding-inline: 0;
    background: transparent;
    border-color: transparent;
}

@media (max-width: 639.98px) {
    .field-group input,
    .field-group select,
    .field-group textarea {
        font-size: 16px;
    }

    .property-card__metric {
        gap: 5px;
        padding-inline: 8px;
    }

    .property-card__metric svg {
        width: 12px;
        height: 12px;
        flex-basis: 12px;
    }

    .property-card__metric strong {
        font-size: 10px;
    }
}

/* Card titles and footer use a clearer editorial hierarchy. */
.property-card h3,
.property-card h3 a {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.contact-office-list {
    display: grid;
    gap: 6px;
}

.contact-office-list strong {
    display: block;
}

.valuation-form--guided {
    gap: 16px;
}

.valuation-form--guided.is-submitting {
    opacity: 0.76;
}

.valuation-progress {
    display: grid;
    gap: 8px;
}

.valuation-progress__item {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(35, 40, 42, 0.1);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.76);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.valuation-progress__item.is-active {
    background: rgba(192, 152, 102, 0.12);
    border-color: rgba(192, 152, 102, 0.3);
    color: var(--text);
}

.valuation-progress__item.is-complete {
    background: rgba(47, 124, 82, 0.1);
    border-color: rgba(47, 124, 82, 0.18);
    color: #1e5c3a;
}

.valuation-step[hidden] {
    display: none !important;
}

.valuation-step__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.estimate-card--status.is-loading {
    background:
        linear-gradient(180deg, rgba(192, 152, 102, 0.12), rgba(255, 255, 255, 0.96)),
        #fff;
}

.valuation-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: var(--text);
    font-size: 13px;
}

.valuation-status-indicator__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--brand-deep);
    box-shadow: 0 0 0 0 rgba(192, 152, 102, 0.38);
    animation: valuationPulse 1.4s ease-out infinite;
}

.estimate-result-cta {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.estimate-result-cta p {
    margin: 0;
}

@keyframes valuationPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(192, 152, 102, 0.34);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(192, 152, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(192, 152, 102, 0);
    }
}

.site-footer {
    padding: 44px 0 24px;
}

.footer-grid {
    display: grid;
    gap: 28px;
    align-items: start;
}

.site-footer .footer-brand-block {
    gap: 18px;
}

.site-footer .footer-copy {
    max-width: 34ch;
    margin: 0;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
}

.footer-column {
    display: grid;
    gap: 14px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.site-footer .footer-links,
.site-footer .footer-list,
.footer-office-list {
    display: grid;
    gap: 12px;
}

.site-footer .footer-links a,
.site-footer .footer-list a,
.footer-office span {
    color: rgba(255, 255, 255, 0.84);
}

.site-footer .footer-links a,
.site-footer .footer-list a {
    font-weight: 500;
}

.site-footer .footer-links a:hover,
.site-footer .footer-list a:hover {
    color: #fff;
}

.footer-office {
    display: grid;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-office:first-child {
    padding-top: 0;
    border-top: 0;
}

.footer-office strong {
    color: #fff;
    font-weight: 600;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (min-width: 860px) {
    .valuation-progress {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.78fr));
        gap: 32px;
    }
}

/* Property page contact UX: desktop sticky rail and mobile bottom drawer. */
.property-contact-rail {
    display: grid;
    gap: 14px;
}

.contact-card--property {
    position: relative;
    overflow: hidden;
    border-color: rgba(35, 40, 42, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 236, 0.96)),
        #fff;
    box-shadow: 0 24px 48px rgba(23, 23, 23, 0.08);
}

.contact-card--property::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(192, 152, 102, 0.9), rgba(148, 106, 61, 0.72));
}

.contact-card--property .eyebrow {
    margin-top: 6px;
}

.contact-card--property h2 {
    font-size: clamp(26px, 3vw, 34px);
}

.contact-card--property p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
}

.contact-card--property .stack-form {
    margin-top: 4px;
}

.contact-card--property .field-group input,
.contact-card--property .field-group select,
.contact-card--property .field-group textarea {
    border-radius: 10px;
    border-color: rgba(35, 40, 42, 0.1);
    background: rgba(255, 255, 255, 0.92);
}

.contact-card--property .field-group textarea {
    min-height: 132px;
}

.contact-card--property .contact-card__submit {
    position: static;
    z-index: auto;
    margin: 0;
    padding: 4px 0 0;
    background: none;
}

.property-side-card {
    border-color: rgba(35, 40, 42, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 242, 234, 0.94)),
        #fff;
    box-shadow: 0 16px 34px rgba(23, 23, 23, 0.05);
}

.property-inquiry-peek,
.property-inquiry-drawer {
    display: none;
}

@media (min-width: 860px) {
    .sticky-panel--property {
        position: static;
        display: grid;
        gap: 16px;
        align-self: stretch;
    }

    .property-contact-rail {
        position: sticky;
        top: 122px;
        align-self: start;
    }

    .contact-card--compact {
        position: static;
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 859.98px) {
    .property-layout--refined {
        gap: 16px;
    }

    .sticky-panel--property {
        order: 0;
        gap: 12px;
    }

    .property-contact-rail {
        display: none;
    }

    .property-side-card {
        order: 2;
    }

    .property-inquiry-peek {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        z-index: 40;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        padding: 12px 14px;
        border: 1px solid rgba(35, 40, 42, 0.1);
        border-radius: 12px;
        background: rgba(255, 254, 251, 0.96);
        box-shadow: 0 18px 44px rgba(23, 23, 23, 0.16);
        backdrop-filter: blur(18px);
    }

    .property-inquiry-peek__content {
        display: grid;
        gap: 2px;
        min-width: 0;
    }

    .property-inquiry-peek__content small,
    .property-inquiry-peek__content span {
        color: var(--muted);
        font-size: 11px;
        line-height: 1.35;
    }

    .property-inquiry-peek__content strong {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.1;
    }

    .property-inquiry-peek__content span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .property-inquiry-peek .button {
        min-height: 42px;
        padding-inline: 14px;
        white-space: nowrap;
    }

    .property-inquiry-drawer {
        position: fixed;
        inset: 0;
        z-index: 130;
        display: grid;
        align-items: end;
    }

    .property-inquiry-drawer[hidden] {
        display: none !important;
    }

    .property-inquiry-drawer__backdrop {
        position: absolute;
        inset: 0;
        border: 0;
        background: rgba(18, 19, 21, 0.52);
        cursor: pointer;
    }

    .property-inquiry-drawer__panel {
        position: relative;
        z-index: 1;
        display: grid;
        gap: 10px;
        max-height: min(88dvh, 760px);
        padding: 10px 12px calc(14px + env(safe-area-inset-bottom, 0px));
        border-radius: 18px 18px 0 0;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 245, 238, 0.98)),
            #fff;
        box-shadow: 0 -18px 44px rgba(0, 0, 0, 0.18);
        overflow: auto;
    }

    .property-inquiry-drawer__handle {
        width: 46px;
        height: 4px;
        margin: 0 auto;
        border-radius: 999px;
        background: rgba(35, 40, 42, 0.16);
    }

    .property-inquiry-drawer__head {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        justify-content: space-between;
    }

    .property-inquiry-drawer__head h2 {
        margin: 6px 0 2px;
        font-size: clamp(20px, 6.8vw, 25px);
        line-height: 0.96;
        letter-spacing: -0.035em;
    }

    .property-inquiry-drawer__head p {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.25;
    }

    .property-inquiry-drawer__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 0 12px;
        border: 1px solid rgba(35, 40, 42, 0.1);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.76);
        color: var(--text);
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
    }

    .contact-card--drawer {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .contact-card--drawer::before {
        display: none;
    }

    .contact-card--drawer .stack-form {
        gap: 8px;
        margin-top: 4px;
    }

    .contact-card--drawer .field-group,
    .contact-card--drawer .field-group--stacked {
        gap: 5px;
    }

    .contact-card--drawer .field-group label {
        font-size: 12px;
    }

    .contact-card--drawer .field-group input,
    .contact-card--drawer .field-group select,
    .contact-card--drawer .field-group textarea {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 16px;
    }

    .contact-card--drawer .field-group textarea {
        min-height: 86px;
    }

    .contact-card--drawer .contact-card__submit {
        padding-top: 0;
    }

    .contact-card--drawer .button {
        min-height: 44px;
    }

    body.has-open-property-inquiry {
        overflow: hidden;
    }
}

/* Property page refinement pass: tighter mobile hero and fully readable sticky desktop form. */
.property-page-head {
    padding-top: 20px;
}

.property-page-head h1 {
    margin: 8px 0 10px;
    line-height: 0.94;
}

.property-page-head__main {
    gap: 12px;
}

.property-page-head__location {
    font-size: 14px;
    line-height: 1.65;
}

.property-page-head__summary {
    font-size: 14px;
    line-height: 1.6;
}

.property-page-head__aside .property-hero__price {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 0;
    padding: 10px 14px;
    border: 1px solid rgba(192, 152, 102, 0.16);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 243, 235, 0.94));
    box-shadow: 0 14px 30px rgba(148, 106, 61, 0.08);
    color: var(--brand-deep);
    font-size: clamp(26px, 4.2vw, 38px);
    letter-spacing: -0.04em;
}

@media (min-width: 860px) {
    .property-page-head__grid {
        gap: 18px;
    }

    .property-page-head__main {
        gap: 14px;
    }

    .property-page-head__aside {
        gap: 10px;
    }

    .property-page-head__aside .property-hero__price {
        justify-self: end;
    }

    .property-contact-rail {
        top: 112px;
    }

    .contact-card--property {
        padding: 18px 18px 16px;
    }

    .contact-card--property h2 {
        margin: 12px 0 8px;
        font-size: clamp(24px, 2.2vw, 30px);
        line-height: 0.98;
    }

    .contact-card--property p {
        font-size: 13px;
        line-height: 1.6;
    }

    .contact-card--property .stack-form {
        gap: 8px;
        margin-top: 2px;
    }

    .contact-card--property .field-group,
    .contact-card--property .field-group--stacked {
        gap: 5px;
    }

    .contact-card--property .field-group label {
        font-size: 12px;
    }

    .contact-card--property .field-group input,
    .contact-card--property .field-group select,
    .contact-card--property .field-group textarea {
        min-height: 42px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .contact-card--property .field-group textarea {
        min-height: 88px;
    }

    .contact-card--property .contact-card__submit {
        padding-top: 2px;
    }

    .contact-card--property .button {
        min-height: 44px;
    }
}

@media (max-width: 859.98px) {
    .property-page-head {
        padding-top: 12px;
    }

    .property-page-head__grid {
        gap: 8px;
    }

    .property-page-head__main,
    .property-page-head__aside {
        gap: 8px;
    }

    .property-page-head h1 {
        margin: 6px 0 8px;
        font-size: clamp(30px, 8.6vw, 40px);
    }

    .property-page-head .eyebrow {
        font-size: 10px;
        letter-spacing: 0.12em;
    }

    .property-page-head__location {
        font-size: 13px;
        line-height: 1.55;
    }

    .property-badges {
        gap: 6px;
        margin-top: 4px;
    }

    .property-badges span {
        padding: 7px 10px;
        font-size: 11px;
    }

    .property-page-head__aside .property-hero__price {
        padding: 8px 12px;
        font-size: clamp(22px, 6.8vw, 28px);
        box-shadow: 0 10px 22px rgba(148, 106, 61, 0.08);
    }

    .property-page-head__summary {
        font-size: 13px;
        line-height: 1.5;
    }
}
