:root {
    --surface: #f7f3eb;
    --surface-soft: #fbf9f4;
    --stone: #ebe4d7;
    --stone-deep: #dfd5c3;
    --deep: #182f26;
    --deep-2: #10241c;
    --cta: #2e5a47;
    --cta-hover: #244a3a;
    --green-soft: #dbe6df;
    --bronze: #987354;
    --gold: #c6a16e;
    --ink: #27352f;
    --muted: #68736d;
    --border: #ddd5c7;
    --white: #ffffff;
    --danger: #9a3c32;
    --danger-soft: #fff1ee;
    --shadow: 0 20px 55px rgba(18, 36, 29, 0.09);
    --header-height: 80px;
    --container: 1140px;
    --sans: "Inter", Arial, Helvetica, sans-serif;
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--bronze);
    outline-offset: 3px;
}
.site-container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}
.page-main { padding-top: var(--header-height); }

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-height);
    background: rgba(247, 243, 235, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 34px;
}
.site-brand {
    display: flex;
    flex-direction: column;
    min-width: 130px;
    line-height: 1;
}
.site-brand span, .footer-logo {
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 500;
    color: var(--deep);
    letter-spacing: -0.02em;
}
.site-brand small, .footer-signature {
    margin-top: 7px;
    color: var(--cta);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex: 1;
}
.desktop-nav a {
    position: relative;
    color: var(--deep);
    font-size: 14px;
    transition: color .2s ease;
}
.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -9px;
    height: 1px;
    background: var(--bronze);
    transition: right .2s ease;
}
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--bronze); }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { right: 0; }
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    color: var(--deep);
    font-size: 14px;
}
.header-phone svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .035em;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--cta); border-color: var(--cta); color: var(--white); }
.button-primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.button-secondary { background: transparent; border-color: var(--cta); color: var(--cta); }
.button-secondary:hover { background: var(--cta); color: var(--white); }
.button-light-outline { border-color: rgba(255,255,255,.65); color: var(--white); white-space: nowrap; }
.button-light-outline:hover { background: var(--white); color: var(--deep); border-color: var(--white); }
.button-block { width: 100%; }
.header-cta { min-height: 48px; padding-inline: 24px; white-space: nowrap; }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    border: 0;
    background: transparent;
}
.menu-toggle span {
    display: block;
    width: 23px;
    height: 1px;
    margin: 6px auto;
    background: var(--deep);
    transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 99;
    overflow-y: auto;
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav nav { display: flex; flex-direction: column; padding-block: 28px 48px; }
.mobile-nav nav > a:not(.button) {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    font-family: var(--serif);
    font-size: 27px;
    color: var(--deep);
}
.mobile-nav nav > a.is-active { color: var(--bronze); }
.mobile-nav .button { margin-top: 24px; }

/* Shared typography */
.eyebrow {
    margin: 0;
    color: var(--bronze);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .22em;
    line-height: 1.4;
    text-transform: uppercase;
}
.eyebrow-green { color: var(--cta); }
.eyebrow-gold { color: var(--gold); }
h1, h2, h3, p { overflow-wrap: anywhere; }

/* Listing hero */
.listing-hero {
    padding: 82px 0 72px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.listing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: end;
    gap: 70px;
}
.listing-hero h1, .alert-hero h1 {
    max-width: 760px;
    margin: 18px 0 22px;
    color: var(--deep);
    font-family: var(--serif);
    font-size: clamp(48px, 6vw, 70px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: .98;
}
.hero-lead {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}
.hero-alert-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 104px;
    padding: 24px;
    background: var(--deep);
    color: var(--white);
    border: 1px solid rgba(255,255,255,.1);
    transition: transform .25s ease, background .25s ease;
}
.hero-alert-card:hover { transform: translateY(-3px); background: var(--cta-hover); }
.hero-alert-card small {
    display: block;
    color: var(--gold);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.hero-alert-card strong {
    display: block;
    margin-top: 5px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.1;
}
.hero-alert-card svg, .floating-alert svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.hero-alert-pulse, .floating-alert-dot, .sidebar-alert-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
}
.hero-alert-pulse::after, .floating-alert-dot::after, .sidebar-alert-dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    animation: alertPulse 2s infinite;
}
@keyframes alertPulse { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

/* Listing tools */
.listing-tools-section { padding: 42px 0 100px; }
.city-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 17px;
    scrollbar-width: thin;
}
.city-tabs a {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--deep);
    font-size: 13px;
    transition: background .2s, color .2s, border-color .2s;
}
.city-tabs a:hover, .city-tabs a.is-active { background: var(--cta); border-color: var(--cta); color: var(--white); }
.listing-filters {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr auto auto;
    align-items: end;
    gap: 12px;
    padding: 24px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}
.listing-filters label { display: flex; flex-direction: column; gap: 7px; }
.listing-filters label > span, .field-grid label > span, .field-full > span, .department-search > span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.listing-filters input, .listing-filters select, .buyer-alert-form input, .buyer-alert-form select, .buyer-alert-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
}
.listing-filters input::placeholder, .buyer-alert-form input::placeholder, .buyer-alert-form textarea::placeholder { color: #9a9f9b; }
.filter-submit { min-width: 115px; }
.filter-reset {
    align-self: center;
    color: var(--bronze);
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.results-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    padding: 21px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
}
.results-heading p { margin: 0; }
.results-heading strong { color: var(--deep); }

/* Property cards */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 31px;
}
.property-grid-wide { grid-column: 1 / -1; }
.property-card {
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--border);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.property-card:hover {
    transform: translateY(-5px);
    border-color: #c4b79f;
    box-shadow: var(--shadow);
}
.property-card > a { display: block; height: 100%; }
.property-cover {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 224px;
    padding: 18px 20px;
    background: var(--stone);
    border-bottom: 1px solid var(--border);
}
.property-cover::after {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(73, 66, 53, .14);
    pointer-events: none;
}
.property-cover-top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: var(--bronze);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.property-city {
    position: relative;
    z-index: 1;
    margin-top: auto;
    color: var(--deep);
    font-family: var(--serif);
    font-size: clamp(30px, 3vw, 38px);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1;
}
.property-reference {
    position: relative;
    z-index: 1;
    margin-top: 15px;
    color: #70766f;
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.property-status {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 18px;
    padding: 7px 9px;
    background: var(--deep);
    color: var(--white);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .14em;
}
.property-body { padding: 25px 23px 27px; }
.property-body h2 {
    min-height: 55px;
    margin: 13px 0 17px;
    color: var(--deep);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.015em;
    line-height: 1.22;
}
.property-finance {
    margin: 0;
    color: var(--deep);
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
}
.property-meta {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
}

/* Buyer alert banner */
.buyer-alert-banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    margin: 11px 0;
    padding: 37px 40px;
    background: var(--deep);
    color: var(--white);
    border: 1px solid rgba(255,255,255,.08);
}
.buyer-alert-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(198,161,110,.55);
    border-radius: 50%;
}
.buyer-alert-icon > span {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(198,161,110,.12);
}
.buyer-alert-icon svg {
    width: 25px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.buyer-alert-copy h2 {
    margin: 8px 0 9px;
    font-family: var(--serif);
    font-size: 31px;
    font-weight: 500;
    line-height: 1.1;
}
.buyer-alert-copy > p:last-child {
    max-width: 690px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 14px;
}
.floating-alert {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 13px;
    min-width: 295px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(16, 36, 28, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}
.floating-alert:hover { transform: translateY(-3px); box-shadow: 0 22px 55px rgba(16,36,28,.24); }
.floating-alert strong { display: block; color: var(--deep); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.floating-alert small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.floating-alert svg { color: var(--bronze); }
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 48px;
    font-size: 13px;
}
.pagination a { color: var(--cta); text-decoration: underline; text-underline-offset: 4px; }
.pagination span { color: var(--muted); }
.empty-state {
    max-width: 760px;
    margin: 20px auto;
    padding: 55px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
}
.empty-state h2 {
    margin: 13px 0 15px;
    color: var(--deep);
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 500;
    line-height: 1.1;
}
.empty-state > p:not(.eyebrow) { color: var(--muted); }
.empty-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }

/* Detail page */
.detail-page { padding-bottom: 100px; }
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 28px 0 23px;
    color: var(--muted);
    font-size: 12px;
}
.breadcrumbs a:hover { color: var(--bronze); }
.detail-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: end;
    gap: 55px;
    padding: 34px 0 39px;
    border-top: 1px solid var(--border);
}
.detail-label-row { display: flex; align-items: center; gap: 15px; }
.detail-status {
    padding: 5px 8px;
    background: var(--deep);
    color: var(--white);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .13em;
}
.detail-heading h1 {
    max-width: 800px;
    margin: 13px 0 14px;
    color: var(--deep);
    font-family: var(--serif);
    font-size: clamp(39px, 5vw, 58px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.02;
}
.detail-heading > div:first-child > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.detail-price-card {
    padding: 25px 27px;
    background: var(--deep);
    color: var(--white);
}
.detail-price-card small {
    display: block;
    color: var(--gold);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.detail-price-card strong {
    display: block;
    margin-top: 7px;
    font-family: var(--serif);
    font-size: 31px;
    font-weight: 500;
    line-height: 1;
}
.detail-price-card span { display: block; margin-top: 12px; color: rgba(255,255,255,.72); font-size: 13px; }
.property-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin-bottom: 68px;
}
.gallery-main-button, .gallery-thumbnails button {
    position: relative;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--stone);
    cursor: pointer;
}
.gallery-main-button { height: 540px; }
.gallery-main-button img, .gallery-thumbnails img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-main-button:hover img, .gallery-thumbnails button:hover img { transform: scale(1.025); }
.gallery-main-button span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 10px 13px;
    background: rgba(255,255,255,.94);
    color: var(--deep);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.gallery-thumbnails {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.gallery-thumbnails button { min-height: 265px; }
.gallery-thumbnails button.is-active { outline: 2px solid var(--bronze); outline-offset: -2px; }
.detail-placeholder {
    min-height: 430px;
    margin-bottom: 68px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    background: var(--stone);
    border: 1px solid var(--border);
}
.detail-placeholder p { margin: auto 0 0; font-family: var(--serif); font-size: 56px; color: var(--deep); }
.detail-placeholder small { margin-top: 15px; color: var(--muted); letter-spacing: .18em; }
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
    align-items: start;
    gap: 72px;
}
.detail-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.detail-section-nav a { color: var(--muted); font-size: 12px; }
.detail-section-nav a:hover { color: var(--bronze); }
.detail-section { padding: 54px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 110px; }
.detail-section h2, .contact-card h2, .related-section h2, .form-step h2, .success-panel h2 {
    margin: 10px 0 24px;
    color: var(--deep);
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.08;
}
.rich-description { color: #48554f; font-size: 16px; line-height: 1.9; }
.facts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    border-top: 1px solid var(--border);
}
.facts-grid > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--border);
}
.facts-grid > div:nth-child(odd) { padding-right: 25px; }
.facts-grid > div:nth-child(even) { padding-left: 25px; border-left: 1px solid var(--border); }
.facts-grid dt { color: var(--muted); font-size: 13px; }
.facts-grid dd { margin: 0; color: var(--deep); font-size: 13px; text-align: right; }
.amenities { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.amenities span { padding: 9px 12px; background: var(--green-soft); color: var(--cta); font-size: 12px; }
.financial-section { border-bottom: 0; }
.financial-intro { max-width: 700px; color: var(--muted); }
.financial-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 30px;
}
.financial-cards > div { padding: 24px; background: var(--white); border: 1px solid var(--border); }
.financial-cards small { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.financial-cards strong { display: block; margin-top: 8px; color: var(--deep); font-family: var(--serif); font-size: 27px; font-weight: 500; }
.financial-table { margin: 24px 0 0; border-top: 1px solid var(--border); }
.financial-table > div { display: flex; justify-content: space-between; gap: 25px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.financial-table dt { color: var(--muted); }
.financial-table dd { margin: 0; color: var(--deep); text-align: right; }
.legal-note { margin-top: 21px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.location-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 24px;
    background: var(--stone);
}
.location-card strong, .location-card span { display: block; }
.location-card strong { color: var(--deep); font-family: var(--serif); font-size: 25px; font-weight: 500; }
.location-card span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.location-card a { color: var(--cta); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.detail-sidebar { position: sticky; top: 110px; display: grid; gap: 18px; }
.contact-card { padding: 31px; background: var(--white); border: 1px solid var(--border); }
.contact-card h2 { font-size: 31px; margin-bottom: 15px; }
.contact-card > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.contact-card .button { margin-top: 12px; }
.contact-card-phone { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); }
.contact-card-phone small { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.contact-card-phone a { display: inline-block; margin-top: 5px; color: var(--deep); font-family: var(--serif); font-size: 25px; }
.sidebar-alert { position: relative; padding: 28px; background: var(--stone); border: 1px solid var(--border); }
.sidebar-alert-dot { position: absolute; top: 25px; right: 25px; }
.sidebar-alert h3 { margin: 10px 0 17px; color: var(--deep); font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.15; }
.sidebar-alert a { color: var(--cta); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.detail-banner { margin-top: 70px; }
.related-section { padding-top: 80px; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.section-heading-row h2 { margin: 8px 0 0; }
.section-heading-row > a { color: var(--cta); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }

/* Alert form */
.alert-hero { padding: 82px 0; background: var(--deep); color: var(--white); }
.alert-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .75fr); align-items: center; gap: 85px; }
.alert-hero h1 { color: var(--white); margin-top: 17px; }
.alert-hero-grid > div:first-child > p:last-child { max-width: 690px; margin: 0; color: rgba(255,255,255,.72); font-size: 17px; }
.alert-benefits { display: grid; }
.alert-benefits > div { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.alert-benefits > div:first-child { border-top: 1px solid rgba(255,255,255,.16); }
.alert-benefits > div > span { color: var(--gold); font-family: var(--serif); font-size: 29px; }
.alert-benefits p { margin: 0; }
.alert-benefits strong, .alert-benefits small { display: block; }
.alert-benefits strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.alert-benefits small { margin-top: 3px; color: rgba(255,255,255,.62); font-size: 12px; }
.alert-form-section { padding: 65px 0 105px; }
.buyer-alert-form { background: var(--surface); }
.form-step {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 35px;
    padding: 52px 0;
    border-top: 1px solid var(--border);
}
.form-step:last-child { border-bottom: 1px solid var(--border); }
.form-step-number { color: #b7a990; font-family: var(--serif); font-size: 48px; line-height: 1; }
.form-step h2 { margin-bottom: 28px; }
.choice-grid { display: grid; gap: 12px; margin-bottom: 28px; }
.choice-grid-three { grid-template-columns: repeat(3, 1fr); }
.choice-card { position: relative; display: block; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card span {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 15px 17px 15px 48px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--deep);
    font-size: 13px;
    transition: background .2s, border-color .2s, color .2s;
}
.choice-card span::before {
    content: "";
    position: absolute;
    left: 17px;
    width: 17px;
    height: 17px;
    border: 1px solid #aca89f;
}
.choice-card input:checked + span { background: var(--green-soft); border-color: var(--cta); color: var(--cta); }
.choice-card input:checked + span::before { background: var(--cta); border-color: var(--cta); box-shadow: inset 0 0 0 4px var(--green-soft); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field-grid label, .field-full, .department-search { display: flex; flex-direction: column; gap: 8px; }
.field-full { margin-top: 17px; }
.buyer-alert-form textarea { min-height: 120px; resize: vertical; }
.input-with-unit { position: relative; }
.input-with-unit input { padding-right: 88px; }
.input-with-unit em {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
}
.department-search { max-width: 520px; margin-bottom: 24px; }
.department-groups { display: grid; gap: 10px; }
.department-group { background: var(--white); border: 1px solid var(--border); }
.department-group[hidden] { display: none; }
.department-group summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 19px;
    cursor: pointer;
    color: var(--deep);
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 500;
}
.department-group summary span { color: var(--muted); font-family: var(--sans); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.department-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--border); border-top: 1px solid var(--border); }
.department-options label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 10px 12px;
    background: var(--white);
    cursor: pointer;
    font-size: 12px;
}
.department-options label[hidden] { display: none; }
.department-options input { width: 15px; min-height: auto; height: 15px; accent-color: var(--cta); }
.department-options strong { color: var(--cta); }
.department-options span { color: var(--muted); }
.contact-fields { grid-template-columns: .55fr 1fr 1fr; }
.field-span-two { grid-column: span 2; }
.consent-field {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 12px;
    margin-top: 23px;
    color: var(--muted);
    font-size: 12px;
}
.consent-field input { width: 17px; height: 17px; min-height: auto; accent-color: var(--cta); }
.form-submit { margin-top: 25px; min-width: 235px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-errors {
    margin-bottom: 35px;
    padding: 22px 25px;
    background: var(--danger-soft);
    border: 1px solid #d8a79f;
    color: var(--danger);
}
.form-errors strong { display: block; }
.form-errors ul { margin: 10px 0 0; padding-left: 20px; }
.success-panel {
    max-width: 780px;
    margin: 15px auto;
    padding: 55px;
    background: var(--white);
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow);
}
.success-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--cta);
    font-size: 26px;
}
.success-panel > p:not(.eyebrow) { max-width: 590px; margin-inline: auto; color: var(--muted); }
.success-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }

/* Footer */
.site-footer { padding: 76px 0 32px; background: var(--deep); color: rgba(255,255,255,.8); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 70px; }
.footer-logo { margin: 0; color: var(--white); }
.footer-signature { margin: 4px 0 0; color: var(--gold); }
.footer-branding > p:last-child { max-width: 290px; margin-top: 23px; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.75; }
.footer-heading { margin: 0 0 20px; color: rgba(255,255,255,.52); font-size: 9px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 10px; }
.site-footer li a { color: rgba(255,255,255,.8); font-size: 13px; transition: color .2s; }
.site-footer li a:hover { color: var(--white); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 58px;
    padding-top: 27px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.5);
    font-size: 11px;
}
.footer-bottom p { margin: 0; }

@media (max-width: 1120px) {
    .desktop-nav { gap: 17px; }
    .desktop-nav a { font-size: 13px; }
    .header-phone { display: none; }
    .listing-hero-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 35px; }
    .detail-layout { gap: 45px; }
}

@media (max-width: 960px) {
    :root { --header-height: 72px; }
    .site-container { width: min(calc(100% - 36px), var(--container)); }
    .desktop-nav, .header-actions { display: none; }
    .menu-toggle { display: block; }
    .listing-hero-grid, .alert-hero-grid { grid-template-columns: 1fr; }
    .hero-alert-card { max-width: 520px; }
    .listing-filters { grid-template-columns: 1fr 1fr; }
    .filter-submit { width: 100%; }
    .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .buyer-alert-banner { grid-template-columns: auto 1fr; }
    .buyer-alert-banner .button { grid-column: 2; justify-self: start; }
    .detail-heading { grid-template-columns: 1fr; }
    .detail-price-card { max-width: 380px; }
    .property-gallery { grid-template-columns: 1fr; }
    .gallery-thumbnails { grid-template-columns: repeat(4, 1fr); }
    .gallery-thumbnails button { min-height: 140px; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2; }
    .contact-fields { grid-template-columns: 1fr 1fr; }
    .field-span-two { grid-column: span 1; }
}

@media (max-width: 680px) {
    .site-container { width: min(calc(100% - 28px), var(--container)); }
    .listing-hero, .alert-hero { padding: 58px 0; }
    .listing-hero h1, .alert-hero h1 { font-size: 48px; }
    .hero-lead, .alert-hero-grid > div:first-child > p:last-child { font-size: 15px; }
    .hero-alert-card { min-height: 90px; padding: 19px; }
    .listing-tools-section { padding-top: 30px; }
    .listing-filters { grid-template-columns: 1fr; padding: 18px; }
    .filter-reset { justify-self: start; }
    .results-heading { display: block; }
    .results-heading p + p { margin-top: 5px; }
    .property-grid { grid-template-columns: 1fr; gap: 21px; }
    .property-cover { min-height: 210px; }
    .property-body h2 { min-height: auto; }
    .buyer-alert-banner { grid-template-columns: 1fr; padding: 29px 25px; }
    .buyer-alert-icon { width: 54px; height: 54px; }
    .buyer-alert-banner .button { grid-column: auto; justify-self: stretch; }
    .buyer-alert-copy h2 { font-size: 28px; }
    .floating-alert { right: 12px; bottom: 12px; left: 12px; min-width: 0; }
    .empty-state { padding: 37px 22px; }
    .empty-actions, .success-actions { flex-direction: column; }
    .detail-heading { padding-top: 23px; }
    .detail-heading h1 { font-size: 42px; }
    .gallery-main-button { height: 350px; }
    .gallery-thumbnails { grid-template-columns: 1fr 1fr; }
    .gallery-thumbnails button { min-height: 130px; }
    .detail-placeholder { min-height: 330px; padding: 24px; }
    .detail-placeholder p { font-size: 43px; }
    .detail-section-nav { display: grid; grid-template-columns: 1fr 1fr; }
    .facts-grid { grid-template-columns: 1fr; }
    .facts-grid > div:nth-child(odd), .facts-grid > div:nth-child(even) { padding: 15px 0; border-left: 0; }
    .financial-cards { grid-template-columns: 1fr; }
    .location-card { display: block; }
    .location-card a { display: inline-block; margin-top: 18px; }
    .detail-sidebar { grid-template-columns: 1fr; }
    .section-heading-row { display: block; }
    .section-heading-row > a { display: inline-block; margin-top: 15px; }
    .form-step { grid-template-columns: 1fr; gap: 18px; padding: 40px 0; }
    .form-step-number { font-size: 36px; }
    .choice-grid-three, .field-grid, .contact-fields { grid-template-columns: 1fr; }
    .department-options { grid-template-columns: 1fr; }
    .success-panel { padding: 40px 22px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 28px; }
    .footer-branding { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { display: block; }
    .footer-bottom p + p { margin-top: 7px; }
}

@media (max-width: 430px) {
    .site-brand span { font-size: 24px; }
    .listing-hero h1, .alert-hero h1 { font-size: 41px; }
    .hero-alert-card { grid-template-columns: auto 1fr; }
    .hero-alert-card svg { display: none; }
    .property-city { font-size: 34px; }
    .detail-heading h1 { font-size: 37px; }
    .detail-price-card { padding: 22px; }
    .detail-section h2, .form-step h2, .success-panel h2 { font-size: 33px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-branding { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =========================================================
   V1.4 - photos Accessia + références vendues par Coysevox
   ========================================================= */
.property-cover-photo {
    overflow: hidden;
    background: var(--deep);
}
.property-cover-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transition: transform .45s ease;
}
.property-card:hover .property-cover-image { transform: scale(1.035); }
.property-cover-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(15,30,25,.28) 0%, rgba(15,30,25,.12) 38%, rgba(15,30,25,.78) 100%);
}
.property-cover-photo::after { border-color: rgba(255,255,255,.32); z-index: 1; }
.property-cover-photo .property-cover-top,
.property-cover-photo .property-city,
.property-cover-photo .property-reference { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.property-cover-photo .property-cover-top span:first-child { color: #f0d4a6; }
.property-status-sold {
    background: #b08a59;
    color: #fff;
}
.property-card-sold { background: #fbf8f1; }
.property-card-sold .property-body { border-top: 3px solid #b08a59; }
.sold-discover {
    margin: 18px 0 0;
    color: var(--bronze);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
}
.sold-showcase-section {
    padding: 92px 0 100px;
    background: #172a23;
    color: #fff;
}
.sold-showcase-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 50px;
    align-items: end;
    margin-bottom: 42px;
}
.sold-showcase-heading h2 {
    max-width: 760px;
    margin: 10px 0 16px;
    color: #fff;
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 500;
    line-height: 1.02;
}
.sold-showcase-heading > div:first-child > p:last-child {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.7;
}
.sold-counter {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 185px;
    padding: 17px 20px;
    border: 1px solid rgba(255,255,255,.2);
}
.sold-counter strong {
    color: #d5b783;
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 500;
    line-height: 1;
}
.sold-counter span {
    color: rgba(255,255,255,.68);
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.sold-property-grid .property-card { border-color: rgba(255,255,255,.16); }
.sold-showcase-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 44px;
    padding: 30px 34px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.045);
}
.sold-showcase-cta h3 {
    margin: 6px 0 0;
    color: #fff;
    font-family: var(--serif);
    font-size: 29px;
    font-weight: 500;
}
.sold-showcase-cta .button-primary { background: #fff; color: var(--deep); border-color: #fff; }
.sold-showcase-cta .button-primary:hover { background: #eadfcf; border-color: #eadfcf; }

@media (max-width: 900px) {
    .sold-showcase-heading { grid-template-columns: 1fr; gap: 24px; }
    .sold-counter { width: fit-content; }
}
@media (max-width: 680px) {
    .sold-showcase-section { padding: 66px 0 72px; }
    .sold-showcase-cta { display: block; padding: 25px; }
    .sold-showcase-cta .button { margin-top: 22px; width: 100%; justify-content: center; }
}
