/* Azizi Monaco Mansions - master plan. Tokens and shared widgets follow /riviera/css/riviera.css (copied, not linked). */
:root{
  --bg:#0f1117; --panel:#1a1d27; --card2:#22263a;
  --ink:#e8e0d0; --stone:#9b9088;
  --line:rgba(200,169,110,.2); --sage:rgba(255,255,255,.05);
  --gilt:#c8a96e; --gilt2:#d9bb82; --ok:#4fc48d; --wa:#25d366;
  --display:"Marcellus","IBM Plex Sans Arabic",Georgia,serif;
  --body:"IBM Plex Sans Arabic","IBM Plex Sans",system-ui,sans-serif;
  --r:14px; --shadow:0 10px 30px rgba(0,0,0,.45),0 2px 6px rgba(0,0,0,.3);
  --top:60px;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased}
button,select,input{font-family:inherit}
a{color:inherit}
img{display:block;max-width:100%}
[hidden]{display:none!important}


.btn-wa{display:inline-flex;align-items:center;gap:8px;background:var(--wa);color:#08311a;font-weight:600;text-decoration:none;
  border-radius:999px;padding:11px 18px;font-size:15px;white-space:nowrap}
.btn-wa::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'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-3.3-.8-2.8-1.1-4.5-3.9-4.7-4.1-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.3 0 .5l-.3.5-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.1.1.7-.1 1.3z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-3.3-.8-2.8-1.1-4.5-3.9-4.7-4.1-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.3 0 .5l-.3.5-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.1.1.7-.1 1.3z'/%3E%3C/svg%3E") center/contain no-repeat}
.btn-wa.sm{padding:7px 13px;font-size:13px}
.btn-o{display:inline-flex;align-items:center;gap:8px;background:#16223a;font-family:inherit;cursor:pointer;border:1px solid var(--gilt);color:var(--gilt2);text-decoration:none;border-radius:999px;padding:10px 16px;font-size:14px}


/* ---------- hero ---------- */
.hero{position:relative;min-height:270px;display:flex;align-items:flex-end;overflow:hidden}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 62%}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,17,23,.15) 0%,rgba(15,17,23,.55) 55%,var(--bg) 100%)}
.hero-in{position:relative;z-index:1;width:100%;padding:40px clamp(16px,4vw,48px) 20px}
.kick{margin:0 0 6px;color:var(--gilt2);font-size:14px;letter-spacing:.02em}
h1{font-family:var(--display);font-weight:400;margin:0}
.hero h1{font-size:clamp(34px,5vw,58px);line-height:1.05}
.lead{margin:8px 0 18px;color:#d8d0c2;font-size:17px}
.stats{display:flex;flex-wrap:wrap;gap:10px}
.stat{background:rgba(26,29,39,.78);border:1px solid var(--line);border-radius:var(--r);padding:10px 16px;min-width:130px;backdrop-filter:blur(6px)}
.stat b{display:block;font-family:var(--display);font-size:26px;color:var(--gilt2);font-weight:400;line-height:1.15}
.stat span{font-size:13px;color:var(--stone)}


/* ---------- master plan ---------- */
.mapwrap{align-items:stretch;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;padding:18px clamp(12px,3vw,28px) 24px}
.map-stage{position:relative;background:#f5f2ec;border-radius:var(--r);overflow:hidden;border:1px solid var(--line);
  height:auto;min-height:min(82vh,820px);touch-action:none;cursor:grab}
.map-stage.drag{cursor:grabbing}
#mapSvg{position:absolute;inset:0;width:100%;height:100%;display:block}
/* plot colours by type (also used by legend dots and chips) */
.t1{--tc:#e6553d}.t2{--tc:#f0a02c}.t3{--tc:#d4c22a}.t4{--tc:#4fb85a}.t5{--tc:#27b0a4}.t6{--tc:#3b8fd9}.t7{--tc:#7a63d6}.t8{--tc:#c85aa8}
.pl{fill:var(--tc);fill-opacity:.62;stroke:#fff;stroke-width:1.1;cursor:pointer;transition:fill-opacity .15s}
.pl:hover,.pl.hl{fill-opacity:.95;stroke:#151821;stroke-width:2.2}
.pl.dim{fill:#efece5;fill-opacity:.82;stroke:none;cursor:default}
.filt .pl:not(.dim){fill-opacity:.9}
.pl.sel{fill-opacity:1;stroke:#151821;stroke-width:3.2}
/* status colours only when an availability file exists */
.bystatus .pl{fill:#9aa0ad;fill-opacity:.35}
.bystatus .pl.s-av{fill:#2fae6b;fill-opacity:.7}
.bystatus .pl.s-sold{fill:#4a4e5a;fill-opacity:.6}
.bystatus .pl.s-bk{fill:#6ea5d7;fill-opacity:.7}
.bystatus .pl.dim{fill:#efece5;fill-opacity:.82}
.bystatus .pl:hover,.bystatus .pl.hl,.bystatus .pl.sel{fill-opacity:.95}
.plt{font:700 24px var(--body);fill:#111;text-anchor:middle;dominant-baseline:middle;pointer-events:none;paint-order:stroke;stroke:rgba(255,255,255,.85);stroke-width:4px;display:none}
#mapSvg.lbl .plt{display:block}
.plt.dim{opacity:.12}
.map-tools{position:absolute;top:12px;inset-inline-start:12px;display:flex;flex-direction:column;gap:6px;z-index:4}
.map-tools button{min-width:32px;height:32px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(0,0,0,.12);background:#fff;color:#151821;
  font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.15);padding:0 10px}
#zIn,#zOut{font-size:18px!important;line-height:1}
#zAll{padding:0!important;width:32px}
.legend{position:absolute;bottom:12px;inset-inline-start:12px;max-width:calc(100% - 24px);display:flex;flex-wrap:wrap;gap:6px 12px;background:rgba(21,24,33,.9);color:#eee;
  padding:7px 12px;border-radius:14px;font-size:12.5px;z-index:4}
.legend span{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.legend span.static{cursor:default}
.legend i{width:12px;height:12px;border-radius:3px;display:inline-block;background:var(--tc,#888)}
.legend i.st-av{background:#2fae6b}.legend i.st-sold{background:#4a4e5a}.legend i.st-bk{background:#6ea5d7}.legend i.st-na{background:#9aa0ad}
.legend span.off{opacity:.4}
.map-stage .hint{position:absolute;top:12px;inset-inline-end:12px;margin:0;background:rgba(21,24,33,.88);color:#eee;padding:7px 12px;border-radius:999px;font-size:12.5px;z-index:4}
.tip{position:absolute;z-index:5;pointer-events:none;background:#151821;color:var(--ink);border:1px solid var(--gilt);border-radius:10px;
  padding:9px 12px;font-size:13px;min-width:150px;box-shadow:var(--shadow);transform:translate(-50%,calc(-100% - 14px));white-space:nowrap}
.tip b{display:block;font-size:15px;color:var(--gilt2);margin-bottom:2px}
.tip .fx{display:none}

/* ---------- side panel ---------- */
.side{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:16px;display:flex;flex-direction:column;height:auto;min-height:0}
.side-h{display:flex;justify-content:space-between;align-items:center}
.side h2{font-size:16px;margin:0;font-weight:600}
.lnk{background:none;border:0;color:var(--gilt2);cursor:pointer;font-size:13px;padding:4px}
.fgrp{margin-top:12px}
.fgrp label{display:block;font-size:13px;color:var(--stone);margin-bottom:7px}
.fgrp label b{color:var(--ink);font-weight:600;white-space:nowrap}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{border:1px solid var(--line);background:var(--sage);color:var(--ink);border-radius:999px;padding:6px 12px;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.chip.on{background:var(--gilt);border-color:var(--gilt);color:var(--bg);font-weight:600}
.chip i{width:9px;height:9px;border-radius:50%;background:var(--tc)}
.chip.off{opacity:.45}
input[type=range]{width:100%;accent-color:var(--gilt);margin:2px 0;display:block}
.side-t{font-size:14px;margin:16px 0 8px;font-weight:600;color:var(--stone)}
.cnt{color:var(--gilt2)}
.blist{flex:none;max-height:300px;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:6px;padding-inline-end:2px}
.bi{display:grid;grid-template-columns:1fr auto;gap:2px 10px;text-align:start;background:var(--card2);border:1px solid transparent;color:var(--ink);
  border-radius:12px;padding:9px 12px;cursor:pointer;width:100%;flex:none}
.bi:hover,.bi.hl{border-color:var(--gilt)}
.bi .n{font-weight:600;font-size:14.5px;display:flex;align-items:center;gap:8px}
.bi .n i{width:10px;height:10px;border-radius:50%;background:var(--tc);flex:none}
.bi .c{color:var(--gilt2);font-weight:600;font-size:14px;text-align:end}
.bi .s{color:var(--stone);font-size:12.5px;grid-column:1/-1}
.empty{color:var(--stone);font-size:14px;text-align:center;padding:24px 8px;margin:0}
.asof{margin:10px 0 0;font-size:12px;color:var(--stone)}
.note{font-size:12px;color:var(--stone)}
.handle{display:none}

/* ---------- sections ---------- */
.sec-in{max-width:1180px;margin:0 auto}
section.types,section.svc,section.gal,section.pay,section.why{padding:52px clamp(14px,4vw,40px) 44px;border-top:1px solid var(--line)}
section.pay{background:linear-gradient(180deg,#0f1117 0%,#141823 100%)}
section.why{background:linear-gradient(180deg,#141823 0%,#0f1117 100%)}
.sec-in .kick{color:var(--gilt);letter-spacing:.14em;font-size:12.5px;text-transform:uppercase;margin:0 0 8px}
.sec-in h2{font-family:var(--display);font-weight:400;font-size:clamp(26px,4vw,40px);line-height:1.2;margin:0 0 12px}
.sec-lead{color:var(--stone);max-width:760px;font-size:16px;line-height:1.75;margin:0 0 26px}
.tgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.tc{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;text-align:start;padding:0;color:var(--ink);cursor:pointer;font:inherit}
.tc:hover{border-color:var(--gilt)}
.tc img{width:100%;aspect-ratio:16/10;object-fit:cover}
.tc-b{padding:14px 16px 16px;display:flex;flex-direction:column;gap:5px}
.tc-b h3{margin:0;font-family:var(--display);font-weight:400;font-size:26px;display:flex;align-items:center;gap:10px}
.tc-b h3 i{width:12px;height:12px;border-radius:50%;background:var(--tc)}
.tc-b p{margin:0;font-size:13.5px;color:var(--stone)}
.tc-b .go{margin-top:6px;color:var(--gilt2);font-size:13.5px}
.svc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:10px}
.svc-c{position:relative;padding:0;border:0;background:#0b0e14;cursor:zoom-in;border-radius:14px;overflow:hidden;aspect-ratio:3/2;display:block;font-family:inherit;text-align:start}
.svc-c img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.svc-c:hover img{transform:scale(1.05)}
.svc-t{position:absolute;inset:auto 0 0 0;padding:34px 14px 12px;background:linear-gradient(0deg,rgba(8,10,16,.88),rgba(8,10,16,0));color:#fff;display:grid;gap:2px}
.svc-t b{font-weight:600;font-size:15.5px}
.svc-t i{font-style:normal;font-size:12.5px;color:#d5d9e4;line-height:1.45}
.gal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:10px}
.gal-grid button{padding:0;border:0;background:none;cursor:zoom-in;border-radius:12px;overflow:hidden}
.gal-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .3s}
.gal-grid button:hover img{transform:scale(1.04)}
.lb{position:fixed;inset:0;z-index:95;background:rgba(5,7,12,.92);display:grid;place-items:center;padding:20px}
.lb img{max-width:100%;max-height:100%;object-fit:contain;border-radius:8px}
.lb .x{position:absolute;top:14px;inset-inline-end:14px}
.pay-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:22px;align-items:start}
.pay-box{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:8px 18px}
.pr{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.pr:last-child{border-bottom:0}
.pr b{font-weight:600;font-size:14.5px}
.pr span{color:var(--stone);font-size:13px;grid-column:1}
.pr .pct{grid-column:2;grid-row:1/3;font-family:var(--display);font-size:26px;color:var(--gilt2);direction:ltr;unicode-bidi:isolate}
.pr .bar{grid-column:1/-1;height:4px;background:var(--sage);border-radius:2px;overflow:hidden}
.pr .bar i{display:block;height:100%;background:var(--gilt)}
.pay-notes{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:8px}
.pay-notes li{background:rgba(200,169,110,.08);border:1px solid var(--line);border-radius:12px;padding:12px 16px;font-size:15px}
.pay-notes li small.fx{margin-top:2px}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.wc{position:relative;border-radius:var(--r);overflow:hidden;min-height:340px;background:#0d0f15;border:1px solid var(--line)}
.wc img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wc::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,15,21,.05) 25%,rgba(13,15,21,.92) 100%)}
.wc-t{position:absolute;inset-inline:0;bottom:0;z-index:2;padding:20px}
.wc-t h3{font-family:var(--display);font-weight:400;font-size:22px;margin:0 0 6px;color:#fff}
.wc-t p{margin:0;color:#d9d6cf;font-size:14.5px;line-height:1.65}
.facts{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:26px 0 8px}
.fact{background:var(--card2);border:1px solid var(--line);border-radius:12px;padding:16px 10px;text-align:center}
.fact b{direction:ltr;unicode-bidi:isolate;display:block;font-family:var(--display);font-weight:400;font-size:28px;color:var(--gilt2);margin-bottom:4px}
.fact span{color:var(--stone);font-size:13px;line-height:1.4}
.why-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:30px;padding:20px 24px;border:1px solid var(--gilt);border-radius:var(--r);background:rgba(200,169,110,.08)}
.why-cta p{margin:0;font-family:var(--display);font-size:20px;line-height:1.5;max-width:640px}
.sec-in>.note{margin:12px 2px 0}

/* ---------- mansion card ---------- */
.scrim{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:70}
.sheet{position:fixed;z-index:71;inset:4vh 50% auto auto;transform:translateX(50%);width:min(1080px,94vw);max-height:92vh;overflow:auto;
  background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);display:grid;grid-template-columns:1.2fr 1fr}
[dir=ltr] .sheet{inset:4vh auto auto 50%;transform:translateX(-50%)}
.x{position:absolute;top:10px;inset-inline-end:12px;width:38px;height:38px;border-radius:50%;border:0;background:var(--card2);color:var(--ink);font-size:22px;cursor:pointer;z-index:3}
.s-view{background:#0d0f15;display:flex;flex-direction:column;min-width:0;border-radius:18px 0 0 18px}
[dir=rtl] .s-view{border-radius:0 18px 18px 0}
.s-main{position:relative;background:#0d0f15;display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;overflow:hidden}
.s-main img{width:100%;height:100%;object-fit:cover;cursor:zoom-in}
.s-main.plan{background:#f4f2ec}
.s-main.plan img{object-fit:contain}
.s-tabs{display:flex;gap:6px;padding:10px 12px 0}
.s-tabs button{border:1px solid var(--line);background:var(--sage);color:var(--ink);border-radius:999px;padding:6px 14px;font-size:13px;cursor:pointer}
.s-tabs button.on{background:var(--gilt);color:var(--bg);border-color:var(--gilt);font-weight:600}
.s-thumbs{display:flex;gap:8px;padding:10px 12px 14px;overflow-x:auto;scrollbar-width:thin}
.s-thumbs button{flex:0 0 auto;border:2px solid transparent;border-radius:8px;padding:0;background:#222;overflow:hidden;cursor:pointer;width:84px}
.s-thumbs button.on{border-color:var(--gilt)}
.s-thumbs img{width:100%;height:56px;object-fit:cover}
.s-thumbs.pl button{width:auto;min-width:92px;height:auto;padding:8px 10px;background:var(--sage);color:var(--ink);font-size:12.5px;border-radius:10px}
.s-thumbs.pl button.on{background:var(--gilt);color:var(--bg)}
.s-info{padding:24px;min-width:0}
.s-k{margin:0;color:var(--stone);font-size:13px}
.s-info h2{font-family:var(--display);font-weight:400;font-size:30px;margin:4px 0}
.s-price{font-size:24px;color:var(--gilt2);margin:4px 0 12px;font-weight:600}
.s-price.req{font-size:19px;font-weight:500}
.s-st{display:inline-block;border-radius:999px;padding:3px 12px;font-size:12.5px;font-weight:600;margin:0 0 10px;color:#0f1117}
.s-st.s-av{background:#2fae6b}.s-st.s-sold{background:#9aa0ad}.s-st.s-bk{background:#6ea5d7}
.s-dl{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:0 0 14px;font-size:14px}
.s-dl dt{color:var(--stone)} .s-dl dd{margin:0}
.s-h{font-size:13px;color:var(--stone);margin:16px 0 8px;font-weight:600;letter-spacing:.04em}
.s-feat{display:flex;flex-direction:column;gap:8px}
.s-feat div b{display:block;font-size:12px;color:var(--gilt2);margin-bottom:4px;font-weight:600}
.s-feat div span{display:inline-block;border:1px solid var(--line);background:var(--sage);border-radius:999px;padding:3px 10px;font-size:12.5px;margin:0 4px 5px 0;margin-inline:0 4px}
.s-pay{font-size:13px;border:1px solid var(--line);border-radius:12px;padding:2px 12px}
.s-pay .pr{padding:7px 0}
.s-pay .pr b{font-size:13px;font-weight:500}
.s-pay .pr .pct{font-size:18px}
.s-pay .pr span,.s-pay .bar{display:none}
.s-act{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.s-c{font-size:13px;color:var(--stone);margin:14px 0 0}
#pdfSheet .sh-img{margin-top:4mm;display:flex;align-items:center;justify-content:center;background:#f6f4ef;overflow:hidden}
#pdfSheet .sh-img img{max-width:100%;max-height:100%;object-fit:contain}
#pdfSheet .sh-img.a{height:78mm}
#pdfSheet .sh-img.b{flex:1 1 auto;min-height:0}

/* ---------- responsive ---------- */
@media (max-width:1100px){.tgrid{grid-template-columns:repeat(2,1fr)}.gal-grid,.svc-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:980px){.why-grid{grid-template-columns:1fr}.wc{min-height:260px}.facts{grid-template-columns:repeat(3,1fr)}.pay-grid{grid-template-columns:1fr}}
@media (max-width:860px){
  :root{--top:56px}
  .mapwrap{grid-template-columns:1fr;padding-bottom:64px;padding-top:12px}
  .map-stage{height:62vh;min-height:0}
  /* filter = bottom sheet on phones (as on Florence): only the handle shows until opened */
  .handle{display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative;border:0;background:none;color:var(--ink);padding:16px 0 4px;width:100%;cursor:pointer}
  .handle::before{content:"";width:40px;height:4px;border-radius:2px;background:var(--line);position:absolute;left:50%;top:6px;transform:translateX(-50%)}
  .handle span{font-size:14px;color:var(--gilt2);font-weight:600}
  .side{position:fixed;inset:auto 0 0 0;z-index:60;height:auto;max-height:72vh;overflow:auto;border-radius:16px 16px 0 0;border-bottom:0;
    padding:0 max(16px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(16px,env(safe-area-inset-left,0px));
    transition:transform .25s ease;box-shadow:0 -8px 24px rgba(0,0,0,.35)}
  .side:not(.open)>*:not(.handle){display:none}
  .side.away{transform:translateY(110%)}
  .side-h h2{display:none}
  .side-h{justify-content:flex-end}
  .fab{bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}
  .hero{min-height:280px}
  .stat{min-width:0;flex:1 1 40%}
  .gal-grid{grid-template-columns:repeat(2,1fr)}
  .sheet{grid-template-columns:1fr;inset:auto 0 0 0!important;transform:none!important;width:100%;max-height:94vh;border-radius:18px 18px 0 0}
  .s-view{border-radius:18px 18px 0 0!important}
  .map-stage .hint{display:none}
  .plt{font-size:20px}
  .legend{font-size:11.5px;gap:4px 9px;padding:6px 10px;bottom:8px;inset-inline-start:8px;max-width:calc(100% - 16px)}
  /* phone: one tidy row across the TOP of the map */
  .map-tools{flex-direction:row;flex-wrap:nowrap;align-items:center;top:8px;bottom:auto;inset-inline:8px;gap:4px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
  .map-tools::-webkit-scrollbar{display:none}
  .map-tools button{flex:0 0 auto;min-width:30px;height:32px;font-size:11.5px;padding:0 7px;white-space:nowrap}
  #zIn,#zOut{font-size:18px!important;min-width:32px;padding:0}
  .hero-in{padding-top:24px}
  .hero h1{font-size:32px}
  .stat{padding:8px 12px}
  .stat b{font-size:21px}
}
@media (max-width:560px){.tgrid{grid-template-columns:1fr}.facts{grid-template-columns:repeat(2,1fr)}.why-cta{flex-direction:column;align-items:stretch;text-align:center}.why-cta .btn-wa{justify-content:center}.top .btn-wa.sm span{display:none}}

/* ---------- unit card tools, saved list, calculator overlay, pdf sheet ---------- */
.s-tools{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 4px}
.s-tools .btn-o{padding:8px 13px;font-size:13.5px}
.s-tools .btn-o[aria-pressed=true]{background:var(--gilt);color:#0f1117;border-color:var(--gilt)}
.s-lic{background:rgba(200,169,110,.12);border:1px solid var(--gilt);color:var(--gilt2,#e3c98a);border-radius:10px;padding:8px 12px;font-size:13.5px;margin:6px 0 10px}
.fab{position:fixed;inset-inline-start:16px;bottom:16px;z-index:45;display:flex;align-items:center;gap:6px;background:var(--gilt);color:#0f1117;border:0;border-radius:999px;padding:11px 18px;font-weight:600;font-size:14px;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.45)}
.fab[hidden]{display:none}
.fab b{background:#0f1117;color:var(--gilt2,#e3c98a);border-radius:999px;padding:1px 8px;font-size:12.5px}
.slov{position:fixed;inset:0;z-index:80;background:rgba(5,7,12,.72);backdrop-filter:blur(6px);display:grid;place-items:center;padding:16px}
.slov[hidden]{display:none}
.slbox{width:min(1100px,100%);max-height:92vh;display:flex;flex-direction:column;background:#141823;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.slh,.slf{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px}
.slh{border-bottom:1px solid var(--line)} .slf{border-top:1px solid var(--line)}
.slh h2{margin:0;font-family:var(--display);font-weight:400;font-size:22px}
.slh .x,.calc-h .x{position:static;width:38px;height:38px;border-radius:10px;border:1px solid var(--line);background:none;color:inherit;font-size:22px;cursor:pointer}
.slbody{overflow:auto;padding:14px 18px}
.slbody .empty{color:var(--stone);padding:24px 0;text-align:center}
.cmp{border-collapse:collapse;min-width:100%;font-size:14px}
.cmp th,.cmp td{padding:9px 12px;border-bottom:1px solid var(--line);text-align:start;vertical-align:top;white-space:nowrap}
.cmp thead th{vertical-align:bottom}
.cmp tbody th{color:var(--stone);font-weight:400}
.cmp .cb{display:flex;gap:6px;margin-top:6px}
.cmp .cb button{background:none;border:1px solid var(--line);color:inherit;border-radius:8px;padding:4px 9px;font-size:12px;cursor:pointer}
.cmp .cb button:first-child{border-color:var(--gilt);color:var(--gilt)}
.cmp td.best{color:var(--gilt2,#e3c98a);font-weight:600}
.calc-ov{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:24px;background:rgba(5,7,12,.6);backdrop-filter:blur(10px)}
.calc-ov[hidden]{display:none}
.calc-box{width:min(1100px,100%);height:min(860px,100%);display:flex;flex-direction:column;overflow:hidden;border-radius:18px;border:1px solid var(--line);background:#141823;box-shadow:0 24px 70px rgba(0,0,0,.5)}
.calc-h{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--line)}
.calc-t{font:400 20px/1 var(--display)}
.calc-ext{margin-inline-start:auto;width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;color:inherit;text-decoration:none;font-size:18px}
#calcFrame{flex:1;width:100%;border:0;background:transparent}
@media (max-width:720px){.calc-ov{padding:0}.calc-box{height:100%;border-radius:0;border:0}}
/* offscreen unit sheet used to build the PDF (light page, 210x297mm) */
#pdfSheet{position:fixed;left:-12000px;top:0;width:210mm;z-index:-1;background:#fff;color:#111;font:11pt/1.45 "IBM Plex Sans","IBM Plex Sans Arabic",Arial,sans-serif}
#pdfSheet .pg{width:210mm;height:297mm;padding:13mm 12mm;box-sizing:border-box;background:#fff;display:flex;flex-direction:column;overflow:hidden;position:relative}
#pdfSheet .sh-top{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:2px solid #8a6d2f;padding-bottom:5mm;margin-bottom:5mm}
#pdfSheet .sh-brand{font:20pt/1 Marcellus,Georgia,serif;letter-spacing:.14em;color:#8a6d2f}
#pdfSheet .sh-agent{font-size:12pt;font-weight:600;color:#8a6d2f}
#pdfSheet h1{font:22pt/1.15 Marcellus,Georgia,serif;margin:0 0 1.5mm;color:#111}
#pdfSheet .sh-sub{color:#555;font-size:11pt}
#pdfSheet .sh-price{font:600 18pt/1.2 "IBM Plex Sans",Arial;margin:4mm 0 3mm;color:#8a6d2f}
#pdfSheet .sh-bk{border:1px solid #5b87ad;background:#eaf2f9;color:#27475f;border-radius:2mm;padding:2mm 3mm;font-size:10pt;margin-bottom:3mm}
#pdfSheet table{border-collapse:collapse;width:100%}
#pdfSheet td{padding:1.5mm 0;border-bottom:1px solid #ddd;font-size:10pt}
#pdfSheet td+td{text-align:end;font-weight:600}
#pdfSheet .sh-plan{flex:1 1 auto;min-height:0;margin-top:5mm;display:flex;align-items:center;justify-content:center;background:#f6f4ef}
#pdfSheet .sh-plan img{max-width:100%;max-height:100%;object-fit:contain}
#pdfSheet .sh-foot{margin-top:5mm;padding-top:3mm;border-top:1px solid #ccc;font-size:8.5pt;color:#555;display:flex;justify-content:space-between;gap:6mm}
@media print{body>*:not(#pdfSheet){display:none!important}#pdfSheet{position:static;left:0;width:auto;z-index:auto}#pdfSheet .pg{height:auto;min-height:277mm}}


/* approximate price in the visitor's currency, smaller line under the fixed AED price (like Florence) */
small.fx{display:block;font-size:.58em;font-weight:400;opacity:.78;line-height:1.3;letter-spacing:0;direction:ltr;unicode-bidi:isolate}
.stat b small.fx,.s-price small.fx{font-family:var(--body,inherit)}
.bi .s small.fx,.ui .p small.fx{font-size:.8em}


/* ---------- inquiry form ---------- */
.btn-inq{display:inline-flex;align-items:center;justify-content:center;font-family:inherit;cursor:pointer;background:var(--gilt);color:#0f1117;border:1px solid var(--gilt);border-radius:999px;padding:10px 18px;font-size:14px;font-weight:600}
.inq-ov{position:fixed;inset:0;z-index:95;display:grid;place-items:center;padding:24px;background:rgba(5,7,12,.6);backdrop-filter:blur(10px)}
.inq-ov[hidden]{display:none}
.inq-box{width:min(460px,100%);max-height:100%;overflow:auto;background:#101827;border:1px solid var(--gilt);border-radius:16px;padding:16px 18px 20px}
.inq-box form{display:grid;gap:6px}
.inq-box label{font-size:13px;color:var(--gilt2);margin-top:6px}
.inq-box input,.inq-box textarea{font:inherit;font-size:16px;color:#fff;background:#0b1220;border:1px solid #2a3855;border-radius:10px;padding:10px 12px;width:100%}
.inq-box input[aria-invalid=true]{border-color:#d46a5a}
.inq-for{margin:2px 0 4px;color:#cfd6e6;font-size:13.5px}
.inq-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.inq-err{margin:6px 0 0;color:#ff9d8f;font-size:13.5px}
.inq-ok{margin:14px 0 4px;color:#7fd99a;font-size:15px;line-height:1.6}
.inq-send{margin-top:10px;justify-content:center;border:0;cursor:pointer;font-family:inherit;font-size:15px}
.inq-send[disabled]{opacity:.6;cursor:wait}
@media (max-width:720px){.inq-ov{padding:0;align-items:end}.inq-box{border-radius:16px 16px 0 0;max-height:92dvh}}
.inq-box .calc-t{flex:1}
@media (max-width:720px){.inq-box{padding-bottom:max(20px,env(safe-area-inset-bottom))}}
