/* SUL Real Estates — "Signature" design: deep navy, logo gold, editorial serif. */
@font-face { font-family: 'Fraunces'; src: url(fonts/FrauncesSOFT-WONK-opsz-wght.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Onest'; src: url(fonts/Onestwght.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Kufi'; src: url(fonts/NotoKufiArabicwght.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url(fonts/IBMPlexSansArabic-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url(fonts/IBMPlexSansArabic-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url(fonts/IBMPlexSansArabic-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --ink: #0A1530; --ink-2: #111F44; --ink-3: #182a57;
  --gold: #D9AE54; --gold-2: #F0D79B; --mist: #9AA6C2; --text: #EDEFF5; --soft: #C9CFDD;
  --line: rgba(217, 174, 84, .25); --line-2: rgba(255, 255, 255, .08);
  --display: 'Fraunces', Georgia, serif; --body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --dw: 300; --r: 18px; --gutter: clamp(18px, 4vw, 56px);
}
:lang(ar) { --display: 'Kufi', 'Plex Arabic', system-ui, sans-serif; --body: 'Plex Arabic', system-ui, sans-serif; --dw: 600; }
/* Arabic: calmer heading weight, more line height, and prices in the clean sans font. */
:lang(ar) body { line-height: 1.85; }
:lang(ar) .pr b, :lang(ar) .panel-price, :lang(ar) .pfacts b, :lang(ar) .phone, :lang(ar) .sticky-cta span { font-family: 'Plex Arabic', system-ui, sans-serif; font-weight: 700; }
:lang(ar) .revs blockquote { font-family: 'Plex Arabic', system-ui, sans-serif; font-size: 1.05rem; }
:lang(ar) .card h3 { line-height: 1.6; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 .4em; font-family: var(--display); font-weight: var(--dw); line-height: 1.08; letter-spacing: -.015em; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; line-height: 1.55; }
:lang(ar) h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
:lang(ar) .prop h1 { font-size: clamp(1.6rem, 4vw, 2.8rem); }
:lang(ar) .cat h3 { font-size: 1.5rem; }
:lang(ar) .whys h3 { font-size: 1.3rem; }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1280px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1.1em; height: 1.1em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 99; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { inset-inline-start: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 1px solid transparent; font: 700 .98rem/1 var(--body); cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn-sm { min-height: 42px; padding: .55em 1.1em; font-size: .9rem; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-line { border-color: var(--line); color: var(--gold-2); }
.btn-line:hover { border-color: var(--gold); background: rgba(217,174,84,.08); }
.btn-icon { width: 48px; padding: 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(10,21,48,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-2); }
.over-hero .top { position: fixed; inset-inline: 0; background: linear-gradient(rgba(10,21,48,.75), rgba(10,21,48,0)); border-color: transparent; backdrop-filter: none; transition: background-color .25s; }
.over-hero .top.solid { background: rgba(10,21,48,.94); backdrop-filter: blur(12px); border-color: var(--line-2); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; gap: 26px; margin-inline-start: auto; font-size: .92rem; }
.nav a, .nav-m a { color: #D7DCE8; }
.nav a:hover, .nav a[aria-current] { color: var(--gold-2); }
.nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; }
.tools { display: flex; align-items: center; gap: 8px; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.langs { position: relative; }
.langs summary { display: flex; align-items: center; gap: 6px; padding: 9px 11px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #D7DCE8; }
.langs summary:hover { background: var(--line-2); }
.langs ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 180px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.langs a { display: block; padding: 9px 12px; border-radius: 9px; }
.langs a:hover, .langs a[aria-current] { background: var(--ink-3); color: var(--gold-2); }
.burger { display: none; }
.burger summary { padding: 8px; border-radius: 10px; }
.burger summary .i { width: 26px; height: 26px; }
.nav-m { position: absolute; inset-inline: 0; top: 100%; display: grid; padding: 8px var(--gutter) 18px; background: var(--ink); border-bottom: 1px solid var(--line); }
.nav-m a { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 1.05rem; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; background: var(--hero) center 60% / cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,21,48,.93), rgba(10,21,48,.55) 48%, rgba(10,21,48,.12)), linear-gradient(0deg, var(--ink), transparent 38%); }
:dir(rtl) .hero::before { background: linear-gradient(270deg, rgba(10,21,48,.93), rgba(10,21,48,.55) 48%, rgba(10,21,48,.12)), linear-gradient(0deg, var(--ink), transparent 38%); }
.hx { position: relative; padding-top: 140px; padding-bottom: 72px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold-2); font-size: .95rem; margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 44px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(3.2rem, 8.4vw, 7.2rem); line-height: .95; margin-bottom: 24px; max-width: 11ch; }
:lang(ar) .hero h1 { line-height: 1.5; font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 14ch; }
.hero h1 i { display: block; color: var(--gold); font-style: italic; }
:lang(ar) .hero h1 i { font-style: normal; }
.sub { max-width: 46ch; color: var(--soft); font-size: clamp(1rem, 1.4vw, 1.15rem); margin-bottom: 40px; }

/* Search */
.search { max-width: 1040px; padding: 10px; border-radius: 22px; background: rgba(17,31,68,.72); backdrop-filter: blur(14px); border: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px 4px 12px; }
.tab input { position: absolute; opacity: 0; pointer-events: none; }
.tab span { display: block; padding: 10px 18px; border-radius: 999px; font-size: .9rem; color: var(--soft); cursor: pointer; }
.tab span:hover { color: #fff; }
.tab input:checked + span { background: var(--gold); color: var(--ink); font-weight: 700; }
.tab input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; background: #fff; border-radius: 16px; color: var(--ink); }
.fields label { display: grid; gap: 2px; padding: 12px 20px; border-inline-end: 1px solid #E7E9F0; }
.fields small { font-size: .75rem; color: #7A86A3; }
.fields select, .fields input { border: 0; padding: 0; background: transparent; font: 600 1rem var(--body); color: var(--ink); min-height: 28px; width: 100%; }
.fields select:focus, .fields input:focus { outline: none; }
.fields label:focus-within { background: #F5F7FB; }
.go { margin: 8px; border: 0; border-radius: 12px; background: var(--ink); color: var(--gold); font: 700 1rem var(--body); padding: 0 38px; cursor: pointer; }
.go:hover { background: var(--ink-3); }

/* Sections */
.sec { padding-block: clamp(56px, 8vw, 110px) 0; }
.sec-tight { padding-top: 32px; }
.h2 { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.h2 h2 { margin: 0; }
.more { color: var(--gold-2); border-bottom: 1px solid var(--gold); padding-bottom: 3px; font-size: .95rem; }

/* Deal categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat { position: relative; min-height: 380px; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: var(--ink-2); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat:hover img { transform: scale(1.05); }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 28%, rgba(10,21,48,.96)); }
.cat > :not(img) { position: relative; z-index: 1; }
.cat h3 { font-size: 1.9rem; margin-bottom: 6px; }
.cat p { color: var(--soft); font-size: .88rem; margin-bottom: 14px; }
.cat span { color: var(--gold); font-size: .88rem; font-weight: 600; border-top: 1px solid var(--line); padding-top: 12px; }
.cat-new { outline: 1px solid var(--gold); }
.cat em { position: absolute; top: 18px; inset-inline-start: 18px; background: var(--gold); color: var(--ink); font-style: normal; font-weight: 700; font-size: .75rem; padding: 6px 11px; border-radius: 999px; }

/* Listing cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(16px, 2.2vw, 26px); }
.card a { display: block; }
.ph { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--ink-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card a:hover .ph img { transform: scale(1.04); }
.card a:hover h3 { color: var(--gold-2); }
.bd { display: inline-block; background: rgba(10,21,48,.78); backdrop-filter: blur(6px); color: var(--gold-2); font-size: .75rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); }
.ph .bd { position: absolute; top: 14px; inset-inline-start: 14px; }
.status { position: absolute; top: 14px; inset-inline-end: 14px; background: #fff; color: var(--ink); font-size: .75rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; }
.badges .status { position: static; margin-inline-start: 8px; }
.is-off .ph img { filter: grayscale(.7) brightness(.8); }
.ph .pr { position: absolute; inset-inline: 0; bottom: 0; padding: 48px 18px 16px; background: linear-gradient(transparent, rgba(10,21,48,.92)); }
.pr b { font-family: var(--display); font-weight: 500; font-size: 1.6rem; color: var(--gold); }
:lang(ar) .pr b { font-weight: 700; }
.pr small { color: var(--soft); }
.card h3 { font-family: var(--body); font-weight: 600; font-size: 1.02rem; line-height: 1.35; margin: 16px 0 4px; letter-spacing: 0; transition: color .15s; }
.where { display: flex; align-items: center; gap: 6px; color: var(--mist); font-size: .85rem; margin: 0 0 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font-size: .85rem; color: var(--soft); }
.facts li { display: flex; align-items: center; gap: 6px; }
.facts .i { color: var(--gold); }

/* Project spotlight */
.proj { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 28px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
.proj img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }
.pj { padding: clamp(28px, 5vw, 56px); align-self: center; }
.tag { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .8rem; padding: 7px 12px; border-radius: 999px; margin-bottom: 18px; }
.pj h3 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 8px; }
.pj .w { color: var(--gold-2); }
.pj p { color: var(--soft); }
.pfacts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 30px; border-block: 1px solid var(--line); }
.pfacts div { padding: 18px 0; }
.pfacts b { display: block; font-family: var(--display); font-weight: var(--dw); font-size: 2rem; color: var(--gold); line-height: 1.2; }
.pfacts small { color: var(--mist); }

/* How we work, reviews, ads */
.whys { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.whys div { padding: 34px 34px 0 0; border-inline-end: 1px solid var(--line); }
:dir(rtl) .whys div { padding: 34px 0 0 34px; }
.whys div + div { padding-inline-start: 34px; }
.whys div:last-child { border: 0; }
.whys h3 { font-size: 1.7rem; margin-bottom: 10px; }
.whys p { color: var(--mist); margin: 0; }
.revs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.revs figure { margin: 0; padding: 30px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.revs blockquote { margin: 0; font-family: 'Fraunces', Georgia, serif; font-weight: 300; font-size: 1.15rem; line-height: 1.55; }
.revs figcaption { color: var(--gold); }
.ads { display: flex; flex-wrap: wrap; gap: 16px; }
.ad { position: relative; display: block; flex: var(--r) 1 calc(var(--r) * 210px); aspect-ratio: var(--r); overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--ink-2); transition: border-color .3s, transform .3s; }
.ad img { width: 100%; height: 100%; object-fit: cover; }
a.ad:hover { border-color: var(--gold); transform: translateY(-3px); }

/* Contact band + footer */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: clamp(28px, 5vw, 60px); border-radius: 28px; background: linear-gradient(120deg, var(--ink-3), var(--ink)); border: 1px solid var(--line); }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin: 0; }
.cta p { color: var(--mist); margin: 8px 0 0; }
.phone { display: inline-block; margin-top: 14px; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--gold); direction: ltr; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.foot { margin-top: clamp(60px, 8vw, 110px); padding-top: 52px; border-top: 1px solid var(--line); color: var(--mist); font-size: .92rem; }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.foot img { height: 38px; width: auto; margin-bottom: 14px; }
.foot nav, .foot-contact { display: grid; gap: 9px; align-content: start; }
.foot a { color: #D7DCE8; display: inline-flex; align-items: center; gap: 6px; }
.foot a:hover { color: var(--gold-2); }
.copy { border-top: 1px solid var(--line-2); margin-top: 40px; padding-block: 20px; font-size: .82rem; }

/* Listing page */
.list-head { padding-block: 48px 30px; background: linear-gradient(var(--ink-2), var(--ink)); border-bottom: 1px solid var(--line-2); }
.list-head h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 26px; max-width: 24ch; }
.filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; }
.filters label { display: grid; gap: 5px; font-size: .78rem; color: var(--mist); }
.filters select, .filters input[type=number] { width: 100%; min-height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--ink-2); color: var(--text); font: 500 .95rem var(--body); }
.filters select:hover, .filters input:hover { border-color: var(--line); }
.filters .chk { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: .92rem; min-height: 46px; cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: var(--gold); }
.f-btns { display: flex; align-items: center; gap: 14px; grid-column: span 2; }
.reset { color: var(--mist); text-decoration: underline; font-size: .9rem; }
.count { color: var(--mist); margin-bottom: 20px; }
.empty { padding: 40px 0; color: var(--soft); }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 40px; color: var(--mist); }
.pager a { color: var(--gold-2); border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; }

/* Property page */
.prop { padding-top: 28px; }
.crumbs { display: flex; gap: 8px; color: var(--mist); font-size: .88rem; margin-bottom: 16px; }
.crumbs a:hover { color: var(--gold-2); }
.badges { margin: 0 0 12px; }
.prop h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 22ch; margin-bottom: 10px; }
.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; aspect-ratio: 2.15 / 1; margin: 26px 0 40px; border-radius: 22px; overflow: hidden; }
.gallery.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery.n2, .gallery.n3, .gallery.n4 { grid-template-columns: 2fr 1fr; }
.g { padding: 0; border: 0; background: var(--ink-2); cursor: zoom-in; overflow: hidden; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g:hover img { transform: scale(1.03); }
.g-0 { grid-row: span 2; }
.n4 .g-3, .n3 .g-3 { display: none; }
.g-all { position: absolute; inset-inline-end: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; background: rgba(10,21,48,.85); color: var(--gold-2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font: 600 .88rem var(--body); cursor: pointer; }
.prop-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.prop-main section { margin-bottom: 44px; }
.prop-main h2 { font-size: 1.9rem; }
.prose { max-width: 68ch; color: var(--soft); }
.prose.big { font-size: 1.1rem; }
.prose strong { color: var(--text); }
.orig { margin-top: 18px; border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 16px; }
.orig summary { cursor: pointer; color: var(--gold-2); font-weight: 600; }
.orig[open] summary { margin-bottom: 10px; }
.orig div { font-size: .95rem; }
.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.amen li { display: flex; gap: 10px; align-items: center; }
.amen .i { color: var(--gold); }
.panel { position: sticky; top: 104px; padding: 26px; border-radius: 22px; background: var(--ink-2); border: 1px solid var(--line); }
.panel-price { font-family: var(--display); font-weight: var(--dw); font-size: 2.2rem; color: var(--gold); line-height: 1.15; margin-bottom: 16px; }
.panel-price small { font-family: var(--body); font-size: .95rem; color: var(--soft); }
.progress { margin-bottom: 16px; font-size: .88rem; color: var(--soft); }
.progress i { display: block; height: 8px; margin-top: 8px; border-radius: 9px; background: linear-gradient(90deg, var(--gold) var(--p), var(--line-2) var(--p)); }
:dir(rtl) .progress i { background: linear-gradient(270deg, var(--gold) var(--p), var(--line-2) var(--p)); }
.spec { display: grid; margin: 0 0 18px; }
.spec div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: .93rem; }
.spec dt { color: var(--mist); }
.spec dd { margin: 0; font-weight: 600; text-align: end; }
.ask { font-weight: 600; margin-bottom: 10px; }
.panel-btns { display: grid; gap: 8px; }
.sticky-cta { display: none; }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6,12,28,.97); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; }
.lightbox::backdrop { background: rgba(6,12,28,.97); }
.lightbox figure { margin: 0; display: grid; justify-items: center; align-content: center; gap: 10px; height: 100%; padding: 56px 0 24px; }
.lightbox img { max-height: calc(100dvh - 120px); width: auto; max-width: 100%; object-fit: contain; border-radius: 10px; }
.lightbox figcaption { font-size: .9rem; color: var(--mist); }
.lightbox button { width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.04); color: var(--gold-2); font-size: 1.8rem; line-height: 1; cursor: pointer; justify-self: center; }
.lb-close { position: absolute; top: 14px; inset-inline-end: 14px; }
:dir(rtl) .lb-prev, :dir(rtl) .lb-next { transform: scaleX(-1); }

/* Simple pages */
.page { padding-block: clamp(36px, 6vw, 72px) 0; }
.page h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.lead { color: var(--soft); font-size: 1.1rem; max-width: 52ch; }
.page-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; margin-bottom: 60px; }
.page-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.page-pics img { border-radius: var(--r); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.page-pics img:nth-child(2) { margin-top: 48px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.contact-list a { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); height: 100%; }
.contact-list a:hover { border-color: var(--gold); }
.contact-list .i { width: 26px; height: 26px; color: var(--gold); }
.contact-list span { display: grid; gap: 2px; }
.contact-list b { font-weight: 600; }
.contact-list span span { color: var(--soft); }
:dir(rtl) .contact-list span span[dir=ltr] { text-align: end; }
.nf { text-align: center; }
.nf .lead { margin-inline: auto; }
.nf-langs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-top: 34px; color: var(--mist); }

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .tools { margin-inline-start: auto; }
  .cats { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .fields label:first-child { grid-column: span 2; border-inline-end: 0; border-bottom: 1px solid #E7E9F0; }
  .go { grid-column: span 2; padding: 16px; }
  .proj { grid-template-columns: 1fr; }
  .proj img { min-height: 260px; }
  .whys { grid-template-columns: 1fr; }
  .whys div, :dir(rtl) .whys div, .whys div + div { border: 0; border-bottom: 1px solid var(--line); padding: 26px 0; }
  .prop-body { grid-template-columns: 1fr; }
  .panel { position: static; }
  .page-grid { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .top-in { min-height: 66px; gap: 10px; }
  .logo img { height: 32px; }
  .tools .btn-gold span, .langs summary span { display: none; }
  .tools .btn-gold { width: 42px; padding: 0; }
  .hero { min-height: 0; }
  .hx { padding-top: 110px; padding-bottom: 40px; }
  .sub { margin-bottom: 26px; }
  .search { min-width: 0; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .tab span { text-align: center; padding: 9px 8px; font-size: .85rem; line-height: 1.25; }
  .cats { gap: 12px; }
  .cat { min-height: 230px; padding: 16px; }
  .cat h3 { font-size: 1.35rem; }
  .cat p { display: none; }
  .cat span { font-size: .78rem; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pr b { font-size: 1.15rem; }
  .ph .pr { padding: 36px 12px 12px; }
  .card h3 { font-size: .9rem; margin-top: 10px; }
  .card .facts { display: none; }
  .where { font-size: .78rem; }
  .pfacts b { font-size: 1.4rem; }
  .filters { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 250px 120px; aspect-ratio: auto; margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .gallery.n1 { grid-template-rows: 280px; }
  .g-0 { grid-column: span 2; grid-row: auto; }
  .g-3, .g-4 { display: none; }
  .sticky-cta { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink-2); border-top: 1px solid var(--line); }
  .sticky-cta span { flex: 1; font-family: var(--display); color: var(--gold); font-size: 1.05rem; }
  .has-cta .foot { padding-bottom: 76px; }
  .foot-in { grid-template-columns: 1fr; }
  .ads { gap: 12px; } .ad { flex: 1 1 100%; border-radius: 14px; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { position: absolute; bottom: 22px; }
  .lb-prev { inset-inline-start: 26%; } .lb-next { inset-inline-end: 26%; }
}
@media (max-width: 600px) {
  :lang(ar) .hero h1 { font-size: 2.3rem; }
  :lang(ar) h2 { font-size: 1.55rem; }
  :lang(ar) .cat h3 { font-size: 1.15rem; }
  :lang(ar) .pr b { font-size: 1rem; }
  :lang(ar) .card h3 { font-size: .88rem; }
  :lang(ar) .prop h1 { font-size: 1.5rem; }
  :lang(ar) .panel-price { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Never let one wide element push the whole page sideways on phones. */
html, body { overflow-x: clip; }
.revs figcaption small { opacity: .7; font-size: .8em; }
