@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@1,500;1,600&display=swap");

:root {
  color-scheme: dark;
  --bg: #0d1210;
  --bg-elevated: #111915;
  --surface: #17211b;
  --surface-strong: #1d2a22;
  --surface-soft: #22301f;
  --text: #f3f6f1;
  --text-soft: #c6cec8;
  --muted: #929d96;
  --border: #304038;
  --border-strong: #526458;
  --accent: #c4e45a;
  --accent-strong: #dff78c;
  --accent-ink: #172014;
  --danger: #ff9e92;
  --shadow: 0 24px 70px rgb(0 0 0 / 38%);
  --shadow-soft: 0 12px 32px rgb(0 0 0 / 22%);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --header-height: 82px;
  font-family: "DM Sans", system-ui, sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6f1;
  --bg-elevated: #edf1ea;
  --surface: #fffefa;
  --surface-strong: #f6f8f1;
  --surface-soft: #edf3df;
  --text: #1c241f;
  --text-soft: #465049;
  --muted: #616c65;
  --border: #d9dfd8;
  --border-strong: #aeb9ad;
  --accent: #8dab2f;
  --accent-strong: #667e20;
  --accent-ink: #fff;
  --danger: #a83c30;
  --shadow: 0 24px 70px rgb(39 54 44 / 13%);
  --shadow-soft: 0 12px 32px rgb(39 54 44 / 9%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 22px); background: var(--bg); }
body { margin: 0; min-height: 100vh; color: var(--text); background: radial-gradient(circle at 8% 6%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 28rem), radial-gradient(circle at 92% 35%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 32rem), var(--bg); transition: color .25s ease, background-color .25s ease; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 75%, white); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 3000; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 14px; border-radius: 8px; color: var(--accent-ink); background: var(--accent); font-weight: 700; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

.page-shell { width: min(100%, 1460px); margin: 0 auto; padding: 0 54px; }
.site-header { position: sticky; z-index: 1500; top: 0; height: var(--header-height); display: flex; align-items: center; gap: 46px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); }
.logo { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; color: var(--text); font-size: 24px; font-weight: 700; letter-spacing: -1.5px; text-decoration: none; }
.logo-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px 10px 10px 3px; color: var(--accent-ink); background: var(--accent); font: 24px Georgia, serif; box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 22%, transparent); }
.nav-links { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.nav-links a { position: relative; padding: 10px 13px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; transition: color .2s ease, background .2s ease; }
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { position: absolute; right: 13px; bottom: 4px; left: 13px; height: 2px; border-radius: 99px; background: var(--accent); content: ""; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.control-button { min-height: 39px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-soft); background: var(--surface); transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease; }
.control-button:hover { border-color: var(--border-strong); color: var(--text); transform: translateY(-1px); }
.language-selector { position: relative; }
.language-button { display: flex; min-width: 65px; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.language-button[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.chevron { transition: transform .2s ease; }
.language-menu { position: absolute; z-index: 2000; top: calc(100% + 9px); right: 0; width: 190px; padding: 7px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); animation: menu-in .16s ease both; }
.language-menu button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 10px 11px; border: 0; border-radius: 9px; color: var(--text-soft); background: transparent; text-align: left; }
.language-menu button:hover, .language-menu button:focus-visible { color: var(--text); background: var(--surface-soft); }
.language-menu button[aria-selected="true"] { color: var(--accent-strong); background: var(--surface-soft); }
.language-menu small { color: var(--muted); font: 10px "DM Mono", monospace; }
.theme-toggle { display: flex; align-items: center; gap: 8px; padding: 0 13px; font-size: 11px; font-weight: 600; }
.theme-icon { color: var(--accent-strong); font-size: 16px; }
.mobile-nav-toggle { display: none; width: 40px; height: 40px; margin-left: auto; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.mobile-nav-toggle span { display: block; width: 100%; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.mobile-nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-nav-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero { display: flex; min-height: 510px; align-items: flex-end; justify-content: space-between; gap: 60px; padding: 92px 0 66px; }
.hero-copy { max-width: 820px; }
.kicker, .eyebrow, .field-label { margin: 0; color: var(--muted); font: 500 10px "DM Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.pulse-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 14%, transparent); animation: pulse 2s ease-in-out infinite; }
.hero h1 { margin: 25px 0 0; color: var(--text); font-size: clamp(54px, 7vw, 100px); font-weight: 600; letter-spacing: -.07em; line-height: .91; }
.hero h1 em { color: var(--accent-strong); font-family: "Playfair Display", Georgia, serif; font-weight: 500; }
.hero-lede { max-width: 520px; margin: 32px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.hero-note { display: flex; flex: 0 0 auto; align-items: flex-start; gap: 11px; margin-bottom: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; animation: rise-in .65s .15s both; }
.hero-note strong { color: var(--text); }
.note-icon, .insight-star { color: var(--accent); font-size: 21px; }

.search-card { overflow: visible; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow); }
.main-search-row { display: grid; grid-template-columns: minmax(260px, 1fr) 210px 210px auto; align-items: stretch; gap: 0; padding: 16px; }
.search-field { display: grid; align-content: center; gap: 8px; min-width: 0; padding: 5px 24px; border-right: 1px solid var(--border); }
.search-field:first-child { padding-left: 10px; }
.location-value { display: flex; align-items: center; gap: 8px; }
.pin { color: var(--accent-strong); font-size: 20px; }
.location-value input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 16px; font-weight: 600; }
.select-control, .sort-control { width: 100%; border: 1px solid var(--border); border-radius: 9px; outline: none; color: var(--text-soft); background: var(--surface-strong); }
.select-control { min-height: 42px; padding: 0 35px 0 11px; }
.select-control:hover, .sort-control:hover { border-color: var(--border-strong); }
.select-control:focus-visible, .sort-control:focus-visible { border-color: var(--accent); }
.primary-button { display: flex; align-items: center; align-self: center; justify-content: space-between; gap: 22px; min-height: 50px; margin-left: 18px; padding: 0 18px; border: 0; border-radius: 11px; color: var(--accent-ink); background: var(--accent); box-shadow: 0 9px 28px color-mix(in srgb, var(--accent) 20%, transparent); font-size: 13px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 13px 32px color-mix(in srgb, var(--accent) 28%, transparent); }
.primary-button:disabled { cursor: wait; opacity: .7; transform: none; }
.search-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--border); }
.quick-filters { display: flex; min-width: 0; flex-wrap: wrap; gap: 7px; }
.filter-chip { padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: transparent; font-size: 11px; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.filter-chip:hover { border-color: var(--border-strong); color: var(--text); transform: translateY(-1px); }
.filter-chip.selected { border-color: color-mix(in srgb, var(--accent) 48%, var(--border)); color: var(--accent-strong); background: var(--surface-soft); }
.filter-status { display: inline-flex; align-items: center; cursor: default; }
.filter-status:hover { border-color: color-mix(in srgb, var(--accent) 48%, var(--border)); color: var(--accent-strong); transform: none; }
.search-hint { flex: 0 0 auto; color: var(--muted); font: 9px "DM Mono", monospace; }

.result-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 42%); gap: 38px; padding: 76px 0 110px; }
.results-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.results-header h2, .section-intro h2, .agents-section h2 { margin: 8px 0 0; color: var(--text); font-size: clamp(25px, 3vw, 38px); letter-spacing: -.045em; line-height: 1.08; }
.results-header h2 { font-size: 26px; }
.results-header h2 span { color: var(--muted); font-weight: 400; }
.sort-label { flex: 0 0 180px; }
.sort-control { min-height: 39px; padding: 0 10px; font-size: 11px; }
.insight { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 18px; padding: 13px 14px; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); border-radius: 10px; color: var(--text-soft); background: var(--surface-soft); font-size: 12px; }
.insight p { margin: 2px 0; line-height: 1.5; }
.insight strong { color: var(--accent-strong); }
.insight button { margin-left: auto; padding: 0 4px; border: 0; color: var(--muted); background: transparent; font-size: 20px; }
.listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.listing-card { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-soft); animation: rise-in .42s both; transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.listing-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.listing-media { position: relative; height: 196px; overflow: hidden; background: var(--surface-strong); }
.listing-media > a { display: block; width: 100%; height: 100%; }
.listing-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.listing-card:hover .listing-media img { transform: scale(1.035); }
.image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(145deg, var(--surface-soft), var(--surface-strong)); }
.image-placeholder span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 18px 18px 18px 5px; color: var(--accent-ink); background: var(--accent); font: 42px Georgia, serif; opacity: .8; }
.save-button { position: absolute; z-index: 2; top: 11px; right: 11px; width: 36px; height: 36px; border: 1px solid rgb(255 255 255 / 24%); border-radius: 50%; color: #fff; background: rgb(12 17 14 / 72%); backdrop-filter: blur(8px); font-size: 18px; }
.save-button:hover { background: rgb(12 17 14 / 90%); }
.save-button.saved { color: var(--accent-ink); background: var(--accent); }
.source-badge { position: absolute; z-index: 2; bottom: 11px; left: 11px; padding: 5px 8px; border-radius: 6px; color: #fff; background: rgb(12 17 14 / 76%); backdrop-filter: blur(8px); font: 9px "DM Mono", monospace; text-transform: uppercase; }
.card-body { padding: 15px; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-title { display: -webkit-box; overflow: hidden; margin: 0; color: var(--text); font-size: 14px; font-weight: 650; line-height: 1.38; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fresh { flex: 0 0 auto; color: var(--accent-strong); font: 8px "DM Mono", monospace; white-space: nowrap; }
.card-location { overflow: hidden; margin: 9px 0 7px; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.listing-status { display: flex; align-items: center; gap: 6px; margin: 0 0 15px; color: var(--muted); font: 9px "DM Mono", monospace; }
.listing-status > span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent); }
.card-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price { color: var(--text); font-size: 16px; font-weight: 700; }
.price small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 400; }
.specs { color: var(--muted); font-size: 10px; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.details-button { padding: 0; border: 0; color: var(--text); background: transparent; font-size: 11px; font-weight: 700; }
.details-button:hover { color: var(--accent-strong); }
.card-link { display: inline-flex; color: var(--accent-strong); font-size: 11px; font-weight: 700; text-align: right; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.load-more { width: 100%; margin-top: 18px; padding: 13px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-soft); background: transparent; font-size: 12px; transition: border-color .2s ease, background .2s ease; }
.load-more:hover { border-color: var(--border-strong); background: var(--surface); }
.empty-results { grid-column: 1 / -1; display: grid; gap: 8px; padding: 36px 24px; border: 1px dashed var(--border-strong); border-radius: 14px; color: var(--muted); background: var(--surface); font-size: 13px; }
.empty-results strong { color: var(--text); font-size: 17px; }
.empty-results button { justify-self: start; margin-top: 7px; padding: 8px 0; border: 0; color: var(--accent-strong); background: transparent; font-weight: 700; }

.map-panel { position: sticky; top: calc(var(--header-height) + 20px); height: 610px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.map-surface { position: absolute; inset: 0; background: #dfe7d7; }
.map-top, .map-bottom { position: absolute; z-index: 1000; right: 13px; left: 13px; display: flex; align-items: center; }
.map-top { top: 13px; justify-content: flex-end; gap: 5px; }
.map-top span, .map-top button, .map-bottom { border: 1px solid var(--border); color: var(--text); background: color-mix(in srgb, var(--surface) 91%, transparent); box-shadow: var(--shadow-soft); backdrop-filter: blur(10px); }
.map-top span { margin-right: auto; padding: 8px 11px; border-radius: 8px; font-size: 11px; font-weight: 700; }
.map-top button { width: 31px; height: 31px; border-radius: 8px; font-size: 17px; }
.map-bottom { bottom: 13px; justify-content: space-between; padding: 11px 12px; border-radius: 9px; font-size: 10px; }
.map-bottom button { border: 0; color: var(--accent-strong); background: transparent; font-size: 10px; font-weight: 700; }
.leaflet-control-zoom { display: none; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { color: var(--text); background: var(--surface); }
.leaflet-popup-content { font-family: "DM Sans", sans-serif; font-size: 12px; line-height: 1.5; }
.leaflet-popup-content a { color: var(--accent-strong); font-weight: 700; }

.info-section { padding: 104px 0; border-top: 1px solid var(--border); }
.section-intro { max-width: 680px; }
.section-intro > p:last-child { max-width: 600px; margin: 20px 0 0; color: var(--muted); line-height: 1.65; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 45px; }
.steps-grid article { padding: 26px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-soft); }
.steps-grid article > span { color: var(--accent-strong); font: 10px "DM Mono", monospace; }
.steps-grid h3 { margin: 24px 0 9px; font-size: 17px; }
.steps-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.relocation-section { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 60px; align-items: center; margin-bottom: 104px; padding: 54px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(145deg, color-mix(in srgb, var(--surface-soft) 68%, var(--surface)), var(--surface)); box-shadow: var(--shadow-soft); }
.relocation-copy h2 { max-width: 760px; margin: 10px 0 0; font-size: clamp(30px, 4vw, 50px); letter-spacing: -.05em; line-height: 1.03; }
.relocation-copy > p:not(.eyebrow) { max-width: 690px; margin: 21px 0 0; color: var(--muted); line-height: 1.7; }
.relocation-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.relocation-points > span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-soft); background: var(--surface); font-size: 11px; }
.relocation-points b { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; color: var(--accent-ink); background: var(--accent); font-size: 10px; }
.relocation-roadmap { padding: 26px; border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border)); border-radius: 17px; background: var(--surface); }
.roadmap-status { display: inline-flex; padding: 5px 8px; border-radius: 999px; color: var(--accent-strong); background: var(--surface-soft); font: 9px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.relocation-roadmap > strong { display: block; margin-top: 21px; font-size: 18px; }
.relocation-roadmap > p, .roadmap-next p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.roadmap-next { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.roadmap-next > span { color: var(--muted); font: 9px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.agents-section { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 105px; padding: 42px; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border)); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--surface-soft), var(--surface)); box-shadow: var(--shadow-soft); }
.agents-section > div { max-width: 720px; }
.agents-section p:not(.eyebrow) { margin: 18px 0 0; color: var(--muted); line-height: 1.65; }
.secondary-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 10px; color: var(--text); background: var(--surface); font-size: 12px; font-weight: 700; text-decoration: none; }
.secondary-button:hover { border-color: var(--accent); }
.trust-strip { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 25px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.trust-strip div { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.trust-strip b { color: var(--text-soft); font-size: 15px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0 45px; color: var(--muted); font-size: 11px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }
.toast { position: fixed; z-index: 2500; right: 22px; bottom: 22px; padding: 11px 15px; border: 1px solid var(--border-strong); border-radius: 10px; color: var(--text); background: var(--surface); box-shadow: var(--shadow); font-size: 12px; animation: toast-in .2s ease both; }
.listing-dialog { width: min(920px, calc(100% - 34px)); max-height: min(88vh, 820px); padding: 0; overflow: auto; border: 1px solid var(--border-strong); border-radius: 22px; color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
.listing-dialog::backdrop { background: rgb(4 8 6 / 72%); backdrop-filter: blur(8px); }
.dialog-close { position: sticky; z-index: 3; top: 14px; float: right; width: 38px; height: 38px; margin: 14px 14px -52px 0; border: 1px solid rgb(255 255 255 / 25%); border-radius: 50%; color: #fff; background: rgb(12 17 14 / 78%); font-size: 22px; backdrop-filter: blur(8px); }
.dialog-gallery { display: grid; grid-template-columns: 1fr; height: 350px; gap: 3px; overflow: hidden; background: var(--surface-strong); }
.dialog-gallery.has-thumbnails { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.dialog-gallery img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.dialog-gallery.has-thumbnails img:first-child { grid-row: 1 / 3; }
.dialog-placeholder { height: 100%; }
.dialog-body { padding: 30px; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; }
.dialog-heading h2 { max-width: 650px; margin: 9px 0 0; font-size: clamp(24px, 4vw, 38px); letter-spacing: -.045em; line-height: 1.08; }
.dialog-location { margin: 13px 0 0; color: var(--muted); font-size: 12px; }
.dialog-price { flex: 0 0 auto; color: var(--text); font-size: 22px; font-weight: 700; text-align: right; }
.dialog-price small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 400; }
.detail-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 28px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--border); }
.detail-facts > span { min-width: 0; padding: 15px; background: var(--surface-strong); }
.detail-facts small, .detail-facts strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-facts small { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.detail-facts strong { margin-top: 7px; color: var(--text-soft); font-size: 12px; }
.dialog-description { margin-top: 27px; }
.dialog-description h3 { margin: 0; font-size: 15px; }
.dialog-description p { display: -webkit-box; overflow: hidden; margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 6; }
.contact-note { margin: 24px 0 0; padding: 12px 14px; border-left: 3px solid var(--accent); color: var(--muted); background: var(--surface-soft); font-size: 11px; line-height: 1.55; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.dialog-actions .primary-button { justify-content: center; margin: 0; text-decoration: none; }

@keyframes menu-in { from { opacity: 0; transform: translateY(-5px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

@media (max-width: 1060px) {
  .page-shell { padding: 0 28px; }
  .site-header { gap: 22px; }
  .nav-links { gap: 0; }
  .main-search-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .search-field { padding: 5px 8px 12px; border-right: 0; border-bottom: 1px solid var(--border); }
  .search-location { grid-column: 1 / -1; }
  .primary-button { margin: 0; }
  .result-layout { grid-template-columns: 1fr; }
  .map-panel { position: relative; top: auto; height: 430px; }
}

@media (max-width: 760px) {
  :root { --header-height: 70px; }
  .page-shell { padding: 0 17px; }
  .site-header { gap: 9px; }
  .mobile-nav-toggle { display: block; }
  .nav-links { position: absolute; z-index: 1400; top: calc(100% + 8px); right: 0; left: 0; display: grid; gap: 4px; padding: 8px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translateY(-7px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; }
  .nav-links a { padding: 12px 13px; }
  .nav-links a.active::after { top: 10px; right: auto; bottom: 10px; left: 4px; width: 3px; height: auto; }
  .theme-label { display: none; }
  .theme-toggle { width: 39px; padding: 0; justify-content: center; }
  .hero { min-height: 470px; padding: 65px 0 46px; }
  .hero h1 { font-size: clamp(49px, 15vw, 72px); }
  .hero-note { display: none; }
  .main-search-row { grid-template-columns: 1fr; padding: 14px; }
  .search-location { grid-column: auto; }
  .primary-button { min-height: 48px; justify-content: center; }
  .search-footer { display: block; }
  .quick-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .filter-chip { flex: 0 0 auto; white-space: nowrap; }
  .search-hint { display: none; }
  .result-layout { padding: 58px 0 82px; }
  .results-header { align-items: flex-start; }
  .sort-label { flex-basis: 145px; }
  .listing-grid { grid-template-columns: 1fr; }
  .map-panel { height: 390px; }
  .info-section { padding: 78px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .relocation-section { grid-template-columns: 1fr; gap: 28px; margin-bottom: 78px; padding: 31px; }
  .agents-section { display: block; padding: 28px; }
  .agents-section .secondary-button { margin-top: 25px; }
  .trust-strip { display: block; }
  .trust-strip div { gap: 16px; margin-top: 12px; }
  footer { flex-wrap: wrap; }
}

@media (max-width: 430px) {
  .logo > span:last-child { display: none; }
  .language-button { min-width: 55px; }
  .hero h1 { font-size: 49px; }
  .hero-lede { font-size: 14px; }
  .results-header { display: block; }
  .sort-label { display: block; width: 100%; margin-top: 15px; }
  .listing-media { height: 220px; }
  .listing-dialog { width: calc(100% - 20px); max-height: 94vh; border-radius: 17px; }
  .dialog-gallery { height: 245px; }
  .dialog-body { padding: 22px 18px; }
  .dialog-heading { display: block; }
  .dialog-price { margin-top: 18px; text-align: left; }
  .detail-facts { grid-template-columns: 1fr 1fr; }
  .dialog-actions { display: grid; }
  .map-bottom { gap: 10px; }
  .map-bottom span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

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