/* Sahil & Sky — Desert Night & Brass.
   Night #0C1A24 · Lagoon #15535A · Brass #C89B4E (ink #7A5720 on light) · Haze #E9EEF0 · Dune #D8C3A0 · Ember #E07A4F
   Display: Bodoni Moda (headings only) · Body: Manrope · Data: DM Mono · Arabic: Reem Kufi / Almarai
   Signature: arch-topped image frames and the hero tower; mashrabiya lattice in dark bands. */
:root {
  --night: #0c1a24; --night-2: #13293a; --night-3: #1b3444; --lagoon: #15535a; --lagoon-2: #1f6b72;
  --brass: #c89b4e; --brass-2: #d9b16b; --brass-ink: #7a5720; --haze: #e9eef0; --paper: #f7f9fa; --white: #fff;
  --dune: #d8c3a0; --ember: #e07a4f; --ink: #12202b; --muted: #4f5e69; --line: #cbd5da; --line-2: #dfe6ea;
  --ok: #1d6b4a; --warn: #9a4a12; --wa: #127d5d;
  --display: 'Bodoni Moda', 'Didot', Georgia, serif; --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'DM Mono', ui-monospace, monospace;
  --r: 16px; --r-lg: 24px; --shadow: 0 1px 2px rgba(12, 26, 36, .06), 0 10px 30px -12px rgba(12, 26, 36, .22);
  --arch: 999px 999px 16px 16px / 220px 220px 16px 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23c89b4e' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M28 6l6 16 16 6-16 6-6 16-6-16-16-6 16-6z'/%3E%3Cpath d='M0 0l12 12M56 0 44 12M0 56l12-12M56 56 44 44M28 0v6M28 50v6M0 28h6M50 28h6'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}
:lang(ar) { --display: 'Reem Kufi', 'Bodoni Moda', serif; --body: 'Almarai', 'Manrope', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--haze); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 .8em; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.fine { font-size: .8rem; color: var(--muted); margin-top: .6em; }
.mono { font-family: var(--mono); font-feature-settings: 'tnum'; letter-spacing: .01em; }
.label, .eyebrow { font: 500 .74rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--brass-ink); margin: 0 0 .9em; }
.eyebrow.light, .band-dark .eyebrow { color: var(--brass-2); }
:lang(ar) .label, :lang(ar) .eyebrow { letter-spacing: 0; font-family: var(--body); font-weight: 700; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: 24px; }
.wrap.narrow { max-width: 760px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: 28px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: .2em; }
.section-head .lede { margin: 0; }
.nowrap { white-space: nowrap; }
.num { text-align: end; font-family: var(--mono); font-feature-settings: 'tnum'; white-space: nowrap; }
.link { background: none; border: 0; padding: 0; color: var(--brass-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brass-ink); text-decoration: none; }
.link-arrow .i { transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.link-arrow.light { color: var(--brass-2); }
[dir=rtl] .i-arrow, [dir=rtl] .i-chevR, [dir=rtl] .i-chevL, [dir=rtl] .i-arrowL { transform: scaleX(-1); }
[dir=rtl] .link-arrow:hover .i { transform: scaleX(-1) translateX(4px); }

/* focus */
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--night); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--night); background: transparent; color: var(--night); font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), border-color .2s; white-space: nowrap; }
.btn:hover { background: var(--night); color: var(--haze); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--brass); border-color: var(--brass); color: var(--night); }
.btn.primary:hover { background: var(--brass-2); border-color: var(--brass-2); color: var(--night); }
.btn.ghost { border-color: var(--line); background: var(--paper); }
.btn.ghost:hover { border-color: var(--night); background: var(--white); color: var(--night); }
.btn.ghost.light { background: transparent; border-color: rgba(233, 238, 240, .35); color: var(--haze); }
.btn.ghost.light:hover { border-color: var(--haze); }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.wa:hover { background: #0e6a4f; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: .86rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn-row.two > * { flex: 1 1 0; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 999px; border: 1px solid transparent; background: transparent; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.icon-btn:hover { background: rgba(12, 26, 36, .07); }
.icon-btn.with-text { border-color: var(--line); background: var(--paper); font-weight: 600; font-size: .9rem; padding: 0 14px; }
.icon-btn.on { color: var(--brass-ink); }
.save-btn.on .i path { fill: currentColor; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(233, 238, 240, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line-2); transition: background .3s, color .3s, border-color .3s; }
body.on-home .site-header { position: fixed; inset-inline: 0; }
body.on-home:not(.scrolled) .site-header { background: transparent; border-color: transparent; color: var(--haze); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.on-home:not(.scrolled) .site-header .icon-btn:hover { background: rgba(233, 238, 240, .12); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-word { font-family: 'Bodoni Moda', serif; font-size: 1.42rem; letter-spacing: -0.01em; }
.brand-word em { color: var(--brass); font-style: italic; }
.proto-chip { font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; border: 1px solid currentColor; border-radius: 999px; padding: 2px 8px; opacity: .7; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { white-space: nowrap; text-decoration: none; padding: 8px 10px; border-radius: 999px; font-weight: 600; font-size: .94rem; opacity: .85; }
.main-nav a:hover, .main-nav a.on { opacity: 1; background: rgba(12, 26, 36, .07); }
body.on-home:not(.scrolled) .main-nav a:hover { background: rgba(233, 238, 240, .12); }
.header-right { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.badge-host { position: relative; }
.count-dot { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brass); color: var(--night); font: 600 .68rem/18px var(--mono); text-align: center; }
.burger { display: none; }
.prefs { display: flex; gap: 4px; }
.pref { position: relative; }
.pref-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 10px; border: 1px solid transparent; border-radius: 999px; background: transparent; cursor: pointer; font-size: .86rem; }
.pref-btn:hover { border-color: currentColor; }
.pref-menu { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 140px; margin: 0; padding: 6px; list-style: none; background: var(--white); color: var(--ink); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow); z-index: 60; max-height: 320px; overflow: auto; }
.pref-menu li { padding: 9px 12px; border-radius: 9px; cursor: pointer; font-size: .92rem; }
.pref-menu li:hover, .pref-menu li:focus { background: var(--haze); outline: none; }
.pref-menu li[aria-selected=true] { font-weight: 700; color: var(--brass-ink); }
.nav-drawer { display: none; }
.nav-drawer:not([hidden]) { display: grid; gap: 18px; position: fixed; inset: var(--header-h) 0 0; background: var(--haze); color: var(--ink); padding: 24px; overflow: auto; z-index: 39; }
.nav-drawer nav { display: grid; }
.nav-drawer nav a { font-family: var(--display); font-size: 1.7rem; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nav-drawer .prefs { gap: 8px; flex-wrap: wrap; }
.nav-drawer .pref-btn { border-color: var(--line); background: var(--paper); }
/* the full header is wider in some languages; app.js sets nav-compact when it does not fit, at any width */
body.nav-compact .main-nav, body.nav-compact .desk-prefs, body.nav-compact .header-cta { display: none; }
body.nav-compact .burger { display: inline-flex; }

/* hero */
.hero { position: relative; min-height: max(100svh, 720px); color: var(--haze); overflow: hidden; background: var(--night); isolation: isolate; }
.scene { position: absolute; inset: 0; z-index: -1; }
.scene-svg { width: 100%; height: 100%; --p: .3; }
.sky-top { stop-color: color-mix(in oklab, #07111a calc(var(--p) * 100%), #1f3f52); }
.sky-mid { stop-color: color-mix(in oklab, #13293a calc(var(--p) * 100%), #3d5f6d); }
.sky-low { stop-color: color-mix(in oklab, #3a3a48 calc(var(--p) * 100%), #a9765a); }
.scene .stars { opacity: clamp(0, calc((var(--p) - .35) * 1.8), 1); transition: opacity .3s; }
.scene .glow { opacity: calc(.45 + var(--p) * .5); }
.scene .layer { transition: transform .35s var(--ease); }
.scene .layer.far { transform: translateY(calc(var(--p) * 70px)); }
.scene .layer.mid { transform: translateY(calc(var(--p) * 150px)); }
.scene .layer.sea { transform: translateY(calc(var(--p) * 190px)); }
.scene .layer.near { transform: translateY(calc(var(--p) * 330px)); }
.scene .haze { opacity: calc(.16 - var(--p) * .16); mix-blend-mode: screen; pointer-events: none; }
.scene .twinkle rect:nth-child(3n) { animation: twinkle 4.5s ease-in-out infinite; }
.scene .twinkle rect:nth-child(5n) { animation: twinkle 6s ease-in-out 1s infinite; }
@keyframes twinkle { 50% { opacity: .25; } }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 17, 26, .72) 0%, rgba(7, 17, 26, .35) 48%, rgba(7, 17, 26, 0) 70%); pointer-events: none; }
[dir=rtl] .hero::after { background: linear-gradient(270deg, rgba(7, 17, 26, .72) 0%, rgba(7, 17, 26, .35) 48%, rgba(7, 17, 26, 0) 70%); }
.hero-inner { min-height: max(100svh, 720px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; padding-top: calc(var(--header-h) + 32px); padding-bottom: 56px; }
.hero-title { font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: .98; font-weight: 500; margin-bottom: .32em; }
:lang(ar) .hero-title { line-height: 1.25; }
.hero-sub { font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 46ch; color: rgba(233, 238, 240, .86); }
.glass { background: rgba(19, 41, 58, .55); border: 1px solid rgba(233, 238, 240, .16); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
.search-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 2px; padding: 8px; border-radius: 22px; margin-top: 28px; max-width: 860px; }
.sf-cell { display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; border-radius: 14px; cursor: pointer; }
.sf-cell:hover, .sf-cell:focus-within { background: rgba(233, 238, 240, .08); }
.sf-l { font: 500 .66rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--brass-2); }
.sf-cell select { appearance: none; background: transparent; border: 0; color: var(--haze); font-weight: 600; padding: 2px 0; cursor: pointer; width: 100%; }
.sf-cell select option { color: var(--ink); }
.sf-cell select:focus-visible { outline: none; }
.sf-cell:focus-within { outline: 2px solid var(--brass); }
.sf-go { align-self: stretch; min-height: 56px; border-radius: 16px; }

/* tower */
.hero-tower { display: flex; align-items: center; gap: 22px; }
.tower { position: relative; height: min(62vh, 540px); width: 92px; display: flex; justify-content: center; touch-action: none; cursor: ns-resize; border-radius: 40px; }
.tower-cap { position: absolute; top: -18px; left: 50%; width: 2px; height: 22px; background: rgba(233, 238, 240, .6); transform: translateX(-50%); }
.tower-track { position: relative; width: 46px; height: 100%; border-radius: 30px 30px 6px 6px; background: linear-gradient(180deg, rgba(233, 238, 240, .14), rgba(233, 238, 240, .05)); border: 1px solid rgba(233, 238, 240, .25); overflow: visible; }
.tower-track::before { content: ''; position: absolute; inset: 10px 9px; background: repeating-linear-gradient(0deg, rgba(233, 238, 240, .18) 0 1px, transparent 1px 12px); border-radius: 20px 20px 2px 2px; }
.tower-fill { position: absolute; inset-inline: 0; bottom: 0; border-radius: 0 0 6px 6px; background: linear-gradient(0deg, rgba(200, 155, 78, .55), rgba(200, 155, 78, .08)); transition: height .2s var(--ease); }
.tower-thumb { position: absolute; left: 50%; transform: translate(-50%, 50%); bottom: 30%; min-width: 64px; height: 36px; border-radius: 999px; background: var(--brass); color: var(--night); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(200, 155, 78, .45), 0 0 0 4px rgba(12, 26, 36, .35); transition: bottom .2s var(--ease); }
.tower.dragging .tower-thumb, .tower.dragging .tower-fill { transition: none; }
.tower-thumb-n { font-size: 1.05rem; font-weight: 500; }
.tower-ticks { position: absolute; inset-block: 0; inset-inline-start: -46px; width: 40px; }
.tick { position: absolute; inset-inline-end: 0; transform: translateY(50%); font-size: .7rem; color: rgba(233, 238, 240, .62); }
.tower-label { position: absolute; bottom: -30px; font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: var(--brass-2); }
.tower:focus-visible { outline-offset: 8px; }
.band { width: 280px; border-radius: 22px; padding: 22px; }
.band-count { font-family: var(--display); font-size: 1.5rem; line-height: 1.15; margin-bottom: .3em; }
.band-from { font: 500 1.05rem var(--mono); color: var(--brass-2); }
.band-views { color: rgba(233, 238, 240, .78); font-size: .92rem; min-height: 1.6em; }
.band-cta { width: 100%; margin-top: 8px; }

/* cards */
.grid.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.grid.cards.three { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 10px 10px 18px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(12, 26, 36, .06), 0 22px 44px -18px rgba(12, 26, 36, .35); }
.card.flash { box-shadow: 0 0 0 3px var(--brass), var(--shadow); }
.arch { border-radius: var(--arch); overflow: hidden; }
.card-media { position: relative; aspect-ratio: 4 / 4.3; background: var(--night-3); }
.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; bottom: 12px; inset-inline-start: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font: 600 .72rem/1.3 var(--body); background: rgba(247, 249, 250, .94); color: var(--ink); }
.badge.offplan { background: var(--night); color: var(--brass-2); }
.badge.ready { background: rgba(247, 249, 250, .94); }
.badge.ok { color: var(--ok); }
.badge.inline { margin-inline-start: 10px; vertical-align: middle; background: var(--white); border: 1px solid var(--line-2); }
.card-actions { position: absolute; top: 50px; inset-inline-end: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.card-actions .icon-btn { background: rgba(247, 249, 250, .92); backdrop-filter: blur(6px); }
.card-actions .icon-btn:hover { background: var(--white); }
.card-floor { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--haze); background: rgba(12, 26, 36, .55); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.card-body { padding: 16px 8px 0; }
.card-price { font-family: var(--display); font-size: 1.5rem; margin: 0 0 .1em; letter-spacing: -0.01em; }
:lang(ar) .card-price { font-family: var(--mono); font-size: 1.25rem; }
.card-title { font: 700 1rem/1.35 var(--body); margin: 0 0 .25em; }
.card-title a { text-decoration: none; }
.stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-lg); }
.card-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin-bottom: .7em; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line-2); font-size: .86rem; color: var(--muted); }
.card-meta li { display: inline-flex; align-items: center; gap: 5px; }
.card-plan { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 12px 0 0; font-size: .82rem; font-weight: 600; }
.plan-pill { background: var(--haze); border-radius: 999px; padding: 3px 10px; color: var(--lagoon); white-space: nowrap; }

/* home blocks */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.way { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; padding: 18px; background: var(--paper); border-radius: var(--r-lg); text-decoration: none; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.way:hover { transform: translateY(-3px); }
.way-media { aspect-ratio: 3 / 4; }
.way-media img { width: 100%; height: 100%; object-fit: cover; }
.way h3 { font-size: 1.8rem; }
.way-from { font: 500 1.05rem var(--mono); color: var(--brass-ink); }
.band-dark { background: var(--night) var(--lattice); color: var(--haze); }
.band-dark .lede, .band-dark .muted { color: rgba(233, 238, 240, .74); }
.launch-row, .launch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.launch { background: var(--night-2); border: 1px solid rgba(233, 238, 240, .1); border-radius: var(--r-lg); padding: 12px 12px 20px; color: var(--haze); }
.page-off .launch { background: var(--night); }
.launch-media { position: relative; aspect-ratio: 16 / 12; }
.launch-media img { width: 100%; height: 100%; object-fit: cover; }
.launch-media .badge { position: absolute; bottom: 12px; inset-inline-start: 12px; }
.launch-body { padding: 16px 8px 0; }
.launch h3 { font-size: 1.7rem; }
.launch-from { font-family: var(--mono); color: var(--brass-2); font-size: .95rem; }
.launch .muted { color: rgba(233, 238, 240, .7); }
.mini-plan { display: flex; gap: 3px; height: 30px; margin: 14px 0 10px; border-radius: 8px; overflow: hidden; }
.mini-plan span { display: grid; place-items: center; font: 500 .74rem var(--mono); color: var(--night); }
.seg-booking { background: var(--brass); }
.seg-construction { background: var(--dune); }
.seg-handover { background: #9cc3c4; }
.seg-postHandover { background: #7fa7b8; }
.launch .btn { border-color: rgba(233, 238, 240, .35); color: var(--haze); }
.launch .btn:hover { background: var(--haze); color: var(--night); }
.launch .btn.ghost { background: transparent; }
.where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; }
.area-list { list-style: none; margin: 0; padding: 0; }
.area-head { display: grid; grid-template-columns: 1.6fr 1fr .7fr .5fr; gap: 12px; padding: 0 14px 10px; font: 500 .68rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.area-row { display: grid; grid-template-columns: 1.6fr 1fr .7fr .5fr; gap: 12px; align-items: baseline; padding: 16px 14px; border-top: 1px solid var(--line); text-decoration: none; border-radius: 10px; transition: background .2s; }
.area-row:hover, .area-row:focus-visible { background: var(--paper); }
.area-name { font-family: var(--display); font-size: 1.35rem; }
.area-num { font-size: .92rem; }
.area-num small { color: var(--muted); }
.area-map { min-height: 460px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.tool-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tool-tile { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 22px; min-height: 160px; background: var(--paper); border-radius: var(--r-lg); text-decoration: none; font: 700 1.05rem/1.3 var(--body); box-shadow: var(--shadow); transition: background .25s, color .25s, transform .25s var(--ease); }
.tool-tile > .i:first-child { color: var(--lagoon); }
.tool-tile:hover { background: var(--night); color: var(--haze); transform: translateY(-3px); }
.tool-tile:hover > .i:first-child { color: var(--brass); }
.tt-arrow { margin-top: auto; }
.gv-band { background: var(--lagoon) var(--lattice); color: var(--haze); padding-block: 64px; }
.gv-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.gv-inner p { max-width: 60ch; color: rgba(233, 238, 240, .85); }
.talk { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); }

/* page heads */
.page-head { padding-top: 48px; padding-bottom: 28px; }
.page-head.band-dark { padding-block: 64px; }
.head-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.head-tools select { min-height: 46px; border-radius: 999px; padding: 0 16px; border: 1px solid var(--line); background: var(--paper); }
.band-dark .head-tools select { background: var(--night-2); color: var(--haze); border-color: rgba(233, 238, 240, .3); }

/* buy */
.buy-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; padding-top: 36px; padding-bottom: 12px; }
.buy-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: .1em; }
.results-count { font: 500 .9rem var(--mono); color: var(--muted); margin: 0; }
.buy-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.sort { min-height: 46px; border-radius: 999px; padding: 0 16px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; }
.filters-btn, .mode-btn { display: none; }
.fbadge:not(:empty) { background: var(--brass); color: var(--night); border-radius: 999px; padding: 0 7px; font: 600 .72rem/18px var(--mono); }
.chips-row { min-height: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 16px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; font-size: .86rem; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--night); }
.buy-body { display: grid; grid-template-columns: 260px minmax(0, 1.35fr) minmax(0, .85fr); gap: 22px; align-items: start; padding-bottom: 72px; }
.buy-results .grid.cards, .results { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.filter-aside { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; background: var(--paper); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.filters-head h2 { font-size: 1.3rem; margin: 0; }
.drawer-x, .drawer-go { display: none; }
.kw-wrap { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; background: var(--white); margin-bottom: 8px; }
.kw { border: 0; background: transparent; min-height: 42px; width: 100%; }
.kw:focus-visible { outline: none; }
.kw-wrap:focus-within { outline: 2px solid var(--brass); }
.fgroup { border: 0; border-top: 1px solid var(--line-2); margin: 0; padding: 14px 0 6px; }
.fgroup legend { font: 500 .7rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.fgroup legend + * { clear: both; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
.check-grid.one { grid-template-columns: 1fr; }
.chk { display: flex; align-items: center; gap: 8px; font-size: .88rem; padding: 4px 0; cursor: pointer; }
.chk input, .switch input, .check-line input { accent-color: var(--lagoon); width: 18px; height: 18px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pair select, .num-in, .fgroup > select { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; background: var(--white); }
.seg { display: inline-flex; padding: 3px; background: var(--haze); border-radius: 999px; gap: 2px; }
.seg.wrap-seg { display: flex; flex-wrap: wrap; border-radius: 16px; }
.seg-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 600; font-size: .86rem; }
.seg-btn.on { background: var(--night); color: var(--haze); }
.toggles { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.switch, .check-line { display: flex; align-items: center; gap: 10px; font-size: .9rem; cursor: pointer; }
.results { align-content: start; }
.show-more { margin-top: 24px; }
.map-col { position: sticky; top: calc(var(--header-h) + 16px); }
.results-map { height: calc(100vh - var(--header-h) - 80px); min-height: 420px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.move-search { display: flex; align-items: center; gap: 8px; font-size: .88rem; margin-top: 10px; }
.move-search input { accent-color: var(--lagoon); }
.empty { padding: 32px 0; }
.empty-line { color: var(--muted); padding: 18px 0; }
.drawer-scrim { display: none; }

/* map pins */
.pin-wrap { background: none; border: 0; }
.pin { display: inline-block; transform: translate(-50%, -100%); padding: 5px 10px; border-radius: 999px; background: var(--night); color: var(--haze); font: 500 .76rem/1.2 var(--mono); white-space: nowrap; box-shadow: 0 6px 16px rgba(12, 26, 36, .35); border: 2px solid var(--haze); transition: background .2s, color .2s, transform .2s; cursor: pointer; }
.pin.on, .pin:hover { background: var(--brass); color: var(--night); transform: translate(-50%, -100%) scale(1.08); }
.pin.area-pin { font-family: var(--body); font-weight: 700; }
.leaflet-container { font: inherit; background: #dfe6ea; }
.leaflet-tile-pane { filter: grayscale(.82) sepia(.12) hue-rotate(160deg) saturate(.9) brightness(1.04) contrast(.94); }
.map-off { padding: 24px; color: var(--muted); }

/* property */
.crumbs { display: flex; gap: 8px; align-items: center; padding-top: 22px; padding-bottom: 14px; font-size: .88rem; color: var(--muted); flex-wrap: wrap; }
.crumbs a { text-decoration: none; font-weight: 600; color: var(--ink); }
.gallery { display: grid; gap: 10px; }
.g-top { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 10px; height: clamp(320px, 56vh, 560px); }
.g-main { position: relative; border-radius: 160px 160px 16px 16px / 120px 120px 16px 16px; overflow: hidden; background: var(--night-3); height: 100%; }
.g-side { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.g-side-img { padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--night-3); }
.g-side-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.g-side-img:hover img { transform: scale(1.04); }
.g-main > img { width: 100%; height: 100%; object-fit: cover; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(247, 249, 250, .92); }
.g-nav:hover { background: var(--white); }
.g-nav.prev { inset-inline-start: 14px; }
.g-nav.next { inset-inline-end: 14px; }
.g-all { position: absolute; bottom: 14px; inset-inline-end: 14px; background: rgba(247, 249, 250, .94); border-color: transparent; }
.g-count { position: absolute; bottom: 18px; inset-inline-start: 18px; color: #fff; background: rgba(12, 26, 36, .6); padding: 3px 10px; border-radius: 999px; font-size: .8rem; }
.g-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.g-thumb { flex: 0 0 auto; width: 110px; aspect-ratio: 16 / 11; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; opacity: .7; transition: opacity .2s, border-color .2s; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb.on, .g-thumb:hover { opacity: 1; border-color: var(--brass); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding-top: 28px; }
/* grid items may not grow to their widest child (a payment-plan table pushed the Arabic phone layout 20px sideways) */
.detail > *, .buy-body > *, .where > *, .area-detail > *, .contact-grid > *, .calc > *, .hero-inner > * { min-width: 0; }
.detail-head h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.h1-sub { display: block; font: 500 1.05rem/1.4 var(--body); color: var(--muted); margin-top: .35em; letter-spacing: 0; }
.detail-price { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.8rem); margin: .2em 0; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
:lang(ar) .detail-price { font-family: var(--mono); }
.psf { font: 500 .95rem var(--mono); color: var(--muted); }
.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
.block { padding: 28px 0; border-top: 1px solid var(--line); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.fact { padding: 14px 16px; border-bottom: 1px solid var(--line-2); border-inline-end: 1px solid var(--line-2); }
.fact dt { font: 500 .68rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.fact dd { margin: 4px 0 0; font-weight: 600; }
.about { font-size: 1.06rem; max-width: 70ch; }
.height-block { display: flex; align-items: center; gap: 24px; }
.floor-big { font-size: 1.4rem; margin-bottom: .2em; }
.amen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.amen li { display: flex; align-items: center; gap: 8px; }
.amen .i { color: var(--lagoon); }
.plan-name { font-size: 1.1rem; color: var(--brass-ink); }
.plan-bar { display: flex; gap: 4px; margin: 18px 0; border-radius: 14px; overflow: hidden; min-height: 66px; }
.plan-bar span { display: flex; flex-direction: column; justify-content: center; padding: 8px 12px; color: var(--night); min-width: 0; }
.plan-bar b { font: 500 1.2rem var(--mono); }
.plan-bar small { font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress { margin-top: 10px; }
.progress-bar { height: 8px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--lagoon), var(--lagoon-2)); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
thead th { font: 500 .68rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.sched td.num { font-weight: 600; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 16px 0 20px; overflow-x: auto; }
.tabs [role=tab] { padding: 12px 16px; border: 0; background: none; cursor: pointer; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; text-decoration: none; white-space: nowrap; }
.tabs [role=tab][aria-selected=true] { color: var(--ink); border-color: var(--brass); }
.tabs.big [role=tab] { font-size: 1.02rem; padding: 14px 20px; }
.detail-map { height: 340px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 16px; }
.detail-map.tall { height: 420px; }
.nearby { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nearby li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.agent-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.agent { display: flex; gap: 14px; align-items: center; }
.agent p { margin: 0; }
.avatar { display: grid; place-items: center; width: 58px; height: 58px; flex-shrink: 0; border-radius: 50% 50% 14px 14px; background: var(--night); color: var(--brass-2); font: 500 1.1rem var(--mono); }
.agent-name { font-weight: 700; font-size: 1.05rem; }
.enquire summary { cursor: pointer; font-weight: 700; padding: 10px 0; color: var(--brass-ink); }
.mobile-cta { display: none; }

/* calculators */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.calc-in { display: grid; gap: 18px; }
.calc-side { background: var(--night); color: var(--haze); border-radius: var(--r-lg); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); }
.page-property .calc-side { position: static; }
.calc-out { display: grid; gap: 10px; }
.calc-out > *, .calc-side { min-width: 0; }
.stat-v { text-align: end; }
.stat { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(233, 238, 240, .12); }
.stat-l { color: rgba(233, 238, 240, .75); font-size: .9rem; }
.stat-v { font: 500 1.05rem var(--mono); }
.stat.big { flex-direction: column; align-items: flex-start; gap: 2px; border: 0; }
.stat.big .stat-v { font-family: var(--display); font-size: 2.2rem; color: var(--brass-2); line-height: 1.1; }
:lang(ar) .stat.big .stat-v { font-family: var(--mono); }
.stat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-note { font-size: .86rem; color: rgba(233, 238, 240, .8); margin-top: 10px; }
.calc-side .fine { color: rgba(233, 238, 240, .6); }
.calc-side .label { color: var(--brass-2); margin-top: 10px; }
.calc-side .btn.primary { margin-top: 10px; }
.cost-table td { border-color: rgba(233, 238, 240, .12); padding: 8px 0; color: rgba(233, 238, 240, .88); }
.proj th, .proj td { border-color: rgba(233, 238, 240, .12); padding: 7px 6px; }
.proj th { color: rgba(233, 238, 240, .6); }
.slider { display: grid; gap: 8px; }
.slider-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.slider-top label { font-weight: 600; font-size: .95rem; }
.slider-top output { color: var(--brass-ink); font-size: .95rem; }
.slider-inputs { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: center; }
.num-box { min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: var(--white); width: 100%; }
input[type=range] { accent-color: var(--brass); width: 100%; height: 28px; }
.field { display: grid; gap: 6px; }
.field > label, .flabel { font-weight: 600; font-size: .92rem; }
.field select, .field input:not([type=checkbox]), .field textarea { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--white); }
.field textarea { min-height: 90px; resize: vertical; }
.field.invalid input, .field.invalid textarea, .field.invalid .phone-row { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.err { color: #b3261e; font-size: .84rem; margin: 0; min-height: 0; }
.err:empty { display: none; }
.hint { font-size: .82rem; color: var(--muted); margin: 0; }
.field.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.field.check input { margin-top: 3px; accent-color: var(--lagoon); width: 18px; height: 18px; flex-shrink: 0; }
.phone-row { display: grid; grid-template-columns: 96px 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
.phone-row select, .phone-row input { border: 0 !important; border-radius: 0 !important; min-height: 44px; box-shadow: none !important; }
.phone-row select { border-inline-end: 1px solid var(--line) !important; background: var(--haze); }
[dir=rtl] .phone-row input { direction: ltr; text-align: end; }
.contact-fields { display: grid; gap: 14px; margin: 14px 0; }
.form-status { font-size: .88rem; color: #b3261e; margin-top: 8px; }
.form-status:empty { display: none; }
.done { text-align: center; padding: 18px 6px; display: grid; gap: 14px; justify-items: center; }
.done-mark { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ok); color: #fff; }
.done-text { font-size: 1.05rem; max-width: 46ch; }
.gv-meter { position: relative; height: 14px; border-radius: 999px; background: rgba(233, 238, 240, .15); margin: 30px 0 34px; }
.gv-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--lagoon-2), var(--brass)); transition: width .25s var(--ease); }
.gv-mark { position: absolute; top: 20px; font: 500 .7rem var(--mono); color: rgba(233, 238, 240, .7); transform: translateX(-50%); }
.gv-mark::before { content: ''; position: absolute; top: -22px; left: 50%; width: 2px; height: 18px; background: var(--haze); }
.gv-mark.m1 { left: 25%; }
.gv-mark.m2 { left: 66.6%; }
[dir=rtl] .gv-meter { transform: scaleX(-1); }
[dir=rtl] .gv-mark { transform: translateX(-50%) scaleX(-1); }
.gv-result { font-family: var(--display); font-size: 1.5rem; line-height: 1.25; }
.gv-result.golden { color: var(--brass-2); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7, 17, 26, .62); opacity: 0; transition: opacity .2s; }
.modal-box { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--paper); border-radius: var(--r-lg); padding: 22px 24px 26px; box-shadow: 0 30px 80px rgba(7, 17, 26, .4); transform: translateY(16px); opacity: 0; transition: transform .25s var(--ease), opacity .2s; }
.modal-box.wide { width: min(1100px, 100%); }
.modal.open .modal-backdrop { opacity: 1; }
.modal.open .modal-box { transform: none; opacity: 1; }
.modal.closing .modal-box { opacity: 0; transform: translateY(8px); transition-duration: .15s; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.modal-title { font-size: 1.6rem; margin: 0; }
.modal.lb .modal-box { background: var(--night); color: var(--haze); }
.lightbox { position: relative; }
.lightbox img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: 14px; }
.lb-cap { text-align: center; margin-top: 10px; color: rgba(233, 238, 240, .7); }
.booking .label { margin-top: 16px; }
.day-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.day { flex: 0 0 auto; display: grid; justify-items: center; width: 64px; padding: 8px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--white); cursor: pointer; }
.day .dw { font: 500 .66rem var(--mono); text-transform: uppercase; color: var(--muted); }
.day .dd { font: 500 1.3rem var(--mono); }
.day .dm { font-size: .72rem; color: var(--muted); }
.day.on { background: var(--night); border-color: var(--night); color: var(--haze); }
.day.on .dw, .day.on .dm { color: var(--brass-2); }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.slot { min-height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; font: 500 .9rem var(--mono); }
.slot.on { background: var(--brass); border-color: var(--brass); color: var(--night); }
.slot[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.booking .seg { margin-top: 12px; }

/* areas */
.area-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; padding-bottom: 80px; }
.area-card { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: var(--r-lg); padding: 10px; text-decoration: none; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.area-card:hover { transform: translateY(-4px); }
.area-card-media { aspect-ratio: 16 / 10; }
.area-card-media img { width: 100%; height: 100%; object-fit: cover; }
.area-card-body { padding: 18px 10px 8px; }
.area-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.area-stats.big { grid-template-columns: repeat(2, 1fr); }
.area-stats dt { font: 500 .66rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.area-stats dd { margin: 2px 0 0; font-size: 1.02rem; }
.area-hero { position: relative; min-height: 460px; display: grid; align-items: end; color: var(--haze); overflow: hidden; }
.area-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.area-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 17, 26, .85), rgba(7, 17, 26, .1) 70%); }
.area-hero-copy { position: relative; z-index: 1; padding-bottom: 40px; }
.area-hero .lede { color: rgba(233, 238, 240, .88); }
.area-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; padding-top: 40px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.tags li { padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); font-weight: 600; font-size: .88rem; }

/* compare, saved, leads, credits */
table.compare th[scope=col] { vertical-align: bottom; min-width: 200px; }
table.compare th[scope=col] img { border-radius: 60px 60px 10px 10px; width: 100%; height: 130px; object-fit: cover; margin-bottom: 8px; }
table.compare th[scope=col] a { display: block; font: 700 1rem var(--body); text-transform: none; letter-spacing: 0; color: var(--ink); }
table.compare th[scope=row] { font: 500 .7rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
td.best { background: rgba(200, 155, 78, .12); font-weight: 700; }
.best-tag { display: inline-block; margin-inline-start: 8px; font: 600 .66rem var(--mono); text-transform: uppercase; color: var(--brass-ink); }
.search-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.search-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); flex-wrap: wrap; }
.search-item p { margin: 0; }
.si-label { font-weight: 700; }
.si-new { color: var(--ok); font-weight: 700; font-size: .88rem; display: flex; align-items: center; gap: 6px; }
.leads td { font-size: .9rem; }
.leads select { min-height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); padding: 0 8px; }
.kind { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 600 .72rem var(--body); background: var(--haze); }
.kind-viewing { background: var(--night); color: var(--brass-2); }
.kind-valuation { background: var(--dune); }
.kind-interest { background: #cfe2e3; }
.seg .count { opacity: .7; font-family: var(--mono); font-size: .78rem; }
.credit-list { list-style: none; padding: 0; margin: 0 0 80px; display: grid; gap: 10px; }
.credit-list li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; background: var(--paper); padding: 10px; border-radius: 14px; }
.credit-list img { border-radius: 10px; width: 120px; height: 80px; object-fit: cover; }
.credit-list a { font-weight: 600; word-break: break-word; }
.estimate { background: var(--night); color: var(--haze); border-radius: var(--r-lg); padding: 22px; margin: 22px 0; }
.estimate .label { color: var(--brass-2); }
.est-range { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .2em; }
.estimate .muted { color: rgba(233, 238, 240, .65); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sell-form { padding-bottom: 80px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; padding-bottom: 80px; }
.contact-side { display: grid; gap: 12px; align-content: start; }
.contact-side p { display: flex; gap: 8px; align-items: center; margin: 0; }
.page-404 { padding-block: 120px; }
.nf-code { font-size: 4rem; color: var(--brass-ink); margin: 0; }

/* footer, tray, fab, toast */
.site-footer { background: var(--night) var(--lattice); color: var(--haze); padding-top: 64px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; opacity: .88; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer .label { color: var(--brass-2); }
.site-footer .muted { color: rgba(233, 238, 240, .66); }
.footer-fine { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(233, 238, 240, .14); padding-block: 22px; font-size: .82rem; color: rgba(233, 238, 240, .66); }
.footer-fine p { margin: 0; max-width: 90ch; }
.compare-tray { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 45; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; border-radius: 999px; background: var(--night); color: var(--haze); box-shadow: 0 16px 40px rgba(7, 17, 26, .4); }
.tray-thumbs { display: flex; }
.tray-thumbs img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--night); margin-inline-end: -10px; }
.tray-thumbs { margin-inline-end: 8px; }
.wa-fab { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 44; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 14px 30px rgba(18, 125, 93, .45); transition: transform .2s var(--ease); }
.wa-fab:hover { transform: scale(1.06); }
.toast { position: fixed; bottom: 92px; left: 50%; transform: translate(-50%, 20px); z-index: 95; max-width: min(520px, calc(100% - 32px)); padding: 12px 18px; border-radius: 14px; background: var(--night); color: var(--haze); font-weight: 600; font-size: .92rem; box-shadow: 0 14px 40px rgba(7, 17, 26, .35); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.warn { background: var(--warn); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .buy-body { grid-template-columns: 260px minmax(0, 1fr); }
  .map-col { display: none; }
  .mode-btn { display: inline-flex; }
  .page-buy.show-map .map-col { display: block; position: static; grid-column: 2; grid-row: 1; }
  .page-buy.show-map .buy-results { display: none; }
  .tool-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .main-nav, .desk-prefs, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-top: calc(var(--header-h) + 20px); }
  .hero-tower { justify-content: flex-start; }
  .tower { height: 300px; }
  .buy-body { grid-template-columns: minmax(0, 1fr); }
  .filters-btn { display: inline-flex; }
  .filter-aside { position: fixed; inset: 0 0 0 auto; width: min(400px, 100%); max-height: none; z-index: 70; border-radius: 0; transform: translateX(100%); transition: transform .3s var(--ease); padding-bottom: 90px; }
  [dir=rtl] .filter-aside { inset: 0 auto 0 0; transform: translateX(-100%); }
  .page-buy.drawer-open .filter-aside { transform: none; }
  .page-buy.drawer-open .drawer-scrim { display: block; position: fixed; inset: 0; background: rgba(7, 17, 26, .5); z-index: 65; }
  .drawer-x { display: inline-flex; }
  .drawer-go { display: flex; position: sticky; bottom: 0; margin-top: 16px; }
  .page-buy.show-map .map-col { grid-column: 1; }
  .detail { grid-template-columns: 1fr; }
  .agent-card { position: static; }
  .where, .area-detail, .contact-grid, .calc { grid-template-columns: 1fr; }
  .calc-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ways { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 62px; }
  .wrap { padding-inline: 16px; }
  .brand-word { font-size: 1.2rem; }
  .header-inner { gap: 12px; }
  .header-right { gap: 2px; }
  .proto-chip { display: none; }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; padding-bottom: 36px; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .sf-go { grid-column: 1 / -1; min-height: 50px; }
  .hero-tower { gap: 14px; padding-inline-start: 40px; }
  .tower { width: 74px; height: 260px; }
  .tower-ticks { inset-inline-start: -38px; }
  .band { width: auto; flex: 1; padding: 16px; }
  .band-count { font-size: 1.2rem; }
  .way { grid-template-columns: 110px 1fr; padding: 12px; gap: 14px; }
  .way h3 { font-size: 1.35rem; }
  .area-head { display: none; }
  .area-row { grid-template-columns: 1fr auto auto; }
  .area-row .area-num:last-child { display: none; }
  .area-map { min-height: 320px; }
  .tool-tiles { grid-template-columns: 1fr 1fr; }
  .tool-tile { min-height: 120px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .g-top { grid-template-columns: 1fr; height: auto; }
  .g-side { display: none; }
  .g-main { aspect-ratio: 4 / 3.2; height: auto; border-radius: 90px 90px 12px 12px / 70px 70px 12px 12px; }
  .g-all span, .g-all { font-size: .78rem; }
  .detail-actions .with-text span { display: none; }
  .detail-actions .with-text { padding: 0 12px; }
  .mobile-cta { display: grid; grid-template-columns: auto 1fr; gap: 8px; position: fixed; inset-inline: 0; bottom: 0; z-index: 46; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(247, 249, 250, .96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
  .page-property ~ .wa-fab, body:has(.page-property) .wa-fab { display: none; }
  body:has(.page-property) .compare-tray { bottom: 82px; }
  .page-property { padding-bottom: 70px; }
  .slider-inputs { grid-template-columns: 1fr 96px; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .area-cards { grid-template-columns: 1fr; }
  .stat.big .stat-v { font-size: 1.8rem; }
  .buy-tools { width: 100%; }
  .buy-tools .btn span { display: none; }
  .buy-tools > * { flex: 1 1 auto; }
  .credit-list li { grid-template-columns: 80px 1fr; }
  .credit-list img { width: 80px; height: 56px; }
  .compare-tray { inset-inline: 16px; left: 16px; transform: none; justify-content: space-between; }
  .wa-fab { bottom: 16px; inset-inline-end: 16px; width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* brochure (Print / Save as PDF on a property page) */
@media print {
  .site-header, .site-footer, .wa-fab, .compare-tray, .mobile-cta, .no-print, .g-nav, .g-all, .g-thumbs, .detail-actions, .agent-card .btn, .agent-card details, .crumbs, .detail-map, .toast { display: none !important; }
  body { background: #fff; }
  .detail { grid-template-columns: 1fr; }
  .g-main { aspect-ratio: 16 / 7; }
  .block { break-inside: avoid; }
  .card, .facts, .agent-card { box-shadow: none; }
}
