:root {
  --green: #0F4C3A;
  --green-2: #16634D;
  --green-tint: #E3EFEA;
  --marigold: #E8A317;
  --marigold-tint: #FDF3DC;
  --ink: #17211D;
  --granite: #5E6B66;
  --line: #DCE3E0;
  --mist: #F2F5F4;
  --white: #fff;
  --red: #B3261E;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Figtree', system-ui, sans-serif;
  --r-sm: 6px; --r: 10px; --r-lg: 18px;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 700; }
h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--granite); }
.small { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 26px; height: 66px; }
.nav a.nav-mobile { display: none; }
@media (max-width: 1280px) { .nav a:nth-child(n+8) { display: none; } }
@media (max-width: 1160px) { .nav a:nth-child(n+7) { display: none; } .nav { gap: 16px; } }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand b { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; display: block; line-height: 1; }
.brand span { font-size: 11.5px; color: var(--granite); display: block; margin-top: 3px; }
.nav { display: flex; gap: 20px; flex: 1; white-space: nowrap; }
.nav a { color: var(--ink); font-weight: 500; font-size: 14.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { text-decoration: none; border-color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.city-select { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; background: var(--white); font-size: 14px; cursor: pointer; }
.shortlist-link { position: relative; color: var(--ink); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.shortlist-link .count { background: var(--marigold); color: var(--ink); border-radius: 999px; font-size: 11px; font-weight: 700; padding: 1px 6px; }
.menu-btn { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-sm); padding: 10px 18px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font-size: 14.5px; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-2); }
.btn-accent { background: var(--marigold); color: var(--ink); }
.btn-accent:hover { background: #F0B232; }
.btn-ghost { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--green); }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 13px; }

/* Hero */
.hero { background: var(--green); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { padding-top: 56px; padding-bottom: 36px; position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero p.lead { font-size: 18px; color: #CFE3DB; max-width: 52ch; }
.hero-img { position: absolute; right: 0; top: 0; bottom: 0; width: 44%; background-size: cover; background-position: center; }
.hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--green) 0%, rgba(15,76,58,.55) 35%, rgba(15,76,58,.1) 100%); }

.search-box { background: var(--white); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 18px 40px rgba(6,30,23,.25); margin-top: 28px; max-width: 860px; }
.search-tabs { display: flex; gap: 4px; padding: 8px 10px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.search-tabs button { background: none; border: 0; padding: 12px 14px; font-weight: 600; color: var(--granite); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.search-tabs button[aria-selected="true"] { color: var(--green); border-color: var(--marigold); }
.search-row { display: flex; gap: 10px; padding: 14px; align-items: stretch; flex-wrap: wrap; }
.search-row select, .search-row input { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; background: var(--white); }
.search-row input { flex: 1; min-width: 200px; }
.search-row .btn { padding: 12px 28px; }
.search-hint { padding: 0 16px 14px; font-size: 13px; color: var(--granite); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.search-hint a { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--ink); }
.search-hint a:hover { border-color: var(--green); text-decoration: none; }

/* Price ticker — the signature element */
.ticker { background: #0B3A2C; color: #D9EAE3; border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; position: relative; z-index: 1; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: tick 90s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker a { color: inherit; display: flex; gap: 8px; align-items: baseline; padding: 11px 22px; border-right: 1px solid rgba(255,255,255,.08); font-size: 13.5px; white-space: nowrap; }
.ticker a:hover { text-decoration: none; background: rgba(255,255,255,.05); }
.ticker b { color: var(--white); font-weight: 600; }
.up { color: #7FD8A8; } .down { color: #FF9C8F; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker { overflow-x: auto; } }

/* Sections */
.section { padding: 52px 0; }
.section-alt { background: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--granite); }

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Property card */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.card:hover { border-color: #B9C8C2; }
.card-img { position: relative; aspect-ratio: 4/3; background: var(--green-tint); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 4px; background: var(--white); color: var(--ink); }
.badge-verified { background: var(--green); color: var(--white); }
.badge-featured { background: var(--marigold); color: var(--ink); }
.badge-soft { background: var(--green-tint); color: var(--green); }
.badge-warn { background: var(--marigold-tint); color: #7A5200; }
.save-btn { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); cursor: pointer; font-size: 17px; line-height: 1; display: grid; place-items: center; color: var(--granite); }
.save-btn[aria-pressed="true"] { color: var(--red); }
.card-img .photo-count { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.price { font-family: var(--display); font-size: 21px; font-weight: 700; }
.price small { font-family: var(--body); font-size: 12.5px; font-weight: 400; color: var(--granite); margin-left: 6px; }
.card-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.card-title:hover { color: var(--green); }
.card-loc { font-size: 13.5px; color: var(--granite); }
.specs { display: flex; gap: 14px; font-size: 13px; color: var(--ink); margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.specs span b { display: block; font-size: 11.5px; font-weight: 500; color: var(--granite); }
.card-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--granite); margin-top: auto; padding-top: 10px; }
.stretched::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.card .save-btn, .card .card-foot .btn, .result .save-btn { z-index: 2; }
.card .card-foot .btn { position: relative; }

/* List-style result row */
.result { display: grid; grid-template-columns: 280px 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); position: relative; }
.result + .result { margin-top: 14px; }
.result .card-img { aspect-ratio: auto; height: 100%; min-height: 210px; }
.result-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.result-top { display: flex; justify-content: space-between; gap: 12px; }
.result-desc { font-size: 13.5px; color: var(--granite); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.result-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; flex-wrap: wrap; }
.poster { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.poster .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; font-weight: 700; font-size: 12px; overflow: hidden; }
.poster .avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Search page */
.search-layout { display: grid; grid-template-columns: 270px 1fr; gap: 26px; padding: 22px 0 60px; }
.filters { position: sticky; top: 84px; align-self: start; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; max-height: calc(100vh - 100px); overflow: auto; }
.filters h3 { display: flex; justify-content: space-between; align-items: center; }
.filters h3 button { background: none; border: 0; color: var(--green); font-size: 13px; cursor: pointer; font-weight: 600; }
.fgroup { padding: 12px 0; border-top: 1px solid var(--line); }
.fgroup > label, .fgroup legend { font-weight: 600; font-size: 13.5px; display: block; margin-bottom: 8px; padding: 0; }
fieldset.fgroup { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 12px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-size: 13px; background: var(--white); }
.chip input:checked + span { background: var(--green-tint); border-color: var(--green); color: var(--green); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--marigold); outline-offset: 1px; }
.fgroup select, .fgroup input[type=text], .fgroup input[type=number] { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px; background: var(--white); }
.range-row { display: flex; gap: 8px; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.results-head h1 { font-size: 22px; margin: 0; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.view-toggle button { border: 0; background: var(--white); padding: 7px 12px; cursor: pointer; font-size: 13.5px; }
.view-toggle button[aria-pressed="true"] { background: var(--green); color: var(--white); }
.sort { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 7px 10px; background: var(--white); }
#map { height: 640px; border-radius: var(--r); border: 1px solid var(--line); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.pager button { min-width: 38px; height: 38px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); cursor: pointer; }
.pager button[aria-current="page"] { background: var(--green); color: var(--white); border-color: var(--green); }
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--r); }
.filter-toggle { display: none; }

/* Breadcrumb */
.crumbs { font-size: 13px; color: var(--granite); padding: 16px 0 0; }
.crumbs a { color: var(--granite); }

/* Property detail */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 8px; margin: 14px 0 24px; border-radius: var(--r-lg); overflow: hidden; }
.gallery button { padding: 0; border: 0; cursor: zoom-in; background: var(--green-tint); overflow: hidden; position: relative; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .more { position: absolute; inset: 0; background: rgba(0,0,0,.5); color: #fff; display: grid; place-items: center; font-weight: 600; }
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 34px; padding-bottom: 60px; }
.detail-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; flex-wrap: wrap; }
.detail-head h1 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 6px; }
.detail-price { font-family: var(--display); font-size: 32px; font-weight: 700; line-height: 1.1; text-align: right; }
.detail-price small { display: block; font-family: var(--body); font-size: 13px; font-weight: 400; color: var(--granite); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); margin: 22px 0; }
.facts div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div:nth-child(4n) { border-right: 0; }
.facts dt { font-size: 12px; color: var(--granite); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.facts dl { margin: 0; }
.block { padding: 22px 0; border-top: 1px solid var(--line); }
.amenity-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; list-style: none; padding: 0; margin: 0; }
.amenity-list li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 8px; }
.contact-card { position: sticky; top: 84px; align-self: start; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: 0 8px 24px rgba(15,76,58,.08); }
.contact-card form { display: grid; gap: 10px; margin-top: 14px; }
.contact-card input, .contact-card select, .contact-card textarea, .form input, .form select, .form textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; background: var(--white); }
.check { display: flex; gap: 8px; align-items: start; font-size: 13px; color: var(--granite); }
.check input { width: auto; margin-top: 3px; }
.phone-reveal { display: flex; justify-content: space-between; align-items: center; background: var(--mist); border-radius: var(--r-sm); padding: 10px 12px; font-weight: 600; }
.success { background: var(--green-tint); color: var(--green); border-radius: var(--r-sm); padding: 12px 14px; font-weight: 500; }
.mini-map { height: 280px; border-radius: var(--r); border: 1px solid var(--line); }
.nearby-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; font-size: 14px; }
.nearby-list li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 6px 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(8,20,16,.92); z-index: 100; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 82vh; border-radius: var(--r); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-count { position: absolute; bottom: 22px; color: #fff; font-size: 14px; }

/* Project cards */
.project-card .card-img { aspect-ratio: 16/10; }
.project-card .builder-line { font-size: 13px; color: var(--granite); }
.config-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.config-row span { background: var(--mist); border-radius: 4px; padding: 2px 8px; font-size: 12.5px; }

/* Builder / agent cards */
.profile-card { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; gap: 14px; align-items: start; position: relative; background: var(--white); }
.monogram { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 700; font-size: 20px; flex-shrink: 0; }
.agent-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--green-tint); }
.profile-card h3 { margin: 0 0 2px; font-size: 16px; }
.stat-row { display: flex; gap: 18px; margin-top: 10px; font-size: 13px; }
.stat-row b { display: block; font-family: var(--display); font-size: 17px; }
.stars { color: #B97F00; font-weight: 600; }

.profile-hero { background: var(--mist); padding: 30px 0; border-bottom: 1px solid var(--line); }
.profile-hero .wrap { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.profile-hero .monogram { width: 88px; height: 88px; font-size: 32px; border-radius: 18px; }
.profile-hero .agent-photo { width: 96px; height: 96px; }
.profile-hero h1 { font-size: 32px; margin: 0; }
.kpis { display: flex; gap: 30px; margin-left: auto; }
.kpis div b { display: block; font-family: var(--display); font-size: 26px; }
.kpis div span { font-size: 13px; color: var(--granite); }

/* Cities strip */
.city-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.city-tile { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; color: var(--ink); background: var(--white); }
.city-tile:hover { border-color: var(--green); text-decoration: none; }
.city-tile b { display: block; font-family: var(--display); font-size: 17px; }
.city-tile span { font-size: 12.5px; color: var(--granite); }

.locality-cloud { columns: 4; column-gap: 24px; }
.locality-cloud a { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px; break-inside: avoid; }
.locality-cloud a:hover { color: var(--green); text-decoration: none; }
.locality-cloud a span { color: var(--granite); font-size: 13px; }

/* Explainer / tools strip */
.tool-strip { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.tool { border-radius: var(--r-lg); padding: 24px; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.tool:hover { text-decoration: none; border-color: var(--green); }
.tool.feature { background: var(--marigold-tint); border-color: #F2D48A; }
.tool h3 { font-size: 20px; }
.tool p { color: var(--granite); margin: 0; }

/* Tables / trends */
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.data th { font-size: 12.5px; color: var(--granite); font-weight: 600; background: var(--mist); position: sticky; top: 66px; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tr:hover td { background: #FAFCFB; }
.spark { width: 90px; height: 26px; }
.trend-chart { width: 100%; height: 260px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.form .hint { font-weight: 400; color: var(--granite); font-size: 12.5px; }
.steps { display: flex; gap: 0; margin-bottom: 26px; counter-reset: s; }
.steps li { flex: 1; list-style: none; padding: 10px 0; border-bottom: 3px solid var(--line); font-size: 13.5px; color: var(--granite); counter-increment: s; }
.steps li::before { content: counter(s) '. '; }
.steps li.on { border-color: var(--green); color: var(--ink); font-weight: 600; }
.panel { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }

/* EMI */
.emi { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.slider-field { margin-bottom: 22px; }
.slider-field .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.slider-field input[type=number] { width: 150px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 10px; text-align: right; }
input[type=range] { width: 100%; accent-color: var(--green); }
.emi-result { background: var(--green); color: #fff; border-radius: var(--r-lg); padding: 28px; }
.emi-result .big { font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1; margin: 6px 0 18px; }
.emi-result dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0; font-size: 14.5px; }
.emi-result dd { margin: 0; text-align: right; font-weight: 600; }
.donut { width: 160px; height: 160px; margin: 20px auto 0; display: block; }

/* Footer */
.site-footer { background: var(--ink); color: #B9C6C1; padding: 48px 0 24px; font-size: 14px; }
.site-footer a { color: #DCE6E2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.site-footer h4 { color: #fff; font-family: var(--body); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.site-footer .brand b { color: #fff; } .site-footer .brand span { color: #9DB0A9; }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: var(--r-sm); font-size: 14px; opacity: 0; transition: .2s; z-index: 200; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Leaflet popup */
.leaflet-popup-content { margin: 10px 12px; font-family: var(--body); }
.map-pop { width: 210px; }
.map-pop img { width: 100%; height: 110px; object-fit: cover; border-radius: 6px; margin-bottom: 6px; }
.map-pop b { font-family: var(--display); font-size: 16px; }
.price-pin { background: var(--green); color: #fff; font-weight: 700; font-size: 11.5px; padding: 3px 7px; border-radius: 4px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.25); border: 1px solid #fff; transform: translate(-50%, -100%); display: inline-block; }
.price-pin.rent { background: #284B63; } .price-pin.pg { background: #7A3E2B; }

/* Responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .city-tiles { grid-template-columns: repeat(4, 1fr); }
  .locality-cloud { columns: 3; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr 320px; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px 16px; border-bottom: 1px solid var(--line); gap: 4px; }
  .nav.open { display: flex; }
  .nav a:nth-child(n) { display: block; }
  .menu-btn { display: block; }
  .header-actions .city-select { display: none; }
  .site-header .wrap { justify-content: space-between; }
  .hero-img { display: none; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tool-strip { grid-template-columns: 1fr; }
  .search-layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .result { grid-template-columns: 1fr; }
  .result .card-img { aspect-ratio: 16/10; min-height: 0; }
  .detail-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 120px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(n+4) { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(4n) { border-right: 1px solid var(--line); }
  .facts div:nth-child(2n) { border-right: 0; }
  .amenity-list { grid-template-columns: repeat(2, 1fr); }
  .emi, .form-row, .grid-2 { grid-template-columns: 1fr; }
  .kpis { margin-left: 0; }
  .locality-cloud { columns: 2; }
  .city-tiles { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nearby-list { grid-template-columns: 1fr; }
  table.data th { position: static; }
  .table-scroll { overflow-x: auto; }
}
@media (max-width: 520px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .city-tiles { grid-template-columns: repeat(2, 1fr); }
  .brand span { display: none; }
  .detail-price { text-align: left; }
  .search-row .btn { width: 100%; }
}
.brand b { white-space: nowrap; }
@media (max-width: 520px) {
  .site-header .wrap { gap: 10px; }
  .brand b { font-size: 18px; }
  .brand img { width: 32px; height: 32px; }
  .header-actions { gap: 8px; }
  .header-actions .btn .badge { display: none; }
  .header-actions .btn { padding: 6px 10px; }
  .search-hint a { white-space: nowrap; }
}
@media (max-width: 520px) { .shortlist-link { display: none; } }
