/* =========================================================
   House 2 Home — Concept 05 · Architectural Minimal
   ========================================================= */
:root {
  --paper: #ffffff;
  --stone: #f4f2ee;
  --stone-2: #ebe8e1;
  --ink: #0b0b0b;
  --ink-2: #1a1a1a;
  --mute: #6a6864;
  --mute-2: #9a978f;
  --line: #e3e0d9;
  --line-2: #cfcbc2;
  --gold: #b8923a;
  --gold-ink: #8a6a24;
  --gold-soft: #f3ecdc;
  --ok: #2f6b45;
  --err: #a1332b;

  --f-display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(20px, 4vw, 56px);
  --gap: clamp(16px, 1.8vw, 24px);
  --max: 1440px;
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --t: .5s var(--ease);
}
html[lang="ar"] {
  --f-display: "Noto Kufi Arabic", "Syne", sans-serif;
  --f-body: "Alexandria", "Noto Kufi Arabic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-variant-numeric: lining-nums; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="ar"] body { font-size: 15.5px; line-height: 1.8; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { 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; }
.skip:focus { top: 12px; }
body.no-scroll { overflow: hidden; }
bdi { unicode-bidi: isolate; }

.ic { width: 20px; height: 20px; flex: none; }
html[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.sec { padding-block: clamp(52px, 6.4vw, 100px); }
.hair { border-top: 1px solid var(--line); }

/* ---------- type ---------- */
.eyebrow { font: 500 12px/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 13px; }
.display { font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; line-height: .92; }
html[lang="ar"] .display { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
.h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 5.2vw, 80px); letter-spacing: -.035em; line-height: .98; }
html[lang="ar"] .h2 { letter-spacing: 0; line-height: 1.35; font-size: clamp(30px, 4.2vw, 60px); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--mute); }
.gold { color: var(--gold); }

/* section heading */
.sh { align-items: end; padding-top: 28px; border-top: 1px solid var(--ink); margin-bottom: clamp(40px, 5vw, 72px); row-gap: 20px; }
.sh-idx { grid-column: 1 / span 2; font: 500 clamp(56px, 7vw, 112px)/.8 var(--f-display); color: var(--gold); letter-spacing: -.04em; align-self: start; }
html[lang="ar"] .sh-idx { font-family: "Syne", sans-serif; }
.sh-main { grid-column: 3 / span 6; }
.sh-main .eyebrow { display: block; margin-bottom: 14px; }
.sh-side { grid-column: 10 / span 3; }
.sh-side p { color: var(--mute); font-size: 15px; }
.sh-side .tlink { margin-top: 18px; }
.sh-dark { border-color: rgba(255,255,255,.9); }

/* links & buttons */
.tlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap var(--t), color .25s; }
.tlink:hover { gap: 16px; color: var(--gold-ink); }
.tlink .ic { width: 18px; height: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding-inline: 26px; font-weight: 500; font-size: 15px; border: 1px solid var(--ink); transition: background .3s, color .3s, border-color .3s; white-space: nowrap; border-radius: 0; }
.btn .ic { width: 18px; height: 18px; transition: transform var(--t); }
.btn:hover .ic.mv { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .ic.mv { transform: scaleX(-1) translateX(4px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #fff; border-color: #fff; }
.btn-white { background: #fff; border-color: #fff; color: var(--ink); }
.btn-white:hover { background: var(--gold); border-color: var(--gold); }
.btn-sm { height: 42px; padding-inline: 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-wa { background: #fff; color: var(--ink); }
.btn-wa:hover { background: var(--ink); color: #fff; }
.iconbtn { width: 48px; height: 48px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; transition: background .3s, color .3s, border-color .3s; }
.iconbtn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.iconbtn:disabled { opacity: .35; cursor: default; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =========================================================
   Header
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.topbar { background: var(--ink); color: #d9d6cf; font-size: 12.5px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 36px; }
.topbar p { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.tb-rera { color: #fff; letter-spacing: .02em; }
.tb-rera bdi { color: var(--gold); font-weight: 500; }
.tb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.tb-contact { gap: 22px !important; }
.tb-contact a:hover { color: var(--gold); }
.navbar { border-bottom: 1px solid var(--line); transition: border-color .3s; }
.navbar-in { height: var(--hdr); display: flex; align-items: center; gap: 24px; }
.logo img { height: 62px; width: auto; }
.mainnav { display: flex; gap: clamp(16px, 2vw, 34px); margin-inline: auto; }
.mainnav a { font-size: 14.5px; font-weight: 500; position: relative; padding-block: 6px; }
.mainnav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: var(--o, left); transition: transform .4s var(--ease); }
html[dir="rtl"] .mainnav a::after { --o: right; }
.mainnav a:hover::after, .mainnav a[aria-current]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-saved { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding-inline: 12px; font-size: 14px; font-weight: 500; }
.nav-saved .ic { width: 19px; height: 19px; }
.nav-saved:hover { color: var(--gold-ink); }
.badge { min-width: 19px; height: 19px; padding-inline: 5px; border-radius: 10px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 600; display: inline-grid; place-items: center; line-height: 1; }
.badge[hidden] { display: none; }
.lang-btn { height: 42px; padding-inline: 14px; font-size: 14px; font-weight: 500; border: 1px solid var(--line-2); transition: border-color .3s, background .3s; }
.lang-btn:hover { border-color: var(--ink); }
.lang-btn[lang="ar"] { font-family: "Noto Kufi Arabic", sans-serif; font-size: 13px; }
.lang-btn[lang="en"] { font-family: "Inter", sans-serif; }
.burger { display: none; width: 44px; height: 44px; place-items: center; }
.burger .ic { width: 26px; height: 26px; }

.mnav { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; overflow-y: auto; }
.mnav-in { min-height: 100%; display: flex; flex-direction: column; padding-block: 16px 32px; }
.mnav-top { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.mnav-top .logo img { height: 50px; }
.mnav-close { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; }
.mnav-close .ic { width: 26px; height: 26px; }
.mnav nav { display: flex; flex-direction: column; margin-top: 32px; }
.mnav nav a { display: flex; align-items: baseline; gap: 16px; font: 700 34px/1.1 var(--f-display); letter-spacing: -.02em; padding-block: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
html[lang="ar"] .mnav nav a { letter-spacing: 0; font-size: 28px; line-height: 1.5; }
.mn-i { font: 500 12px var(--f-body); color: var(--gold); letter-spacing: .1em; }
.mnav-foot { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lang-btn-l { border-color: rgba(255,255,255,.3); color: #fff; height: 52px; padding-inline: 22px; }
.mnav-rera { width: 100%; font-size: 13px; color: #bdb9b0; }
.mnav-rera bdi { color: var(--gold); }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-top: clamp(36px, 5vw, 72px); }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 22px; }
.hero-meta .eyebrow:last-child { color: var(--ink); }
.hero-title { grid-column: 1 / -1; font-size: clamp(52px, 10.2vw, 160px); margin-bottom: clamp(28px, 3.4vw, 48px); }
.hero-title span { display: block; }
.hero-title .l2 { padding-inline-start: 16.66%; }
.hero-title .gold { color: var(--gold); }
html[lang="ar"] .hero-title { font-size: clamp(46px, 8.2vw, 124px); line-height: 1.22; }
.hero-row { align-items: end; margin-bottom: clamp(32px, 4vw, 56px); row-gap: 24px; }
.hero-intro { grid-column: 1 / span 5; }
.hero-ctas { grid-column: 8 / span 5; display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-img { display: block; position: relative; overflow: hidden; aspect-ratio: 21 / 9; background: var(--stone); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroIn 2.2s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-img img { animation: none; transform: none; } }
.hero-fig { position: absolute; inset-inline-end: 24px; top: 22px; color: #fff; font-size: 12.5px; letter-spacing: .04em; display: flex; align-items: center; gap: 10px; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero-fig::before { content: ""; width: 28px; height: 1px; background: #fff; }

/* search */
.search { position: relative; z-index: 2; margin-top: -92px; margin-inline: clamp(0px, 3vw, 48px); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }
.search-tabs { display: flex; border-bottom: 1px solid var(--line); }
.search-tabs button { height: 50px; padding-inline: 28px; font-weight: 500; font-size: 14.5px; color: var(--mute); position: relative; }
.search-tabs button[aria-pressed="true"] { color: var(--ink); }
.search-tabs button[aria-pressed="true"]::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--gold); }
.search-note { margin-inline-start: auto; align-self: center; padding-inline: 24px; font-size: 12.5px; color: var(--mute); }
.search-note bdi { color: var(--ink); font-weight: 500; }
.search-fields { display: grid; grid-template-columns: 1.3fr 1.1fr .8fr 1fr auto; }
.sf { position: relative; border-inline-end: 1px solid var(--line); padding: 16px 24px 14px; }
.sf label { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
html[lang="ar"] .sf label { letter-spacing: 0; font-size: 12.5px; }
.sf select { width: 100%; appearance: none; -webkit-appearance: none; border: 0; background: transparent; font-size: 17px; font-weight: 500; padding: 2px 0; padding-inline-end: 24px; cursor: pointer; }
.sf .ic { position: absolute; inset-inline-end: 20px; bottom: 18px; width: 16px; height: 16px; pointer-events: none; color: var(--mute); }
.sf:focus-within { background: var(--stone); }
.sf select:focus-visible { outline: none; }
.search-go { height: auto; min-height: 76px; padding-inline: 36px; border: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.stat { padding: 26px 24px 4px; border-inline-end: 1px solid var(--line); }
.stat:first-child { padding-inline-start: 0; }
.stat:last-child { border: 0; }
.stat b { display: block; font: 600 clamp(32px, 3.6vw, 52px)/1 var(--f-display); letter-spacing: -.03em; }
html[lang="ar"] .stat b { font-family: "Syne", var(--f-display); }
.stat span { font-size: 14px; color: var(--mute); }

/* =========================================================
   Cards
   ========================================================= */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; }
.card-img { display: block; position: absolute; inset: 0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-cap { position: absolute; inset-inline: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500; transform: translateY(101%); transition: transform .55s var(--ease); }
.card:hover .card-cap, .card:focus-within .card-cap { transform: none; }
.card-cap .ic { width: 18px; height: 18px; color: var(--gold); }
.card-tags { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; background: #fff; color: var(--ink); }
html[lang="ar"] .tag { letter-spacing: 0; font-size: 12px; padding: 3px 9px; }
.tag-gold { background: var(--gold); }
.card-idx { position: absolute; bottom: 14px; inset-inline-start: 16px; font: 600 13px var(--f-body); color: #fff; letter-spacing: .1em; transition: opacity .3s; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.card:hover .card-idx { opacity: 0; }
.fav { position: absolute; top: 10px; inset-inline-end: 10px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); transition: transform .3s var(--ease), background .3s; z-index: 2; }
.fav:hover { transform: scale(1.08); }
.fav .ic { width: 19px; height: 19px; }
.fav.on { background: var(--ink); color: var(--gold); }
.fav.on .ic { fill: currentColor; }
.card-body { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
html[lang="ar"] .card-meta { letter-spacing: 0; font-size: 13px; }
.card-meta span + span::before { content: "/"; margin-inline-end: 14px; color: var(--line-2); }
.card-title { font: 600 19px/1.3 var(--f-body); letter-spacing: -.01em; margin-top: 10px; }
html[lang="ar"] .card-title { font-family: "Inter", sans-serif; direction: ltr; text-align: end; }
.card-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.card-title a:hover { background-size: 100% 1px; }
.card-title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.specs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; margin-bottom: 18px; font-size: 14px; color: var(--ink-2); }
.specs li { display: inline-flex; align-items: center; gap: 7px; }
.specs .ic { width: 18px; height: 18px; color: var(--mute); }
.card-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; }
.price { font: 600 20px/1.2 var(--f-display); letter-spacing: -.01em; }
.price .cur { font: 500 12.5px var(--f-body); letter-spacing: .08em; color: var(--mute); }
.price .u { font: 400 13px var(--f-body); color: var(--mute); }
html[lang="ar"] .price { font-family: "Syne", sans-serif; }
html[lang="ar"] .price .cur, html[lang="ar"] .price .u { font-family: var(--f-body); letter-spacing: 0; }
.permit { margin-top: 8px; font-size: 12px; color: var(--mute); }
.permit span { letter-spacing: .02em; }
.permit bdi { color: var(--ink-2); font-weight: 500; }

/* =========================================================
   Rail (featured)
   ========================================================= */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--gap)) / 3.25); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail .card-media { aspect-ratio: 4 / 5; }
.rail-ctrl { display: flex; align-items: center; gap: 24px; margin-top: 36px; }
.rail-bar { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.rail-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(.2); transition: transform .3s; }
html[dir="rtl"] .rail-bar i { transform-origin: right; }
.rail-btns { display: flex; gap: 10px; }

/* =========================================================
   Areas
   ========================================================= */
.areas-g { align-items: start; }
.areas-vis { grid-column: 1 / span 5; position: sticky; top: calc(var(--hdr) + 60px); }
.areas-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.areas-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.areas-frame img.on { opacity: 1; transform: none; }
.areas-cap { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--mute); }
.areas-cap b { color: var(--ink); font-weight: 600; }
.areas-list { grid-column: 7 / span 6; border-top: 1px solid var(--line); }
.arow { display: grid; grid-template-columns: 48px 1fr auto 28px; align-items: center; gap: 18px; padding-block: 24px; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; position: relative; }
.arow:hover, .arow:focus-visible, .arow.on { padding-inline-start: 14px; }
.arow-i { font: 500 13px var(--f-body); color: var(--mute-2); letter-spacing: .08em; transition: color .3s; }
.arow.on .arow-i { color: var(--gold); }
.arow-n { font: 600 clamp(24px, 2.4vw, 36px)/1.1 var(--f-display); letter-spacing: -.025em; }
html[lang="ar"] .arow-n { letter-spacing: 0; line-height: 1.5; font-size: clamp(22px, 2.1vw, 30px); }
.arow-n small { display: block; font: 400 13px var(--f-body); color: var(--mute); letter-spacing: 0; margin-top: 6px; }
.arow-c { font-size: 14px; color: var(--mute); white-space: nowrap; }
.arow .ic { color: var(--mute); transition: transform .5s var(--ease), color .3s; }
.arow:hover .ic, .arow.on .ic { color: var(--ink); transform: rotate(-45deg); }
html[dir="rtl"] .arow:hover .ic, html[dir="rtl"] .arow.on .ic { transform: scaleX(-1) rotate(-45deg); }
.arow-th { display: none; }

/* =========================================================
   Projects – split showcase
   ========================================================= */
.proj { align-items: start; padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.proj:first-of-type { border-top: 0; padding-top: 0; }
.proj-txt { grid-column: 1 / span 5; position: sticky; top: calc(var(--hdr) + 56px); }
.proj-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
html[lang="ar"] .proj-status { letter-spacing: 0; font-size: 13px; }
.proj-status::before { content: ""; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.proj-n { font: 700 clamp(34px, 4vw, 60px)/1 var(--f-display); letter-spacing: -.035em; margin-top: 18px; }
html[lang="ar"] .proj-n { letter-spacing: 0; line-height: 1.4; font-size: clamp(30px, 3.4vw, 48px); }
.proj-area { margin-top: 12px; color: var(--mute); display: flex; align-items: center; gap: 8px; }
.proj-area .ic { width: 18px; height: 18px; }
.facts { margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-inline-end: 16px; border-inline-end: 1px solid var(--line); }
.facts div:nth-child(even) { padding-inline-start: 18px; }
.facts dt { font-size: 12px; color: var(--mute); letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .facts dt { letter-spacing: 0; font-size: 13px; }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: 16px; }
.facts .big dd { font: 600 26px/1.15 var(--f-display); letter-spacing: -.02em; }
html[lang="ar"] .facts .big dd { font-family: "Syne", var(--f-display); }
.facts .big dd.gold { color: var(--gold-ink); }
.proj-txt .btn { margin-top: 32px; }
.proj-imgs { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.pimg { position: relative; overflow: hidden; background: var(--stone); }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pimg:hover img { transform: scale(1.05); }
.pimg:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.pimg:nth-child(2), .pimg:nth-child(3) { aspect-ratio: 3 / 4; }
.pimg:nth-child(3) { margin-top: 72px; }
.pimg figcaption { position: absolute; inset-inline-start: 0; bottom: 0; background: #fff; padding: 8px 14px; font-size: 12px; color: var(--mute); transform: translateY(100%); transition: transform .5s var(--ease); }
.pimg:hover figcaption { transform: none; }

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--stone); }
.sv-list { border-top: 1px solid var(--line-2); }
.sv { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding-block: 30px; border-bottom: 1px solid var(--line-2); position: relative; transition: background .4s; }
.sv::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gut)); background: #fff; opacity: 0; transition: opacity .4s; z-index: 0; }
.sv:hover::before { opacity: 1; }
.sv > * { position: relative; z-index: 1; }
.sv-i { grid-column: 1 / span 1; font: 500 14px var(--f-body); color: var(--gold-ink); letter-spacing: .08em; }
.sv-t { grid-column: 2 / span 5; font: 600 clamp(24px, 2.6vw, 38px)/1.1 var(--f-display); letter-spacing: -.025em; }
html[lang="ar"] .sv-t { letter-spacing: 0; line-height: 1.5; font-size: clamp(22px, 2.2vw, 32px); }
.sv-d { grid-column: 7 / span 5; color: var(--mute); }
.sv-a { grid-column: 12; justify-self: end; transition: transform .5s var(--ease); }
.sv:hover .sv-a { transform: rotate(-45deg); }
html[dir="rtl"] .sv-a .ic { transform: scaleX(-1); }
.sv-gv { display: inline-block; vertical-align: middle; margin-inline-start: 12px; font: 600 10.5px var(--f-body); letter-spacing: .12em; text-transform: uppercase; background: var(--gold); padding: 5px 8px; position: relative; top: -4px; }
html[lang="ar"] .sv-gv { letter-spacing: 0; font-size: 12px; }

/* =========================================================
   Calculator (dark)
   ========================================================= */
.dark { background: var(--ink); color: #fff; }
.dark .eyebrow { color: #a8a49b; }
.dark .muted, .dark .sh-side p { color: #a8a49b; }
.calc { border: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 1.15fr 1fr; }
.calc-in { padding: clamp(24px, 3vw, 44px); border-inline-end: 1px solid rgba(255,255,255,.14); }
.calc-tabs { display: inline-flex; border: 1px solid rgba(255,255,255,.22); margin-bottom: 36px; }
.calc-tabs button { height: 44px; padding-inline: 22px; font-size: 14px; font-weight: 500; color: #bdb9b0; }
.calc-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
.rng { margin-bottom: 28px; }
.rng-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 12px; }
.rng-top label { font-size: 13px; color: #bdb9b0; letter-spacing: .06em; text-transform: uppercase; }
html[lang="ar"] .rng-top label { letter-spacing: 0; }
.rng-top output { font: 600 20px var(--f-display); }
html[lang="ar"] .rng-top output { font-family: "Syne", sans-serif; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(to var(--rdir, right), var(--gold) var(--p, 50%), rgba(255,255,255,.25) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 1px; background: rgba(255,255,255,.25); }
input[type="range"]::-moz-range-progress { height: 1px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); margin-top: -9px; }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); }
html[dir="rtl"] input[type="range"] { --rdir: left; }
.calc-out { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; }
.calc-out .eyebrow { margin-bottom: 14px; }
.calc-big { font: 600 clamp(48px, 6vw, 92px)/.95 var(--f-display); letter-spacing: -.04em; color: var(--gold); }
html[lang="ar"] .calc-big { font-family: "Syne", sans-serif; }
.calc-big small { font: 400 15px var(--f-body); color: #bdb9b0; letter-spacing: 0; margin-inline-start: 8px; }
.calc-rows { margin-top: auto; padding-top: 36px; }
.calc-rows div { display: flex; justify-content: space-between; padding-block: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: 15px; gap: 12px; }
.calc-rows span { color: #bdb9b0; }
.calc-rows b { font-weight: 600; }
.calc-note { font-size: 12.5px; color: #8e8a81; margin-top: 18px; }

/* =========================================================
   Agents
   ========================================================= */
.agents { row-gap: 40px; }
.agent { grid-column: span 4; display: flex; flex-direction: column; border: 1px solid var(--line); transition: border-color .4s; }
.agent:hover { border-color: var(--ink); }
.agent-port { position: relative; aspect-ratio: 5 / 4; background: var(--stone); display: grid; place-items: center; overflow: hidden; }
.agent-port b { position: relative; z-index: 1; font: 700 clamp(80px, 9vw, 140px)/1 var(--f-display); letter-spacing: -.05em; color: var(--ink); transition: transform .9s var(--ease); }
.agent:hover .agent-port b { transform: scale(1.06); }
.agent-port::after { content: ""; position: absolute; top: 18%; bottom: 18%; inset-inline-start: 50%; width: 1px; background: var(--gold); }
.agent-badge { position: absolute; top: 14px; inset-inline-start: 14px; }
.agent-b { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.agent-b h3 { font: 600 24px/1.2 var(--f-display); letter-spacing: -.02em; }
.agent-role { color: var(--mute); font-size: 14px; margin-top: 4px; }
.agent-bio { font-size: 14.5px; color: var(--ink-2); margin-top: 16px; }
.agent-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 13px; color: var(--mute); }
.agent-meta b { color: var(--ink); font-weight: 500; }
.agent-acts { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; border-top: 1px solid var(--line); }
.agent-acts a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; font-size: 14px; font-weight: 500; transition: background .3s, color .3s; }
.agent-acts a + a { border-inline-start: 1px solid var(--line); }
.agent-acts a:hover { background: var(--ink); color: #fff; }
.agent-acts .ic { width: 18px; height: 18px; }
.agent-wrap { margin-top: 24px; }

/* =========================================================
   Testimonials
   ========================================================= */
.quotes { row-gap: 40px; }
.quote { grid-column: span 4; padding-top: 28px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; }
.quote-m { font: 700 72px/0.6 var(--f-display); color: var(--gold); height: 34px; }
html[lang="ar"] .quote-m { font-family: "Syne", sans-serif; }
.quote p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; margin-top: 14px; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 40px; font-size: 14px; color: var(--mute); }
.quote footer i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--stone); color: var(--ink); font: 600 12px var(--f-body); font-style: normal; }

/* =========================================================
   Lead form
   ========================================================= */
.lead-sec { background: var(--stone); }
.lead-g { align-items: start; row-gap: 48px; }
.lead-l { grid-column: 1 / span 5; }
.lead-l .h2 { font-size: clamp(34px, 4.2vw, 64px); }
html[lang="ar"] .lead-l .h2 { font-size: clamp(28px, 3.4vw, 48px); }
.lead-l .lead { margin-top: 24px; color: var(--mute); }
.cinfo { margin-top: 40px; border-top: 1px solid var(--line-2); }
.cinfo a, .cinfo p { display: flex; align-items: center; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.cinfo a:hover { color: var(--gold-ink); }
.cinfo .ic { color: var(--gold-ink); }
.cinfo small { display: block; font-size: 12px; color: var(--mute); }
.lead-r { grid-column: 7 / span 6; background: #fff; padding: clamp(24px, 3.4vw, 52px); border: 1px solid var(--line); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.fld { position: relative; margin-bottom: 26px; }
.fld.full { grid-column: 1 / -1; }
.fld label { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
html[lang="ar"] .fld label { letter-spacing: 0; font-size: 13px; }
.fld input, .fld select, .fld textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; padding: 10px 0; font-size: 16px; border-radius: 0; transition: border-color .3s; }
.fld select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-inline-end: 24px; }
.fld .ic.sel { position: absolute; inset-inline-end: 0; bottom: 12px; width: 16px; height: 16px; color: var(--mute); pointer-events: none; }
.fld textarea { resize: vertical; min-height: 84px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.fld.err input { border-bottom-color: var(--err); }
.fld .msg { display: none; font-size: 12.5px; color: var(--err); margin-top: 6px; }
.fld.err .msg { display: block; }
.fnote { font-size: 12.5px; color: var(--mute); margin-top: 14px; }
.fok { text-align: start; padding-block: 24px; }
.fok .ic { width: 44px; height: 44px; color: var(--gold); padding: 9px; border: 1px solid var(--gold); border-radius: 50%; }
.fok h3 { font: 600 26px/1.25 var(--f-display); margin-top: 24px; letter-spacing: -.02em; }
html[lang="ar"] .fok h3 { letter-spacing: 0; line-height: 1.6; }
.fok p { color: var(--mute); margin-top: 10px; }
.fok button { margin-top: 24px; }
input[type="date"], input[type="tel"], input[type="text"], input[type="email"], input[type="number"] { -webkit-appearance: none; appearance: none; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: #c9c5bc; padding-top: clamp(64px, 7vw, 104px); overflow: hidden; }
.ft-top { row-gap: 40px; }
.ft-brand { grid-column: 1 / span 4; }
.ft-brand .logo img { height: 96px; }
.ft-tag { margin-top: 22px; max-width: 34ch; font-size: 15px; }
.ft-col { grid-column: span 2; }
.ft-col:nth-child(2) { grid-column: 5 / span 2; }
.ft-lic { grid-column: span 2; }
.ft-h { font: 500 12px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #8e8a81; margin-bottom: 18px; }
html[lang="ar"] .ft-h { letter-spacing: 0; font-size: 13px; }
.ft-col li { margin-bottom: 10px; font-size: 14.5px; }
.ft-col a:hover { color: var(--gold); }
.ft-rera { display: flex; flex-direction: column; margin-bottom: 16px; font-size: 13px; }
.ft-rera bdi { font: 600 18px var(--f-display); color: #fff; margin-top: 2px; }
html[lang="ar"] .ft-rera bdi { font-family: "Syne", sans-serif; }
.ft-word { font: 700 min(184px, calc((100vw - 2 * var(--gut)) / 7.2))/.8 "Syne", sans-serif; letter-spacing: -.055em; color: #fff; margin-top: clamp(56px, 7vw, 96px); white-space: nowrap; direction: ltr; text-align: center; opacity: .96; }
.ft-word span { color: var(--gold); }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px 30px; margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: #8e8a81; }
.ft-bottom bdi { color: #c9c5bc; }
.ft-concept { font-size: 11.5px; color: #6f6c66; }

/* =========================================================
   Floating: WhatsApp + AI
   ========================================================= */
.fabs { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; min-width: 56px; border-radius: 28px; box-shadow: 0 14px 34px -12px rgba(0,0,0,.45); transition: transform .3s var(--ease), background .3s; }
.fab:hover { transform: translateY(-2px); }
.fab .ic { width: 24px; height: 24px; }
.fab-wa { background: #fff; color: var(--ink); border: 1px solid var(--line); width: 56px; }
.fab-wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.ai-launch { background: var(--ink); color: #fff; padding-inline: 20px 24px; font-weight: 500; font-size: 14.5px; }
.ai-launch .ic { color: var(--gold); }
.fabs.open .fab-wa { opacity: 0; pointer-events: none; transform: translateY(10px); }
.fabs.open .ai-launch { background: var(--gold); color: var(--ink); }
.fabs.open .ai-launch .ic { color: var(--ink); }
.ai-panel { position: fixed; inset-inline-end: 20px; bottom: 88px; width: 392px; height: min(620px, calc(100vh - 120px)); height: min(620px, calc(100dvh - 120px)); background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.4); display: flex; flex-direction: column; animation: aiIn .45s var(--ease); }
.ai-panel[hidden] { display: none; }
@keyframes aiIn { from { opacity: 0; transform: translateY(16px); } }
.ai-head { display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 20px; background: var(--ink); color: #fff; }
html[dir="rtl"] .ai-head { padding: 16px 20px 16px 16px; }
.ai-head img { width: 44px; height: auto; }
.ai-head h2 { font: 600 16px var(--f-display); }
.ai-sub { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #bdb9b0; }
.ai-dot { width: 7px; height: 7px; border-radius: 50%; background: #4cc47a; }
.ai-x { margin-inline-start: auto; width: 40px; height: 40px; display: grid; place-items: center; color: #fff; }
.ai-demo { font-size: 11.5px; color: var(--gold-ink); background: var(--gold-soft); padding: 7px 20px; border-bottom: 1px solid var(--line); }
.ai-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: #fafaf8; }
.ai-msg { max-width: 88%; padding: 11px 14px; font-size: 14px; line-height: 1.55; }
.ai-bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.ai-user { background: var(--ink); color: #fff; align-self: flex-end; }
.ai-typing { display: flex; gap: 4px; padding: 14px; }
.ai-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--mute-2); animation: dot 1s infinite; }
.ai-typing span:nth-child(2) { animation-delay: .15s; } .ai-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .2; } }
.ai-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ai-card { display: flex; gap: 10px; border: 1px solid var(--line); padding: 6px; background: #fff; transition: border-color .3s; }
.ai-card:hover { border-color: var(--ink); }
.ai-card img { width: 72px; height: 60px; object-fit: cover; flex: none; }
.ai-card-b { display: flex; flex-direction: column; min-width: 0; }
.ai-card-t { font-size: 13px; font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ai-card-m { font-size: 12px; color: var(--mute); }
.ai-card-p { font-size: 13px; font-weight: 600; margin-top: auto; }
.ai-card-p .cur, .ai-card-p .u { font-weight: 400; color: var(--mute); font-size: 12px; }
.ai-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; font-size: 13px; border-bottom: 1px solid var(--gold); }
.ai-link .ic { width: 16px; height: 16px; }
.ai-ul { margin: 8px 0 0; padding-inline-start: 0; display: grid; gap: 6px; }
.ai-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; border-top: 1px solid var(--line); scrollbar-width: none; }
.ai-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 34px; padding-inline: 14px; border: 1px solid var(--line-2); font-size: 13px; border-radius: 17px; transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ai-form { display: flex; border-top: 1px solid var(--line); }
.ai-form input { flex: 1; min-width: 0; border: 0; padding: 0 18px; height: 56px; font-size: 15px; }
.ai-form input:focus { outline: none; }
.ai-form:focus-within { box-shadow: inset 0 0 0 1px var(--ink); }
.ai-send { width: 56px; height: 56px; display: grid; place-items: center; background: var(--ink); color: #fff; }

/* =========================================================
   Page header (listings / property)
   ========================================================= */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--mute); padding-top: 28px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--line-2); }
.phead { padding-block: 28px 40px; align-items: end; row-gap: 20px; }
.phead h1 { grid-column: 1 / span 8; font-size: clamp(44px, 7vw, 112px); }
html[lang="ar"] .phead h1 { font-size: clamp(36px, 5.4vw, 80px); }
.phead h1 sup { font: 500 .22em var(--f-body); color: var(--gold-ink); letter-spacing: 0; vertical-align: top; position: relative; top: .6em; margin-inline-start: .3em; }
.phead p { grid-column: 9 / span 4; color: var(--mute); }

/* toolbar */
.tbar { position: sticky; top: calc(var(--hdr) + 36px); z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.tbar-in { display: flex; align-items: center; gap: 12px; height: 64px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); }
.seg button { height: 40px; padding-inline: 18px; font-size: 14px; font-weight: 500; color: var(--mute); transition: background .3s, color .3s; display: inline-flex; align-items: center; gap: 8px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.seg button .ic { width: 17px; height: 17px; }
.tbar-count { font-size: 14px; color: var(--mute); }
.tbar-count b { color: var(--ink); font-weight: 600; }
.tbar-sp { flex: 1; }
.tsel { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.tsel label { color: var(--mute); }
.tsel select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line-2); height: 42px; padding-inline: 14px 36px; background: #fff; font-weight: 500; cursor: pointer; border-radius: 0; }
html[dir="rtl"] .tsel select { padding-inline: 14px 36px; }
.tsel .ic { position: absolute; inset-inline-end: 12px; width: 16px; height: 16px; pointer-events: none; }
.btn-filters { display: none; }

/* filters aside */
.lst { padding-block: 40px 120px; align-items: start; }
.fside { grid-column: 1 / span 3; padding-inline-end: 8px; }
.fside-head { display: none; }
.fg { padding-block: 18px; border-bottom: 1px solid var(--line); }
.fg:first-child { padding-top: 0; }
.fg > label, .fg > .fg-l { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
html[lang="ar"] .fg > label, html[lang="ar"] .fg > .fg-l { letter-spacing: 0; font-size: 13px; }
.fsel { position: relative; }
.fsel select, .fg input[type="text"], .fg input[type="number"] { width: 100%; height: 44px; border: 1px solid var(--line-2); background: #fff; padding-inline: 12px; font-size: 14.5px; border-radius: 0; }
.fsel select { appearance: none; -webkit-appearance: none; padding-inline-end: 34px; cursor: pointer; }
.fsel .ic { position: absolute; inset-inline-end: 12px; top: 14px; width: 16px; height: 16px; pointer-events: none; color: var(--mute); }
.fg input:focus, .fg select:focus { outline: none; border-color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills button { min-width: 44px; height: 38px; padding-inline: 12px; border: 1px solid var(--line-2); font-size: 14px; transition: background .25s, color .25s, border-color .25s; }
.pills button:hover { border-color: var(--ink); }
.pills button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chk { display: flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--ink); }
.fside .reset { margin-top: 20px; }
.fside-apply { display: none; }

.results { grid-column: 4 / span 9; min-width: 0; }
.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--gap); }

/* table view */
.rtable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rtable th { text-align: start; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding: 0 12px 14px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
html[lang="ar"] .rtable th { letter-spacing: 0; font-size: 13px; }
.rtable td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rtable tr { position: relative; transition: background .3s; }
.rtable tbody tr:hover { background: var(--stone); }
.rtable th:first-child, .rtable td:first-child { padding-inline-start: 0; }
.rt-prop { display: flex; align-items: center; gap: 16px; min-width: 0; }
.rt-thumb { width: 112px; aspect-ratio: 4 / 3; overflow: hidden; flex: none; background: var(--stone); }
.rt-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rtable tr:hover .rt-thumb img { transform: scale(1.08); }
.rt-t { font-weight: 600; line-height: 1.35; display: block; }
html[lang="ar"] .rt-t { direction: ltr; text-align: end; }
.rt-t:hover { text-decoration: underline; text-underline-offset: 3px; }
.rt-sub { display: none; font-size: 13px; color: var(--mute); margin-top: 2px; }
.rt-permit { font-size: 12px; color: var(--mute); margin-top: 4px; display: block; }
.rt-permit bdi { color: var(--ink-2); }
.rt-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rt-price { font: 600 16px var(--f-display); white-space: nowrap; }
html[lang="ar"] .rt-price { font-family: "Syne", sans-serif; }
.rt-price .cur, .rt-price .u { font: 400 12px var(--f-body); color: var(--mute); }
.rtable .fav { position: static; background: transparent; border: 1px solid var(--line-2); width: 38px; height: 38px; }
.rtable .fav.on { background: var(--ink); border-color: var(--ink); }

/* map */
.rmap { height: min(70vh, 680px); border: 1px solid var(--line); background: var(--stone); }
.leaflet-tile-pane { filter: grayscale(1) contrast(1.02) brightness(1.03); }
.pin { background: var(--ink); color: #fff; font: 600 12px/1 "Inter", sans-serif; padding: 7px 9px; white-space: nowrap; position: relative; box-shadow: 0 6px 16px -6px rgba(0,0,0,.5); transform: translate(-50%, -100%); display: inline-block; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); z-index: -1; }
.pin.sale { background: var(--gold); color: var(--ink); }
.pin-wrap { background: none !important; border: 0 !important; }
.leaflet-popup-content-wrapper { border-radius: 0 !important; padding: 0 !important; }
.leaflet-popup-content { margin: 0 !important; width: 240px !important; font-family: var(--f-body); }
.mpop img { width: 100%; height: 130px; object-fit: cover; }
.mpop div { padding: 12px 14px 14px; }
.mpop b { display: block; font-size: 13.5px; line-height: 1.35; }
.mpop div > span { display: block; font-size: 12px; color: var(--mute); margin-top: 4px; }
.mpop .price { font-size: 15px; margin-top: 8px; }
.mpop a.tlink { margin-top: 10px; font-size: 13px; color: var(--ink) !important; }
.rmap, .pmap { position: relative; z-index: 0; isolation: isolate; }
.fg > label.chk { text-transform: none; letter-spacing: 0; font-size: 14.5px; font-weight: 400; color: var(--ink); margin: 0; display: flex; }

/* empty */
.empty { border: 1px solid var(--line); padding: clamp(32px, 6vw, 80px); text-align: center; }
.empty .ic { width: 44px; height: 44px; color: var(--gold); margin: 0 auto 20px; }
.empty h2 { font: 600 clamp(24px, 2.6vw, 34px)/1.2 var(--f-display); letter-spacing: -.02em; }
html[lang="ar"] .empty h2 { letter-spacing: 0; line-height: 1.6; }
.empty p { color: var(--mute); max-width: 52ch; margin: 12px auto 28px; }
.empty .acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   Property detail
   ========================================================= */
.pd-head { padding-block: 24px 36px; align-items: end; row-gap: 24px; }
.pd-head-l { grid-column: 1 / span 8; }
.pd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pd-tags .tag { border: 1px solid var(--line-2); }
.pd-tags .tag-gold { border-color: var(--gold); }
.pd-head h1 { font-size: clamp(34px, 4.6vw, 72px); line-height: 1; letter-spacing: -.035em; }
html[lang="ar"] .pd-head h1 { font-family: "Syne", sans-serif; direction: ltr; text-align: end; line-height: 1.05; letter-spacing: -.03em; }
.pd-loc { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--mute); }
.pd-loc .ic { width: 18px; height: 18px; }
.pd-head-r { grid-column: 9 / span 4; text-align: end; }
.pd-price { font: 600 clamp(32px, 3.6vw, 52px)/1 var(--f-display); letter-spacing: -.03em; }
html[lang="ar"] .pd-price { font-family: "Syne", sans-serif; }
.pd-price .cur, .pd-price .u { font: 400 15px var(--f-body); color: var(--mute); letter-spacing: 0; }
.pd-permit { margin-top: 12px; font-size: 13px; color: var(--mute); }
.pd-permit bdi { color: var(--ink); font-weight: 600; }
.pd-acts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.pd-acts .fav { position: static; border: 1px solid var(--line-2); width: 48px; height: 48px; background: #fff; }
.pd-acts .fav.on { background: var(--ink); border-color: var(--ink); }

.gal { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(360px, 44vw, 640px); }
.gal button { position: relative; overflow: hidden; background: var(--stone); padding: 0; display: block; width: 100%; height: 100%; }
.gal button:first-child { grid-row: 1 / span 2; }
.gal button[hidden] { display: none; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gal button:hover img { transform: scale(1.04); }
.gal-all { position: absolute; inset-inline-end: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: #fff; padding: 10px 14px; font-size: 13.5px; font-weight: 500; pointer-events: none; }
.gal-all .ic { width: 17px; height: 17px; }
.gal-n { position: absolute; top: 14px; inset-inline-start: 14px; color: #fff; font-size: 12px; letter-spacing: .1em; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

.pd-body { padding-block: clamp(48px, 6vw, 88px) 40px; align-items: start; row-gap: 48px; }
.pd-main { grid-column: 1 / span 7; min-width: 0; }
.pd-side { grid-column: 9 / span 4; position: sticky; top: calc(var(--hdr) + 36px + 20px); display: flex; flex-direction: column; gap: 16px; }
.pd-sec { padding-block: 40px; border-top: 1px solid var(--line); }
.pd-sec:first-child { border-top: 1px solid var(--ink); padding-top: 28px; }
.pd-sec h2 { font: 600 13px var(--f-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 26px; display: flex; gap: 14px; }
html[lang="ar"] .pd-sec h2 { letter-spacing: 0; font-size: 15px; }
.pd-sec h2 i { font-style: normal; color: var(--gold-ink); }
.kf { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.kf div { padding: 18px 18px 16px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); min-width: 0; }
.kf dt { font-size: 12px; color: var(--mute); letter-spacing: .06em; text-transform: uppercase; }
html[lang="ar"] .kf dt { letter-spacing: 0; font-size: 13px; }
.kf dd { margin: 6px 0 0; font-weight: 600; font-size: 16.5px; overflow-wrap: anywhere; }
.kf .hl dd { color: var(--gold-ink); }
.pd-desc { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; }
html[lang="ar"] .pd-desc { direction: ltr; text-align: left; font-family: "Inter", sans-serif; }
.pd-inc { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gold-ink); background: var(--gold-soft); padding: 8px 14px; }
.pd-inc .ic { width: 18px; height: 18px; }
.amen { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.amen li { display: flex; align-items: center; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
html[lang="ar"] .amen li { direction: ltr; justify-content: flex-end; flex-direction: row-reverse; }
.amen .ic { width: 18px; height: 18px; color: var(--gold); }
.pmap { height: 380px; border: 1px solid var(--line); background: var(--stone); }
.pd-calc { background: var(--stone); padding: 28px; }
.pd-calc .pd-calc-big { color: var(--ink); font-size: inherit; font: 600 clamp(36px, 4vw, 56px)/1 var(--f-display); letter-spacing: -.03em; }
html[lang="ar"] .pd-calc-big { font-family: "Syne", sans-serif; }
.pd-calc-big small { font: 400 14px var(--f-body); color: var(--mute); letter-spacing: 0; margin-inline-start: 6px; }
.pd-calc > p:not(.pd-calc-big):not(.eyebrow) { color: var(--mute); font-size: 14px; margin-top: 10px; }
.pd-calc .rows { margin-top: 20px; }
.pd-calc .rows div { display: flex; justify-content: space-between; padding-block: 12px; border-top: 1px solid var(--line-2); font-size: 15px; gap: 12px; }
.pd-calc .rows div:last-child { font-weight: 600; border-top-color: var(--ink); }
.pd-calc .tlink { margin-top: 18px; }

.box { border: 1px solid var(--line); background: #fff; }
.box-h { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.box-h h2 { font: 600 20px/1.2 var(--f-display); letter-spacing: -.01em; }
html[lang="ar"] .box-h h2 { letter-spacing: 0; line-height: 1.6; }
.box-h p { font-size: 13.5px; color: var(--mute); margin-top: 4px; }
.box-b { padding: 24px; }
.box-b .fld { margin-bottom: 20px; }
.ag-mini { display: flex; gap: 16px; align-items: center; padding: 20px 24px; }
.ag-mini i { width: 60px; height: 60px; flex: none; background: var(--stone); display: grid; place-items: center; font: 700 20px var(--f-display); font-style: normal; position: relative; }
.ag-mini i::after { content: ""; position: absolute; top: 12px; bottom: 12px; left: 50%; width: 1px; background: var(--gold); }
.ag-mini b { display: block; font-weight: 600; }
.ag-mini span { font-size: 13px; color: var(--mute); }
.ag-acts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.ag-acts a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; font-weight: 500; font-size: 14px; transition: background .3s, color .3s; }
.ag-acts a + a { border-inline-start: 1px solid var(--line); }
.ag-acts a:hover { background: var(--ink); color: #fff; }
.ag-acts .ic { width: 18px; height: 18px; }
.time-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(8,8,8,.97); color: #fff; display: grid; grid-template-rows: auto 1fr auto; }
.lb[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gut); font-size: 14px; }
.lb-top button { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding-inline: 88px; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); object-fit: contain; animation: lbIn .5s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.98); } }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; color: #fff; transition: background .3s; }
.lb-nav:hover { background: #fff; color: var(--ink); }
.lb-prev { inset-inline-start: 20px; } .lb-next { inset-inline-end: 20px; }
html[dir="rtl"] .lb-nav .ic { transform: scaleX(-1); }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; padding: 16px var(--gut) 24px; overflow-x: auto; }
.lb-thumbs button { width: 84px; height: 60px; flex: none; opacity: .45; transition: opacity .3s; outline-offset: 2px; }
.lb-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--gold); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; font-size: 14px; opacity: 0; transition: opacity .3s, transform .3s; z-index: 130; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .mainnav { gap: 18px; }
  .mainnav a:nth-child(4) { display: none; }
  .nav-saved-t { display: none; }
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar .tb-hours { display: none; }
}
@media (max-width: 1080px) {
  .mainnav, .nav-cta { display: none; }
  .burger { display: grid; }
  .navbar-in { justify-content: space-between; }
  .nav-actions { margin-inline-start: auto; }
  .sh-idx { grid-column: 1 / span 2; }
  .sh-main { grid-column: 3 / span 10; }
  .sh-side { grid-column: 3 / span 10; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .sf { border-bottom: 1px solid var(--line); }
  .sf:nth-child(2n) { border-inline-end: 0; }
  .search-go { grid-column: 1 / -1; min-height: 64px; }
  .areas-vis { grid-column: 1 / span 5; }
  .areas-list { grid-column: 6 / span 7; }
  .proj-txt { grid-column: 1 / span 6; }
  .proj-imgs { grid-column: 7 / span 6; }
  .calc { grid-template-columns: 1fr; }
  .calc-in { border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .agent { grid-column: span 6; }
  .agent:last-child { grid-column: 4 / span 6; }
  .quote { grid-column: span 6; }
  .quote:last-child { grid-column: 1 / -1; }
  .lead-l, .lead-r { grid-column: 1 / -1; }
  .ft-brand { grid-column: 1 / -1; }
  .ft-col, .ft-col:nth-child(2), .ft-lic { grid-column: span 3; }
  .fside { position: fixed; inset: 0; z-index: 95; background: #fff; max-height: none; padding: 0; display: none; flex-direction: column; }
  .fside.open { display: flex; }
  .fside-head { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gut); border-bottom: 1px solid var(--line); }
  .fside-head h2 { font: 600 22px var(--f-display); }
  .fside-head button { width: 44px; height: 44px; display: grid; place-items: center; }
  .fside-body { flex: 1; overflow-y: auto; padding: 20px var(--gut); }
  .fside-apply { display: flex; gap: 10px; padding: 14px var(--gut); border-top: 1px solid var(--line); }
  .fside-apply .btn { flex: 1; }
  .fside .reset { display: none; }
  .results { grid-column: 1 / -1; }
  .btn-filters { display: inline-flex; }
  .pd-main { grid-column: 1 / -1; }
  .pd-side { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .pd-side .box:first-child { grid-row: span 2; }
  .phead h1 { grid-column: 1 / -1; }
  .phead p { grid-column: 1 / span 8; }
}
@media (max-width: 860px) {
  .hero-intro { grid-column: 1 / -1; }
  .hero-ctas { grid-column: 1 / -1; justify-content: flex-start; }
  .hero-title .l2 { padding-inline-start: 0; }
  .hero-img { aspect-ratio: 4 / 3; }
  .search { margin-top: -48px; margin-inline: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-inline: 0 16px; border-inline-end: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .stat:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .stat:nth-child(even) { padding-inline-start: 20px; }
  .rail { grid-auto-columns: calc((100% - var(--gap)) / 1.6); }
  .areas-vis { display: none; }
  .areas-list { grid-column: 1 / -1; }
  .arow { grid-template-columns: 34px 72px 1fr 24px; gap: 14px; padding-block: 16px; }
  .arow-th { display: block; width: 72px; aspect-ratio: 1; object-fit: cover; grid-column: 2; grid-row: 1; }
  .arow-n { grid-column: 3; }
  .arow-c { display: none; }
  .proj-txt { position: static; grid-column: 1 / -1; }
  .proj-imgs { grid-column: 1 / -1; margin-top: 36px; }
  .sv { grid-template-columns: 40px 1fr 32px; row-gap: 10px; }
  .sv-i { grid-column: 1; }
  .sv-t { grid-column: 2; }
  .sv-d { grid-column: 2; grid-row: 2; font-size: 15px; }
  .sv-a { grid-column: 3; grid-row: 1; }
  .agent, .agent:last-child { grid-column: 1 / -1; }
  .agent { display: grid; grid-template-columns: 200px 1fr; }
  .agent-port { aspect-ratio: auto; height: 100%; min-height: 220px; }
  .agent-port b { font-size: 72px; }
  .agent-acts { grid-column: 1 / -1; }
  .quote, .quote:last-child { grid-column: 1 / -1; }
  .pd-head-l, .pd-head-r { grid-column: 1 / -1; text-align: start; }
  .pd-acts { justify-content: flex-start; }
  .pd-side { grid-template-columns: 1fr; }
  .pd-side .box:first-child { grid-row: auto; }
  .rtable .c-area, .rtable .c-type, .rtable .c-baths, .rtable .c-size { display: none; }
  .rt-sub { display: block; }
  .tbar-in { height: auto; padding-block: 10px; flex-wrap: wrap; row-gap: 10px; }
  .tbar-count { order: 5; width: 100%; }
  .tsel label { display: none; }
  .seg button { padding-inline: 12px; }
  .seg-view button span { display: none; }
  .tbar-sp { display: none; }
  .tsel { margin-inline-start: auto; }
}
@media (max-width: 640px) {
  :root { --hdr: 64px; }
  .topbar-in { justify-content: center; height: 32px; }
  .tb-contact { display: none !important; }
  .logo img { height: 46px; }
  .lang-btn { height: 40px; padding-inline: 10px; }
  .nav-saved { padding-inline: 8px; }
  .sh { grid-template-columns: 1fr; }
  .sh-idx, .sh-main, .sh-side { grid-column: 1; }
  .sh-idx { font-size: 52px; }
  .hero-meta { flex-direction: column; gap: 4px; }
  .hero-ctas .btn { flex: 1; padding-inline: 16px; }
  .hero-img { aspect-ratio: 4 / 5; }
  .hero-fig { inset-inline-end: 14px; top: 14px; font-size: 11.5px; }
  .search { margin-inline: 0; margin-top: -40px; }
  .search-tabs button { flex: 1; padding-inline: 12px; }
  .search-note { display: none; }
  .search-fields { grid-template-columns: 1fr; }
  .sf, .sf:nth-child(2n) { border-inline-end: 0; padding: 12px 18px 10px; }
  .sf select { font-size: 16px; }
  .rail { grid-auto-columns: 84%; }
  .rail-ctrl { margin-top: 24px; }
  .proj-imgs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pimg:nth-child(3) { margin-top: 32px; }
  .facts .big dd { font-size: 21px; }
  .calc-tabs { display: flex; width: 100%; }
  .calc-tabs button { flex: 1; padding-inline: 10px; }
  .agent { grid-template-columns: 1fr; }
  .agent-port { min-height: 0; aspect-ratio: 16 / 9; }
  .fgrid { grid-template-columns: 1fr; }
  .ft-col, .ft-col:nth-child(2), .ft-lic { grid-column: span 6; }
  .ft-brand .logo img { height: 80px; }
  .ft-bottom { flex-direction: column; }
  .fabs { inset-inline-end: 14px; bottom: 14px; gap: 10px; }
  .fab { height: 52px; min-width: 52px; }
  .fab-wa { width: 52px; }
  .ai-launch { padding-inline: 16px; }
  .ai-launch-t { display: none; }
  .ai-panel { inset: auto 8px 8px 8px; width: auto; height: calc(100dvh - 90px); max-height: 640px; z-index: 2; }
  .fabs.open .ai-launch { display: none; }
  .tbar { top: calc(var(--hdr) + 32px); }
  .rgrid { grid-template-columns: 1fr; gap: 44px; }
  .rt-thumb { width: 64px; }
  .rtable th, .rtable td { padding-inline: 5px; }
  .rtable .fav { width: 34px; height: 34px; }
  .rtable th.c-beds, .rtable td.c-beds { display: none; }
  .rtable td { padding-inline: 8px; }
  .rt-prop { gap: 12px; }
  .rt-t { font-size: 14px; }
  .gal { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); gap: 8px; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .gal::-webkit-scrollbar { display: none; }
  .gal button { flex: 0 0 88%; aspect-ratio: 4 / 3; height: auto; scroll-snap-align: start; }
  .kf .hl { grid-column: 1 / -1; }
  .gal-all { display: none; }
  .kf { grid-template-columns: 1fr 1fr; }
  .amen { grid-template-columns: 1fr; }
  .pmap { height: 300px; }
  .lb-stage { padding-inline: 0; }
  .lb-nav { top: auto; bottom: -8px; transform: none; width: 48px; height: 48px; background: rgba(0,0,0,.5); }
  .phead p { grid-column: 1 / -1; }
  .time-grid { grid-template-columns: 1fr 1fr; gap: 0 14px; }
}
@media (max-width: 380px) {
  .nav-saved { display: none; }
}
.arow-sc { display: none; }
@media (max-width: 860px) { .arow-sc { display: inline; } }

/* numerals: Syne digits are old-style; use Inter for figures */
.stat b, .price, .calc-big, .rng-top output, .facts .big dd, .ft-rera bdi, .pd-price, .pd-calc .pd-calc-big, .rt-price,
html[lang="ar"] .stat b, html[lang="ar"] .price, html[lang="ar"] .calc-big, html[lang="ar"] .rng-top output, html[lang="ar"] .facts .big dd, html[lang="ar"] .ft-rera bdi, html[lang="ar"] .pd-price, html[lang="ar"] .pd-calc .pd-calc-big, html[lang="ar"] .rt-price {
  font-family: "Inter", sans-serif; font-feature-settings: "tnum" 0, "ss01", "cv11"; letter-spacing: -.035em;
}
.stat b { font-weight: 500; letter-spacing: -.05em; }
.calc-big, .pd-price { font-weight: 500; letter-spacing: -.05em; }
.price { font-size: 19px; letter-spacing: -.02em; }
.rng-top output, .ft-rera bdi { letter-spacing: -.01em; }
.hero-fig { background: rgba(10,10,10,.42); padding: 7px 12px; text-shadow: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-fig::before { width: 18px; background: var(--gold); }
.gal-n { background: rgba(10,10,10,.5); padding: 5px 9px; text-shadow: none; }
@media (max-width: 860px) { .arow:hover, .arow:focus-visible, .arow.on { padding-inline-start: 0; } }

.rt-mprice { display: none; }
@media (max-width: 640px) {
  .rtable .c-price { display: none; }
  .rt-mprice { display: block; margin-top: 6px; font-size: 15px; }
}
