/* ═══════════════════════════════════════════════════════════════════════════
   Public property portal — v2 (ported from the approved static prototype).
   Brand: two tokens (--navy, --orange) are printed by the layout from the
   settings portal.brand_primary / portal.brand_accent; every other shade is
   derived from them so another company can re-skin with two colours.
   Element resets live in @layer base (Tailwind's base layer) so the Tailwind
   utilities used by the older portal pages (feedback, blog, my-portal…) win.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --navy: #0A3356; --orange: #F28C28;
  --navy-deep: color-mix(in srgb, var(--navy) 62%, #000);
  --navy-950: color-mix(in srgb, var(--navy) 30%, #000);
  --navy-700: color-mix(in srgb, var(--navy) 82%, #fff);
  --amber: color-mix(in srgb, var(--orange) 70%, #F9C23C);
  --orange-ink: color-mix(in srgb, var(--orange) 70%, #000);
  --ocean: color-mix(in srgb, var(--navy) 55%, #1C9BB5);
  --ink: #0B1B2B; --ink-2: #2D3E50; --slate: #5B6B7D; --muted: #8A97A6; --line: #E4E9EF; --mist: #F4F7FA; --sand: #F8F5F0;
  --wa: #1FAF5A;
  --on-accent: var(--navy-950);
  --cta: linear-gradient(180deg, color-mix(in srgb, var(--orange) 55%, #FFD45A) 0%, var(--orange) 100%);
  --grad: linear-gradient(95deg, #5CC8DC 0%, var(--amber) 60%, var(--orange) 100%);
  --font-d: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-t: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
  --r: 18px; --r-lg: 26px;
  --sh-sm: 0 1px 2px rgba(6, 34, 59, .06), 0 4px 14px -6px rgba(6, 34, 59, .12);
  --sh: 0 2px 6px rgba(6, 34, 59, .05), 0 22px 44px -18px rgba(6, 34, 59, .28);
  --sh-lg: 0 40px 90px -30px rgba(3, 17, 32, .55);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav: 74px; --gut: clamp(16px, 4vw, 32px);
}

@layer base {
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body.pv2 { margin: 0; font-family: var(--font-t); font-size: 16.5px; line-height: 1.65; color: var(--ink); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
  html[lang="ar"] body.pv2 { line-height: 1.8; }
  .pv2 img, .pv2 svg { display: block; max-width: 100%; }
  .pv2 a { color: inherit; text-decoration: none; }
  .pv2 button { font: inherit; color: inherit; cursor: pointer; }
  .pv2 :is(h1, h2, h3, h4) { font-family: var(--font-d); margin: 0; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
  html[lang="ar"] .pv2 :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.35; }
  .pv2 p { margin: 0; text-wrap: pretty; }
  .pv2 :focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
}

[hidden] { display: none !important; }
.skip-link { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--navy); color: #fff !important; font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only-p { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hp { position: absolute; inset-inline-start: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gut); }
.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 18px; height: 18px; } .ic-xs { width: 15px; height: 15px; }
html[dir="rtl"] .flip { transform: scaleX(-1); }
.rot { transform: rotate(180deg); }
html[dir="rtl"] .flip.rot { transform: none; }

/* Buttons */
.pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0; font-family: var(--font-d); font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, color .2s; cursor: pointer; }
.pbtn:hover { transform: translateY(-2px); }
.pbtn[disabled] { opacity: .65; cursor: progress; transform: none; }
.pbtn-cta { background: var(--cta); color: var(--on-accent) !important; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--orange) 70%, transparent); }
.pbtn-dark { background: var(--navy); color: #fff !important; }
.pbtn-dark:hover { background: var(--navy-700); }
.pbtn-ghost { background: #fff; color: var(--navy) !important; box-shadow: inset 0 0 0 1.5px var(--line); }
.pbtn-glass { background: rgba(255, 255, 255, .1); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); backdrop-filter: blur(8px); }
.pbtn-wa { background: var(--wa); color: #fff !important; }
.pbtn-block { width: 100%; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.pnav { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); transition: background-color .3s, border-color .3s; }
.pnav.over { position: fixed; inset-inline: 0; background: transparent; border-color: rgba(255, 255, 255, .12); backdrop-filter: none; }
.pnav.over.scrolled, .pnav.open { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.6) blur(16px); border-color: var(--line); }
.pnav-in { height: var(--nav); display: flex; align-items: center; gap: 24px; }
.plogo { display: flex; align-items: center; flex: none; min-width: 0; }
.plogo img { height: 42px; width: auto; max-width: 190px; object-fit: contain; transition: filter .3s; }
.plogo-txt { font-family: var(--font-d); font-weight: 700; font-size: 1.25rem; color: var(--navy); white-space: nowrap; transition: color .3s; }
/* Over the dark hero the company logo is shown white until the bar turns solid. */
.pnav.over:not(.scrolled):not(.open) .plogo img { filter: brightness(0) invert(1); }
.pnav.over:not(.scrolled):not(.open) .plogo-txt { color: #fff; }
.plinks { display: flex; gap: 2px; flex: 1; min-width: 0; }
.plinks a, .plinks button { padding: 9px 12px; border-radius: 10px; font-family: var(--font-d); font-weight: 500; font-size: 15px; color: var(--ink-2); white-space: nowrap; transition: background-color .2s, color .2s; border: 0; background: none; }
.plinks a:hover { background: var(--mist); color: var(--navy); }
.plinks a[aria-current="page"] { color: var(--navy); font-weight: 600; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 10px 10px 0 0; }
.plinks .pl-mob { display: none; }
.pnav.over:not(.scrolled):not(.open) .plinks a { color: rgba(255, 255, 255, .88); }
.pnav.over:not(.scrolled):not(.open) .plinks a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.pact { display: flex; align-items: center; gap: 10px; flex: none; }
.pact-form { display: contents; }
.pact-txt { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 6px; border: 0; background: none; font-family: var(--font-d); font-weight: 500; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
.pact-txt:hover { color: var(--navy); }
.pnav.over:not(.scrolled):not(.open) .pact-txt { color: rgba(255, 255, 255, .9); }
.saved-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); }
.saved-n { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--orange); color: var(--on-accent); font: 700 11px/20px var(--font-d); text-align: center; transform: scale(0); transition: transform .3s var(--ease); }
.saved-n.has { transform: scale(1); }
.lang { display: inline-grid; place-items: center; height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px; color: var(--navy); font-family: "IBM Plex Sans Arabic", var(--font-d); white-space: nowrap; }
.pnav.over:not(.scrolled):not(.open) :is(.saved-btn, .lang, .pmenu) { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }
.pmenu { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; place-items: center; color: var(--navy); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.phero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; padding: calc(var(--nav) + 40px) 0 0; background: var(--navy-950); }
.ph-img { position: absolute; inset: 0; will-change: transform; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: kb 16s var(--ease) forwards; }
@keyframes kb { to { transform: scale(1); } }
.ph-ov { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 17, 32, .82) 0%, rgba(3, 17, 32, .45) 45%, rgba(3, 17, 32, 0) 75%), linear-gradient(180deg, rgba(3, 17, 32, .5) 0%, rgba(3, 17, 32, .15) 35%, rgba(3, 17, 32, .7) 78%, rgba(3, 17, 32, .95) 100%); }
html[dir="rtl"] .ph-ov { background: linear-gradient(270deg, rgba(3, 17, 32, .82) 0%, rgba(3, 17, 32, .45) 45%, rgba(3, 17, 32, 0) 75%), linear-gradient(180deg, rgba(3, 17, 32, .5) 0%, rgba(3, 17, 32, .15) 35%, rgba(3, 17, 32, .7) 78%, rgba(3, 17, 32, .95) 100%); }
.ph-in { position: relative; display: grid; gap: 22px; padding-bottom: 40px; }
.eyebrow-p { display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); font-family: var(--font-d); font-size: 13.5px; font-weight: 500; }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 25%, transparent); }
.phero h1 { font-size: clamp(2.5rem, 6.2vw, 5.2rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; max-width: 16ch; color: #fff; }
html[lang="ar"] .phero h1 { letter-spacing: 0; line-height: 1.25; }
.phero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-lead { max-width: 40rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #DCE6F0; }
.search { margin-top: 10px; background: rgba(255, 255, 255, .98); color: var(--ink); border-radius: 22px; padding: 10px 10px 14px; box-shadow: var(--sh-lg); max-width: 1080px; }
.s-tabs { display: flex; gap: 4px; padding: 4px; margin: 4px 4px 10px; background: var(--mist); border-radius: 12px; width: fit-content; }
.s-tabs label { cursor: pointer; position: relative; }
.s-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.s-tabs span { display: block; padding: 8px 18px; border-radius: 9px; font-family: var(--font-d); font-weight: 500; font-size: 14.5px; color: var(--slate); transition: background-color .2s, color .2s, box-shadow .2s; }
.s-tabs input:checked + span { background: #fff; color: var(--navy); font-weight: 600; box-shadow: var(--sh-sm); }
.s-tabs input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.s-row { display: grid; grid-template-columns: 1.6fr 1fr .8fr 1fr auto; gap: 6px; align-items: stretch; }
.s-f { display: grid; gap: 2px; padding: 8px 14px; border-radius: 14px; background: var(--mist); position: relative; transition: background-color .2s, box-shadow .2s; min-width: 0; }
.s-f:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--ocean); }
.s-l { font-family: var(--font-d); font-size: 12px; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }
html[lang="ar"] .s-l { text-transform: none; letter-spacing: 0; font-size: 13px; }
.s-f input, .s-f select { border: 0; background: transparent; font: inherit; font-size: 15.5px; color: var(--ink); padding: 2px 0; outline: none; width: 100%; min-width: 0; box-shadow: none; }
.s-q { padding-inline-start: 42px; }
.s-q > .ic { position: absolute; inset-inline-start: 14px; top: 50%; translate: 0 -50%; color: var(--slate); }
.s-go { min-height: 100%; padding: 0 26px; border-radius: 14px; }
.s-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 8px 0; font-size: 13.5px; color: var(--slate); }
.s-pop a { padding: 5px 12px; border-radius: 999px; background: var(--mist); color: var(--navy); font-weight: 500; transition: background-color .2s; }
.s-pop a:hover { background: #E3EAF2; }
.ph-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 22px 28px; }
.ph-stats div { padding-inline: 20px; border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.ph-stats div:first-child { border: 0; padding-inline-start: 0; }
.ph-stats b { display: block; font-family: var(--font-d); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; direction: ltr; unicode-bidi: isolate; text-align: start; }
html[dir="rtl"] .ph-stats b { text-align: right; }
.ph-stats span { color: #B9C8D7; font-size: 14px; }

/* ── Sections ──────────────────────────────────────────────────────────── */
.psec { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.psec-tint { background: var(--mist); }
.psec-dark { background: linear-gradient(180deg, var(--navy-deep), var(--navy-950)); color: #fff; }
.ps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(26px, 3.6vw, 42px); }
.ps-head.center { justify-content: center; text-align: center; }
.ps-head h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 700; margin-top: 8px; color: var(--ink); }
.ps-head p.ps-sub { margin-top: 8px; color: var(--slate); max-width: 40rem; }
.psec-dark .ps-head h2 { color: #fff; }
.kick { font-family: var(--font-d); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ocean); }
html[lang="ar"] .kick { letter-spacing: 0; font-size: 14.5px; text-transform: none; }
.kick-l { color: var(--amber); }
.lnk { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-d); font-weight: 600; color: var(--ocean) !important; white-space: nowrap; }
.ps-nav { display: flex; gap: 8px; }
.rnd { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--navy); transition: background-color .2s, color .2s, border-color .2s; }
.rnd:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { position: relative; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; display: flex; flex-direction: column; min-width: 0; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: transparent; }
.c-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.c-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s, transform 1.2s var(--ease); }
.c-media img.on { opacity: 1; }
.pcard:hover .c-media img.on { transform: scale(1.06); }
.c-media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(3, 17, 32, .35)); pointer-events: none; }
/* Branded placeholder for a unit without photos */
.c-ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; background: radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--orange) 28%, transparent), transparent 60%), linear-gradient(150deg, var(--navy-700), var(--navy-950)); color: rgba(255, 255, 255, .55); text-align: center; padding: 16px; }
.c-ph .ic { width: 44px; height: 44px; color: rgba(255, 255, 255, .4); }
.c-ph span { font-family: var(--font-d); font-weight: 600; font-size: 13px; letter-spacing: .04em; color: rgba(255, 255, 255, .7); max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-badges { position: absolute; top: 14px; inset-inline-start: 14px; inset-inline-end: 64px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.badge { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font: 600 12px/1.2 var(--font-d); background: rgba(255, 255, 255, .95); color: var(--navy); box-shadow: var(--sh-sm); }
.badge-sale { background: var(--navy); color: #fff; }
.badge-rent { background: #fff; color: var(--navy); }
.badge-soon { background: var(--amber); color: var(--on-accent); }
.badge-ok { background: #E3F6EC; color: #157347; box-shadow: none; }
.c-dots { position: absolute; bottom: 12px; inset-inline: 0; display: flex; justify-content: center; gap: 5px; z-index: 2; }
.c-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background-color .2s, width .2s; }
.c-dots i.on { background: #fff; width: 16px; border-radius: 3px; }
.fav { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); display: grid; place-items: center; box-shadow: var(--sh-sm); transition: transform .2s var(--ease), color .2s; }
.fav .ic { width: 19px; height: 19px; }
.fav:hover { transform: scale(1.08); }
.fav.on { color: #E0452F; }
.fav.on .ic { fill: currentColor; }
.fav.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.3); } }
.c-body { display: grid; gap: 6px; padding: 18px 20px 20px; flex: 1; align-content: start; }
.c-price { font-family: var(--font-d); color: var(--navy); font-size: 14px; }
.c-price b { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; }
.c-price small { color: var(--slate); font-size: 13px; }
.c-price .c-por { font-size: 1.05rem; font-weight: 600; }
.pcard h3 { font-size: 1.02rem; font-weight: 600; color: var(--ink); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.c-sub { color: var(--slate); font-size: 13.5px; }
.c-loc { display: flex; align-items: center; gap: 6px; color: var(--slate); font-size: 14px; min-width: 0; }
.c-loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-loc .ic { color: var(--ocean); }
.c-specs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.c-specs > span { display: inline-flex; align-items: center; gap: 6px; }
.c-specs .ic { color: var(--muted); }
.rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(var(--gut), calc((100vw - 1280px) / 2 + var(--gut))) 26px; scrollbar-width: none; scroll-padding-inline: max(var(--gut), calc((100vw - 1280px) / 2 + var(--gut))); }
.rail::-webkit-scrollbar { display: none; }
.rail .pcard { flex: 0 0 min(380px, 82vw); scroll-snap-align: start; }
.rail .card-lg { flex-basis: min(440px, 84vw); }

/* Types / areas */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.type-tile { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; color: #fff !important; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; isolation: isolate; }
.type-tile img, .area-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.type-tile:hover img, .area-tile:hover img { transform: scale(1.08); }
.tt-ov, .at-ov { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 17, 32, 0) 30%, rgba(3, 17, 32, .85)); }
.tt-ic { position: absolute; top: 18px; inset-inline-start: 18px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .25); }
.type-tile b { font-family: var(--font-d); font-size: 1.25rem; }
.type-tile small, .area-tile small { color: #D4DEE8; font-size: 13.5px; }
.areas { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.area-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff !important; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 22px; isolation: isolate; }
.area-xl { grid-column: span 2; grid-row: span 2; }
.area-full { grid-column: 1 / -1; grid-row: span 2; }
.area-half { grid-column: span 2; grid-row: span 2; }
.area-full .at-txt b, .area-half .at-txt b { font-size: 2rem; }
.at-txt { min-width: 0; }
.at-txt b { display: block; font-family: var(--font-d); font-size: 1.3rem; }
.area-xl .at-txt b { font-size: 2rem; }
.at-go { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .3); transition: background-color .25s, color .25s; }
.area-tile:hover .at-go { background: #fff; color: var(--navy); }

/* Why */
.why-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why-head { display: grid; gap: 16px; align-content: start; }
.why-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
.why-head p { color: var(--slate); font-size: 1.08rem; }
.why-head .pbtn { width: fit-content; margin-top: 10px; }
.why-pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.why-pts li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-weight: 500; }
.why-pts .ic { color: #157347; margin-top: 4px; }
.whys { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why { padding: 26px; border-radius: var(--r-lg); background: var(--mist); display: grid; gap: 10px; align-content: start; }
.why-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--ocean); box-shadow: var(--sh-sm); }
.why h3 { font-size: 1.08rem; font-weight: 600; margin-top: 6px; }
.why p { color: var(--slate); font-size: 14.5px; }

/* Testimonials */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi { margin: 0; padding: 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 16px; align-content: space-between; }
.stars { display: flex; gap: 3px; color: var(--amber); }
.testi blockquote { margin: 0; font-family: var(--font-d); font-size: 1.12rem; line-height: 1.55; color: #EAF0F6; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.av { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-accent); font: 700 17px var(--font-d); }
.testi b { display: block; font-family: var(--font-d); }
.testi small { color: #9FB2C5; }

/* Owner CTA */
.owner-cta { position: relative; border-radius: 34px; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.owner-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.oc-ov { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 17, 32, .9) 0%, rgba(3, 17, 32, .55) 55%, rgba(3, 17, 32, .1)); }
html[dir="rtl"] .oc-ov { background: linear-gradient(270deg, rgba(3, 17, 32, .9) 0%, rgba(3, 17, 32, .55) 55%, rgba(3, 17, 32, .1)); }
.oc-in { padding: clamp(28px, 5vw, 64px); max-width: 640px; display: grid; gap: 16px; }
.oc-in h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: #fff; }
.oc-in p { color: #D4DEE8; font-size: 1.08rem; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ── Listings page ─────────────────────────────────────────────────────── */
.lhead { padding: 36px 0 26px; background: linear-gradient(180deg, var(--mist), #fff); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--slate); margin-bottom: 14px; }
.crumbs a:hover { color: var(--navy); }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; max-width: 22rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr { transform: rotate(-90deg); color: var(--muted); }
html[dir="rtl"] .cr { transform: rotate(90deg); }
.lh-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lhead h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
.lh-count { color: var(--slate); margin-top: 6px; }
.lh-count b { color: var(--navy); font-family: var(--font-d); }
.seg { display: flex; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 9px 20px; border-radius: 9px; font: 500 15px var(--font-d); color: var(--slate); }
.seg button.on { background: var(--navy); color: #fff; }
.lsearch { margin-top: 20px; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 54px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--sh-sm); transition: border-color .2s; }
.lsearch:focus-within { border-color: var(--ocean); }
.lsearch .ic { color: var(--slate); }
.lsearch input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 16px; background: transparent; box-shadow: none; }
.lbody { padding: 30px 0 90px; }
.lgrid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 30px; align-items: start; }
.filters { position: sticky; top: calc(var(--nav) + 18px); display: grid; gap: 4px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; max-height: calc(100vh - var(--nav) - 36px); overflow-y: auto; }
.f-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-family: var(--font-d); font-size: 1.05rem; }
.f-reset { border: 0; background: none; color: var(--ocean); font-weight: 600; font-size: 14px; }
.f-grp { padding: 16px 0; border-bottom: 1px solid var(--line); border-inline: 0; border-top: 0; margin: 0; min-width: 0; }
.f-grp:last-of-type { border: 0; }
.f-grp h3, .f-grp legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--ink-2); padding: 0; font-family: var(--font-d); }
.chips, .pills { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .pill { cursor: pointer; position: relative; }
.chip input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; transition: border-color .2s, background-color .2s, color .2s; }
.chip small { color: var(--muted); font-size: 12px; }
.chip:has(input:checked) { border-color: var(--navy); background: var(--navy); color: #fff; }
.chip:has(input:checked) small { color: rgba(255, 255, 255, .7); }
.chip:has(input:focus-visible), .pill:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 10px; }
.pill span { display: grid; place-items: center; min-width: 44px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; transition: border-color .2s, background-color .2s, color .2s; }
.pill input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; color: var(--muted); }
.range input { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; font-size: 15px; direction: ltr; }
.chks { display: grid; gap: 4px; }
.chk { display: flex; align-items: center; gap: 10px; padding: 6px 2px; font-size: 14.5px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.chk small { margin-inline-start: auto; color: var(--muted); }
.f-apply, .f-open { display: none; }
.f-scrim { display: none; }
.r-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.r-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.rc { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; background: #EAF1F7; color: var(--navy); font-size: 13.5px; font-weight: 500; border: 0; max-width: 100%; }
.rc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 14rem; }
html[dir="rtl"] .rc { padding: 6px 12px 6px 8px; }
.rc .ic { width: 14px; height: 14px; }
.rc-clear { background: none; color: var(--ocean); text-decoration: underline; }
.r-tools { display: flex; gap: 10px; align-items: center; margin-inline-start: auto; }
.sort { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); color: var(--slate); }
.sort select { border: 0; background: transparent; font: inherit; font-size: 14.5px; color: var(--ink); outline: none; box-shadow: none; padding-block: 0; }
.views { display: flex; padding: 3px; border-radius: 12px; border: 1.5px solid var(--line); }
.views button { width: 38px; height: 36px; border: 0; background: none; border-radius: 9px; display: grid; place-items: center; color: var(--slate); }
.views button.on { background: var(--navy); color: #fff; }
.grid-results { grid-template-columns: repeat(3, 1fr); transition: opacity .2s; }
.grid-results.list { grid-template-columns: 1fr; }
.grid-results.list .pcard { flex-direction: row; }
.grid-results.list .c-media { width: 42%; flex: none; aspect-ratio: auto; min-height: 240px; }
.grid-results.list .c-body { align-content: center; padding: 26px; }
.is-loading .grid-results { opacity: .55; }
.map-view { border-radius: var(--r-lg); overflow: hidden; height: 640px; box-shadow: var(--sh); }
.map-view iframe { width: 100%; height: 100%; border: 0; }
.empty { text-align: center; padding: 70px 20px; border-radius: var(--r-lg); border: 1.5px dashed var(--line); display: grid; justify-items: center; gap: 12px; }
.e-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--slate); }
.empty p { color: var(--slate); max-width: 30rem; }
.empty .btns { justify-content: center; }

/* Pagination */
.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 34px; }
.pager > button, .pager > span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; display: inline-grid; place-items: center; font: 600 14.5px var(--font-d); color: var(--ink-2); }
.pager > button:hover { border-color: var(--navy); color: var(--navy); }
.pager .on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .dis { opacity: .45; cursor: default; }
.pager .gap { border: 0; background: none; min-width: 24px; }

/* ── Unit / property page ──────────────────────────────────────────────── */
.u-top { padding: 26px 0 0; }
.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 10px; border-radius: var(--r-lg); overflow: hidden; }
.gallery > button { border: 0; padding: 0; overflow: hidden; background: var(--mist); cursor: zoom-in; min-width: 0; }
.gallery > button img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery > button:hover img { transform: scale(1.05); }
.g-main { grid-row: span 2; }
.gallery.g1 { grid-template-columns: 1fr; grid-template-rows: 480px; }
.gallery.g1 .g-main { grid-row: auto; }
.gallery.g2 { grid-template-columns: 2fr 1fr; }
.gallery.g2 .g-th { grid-row: span 2; }
.gallery.g3 { grid-template-columns: 2fr 1fr; }
.gallery .g-wide { grid-column: span 2; }
.g-all { position: absolute !important; bottom: 16px; inset-inline-end: 16px; display: inline-flex !important; align-items: center; gap: 8px; padding: 10px 16px !important; border-radius: 12px; background: #fff !important; color: var(--navy); font: 600 14px var(--font-d); box-shadow: var(--sh); cursor: pointer !important; }
.g-badge { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; pointer-events: none; }
.g-empty { position: relative; height: 380px; border-radius: var(--r-lg); overflow: hidden; }
.g-empty .c-ph .ic { width: 64px; height: 64px; }
.u-body { padding: 34px 0 80px; }
.ugrid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.u-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.u-badges .badge { box-shadow: none; }
.u-badges .badge-rent { background: #EAF1F7; }
.u-badges .badge-soon { background: #FDF0D5; color: #8A5A00; }
.u-ref { margin-inline-start: auto; color: var(--slate); font-size: 13.5px; }
.u-ref b { font-family: ui-monospace, Consolas, monospace; color: var(--ink-2); }
.u-main h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; margin-top: 14px; }
.u-loc { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--slate); margin-top: 8px; }
.u-loc .ic { color: var(--ocean); }
.u-loc a { color: var(--ocean); font-weight: 500; }
.u-loc a:hover { text-decoration: underline; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 26px; }
.facts > div { padding: 16px; border-radius: var(--r); background: var(--mist); display: grid; gap: 2px; min-width: 0; }
.f-ic { color: var(--ocean); margin-bottom: 6px; }
.facts b { font-family: var(--font-d); font-size: 1.2rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.facts small { color: var(--slate); font-size: 13px; }
.u-block { padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--line); }
.u-block h2 { font-size: 1.4rem; font-weight: 650; margin-bottom: 16px; }
.u-desc { color: var(--ink-2); font-size: 1.05rem; line-height: 1.8; white-space: pre-line; }
.u-more { margin-top: 10px; border: 0; background: none; padding: 0; color: var(--ocean); font-weight: 600; }
.clamp4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.dtable { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin: 0; }
.dtable > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.dtable dt { color: var(--slate); }
.dtable dd { margin: 0; font-weight: 600; color: var(--ink); text-align: end; }
.amen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amen li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 14.5px; }
.amen .ic { color: #157347; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plans img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.tour { width: 100%; height: 360px; border: 0; border-radius: var(--r-lg); }
.calc-l { display: flex; gap: 8px; align-items: center; margin: 14px 0 10px; color: var(--ink-2); font-weight: 500; }
.calc input[type="range"] { width: 100%; accent-color: var(--navy); }
.calc-out { margin-top: 18px; padding: 18px 20px; border-radius: var(--r); background: var(--navy); color: #fff; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.calc-out b { font: 700 1.6rem var(--font-d); margin-inline-start: auto; }
.calc-note { margin-top: 10px; color: var(--muted); font-size: 13px; }
.u-map { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--mist); }
.u-map iframe { width: 100%; height: 100%; border: 0; }
.u-side { position: sticky; top: calc(var(--nav) + 20px); display: grid; gap: 16px; min-width: 0; }
.price-card { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); display: grid; gap: 16px; }
.pc-price { font-family: var(--font-d); color: var(--navy); }
.pc-price b { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.pc-price small { color: var(--slate); }
.pc-btns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.pc-btns > :only-child { grid-column: 1 / -1; }
.pc-mini { display: flex; gap: 8px; }
.mini { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 500; font-size: 14px; position: static; box-shadow: none; width: auto; color: var(--ink-2); }
.mini.fav { inset: auto; }
.mini.fav:hover { transform: none; }
.mini.fav.on { color: #E0452F; border-color: #F6C8C0; }
.mini.fav.on .ic { fill: currentColor; }
.agent { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); min-width: 0; }
.agent img.ag-av { object-fit: cover; }
.ag-av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font: 700 18px var(--font-d); color: var(--on-accent); flex: none; }
.agent > span:last-child { min-width: 0; }
.agent b { display: block; font-family: var(--font-d); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent small { color: var(--slate); font-size: 13px; display: block; }
.agent-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; }
.agent-links a { color: var(--ocean); font-weight: 500; overflow-wrap: anywhere; }
.book { padding: 24px; border-radius: var(--r-lg); background: var(--mist); display: grid; gap: 12px; position: relative; }
.book h3 { font-size: 1.15rem; }
.fld { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); min-width: 0; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ocean) 14%, transparent); }
.fld [aria-invalid="true"] { border-color: #C2410C; }
html[dir="rtl"] .fld input[dir="ltr"] { text-align: right; }
.ferr { color: #B42318; font-size: 13px; font-weight: 500; }
.falert { padding: 12px 14px; border-radius: 12px; background: #FEF3E2; color: #8A4B00; border: 1px solid #F8D9A8; font-size: 14px; }
.book-ok { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #E3F6EC; color: #157347; font-weight: 500; font-size: 14.5px; }
.book-ok .ic { margin-top: 3px; }
.side-list { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; display: grid; gap: 8px; }
.side-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.side-list a.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; transition: border-color .2s, background-color .2s; }
.side-list a.row:hover { border-color: var(--navy); background: var(--mist); }
.side-list a.row b { color: var(--navy); font-family: var(--font-d); white-space: nowrap; }
.side-list a.row small { color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(3, 17, 32, .94); display: grid; place-items: center; }
.lightbox img { max-width: 88vw; max-height: 84vh; border-radius: 14px; object-fit: contain; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-x { top: 22px; inset-inline-end: 22px; }
.lb-p { inset-inline-start: 22px; top: 50%; translate: 0 -50%; }
.lb-n { inset-inline-end: 22px; top: 50%; translate: 0 -50%; }
.lb-c { position: absolute; bottom: 24px; color: #C9D6E3; font-family: var(--font-d); direction: ltr; }
body.lb-open { overflow: hidden; }

/* ── Contact ───────────────────────────────────────────────────────────── */
.c-hero { padding: 56px 0 30px; background: linear-gradient(180deg, var(--mist), #fff); }
.c-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.c-grid > div { display: grid; gap: 16px; min-width: 0; }
.c-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700; }
.c-lead { color: var(--slate); font-size: 1.1rem; }
.c-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.c-card { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s var(--ease); min-width: 0; }
a.c-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.c-card > span:last-child { min-width: 0; }
.cc-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--ocean); flex: none; }
.cc-ic.wa { background: #E3F6EC; color: var(--wa); }
.c-card b { display: block; font-family: var(--font-d); }
.c-card small { color: var(--slate); font-size: 13.5px; line-height: 1.5; display: block; overflow-wrap: anywhere; }
.c-perks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.c-perks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 14.5px; }
.c-perks .ic { color: #157347; margin-top: 4px; }
.c-perks b { font-family: var(--font-d); font-weight: 600; }
.c-form { padding: clamp(24px, 3.6vw, 36px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-lg); border: 1px solid var(--line); display: grid; gap: 14px; position: relative; }
.c-form h2 { font-size: 1.5rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.c-note { display: flex; align-items: center; gap: 8px; color: var(--slate); font-size: 13px; }
.c-done { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 30px 10px; }
.c-done .e-ic { background: #E3F6EC; color: #157347; }
.c-map { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 6; box-shadow: var(--sh); background: var(--mist); }
.c-map iframe { width: 100%; height: 100%; border: 0; }

/* ── Footer + floating ─────────────────────────────────────────────────── */
.pfoot { background: var(--navy-950); color: #C9D6E3; padding: 70px 0 0; }
.pfoot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.pf-brand img { height: 48px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 16px; filter: brightness(0) invert(1); }
.pf-name { font-family: var(--font-d); font-weight: 700; font-size: 1.4rem; color: #fff; margin-bottom: 12px !important; }
.pf-brand p { color: #93A7BC; font-size: 14.5px; max-width: 320px; }
.pf-social { display: flex; gap: 8px; margin-top: 18px; }
.pf-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #C9D6E3; transition: background-color .2s, color .2s; }
.pf-social a:hover { background: var(--orange); color: var(--on-accent); }
.pf-social svg { width: 17px; height: 17px; }
.pfoot .pf-h { color: #fff; font-size: 15px; margin-bottom: 14px; }
.pfoot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.pfoot a:hover { color: #fff; }
.pf-contact li { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.pf-contact li > :last-child { min-width: 0; overflow-wrap: anywhere; }
.pf-contact .ic { color: var(--amber); margin-top: 3px; }
.pf-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 50px; padding-block: 22px 96px; border-top: 1px solid rgba(255, 255, 255, .08); color: #7F93A8; font-size: 13px; }
.wa-fab { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 70; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 28px; background: var(--wa); color: #fff !important; font: 600 15px var(--font-d); box-shadow: 0 16px 34px -10px rgba(31, 175, 90, .6); transition: transform .2s var(--ease); }
html[dir="rtl"] .wa-fab { padding: 0 16px 0 20px; }
.wa-fab:hover { transform: translateY(-3px); }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 175, 90, .5); animation: ring 2.4s infinite; }
@keyframes ring { 70%, 100% { box-shadow: 0 0 0 16px rgba(31, 175, 90, 0); } }
.toast { position: fixed; bottom: 92px; left: 50%; translate: -50% 20px; z-index: 90; padding: 12px 20px; border-radius: 12px; background: var(--navy-950); color: #fff; font-weight: 500; font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .3s, translate .3s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; translate: -50% 0; }

/* Motion */
.rise { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(36px); filter: blur(5px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1220px) {
  .pact-txt span { display: none; }
  .plinks a { padding: 9px 9px; font-size: 14.5px; }
}
@media (max-width: 1100px) {
  .pgrid, .grid-results { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .s-row { grid-template-columns: 1fr 1fr; }
  .s-q { grid-column: 1 / -1; }
  .s-go { grid-column: 1 / -1; min-height: 52px; }
  .pact .pbtn-cta { display: none; }
}
@media (max-width: 960px) {
  .plinks { position: fixed; inset: var(--nav) 0 auto; flex-direction: column; padding: 14px var(--gut) 22px; background: #fff; border-bottom: 1px solid var(--line); display: none; max-height: calc(100vh - var(--nav)); overflow-y: auto; box-shadow: var(--sh); }
  .pnav.open .plinks { display: flex; }
  .plinks a, .plinks button { color: var(--ink-2) !important; font-size: 17px; padding: 12px; text-align: start; }
  .plinks .pl-mob { display: block; }
  .plinks form.pl-mob button { width: 100%; }
  .plinks a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); border-radius: 0 10px 10px 0; }
  html[dir="rtl"] .plinks a[aria-current="page"] { box-shadow: inset -3px 0 0 var(--orange); border-radius: 10px 0 0 10px; }
  .pact-txt, .pact-form { display: none; }
  .pmenu { display: grid; }
  .pnav-in { justify-content: space-between; }
  .lgrid, .ugrid, .why-wrap, .c-grid { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0; top: auto; z-index: 80; max-height: 86vh; border-radius: 24px 24px 0 0; transform: translateY(105%); transition: transform .4s var(--ease); box-shadow: var(--sh-lg); visibility: hidden; }
  .filters.open { transform: none; visibility: visible; }
  .f-scrim.open { display: block; position: fixed; inset: 0; z-index: 79; background: rgba(3, 17, 32, .45); }
  .f-apply { display: inline-flex; margin-top: 10px; }
  .f-open { display: inline-flex; }
  .u-side { position: static; }
  .testis { grid-template-columns: 1fr; }
  .pfoot-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-rows: 200px 200px; }
}
@media (max-width: 640px) {
  .ph-stats { grid-template-columns: repeat(2, 1fr); gap: 14px 0; }
  .ph-stats div:nth-child(3) { border: 0; padding-inline-start: 0; }
  .s-row { grid-template-columns: 1fr; }
  .types { grid-template-columns: repeat(2, 1fr); }
  .pgrid, .grid-results, .areas, .whys, .amen, .c-cards, .two, .dtable, .plans { grid-template-columns: 1fr; }
  .area-xl, .area-full, .area-half { grid-column: auto; grid-row: span 1; }
  .gallery { grid-template-columns: 1fr !important; grid-template-rows: 300px !important; }
  .gallery .g-th { display: none; }
  .gallery .g-main { grid-row: auto; }
  .grid-results.list .pcard { flex-direction: column; }
  .grid-results.list .c-media { width: 100%; aspect-ratio: 4 / 3; min-height: 0; }
  .pfoot-grid { grid-template-columns: 1fr; }
  .wa-fab span { display: none; }
  .wa-fab { width: 56px; padding: 0 !important; justify-content: center; }
  .lang { padding: 0 10px; }
  .saved-btn { display: none; }
  .ps-nav { display: none; }
  .ps-head { flex-wrap: wrap; }
  .plogo img { max-width: 140px; height: 36px; }
  .pc-btns { grid-template-columns: 1fr; }
  .r-tools { width: 100%; justify-content: space-between; margin-inline-start: 0; }
  .lightbox button.lb-p, .lightbox button.lb-n { top: auto; bottom: 16px; translate: none; }
  .c-map { aspect-ratio: 4 / 3; }
  .owner-cta { min-height: 420px; border-radius: 24px; }
}
