/* =========================================================
   House 2 Home · Concept 2 · "Search-First Smart Portal"
   ========================================================= */
:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --ink: #16181d;
  --ink-2: #353a45;
  --muted: #687080;
  --line: #e6e8ed;
  --line-2: #d7dae1;
  --gold: #b8923a;
  --gold-hi: #c9a24b;
  --gold-ink: #7f611c;
  --gold-50: #fbf7ee;
  --gold-100: #f4ead2;
  --charcoal: #15171b;
  --charcoal-2: #20232a;
  --wa: #1faa59;
  --ok: #1e8a57;
  --err: #b42318;
  --r-xs: 8px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 18px;
  --r-xl: 26px;
  --sh-1: 0 1px 2px rgba(17, 24, 39, .05), 0 1px 3px rgba(17, 24, 39, .05);
  --sh-2: 0 6px 16px -6px rgba(17, 24, 39, .12), 0 2px 4px -2px rgba(17, 24, 39, .05);
  --sh-3: 0 24px 50px -16px rgba(17, 24, 39, .22), 0 6px 14px -6px rgba(17, 24, 39, .08);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif;
  --wrap: 1280px;
  --gut: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 116px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.15; font-weight: 700; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.ic { width: 18px; height: 18px; flex: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 24px; font-size: 15.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: #17140c; box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 6px 14px -6px rgba(184, 146, 58, .65); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2e37; }
.btn-line { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17924b; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: transparent; border: 1px solid transparent; color: var(--ink); position: relative; transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn .ic { width: 20px; height: 20px; }
.icon-btn-line { border-color: var(--line-2); background: var(--surface); }
.icon-btn-line:hover { border-color: var(--ink); background: var(--surface); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); background: none; border: 0; padding: 0; }
.link .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link:hover .ic { transform: translateX(3px); }
[dir="rtl"] .link:hover .ic { transform: scaleX(-1) translateX(3px); }

/* ---------- badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 7px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .01em; background: rgba(255, 255, 255, .94); color: var(--ink); white-space: nowrap;
}
.badge .ic { width: 13px; height: 13px; }
.badge-gold { background: var(--gold-100); color: var(--gold-ink); }
.card-media .badge-gold { background: var(--gold); color: #17140c; }
.badge-dark { background: var(--ink); color: #fff; }
.badge-light { background: rgba(255, 255, 255, .94); }
.badge-ghost { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 6px 0 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  transition: border-color .2s, background .2s, color .2s; white-space: nowrap;
}
[dir="rtl"] .chip { padding: 0 14px 0 6px; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip-n { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--surface-2); display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ink); }
.chip-sm { height: 32px; padding: 0 12px !important; font-size: 13px; }
.chip-sm .ic { width: 14px; height: 14px; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.avatar {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(145deg, #2a2d34, #15171b); color: var(--gold-hi); font-weight: 700; font-size: 14px; letter-spacing: .03em; flex: none;
}
.avatar-xs { width: 28px; height: 28px; font-size: 10.5px; }
.avatar-lg { width: 60px; height: 60px; font-size: 19px; box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--gold-100); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(17, 24, 39, .25); }
.topbar { background: var(--charcoal); color: #c9ccd3; font-size: 12.5px; }
.topbar-in { display: flex; align-items: center; gap: 22px; height: 38px; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.tb-item .ic { width: 15px; height: 15px; color: var(--gold-hi); }
.tb-item b { color: #fff; font-weight: 600; }
a.tb-item:hover { color: #fff; }
.tb-spacer { flex: 1; }
.tb-lang { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 13px; font-weight: 600; }
.tb-lang .ic { width: 15px; height: 15px; }
.tb-lang:hover { background: rgba(255, 255, 255, .16); }
.tb-lang span { font-family: var(--font-ar); }
html[lang="ar"] .tb-lang span { font-family: var(--font); }
.navbar { border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 44px; width: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.2; padding-inline-start: 12px; border-inline-start: 1px solid var(--line-2); }
.brand-txt b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; font-family: var(--font); }
.brand-txt small { font-size: 11px; color: var(--muted); letter-spacing: .04em; font-family: var(--font); }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.nav a { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a.active { color: var(--ink); background: var(--gold-50); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 10px 10px 4px 4px; }
.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.saved-btn .ic { width: 21px; height: 21px; }
.dot-count { position: absolute; top: 4px; inset-inline-end: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #17140c; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.dot-inline { position: static; }
.nav-lang { display: none; background: var(--surface-2); border-color: var(--line); color: var(--ink); height: 38px; }
.burger { display: none; }

/* mobile nav */
.mnav { position: fixed; inset: 0; z-index: 120; background: rgba(15, 17, 21, .45); opacity: 0; transition: opacity .25s; }
.mnav.open { opacity: 1; }
.mnav-panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(380px, 100%); background: var(--surface); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; }
[dir="rtl"] .mnav-panel { transform: translateX(-100%); }
.mnav.open .mnav-panel { transform: none; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mnav-head img { height: 40px; width: auto; }
.mnav-links { display: flex; flex-direction: column; padding: 8px 16px; }
.mnav-links a { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mnav-links a .ic { color: var(--muted); }
.mnav-foot { margin-top: auto; padding: 16px; display: grid; gap: 10px; }
.mnav-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mnav-rera { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.mnav-rera .ic { width: 15px; height: 15px; color: var(--gold); }

/* ---------- sections ---------- */
.sec { padding: 84px 0; }
.hero + .sec { padding-top: 40px; }
.sec-tint { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 40px); max-width: 640px; text-wrap: balance; }
.sec-sub { max-width: 440px; color: var(--muted); font-size: 15.5px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 13.5px; }
.sec-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sec-foot { margin-top: 28px; display: flex; justify-content: center; }
.fine { font-size: 12.5px; color: var(--muted); margin-top: 18px; }
.seg { display: inline-flex; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; gap: 2px; }
.sec-tint .seg { background: var(--surface-2); }
.seg-b { height: 36px; padding: 0 14px; border: 0; background: transparent; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.seg-b:hover { color: var(--ink); }
.seg-b[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: var(--sh-1); }
.seg-full { display: flex; width: 100%; }
.seg-full .seg-b { flex: 1; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--gold-100); color: var(--gold-ink); margin-top: 1px; stroke-width: 2.4; }

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- hero ---------- */
.hero { padding: 44px 0 72px; background:
  radial-gradient(1200px 400px at 85% -10%, rgba(184, 146, 58, .09), transparent 60%),
  linear-gradient(var(--surface), var(--bg)); }
.hero-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: end; margin-bottom: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 20px; box-shadow: var(--sh-1); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(30, 138, 87, .5); animation: pulse 2s infinite; display: inline-block; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(30, 138, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 138, 87, 0); } }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.25; font-weight: 700; }
.hero-aside { padding-bottom: 8px; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 460px; margin-bottom: 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.trust .ic { color: var(--gold); }

.hero-stage { position: relative; }
.hero-media { position: relative; border-radius: var(--r-xl); overflow: hidden; height: 440px; box-shadow: var(--sh-2); }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transform: scale(1.02); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 16, .0) 45%, rgba(10, 12, 16, .35)); pointer-events: none; }
.hero-live { position: absolute; top: 20px; inset-inline-end: 20px; z-index: 2; transition: opacity .3s, transform .3s; }
.hero-live.swap { opacity: 0; transform: translateY(-6px); }
.live-card { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; background: rgba(255, 255, 255, .95); border-radius: 16px; box-shadow: var(--sh-3); backdrop-filter: blur(6px); }
[dir="rtl"] .live-card { padding: 8px 8px 8px 14px; }
.live-card img { width: 72px; height: 56px; object-fit: cover; border-radius: 10px; }
.live-txt { display: flex; flex-direction: column; line-height: 1.3; }
.live-txt small { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); }
.live-txt small .pulse { width: 6px; height: 6px; }
.live-txt b { font-size: 13.5px; }
.live-txt .price { font-size: 13px; }

.search {
  position: relative; z-index: 3; margin: -96px auto 0; width: calc(100% - 64px); max-width: 1120px;
  background: var(--surface); border-radius: 22px; box-shadow: var(--sh-3); border: 1px solid var(--line);
  padding: 8px 8px 16px;
}
.search-tabs { position: relative; display: inline-flex; gap: 2px; padding: 6px 6px 0; margin-bottom: 8px; }
.stab { position: relative; z-index: 1; height: 40px; padding: 0 18px; border: 0; background: transparent; font-weight: 700; font-size: 14.5px; color: var(--muted); border-radius: 10px; transition: color .2s; }
.stab[aria-selected="true"] { color: var(--ink); }
.stab:hover { color: var(--ink); }
.stab-ink { position: absolute; left: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--gold); transition: transform .35s var(--ease), width .35s var(--ease); }
.search-fields { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1fr auto; gap: 0; align-items: stretch; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 6px; }
.sf { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 8px 16px; border-radius: 12px; min-width: 0; cursor: pointer; transition: background .2s; }
.sf + .sf::before { content: ""; position: absolute; inset-inline-start: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line-2); }
.sf:hover, .sf:focus-within { background: var(--surface); }
.sf:focus-within { box-shadow: 0 0 0 2px var(--gold-100); }
.sf:hover::before, .sf:hover + .sf::before, .sf:focus-within::before, .sf:focus-within + .sf::before { opacity: 0; }
.sf-l { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .sf-l { letter-spacing: 0; font-size: 12.5px; }
.sf-l .ic { width: 14px; height: 14px; color: var(--gold); }
.sf select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 2px 22px 0 0; margin: 0; font-size: 15.5px; font-weight: 600; color: var(--ink); outline: none; cursor: pointer; width: 100%; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687080' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 16px; background-position: right 0 center;
}
[dir="rtl"] .sf select { padding: 2px 0 0 22px; background-position: left 0 center; }
.search-go { align-self: stretch; height: auto; min-height: 58px; margin-inline-start: 6px; min-width: 196px; }
.search-go .ic { width: 20px; height: 20px; }
.search-go.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.03); } }
.search.is-offplan .sf-type, .search.is-offplan .sf-beds, .search.is-offplan .sf-budget { display: none; }
.search.is-offplan .search-fields { grid-template-columns: 1fr auto; }
.search-chips { display: flex; align-items: center; gap: 12px; padding: 14px 10px 0; }
.sc-l { font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; flex: none; }
html[lang="ar"] .sc-l { letter-spacing: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1120px; margin: 36px auto 0; width: calc(100% - 64px); }
.stats li { display: flex; align-items: baseline; gap: 10px; padding-inline-start: 16px; border-inline-start: 2px solid var(--gold-100); }
.stats b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.stats span { font-size: 13.5px; color: var(--muted); }

/* ---------- listing card ---------- */
.card { position: relative; background: var(--surface); border-radius: 16px; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s; display: flex; flex-direction: column; }
.card:hover, .card.hl { box-shadow: var(--sh-3); transform: translateY(-3px); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; max-width: calc(100% - 70px); }
.fav { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); display: grid; place-items: center; color: var(--ink); box-shadow: var(--sh-1); transition: transform .2s, color .2s; }
.fav:hover { transform: scale(1.08); }
.fav .ic { width: 19px; height: 19px; }
.fav.on { color: #d64545; }
.fav.on .ic { fill: currentColor; animation: pop .35s var(--ease); }
@keyframes pop { 50% { transform: scale(1.3); } }
.card-count { position: absolute; bottom: 10px; inset-inline-end: 10px; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 7px; background: rgba(15, 17, 21, .62); color: #fff; font-size: 11.5px; font-weight: 600; }
.card-count .ic { width: 13px; height: 13px; }
.card-body { padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.price { font-size: 15px; color: var(--ink); white-space: nowrap; }
.price b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.price .cur { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.price .per { font-size: 13px; color: var(--muted); font-weight: 500; }
.price-lg b { font-size: 34px; }
.price-lg .cur { font-size: 18px; }
.card-title { font-size: 15.5px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-loc { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.card-loc .ic { width: 15px; height: 15px; }
.specs { display: flex; gap: 14px; flex-wrap: wrap; padding: 10px 0 2px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.specs li { display: inline-flex; align-items: center; gap: 6px; }
.specs .ic { width: 17px; height: 17px; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.permit-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); font-weight: 500; min-width: 0; }
.permit-tag > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.permit-tag .ic { width: 14px; height: 14px; color: var(--gold); }
.permit-l { color: var(--ink-2); font-weight: 600; }
.card-row { flex-direction: row; }
.card-row .card-media { width: 42%; aspect-ratio: auto; min-height: 220px; flex: none; }

/* rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; margin: -6px -4px 0; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* areas */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.area { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; }
.area-xl { grid-column: span 2; grid-row: span 2; }
.area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.area::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 12, 16, 0) 35%, rgba(10, 12, 16, .78)); }
.area:hover img { transform: scale(1.06); }
.area-txt { position: absolute; inset-inline: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.area-txt small { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .78; font-weight: 600; }
html[lang="ar"] .area-txt small { letter-spacing: 0; font-size: 12.5px; }
.area-txt b { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.area-xl .area-txt b { font-size: 32px; }
.area-meta { font-size: 13px; opacity: .92; }
.area-cta { background: var(--charcoal); display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.area-cta::after { display: none; }
.area-cta b { font-size: 19px; line-height: 1.3; }
.area-cta small { color: #a9aeb8; font-size: 13.5px; display: block; margin-top: 6px; }
.area-cta .area-go { position: static; opacity: 1; transform: none; background: var(--gold); align-self: flex-start; }
.area-go { position: absolute; top: 14px; inset-inline-end: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); display: grid; place-items: center; transform: scale(.85); opacity: 0; transition: .3s var(--ease); }
.area:hover .area-go, .area:focus-visible .area-cta { background: var(--charcoal); display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.area-cta::after { display: none; }
.area-cta b { font-size: 19px; line-height: 1.3; }
.area-cta small { color: #a9aeb8; font-size: 13.5px; display: block; margin-top: 6px; }
.area-cta .area-go { position: static; opacity: 1; transform: none; background: var(--gold); align-self: flex-start; }
.area-go { opacity: 1; transform: none; }

/* projects */
.proj-filter { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-weight: 600; flex-wrap: wrap; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.proj:hover { box-shadow: var(--sh-3); transform: translateY(-3px); }
.proj-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; }
.proj-media > img { width: 100%; height: 100%; object-fit: cover; }
.proj-media .badge { position: absolute; top: 14px; inset-inline-start: 14px; }
.proj-thumbs { position: absolute; bottom: 12px; inset-inline-end: 12px; display: flex; gap: 6px; }
.proj-thumbs img { width: 52px; height: 38px; object-fit: cover; border-radius: 7px; border: 2px solid rgba(255, 255, 255, .95); }
.proj-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.proj-area { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; margin-bottom: -8px; }
.proj-area .ic { width: 15px; height: 15px; }
.proj h3 { font-size: 21px; }
.proj-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.proj-facts div { padding: 10px 12px; }
.proj-facts div + div { border-inline-start: 1px solid var(--line); }
.proj-facts dt { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.proj-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; white-space: nowrap; }
.yield { color: var(--ok); }
.yield i { display: block; height: 4px; border-radius: 4px; background: var(--line); margin-top: 6px; position: relative; overflow: hidden; }
.yield i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--y) * 100%); background: var(--ok); border-radius: 4px; }
.proj-list { display: grid; gap: 10px; margin-bottom: 4px; }
.proj-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 600; }
.proj-list .ic { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--gold-50); color: var(--gold-ink); }
.proj-list small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.proj .btn { margin-top: auto; }

/* services */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, box-shadow .25s, background .2s; }
.svc:hover { background: var(--surface); box-shadow: var(--sh-2); border-color: transparent; }
.svc-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--gold-ink); margin-bottom: 8px; }
.svc-ic .ic { width: 22px; height: 22px; }
.svc h3 { font-size: 18.5px; }
.svc p { color: var(--muted); font-size: 14.5px; }
.svc .link { margin-top: auto; padding-top: 8px; font-size: 14px; }
.svc-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; padding: 0; overflow: hidden; background: var(--charcoal); color: #fff; border: 0; }
.svc-feature:hover { background: var(--charcoal); }
.svc-feature-body { padding: 40px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.svc-feature .svc-ic { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: var(--gold-hi); }
.svc-feature h3 { font-size: 28px; }
.svc-feature p { color: #b9bdc6; font-size: 15.5px; max-width: 520px; }
.svc-feature .ticks { margin: 4px 0 10px; color: #e7e8ea; font-size: 14.5px; }
.svc-feature .ticks .ic { background: rgba(201, 162, 75, .16); color: var(--gold-hi); }
.svc-feature > img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

/* calculator */
.calc { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); }
.calc-in { padding: 44px; }
.calc-in h2 { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 22px; }
.calc-in .seg { margin-bottom: 26px; background: var(--surface-2); }
.calc-pane { display: grid; gap: 22px; }
.rng-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 12px; }
.rng-top label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.rng-top output { font-weight: 700; font-size: 15.5px; white-space: nowrap; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--ink) var(--p, 50%), var(--line) var(--p, 50%)); outline: none; margin: 8px 0; }
[dir="rtl"] input[type=range] { background: linear-gradient(to left, var(--ink) var(--p, 50%), var(--line) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); box-shadow: 0 0 0 5px rgba(184, 146, 58, .0), var(--sh-2); cursor: grab; transition: box-shadow .2s; }
input[type=range]:focus-visible::-webkit-slider-thumb, input[type=range]:active::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(184, 146, 58, .25); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.calc-out { background: var(--charcoal); color: #fff; padding: 44px; display: flex; flex-direction: column; gap: 6px; }
.co-l { color: #a9aeb8; font-size: 14px; font-weight: 500; }
.co-big { font-size: clamp(40px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin: 6px 0 22px; }
.co-big small { font-size: 18px; font-weight: 600; color: #a9aeb8; letter-spacing: 0; }
.co-bar, .co-gauge { display: flex; height: 10px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .1); margin-bottom: 20px; }
.co-bar span, .co-gauge span { display: block; height: 100%; transition: width .4s var(--ease); }
#rBarP { background: #fff; }
#rBarI { background: var(--gold); }
.co-gauge span { background: linear-gradient(90deg, var(--gold), var(--gold-hi)); border-radius: 10px; }
.co-legend { display: grid; gap: 12px; padding: 18px 0; border-block: 1px solid rgba(255, 255, 255, .1); margin-bottom: 8px; }
.co-legend li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #c9ccd3; }
.co-legend b { margin-inline-start: auto; color: #fff; font-weight: 700; white-space: nowrap; }
.co-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.lg-p { background: #fff; } .lg-i { background: var(--gold); } .lg-d { background: #5d6270; }
.fine-light { color: #8d929c; margin: 8px 0 14px; }

/* agents */
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.agent { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.agent-top { display: flex; align-items: center; gap: 16px; }
.agent h3 { font-size: 18px; }
.agent-top p { color: var(--muted); font-size: 14px; }
.agent-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.agent-tags .badge:not(.badge-gold):not(.badge-ghost) { background: var(--surface); border: 1px solid var(--line); }
.agent-bio { color: var(--ink-2); font-size: 14.5px; }
.agent-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.agent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.q-ic { width: 30px; height: 30px; color: var(--gold); }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.55; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.quote figcaption small { color: var(--muted); }

/* consult */
.consult { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 52px; box-shadow: var(--sh-2); position: relative; overflow: hidden; }
.consult::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-hi) 40%, transparent); }
.consult-copy h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.consult-copy > p:not(.kicker) { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.consult-contact { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.cc { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }
.cc .ic { color: var(--gold-ink); }
.cc:hover { border-color: var(--ink); }
.consult-form { position: relative; display: flex; flex-direction: column; gap: 18px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-size: 15px; transition: border-color .2s, box-shadow .2s; outline: none;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 90px; }
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 36px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687080' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
[dir="rtl"] .field select { background-position: left 12px center; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(184, 146, 58, .18); }
[dir="rtl"] input[type="tel"] { text-align: right; }
.form-err { color: var(--err); font-size: 13.5px; font-weight: 600; }
.form-ok { position: absolute; inset: 0; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 24px; animation: fade .35s var(--ease); }
.form-ok p { font-size: 17px; font-weight: 600; max-width: 380px; }
.ok-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #e7f5ee; color: var(--ok); }
.ok-ic .ic { width: 28px; height: 28px; stroke-width: 2.4; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: #b4b8c1; padding: 72px 0 0; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.foot-brand img { height: 92px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 360px; margin-bottom: 20px; }
.rera-box { display: inline-flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid rgba(201, 162, 75, .35); border-radius: 14px; background: rgba(201, 162, 75, .07); }
.rera-box .ic { color: var(--gold-hi); width: 22px; height: 22px; margin-top: 2px; }
.rera-box div { display: flex; flex-direction: column; line-height: 1.45; }
.rera-box b { color: #fff; font-weight: 700; }
.rera-box small { font-size: 12px; color: #9a9fa9; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; letter-spacing: .02em; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.foot-contact li { display: flex; align-items: flex-start; gap: 10px; }
.foot-contact .ic { color: var(--gold-hi); width: 17px; height: 17px; margin-top: 3px; }
.foot-bottom { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #8d929c; }
.foot-rera { display: inline-flex; align-items: center; gap: 6px; color: #c9ccd3; }
.foot-rera .ic { width: 15px; height: 15px; color: var(--gold-hi); }
.foot-concept { margin-inline-start: auto; font-size: 12px; color: #6f7480; }

/* ---------- floating actions + AI ---------- */
.fabs { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.fab { width: 56px; height: 56px; border-radius: 18px; border: 0; display: grid; place-items: center; box-shadow: var(--sh-3); transition: transform .2s var(--ease), background .2s; position: relative; }
.fab:hover { transform: translateY(-2px); }
.fab .ic { width: 26px; height: 26px; }
.fab-wa { background: var(--wa); color: #fff; width: 50px; height: 50px; border-radius: 50%; }
.fab-wa .ic { width: 24px; height: 24px; }
.fab-ai { background: var(--ink); color: var(--gold-hi); }
.fab-ai.active { background: var(--gold); color: var(--ink); }
.fab-label { position: absolute; top: -6px; inset-inline-end: -6px; height: 20px; padding: 0 6px; border-radius: 6px; background: var(--gold); color: #17140c; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; letter-spacing: .04em; font-family: var(--font); }
.fab-ai.active .fab-label { background: var(--ink); color: #fff; }
.ai {
  position: fixed; z-index: 95; bottom: 92px; inset-inline-end: 22px; width: 390px; max-width: calc(100vw - 32px); height: min(620px, calc(100vh - 130px));
  background: var(--surface); border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(17, 24, 39, .4), 0 0 0 1px var(--line); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(12px) scale(.98); transform-origin: bottom right; transition: opacity .22s, transform .22s var(--ease);
}
[dir="rtl"] .ai { transform-origin: bottom left; }
.ai.open { opacity: 1; transform: none; }
.ai-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; background: var(--charcoal); color: #fff; }
.ai-avatar { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(145deg, var(--gold-hi), var(--gold)); color: var(--ink); display: grid; place-items: center; flex: none; }
.ai-meta { flex: 1; min-width: 0; }
.ai-meta h2 { font-size: 15.5px; letter-spacing: -.01em; }
.ai-meta p { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #a9aeb8; }
.live { width: 7px; height: 7px; border-radius: 50%; background: #3ccf86; }
.ai-x { color: #fff; }
.ai-x:hover { background: rgba(255, 255, 255, .1); }
.ai-demo { display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 11.5px; color: var(--gold-ink); background: var(--gold-50); border-bottom: 1px solid var(--gold-100); }
.ai-demo .ic { width: 14px; height: 14px; }
.ai-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); overscroll-behavior: contain; }
.msg { max-width: 88%; display: flex; flex-direction: column; gap: 8px; animation: fade .3s var(--ease); }
.msg p { padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.msg-bot { align-self: flex-start; }
.msg-bot p { background: var(--surface); border: 1px solid var(--line); border-end-start-radius: 6px; }
.msg-me { align-self: flex-end; }
.msg-me p { background: var(--ink); color: #fff; border-end-end-radius: 6px; }
.ai-ok { display: flex; gap: 8px; align-items: flex-start; }
.ai-ok .ic { color: var(--ok); margin-top: 2px; }
.ai-card { display: flex; align-items: center; gap: 10px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.ai-card:hover { border-color: var(--ink); }
.ai-card img { width: 64px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; }
.ai-card > span { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.ai-card b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[dir="rtl"] .ai-card b { direction: ltr; text-align: right; }
.ai-card small { color: var(--muted); font-size: 12px; }
.ai-card .price b { font-size: 14px; }
.ai-card .price .cur, .ai-card .price .per { font-size: 11.5px; }
.ai-card > .ic { color: var(--muted); width: 16px; height: 16px; }
.ai-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--gold-ink); padding: 2px 4px; }
.ai-link .ic { width: 15px; height: 15px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; border-end-start-radius: 6px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-2px); } }
.ai-chips { display: flex; gap: 6px; padding: 10px 12px 0; overflow-x: auto; scrollbar-width: none; flex: none; }
.ai-chips:empty { display: none; }
.ai-chips::-webkit-scrollbar { display: none; }
.ai-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); margin-top: 10px; }
.ai-chips:empty + .ai-form { margin-top: 0; }
.ai-form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); outline: none; font-size: 14.5px; }
.ai-form input:focus { border-color: var(--ink); background: var(--surface); }
.ai-send { width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--gold); color: var(--ink); display: grid; place-items: center; flex: none; }
.ai-send:hover { background: var(--gold-hi); }

/* toast */
.toast { position: fixed; bottom: 26px; left: 50%; z-index: 150; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--sh-3); transition: .25s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { color: var(--gold-hi); }

/* =========================================================
   LISTINGS
   ========================================================= */
.page-listings { background: var(--bg); }
.fbar { position: sticky; top: var(--hdr); z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.fbar-in { display: flex; align-items: center; gap: 10px; padding-block: 12px; }
.fbar-scroll { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.fbar-scroll::-webkit-scrollbar { display: none; }
.kw { position: relative; flex: 0 1 270px; min-width: 180px; }
.kw .ic { position: absolute; top: 50%; inset-inline-start: 13px; transform: translateY(-50%); color: var(--muted); width: 17px; height: 17px; pointer-events: none; }
.kw input { width: 100%; height: 42px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface-2); padding-inline: 38px 12px; outline: none; font-size: 14px; }
.kw input:focus { border-color: var(--ink); background: var(--surface); }
.fsel { position: relative; flex: none; }
.fsel select {
  appearance: none; -webkit-appearance: none; height: 42px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface); padding-inline: 14px 34px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; outline: none; max-width: 190px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687080' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 15px; background-position: right 12px center;
}
[dir="rtl"] .fsel select { background-position: left 12px center; }
.fsel select:hover { border-color: var(--ink); }
.fsel select.set { border-color: var(--ink); background-color: var(--gold-50); }
.fbar .seg { flex: none; background: var(--surface-2); }
.fbar .seg-b { height: 32px; padding: 0 12px; }
.fbtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 14px; flex: none; white-space: nowrap; }
.fbtn:hover { border-color: var(--ink); }
.fbtn .n { min-width: 20px; height: 20px; border-radius: 10px; background: var(--gold); color: #17140c; font-size: 11.5px; display: grid; place-items: center; padding: 0 5px; }
.fbtn.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.lhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 6px; flex-wrap: wrap; }
.lhead h1 { font-size: 24px; letter-spacing: -.02em; }
.lhead p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.lhead-tools { display: flex; align-items: center; gap: 8px; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.vt { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--surface); }
.vt button { width: 36px; height: 34px; border: 0; border-radius: 8px; background: transparent; display: grid; place-items: center; color: var(--muted); }
.vt button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.vt .ic { width: 18px; height: 18px; }
.active-chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 0 4px; }
.active-chips:empty { display: none; }
.active-chips .chip { height: 32px; padding: 0 10px 0 12px; font-size: 13px; background: var(--surface); }
[dir="rtl"] .active-chips .chip { padding: 0 12px 0 10px; }
.active-chips .chip .ic { width: 14px; height: 14px; }
.active-chips .clear { border: 0; background: none; font-weight: 700; font-size: 13px; color: var(--gold-ink); padding: 0 6px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 24px; padding-bottom: 60px; align-items: start; }
.split.nomap { grid-template-columns: minmax(0, 1fr); }
.split.nomap .mapcol { display: none; }
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 14px; }
.split.nomap .results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.results.as-list { grid-template-columns: minmax(0, 1fr) !important; }
.mapcol { position: sticky; top: calc(var(--hdr) + 68px + 14px); height: calc(100vh - var(--hdr) - 68px - 28px); margin-top: 14px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #e9edf0; box-shadow: var(--sh-1); }
#map { width: 100%; height: 100%; }
.map-note { position: absolute; z-index: 500; top: 12px; right: 12px; background: rgba(255, 255, 255, .95); border-radius: 10px; padding: 7px 12px; font-size: 12.5px; font-weight: 600; box-shadow: var(--sh-2); display: flex; align-items: center; gap: 6px; }
.map-note .ic { width: 15px; height: 15px; color: var(--gold); }
.leaflet-container { font-family: var(--font); direction: ltr; }
.ppin { background: transparent; border: 0; }
.ppin span { display: inline-block; transform: translate(-50%, -100%); position: relative; padding: 5px 9px; border-radius: 9px; background: var(--surface); color: var(--ink); font: 700 12.5px/1.2 var(--font); white-space: nowrap; box-shadow: 0 4px 12px -2px rgba(17, 24, 39, .3), 0 0 0 1px rgba(17, 24, 39, .08); transition: background .15s, color .15s, transform .15s; }
.ppin span::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; box-shadow: 3px 3px 4px -2px rgba(17, 24, 39, .15); z-index: -1; }
.ppin.sale span { background: var(--ink); color: #fff; }
.ppin.hl span, .ppin:hover span { background: var(--gold); color: #17140c; transform: translate(-50%, -100%) scale(1.12); }
.ppin.hl { z-index: 1000 !important; }
.leaflet-popup-content-wrapper { border-radius: 14px; padding: 0; overflow: hidden; box-shadow: var(--sh-3); }
.leaflet-popup-content { margin: 0; width: 240px !important; }
.pop img { width: 100%; height: 130px; object-fit: cover; }
.pop div { padding: 10px 12px 12px; display: grid; gap: 3px; }
.pop b { font-size: 13.5px; line-height: 1.3; }
.pop small { color: var(--muted); font-size: 12px; }
.pop .price b { font-size: 16px; }
html[lang="ar"] .pop { direction: rtl; font-family: var(--font-ar); }
.map-toggle { display: none; }
.empty { grid-column: 1 / -1; text-align: center; padding: 64px 24px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.empty-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--gold-50); color: var(--gold-ink); margin: 0 auto 18px; }
.empty-ic .ic { width: 30px; height: 30px; }
.empty h2 { font-size: 22px; margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 420px; margin: 0 auto 20px; }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* filter drawer */
.drawer { position: fixed; inset: 0; z-index: 130; background: rgba(15, 17, 21, .45); opacity: 0; transition: opacity .25s; }
.drawer.open { opacity: 1; }
.drawer-panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(440px, 100%); background: var(--surface); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s var(--ease); }
[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 19px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px; display: grid; gap: 26px; align-content: start; }
.fgroup h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { height: 40px; min-width: 48px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 14px; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.prange { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.prange span { color: var(--muted); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row b { font-size: 14.5px; font-weight: 600; display: block; }
.toggle-row small { color: var(--muted); font-size: 12.5px; }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 13px; background: var(--line-2); transition: background .2s; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform .2s var(--ease); }
.switch input:checked + i { background: var(--ink); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.drawer-foot { display: flex; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--line); }
.drawer-foot .btn-dark { flex: 1; }

/* =========================================================
   PROPERTY
   ========================================================= */
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 20px 0 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ic { width: 14px; height: 14px; }
.p-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.p-head h1 { font-size: clamp(24px, 2.8vw, 34px); max-width: 780px; }
.p-sub { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin-top: 10px; color: var(--muted); font-size: 14px; }
.p-sub > span { display: inline-flex; align-items: center; gap: 6px; }
.p-sub .ic { width: 16px; height: 16px; }
.p-actions { display: flex; gap: 8px; }
.p-actions .btn .ic { width: 17px; height: 17px; }
.p-actions .btn.on { color: #d64545; }
.p-actions .btn.on .ic { fill: currentColor; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 10px; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.mosaic button { padding: 0; border: 0; background: var(--line); overflow: hidden; position: relative; cursor: zoom-in; }
.mosaic button img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.mosaic button:hover img { transform: scale(1.03); filter: brightness(.94); }
.mosaic .m0 { grid-row: span 2; }
.mosaic.n3 { grid-template-columns: 2fr 1fr; }
.mosaic.n3 .m1, .mosaic.n3 .m2 { grid-column: 2; }
.mosaic.n4 .m3 { grid-column: span 2; }
.mosaic .m-all { position: absolute; bottom: 16px; inset-inline-end: 16px; z-index: 2; background: var(--surface); padding: 0 14px; border: 1px solid var(--line-2); cursor: pointer; box-shadow: var(--sh-2); }
.mosaic .m-all:hover { border-color: var(--ink); }
.p-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; padding: 28px 0 80px; align-items: start; }
.p-tabs { position: sticky; top: var(--hdr); z-index: 30; background: rgba(244, 245, 247, .95); backdrop-filter: blur(10px); display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.p-tabs::-webkit-scrollbar { display: none; }
.p-tabs a { padding: 14px 14px 12px; font-weight: 600; font-size: 14.5px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; }
.p-tabs a:hover { color: var(--ink); }
.p-tabs a.on { color: var(--ink); border-bottom-color: var(--gold); }
.p-sec { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + 60px); }
.p-sec:last-child { border-bottom: 0; }
.p-sec h2 { font-size: 22px; margin-bottom: 18px; }
.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.kf { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.kf .ic { width: 22px; height: 22px; color: var(--gold); }
.kf b { font-size: 18px; font-weight: 700; }
.kf small { color: var(--muted); font-size: 12.5px; }
.desc { font-size: 16px; color: var(--ink-2); line-height: 1.75; max-width: 720px; }
.desc-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 24px 0 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: end; }
.facts .permit-row dd { color: var(--gold-ink); }
.amen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amen li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 500; }
.amen .ic { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.2; }
.pmap { height: 340px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.pmap-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.pmap-note .ic { width: 16px; height: 16px; }
.cost { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.cost-rows { display: grid; gap: 0; }
.cost-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.cost-rows div span:first-child { color: var(--ink-2); }
.cost-rows div b { font-weight: 600; white-space: nowrap; }
.cost-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; gap: 12px; }
.cost-total span { font-weight: 600; }
.cost-total b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.cost .rng { margin-bottom: 16px; }
.cost-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.aside { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 16px; }
.book { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-3); padding: 24px; }
.book-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.book-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 16px; }
.book-tags .badge { background: var(--surface-2); border: 1px solid var(--line); }
.book-tags .badge-gold { background: var(--gold-100); border-color: transparent; }
.book-permit { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--gold-50); border: 1px solid var(--gold-100); font-size: 13px; margin-bottom: 18px; }
.book-permit .ic { color: var(--gold-ink); width: 20px; height: 20px; }
.book-permit span { display: flex; flex-direction: column; line-height: 1.35; }
.book-permit small { color: var(--gold-ink); font-weight: 600; font-size: 11.5px; }
.book-permit b { font-weight: 700; letter-spacing: .02em; }
.book h2 { font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.book h2 .ic { color: var(--gold); }
.book form { display: grid; gap: 10px; }
.book .fgrid { gap: 10px; }
.book .field input, .book .field select { height: 46px; }
.book .field label { font-size: 12.5px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slot { height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font-size: 12.5px; font-weight: 600; padding: 0 4px; }
.slot[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.book-or { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.agent-mini { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.agent-mini div { flex: 1; min-width: 0; line-height: 1.35; }
.agent-mini small { color: var(--muted); font-size: 12px; display: block; }
.agent-mini b { font-size: 15px; }
.agent-mini .sub { color: var(--muted); font-size: 13px; }
.agent-mini .badge { margin-top: 4px; }
.similar { padding: 0 0 90px; }
.similar h2 { font-size: 26px; margin-bottom: 20px; }
.sim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mbar { display: none; }
.notfound { text-align: center; padding: 100px 20px; }
.notfound h1 { font-size: 28px; margin-bottom: 10px; }
.notfound p { color: var(--muted); margin-bottom: 20px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(10, 11, 14, .96); display: flex; flex-direction: column; opacity: 0; transition: opacity .25s; }
.lb.open { opacity: 1; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; color: #fff; }
.lb-top span { font-weight: 600; font-size: 14px; }
.lb-top .icon-btn { color: #fff; }
.lb-top .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; padding: 0 70px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; user-select: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lb-nav:hover { background: rgba(255, 255, 255, .22); }
.lb-prev { inset-inline-start: 14px; }
.lb-next { inset-inline-end: 14px; }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; padding: 14px; overflow-x: auto; }
.lb-thumbs button { width: 74px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; opacity: .55; flex: none; background: none; }
.lb-thumbs button[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1280px) {
  .nav a { padding: 8px 9px; font-size: 14px; }
  .nav-in { gap: 18px; }
  .tb-addr { display: none; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .rail { grid-auto-columns: calc((100% - 40px) / 3); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .sim-grid { grid-template-columns: repeat(3, 1fr); }
  .sim-grid > :nth-child(4) { display: none; }
  .split.nomap .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results { grid-template-columns: minmax(0, 1fr); }
  .p-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .keyfacts { grid-template-columns: repeat(2, 1fr); }
  .amen { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  :root { --hdr: 108px; }
  .hero-head { grid-template-columns: 1fr; gap: 20px; }
  .search-fields { grid-template-columns: 1fr 1fr; gap: 4px; }
  .sf + .sf::before { display: none; }
  .sf { background: var(--surface); }
  .search-go { grid-column: 1 / -1; margin: 4px 0 0; min-height: 54px; }
  .search.is-offplan .search-fields { grid-template-columns: 1fr; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .projects, .agents, .quotes { grid-template-columns: 1fr 1fr; }
  .projects > :last-child:nth-child(odd), .agents > :last-child:nth-child(odd), .quotes > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .calc { grid-template-columns: 1fr; }
  .consult { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc-feature { grid-template-columns: 1fr; }
  .svc-feature > img { min-height: 220px; max-height: 260px; }
  /* listings: map becomes overlay */
  .split { grid-template-columns: minmax(0, 1fr); }
  .mapcol { position: fixed; inset: var(--hdr) 0 0 0; height: auto; margin: 0; border-radius: 0; z-index: 45; display: none; border: 0; }
  .split.showmap .mapcol { display: block; }
  .split.nomap .mapcol { display: none; }
  .results, .split.nomap .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-toggle { display: inline-flex; position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 80; height: 46px; padding: 0 20px; border-radius: 999px; box-shadow: var(--sh-3); }
  .vt-map { display: none !important; }
  .p-layout { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .book { box-shadow: var(--sh-2); }
  .mosaic { grid-template-rows: 200px 200px; }
  .mbar { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 70; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px; padding-bottom: max(10px, env(safe-area-inset-bottom)); align-items: center; gap: 12px; box-shadow: 0 -8px 24px -12px rgba(17, 24, 39, .2); }
  .mbar .price { flex: 1; }
  .page-property { padding-bottom: 68px; }
  .page-property .fabs { bottom: 86px; }
  .page-property .ai { bottom: 156px; }
}
@media (max-width: 760px) {
  :root { --gut: 16px; --hdr: 64px; }
  html { scroll-padding-top: 76px; }
  .topbar { display: none; }
  .nav-in { height: 64px; gap: 10px; }
  .brand img { height: 38px; }
  .brand-txt { display: none; }
  .nav-cta { display: none; }
  .nav-actions { gap: 4px; }
  .nav-lang { display: inline-flex; padding: 0 10px; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 24px; gap: 14px; }
  .hero { padding: 24px 0 48px; }
  .eyebrow { font-size: 12px; margin-bottom: 14px; }
  .hero h1 { font-size: 40px; }
  .lead { font-size: 15.5px; }
  .hero-media { height: 240px; border-radius: 20px; }
  .hero-live { top: 12px; inset-inline-end: 12px; }
  .live-card img { width: 52px; height: 42px; }
  .live-txt b { font-size: 12.5px; }
  .search { width: 100%; margin-top: -48px; border-radius: 18px; padding: 6px 6px 12px; }
  .search-tabs { display: flex; padding: 4px 4px 0; }
  .stab { flex: 1; padding: 0 8px; }
  .search-fields { grid-template-columns: 1fr 1fr; padding: 4px; }
  .sf { padding: 8px 12px; }
  .sf select { font-size: 14.5px; }
  .sf-loc, .sf-budget { grid-column: 1 / -1; }
  .search-chips { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 6px 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .stats { grid-template-columns: 1fr 1fr; width: 100%; gap: 14px; margin-top: 26px; }
  .stats li { flex-direction: column; gap: 0; }
  .stats b { font-size: 24px; }
  .sec-tools { width: 100%; justify-content: space-between; }
  .sec-tools .seg { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .rail-arrows { display: none; }
  .rail { grid-auto-columns: 82%; gap: 14px; }
  .areas { grid-auto-rows: 160px; gap: 10px; }
  .area-xl { grid-row: span 1; }
  .area-xl .area-txt b, .area-txt b { font-size: 18px; }
  .area-txt { inset-inline: 14px; bottom: 12px; }
  .area-meta { font-size: 12px; }
  .area:not(.area-xl) .area-txt small, .area:not(.area-cta) .area-go { display: none; }
  .areas { grid-auto-rows: minmax(160px, auto); }
  .area-cta { padding: 16px; gap: 10px; }
  .area-cta b { font-size: 16px; }
  .area-cta small { font-size: 12.5px; }
  .area-cta .area-go { width: 32px; height: 32px; }
  .projects, .agents, .quotes { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .svc-feature-body { padding: 26px; }
  .svc-feature h3 { font-size: 23px; }
  .calc-in, .calc-out { padding: 26px 20px; }
  .consult { padding: 24px 18px; border-radius: 20px; }
  .fgrid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .foot-brand, .foot-grid > div:last-child { grid-column: 1 / -1; }
  .foot-concept { margin-inline-start: 0; }
  .fabs { bottom: 16px; inset-inline-end: 16px; gap: 10px; }
  .fab { width: 50px; height: 50px; border-radius: 16px; }
  .fab-wa { width: 46px; height: 46px; }
  .ai { inset-inline: 8px; width: auto; max-width: none; bottom: 84px; height: calc(100dvh - 100px); }
  .page-property .ai { bottom: 150px; height: calc(100dvh - 166px); }
  /* listings */
  .fbar-in { flex-wrap: wrap; gap: 8px; padding-block: 10px; }
  .kw { flex: 1 1 100%; }
  .fbar-scroll { flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .fbar-scroll::-webkit-scrollbar { display: none; }
  .lhead h1 { font-size: 20px; }
  .results, .split.nomap .results { grid-template-columns: minmax(0, 1fr); }
  .card-row { flex-direction: column; }
  .card-row .card-media { width: 100%; aspect-ratio: 4 / 3; min-height: 0; }
  .vt-view { display: none !important; }
  .mapcol { top: var(--hdr); }
  /* property */
  .p-head { align-items: flex-start; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 110px; border-radius: 16px; margin-inline: 0; }
  .mosaic .m0 { grid-column: 1 / -1; grid-row: auto; }
  .mosaic.n3 .m1, .mosaic.n3 .m2 { grid-column: auto; }
  .mosaic.n4 .m3, .mosaic .m4 { display: none; }
  .mosaic .m-all { bottom: 10px; inset-inline-end: 10px; height: 36px; font-size: 13px; padding: 0 12px; }
  .keyfacts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .facts { grid-template-columns: 1fr; }
  .amen { grid-template-columns: 1fr 1fr; }
  .amen li { padding: 10px 12px; font-size: 13px; }
  .sim-grid { grid-template-columns: 1fr; }
  .sim-grid > :nth-child(n+3) { display: none; }
  .lb-stage { padding: 0 8px; }
  .lb-nav { width: 42px; height: 42px; }
  .pmap { height: 260px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 36px; }
  .amen { grid-template-columns: 1fr; }
}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
