/* =========================================================
   House 2 Home · Concept 4 · "Bahrain Coastal Warmth"
   Arabic-first, RTL primary. Logical properties throughout.
   ========================================================= */
:root {
  --bg: #fbf8f2;
  --paper: #ffffff;
  --sand: #f3ebde;
  --sand-2: #eadfcb;
  --line: #e6dccb;
  --line-2: #d9ccb5;
  --ink: #1e1a15;
  --ink-2: #463e35;
  --muted: #776b5d;
  --sea: #13616b;
  --sea-2: #1b7a83;
  --sea-deep: #0c3b45;
  --sea-ink: #072a31;
  --sea-soft: #e1eeec;
  --gold: #b8923a;
  --gold-deep: #94721f;
  --gold-soft: #f2e7cc;
  --gold-light: #d9c08a;
  --r-s: 12px;
  --r: 20px;
  --r-l: 28px;
  --shadow-s: 0 1px 2px rgba(48, 36, 18, .06), 0 2px 8px rgba(48, 36, 18, .05);
  --shadow: 0 2px 4px rgba(48, 36, 18, .04), 0 12px 32px -8px rgba(48, 36, 18, .14);
  --shadow-l: 0 30px 60px -20px rgba(12, 59, 69, .35);
  --f-body: "DM Sans", "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-head: "Fraunces", "El Messiri", Georgia, serif;
  --wrap: 1240px;
  --gut: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[lang="ar"] {
  --f-body: "Readex Pro", "DM Sans", system-ui, Tahoma, sans-serif;
  --f-head: "El Messiri", "Readex Pro", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="ar"] body { line-height: 1.75; font-size: 15.5px; }
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 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.center { text-align: center; }
.mt-l { margin-top: 40px; }
.muted { color: var(--muted); }
bdi { unicode-bidi: isolate; }

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

/* pattern helper */
.pattern-bg { position: relative; isolation: isolate; }
.pattern-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--pat); background-size: 72px 72px; background-position: center top;
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 500; }
.eyebrow.light { color: var(--gold-light); }
.h2 { font-family: var(--f-head); font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.015em; line-height: 1.1; color: var(--ink); text-wrap: balance; }
html[lang="ar"] .h2 { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
.lead { color: var(--muted); font-size: 17px; max-width: 58ch; margin-top: 14px; text-wrap: pretty; }
html[lang="ar"] .lead { font-size: 16.5px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
  border: 1.5px solid transparent;
}
.btn .ic { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 8px 20px -10px rgba(148, 114, 31, .8); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-sea { background: var(--sea); color: #fff; box-shadow: 0 10px 22px -12px rgba(12, 59, 69, .8); }
.btn-sea:hover { background: var(--sea-deep); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.link-btn { display: inline-flex; gap: 8px; align-items: center; color: var(--sea); font-weight: 600; margin-top: 16px; }
.link-btn:hover { color: var(--sea-deep); }
.link-btn .ic { width: 18px; transition: transform .25s; }
.link-btn:hover .ic { transform: translateX(3px); }
[dir="rtl"] .link-btn:hover .ic { transform: scaleX(-1) translateX(3px); }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: .2s; background: var(--paper); }
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-gold { background: var(--gold-soft); color: var(--gold-deep); }
.badge-sea { background: var(--sea-soft); color: var(--sea); }

/* ---------- topbar & header ---------- */
.topbar { background: var(--sea-ink); color: #cfe0dd; font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .ic { width: 15px; height: 15px; color: var(--gold-light); }
.topbar strong { color: #fff; font-weight: 600; }
.tb-end { gap: 22px !important; }
.topbar a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(251, 248, 242, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(30, 26, 21, .5); }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.brand img { height: 58px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-inline-start: 8px; }
.main-nav a { padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: .2s; white-space: nowrap; }
.main-nav a:hover { background: var(--sand); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: 14px; transition: .2s; }
.lang-btn[lang="ar"] { font-family: "Readex Pro", sans-serif; }
.lang-btn[lang="en"] { font-family: "DM Sans", sans-serif; }
.lang-btn:hover { border-color: var(--ink); }
.lang-btn .ic { width: 17px; height: 17px; color: var(--gold-deep); }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); transition: .2s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn .ic { width: 19px; height: 19px; }
.count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.menu-btn { display: none; }
.burger { display: grid; gap: 4px; width: 18px; }
.burger i { height: 1.8px; background: currentColor; border-radius: 2px; transition: .3s var(--ease); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); padding: 14px 0 22px; max-height: calc(100vh - 80px); overflow: auto; }
.mobile-nav .wrap { display: grid; gap: 2px; }
.mobile-nav a:not(.btn) { padding: 14px 4px; font-size: 18px; font-family: var(--f-head); border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 16px; }
.mn-rera { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--sand) 0%, var(--bg) 100%); padding: 56px 0 0; overflow-x: clip; }
.hero::before { opacity: .9; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-title { font-family: var(--f-head); font-size: clamp(44px, 5.6vw, 82px); font-weight: 500; letter-spacing: -.025em; line-height: 1.02; color: var(--ink); }
.hero-title em { font-style: italic; color: var(--sea); font-weight: 400; }
html[lang="ar"] .hero-title { letter-spacing: 0; line-height: 1.28; font-weight: 600; font-size: clamp(42px, 5.2vw, 76px); }
html[lang="ar"] .hero-title em { font-style: normal; color: var(--sea); position: relative; white-space: nowrap; }
.hero-title em { position: relative; }
.hero-title em::after { content: ""; position: absolute; inset-inline: 2% 0; bottom: .02em; height: .14em; background: var(--gold); opacity: .35; border-radius: 4px; z-index: -1; }
.hero-sub { margin-top: 22px; font-size: 18px; color: var(--ink-2); max-width: 52ch; }
html[lang="ar"] .hero-sub { font-size: 17px; }
.hero-stats { display: flex; gap: 36px; margin-top: 34px; }
.hero-stats li { display: grid; gap: 2px; padding-inline-start: 16px; border-inline-start: 2px solid var(--gold-light); }
.hero-stats b { font-family: var(--f-head); font-size: 32px; font-weight: 500; line-height: 1; color: var(--sea-deep); }
.hero-stats span { font-size: 13.5px; color: var(--muted); max-width: 16ch; line-height: 1.35; }
.hero-visual { position: relative; height: 560px; }
.arch { overflow: hidden; border-radius: 999px 999px var(--r-l) var(--r-l); background: var(--sand-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-main { position: absolute; inset-inline-end: 0; top: 0; width: 78%; height: 100%; box-shadow: var(--shadow-l); }
.arch-small { position: absolute; inset-inline-start: 0; bottom: 64px; width: 36%; height: 46%; border: 6px solid var(--bg); box-shadow: var(--shadow); }
.hero-float {
  position: absolute; inset-inline-start: 4%; top: 64px; display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); box-shadow: var(--shadow); min-width: 190px; transition: transform .3s var(--ease);
}
.hero-float:hover { transform: translateY(-3px); }
.hf-k { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
html[lang="ar"] .hf-k { letter-spacing: 0; font-size: 12.5px; }
.hf-v { font-weight: 600; font-size: 15px; }
.hf-p { color: var(--sea); font-weight: 700; font-size: 15px; }
.hf-p .cur { font-size: 12px; font-weight: 600; }
.hero-seal { position: absolute; inset-inline-end: -26px; bottom: 26px; width: 124px; height: 124px; border-radius: 50%; background: var(--sea-deep); display: grid; place-items: center; box-shadow: var(--shadow); }
.hero-seal svg { direction: ltr; position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.hero-seal text { font-size: 9.5px; letter-spacing: .16em; fill: var(--gold-light); font-family: "DM Sans", "Readex Pro", sans-serif; font-weight: 600; }
html[lang="ar"] .hero-seal text { letter-spacing: 0; font-size: 11px; font-family: "Readex Pro", sans-serif; }
.hero-seal img { width: 46px; height: auto; filter: brightness(0) invert(1) sepia(.4) saturate(2) hue-rotate(5deg); opacity: .95; }
@keyframes spin { to { transform: rotate(360deg); } }

/* search */
.search { position: relative; z-index: 3; margin-top: 44px; margin-bottom: -64px; background: var(--paper); border-radius: var(--r-l); padding: 18px 18px 16px; box-shadow: 0 24px 60px -26px rgba(12, 59, 69, .4), 0 2px 6px rgba(48, 36, 18, .05); border: 1px solid var(--line); }
.seg { display: inline-flex; padding: 4px; background: var(--sand); border-radius: 999px; margin-bottom: 14px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 8px 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px; cursor: pointer; color: var(--muted); transition: .25s; }
.seg input:checked + label { background: var(--ink); color: #fff; box-shadow: var(--shadow-s); }
.seg input:focus-visible + label { outline: 2.5px solid var(--gold); outline-offset: 2px; }
.search-fields { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 10px; }
.field { display: grid; gap: 2px; padding: 9px 16px 8px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); transition: border-color .2s, background .2s; cursor: pointer; position: relative; }
.field:hover, .field:focus-within { border-color: var(--gold-light); background: #fff; }
.field > span { font-size: 12px; font-weight: 600; color: var(--muted); }
.field select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font-weight: 600; font-size: 15.5px; padding: 0; padding-inline-end: 22px; width: 100%; cursor: pointer; outline: none; min-height: 26px; }
.field::after { content: ""; position: absolute; inset-inline-end: 16px; bottom: 16px; width: 7px; height: 7px; border-right: 1.6px solid var(--ink-2); border-bottom: 1.6px solid var(--ink-2); transform: rotate(45deg); pointer-events: none; }
.search-go { min-height: 62px; border-radius: 16px; padding: 0 28px; font-size: 16px; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.quick a { padding: 5px 12px; border-radius: 999px; background: var(--sand); color: var(--ink-2); font-weight: 500; transition: .2s; }
.quick a:hover { background: var(--sea); color: #fff; }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
#featured { padding-top: 150px; }
.section.sand { background: var(--sand); }
.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.sec-tools { display: flex; align-items: center; gap: 16px; flex: none; }
.arrows { display: flex; gap: 8px; }
.tabs { display: inline-flex; padding: 4px; background: var(--sand); border-radius: 999px; gap: 2px; }
.tabs button { padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); transition: .25s; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-s); }
.section.sand .tabs { background: var(--sand-2); }

/* ---------- cards ---------- */
.card { position: relative; background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-s); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; margin: 8px 8px 0; border-radius: 14px; background: var(--sand-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-purpose { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(255, 255, 255, .94); padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.card-badges { position: absolute; bottom: 12px; inset-inline-start: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.card-badges .badge { height: 24px; box-shadow: var(--shadow-s); }
.card-badges .badge-gold { background: var(--gold); color: #fff; }
.card-badges .badge-sea { background: var(--sea); color: #fff; }
.fav-btn { position: absolute; top: 20px; inset-inline-end: 20px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .94); display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-s); transition: .2s; }
.fav-btn .ic { width: 19px; height: 19px; }
.fav-btn:hover { color: #c0392b; }
.fav-btn.on { color: #c0392b; }
.fav-btn.on .ic { fill: currentColor; }
.fav-btn.pop { animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.25); } }
.card-body { padding: 16px 18px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-price { font-size: 21px; font-weight: 700; color: var(--sea-deep); letter-spacing: -.01em; }
.card-price .cur { font-size: 13px; font-weight: 600; color: var(--sea); }
.card-price .per { font-size: 13px; font-weight: 500; color: var(--muted); }
.card-title { font-family: var(--f-body); font-size: 15.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-title a:focus-visible { outline: none; }
.card:focus-within { outline: 2.5px solid var(--gold); outline-offset: 2px; }
.card-loc { display: flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--muted); }
.card-loc .ic { width: 15px; height: 15px; color: var(--gold-deep); }
.card-facts { display: flex; gap: 14px; padding-top: 10px; margin-top: 4px; border-top: 1px dashed var(--line-2); font-size: 13.5px; color: var(--ink-2); flex-wrap: wrap; }
.card-facts li { display: inline-flex; align-items: center; gap: 6px; }
.card-facts .ic { width: 17px; height: 17px; color: var(--sea); }
.card-permit { font-size: 11.5px; color: var(--muted); margin-top: auto; padding-top: 4px; }
.card-permit bdi { font-weight: 600; color: var(--ink-2); white-space: nowrap; }

.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; margin: -6px -4px 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > .card { scroll-snap-align: start; }

/* ---------- neighbourhoods ---------- */
.hood { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.hood-list { display: grid; gap: 6px; }
.hood-list button { display: flex; align-items: center; gap: 14px; padding: 8px; padding-inline-end: 16px; border-radius: 18px; text-align: start; transition: background .25s; position: relative; }
.hood-list button:hover { background: rgba(255, 255, 255, .55); }
.hood-list button[aria-selected="true"] { background: var(--paper); box-shadow: var(--shadow-s); }
.hood-list button[aria-selected="true"]::after { content: ""; position: absolute; inset-inline-end: 16px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }
.hood-list img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; }
.hood-list b { display: block; font-weight: 600; font-size: 15.5px; }
.hood-list small { color: var(--muted); font-size: 13px; }
.hood-panel { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); min-height: 520px; animation: fadeIn .45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }
.hp-media { position: relative; margin: 10px; margin-inline-end: 0; border-radius: 22px; overflow: hidden; }
.hp-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hp-gov { position: absolute; bottom: 16px; inset-inline-start: 16px; display: inline-flex; gap: 6px; align-items: center; background: rgba(12, 59, 69, .82); color: #fff; padding: 7px 14px 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.hp-gov .ic { width: 15px; height: 15px; color: var(--gold-light); }
.hp-body { padding: 34px 36px 30px; display: flex; flex-direction: column; }
.hp-body h3 { font-family: var(--f-head); font-size: 34px; font-weight: 500; }
html[lang="ar"] .hp-body h3 { font-weight: 600; }
.hp-body > p { color: var(--ink-2); margin-top: 10px; }
.tagbars { display: grid; gap: 12px; margin-top: 24px; }
.tagbars li { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; }
.tb-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--sea-soft); color: var(--sea); display: grid; place-items: center; }
.tb-ic .ic { width: 19px; height: 19px; }
.tb-l { font-weight: 500; font-size: 15px; }
.dots { display: flex; gap: 5px; }
.dots i { width: 26px; height: 7px; border-radius: 4px; background: var(--sand-2); }
.dots i.on { background: var(--gold); }
.hp-best { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.hp-best em { font-style: normal; background: var(--sand); color: var(--ink-2); padding: 4px 12px; border-radius: 999px; font-weight: 500; }
.hp-foot { display: flex; align-items: center; gap: 26px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hp-foot small { display: block; font-size: 12.5px; color: var(--muted); }
.hp-foot b { font-size: 19px; color: var(--sea-deep); }
.hp-foot .btn { margin-inline-start: auto; }

/* ---------- rent smarter ---------- */
.smart { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.cmp { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); }
.cmp-inc { background: var(--sea-soft); border-color: transparent; }
.cmp-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--paper); color: var(--sea); margin-bottom: 14px; }
.cmp-exc .cmp-ic { background: var(--gold-soft); color: var(--gold-deep); }
.cmp h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.cmp p { font-size: 14.5px; color: var(--ink-2); }
.tips { margin-top: 24px; display: grid; gap: 10px; }
.tips li { position: relative; padding-inline-start: 30px; color: var(--ink-2); font-size: 15px; }
.tips li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-soft); box-shadow: inset 0 0 0 4px var(--gold-soft), inset 0 0 0 8px var(--gold); transform: scale(.75); }
.ewa-card { background: var(--sea-deep); color: #e8f1ef; border-radius: var(--r-l); padding: 36px; box-shadow: var(--shadow-l); overflow: hidden; }
.ewa-card h3 { font-family: var(--f-head); font-size: 26px; font-weight: 500; color: #fff; }
.ewa-l { margin-top: 18px; font-size: 13px; color: #a8c4c1; }
.ewa-beds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.ewa-beds button { padding: 10px 6px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; font-weight: 500; color: #e8f1ef; transition: .2s; }
.ewa-beds button:hover { background: rgba(255, 255, 255, .13); }
.ewa-beds button[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: #fff; }
.ewa-out { display: grid; gap: 18px; margin: 28px 0 20px; }
.ewa-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; }
.ewa-season { display: inline-flex; gap: 8px; align-items: center; font-size: 14.5px; }
.ewa-season .ic { color: var(--gold-light); width: 18px; }
.ewa-row b { font-size: 20px; color: #fff; font-weight: 600; }
.ewa-row .bar { grid-column: 1 / -1; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ewa-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-light), var(--gold)); border-radius: inherit; transition: width .6s var(--ease); }
[dir="rtl"] .ewa-row .bar i { margin-inline-start: 0; background: linear-gradient(270deg, var(--gold-light), var(--gold)); }
.ewa-note { font-size: 12.5px; color: #a8c4c1; margin-bottom: 22px; }

/* ---------- projects ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.proj { background: var(--paper); border-radius: var(--r-l); padding: 10px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.proj:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.proj-media { position: relative; aspect-ratio: 5 / 4.4; border-radius: 999px 999px 20px 20px; }
.proj-status { position: absolute; bottom: 14px; inset-inline-start: 14px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #fff; }
.s-off { background: var(--gold); } .s-uc { background: var(--sea); } .s-ready { background: #2f6b3f; }
.proj-body { padding: 20px 14px 12px; display: flex; flex-direction: column; flex: 1; }
.proj-area { display: inline-flex; gap: 5px; align-items: center; font-size: 13px; color: var(--muted); }
.proj-area .ic { width: 15px; color: var(--gold-deep); }
.proj h3 { font-family: var(--f-head); font-size: 25px; font-weight: 500; margin-top: 6px; }
html[lang="ar"] .proj h3 { font-weight: 600; }
.proj-from { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.proj-from small { color: var(--muted); font-size: 13px; }
.proj-from b { color: var(--sea-deep); font-size: 21px; }
.proj-dl { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin: 18px 0 20px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.proj-dl .full { grid-column: 1 / -1; background: var(--sand); padding: 10px 14px; border-radius: 12px; }
.proj-dl dt { font-size: 11.5px; color: var(--muted); }
.proj-dl dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }
.proj .btn { margin-top: auto; }
.proj .btn svg { width: 18px; height: 18px; }

/* ---------- moving ---------- */
.moving { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.moving-head { position: sticky; top: 120px; }
.gv-card { margin-top: 32px; padding: 26px; border-radius: var(--r); background: linear-gradient(140deg, var(--gold-soft), #f8f1e0); border: 1px solid #ead9b0; position: relative; overflow: hidden; }
.gv-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--gold); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.gv-card h3 { font-family: var(--f-head); font-size: 22px; font-weight: 500; }
html[lang="ar"] .gv-card h3 { font-weight: 600; }
.gv-card p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.steps { position: relative; display: grid; gap: 14px; }
.steps::before { content: ""; position: absolute; inset-inline-start: 27px; top: 30px; bottom: 30px; width: 0; border-inline-start: 1.5px dashed var(--line-2); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 24px 22px 0; padding-inline: 0 24px; align-items: start; border-radius: var(--r); transition: background .3s; }
.step:hover { background: var(--sand); }
.step-n { position: absolute; top: 14px; inset-inline-start: 38px; font-size: 11px; font-weight: 700; color: #fff; background: var(--gold); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; z-index: 2; border: 2px solid var(--bg); }
.step-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--sea); position: relative; z-index: 1; box-shadow: var(--shadow-s); }
.step-ic .ic { width: 24px; height: 24px; }
.step h3 { font-size: 18.5px; font-weight: 600; margin-top: 4px; }
.step p { color: var(--muted); margin-top: 6px; font-size: 15px; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.svc { position: relative; padding: 28px 22px 64px; background: var(--paper); border-radius: var(--r); border: 1px solid transparent; transition: .3s var(--ease); }
.svc:hover { border-color: var(--gold-light); transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-ic { width: 52px; height: 52px; border-radius: 16px 16px 16px 4px; background: var(--sea-soft); color: var(--sea); display: grid; place-items: center; margin-bottom: 22px; }
[dir="rtl"] .svc-ic { border-radius: 16px 16px 4px 16px; }
.svc-ic .ic { width: 24px; height: 24px; }
.svc h3 { font-size: 18px; font-weight: 600; }
.svc p { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.svc-arrow { position: absolute; bottom: 22px; inset-inline-start: 22px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); transition: .3s; }
.svc-arrow .ic { width: 16px; }
.svc:hover .svc-arrow { background: var(--gold); color: #fff; }

/* ---------- landlords ---------- */
.landlord { background: var(--sea-deep); color: #dbe8e6; overflow: hidden; }
.landlord .h2 { color: #fff; }
.landlord .lead { color: #b5cdca; }
.ll-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.ll-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 30px; }
.ll-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #e8f1ef; }
.ll-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ll-photo { margin-top: 40px; height: 240px; border-radius: 999px 999px 24px 24px; max-width: 520px; opacity: .95; }
.ll-form { background: var(--bg); color: var(--ink); border-radius: var(--r-l); padding: 36px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); display: grid; gap: 14px; position: relative; }
.ll-form h3 { font-family: var(--f-head); font-size: 28px; font-weight: 500; }
html[lang="ar"] .ll-form h3 { font-weight: 600; }
.ll-form .muted { margin-top: -6px; margin-bottom: 6px; }
.field-b { display: grid; gap: 6px; }
.field-b > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field-b input, .field-b select, .field-b textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.field-b select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23463e35' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: right 14px center; padding-inline-end: 40px; }
[dir="rtl"] .field-b select { background-position: left 14px center; }
.field-b textarea { resize: vertical; min-height: 90px; }
.field-b input:focus, .field-b select:focus, .field-b textarea:focus { border-color: var(--sea); box-shadow: 0 0 0 4px rgba(19, 97, 107, .12); }
[dir="rtl"] input[dir="ltr"] { text-align: right; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-err { color: #a3322a; font-size: 14px; background: #fbeceb; padding: 10px 14px; border-radius: 12px; }
.form-ok { position: absolute; inset: 0; border-radius: inherit; background: var(--bg); display: grid; place-content: center; justify-items: center; text-align: center; gap: 16px; padding: 40px; animation: fadeIn .4s var(--ease); }
.form-ok .ic { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--sea); color: #fff; }
.form-ok p { font-size: 18px; max-width: 30ch; font-weight: 500; }

/* ---------- calculator ---------- */
.calc-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.calc-wrap .sec-head { margin: 0; }
.calc-wrap .tabs { margin-top: 28px; }
.calc { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.calc-in { padding: 34px; display: grid; gap: 26px; align-content: start; }
.rng > span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--ink-2); font-weight: 500; margin-bottom: 12px; }
.rng output { font-weight: 700; color: var(--ink); font-size: 16px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--sea) var(--p, 50%), var(--sand-2) var(--p, 50%)); outline: none; cursor: pointer; }
[dir="rtl"] input[type=range] { background: linear-gradient(to left, var(--sea) var(--p, 50%), var(--sand-2) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--sea); box-shadow: 0 2px 8px rgba(12, 59, 69, .3); transition: transform .15s; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--sea); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-out { background: var(--sea-deep); color: #fff; padding: 34px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.calc-out::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(217, 192, 138, .08); inset-inline-end: -110px; top: -110px; }
.co-k { color: #a8c4c1; font-size: 14px; }
.co-v { font-family: var(--f-head); font-size: 44px; font-weight: 500; line-height: 1.1; margin-top: 6px; color: #fff; }
html[lang="ar"] .co-v { font-family: "Readex Pro", sans-serif; font-weight: 600; font-size: 38px; }
.co-bar { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .12); margin: 22px 0; overflow: hidden; }
.co-bar i { display: block; height: 100%; background: var(--gold); border-radius: inherit; transition: width .4s var(--ease); }
.co-dl { display: grid; gap: 12px; margin: 0; }
.co-dl div { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; }
.co-dl dt { color: #b5cdca; } .co-dl dd { margin: 0; font-weight: 600; }

/* ---------- agents ---------- */
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.agent { background: var(--paper); border-radius: var(--r-l); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-s); }
.agent-top { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; position: relative; }
.agent-top .badge { grid-column: 1 / -1; justify-self: start; order: -1; margin-bottom: 2px; }
.agent-av { width: 68px; height: 68px; border-radius: 50% 50% 50% 14px; background: var(--sea-deep); color: var(--gold-light); display: grid; place-items: center; font-family: "Fraunces", serif; font-size: 24px; font-weight: 500; letter-spacing: .02em; }
[dir="rtl"] .agent-av { border-radius: 50% 50% 14px 50%; }
.agent h3 { font-size: 19px; font-weight: 600; }
.agent-top p { color: var(--muted); font-size: 14px; }
.agent-bio { color: var(--ink-2); font-size: 15px; margin-top: 20px; }
.agent-meta { display: grid; gap: 8px; margin: 20px 0 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.agent-meta li { display: flex; gap: 10px; align-items: center; }
.agent-meta .ic { width: 17px; height: 17px; color: var(--gold-deep); }
.agent-act { display: flex; gap: 10px; margin-top: auto; }
.agent-act .btn { flex: 1; }
.agent-act .btn svg { width: 18px; height: 18px; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { margin: 0; padding: 34px 30px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); display: flex; flex-direction: column; position: relative; }
.quote::before { content: "\201C"; font-family: "Fraunces", serif; font-size: 80px; line-height: .6; color: var(--gold-light); height: 34px; }
[dir="rtl"] .quote::before { content: "\201D"; }
.quote blockquote { margin: 0 0 26px; font-size: 17px; line-height: 1.6; color: var(--ink); font-family: var(--f-head); font-weight: 400; }
html[lang="ar"] .quote blockquote { font-family: var(--f-body); font-size: 16px; line-height: 1.9; font-weight: 400; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); font-weight: 500; }
.q-av { width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: var(--gold-deep); display: grid; place-items: center; font-size: 12px; font-weight: 700; font-family: "DM Sans", sans-serif; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 112px; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--sand); border-radius: 36px; padding: 56px 60px; overflow: hidden; }
.cta-in .lead { margin-top: 10px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--sea-ink); color: #a9c0bd; padding: 80px 0 28px; overflow: hidden; }
.footer-pattern { position: absolute; inset: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23d9c08a' stroke-opacity='.08' stroke-width='1'%3E%3Cpath d='M36 14 42.4 29.6 58 36 42.4 42.4 36 58 29.6 42.4 14 36 29.6 29.6Z'/%3E%3Crect x='22.5' y='22.5' width='27' height='27' transform='rotate(45 36 36)'/%3E%3Crect x='22.5' y='22.5' width='27' height='27'/%3E%3C/g%3E%3C/svg%3E"); background-size: 72px; -webkit-mask-image: linear-gradient(180deg, transparent, #000); mask-image: linear-gradient(180deg, transparent, #000); }
.site-footer .wrap { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
.f-brand img { width: 118px; height: auto; margin-bottom: 20px; }
.f-brand p { font-size: 14.5px; max-width: 36ch; }
.f-rera { display: inline-flex !important; gap: 10px; align-items: center; margin-top: 22px; padding: 10px 16px; border-radius: 14px; border: 1px solid rgba(217, 192, 138, .3); color: #dbe8e6; font-size: 13.5px; }
.f-rera .ic { color: var(--gold-light); width: 18px; }
.f-rera strong { color: #fff; }
.site-footer h3 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.f-contact li { display: flex; gap: 10px; align-items: center; }
.f-contact .ic { width: 17px; height: 17px; color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.concept { opacity: .55; font-size: 12px; }

/* ---------- floating: WhatsApp + bot ---------- */
#floaters { position: fixed; z-index: 90; inset-inline-end: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -10px rgba(7, 42, 49, .55); transition: transform .25s var(--ease); }
.fab:hover { transform: translateY(-2px); }
.fab-wa { width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; }
.fab-wa .ic { width: 28px; height: 28px; }
.fab-bot { height: 58px; padding: 0 22px 0 18px; padding-inline: 18px 22px; gap: 10px; border-radius: 999px; background: var(--sea-deep); color: #fff; font-weight: 600; font-size: 14.5px; border: 1.5px solid rgba(217, 192, 138, .5); }
.fab-bot .ic { width: 22px; height: 22px; color: var(--gold-light); }
.bot-open .fab-bot, .bot-open .fab-wa { display: none; }
.bot { position: fixed; inset-inline-end: 22px; bottom: 22px; width: 390px; max-width: calc(100vw - 32px); height: min(640px, calc(100vh - 44px)); background: var(--bg); border-radius: 26px; box-shadow: 0 40px 90px -20px rgba(7, 42, 49, .55), 0 0 0 1px rgba(30, 26, 21, .06); display: flex; flex-direction: column; overflow: hidden; animation: botIn .35s var(--ease); }
@keyframes botIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.bot-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: var(--sea-deep); color: #fff; }
.bot-avatar { width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(217, 192, 138, .4); display: grid; place-items: center; }
.bot-avatar img { width: 30px; height: auto; }
.bot-head h2 { font-size: 16px; font-weight: 600; font-family: var(--f-body); }
.bot-head p { font-size: 12.5px; color: #a8c4c1; display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .2); }
.bot-x { margin-inline-start: auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); }
.bot-x:hover { background: rgba(255, 255, 255, .16); }
.bot-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; background-image: var(--pat-bot); }
.msg { display: flex; flex-direction: column; max-width: 88%; }
.msg p { padding: 11px 15px; border-radius: 18px; font-size: 14.5px; line-height: 1.55; }
.bot-m { align-self: flex-start; }
.bot-m p { background: var(--paper); border: 1px solid var(--line); border-end-start-radius: 6px; }
.me { align-self: flex-end; }
.me p { background: var(--sea); color: #fff; border-end-end-radius: 6px; }
.typing p { display: flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .4; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; } }
.mini-list { display: grid; gap: 6px; margin-top: 8px; }
.mini { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 6px; padding-inline-end: 10px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); transition: border-color .2s; }
.mini:hover { border-color: var(--gold-light); }
.mini img { width: 56px; height: 46px; object-fit: cover; border-radius: 10px; }
.mini b { display: block; font-size: 14px; color: var(--sea-deep); }
.mini b .cur, .mini b .per { font-size: 11px; font-weight: 500; }
.mini small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.mini .ic { width: 16px; color: var(--muted); }
.mini-all { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--sea); margin-top: 8px; }
.mini-all .ic { width: 16px; }
.bot-chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px; scrollbar-width: none; flex: none; }
.bot-chips::-webkit-scrollbar { display: none; }
.bot-chips button { flex: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font-size: 13px; font-weight: 500; white-space: nowrap; transition: .2s; }
.bot-chips button:hover { border-color: var(--sea); color: var(--sea); }
.bot-form { display: flex; gap: 8px; padding: 8px 14px 6px; flex: none; }
.bot-form input { flex: 1; min-width: 0; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 18px; background: #fff; outline: none; }
.bot-form input:focus { border-color: var(--sea); }
.bot-form button { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; flex: none; }
.bot-form button .ic { width: 20px; }
.bot-demo { font-size: 11px; color: var(--muted); text-align: center; padding: 4px 16px 12px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv:nth-child(2) { transition-delay: .08s; } .rv:nth-child(3) { transition-delay: .16s; } .rv:nth-child(4) { transition-delay: .24s; } .rv:nth-child(5) { transition-delay: .32s; } .rv:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .rv { opacity: 1; transform: none; } }

/* =========================================================
   LISTINGS PAGE
   ========================================================= */
.page-head { background: var(--sand); padding: 40px 0 28px; position: relative; isolation: isolate; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ic { width: 14px; }
.page-head h1 { font-family: var(--f-head); font-size: clamp(32px, 3.6vw, 48px); font-weight: 500; letter-spacing: -.015em; }
html[lang="ar"] .page-head h1 { font-weight: 600; letter-spacing: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 14px; padding-inline: 14px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; }
.pill button { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); }
.pill button .ic { width: 12px; height: 12px; }
.pill button:hover { background: var(--ink); color: #fff; }
.layout > section { min-width: 0; }
.layout { display: grid; grid-template-columns: 300px 1fr; gap: 36px; padding-block: 36px 100px; align-items: start; }
.filters { position: sticky; top: 100px; background: var(--paper); border-radius: var(--r-l); padding: 24px; border: 1px solid var(--line); display: grid; gap: 20px; max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head h2 { font-size: 18px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.filters-head .ic { color: var(--gold-deep); }
.filters .reset { font-size: 13.5px; color: var(--sea); font-weight: 600; }
.fgroup { display: grid; gap: 8px; }
.fgroup > .fl { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: .2s; min-width: 40px; text-align: center; }
.chips label:hover { border-color: var(--line-2); }
.chips input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + label { outline: 2.5px solid var(--gold); outline-offset: 2px; }
.seg-full { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; background: var(--sand); border-radius: 999px; }
.seg-full input { position: absolute; opacity: 0; pointer-events: none; }
.seg-full label { text-align: center; padding: 8px 6px; border-radius: 999px; font-weight: 600; font-size: 13.5px; color: var(--muted); cursor: pointer; transition: .2s; }
.seg-full input:checked + label { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-s); }
.seg-full input:focus-visible + label { outline: 2.5px solid var(--gold); }
.fsel, .finput { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); outline: none; font-size: 14.5px; }
.fsel { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23463e35' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 15px; background-position: right 12px center; padding-inline-end: 36px; }
[dir="rtl"] .fsel { background-position: left 12px center; }
.fsel:focus, .finput:focus { border-color: var(--sea); }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--sea); }
.filters .apply { display: none; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.results-count { font-size: 15px; color: var(--muted); }
.results-count b { color: var(--ink); font-size: 18px; }
.rb-tools { display: flex; align-items: center; gap: 10px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort .fsel { min-height: 42px; width: auto; background-color: var(--paper); border-radius: 999px; font-weight: 600; color: var(--ink); }
.views { display: flex; padding: 3px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); }
.views button { width: 38px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); }
.views button .ic { width: 18px; }
.views button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filter-toggle { display: none; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid.list { grid-template-columns: 1fr; }
.grid.list .card { flex-direction: row; }
.grid.list .card-media { width: 42%; flex: none; aspect-ratio: auto; margin: 8px; margin-inline-end: 0; min-height: 230px; }
.grid.list .card-body { padding: 22px 26px; gap: 8px; }
.grid.list .card-title { font-size: 19px; font-family: var(--f-head); font-weight: 500; min-height: 0; }
html[lang="ar"] .grid.list .card-title { font-family: var(--f-body); font-weight: 600; font-size: 17px; }
.grid.list .fav-btn { inset-inline-end: 16px; top: 16px; }
.grid.list .card-desc { display: block; }
.card-desc { display: none; color: var(--muted); font-size: 14px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid.list .card-desc { display: -webkit-box; }
.map-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; }
.map-wrap .grid { grid-template-columns: 1fr; align-content: start; gap: 14px; }
.map-wrap .card { flex-direction: row; }
.map-wrap .card-media { width: 40%; flex: none; aspect-ratio: auto; margin: 8px; margin-inline-end: 0; min-height: 168px; }
.map-wrap .card-body { padding: 14px 16px; gap: 4px; }
.map-wrap .card-price { font-size: 18px; }
.map-wrap .card-title { font-size: 14.5px; min-height: 0; }
.map-wrap .card-facts { gap: 10px; font-size: 12.5px; }
.map-wrap .fav-btn { top: 16px; inset-inline-end: auto; inset-inline-start: 16px; width: 34px; height: 34px; }
.map-wrap .card-purpose { display: none; }
.map-box { position: sticky; top: 100px; height: calc(100vh - 130px); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--sand-2); }
#map { width: 100%; height: 100%; }
.map-pin { background: var(--sea-deep); color: #fff; font: 600 12.5px/1 "DM Sans", "Readex Pro", sans-serif; padding: 7px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); border: 2px solid #fff; transform: translate(-50%, -50%); display: inline-block; transition: background .2s, transform .2s; }
.map-pin.hl { background: var(--gold); transform: translate(-50%, -50%) scale(1.12); }
.leaflet-div-icon.pin-wrap { background: none; border: 0; width: 0 !important; height: 0 !important; }
.leaflet-popup-content-wrapper { border-radius: 16px !important; padding: 0 !important; overflow: hidden; }
.leaflet-popup-content { margin: 0 !important; width: 220px !important; font-family: var(--f-body); }
.pop img { width: 100%; height: 120px; object-fit: cover; }
.pop div { padding: 10px 12px 12px; }
.pop b { color: var(--sea-deep); font-size: 15px; display: block; }
.pop span { font-size: 12.5px; color: var(--muted); display: block; line-height: 1.4; margin-top: 2px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 72px 24px; background: var(--paper); border-radius: var(--r-l); border: 1.5px dashed var(--line-2); }
.empty-ic { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50% 50% 22px 22px; background: var(--sand); display: grid; place-items: center; color: var(--gold-deep); }
.empty-ic .ic { width: 32px; height: 32px; }
.empty h2 { font-family: var(--f-head); font-size: 26px; font-weight: 500; }
.empty p { color: var(--muted); max-width: 46ch; margin: 10px auto 22px; }
.empty .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.filters-backdrop { display: none; }

/* =========================================================
   PROPERTY PAGE
   ========================================================= */
.prop-top { padding: 28px 0 0; }
.prop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 6px 0 22px; flex-wrap: wrap; }
.prop-head h1 { font-family: var(--f-head); font-size: clamp(28px, 3vw, 42px); font-weight: 500; letter-spacing: -.015em; max-width: 24ch; line-height: 1.15; }
html[lang="ar"] .prop-head h1 { font-family: var(--f-body); font-weight: 600; letter-spacing: 0; line-height: 1.4; font-size: clamp(24px, 2.6vw, 34px); }
.prop-sub { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 12px; color: var(--muted); font-size: 14.5px; }
.prop-sub span { display: inline-flex; gap: 6px; align-items: center; }
.prop-sub .ic { width: 16px; color: var(--gold-deep); }
.prop-actions { display: flex; gap: 8px; }
.prop-actions .icon-btn { width: 46px; height: 46px; background: var(--paper); }
.prop-actions .fav-btn { position: static; width: 46px; height: 46px; box-shadow: none; border: 1.5px solid var(--line-2); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 10px; border-radius: var(--r-l); overflow: hidden; position: relative; }
.gallery button { position: relative; overflow: hidden; background: var(--sand-2); display: block; width: 100%; height: 100%; }
.gallery button:first-child { grid-row: span 2; }
.gallery button:nth-child(2) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery .all-photos { position: absolute; bottom: 18px; inset-inline-end: 18px; display: inline-flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, .95); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); width: auto; height: auto; }
.gallery .all-photos .ic { width: 18px; }
.prop-layout { display: grid; grid-template-columns: 1fr 390px; gap: 48px; padding-block: 40px 80px; align-items: start; }
.prop-price-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.prop-price { font-size: 36px; font-weight: 700; color: var(--sea-deep); letter-spacing: -.01em; }
.prop-price .cur { font-size: 18px; color: var(--sea); }
.prop-price .per { font-size: 16px; color: var(--muted); font-weight: 500; }
.permit-box { display: inline-flex; gap: 10px; align-items: center; margin-inline-start: auto; padding: 10px 14px; border-radius: 14px; background: var(--sand); font-size: 13px; color: var(--ink-2); }
.permit-box .ic { color: var(--gold-deep); width: 22px; height: 22px; }
.permit-box b { display: block; font-size: 15px; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0 0; }
.fact { padding: 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.fact .ic { width: 22px; height: 22px; color: var(--sea); }
.fact small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.fact b { font-size: 16px; font-weight: 600; display: block; }
.block { padding: 40px 0; border-bottom: 1px solid var(--line); }
.block:last-child { border: 0; }
.block h2 { font-family: var(--f-head); font-size: 26px; font-weight: 500; margin-bottom: 18px; }
html[lang="ar"] .block h2 { font-weight: 600; }
.block .desc { font-size: 16.5px; color: var(--ink-2); max-width: 68ch; }
.dl-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; }
.dl-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.dl-facts dt { color: var(--muted); }
.dl-facts dd { margin: 0; font-weight: 600; text-align: end; }
.amen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amen li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--sand); font-size: 14.5px; }
.amen .ic { width: 18px; height: 18px; color: var(--sea); flex: none; }
.prop-map { height: 360px; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--sand-2); }
.map-note { font-size: 13.5px; color: var(--muted); margin-top: 10px; display: flex; gap: 6px; align-items: center; }
.map-note .ic { width: 16px; }
.est { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; }
.est-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.est-row span { color: var(--ink-2); }
.est-row b { font-weight: 600; }
.est-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; }
.est-total span { font-weight: 600; }
.est-total b { font-size: 26px; color: var(--sea-deep); }
.est-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.est .rng { display: block; margin-bottom: 20px; }
.side { position: sticky; top: 100px; display: grid; gap: 16px; }
.agent-card { background: var(--paper); border-radius: var(--r-l); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.ac-top { display: flex; gap: 14px; align-items: center; padding: 22px 24px; background: var(--sea-deep); color: #fff; position: relative; isolation: isolate; }
.ac-top .agent-av { width: 56px; height: 56px; font-size: 20px; background: var(--gold); color: #fff; }
.ac-top small { color: #a8c4c1; font-size: 12.5px; display: block; }
.ac-top b { font-size: 17px; display: block; }
.ac-top span.r { color: #cfe0dd; font-size: 13px; }
.ac-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 24px 0; }
.ac-btns .btn { min-height: 46px; }
.ac-btns .btn svg { width: 18px; height: 18px; }
.btn-wa { background: #1fae54; color: #fff; }
.btn-wa:hover { background: #178a42; }
.book { padding: 20px 24px 24px; display: grid; gap: 12px; }
.book h3 { font-family: var(--f-head); font-size: 22px; font-weight: 500; }
html[lang="ar"] .book h3 { font-weight: 600; }
.book > p { font-size: 14px; color: var(--muted); margin-top: -6px; }
.book .field-b input, .book .field-b select { min-height: 46px; border-radius: 12px; }
.times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.times input { position: absolute; opacity: 0; pointer-events: none; }
.times label { text-align: center; padding: 9px 0; border-radius: 10px; border: 1.5px solid var(--line); font-size: 13px; font-weight: 600; cursor: pointer; transition: .2s; }
.times input:checked + label { background: var(--sea); border-color: var(--sea); color: #fff; }
.times input:focus-visible + label { outline: 2.5px solid var(--gold); }
.side-rera { font-size: 12.5px; color: var(--muted); text-align: center; }
.side-rera bdi { white-space: nowrap; }
.similar { padding: 80px 0 100px; background: var(--sand); }
.similar .grid { grid-template-columns: repeat(4, 1fr); }
.not-found { padding: 120px 0; text-align: center; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(7, 26, 30, .98); display: grid; grid-template-rows: auto 1fr auto; color: #fff; animation: fadeIn .25s; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.lb-count { font-size: 14px; color: #a8c4c1; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #fff; transition: .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 84px; min-height: 0; }
.lb-stage { overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); object-fit: contain; border-radius: 14px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { inset-inline-start: 20px; } .lb-next { inset-inline-end: 20px; }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; padding: 16px; overflow-x: auto; }
.lb-thumbs button { width: 74px; height: 54px; flex: none; border-radius: 10px; overflow: hidden; opacity: .5; border: 2px solid transparent; transition: .2s; }
.lb-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--gold); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; z-index: 130; animation: fadeIn .3s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1280px) {
  .main-nav a { padding: 9px 10px; font-size: 14.5px; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .carousel { grid-auto-columns: calc((100% - 48px) / 3); }
  .header-in { gap: 18px; }
}
@media (max-width: 1140px) {
  .main-nav { display: none; }
  .menu-btn { display: grid; }
  .hero-grid { gap: 32px; }
  .hood { grid-template-columns: 260px 1fr; }
  .hood-panel { grid-template-columns: 1fr; }
  .hp-media { height: 260px; margin: 10px 10px 0; }
  .calc-wrap { grid-template-columns: 1fr; gap: 36px; }
  .layout { grid-template-columns: 260px 1fr; gap: 24px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { grid-template-columns: 1fr; }
  .map-box { position: relative; top: 0; height: 420px; order: -1; }
  .prop-layout { grid-template-columns: 1fr 340px; gap: 32px; }
  .similar .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --gut: 20px; }
  .section { padding: 84px 0; }
  .tb-mid, .tb-mail { display: none !important; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 440px; max-width: 620px; width: 100%; margin-inline: auto; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-go { grid-column: 1 / -1; }
  .sec-head.row { flex-direction: column; align-items: flex-start; }
  .hood { grid-template-columns: 1fr; }
  .hood-list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .hood-list::-webkit-scrollbar { display: none; }
  .hood-list button[aria-selected="true"]::after { display: none; }
  .hood-list button { padding-inline-end: 18px; }
  .smart, .moving, .ll-grid { grid-template-columns: 1fr; gap: 40px; }
  .moving-head { position: static; }
  .projects, .agents, .quotes { grid-template-columns: 1fr 1fr; }
  .projects > :last-child, .agents > :last-child, .quotes > :last-child { grid-column: 1 / -1; }
  .ll-photo { display: none; }
  .cta-in { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
  .layout { grid-template-columns: 1fr; padding-block-start: 24px; }
  .filters { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(380px, 92vw); max-height: none; border-radius: 0; z-index: 110; transform: translateX(-105%); transition: transform .35s var(--ease); align-content: start; padding-bottom: 100px; }
  [dir="rtl"] .filters { transform: translateX(105%); }
  .filters.open { transform: none !important; box-shadow: 0 0 80px rgba(0, 0, 0, .3); }
  .filters .apply { display: flex; position: sticky; bottom: -100px; }
  .filters-backdrop.show { display: block; position: fixed; inset: 0; background: rgba(7, 26, 30, .45); z-index: 105; }
  .filter-toggle { display: inline-flex; }
  .prop-layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .gallery { grid-template-rows: 200px 200px; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  body { font-size: 15.5px; }
  .section { padding: 68px 0; }
  #featured { padding-top: 112px; }
  .topbar-in { justify-content: center; min-height: 34px; font-size: 12px; }
  .tb-end { display: none !important; }
  .header-in { min-height: 68px; gap: 8px; }
  .brand img { height: 46px; }
  .hide-sm { display: none !important; }
  .lang-btn { padding: 0 12px; height: 40px; }
  .lang-btn .ic { display: none; }
  .icon-btn { width: 40px; height: 40px; }
  .hero { padding-top: 32px; }
  .hero-stats { gap: 18px; }
  .hero-stats b { font-size: 26px; }
  .hero-stats span { font-size: 12.5px; }
  .hero-sub { font-size: 16px; }
  .hero-visual { height: 360px; }
  .arch-main { width: 82%; }
  .arch-small { bottom: 30px; width: 40%; height: 42%; border-width: 4px; }
  .hero-float { top: 24px; min-width: 0; padding: 10px 14px; }
  .hero-seal { width: 88px; height: 88px; inset-inline-end: 4px; top: 8px; bottom: auto; }
  .hero-seal img { width: 34px; }
  .search { padding: 14px; margin-top: 28px; border-radius: 22px; }
  .seg { display: flex; }
  .seg label { flex: 1; text-align: center; }
  .search-fields { gap: 8px; }
  .field { padding: 8px 12px 7px; border-radius: 14px; }
  .field select { font-size: 14.5px; }
  .field::after { inset-inline-end: 12px; }
  .search-go { min-height: 54px; }
  .quick { gap: 6px; }
  .quick > span { width: 100%; }
  .sec-head { margin-bottom: 30px; }
  .sec-tools { width: 100%; justify-content: space-between; }
  .tabs button { padding: 8px 13px; font-size: 13.5px; }
  .arrows { display: none; }
  .carousel { grid-auto-columns: 84%; gap: 14px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .hp-body { padding: 22px 20px; }
  .hp-body h3 { font-size: 28px; }
  .hp-media { height: 210px; }
  .dots i { width: 18px; }
  .hp-foot { gap: 18px; }
  .hp-foot .btn { width: 100%; margin: 0; white-space: normal; text-align: center; }
  .compare { grid-template-columns: 1fr; }
  .ewa-card { padding: 26px 20px; }
  .ewa-beds { grid-template-columns: 1fr 1fr; }
  .projects, .agents, .quotes { grid-template-columns: 1fr; }
  .projects > :last-child, .agents > :last-child, .quotes > :last-child { grid-column: auto; }
  .services { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc { padding: 20px 16px 58px; }
  .svc-ic { width: 44px; height: 44px; margin-bottom: 14px; }
  .svc h3 { font-size: 16px; }
  .svc p { font-size: 13.5px; }
  .svc:last-child { grid-column: 1 / -1; }
  .steps::before { inset-inline-start: 23px; }
  .step { grid-template-columns: 48px 1fr; gap: 14px; padding-inline-end: 8px; padding-block: 14px; }
  .step-ic { width: 48px; height: 48px; border-radius: 15px; }
  .step-n { inset-inline-start: 32px; top: 6px; }
  .ll-list { grid-template-columns: 1fr; }
  .ll-form { padding: 24px 18px; }
  .two { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-in, .calc-out { padding: 24px 20px; }
  .co-v { font-size: 36px; }
  .cta-band { padding-bottom: 72px; }
  .cta-in { padding: 34px 22px; border-radius: 26px; }
  .cta-btns, .cta-btns .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .site-footer { padding-top: 56px; padding-bottom: 96px; }
  #floaters { inset-inline-end: 14px; bottom: 14px; }
  .fab-bot { width: 56px; height: 56px; padding: 0 !important; }
  .fab-label { display: none; }
  .fab-wa { width: 50px; height: 50px; }
  .bot { inset: 0; width: 100%; max-width: none; height: 100%; border-radius: 0; }
  /* listings */
  .page-head { padding: 26px 0 20px; }
  .results-bar { gap: 10px; }
  .rb-tools { width: 100%; justify-content: space-between; }
  .sort > span { display: none; }
  .sort { flex: 1; min-width: 0; justify-content: center; }
  .sort .fsel { max-width: 100%; min-width: 0; width: 100%; }
  .views button[data-view="list"] { display: none; }
  .grid, .map-wrap .grid { grid-template-columns: 1fr; gap: 16px; }
  .grid.list .card { flex-direction: column; }
  .grid.list .card-media { width: auto; min-height: 0; aspect-ratio: 4 / 3; margin: 8px 8px 0; }
  .grid.list .card-body { padding: 16px 18px; }
  .map-wrap .card { flex-direction: column; }
  .map-wrap .card-media { width: auto; min-height: 0; aspect-ratio: 16 / 9; margin: 8px 8px 0; }
  .map-wrap .fav-btn { inset-inline-start: auto; inset-inline-end: 18px; }
  .map-box { height: 340px; }
  /* property */
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 110px; border-radius: 20px; margin-inline: calc(var(--gut) * -1); border-radius: 0; }
  .gallery button:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery button:nth-child(2) { grid-column: auto; }
  .gallery button:not(.all-photos):nth-child(n+4) { display: none; }
  .gallery .all-photos { display: inline-flex; bottom: 128px; inset-inline-end: 12px; padding: 8px 12px; font-size: 13px; }
  .prop-head { margin-bottom: 18px; }
  .prop-price { font-size: 28px; }
  .permit-box { margin-inline-start: 0; width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .dl-facts { grid-template-columns: 1fr; }
  .amen { grid-template-columns: 1fr 1fr; }
  .amen li { font-size: 13.5px; padding: 10px 12px; }
  .prop-map { height: 280px; }
  .est { padding: 22px 18px; }
  .similar .grid { grid-template-columns: 1fr; }
  .lb-stage { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: -64px; transform: none; }
  .lb-thumbs { padding-bottom: 80px; justify-content: flex-start; }
}
.gallery.g3 button:nth-child(3) { grid-column: span 2; }
@media (max-width: 640px) { .gallery.g3 button:nth-child(3) { grid-column: auto; } }
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer-grid > .f-brand, .footer-grid > :last-child { grid-column: 1 / -1; }
}
.leaflet-container { direction: ltr; font-family: var(--f-body); }
.leaflet-popup-content { direction: inherit; }
[dir="rtl"] .leaflet-popup-content .pop div { direction: rtl; text-align: right; }
@media (max-width: 640px) { .card-title { min-height: 0; } }
@media (min-width: 641px) and (max-width: 960px) {
  .projects > .proj:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .projects > .proj:last-child .proj-media { aspect-ratio: auto; min-height: 320px; }
}
