/* Loqta — public resale listings for Square Real Estate.
   Layout follows propertyfinder.eg (sticky filter bar, horizontal result
   cards, spec strip, sticky agent panel); brand, colours and logo follow
   the Loqta design handoff (Nile green, sand, saffron). */

/* Typefaces, served from this site: the CSP allows fonts from 'self' only,
   and a third-party font host would learn every visitor. Redesign
   (2026-10-16): IBM Plex Sans for English text, Fraunces for English
   headlines, IBM Plex Sans Arabic for every Arabic word. */
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:100 700;font-display:swap;
  src:url("/assets/fonts/plex-sans-var-latin.woff2") format("woff2")}
@font-face{font-family:"Fraunces";font-style:normal;font-weight:600;font-display:swap;
  src:url("/assets/fonts/fraunces-600-latin.woff2") format("woff2")}
@font-face{font-family:"Fraunces";font-style:normal;font-weight:700;font-display:swap;
  src:url("/assets/fonts/fraunces-700-latin.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:500;font-display:swap;
  src:url("/assets/fonts/plex-arabic-500.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:700;font-display:swap;
  src:url("/assets/fonts/plex-arabic-700.woff2") format("woff2")}

:root{
  /* Redesign (2026-10-16, design/loqta-redesign §2): navy and sand. The old
     names (--navy, --saffron, --cream …) keep working and now hold the new
     palette, so every listings, card and unit-page rule follows it. */
  --lq-navy:#0E1B33; --lq-sand:#D6A86E; --lq-sand-light:#E9C99A; --lq-cream:#FBF8F2; --lq-field:#F4F1EA;
  --lq-border:#CFC8B8; --lq-muted:#4A5468; --lq-muted-ar:#5B6477;
  --lq-success-bg:#E7F3EC; --lq-success:#1F7A4D; --lq-error:#B42318;
  --lq-font-display-en:"Fraunces",Georgia,serif;
  --lq-font-body-en:"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --lq-font-ar:"IBM Plex Sans Arabic",ui-sans-serif,system-ui,Tahoma,sans-serif;

  --nile-green:#0E1B33; --saffron:#D6A86E; --saffron-text:#9A6A2E; --sand:#FBF8F2; --limestone:#F4F1EA;
  --navy:#0E1B33; --navy-dk:#081020; --navy-soft:#EEF0F5;
  --cream:#FBF8F2; --gold:#9A6A2E; --gold-soft:#FBF3E6;
  --green:#1F7A4D; --ink:#0E1B33; --muted:#4A5468; --line:#E6E0D3;
  --radius:14px; --shadow:0 1px 3px rgba(14,27,51,.08),0 4px 16px rgba(14,27,51,.06);
  --head-h:84px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--ink);font:15px/1.55 var(--lq-font-body-en)}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{margin:0;line-height:1.25;font-weight:700}
/* Headlines in the logo's Fraunces; everything else stays on the system font. */
h1,h2{font-family:"Fraunces",Georgia,serif;font-weight:600;letter-spacing:-.02em;color:var(--navy)}
ul{margin:0;padding:0;list-style:none}
.wrap{max-width:1200px;margin:0 auto;padding:0 16px}

/* ---------- filter bar — Property Finder's layout (2026-10-16) ----------
   A white card: title and count, a full-width search, then pill buttons that
   open dropdowns of chips (Property type, Bedrooms, Price with down payment),
   the Any / Off-plan / Ready switch, "Filters" (a side drawer) and sort; quick
   type chips underneath. Phones: see the "phones" block below. */
.filter-bar{background:var(--lq-cream);padding:22px 0 6px}
.pf{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 10px 30px rgba(14,27,51,.07);
  padding:22px 24px 18px;display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.pf-head{order:1;flex:1 1 100%;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.pf-head h1{font-size:26px;margin:0}
.pf-count{color:var(--muted);font-size:15px}
.fsearch{order:2;flex:1 1 100%;position:relative;display:flex;align-items:center}
.fsearch>svg{position:absolute;inset-inline-start:18px;color:var(--muted);pointer-events:none}
.fsearch input{width:100%;height:52px;border:1px solid var(--lq-border);border-radius:999px;
  padding-block:0;padding-inline:48px 20px;font:inherit;font-size:16px;background:#fff;color:var(--ink)}
.fsearch input:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(14,27,51,.12)}
.fsearch-back{display:none}
.fsearch .suggest{top:calc(100% + 6px)}
.filter-row{display:contents}
.pf .pf-search-pill{display:none}
#fp-type{order:3}#fp-rooms{order:4}#fp-price{order:5}.pf-status{order:6}#fp-more{order:7}#fp-sort{order:8}
.pf-types{order:9;flex:1 1 100%}
.fpanel-sheet-head{display:none}
.lbl-short{display:none}

/* pill buttons */
.fpanel{position:relative}
.fpanel>summary,.pf-pill{list-style:none;cursor:pointer;height:44px;display:inline-flex;align-items:center;gap:8px;
  padding:0 16px;border:1px solid var(--lq-border);border-radius:999px;background:#fff;
  font:inherit;font-size:15px;font-weight:500;color:var(--navy);white-space:nowrap;user-select:none}
.fpanel>summary::-webkit-details-marker{display:none}
.fpanel>summary:hover,.pf-pill:hover{border-color:var(--navy)}
.fpanel[open]>summary{border-color:var(--navy);box-shadow:0 0 0 3px rgba(14,27,51,.1)}
.fpanel.is-active>summary,.fpanel.has-value>summary{border-color:var(--navy);background:var(--navy-soft);font-weight:600}
.fpanel-value{color:var(--navy);font-weight:700;max-width:150px;overflow:hidden;text-overflow:ellipsis}
.fpanel.has-value:not(#fp-more):not(#fp-sort) .fpanel-label{display:none}
.fpanel-caret{flex-shrink:0;opacity:.6;transition:transform .15s}
.fpanel[open] .fpanel-caret{transform:rotate(180deg)}
/* "Filters": the sliders icon, and the number of filters in use as a badge */
#fp-more>summary .fpanel-caret,#fp-sort>summary .fpanel-caret{display:none}
#fp-more>summary::after{content:"";width:18px;height:18px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M21 4h-7M10 4H3M21 12h-9M8 12H3M21 20h-5M12 20H3M14 2v4M8 10v4M16 18v4'/%3E%3C/svg%3E") center/18px no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M21 4h-7M10 4H3M21 12h-9M8 12H3M21 20h-5M12 20H3M14 2v4M8 10v4M16 18v4'/%3E%3C/svg%3E") center/18px no-repeat}
#fp-more .fpanel-value{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--navy);color:#fff;
  font-size:12px;display:inline-grid;place-items:center}
/* sort: the arrows icon */
#fp-sort>summary::before{content:"";width:18px;height:18px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4v16M3 8l4-4 4 4M17 20V4M13 16l4 4 4-4'/%3E%3C/svg%3E") center/18px no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4v16M3 8l4-4 4 4M17 20V4M13 16l4 4 4-4'/%3E%3C/svg%3E") center/18px no-repeat}
#fp-sort:not(.has-value) .fpanel-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#fp-sort:not(.has-value)>summary{width:44px;padding:0;justify-content:center}
#fp-sort.has-value .fpanel-label{display:none}

/* the dropdown under a pill */
.fpanel-body{position:absolute;top:calc(100% + 8px);inset-inline-start:0;z-index:60;min-width:300px;max-width:92vw;
  background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 44px rgba(14,27,51,.16);
  padding:16px;max-height:min(80vh,640px);overflow-y:auto;display:flex;flex-direction:column}
.fpanel-body.align-right{inset-inline-start:auto;inset-inline-end:0}
.fpanel-list{width:420px}
.fpanel-group+.fpanel-group{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.fpanel-group h4{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:var(--navy);margin:0 0 10px}
.fpanel-group h4 .ico{opacity:.8}
.fpanel-empty{margin:0;color:var(--muted);font-size:14px}
.fpanel-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}
.fpanel-foot a{color:var(--muted);font-size:14px;font-weight:600;text-decoration:underline}
.fpanel-foot a:hover{color:var(--navy)}
.fpanel-foot .btn{border-radius:999px;padding:10px 20px}

/* chips — what every list of options is now, like Property Finder's */
.checklist{display:flex;flex-wrap:wrap;gap:8px}
.checklist li{display:block;min-width:0}
.checklist input{position:absolute;opacity:0;width:0;height:0}
.checklist label{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border:1px solid var(--lq-border);
  border-radius:999px;background:#fff;cursor:pointer;font-size:14.5px;color:var(--navy)}
.checklist label:hover{border-color:var(--navy)}
.checklist input:checked+label{background:var(--navy-soft);border-color:var(--navy);font-weight:600}
.checklist input:checked+label::before{content:"";width:14px;height:14px;flex-shrink:0;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
.checklist input:focus-visible+label{outline:3px solid var(--lq-sand);outline-offset:2px}
.checklist label span{overflow-wrap:anywhere}
.checklist label em{display:none}
.checklist li.is-folded{display:none}
.checklist.is-open li.is-folded,.checklist.is-searching li.is-folded{display:block}
.checklist li.is-hidden{display:none!important}
.checklist-more{align-self:flex-start;margin-top:12px;padding:8px 16px;border:1px solid var(--navy);border-radius:12px;
  background:#fff;cursor:pointer;font:inherit;font-size:14px;font-weight:600;color:var(--navy)}
.checklist-more[hidden]{display:none}
.checklist-search{position:relative;margin-bottom:10px}
.checklist-search input{width:100%;height:42px;border:1px solid var(--lq-border);border-radius:999px;
  padding:0 16px;font:inherit;font-size:14px;background:#fff;color:var(--ink)}
.checklist-search input:focus{outline:none;border-color:var(--navy)}
.checklist-none{margin:6px 2px;color:var(--muted);font-size:13px}

/* bedrooms: round chips */
.seg{display:flex;flex-wrap:wrap;gap:8px}
.seg-input{position:absolute;opacity:0;width:0;height:0}
.seg-pill{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:40px;padding:0 14px;
  border:1px solid var(--lq-border);border-radius:999px;background:#fff;cursor:pointer;font-size:14.5px;font-weight:500;color:var(--navy);user-select:none}
.seg-pill:hover{border-color:var(--navy)}
.seg-input:checked+.seg-pill{background:var(--navy-soft);border-color:var(--navy);font-weight:700}
.seg-input:focus-visible+.seg-pill{outline:3px solid var(--lq-sand);outline-offset:2px}
/* Any / Off-plan / Ready: one pill split in three, the choice filled navy */
.seg-inline{flex-wrap:nowrap;gap:0;height:44px;padding:3px;border:1px solid var(--lq-border);border-radius:999px;background:#fff}
.seg-inline .seg-pill{height:36px;min-width:0;border:0;padding:0 16px;white-space:nowrap}
.seg-inline .seg-input:checked+.seg-pill{background:var(--navy);color:#fff}

/* ranges: two boxes and a dash */
.range{display:flex;align-items:center;gap:8px}
.range-panel{gap:10px}
.range-panel label{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}
.range-panel input,.range-panel select,.dwithin input{width:100%;min-width:0;height:48px;border:1px solid var(--lq-border);border-radius:12px;
  padding:0 14px;font:inherit;font-size:15px;background:#fff;color:var(--ink)}
.range-panel input:focus,.range-panel select:focus,.dwithin input:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(14,27,51,.1)}
.range-sep{color:var(--muted);flex-shrink:0}
.input-unit{position:relative;display:block}
.input-unit input{width:100%;padding-inline-end:40px}
.input-unit em{position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);font-style:normal;font-size:13px;color:var(--muted);pointer-events:none}
.dwithin{display:flex;flex-direction:column;gap:6px;margin-top:14px;font-size:14px;color:var(--navy);font-weight:500}
.dwithin .input-unit{max-width:200px}
.dwithin-hint{font-size:13px;color:var(--muted);font-weight:400}
.fpanel-quick{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.fpanel-quick a{padding:7px 14px;border:1px solid var(--lq-border);border-radius:999px;font-size:13.5px;font-weight:500;color:var(--navy)}
.fpanel-quick a:hover{border-color:var(--navy)}
.fpanel-quick a.is-on{border-color:var(--navy);background:var(--navy);color:#fff}

/* sort list */
.fpanel-sort{min-width:240px;padding:8px}
.sort-list{display:flex;flex-direction:column}
.sort-input{position:absolute;opacity:0;width:0;height:0}
.sort-list label{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 12px;border-radius:10px;cursor:pointer;font-size:15px}
.sort-list label:hover{background:var(--lq-field)}
.sort-input:checked+label{font-weight:700;color:var(--navy);background:var(--navy-soft)}
.sort-input:focus-visible+label{outline:3px solid var(--lq-sand);outline-offset:-3px}

/* "Filters": a drawer from the side, Property Finder's "More Filters" */
#fp-more[open]::before{content:"";position:fixed;inset:0;z-index:99;background:rgba(8,16,32,.5)}
#fp-more .fpanel-body{position:fixed;top:0;bottom:0;inset-inline-start:0;width:min(520px,100vw);max-width:none;max-height:none;
  border-radius:0;border:0;padding:0;z-index:100;overflow:hidden;box-shadow:0 0 60px rgba(8,16,32,.35)}
.fpanel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;border-bottom:1px solid var(--line);flex-shrink:0}
.fpanel-head h3{font-size:18px;margin:0}
.fpanel-x{border:0;background:var(--lq-field);width:40px;height:40px;border-radius:50%;font-size:24px;line-height:1;cursor:pointer;color:var(--ink)}
.fpanel-scroll{overflow-y:auto;padding:8px 24px 16px;flex:1 1 auto;min-height:0}
.fpanel-scroll .fpanel-group{padding:18px 0;margin:0}
.fpanel-scroll .fpanel-group+.fpanel-group{border-top:1px solid var(--line)}
.fpanel-foot-sticky{flex-shrink:0;margin:0;padding:14px 24px calc(14px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
.fpanel-foot-sticky .btn{padding:14px 28px;font-size:16px}
html.sheet-open{overflow:hidden}

/* quick type chips under the card */
.pf-types{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0 0}
.pf-types::-webkit-scrollbar{display:none}
.pf-type{flex-shrink:0;display:inline-flex;align-items:center;height:38px;padding:0 16px;border:1px solid var(--line);border-radius:999px;
  background:var(--lq-cream);font-size:14.5px;color:var(--navy);white-space:nowrap}
.pf-type:hover{border-color:var(--navy)}
.pf-type.is-on{background:var(--navy);border-color:var(--navy);color:#fff;font-weight:600}

/* active filters, each removable */
.chips{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0 6px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;
  background:var(--navy-soft);color:var(--navy);font-size:13.5px;font-weight:600}
.chip a{opacity:.6;font-weight:700}
.chip a:hover{opacity:1}
.chip-clear{background:transparent;color:var(--muted);text-decoration:underline}
.results-wrap{padding-top:18px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;cursor:pointer;
  padding:10px 18px;border-radius:8px;font:inherit;font-weight:700;font-size:14px}
.btn-sm{padding:8px 14px;font-size:13px}
.btn.btn-accent{background:var(--saffron);color:var(--ink)}
.btn.btn-accent:hover{background:#CB9A5D}
.btn-primary{background:var(--navy);color:#fff}
.btn-primary:hover{background:var(--navy-dk)}
.btn-ghost{background:#fff;color:var(--navy);border:1px solid var(--line)}
.btn-ghost:hover{border-color:var(--navy)}
.btn-wa{background:var(--green);color:#fff}
.btn-wa:hover{filter:brightness(.93)}

/* ---------- results ---------- */
.results-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;
  flex-wrap:wrap;padding:22px 0 14px}
.results-head h1{font-size:22px}
.results-count{margin:4px 0 0;color:var(--muted);font-size:14px}
.sort-form{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted)}
.sort-form select{border:1px solid var(--line);border-radius:8px;padding:8px 10px;font:inherit;font-size:14px;background:#fff}
.results{display:flex;flex-direction:column;gap:14px;padding-bottom:32px}

/* ---------- card ---------- */
.card{display:grid;grid-template-columns:300px 1fr;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;transition:box-shadow .16s,border-color .16s}
.card:hover{box-shadow:var(--shadow);border-color:#D6D3CA}
.card-media{position:relative;background:var(--cream);overflow:hidden;min-height:250px}
/* Photo layered over the placeholder, so a photo that 404s (onerror removes
   the <img>) reveals the frame instead of a broken icon. */
/* Cards: the photo always fills the frame (owner, 2026-10-18) — scaled up and
   centred, never letterboxed with dark side bars. The unit page's gallery
   now fills its frame the same way. */
.card-media img,.card-media .card-slide video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
/* no photo: limestone with the logo as a faint watermark, per the handoff */
.card-noimg{position:absolute;inset:0;display:grid;place-items:center;background:var(--limestone);
  color:var(--nile-green)}
.card-noimg .logo-mark{opacity:.2}

/* price sits on the photo, as on the reference card */
.price-tag{position:absolute;inset-inline-end:0;top:12px;background:var(--navy);color:#fff;
  font-size:15px;font-weight:800;letter-spacing:-.2px;padding:7px 12px;
  border-start-start-radius:7px;border-end-start-radius:7px;box-shadow:0 2px 8px rgba(11,18,45,.28);white-space:nowrap}
.photo-count{position:absolute;inset-inline-end:8px;bottom:8px;background:rgba(15,19,35,.72);color:#fff;
  font-size:11px;font-weight:600;padding:3px 8px;border-radius:5px;direction:ltr;unicode-bidi:isolate}
/* The labels on the photo let taps through to the photo (and its link). */
.price-tag,.badge,.photo-count{pointer-events:none;z-index:2}
.card-media-link{position:absolute;inset:0;display:block}

/* several photos: a swipeable strip, one photo per stop */
.card-slides{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;outline:none;
  scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}
.card-slides::-webkit-scrollbar{display:none}
.card-slide{position:relative;flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;
  background:var(--limestone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%230E1B33' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' opacity='.2'%3E%3Cpath d='M15 31 L32 17 L49 31'/%3E%3Ccircle cx='32' cy='40' r='9'/%3E%3C/g%3E%3C/svg%3E") center/72px no-repeat}
.slide-btn{position:absolute;top:50%;z-index:3;display:none;place-items:center;width:34px;height:34px;
  margin-top:-17px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:var(--navy);
  font-size:22px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(11,18,45,.2)}
.slide-btn:hover{background:#fff}
.slide-prev{inset-inline-start:8px}
.slide-next{inset-inline-end:8px}
html[dir=rtl] .slide-btn span{display:inline-block;transform:scaleX(-1)}
.card-slides:focus-visible{box-shadow:inset 0 0 0 3px var(--saffron)}
/* position dots: the current one stretches into a pill */
.slide-dots{position:absolute;left:50%;bottom:10px;z-index:2;display:flex;gap:5px;transform:translateX(-50%);pointer-events:none}
.slide-dots i{width:6px;height:6px;border-radius:3px;background:rgba(255,255,255,.55);
  box-shadow:0 0 2px rgba(0,0,0,.35);transition:width .25s ease,background-color .25s ease}
.slide-dots i.is-on{width:18px;background:#fff}
/* motion: photos fade in, a card's photo eases in a touch on hover */
.card-media img,.gallery-strip img{transition:opacity .45s ease,transform .6s ease}
.card-media img.is-fading,.gallery-strip img.is-fading{opacity:0}
.card:hover .card-media img{transform:scale(1.035)}
@media (prefers-reduced-motion:reduce){
  .card-media img,.gallery-strip img,.slide-dots i,.gallery-thumbs button{transition:none}
  .card:hover .card-media img{transform:none}
}
/* Arrows once loqta.js has wired them, on hover or keyboard focus — and never
   on touch screens, where the finger swipes. */
.card-media.is-ready:hover .slide-btn,.card-media.is-ready:focus-within .slide-btn{display:grid}
@media (hover:none){.card-media.is-ready .slide-btn{display:none}}
.badge{position:absolute;inset-inline-start:8px;top:8px;font-size:11px;font-weight:800;padding:4px 9px;
  border-radius:5px;text-transform:uppercase;letter-spacing:.4px}
.badge-loqta{background:var(--gold);color:#fff}
.badge-status{background:var(--green);color:#fff}

.card-body{padding:13px 15px;display:flex;flex-direction:column;gap:9px}
.card-project{font-family:"Fraunces",Georgia,serif;font-size:19px;font-weight:600;letter-spacing:-.01em;margin:0}
.card-project a{display:flex;align-items:center;gap:6px;color:var(--navy)}
.card-project a:hover span{text-decoration:underline}
.card-project .ico{fill:currentColor;stroke:none;opacity:.55}
.card-money{margin:0;display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  padding:9px 11px;border-radius:8px;background:var(--navy-soft);font-size:13.5px;color:#374151}
.card-money b{color:var(--navy);font-size:15px;white-space:nowrap}
.ico{flex-shrink:0;opacity:.75}
.card-loc{margin:0;display:flex;align-items:flex-start;gap:6px;color:var(--muted);font-size:13.5px}
.card-loc .ico{margin-top:2px;fill:currentColor;stroke:none;opacity:.6}

.card-ref-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.card-ref{font-size:13.5px;color:#374151;letter-spacing:.2px}
.card-ref b{font-weight:700;color:var(--ink)}
.btn-pdf{display:inline-flex;align-items:center;gap:5px;background:var(--navy);color:#fff;
  font-size:12.5px;font-weight:700;padding:6px 11px;border-radius:7px}
.btn-pdf:hover{background:var(--navy-dk)}
/* Offer type tag (2026-10-18): on the photo, under the status badge. */
.badge-offer{top:38px}
.badge-offer--sale{background:var(--navy)}
.badge-offer--rent{background:#6B4FA0}
.badge-offer-inline{display:inline-block;vertical-align:middle;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;color:#fff;margin-inline-start:8px}
:root:has(#of-sale:focus-visible) label[for=of-sale],:root:has(#of-rent:focus-visible) label[for=of-rent]{outline:3px solid var(--lq-sand);outline-offset:2px}
/* "Watch video" (2026-10-18) and its full-size player. The player is added
   to <body> (position:fixed), never inside a card, so nothing clips it. */
.btn-video{display:inline-flex;align-items:center;gap:5px;background:#fff;color:var(--navy);border:1.5px solid var(--navy);
  font-size:12.5px;font-weight:700;padding:5px 10px;border-radius:7px;cursor:pointer}
.btn-video:hover{background:var(--navy);color:#fff}
.btn-video--big{font-size:14px;padding:9px 16px;border-radius:9px;margin:4px 0 14px}
.vbox{position:fixed;inset:0;z-index:1000;background:rgba(8,12,24,.88);display:flex;align-items:center;justify-content:center;
  padding:56px 16px 24px}
.vbox video{width:100%;max-width:1100px;max-height:100%;background:#000;border-radius:10px;outline:none}
.vbox-close{position:absolute;top:12px;right:12px;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.14);
  color:#fff;font-size:26px;line-height:1;cursor:pointer}
.vbox-close:hover{background:rgba(255,255,255,.26)}
.vbox-nav{position:absolute;top:12px;left:12px;display:flex;align-items:center;gap:8px;color:#fff;font-size:13px}
.vbox-nav button{width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:22px;cursor:pointer}
html.vbox-open,html.vbox-open body{overflow:hidden}
.card-date{margin:0;font-size:12.5px;color:var(--muted)}

/* the 2x2 chip grid of headline specs */
.spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.spec-grid li{display:flex;align-items:center;gap:7px;padding:8px 10px;
  border:1px solid var(--line);border-radius:8px;font-size:13.5px;color:#374151;
  background:#FCFCFB;min-width:0}
.spec-grid li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spec-grid .ico{color:var(--navy)}

.card-dev{display:flex;align-items:center;gap:9px;padding-top:9px;border-top:1px solid var(--line);
  font-size:14px;font-weight:700;color:var(--navy)}
.card-dev:hover span{text-decoration:underline}
.dev-logo{position:relative;width:28px;height:28px;border-radius:50%;flex-shrink:0;overflow:hidden;
  display:grid;place-items:center;font-size:10px;font-weight:800;
  color:var(--navy);background:var(--navy-soft)}
.dev-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;
  background:#fff;border-radius:50%}

.card-actions{display:flex;gap:8px;margin-top:auto;padding-top:10px}
.card-actions .btn{flex:1;padding:9px 14px}
.card-compact{grid-template-columns:1fr}
/* Stacked cards have nothing to match height with, so the image gets a ratio. */
.card-compact .card-media{aspect-ratio:16/10;min-height:0}

/* ---------- empty + pagination ---------- */
.empty{text-align:center;padding:64px 16px;border:1px dashed var(--line);border-radius:var(--radius);
  background:var(--cream);margin-bottom:32px}
.empty h2{font-size:19px;margin-bottom:8px}
.empty p{color:var(--muted);margin:0 0 18px}
.pager{display:flex;gap:6px;justify-content:center;padding:8px 0 44px;flex-wrap:wrap}
.pager a,.pager span{min-width:38px;height:38px;display:grid;place-items:center;padding:0 10px;
  border:1px solid var(--line);border-radius:8px;font-size:14px;font-weight:600;background:#fff}
.pager a:hover{border-color:var(--navy);color:var(--navy)}
.pager .is-current{background:var(--navy);border-color:var(--navy);color:#fff}
.pager .is-gap{border:0;background:transparent;color:var(--muted)}

/* ---------- section rails ---------- */
.section{padding:44px 0}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}
.section-head h2{font-size:22px}
.section-head a{color:var(--navy);font-weight:700;font-size:14px}
.section-head a:hover{text-decoration:underline}
.grid-3{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
.tile{display:block;border:1px solid var(--line);border-radius:var(--radius);padding:18px;background:#fff}
.tile:hover{border-color:var(--navy);box-shadow:var(--shadow)}
.tile b{display:block;font-size:16px}
.tile span{color:var(--muted);font-size:13px}

/* ---------- detail page ---------- */
.crumbs{padding:16px 0;font-size:13px;color:var(--muted)}
.crumbs a:hover{color:var(--navy);text-decoration:underline}
.crumbs span{margin:0 6px;opacity:.5}
.gallery-none{position:relative;overflow:hidden;aspect-ratio:21/9;border-radius:var(--radius);
  background:var(--limestone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%230E1B33' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' opacity='.2'%3E%3Cpath d='M15 31 L32 17 L49 31'/%3E%3Ccircle cx='32' cy='40' r='9'/%3E%3C/g%3E%3C/svg%3E") center/88px no-repeat}
/* the unit page: one big swipeable photo, thumbnails underneath */
.gallery-frame{position:relative;overflow:hidden;border-radius:var(--radius);width:100%;aspect-ratio:16/9;max-height:560px;
  background:var(--limestone)}
.gallery-frame .card-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
/* Unit videos (2026-10-16): the whole frame on the same dark backdrop as the
   photos; the card's play badge marks the slide as a video. */
.card-slide video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.video-badge{position:absolute;left:12px;bottom:12px;width:32px;height:32px;border-radius:50%;background:rgba(10,16,32,.6);
  color:#fff;display:grid;place-items:center;pointer-events:none}
.gallery-thumbs .thumb-video{position:relative}
.gallery-thumbs .thumb-video::after{content:"";position:absolute;inset:0;background:rgba(10,16,32,.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 3.5v9l7-4.5z' fill='white'/%3E%3C/svg%3E") center/18px no-repeat}
.gallery-frame .slide-btn{width:44px;height:44px;margin-top:-22px;font-size:28px}
.gallery-frame .photo-count{font-size:12px;padding:4px 10px}
.gallery-strip.is-ready .slide-btn{display:grid}          /* on the unit page the arrows are always there */
@media (hover:none){.gallery-strip.is-ready .slide-btn{display:none}}
.gallery-thumbs{display:flex;gap:8px;margin-top:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}
.gallery-thumbs button{flex:0 0 92px;height:64px;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;
  cursor:pointer;background:var(--limestone);opacity:.6;transition:opacity .2s,border-color .2s}
.gallery-thumbs button:hover{opacity:.9}
.gallery-thumbs button.is-on{opacity:1;border-color:var(--navy)}
.gallery-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.detail{display:grid;grid-template-columns:1fr 340px;gap:32px;padding:28px 0 56px;align-items:start}
.detail-price{font-size:30px;font-weight:800;color:var(--navy);letter-spacing:-.6px;margin:0}
.detail h1{font-size:23px;margin:8px 0 4px}
.detail-loc{color:var(--muted);margin:0}
.spec-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1px;
  background:var(--line);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin:22px 0}
.spec-strip div{background:#fff;padding:14px 16px}
.spec-strip dt{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}
.spec-strip dd{margin:4px 0 0;font-weight:700;font-size:15px}
.detail-block{padding:22px 0;border-top:1px solid var(--line)}
.detail-block h2{font-size:17px;margin-bottom:10px}
.detail-block p{margin:0;color:#374151;line-height:1.7}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px 24px;margin:0}
.facts div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed var(--line)}
.facts dt{color:var(--muted)}
.facts dd{margin:0;font-weight:600;text-align:end}
.agent{position:sticky;top:calc(var(--head-h) + 24px);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px;background:#fff;box-shadow:var(--shadow)}
.agent h3{font-size:16px}
.agent p{color:var(--muted);font-size:14px;margin:6px 0 16px}
.agent .btn{width:100%;margin-bottom:8px;padding:12px}
.agent-ref{margin-top:14px;padding-top:14px;border-top:1px solid var(--line);
  font-size:12px;color:var(--muted);display:flex;justify-content:space-between}
.note{background:var(--gold-soft);border:1px solid #EFD9AE;border-radius:10px;padding:12px 14px;
  font-size:13px;color:#7A5A1C;margin-top:16px}

/* ---------- footer ---------- */
.site-foot{background:var(--navy);color:#fff;margin-top:auto;padding:44px 0 0}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;padding-bottom:36px}
.foot-grid h4,.foot-grid .foot-h{font-family:inherit;color:#fff;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.7px;margin-bottom:12px;opacity:.85}
.foot-ver{opacity:.8}
.foot-grid a{display:block;padding:5px 0;font-size:14px;opacity:.85}
.foot-grid a:hover{opacity:1;text-decoration:underline}
/* Arabic lockup: لقطة is the name itself, in the brand green */
.foot-company{margin:10px 0 0;font-size:13px;opacity:.75}
.foot-note{opacity:.75;font-size:14px;max-width:38ch;margin:14px 0 0}
.foot-legal{border-top:1px solid rgba(255,255,255,.15);padding:16px 0;display:flex;
  justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12.5px;opacity:.7}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .detail{grid-template-columns:1fr;gap:0}
  .agent{position:static;margin-top:24px}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  .card{grid-template-columns:1fr}
  .card-media{aspect-ratio:16/10;min-height:0}
  .gallery-frame{aspect-ratio:4/3}
  .gallery-thumbs button{flex-basis:64px;height:48px}
  .filter-bar{position:static}
    .foot-grid{grid-template-columns:1fr}
  .card-foot{flex-direction:column;align-items:stretch}
  .card-actions .btn{flex:1}
}

/* ---------- live result count on the panel buttons ---------- */
.btn[data-count="zero"]{background:#8B92A6}
.btn[data-count="loading"]{opacity:.75}

/* ---------- tablets: the pills wrap onto a second line rather than squeeze ---------- */
@media (min-width:768px) and (max-width:1100px){
  .pf{padding:18px}
  .fpanel>summary,.pf-pill{padding:0 14px;font-size:14.5px}
}

/* ---------- phones: Property Finder's mobile bar ----------
   [Search][Filters][Property type][Price][Bedrooms][⇅]  ← one row that scrolls
   Title · count
   [quick type chips …]
   [   Any   |  Off-plan  |   Ready   ]
   Every pill opens a sheet from the bottom with its own "Show N results";
   Filters is full screen; Search opens a full-screen search. */
@media (max-width:767px){
  .filter-bar{background:#fff;padding:12px 0 0}
  .pf{border:0;border-radius:0;box-shadow:none;padding:0;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:12px}
  .pf>*{min-width:0}
  .filter-row{order:1;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:2px 16px 4px}
  .filter-row::-webkit-scrollbar{display:none}
  .filter-row>*{flex-shrink:0}
  .pf .pf-search-pill{display:inline-flex;order:-2;background:var(--navy);border-color:var(--navy);color:#fff;font-weight:600;max-width:46vw}
  .pf-search-pill span{overflow:hidden;text-overflow:ellipsis}
  #fp-more{order:-1}#fp-type{order:1}#fp-price{order:2}#fp-rooms{order:3}#fp-sort{order:4}
  .fpanel>summary,.pf-pill{height:42px;font-size:15px}
  .fpanel-value{max-width:120px}
  .pf-head{order:2;flex-direction:column;align-items:flex-start;gap:2px}
  .pf-head h1{font-size:23px}
  .pf-count{order:-1;font-size:13.5px}
  .pf-types{order:3;margin:0 -16px;padding:0 16px}
  .pf-status{order:4;width:100%;height:auto;display:grid;grid-template-columns:repeat(3,1fr);padding:4px}
  .pf-status .seg-pill{height:42px;padding:0 6px}
  /* search: inline without JavaScript; with it, a full-screen search */
  .fsearch{order:0}
  .js .fsearch{display:none}
  .js .pf.is-searching .fsearch{display:flex;position:fixed;inset:0;z-index:150;background:#fff;
    flex-direction:column;align-items:stretch;padding:12px 16px;gap:8px}
  .js .pf.is-searching .fsearch>svg{display:none}
  .js .pf.is-searching .fsearch input{height:52px;padding-inline:52px 18px;border-color:var(--navy);border-width:2px}
  .js .pf.is-searching .fsearch-back{display:grid;place-items:center;position:absolute;top:18px;inset-inline-start:22px;z-index:2;
    width:40px;height:40px;border:0;background:transparent;font-size:24px;color:var(--navy);cursor:pointer}
  html[dir=rtl] .fsearch-back span{display:inline-block;transform:scaleX(-1)}
  .js .pf.is-searching .suggest{position:static;border:0;box-shadow:none;padding:0;max-height:none;flex:1 1 auto;overflow:auto}
  .js .pf.is-searching .sg-item{min-height:56px}
  .fsearch input{font-size:16px}   /* 16px stops iOS zooming in */

  /* every panel: a sheet from the bottom */
  .fpanel[open]::before{content:"";position:fixed;inset:0;z-index:99;background:rgba(8,16,32,.5)}
  .fpanel-body,.fpanel-body.align-right{position:fixed;inset-inline:0;bottom:0;top:auto;z-index:100;width:100%;min-width:0;max-width:none;
    max-height:86vh;border:0;border-radius:22px 22px 0 0;padding:0 18px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -10px 34px rgba(8,16,32,.25)}
  .fpanel-sheet-head{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:2;background:#fff;
    margin:0 -18px 12px;padding:16px 18px 12px;border-bottom:1px solid var(--line);font-weight:700;font-size:17px}
  .fpanel-foot{position:sticky;bottom:calc(-14px - env(safe-area-inset-bottom));background:#fff;margin:16px -18px 0;
    padding:12px 18px calc(14px + env(safe-area-inset-bottom));z-index:2}
  .fpanel-foot .btn{flex:1 1 auto;padding:14px 20px;font-size:16px}
  .fpanel-list{width:100%}
  .fpanel-sort{padding:0 18px 14px}
  /* Filters: full screen */
  #fp-more .fpanel-body{top:0;height:100%;max-height:none;border-radius:0;padding:0;width:100%}
  #fp-more .fpanel-sheet-head{margin:0;padding:16px 18px}
  #fp-more .fpanel-head{display:none}
  .fpanel-scroll{padding:0 18px 16px}
  #fp-more .fpanel-foot-sticky{position:static;margin:0;padding:12px 18px calc(12px + env(safe-area-inset-bottom))}
  .checklist label,.seg-pill{min-height:44px}
}
@media (max-width:360px){
  .fpanel>summary,.pf-pill{padding:0 12px;font-size:14px}
  .pf-status .seg-pill{font-size:14px}
}
.badge-inline{display:inline-block;background:var(--green);color:#fff;font-size:11px;font-weight:800;
  text-transform:uppercase;letter-spacing:.4px;padding:3px 8px;border-radius:5px;margin-inline-end:6px;vertical-align:1px}

/* ---------- Arabic (right-to-left) ----------
   The layout mirrors by itself: flex and grid follow dir="rtl", and the
   positioning above uses inline-start/end rather than left/right. What is
   left: the Arabic typeface, and the few things that must stay left-to-right. */
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:400;font-display:swap;
  src:url("/assets/fonts/plex-arabic-400.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:600;font-display:swap;
  src:url("/assets/fonts/plex-arabic-600.woff2") format("woff2")}
html[lang=ar] body{font-family:var(--lq-font-ar)}
/* Fraunces has no Arabic letters: Arabic headings use Plex Arabic, bold. */
html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] .card-project{font-family:"IBM Plex Sans Arabic",system-ui,sans-serif;
  font-weight:700;letter-spacing:0}
html[lang=ar] .fpanel-group h4,html[lang=ar] .range-panel label,html[lang=ar] .badge{letter-spacing:0}
/* Unit IDs, phone numbers and e-mail read left to right inside Arabic text. */
.ltr{direction:ltr;unicode-bidi:isolate}
/* Arrows point the way the page reads. */
html[dir=rtl] .pager a[rel=prev],html[dir=rtl] .pager a[rel=next]{display:inline-block;transform:scaleX(-1)}


/* ==========================================================================
   Redesign (2026-10-16) — design/loqta-redesign/LOQTA_REDESIGN_SPEC.md
   ========================================================================== */
[hidden]{display:none!important}   /* a component's own display rule must never un-hide it */
.ar{font-family:var(--lq-font-ar);direction:rtl;letter-spacing:0;text-transform:none}
.en{font-family:var(--lq-font-body-en)}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;inset-inline-start:12px;top:-60px;z-index:300;background:#fff;color:var(--lq-navy);
  padding:10px 14px;border-radius:10px;font-weight:600}
.skip:focus{top:12px}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--lq-sand);outline-offset:2px}

/* bilingual text: stacked (EN over AR), split (EN … AR), inline (EN · AR) */
.bi{display:inline-flex}
.bi-stack{flex-direction:column;line-height:1.2;gap:2px}
.bi-stack .ar{font-size:.88em}
.bi-split{display:flex;justify-content:space-between;align-items:baseline;gap:12px;width:100%}
.bi-inline{display:inline;}
.bi-inline .bi-dot{opacity:.5;margin:0 .15em}

/* buttons */
.btn-sand,.btn-navy{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;cursor:pointer;
  font:inherit;font-weight:700;text-decoration:none;border-radius:14px;min-height:44px}
.btn-sand{background:var(--lq-sand);color:var(--lq-navy)}       /* text on sand is always navy (§2) */
.btn-sand:hover{background:#CB9A5D}
.btn-navy{background:var(--lq-navy);color:#fff;padding:0 32px;height:50px}
.btn-navy:hover{background:#16294D}
.btn-sand[disabled]{opacity:.7;cursor:progress}

/* ---------- header (§4.1) ---------- */
.site-head{position:sticky;top:0;z-index:60;background:var(--lq-navy);color:#fff}
.head-inner{max-width:1440px;margin:0 auto;padding:16px 40px;display:flex;align-items:center;gap:24px;min-height:var(--head-h)}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;color:#fff}
.brand-tile{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:12px;flex-shrink:0}
.wordmark{font-family:var(--lq-font-display-en);font-weight:600;font-size:34px;line-height:1;letter-spacing:-.5px}
.wordmark-ar{font-weight:700;font-size:30px;line-height:1}
.main-nav{display:flex;gap:4px;flex:1 1 auto;justify-content:center;flex-wrap:wrap}
.main-nav a{padding:8px 18px;border-radius:14px;text-align:center;color:#fff}
.main-nav a .bi-stack{align-items:center}
.main-nav a .en{font-size:16px;font-weight:500}
.main-nav a .ar{font-size:14px;color:#E4E1DA}
.main-nav a:hover{background:rgba(255,255,255,.1)}
.head-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.head-cb{height:56px;padding:0 20px;border-radius:999px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.head-cb .bi-stack{align-items:flex-start}
.head-cb .en{font-size:15px;font-weight:700}
.head-cb .ar{font-size:14px;font-weight:600}
.lang-switch{display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 14px;border-radius:999px;
  border:1.5px solid rgba(255,255,255,.6);color:#fff;font-weight:600;font-size:14px}
.lang-switch:hover{background:rgba(255,255,255,.1)}
.lang-switch[lang=ar]{font-family:var(--lq-font-ar)}
.mnav{display:none;position:relative}
.mnav>summary{list-style:none;width:44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.4);
  background:rgba(14,27,51,.4);color:#fff;display:grid;place-items:center;cursor:pointer}
.mnav>summary::-webkit-details-marker{display:none}
.mnav-sheet{position:fixed;left:12px;right:12px;top:calc(var(--head-h) + 6px);background:#fff;color:var(--lq-navy);
  border-radius:18px;padding:6px;box-shadow:0 24px 60px rgba(8,16,32,.35);display:flex;flex-direction:column;gap:6px;
  max-height:calc(100vh - var(--head-h) - 24px);overflow:auto}
.mnav-sheet nav{display:flex;flex-direction:column}
.mnav-sheet nav a{display:flex;align-items:center;min-height:56px;padding:0 16px;border-radius:12px}
.mnav-sheet nav a+a{border-top:1px solid #EEE8DB}
.mnav-sheet nav a:hover,.mnav-sheet nav a:focus-visible{background:var(--lq-field)}
.mnav-sheet .bi-split{align-items:center}
.mnav-sheet .en{font-size:17px;font-weight:600}
.mnav-sheet .ar{font-size:16px;font-weight:600;color:var(--lq-navy)}
.mnav-lang{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:12px;
  background:var(--lq-field);font-weight:600}
.mnav-cb{min-height:54px;margin:2px 4px 4px;font-size:16px}
.mnav[open]>summary{background:#fff;color:var(--lq-navy)}
/* the home page: over the photo, navy once scrolled */
.site-head--over{position:absolute;inset-inline:0;top:0;background:transparent;transition:background-color .25s,box-shadow .25s}
.js .site-head--over{position:fixed}
.site-head--over.is-solid{background:var(--lq-navy);box-shadow:0 8px 24px rgba(8,16,32,.3)}
.site-head--over.is-solid .head-inner{padding-block:10px}

/* ---------- home hero (§4.2) ---------- */
.hero2{position:relative;overflow:hidden;color:#fff;background:var(--lq-navy)}
.hero2-bg,.hero2-bg img{position:absolute;inset:0;width:100%;height:100%}
.hero2-bg img{object-fit:cover;object-position:center 60%}
.hero2-shade{position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(8,16,32,.78) 0%,rgba(8,16,32,.35) 38%,rgba(8,16,32,.35) 62%,rgba(8,16,32,.78) 100%),
             linear-gradient(180deg,rgba(8,16,32,.6) 0%,rgba(8,16,32,.1) 25%,rgba(8,16,32,.1) 50%,rgba(8,16,32,.85) 100%)}
.hero2-inner{position:relative;max-width:1440px;margin:0 auto;padding:calc(var(--head-h) + 40px) 40px 0}
.hero2-row{display:flex;gap:32px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:8px 0 24px}
.hero2-en,.hero2-ar{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:18px}
.hero2-en h1{margin:0;font-family:var(--lq-font-display-en);font-weight:700;font-size:clamp(40px,4.6vw,70px);line-height:1.02;
  letter-spacing:-1px;text-transform:uppercase;color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.3)}
.hero2-en h1 span,.hero2-ar .h1-ar span{display:block}
.hero2 .hl{color:var(--lq-sand-light)}
.hero2-en p{margin:0;max-width:520px;font-size:21px;line-height:1.5;color:#F3F1EC}
.hero2 strong{color:var(--lq-sand-light);font-weight:600}
.hero2-ar{text-align:right}
.hero2-ar .h1-ar{margin:0;font-weight:700;font-size:clamp(42px,4.8vw,74px);line-height:1.15;text-shadow:0 2px 24px rgba(0,0,0,.3)}
.hero2-ar p:not(.h1-ar){margin:0;max-width:540px;margin-inline-start:auto;font-size:21px;line-height:1.6;color:#F3F1EC}
.seal{flex:0 0 auto;width:210px;padding:30px 18px 26px;border-radius:999px;background:rgba(251,248,242,.95);color:var(--lq-navy);
  display:flex;flex-direction:column;align-items:center;gap:10px;margin:0 auto;
  box-shadow:0 24px 60px rgba(0,0,0,.35),inset 0 0 0 6px rgba(214,168,110,.3)}
.seal-zero{font-family:var(--lq-font-display-en);font-weight:700;font-size:104px;line-height:.85;letter-spacing:-3px}
.seal-pct{font-size:52px}
.seal-en{font-size:17px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;text-align:center;line-height:1.2}
.seal-line{width:70%;height:1px;background:var(--lq-border)}
.seal-ar{font-size:20px;font-weight:700;text-align:center;line-height:1.35}
.seal-chip-row{display:none}
.hero2-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;padding:8px 0 28px}
.pill{height:60px;padding:0 28px;border-radius:999px;display:inline-flex;align-items:center;gap:12px;font:inherit}
.pill .bi-stack{align-items:flex-start}
.pill .en{font-weight:600;font-size:16px}
.pill .ar{font-size:14px;font-weight:500}
.pill-white{background:#fff;color:var(--lq-navy)}
.pill-white:hover{background:#F4F1EA}
.pill-glass{background:rgba(14,27,51,.5);color:#fff;border:1.5px solid rgba(255,255,255,.75)}
.pill-glass:hover{background:rgba(14,27,51,.75)}
.trust{max-width:1200px;margin:0 auto;padding:8px 0 32px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.trust li{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:4px 16px}
.trust li+li{border-inline-start:1px solid rgba(255,255,255,.35)}
.trust-ico{width:60px;height:60px;border-radius:50%;background:rgba(14,27,51,.7);border:1px solid rgba(233,201,154,.45);
  display:grid;place-items:center;color:#fff}
.trust .bi-stack{align-items:center;gap:4px}
.trust .en{font-weight:600;font-size:18px}
.trust .ar{font-size:16px;color:#ECEAE4}

/* ---------- home search card (§4.3) ---------- */
.scard{position:relative;background:#fff;color:var(--lq-navy);border-radius:28px;padding:18px;box-shadow:0 24px 60px rgba(0,0,0,.3);
  display:flex;gap:12px;flex-wrap:wrap;align-items:stretch}
.scard-q{position:relative;flex:2 1 300px;min-width:0;display:flex}
.scell{min-height:76px;display:flex;align-items:center;gap:14px;padding:0 18px;border-radius:16px;position:relative;cursor:pointer}
.scell-q{flex:1 1 auto;background:var(--lq-field);border:1px solid #E6E0D3;cursor:text}
.scell-q:focus-within,.scell-sel:focus-within{box-shadow:0 0 0 3px rgba(214,168,110,.5)}
.scell .lu{color:#3E475A;flex-shrink:0}
.scell-txt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.scell-q input{border:0;background:transparent;font:inherit;font-size:17px;color:var(--lq-navy);outline:none;padding:0;width:100%}
.scell-q input::placeholder{color:var(--lq-muted-ar)}
.scell-q input:focus-visible{outline:none}
.scell-ar{font-size:14px;color:var(--lq-muted-ar);text-align:left}
.scard-sel{display:contents}
.scell-sel{flex:1 1 168px;min-width:0;padding:0 16px;gap:10px;background:#fff;border:1px solid #E0D9CA}
.scell-en{font-size:17px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scell-sel.has-value .scell-en{font-weight:700}
.scell-sel select{appearance:none;-webkit-appearance:none;position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px}
.sheet-head,.sheet-go{display:none}
.seg2{flex:0 0 auto;display:flex;gap:6px;padding:6px;border-radius:18px;background:var(--lq-field);border:0;margin:0}
.seg2 input{position:absolute;opacity:0;width:0;height:0}
.seg2 label{min-width:86px;padding:6px 14px;border-radius:13px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.seg2 .bi-stack{align-items:center}
.seg2 .en{font-size:16px;font-weight:600}
.seg2 .ar{font-size:14px}
.seg2 input:checked+label{background:var(--lq-navy);color:#fff}
.seg2 input:focus-visible+label{outline:3px solid var(--lq-sand);outline-offset:2px}
.scard-filters{display:none}
.scard-go{min-height:76px;padding:0 30px;border-radius:16px}
.scard-go .bi-stack{align-items:center}
.scard-go .en{font-size:18px;font-weight:700}
.scard-go .ar{font-size:16px;font-weight:600}

/* smart search dropdown */
.suggest{position:absolute;inset-inline:0;top:calc(100% + 6px);z-index:70;background:#fff;color:var(--lq-navy);
  border:1px solid #E6E0D3;border-radius:16px;box-shadow:0 20px 50px rgba(14,27,51,.22);padding:6px;max-height:min(60vh,420px);overflow:auto;text-align:start}
.suggest[hidden]{display:none}
.sg-item{display:grid;grid-template-columns:1fr auto;grid-template-areas:"main n" "sub n";gap:0 12px;align-items:center;
  padding:10px 12px;border-radius:12px;cursor:pointer;min-height:44px}
.sg-item:hover,.sg-item.is-active{background:var(--lq-field)}
.sg-main{grid-area:main;font-weight:600;font-size:15px;overflow:hidden;text-overflow:ellipsis}
.sg-main mark{background:rgba(214,168,110,.35);color:inherit;border-radius:3px;padding:0 1px}
.sg-sub{grid-area:sub;font-size:12px;color:var(--lq-muted);display:flex;gap:6px}
.sg-n{grid-area:n;font-size:12px;color:var(--lq-muted);white-space:nowrap;direction:ltr;unicode-bidi:isolate}
.sg-main b,.sg-main>span{unicode-bidi:isolate}
.sg-all,.sg-none{border-top:1px solid #EEE8DB;margin-top:4px;border-radius:0 0 12px 12px}
.sg-all .sg-main,.sg-none .sg-main{font-weight:500;display:flex;gap:6px;flex-wrap:wrap}
.sg-none .sg-main{color:var(--lq-navy)}
.sg-none::before{content:"";grid-row:1/3;display:none}
.fsearch .suggest{top:calc(100% + 4px)}

/* ---------- stats (§4.4) ---------- */
.stats{max-width:900px;margin:0 auto;padding:36px 0 48px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.stats li{display:flex;flex-direction:column;gap:4px;padding:0 28px}
.stats li+li{border-inline-start:1px solid rgba(255,255,255,.35)}
.stats b{font-family:var(--lq-font-display-en);font-size:44px;font-weight:700;line-height:1}
.stats .en{font-size:15px;font-weight:600;letter-spacing:.8px;text-transform:uppercase}
.stats .ar{font-size:16px;color:#ECEAE4;text-align:left}

.section-cream{background:var(--lq-cream)}

/* ---------- the call-back form (§6.3) ---------- */
.cb-form{display:flex;flex-direction:column;gap:16px}
.cb-mini{gap:14px}
.cb-row{display:flex;gap:12px;flex-wrap:wrap}
.cb-mini .cb-row{flex-direction:column}
.cb-field{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:6px}
.cb-field label,.cb-set legend{font-size:14px;font-weight:600}
.cb-set{border:0;margin:0;padding:0;min-width:0}
.cb-set legend{width:100%;padding:0;margin-bottom:8px}
.cb-opt{font-weight:400;color:var(--lq-muted)}
.cb-field input{height:52px;padding:0 14px;border-radius:12px;border:1px solid var(--lq-border);background:#fff;
  font:inherit;font-size:16px;color:var(--lq-navy);min-width:0}
.cb-field input[aria-invalid=true],.cb-tel:has(input[aria-invalid=true]){border-color:var(--lq-error)}
.cb-tel{height:52px;display:flex;align-items:stretch;border-radius:12px;border:1px solid var(--lq-border);overflow:hidden;background:#fff}
.cb-tel:focus-within{box-shadow:0 0 0 3px rgba(214,168,110,.5);border-color:var(--lq-sand)}
.cb-cc{display:flex;align-items:center;padding:0 12px;background:var(--lq-field);font-weight:600;color:var(--lq-muted);border-right:1px solid var(--lq-border)}
.cb-tel input{flex:1 1 auto;min-width:0;border:0;height:auto;border-radius:0;outline:none}
.cb-tel input:focus-visible{outline:none}
.cb-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cb-chip-in{position:absolute;opacity:0;width:0;height:0}
.cb-chip{min-height:56px;padding:6px 8px;border-radius:14px;border:1px solid var(--lq-border);background:#fff;color:var(--lq-navy);
  cursor:pointer;display:flex;align-items:center;justify-content:center;text-align:center}
.cb-chip .bi-stack{align-items:center}
.cb-chip .en{font-size:14px;font-weight:600}
.cb-chip .ar{font-size:13px}
.cb-chip-in:checked+.cb-chip{background:var(--lq-navy);border-color:var(--lq-navy);color:#fff}
.cb-chip-in:focus-visible+.cb-chip{outline:3px solid var(--lq-sand);outline-offset:2px}
.cb-form>.cb-field{flex:none}          /* a direct field of the form: no flex height */
.cb-field textarea{width:100%;min-height:78px;padding:12px 14px;border-radius:12px;border:1px solid var(--lq-border);
  background:#fff;font:inherit;font-size:16px;line-height:1.45;color:var(--lq-navy);resize:vertical}
.cb-field textarea::placeholder{color:#8A91A0}
.cb-field textarea:focus{outline:none;box-shadow:0 0 0 3px rgba(214,168,110,.5);border-color:var(--lq-sand)}
.cb-check{display:flex;align-items:center;gap:10px;font-size:15px;cursor:pointer;min-height:44px}
.cb-check input{width:20px;height:20px;accent-color:var(--lq-navy);flex-shrink:0}
.cb-check .bi-split{flex-wrap:wrap;row-gap:2px}
.cb-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cb-err{margin:0;font-size:14px;color:var(--lq-error);font-weight:500;flex-wrap:wrap}
.cb-err[hidden]{display:none}
.cb-submit{height:58px;font-size:17px;width:100%}
.cb-mini .cb-submit{height:56px}
.cb-privacy{margin:0;font-size:13px;color:var(--lq-muted);text-align:center}
.cb-done{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:16px 0 4px}
.cb-done[hidden]{display:none}
.cb-tick{width:68px;height:68px;border-radius:50%;background:var(--lq-success-bg);color:var(--lq-success);display:grid;place-items:center}
.cb-done-t{font-size:22px}
.cb-done-s,.cb-done-r,.cb-done-a{font-size:15px;color:var(--lq-muted)}
.cb-done-a{color:var(--lq-navy);font-weight:600}
.cb-done-n{font-weight:700;font-size:18px}
.cb-done-r bdi{font-weight:600;color:var(--lq-navy)}
.cb-ok{margin-top:6px}

/* the modal (desktop) / bottom sheet (phones) */
.cb-overlay{position:fixed;inset:0;z-index:200;background:rgba(8,16,32,.62);display:flex;align-items:center;justify-content:center;padding:16px}
.cb-overlay[hidden]{display:none}
.cb-dialog{width:100%;max-width:600px;max-height:100%;overflow:auto;background:#fff;color:var(--lq-navy);border-radius:24px;padding:28px;
  display:flex;flex-direction:column;gap:18px;box-shadow:0 30px 80px rgba(0,0,0,.4)}
.cb-overlay.is-open .cb-dialog{animation:lqIn .25s ease-out}
@keyframes lqIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.cb-grab{display:none}
.cb-head{display:flex;align-items:flex-start;gap:14px}
.cb-titles{flex:1 1 auto;display:flex;gap:16px;flex-wrap:wrap}
.cb-t-en,.cb-t-ar{flex:1 1 220px;display:flex;flex-direction:column;gap:6px}
.cb-t-ar{text-align:right}
.cb-t-en h1,.cb-t-en h2{margin:0;font-family:var(--lq-font-display-en);font-size:23px;line-height:1.2;font-weight:700;color:var(--lq-navy);letter-spacing:0}
.cb-t-en p,.cb-t-ar p{margin:0;font-size:14px;line-height:1.5;color:var(--lq-muted)}
.cb-t-ar .cb-h-ar{font-size:23px;line-height:1.3;font-weight:700;color:var(--lq-navy)}
.cb-x{width:44px;height:44px;flex:0 0 auto;border:0;border-radius:50%;background:var(--lq-field);color:var(--lq-navy);
  display:grid;place-items:center;cursor:pointer}
.cb-about{margin:0;align-self:flex-start;background:var(--lq-field);border-radius:999px;padding:6px 14px;font-size:14px;font-weight:600}
.cb-about[hidden]{display:none}
html.cb-lock{overflow:hidden}
/* the call-back page (no JavaScript) */
.cb-pagewrap{background:var(--lq-cream);padding:calc(var(--head-h) + 48px) 16px 64px}
.cb-card{max-width:640px;margin:0 auto;background:#fff;border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:18px;
  box-shadow:0 20px 50px rgba(14,27,51,.12)}

/* "Call me about this unit" */
.btn-cb-unit{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-top:8px;padding:8px 12px;
  border-radius:10px;border:1.5px dashed var(--lq-sand);color:var(--lq-navy);font-size:13.5px;font-weight:600;text-align:center;flex-wrap:wrap}
.btn-cb-unit:hover{background:#FBF3E6;border-style:solid}
.btn-cb-unit--big{margin:0 0 12px;min-height:56px;background:var(--lq-sand);border:0;font-size:15px;flex-wrap:nowrap;gap:10px}
.btn-cb-unit--big .bi-stack{align-items:flex-start;text-align:start}
.btn-cb-unit--big .ar{font-size:14px}
.btn-cb-unit--big:hover{background:#CB9A5D}
.btn-cb-unit{flex-wrap:nowrap;gap:10px}
.btn-cb-unit .bi-stack{align-items:flex-start;text-align:start}
.btn-cb-unit .ar{font-weight:600}

/* no results: leave a request */
.nr-cb{margin:28px auto 0;max-width:560px;padding-top:24px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:8px}
.nr-t{margin:0;font-size:17px;font-weight:700;color:var(--lq-navy)}
.nr-s{margin:0 0 6px;color:var(--lq-muted)}
.nr-btn{height:60px;padding:0 24px;border-radius:999px}
.nr-btn .bi-stack{align-items:flex-start}

/* the floating "Leave a request" button — every page, every screen size */
.cb-fab{position:fixed;bottom:24px;right:24px;z-index:90;height:64px;padding:0 28px;border-radius:999px;
  background:rgba(14,27,51,.92);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;
  border:1.5px solid rgba(255,255,255,.75);display:flex;align-items:center;gap:14px;box-shadow:0 14px 34px rgba(8,16,32,.4);
  transition:opacity .2s,transform .2s}
.cb-fab .bi-stack{align-items:flex-start}
.cb-fab .en{font-weight:600;font-size:17px}
.cb-fab .ar{font-weight:500;font-size:15px}
.cb-fab:hover{background:var(--lq-navy)}
.cb-fab.is-hidden{opacity:0;transform:translateY(12px);pointer-events:none}
/* Phones and tablets (owner's request, 2026-10-16): fixed at the bottom,
   centred, in the hero's 0% chip style — a cream pill, navy bold text, the
   phone in a navy circle where the chip has its "0%". The page is padded by
   its height, so the end of every page stays reachable. */
@media (max-width:1020px){
  .cb-fab,.cb-fab:hover{left:50%;right:auto;bottom:calc(12px + env(safe-area-inset-bottom));transform:translateX(-50%);
    width:max-content;max-width:calc(100% - 24px);height:auto;min-height:0;padding:6px 20px 6px 6px;gap:10px;
    border-radius:999px;background:rgba(251,248,242,.97);color:var(--lq-navy);border:1px solid rgba(214,168,110,.55);
    -webkit-backdrop-filter:none;backdrop-filter:none;
    box-shadow:0 12px 32px rgba(8,16,32,.38),inset 0 0 0 3px rgba(214,168,110,.22)}
  .cb-fab .lu{width:42px;height:42px;padding:10px;border-radius:50%;background:var(--lq-navy);color:var(--lq-sand-light);flex-shrink:0}
  .cb-fab .bi-stack{gap:1px;line-height:1.15}
  .cb-fab .en{font-size:12px;font-weight:700;letter-spacing:.5px;text-transform:uppercase}
  .cb-fab .ar{font-size:13px;font-weight:700}
  .cb-fab.is-hidden{opacity:0;transform:translate(-50%,12px);pointer-events:none}
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
}
html.cb-lock .cb-fab{display:none}

/* ---------- footer ---------- */
.site-foot{background:var(--lq-navy)}
.site-foot .bi-stack .ar{opacity:.85}
.foot-grid{grid-template-columns:2fr 1fr 1fr}
.foot-grid a{display:block}
.brand-foot{color:#fff}
.brand-foot .wordmark{font-size:30px}
.brand-foot .wordmark-ar{font-size:24px;color:var(--lq-sand-light)}
.foot-company{margin:14px 0 0;opacity:.8}
.foot-legal .bi-inline{display:inline}

/* ---------- the opening animation (§5b) ---------- */
.splash{display:none}
html.intro .splash{display:flex;position:fixed;inset:0;z-index:1000;color:#fff;
  /* the landing page's navy and sand (owner, 2026-10-18) */
  background:radial-gradient(120% 80% at 50% 35%,#16294D 0%,#0E1B33 55%,#081020 100%);
  flex-direction:column;align-items:center;justify-content:center;gap:clamp(22px,4vh,40px);padding:32px 16px;
  font-family:var(--lq-font-body-en);animation:spKill 0s linear 10s forwards}
html.intro{overflow:hidden}
.splash.is-out{opacity:0;transform:scale(1.02);transition:opacity .55s ease,transform .55s ease;pointer-events:none}
.sp-col{display:flex;flex-direction:column;align-items:center;gap:18px}
.sp-tile{width:clamp(84px,9vw,104px);height:clamp(84px,9vw,104px);border-radius:26%;background:#fff;
  display:flex;align-items:center;justify-content:center;box-shadow:0 14px 36px rgba(0,0,0,.35)}
.sp-word{display:flex;align-items:baseline;gap:16px}
.sp-en{font-family:var(--lq-font-display-en);font-weight:700;font-size:clamp(46px,5vw,64px);line-height:1;letter-spacing:-1px}
.sp-ar{font-weight:700;font-size:clamp(36px,4vw,50px);line-height:1;color:var(--lq-sand-light)}
.sp-tag{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;font-size:17px;color:#E4E1DA}
.sp-badge{position:relative;overflow:hidden;width:200px;padding:26px 18px 24px;border-radius:999px;background:rgba(251,248,242,.97);border:0;color:var(--lq-navy);
  display:flex;flex-direction:column;align-items:center;gap:8px;box-shadow:0 24px 60px rgba(0,0,0,.35),inset 0 0 0 6px rgba(214,168,110,.3)}
.sp-zero{font-family:var(--lq-font-body-en);font-weight:700;font-size:88px;line-height:.85;letter-spacing:-4px;color:var(--lq-navy)}
.sp-pct{font-size:42px;letter-spacing:0;color:#B8874B}
.sp-bc{font-size:16px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;text-align:center;line-height:1.2}
.sp-line{width:74%;height:1px;background:var(--lq-border)}
.sp-bar{font-size:19px;font-weight:700;text-align:center;line-height:1.35}
.sp-sweep{position:absolute;top:0;bottom:0;left:0;width:40%;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.75),rgba(255,255,255,0))}
.sp-track{width:150px;height:3px;border-radius:3px;background:rgba(255,255,255,.18);overflow:hidden}
.sp-track .a-run{display:block;width:40%;height:100%;border-radius:3px;background:var(--lq-sand)}
@keyframes lqTile{0%{opacity:0;transform:scale(.6) rotate(-8deg)}60%{opacity:1;transform:scale(1.06) rotate(0)}100%{opacity:1;transform:scale(1)}}
@keyframes lqRoof{from{stroke-dashoffset:60}to{stroke-dashoffset:0}}
@keyframes lqRing{0%{opacity:0;transform:scale(.2)}70%{opacity:1;transform:scale(1.15)}100%{opacity:1;transform:scale(1)}}
@keyframes lqDot{0%{opacity:0;transform:scale(0)}60%{opacity:1;transform:scale(1.5)}100%{opacity:1;transform:scale(1)}}
@keyframes lqUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes lqBadge{0%{opacity:0;transform:translateY(40px) scale(.85)}65%{opacity:1;transform:translateY(-6px) scale(1.03)}100%{opacity:1;transform:none}}
@keyframes lqLine{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes lqSweep{from{transform:translateX(-120%) skewX(-18deg)}to{transform:translateX(320%) skewX(-18deg)}}
@keyframes lqPulse{0%,100%{box-shadow:0 24px 60px rgba(0,0,0,.35),inset 0 0 0 6px rgba(214,168,110,.3),0 0 0 0 rgba(214,168,110,0)}50%{box-shadow:0 24px 60px rgba(0,0,0,.35),inset 0 0 0 6px rgba(214,168,110,.3),0 0 0 12px rgba(214,168,110,.18)}}
@keyframes lqRun{from{transform:translateX(-110%)}to{transform:translateX(260%)}}
@keyframes spKill{to{visibility:hidden;opacity:0;pointer-events:none}}
html.intro .a-tile{animation:lqTile .5s cubic-bezier(.2,.8,.2,1) both}
html.intro .a-roof{stroke-dasharray:60;animation:lqRoof .5s ease-out .25s both}
html.intro .a-ring{transform-origin:48px 60px;animation:lqRing .4s cubic-bezier(.2,.8,.2,1) .55s both}
html.intro .a-dot{transform-origin:48px 60px;animation:lqDot .4s cubic-bezier(.2,.8,.2,1) .75s both}
html.intro .a-en{animation:lqUp .45s ease-out .7s both}
html.intro .a-ar{animation:lqUp .45s ease-out .85s both}
html.intro .a-tag{animation:lqUp .45s ease-out 1s both}
html.intro .a-badge{animation:lqBadge .6s cubic-bezier(.2,.8,.2,1) 1.25s both,lqPulse 2.4s ease-in-out 2.2s infinite}
html.intro .a-line{transform-origin:center;animation:lqLine .4s ease-out 1.65s both}
html.intro .a-sweep{animation:lqSweep .9s ease-in-out 1.8s both}
html.intro .a-track{animation:lqUp .3s ease-out 1.6s both}
html.intro .a-run{animation:lqRun 1.1s cubic-bezier(.45,0,.25,1) 1.7s infinite}
@media (prefers-reduced-motion:reduce){
  html.intro .splash [class^="a-"],html.intro .splash [class*=" a-"]{animation:none!important;opacity:1!important;transform:none!important}
  .splash.is-out{transition:none}
  .cb-overlay.is-open .cb-dialog{animation:none}
  .cb-fab{transition:none}
}
@media print{.splash,.cb-fab,.cb-overlay{display:none!important}}

/* ---------- tablets ---------- */
@media (max-width:1200px){
  .head-inner{padding-inline:24px;gap:16px}
  .main-nav a{padding:8px 10px}
  .hero2-inner{padding-inline:24px}
  .seg2 label{min-width:0}
}
@media (max-width:1020px){
  :root{--head-h:72px}
  .main-nav{display:none}
  .mnav{display:block}
  .head-actions{margin-inline-start:auto}
  .trust{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}
  .trust li:nth-child(3){border-inline-start:0}
}

/* ---------- phones (< 768px, §5) ---------- */
@media (max-width:767px){
  :root{--head-h:64px}
  .head-inner{padding:10px 16px;gap:8px}
  .brand-tile{width:36px!important;height:36px!important;border-radius:10px}
  .brand-tile svg{width:22px;height:22px}
  .wordmark{font-size:24px}
  .wordmark-ar{font-size:20px}
  .head-cb,.lang-switch{display:none}
  .hero2-inner{padding:calc(var(--head-h) + 18px) 16px 0;display:flex;flex-direction:column}
  /* phones: headline, then straight to the search card; trust and stats below (§5) */
  .hero2-row{order:1}.scard{order:2}.trust{order:3;margin-top:24px}.stats{order:4}
  .hero2-bg img{object-position:62% center}
  .hero2-shade{background:linear-gradient(180deg,rgba(8,16,32,.8) 0%,rgba(8,16,32,.55) 42%,rgba(8,16,32,.6) 62%,rgba(8,16,32,.92) 100%)}
  .hero2-row{flex-direction:column;align-items:stretch;gap:10px;padding:4px 0 18px}
  .hero2-en,.hero2-ar{flex:none;gap:10px}
  .hero2-en h1{font-size:32px;letter-spacing:-.5px}
  .hero2-en p,.hero2-ar p:not(.h1-ar){font-size:15px}
  .hero2-ar .h1-ar{font-size:32px;line-height:1.2}
  .seal{display:none}
  .seal-chip-row{display:flex;align-items:center;gap:10px;margin:2px 0}
  .seal-chip-row::before,.seal-chip-row::after{content:"";flex:1 1 auto;height:1px;background:rgba(255,255,255,.3)}
  .seal-chip{display:flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:rgba(251,248,242,.95);color:var(--lq-navy)}
  .seal-chip-n{font-family:var(--lq-font-display-en);font-weight:700;font-size:26px;line-height:1}
  .seal-chip-t{display:flex;flex-direction:column;line-height:1.15}
  .seal-chip-t span:first-child{font-size:11px;font-weight:700;letter-spacing:.5px}
  .seal-chip-t .ar{font-size:12px;font-weight:700}
  .hero2-cta{display:none}
  .scard{border-radius:20px;padding:12px;flex-direction:column;gap:10px}
  .seg2{order:-1;width:100%;gap:4px;padding:4px;border-radius:14px}
  .seg2 label{flex:1 1 0;min-height:46px;border-radius:11px;padding:4px}
  .seg2 .en{font-size:14px}
  .seg2 .ar{font-size:12px}
  .scard-q{flex:none}
  .scell{min-height:56px;padding:0 14px;border-radius:12px}
  .scell-q input{font-size:16px}
  .scell-ar{font-size:12px}
  .scard-filters{display:flex;align-items:center;justify-content:center;gap:8px;flex:1 1 0;min-height:54px;border-radius:12px;
    border:1px solid var(--lq-border);background:#fff;color:var(--lq-navy);font:inherit;cursor:pointer}
  .scard-filters .en{font-size:14px;font-weight:600}
  .scard-filters .ar{font-size:12px}
  .scard>.scard-filters,.scard>.scard-go{display:inline-flex}
  .scard{display:grid;grid-template-columns:1fr 1.4fr}
  .scard>.seg2,.scard>.scard-q{grid-column:1/-1}
  .scard-go{min-height:54px;border-radius:12px;padding:0 12px}
  .scard-go .en{font-size:15px}
  .scard-go .ar{font-size:13px}
  /* type / bedrooms / price: a bottom sheet behind "Filters" (only with JS;
     without it they stay inline). */
  .js .scard-sel{display:none}
  .js .scard-sel.is-open{display:flex;flex-direction:column;gap:0;position:fixed;inset:0;z-index:150;
    background:rgba(8,16,32,.62);justify-content:flex-end;padding:0}
  .js .scard-sel.is-open .scell-sel{flex:none;min-height:64px}
  .js .scard-sel.is-open>*{margin:0 16px}
  .js .scard-sel.is-open .sheet-head{display:flex;align-items:center;justify-content:space-between;background:#fff;margin:0;
    padding:16px 18px 6px;border-radius:24px 24px 0 0;font-weight:700}
  .js .scard-sel.is-open .sheet-head .bi-split{width:auto;gap:10px}
  .js .scard-sel.is-open .scell-sel{background:#fff;margin:0;border-radius:0;border:0;border-bottom:1px solid #EEE8DB;padding:0 18px}
  .js .scard-sel.is-open .sheet-go{display:flex;margin:0;border-radius:0;height:64px;padding-bottom:env(safe-area-inset-bottom)}
  .scard:not(:has(.scard-sel)) .scard-filters{display:none}
  .stats{padding:26px 0 30px}
  .stats li{padding:0 12px}
  .stats b{font-size:32px}
  .stats .en{font-size:12px}
  .stats .ar{font-size:13px}
  .trust{gap:16px 0;padding-bottom:24px}
  .trust .en{font-size:15px}
  .trust .ar{font-size:14px}
  .trust-ico{width:48px;height:48px}
  /* a centred pop-up on phones too (owner's request, 2026-10-16) */
  .cb-overlay{padding:12px;padding-bottom:calc(12px + env(safe-area-inset-bottom))}
  .cb-dialog{border-radius:20px;padding:18px 16px 20px;max-height:100%;gap:14px}
  .cb-titles{flex-direction:column;gap:4px}
  .cb-t-en,.cb-t-ar{flex:none;gap:2px}
  .cb-t-en h2,.cb-t-ar .cb-h-ar{font-size:20px}
  .cb-t-en p,.cb-t-ar p:not(.cb-h-ar){font-size:13px}
  .cb-pagewrap{padding-top:calc(var(--head-h) + 20px)}
  .cb-card{padding:20px 16px}
  .sp-zero{font-size:76px}
  .foot-grid{grid-template-columns:1fr}
}

/* ---------- Property Finder parity, round 2 (2026-10-16) ----------
   One set of Any / Off-plan / Ready radios, labelled from the bar's toggle and
   from "Completion status" in the drawer; :has() paints the chosen one. */
.pf-radios input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.pf-status{display:inline-flex}
.pf-status .seg-pill{cursor:pointer}
.pf .pf-status .pf-any{display:none}
:root:has(#dl-off:checked) .pf-status label[for=dl-off],
:root:has(#dl-ready:checked) .pf-status label[for=dl-ready],
:root:has(#dl-any:checked) .pf-status label[for=dl-any],
:root:has(#of-sale:checked) .pf-status label[for=of-sale],
:root:has(#of-rent:checked) .pf-status label[for=of-rent]{background:var(--navy-soft);color:var(--navy);font-weight:700;box-shadow:inset 0 0 0 1px var(--navy)}
:root:has(#dl-off:focus-visible) label[for=dl-off],
:root:has(#dl-ready:focus-visible) label[for=dl-ready],
:root:has(#dl-any:focus-visible) label[for=dl-any]{outline:3px solid var(--lq-sand);outline-offset:2px}
:root:has(#dl-off:checked) #fp-more>summary,:root:has(#dl-ready:checked) #fp-more>summary{border-color:var(--navy);background:var(--navy-soft);font-weight:600}
.chip-row{display:flex;flex-wrap:wrap;gap:8px}
.chip-row>.checklist{display:contents}
.pf-chip{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid var(--lq-border);border-radius:999px;
  background:#fff;cursor:pointer;font:inherit;font-size:14.5px;color:var(--navy)}
.pf-chip:hover{border-color:var(--navy)}
:root:has(#of-any:checked) .pf-chip[for=of-any],
:root:has(#of-sale:checked) .pf-chip[for=of-sale],
:root:has(#of-rent:checked) .pf-chip[for=of-rent],
:root:has(#dl-any:checked) .pf-chip[for=dl-any],
:root:has(#dl-off:checked) .pf-chip[for=dl-off],
:root:has(#dl-ready:checked) .pf-chip[for=dl-ready],
.dy-group:not(:has(input:checked)) .chip-any{background:var(--navy-soft);border-color:var(--navy);font-weight:600}
/* the drawer's main button, Property Finder's strong "Show N results" */
#fp-more .fpanel-foot-sticky .btn{padding:14px 26px;font-size:16px;border-radius:12px}
@media (max-width:767px){
  .pf .pf-status .pf-any{display:inline-flex}
  .pf-status{display:grid}
}

/* ---------- the same filters in the home hero (2026-10-16) ---------- */
.home-filter{position:relative;color:var(--ink)}
.home-filter .pf{box-shadow:0 24px 60px rgba(0,0,0,.3);border:0}
/* The page itself can never become wider than the screen — a wide pill row
   or chip row once made phones zoom out, shrinking the open filter sheet into
   a small area (2026-10-16). clip, not hidden, so sticky headers still work. */
html,body{overflow-x:clip}
.filter-bar,.pf{max-width:100%}
@media (max-width:767px){
  .home-filter{order:2}
  .home-filter .pf{background:#fff;border-radius:20px;padding:12px;gap:10px}
  .home-filter .filter-row{margin:0 -12px;padding:2px 12px 4px}
  .home-filter .pf-types{margin:0 -12px;padding:0 12px}
}

/* ---------- phones: the open sheet lives at the top of <body> (2026-10-16) ----------
   loqta.js moves it here while open, so no scrolling row can clip it. */
.sheet-host[hidden]{display:none!important}
@media (max-width:767px){
  .sheet-host{position:fixed;inset:0;z-index:200}
  .sheet-bg{position:absolute;inset:0;background:rgba(8,16,32,.5)}
  .fpanel[open]::before{display:none}
  .sheet-host.is-more .fpanel-body{top:0;bottom:0;height:100%;max-height:none;border-radius:0;padding:0;width:100%;overflow:hidden}
  .sheet-host.is-more .fpanel-sheet-head{margin:0;padding:16px 18px}
  .sheet-host.is-more .fpanel-head{display:none}
  .sheet-host.is-more .fpanel-foot-sticky{position:static;margin:0;padding:12px 18px calc(12px + env(safe-area-inset-bottom))}
  .sheet-host.is-more .fpanel-foot-sticky .btn{padding:14px 26px;font-size:16px;border-radius:12px}
}

/* Filters drawer: copies of the bar's filters (2026-10-16) */
.pf-chip.is-on{background:var(--navy-soft);border-color:var(--navy);font-weight:600}
.pf-chip-round{min-width:46px;justify-content:center;padding:0 14px}
.fpanel-group .sub-h{font-size:14px;margin:14px 0 8px}
.kw{width:100%;height:48px;border:1px solid var(--lq-border);border-radius:999px;padding:0 18px;font:inherit;font-size:15px;background:var(--lq-field);color:var(--ink)}
.kw:focus{outline:none;border-color:var(--navy)}

/* v0.26.1: the offer tag needs white text; the For sale | For rent switch has
   two halves on a phone, not Any/Off-plan/Ready's three. */
.badge-offer{color:#fff}
@media (max-width:767px){.pf .pf-offer{grid-template-columns:repeat(2,1fr)}}

/* Splash: the 0% seal never shrinks, so its Arabic is never clipped; on short
   screens (laptops, landscape phones) the whole splash scales down instead. */
.splash>*{flex-shrink:0}
.sp-badge{height:auto}
@media (max-height:760px){
  html.intro .splash{gap:16px}
  .sp-col{gap:10px}
  .sp-tile{width:72px;height:72px}
  .sp-en{font-size:42px}.sp-ar{font-size:34px}
  .sp-tag{font-size:15px}
  .sp-badge{width:180px;padding:20px 16px 18px;gap:6px}
  .sp-zero{font-size:70px}.sp-pct{font-size:34px}
  .sp-bc{font-size:14px}.sp-bar{font-size:16px}
}
@media (max-height:560px){
  .sp-tag{display:none}
  .sp-badge{width:160px;padding:16px 14px 14px}
  .sp-zero{font-size:56px}.sp-pct{font-size:28px}
}

/* The unit layout slide: a plan must be seen whole, on white (2026-10-18). */
.card-media img.is-layout,.gallery-frame .card-slide img.is-layout{object-fit:contain;background:#fff;padding:6px}
