/* Landing choices, buyer questions (#buy) and the "Need help?" scripted chat. Uses the site's tokens (ink/night/lantern). */
:root{--hb-ink:#1a2130;--hb-night:#243049;--hb-gold:#f0a851;--hb-gold2:#ffcf8f;--hb-text:#ece5d8;--hb-muted:#b3ab9e;--hb-line:rgba(240,168,81,.28)}
html[lang="ar"]{--hb-font:var(--ar,"Noto Naskh Arabic",system-ui)}
/* ---------- landing (hero chapter 1) ---------- */
.help-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:1.6rem;max-width:460px}
.help-choice{position:relative;display:flex;flex-direction:column;gap:6px;min-height:92px;padding:16px 18px 16px;border-radius:16px;text-decoration:none;color:var(--hb-text);
  background:linear-gradient(160deg,rgba(36,48,73,.78),rgba(20,25,38,.82));border:1px solid var(--hb-line);box-shadow:0 18px 40px -22px rgba(6,8,14,.9);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:border-color .3s,transform .3s var(--ease,ease),background-color .3s}
.help-choice:hover,.help-choice:focus-visible{border-color:var(--hb-gold2);transform:translateY(-2px)}
.help-choice__k{font:600 12px/1.2 var(--hb-font,var(--body));letter-spacing:.14em;text-transform:uppercase;color:var(--hb-gold2)}
html[lang="ar"] .help-choice__k{letter-spacing:0;font-size:14px}
.help-choice__t{font:400 21px/1.15 var(--display);color:var(--hb-text)}
html[lang="ar"] .help-choice__t{font-family:var(--ar-display,"Amiri",serif);font-size:22px}
.help-choice__a{position:absolute;inset-inline-end:16px;bottom:14px;color:var(--hb-gold);font-size:18px;line-height:1}
.help-choice--buy{background:linear-gradient(160deg,rgba(240,168,81,.95),rgba(214,140,56,.95));border-color:transparent;color:#221a10}
.help-choice--buy .help-choice__k{color:#3a2a14}.help-choice--buy .help-choice__t,.help-choice--buy .help-choice__a{color:#1d160d}
.help-talk{margin:1.1rem 0 0;font-size:15px;color:var(--hb-muted)}
.help-talk a{color:var(--hb-text);text-decoration:underline;text-decoration-color:rgba(255,207,143,.55);text-underline-offset:4px;display:inline-block;padding:10px 0;min-height:44px;box-sizing:border-box}
@media (max-width:900px){.help-choices{gap:10px;margin-top:1.1rem}.help-choice{min-height:80px;padding:13px 14px}.help-choice__t{font-size:18px}.help-talk{margin-top:.4rem;font-size:14px}}
/* hero photo slot 01: a real listing photo, shown whole (3:2) so nothing is cropped */
.hero__inset.is-photo.is-wide{width:clamp(220px,20vw,320px)}
.hero__inset.is-wide .inset__frame{aspect-ratio:1312/894}
.hero__inset.is-wide .inset__frame img{object-fit:contain;background:#141926}
.inset__src{display:block;font-size:11px;letter-spacing:.06em;color:var(--hb-muted);margin-top:2px}
@media (max-width:900px){.hero__inset.is-photo.is-wide{width:150px}}
@media (max-width:900px) and (orientation:portrait){.hero__inset.is-wide{display:none}}
/* ---------- buyer questions ---------- */
.buy{padding:clamp(64px,9vw,120px) 0 clamp(24px,4vw,48px);background:radial-gradient(120% 90% at 85% 0%,rgba(240,168,81,.10),transparent 60%),var(--ink,#1a2130)}
.buy__grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(28px,5vw,80px);align-items:start}
.buy .sec-title{margin-bottom:.6rem}
.buy__lede{color:var(--hb-muted);max-width:34ch;font-size:17px}
.bf-card{background:linear-gradient(180deg,rgba(45,58,87,.55),rgba(36,48,73,.35));border:1px solid var(--hb-line);border-radius:22px;padding:clamp(22px,3vw,34px);box-shadow:0 30px 70px -40px rgba(0,0,0,.8)}
.bf-card:focus{outline:none}
.bf-top{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.bf-step{margin:0;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--hb-gold2);white-space:nowrap}
html[lang="ar"] .bf-step{letter-spacing:0;font-size:14px}
.bf-bar{flex:1;height:2px;background:rgba(236,229,216,.14);border-radius:2px;overflow:hidden}.bf-bar span{display:block;height:100%;background:var(--hb-gold);transition:width .4s var(--ease,ease)}
.bf-q{font:400 clamp(26px,3vw,36px)/1.1 var(--display);margin:0 0 18px;color:var(--hb-text)}
html[lang="ar"] .bf-q{font-family:var(--ar-display,"Amiri",serif)}
.bf-q:focus{outline:none}
.bf-q--res{font-size:clamp(22px,2.4vw,28px)}
.bf-opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bf-opt{min-height:56px;padding:12px 18px;border-radius:14px;border:1px solid rgba(236,229,216,.22);background:rgba(20,25,38,.45);color:var(--hb-text);font:500 17px/1.2 var(--hb-font,var(--body));text-align:start;cursor:pointer;transition:border-color .25s,background-color .25s}
.bf-opt:hover,.bf-opt:focus-visible{border-color:var(--hb-gold2);background:rgba(240,168,81,.08)}
.bf-opt[aria-checked="true"]{border-color:var(--hb-gold);background:rgba(240,168,81,.14)}
.bf-field{display:block;margin:0 0 12px}.bf-field>span:not(.sr){display:block;font-size:14px;color:var(--hb-muted);margin-bottom:6px}
.bf-field select,.bf-field input{width:100%;min-height:52px;border-radius:12px;border:1px solid rgba(236,229,216,.3);background:#141926;color:var(--hb-text);padding:0 14px;font:500 16px/1 var(--hb-font,var(--body))}
.bf-field select:focus,.bf-field input:focus{outline:2px solid var(--hb-gold2);outline-offset:2px}
.bf-other[hidden]{display:none}
.bf-err{min-height:1.2em;margin:6px 0 0;color:#ffb38a;font-size:14px}
.bf-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.bf-nav .btn{min-height:48px}
.bf-nav--res{justify-content:flex-start}
.bf-sum{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 16px}
.bf-sum li{padding:6px 12px;border-radius:999px;border:1px solid var(--hb-line);font-size:13px;color:var(--hb-gold2)}
.bf-homes{list-style:none;padding:0;margin:0 0 6px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bf-home{display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:rgba(20,25,38,.6);border:1px solid rgba(236,229,216,.12)}
.bf-home img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.bf-home__b{padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.bf-home__p{margin:0;font:400 22px/1 var(--display);color:var(--hb-gold2)}
html[lang="ar"] .bf-home__p{font-family:var(--ar,system-ui)}
.bf-home__t{margin:0 0 8px;font-size:14px;color:var(--hb-muted)}
.bf-home .btn{min-height:44px}
@media (max-width:900px){.buy__grid{grid-template-columns:1fr}.bf-homes{grid-template-columns:1fr}}
/* ---------- chat: bubble ---------- */

.hb-toggle{position:fixed;z-index:72;inset-inline-end:24px;bottom:24px;display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 20px 8px 9px;border-radius:999px;cursor:pointer;
  background:linear-gradient(180deg,#263352,#1a2130);color:var(--hb-text);border:1px solid rgba(240,168,81,.55);box-shadow:0 18px 40px -16px rgba(0,0,0,.75),0 0 0 4px rgba(240,168,81,.08);
  font:600 15px/1 var(--hb-font,var(--body,system-ui));transition:opacity .35s,transform .35s var(--ease,ease),border-color .3s,visibility .35s}
html[dir="rtl"] .hb-toggle{padding:8px 9px 8px 20px}
.hb-toggle:hover,.hb-toggle:focus-visible{border-color:var(--hb-gold2)}
.hb-toggle.is-away,html.hb-open .hb-toggle{opacity:0;visibility:hidden;transform:translateY(16px);pointer-events:none}
.hb-toggle__av,.hb-av{position:relative;display:inline-block;flex:none}
@media (max-width:900px){.hb-toggle{bottom:calc(76px + env(safe-area-inset-bottom));inset-inline-end:14px;min-height:48px}}
/* ---------- chat: panel ---------- */
.hb{position:fixed;z-index:90;inset-inline-end:24px;bottom:24px;width:min(400px,calc(100vw - 32px));height:min(620px,calc(100vh - 48px));display:flex;flex-direction:column;
  background:linear-gradient(180deg,#202a42 0%,#171d2c 100%);color:var(--hb-text);border:1px solid rgba(240,168,81,.38);border-radius:22px;overflow:hidden;
  box-shadow:0 40px 90px -30px rgba(0,0,0,.85);opacity:0;transform:translateY(14px) scale(.98);transform-origin:bottom right;transition:opacity .22s,transform .22s var(--ease,ease);font-family:var(--hb-font,var(--body,system-ui))}
html[dir="rtl"] .hb{transform-origin:bottom left}
.hb[hidden]{display:none}
.hb.is-open{opacity:1;transform:none}
.hb-head{display:flex;align-items:center;gap:12px;padding:14px 12px 14px 16px;border-bottom:1px solid rgba(240,168,81,.2);background:rgba(20,25,38,.55)}
.hb-who{flex:1;min-width:0}
.hb-title{margin:0;font:400 18px/1.15 var(--display);color:var(--hb-text)}
html[lang="ar"] .hb-title{font-family:var(--ar-display,"Amiri",serif);font-size:19px}
.hb-sub{margin:2px 0 0;font-size:12.5px;color:var(--hb-gold2)}
.hb-close{flex:none;width:44px;height:44px;border-radius:50%;border:1px solid rgba(236,229,216,.2);background:none;color:var(--hb-text);display:grid;place-items:center;cursor:pointer}
.hb-close svg{width:18px;height:18px}.hb-close:hover,.hb-close:focus-visible{border-color:var(--hb-gold2);color:var(--hb-gold2)}
.hb-log{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:16px 14px 8px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.hb-msg{max-width:86%;opacity:0;transform:translateY(8px);transition:opacity .28s,transform .28s var(--ease,ease)}
.hb-msg.is-in{opacity:1;transform:none}
.hb-msg p{margin:0;padding:11px 14px;border-radius:16px;font-size:15px;line-height:1.45}
.hb-msg--bot{align-self:flex-start}.hb-msg--bot p{background:rgba(236,229,216,.08);border:1px solid rgba(236,229,216,.1);border-start-start-radius:6px}
.hb-msg--user{align-self:flex-end}.hb-msg--user p{background:var(--hb-gold);color:#221a10;border-start-end-radius:6px;font-weight:500}
.hb-typing{display:inline-flex;gap:5px;padding:14px 16px;border-radius:16px;background:rgba(236,229,216,.08);border-start-start-radius:6px}
.hb-typing i{width:7px;height:7px;border-radius:50%;background:var(--hb-gold2);opacity:.35;animation:hbDot 1s infinite ease-in-out}
.hb-typing i:nth-child(2){animation-delay:.15s}.hb-typing i:nth-child(3){animation-delay:.3s}
@keyframes hbDot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.hb-chips{display:flex;flex-wrap:wrap;gap:8px;opacity:0;transform:translateY(6px);transition:opacity .28s .05s,transform .28s .05s}
.hb-chips.is-in{opacity:1;transform:none}
.hb-chip{min-height:44px;display:inline-flex;align-items:center;padding:0 16px;border-radius:999px;border:1px solid rgba(240,168,81,.5);background:rgba(20,25,38,.4);color:var(--hb-text);font:500 14.5px/1 inherit;font-family:inherit;text-decoration:none;cursor:pointer;transition:background-color .2s,border-color .2s,color .2s}
.hb-chip:hover,.hb-chip:focus-visible{background:rgba(240,168,81,.14);border-color:var(--hb-gold2)}
.hb-chip--wa,.hb-chip--gold{background:var(--hb-gold);border-color:var(--hb-gold);color:#221a10;font-weight:600}
.hb-chip--wa:hover,.hb-chip--gold:hover{background:var(--hb-gold2)}
.hb-chips.is-used .hb-chip{opacity:.4;cursor:default}.hb-chips.is-used .hb-chip.is-picked{opacity:1;border-color:var(--hb-gold)}
.hb-chips.is-used{display:none}
.hb-homes{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.hb-home{width:100%;min-height:62px;display:flex;align-items:center;gap:12px;padding:6px 12px 6px 6px;border-radius:14px;border:1px solid rgba(236,229,216,.14);background:rgba(20,25,38,.55);color:var(--hb-text);text-align:start;cursor:pointer;font:inherit}
html[dir="rtl"] .hb-home{padding:6px 6px 6px 12px}
.hb-home:hover,.hb-home:focus-visible{border-color:var(--hb-gold2)}
.hb-home img{width:72px;height:50px;border-radius:9px;object-fit:cover;flex:none}
.hb-home b{display:block;font:400 17px/1.1 var(--display);color:var(--hb-gold2)}
html[lang="ar"] .hb-home b{font-family:inherit;font-weight:600}
.hb-home small{display:block;font-size:12.5px;color:var(--hb-muted);margin-top:3px}
.hb-input{display:flex;gap:8px;padding:8px 14px 0}
.hb-input[hidden]{display:none}
.hb-input input{flex:1;min-width:0;min-height:44px;border-radius:12px;border:1px solid rgba(236,229,216,.28);background:#141926;color:var(--hb-text);padding:0 12px;font:inherit;font-size:15px}
.hb-input input:focus{outline:2px solid var(--hb-gold2);outline-offset:1px}
.hb-send{min-height:44px;padding:0 16px;border-radius:12px;border:0;background:var(--hb-gold);color:#221a10;font:600 14.5px/1 inherit;font-family:inherit;cursor:pointer}
.hb-always{display:flex;gap:8px;padding:10px 14px 4px;border-top:1px solid rgba(236,229,216,.08);margin-top:8px}
.hb-mini{min-height:44px;flex:1;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid rgba(236,229,216,.18);background:none;color:var(--hb-text);font:500 13.5px/1 inherit;font-family:inherit;text-decoration:none;cursor:pointer}
.hb-mini:hover,.hb-mini:focus-visible{border-color:var(--hb-gold2)}
.hb-mini--wa{color:var(--hb-gold2);border-color:rgba(240,168,81,.45)}
.hb-foot{margin:0;padding:6px 14px 12px;font-size:11.5px;color:var(--hb-muted);text-align:center;letter-spacing:.02em}
@media (max-width:600px){.hb{inset:auto 0 0 0;width:100%;height:min(86vh,680px);border-radius:22px 22px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}}
@media (prefers-reduced-motion:reduce){.hb,.hb-msg,.hb-chips,.hb-toggle,.help-choice{transition:none!important}.hb-typing i{animation:none;opacity:.8}.hb-log{scroll-behavior:auto}}
/* hero photo slots: a slot without a real photo is not shown at all (no placeholder tile) */
.hero__inset.is-placeholder{display:none!important}
.buy .kicker{margin:0 0 1rem;color:var(--hb-gold2);font-size:15px;font-weight:500;display:flex;align-items:center;gap:12px}
.buy .kicker::before{content:"";width:28px;height:1px;background:currentColor}
.lform-done{padding:22px;border:1px solid var(--hb-line);border-radius:18px;background:rgba(36,48,73,.45)}.lform-done:focus{outline:none}.lform-done p{margin:0 0 12px}

.hb-log:focus{outline:none}

/* initials monogram (matches the header .brand__mark: dark ground, gold hairline, gold display type); no online dot */
.hb-mono{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#141a26;border:1px solid var(--lantern,#e0a458);color:var(--lantern-2,#ffcf8f);font:400 14px/1 var(--display);letter-spacing:.02em;white-space:nowrap}
.hb-av.hb-mono{width:40px;height:40px;font-size:16px}
html[lang="ar"] .hb-mono{font-family:inherit;font-weight:700;font-size:13px;letter-spacing:0}
html[lang="ar"] .hb-av.hb-mono{font-size:15px}
/* small specialist line directly under the landing H1 */
.help-sub{margin:-.6rem 0 1.1rem;font:500 13px/1.4 var(--sans,inherit);letter-spacing:.14em;text-transform:uppercase;color:var(--lantern-2,#ffcf8f)}
html[lang="ar"] .help-sub{letter-spacing:0;font-size:15px;font-weight:600}

/* finder index: Caya 2 links to its cluster page (master plan only, no floor plans on file) */
.fx-cl.fx-cl--link{color:inherit;text-decoration:none}

/* /ar/ enquiry form in the closing section */
.lform--enq{margin:22px 0 18px;max-width:640px}.lform__note{margin:0;font-size:14px;line-height:1.7;color:var(--hb-muted,#b3ab9e)}
.lform .f textarea{font:inherit;color:var(--text);background:#1d2536;border:1px solid rgba(236,229,216,.2);border-radius:10px;padding:12px 14px;min-height:96px;width:100%;max-width:100%;box-sizing:border-box;resize:vertical}
.lform[hidden]{display:none!important}
