:root {
  --cream: #f3eee4;
  --ink: #10202b;
  --night: #0b1820;
  --sky: #2f6f9f;
  --stone: #c8964a;
  --white: #fbf9f4;
  /* web fonts are switched on together by main.js (html.wf) once every face is in, so the page is laid out again once, not once per file */
  --serif: serif;
  --sans: system-ui, sans-serif;
  --ar: system-ui, sans-serif;
  --num: sans-serif;
  --mix: sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(18px, 4vw, 56px);
}
html.wf {
  --serif: "Cormorant Garamond", "Alexandria", serif;
  --sans: "Manrope", "Alexandria", system-ui, sans-serif;
  --ar: "Alexandria", system-ui, sans-serif;
  --num: "Manrope", sans-serif;
  --mix: "Manrope", "Alexandria", sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--night); color: var(--white); font-family: var(--sans); line-height: 1.5; overflow-x: clip; }
html[lang="ar"] body { font-family: var(--ar); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--pad); color: var(--ink); transition: color 0.4s; direction: ltr; }
.bar.on-photo { color: var(--white); }
.bar__brand { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.logo__mark, .logo__word { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.logo__mark { --m: url(../img/logo-mark.png); height: 40px; aspect-ratio: 388 / 474; }
.logo__word { --m: url(../img/logo-word.png); height: 12px; aspect-ratio: 1014 / 78; }
.lang { width: 44px; height: 44px; flex: none; border-radius: 999px; border: 1px solid currentColor; font-weight: 600; font-size: 13px; opacity: 0.85; }
/* without scenes nothing recolours the bar, so it stays on the hero photo instead of following the page */
.bar { position: absolute; }
.scenes .bar { position: fixed; }

/* ---------- 01 hero ---------- */
.hero { position: relative; }
.hero__stage { position: relative; height: 100vh; height: 100svh; min-height: 480px; overflow: clip; background: var(--night); }
.hero__media, .hero__shade, .hero__sheet, .hero__intro { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.hero__shade { background: linear-gradient(180deg, rgba(11, 24, 32, 0.25) 0%, rgba(11, 24, 32, 0) 30%, rgba(11, 24, 32, 0.55) 68%, rgba(11, 24, 32, 0.9) 100%); }
.hero__sheet { width: 100%; height: 100%; display: none; }
.sheet__fill { fill: var(--cream); }
.cut__num { font-family: var(--num); font-weight: 800; letter-spacing: -0.06em; }
.hero__intro { display: none; pointer-events: none; color: var(--ink); font-family: var(--mix); font-weight: 600; font-size: 12px; letter-spacing: 0.3em; }
html[lang="ar"] .hero__intro { letter-spacing: 0; font-size: 14px; }
.intro__top { position: absolute; top: 96px; left: 0; right: 0; text-align: center; }
.intro__bottom { position: absolute; bottom: 120px; bottom: max(110px, 17svh); left: 0; right: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0 16px; text-align: center; }
.intro__bottom i { display: none; }
.intro__bottom span:first-child { font-size: 15px; font-weight: 700; }
html[lang="ar"] .intro__bottom span:first-child { font-size: 21px; }

.hero__copy { position: absolute; inset: auto 0 0 0; padding: 0 var(--pad) clamp(34px, 7vh, 76px); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(10px, 2vh, 18px); }
.eyebrow { font-family: var(--mix); font-weight: 600; font-size: 12px; letter-spacing: 0.3em; color: rgba(251, 249, 244, 0.78); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.hero__h { font-family: var(--serif); font-weight: 500; font-size: clamp(27px, 6.2vw, 92px); line-height: 1.02; letter-spacing: -0.02em; }
html[lang="ar"] .hero__h { font-family: var(--ar); font-weight: 700; font-size: clamp(22px, 5.4vw, 78px); line-height: 1.3; letter-spacing: 0; }
.line { display: block; overflow: clip; padding-bottom: 0.08em; }
.line > span { display: block; }
.accent { color: var(--stone); font-style: italic; }
html[lang="ar"] .accent { font-style: normal; }
.hero__lead { max-width: 560px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.65; color: rgba(251, 249, 244, 0.84); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform 0.5s var(--ease), background 0.3s, color 0.3s; }
.btn:hover { transform: translateY(-3px); }
.btn--solid { background: var(--stone); color: var(--night); }
.btn--ghost { border: 1px solid rgba(251, 249, 244, 0.5); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--night); }

/* scene mode: JS is running and motion is allowed */
.scenes .hero__sheet { display: block; }
.scenes .hero__intro { display: block; }
/* first frame: the sheet and its 1.1 are drawn by CSS alone, before any script, so the page opens on the opening scene.
   main.js then takes over (.scenes) or declines (.noscene). If no script answers within 6s the plain hero shows instead. */
.cut__num { font-size: min(50vw, 62vh); font-size: min(50vw, 62svh); }
@media (prefers-reduced-motion: no-preference) {
  html:not(.noscene) .hero__sheet, html:not(.noscene) .hero__intro { display: block; }
  html:not(.scenes):not(.noscene) .hero__sheet, html:not(.scenes):not(.noscene) .hero__intro { animation: pre-off 0.01s 6s forwards; }
  html:not(.scenes):not(.noscene) .hero__copy, html:not(.scenes):not(.noscene) .dock { visibility: hidden; animation: pre-on 0.01s 6s forwards; }
}
/* scroll cue: the last label of the opening screen is a pill with a bouncing arrow, so the visitor knows to swipe */
.intro__bottom span:last-child { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; font-size: 14px; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 700; letter-spacing: 0.12em; animation: cue-ring 1.8s ease-out infinite; }
html[lang="ar"] .intro__bottom span:last-child { letter-spacing: 0; font-size: 18px; }
.intro__bottom span:last-child::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; animation: cue-drop 1.1s ease-in-out infinite; }
@keyframes cue-drop { 0%, 100% { transform: translateY(-3px) rotate(45deg); } 50% { transform: translateY(4px) rotate(45deg); } }
@keyframes cue-ring { 0% { box-shadow: 0 0 0 0 rgba(16, 32, 43, 0.35); } 100% { box-shadow: 0 0 0 16px rgba(16, 32, 43, 0); } }
@keyframes pre-off { to { visibility: hidden; } }
@keyframes pre-on { to { visibility: visible; } }

/* ---------- 02 location ---------- */
.loc { position: relative; z-index: 2; background: var(--cream); color: var(--ink); }
.loc__stage { display: grid; gap: 22px; padding: 96px 0 56px; }
.loc__copy { padding: 0 var(--pad); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.eyebrow--ink { color: var(--stone); }
.loc__h { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.5vw, 72px); line-height: 1.04; letter-spacing: -0.02em; }
html[lang="ar"] .loc__h { font-family: var(--ar); font-weight: 700; font-size: clamp(28px, 4.6vw, 68px); line-height: 1.3; letter-spacing: 0; }
.loc__lead { max-width: 460px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.7; color: rgba(16, 32, 43, 0.78); }
.loc__map { position: relative; overflow: hidden; aspect-ratio: 2361 / 1469; width: 100%; }
.loc__zoom { position: absolute; inset: 0; transform-origin: 23.1% 52.3%; will-change: transform; }
.loc__zoom img { width: 100%; height: 100%; }
.loc__pulse { position: absolute; left: 23.1%; top: 52.3%; width: 9%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--stone); transform: translate(-50%, -50%) scale(0.4); opacity: 0; animation: pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes pulse { 0% { transform: translate(-50%, -50%) scale(0.4); opacity: 0.9; } 100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; } }
.loc__list { list-style: none; padding: 0 var(--pad); display: flex; flex-wrap: wrap; gap: 8px; }
.loc__list li { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(16, 32, 43, 0.22); font-size: 14px; font-weight: 500; line-height: 1.3; }

@media (min-width: 900px) {
  .loc__stage { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: clamp(24px, 4vw, 64px); row-gap: 26px; min-height: 100vh; min-height: 100svh; padding: 96px var(--pad) 48px; }
  .loc__copy { grid-column: 1; grid-row: 1; padding: 0; align-self: end; }
  .loc__list { grid-column: 1; grid-row: 2; padding: 0; align-self: start; }
  .loc__map { grid-column: 2; grid-row: 1 / span 2; align-self: center; max-height: calc(100vh - 150px); margin-inline: auto; }
}

@media (max-width: 640px) {
  .bar { padding: 10px 16px; }
  .logo__mark { height: 34px; }
  .logo__word { height: 10px; }
  .bar__brand { gap: 9px; }
  .hero__cta { width: 100%; flex-wrap: nowrap; gap: 8px; }
  .hero__cta .btn { flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: 14px; text-align: center; }
  .intro__top { top: 84px; }
  .loc__stage { padding-top: 84px; }
  .loc__list { gap: 6px; }
  .loc__list li { padding: 7px 13px; font-size: 13px; }
}
@media (max-width: 340px) {
  .logo__word { height: 9px; }
  .hero__cta .btn { font-size: 13px; }
}
/* short screens (landscape phones): keep the hero words inside the pinned stage */
@media (max-height: 520px) {
  .hero__stage { min-height: 0; }
  .hero__lead, .hero .eyebrow { display: none; }
  .hero__copy { padding-bottom: 18px; gap: 8px; }
  .hero__h, html[lang="ar"] .hero__h { font-size: clamp(18px, 8.4vh, 40px); }
  .btn { min-height: 44px; }
  .intro__top { top: 64px; }
  .intro__bottom { bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .loc__pulse { animation: none; } }

/* ---------- typed headline ---------- */
.tw { position: relative; }
.tw__hold { visibility: hidden; }
.tw__on { position: absolute; inset: 0 0 auto 0; }
.tw.is-typing .tw__on::after { content: ""; display: inline-block; width: 0.06em; height: 0.9em; margin-inline-start: 0.08em; background: currentColor; vertical-align: -0.08em; animation: caret 0.8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- shared section bits ---------- */
.sec__h { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.5vw, 72px); line-height: 1.04; letter-spacing: -0.02em; }
html[lang="ar"] .sec__h { font-family: var(--ar); font-weight: 700; font-size: clamp(27px, 4.4vw, 66px); line-height: 1.3; letter-spacing: 0; }
.sec__lead { max-width: 480px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.7; opacity: 0.82; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(16, 32, 43, 0.22); font-size: 13px; font-weight: 500; line-height: 1.3; }
.chips--light li { border-color: rgba(251, 249, 244, 0.3); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--wa { background: #1fa855; color: #fff; gap: 8px; }
.btn--wa svg, .dock svg { width: 22px; height: 22px; flex: none; }

/* ---------- 03 master plan ---------- */
.mp { position: relative; z-index: 2; background: var(--night); color: var(--white); }
.mp__stage { display: grid; gap: 24px; padding: 72px 0 56px; }
.mp__img { overflow: hidden; }
.mp__img img { width: 100%; height: auto; will-change: transform; }
.mp__copy { padding: 0 var(--pad); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
@media (min-width: 900px) {
  .mp__stage { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: clamp(24px, 4vw, 64px); min-height: 100vh; min-height: 100svh; padding: 96px var(--pad) 48px; }
  .mp__img { border-radius: 18px; max-height: calc(100vh - 150px); aspect-ratio: 1600 / 1192; margin-inline: auto; }
  .mp__img img { height: 100%; object-fit: cover; }
  .mp__copy { padding: 0; }
}

/* ---------- 04 homes ---------- */
.units { position: relative; z-index: 2; background: var(--cream); color: var(--ink); overflow: clip; }
.units__stage { display: flex; flex-direction: column; gap: 22px; padding: 72px 0 56px; }
.units__head { padding: 0 var(--pad); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.units__hint { font-size: 13px; opacity: 0.6; }
.units__track { display: flex; gap: 14px; padding: 4px var(--pad) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.units__track::-webkit-scrollbar { display: none; }
.unit { flex: 0 0 min(82vw, 380px); scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 0 rgba(16, 32, 43, 0.06), 0 18px 40px -24px rgba(16, 32, 43, 0.35); }
.unit__media { aspect-ratio: 1152 / 639; background: #fff; }
.unit__media img { width: 100%; height: 100%; object-fit: cover; }
.unit__media--type { display: grid; place-items: center; background: var(--ink); color: var(--cream); }
.unit__media--type span { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 9vw, 52px); letter-spacing: -0.01em; }
.unit__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; }
.unit__tag { font-family: var(--num); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone); }
.unit__name { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; }
.unit__spec { font-size: 14px; opacity: 0.75; }
.unit__price { display: grid; gap: 8px; margin: 8px 0 12px; padding-top: 12px; border-top: 1px solid rgba(16, 32, 43, 0.12); }
.unit__price div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.unit__price dt { font-size: 13px; opacity: 0.7; }
.unit__price dd { font-size: 15px; font-weight: 700; text-align: end; }
.unit .btn { margin-top: auto; width: 100%; min-height: 48px; }
@media (min-width: 900px) and (min-height: 600px) {
  .scenes .units__stage { height: 100vh; height: 100svh; justify-content: center; padding: 88px 0 32px; }
  .scenes .units__track { overflow: visible; scroll-snap-type: none; width: max-content; will-change: transform; }
  .scenes .units__hint { display: none; }
  .scenes .unit { flex-basis: clamp(300px, 26vw, 380px); }
}

/* ---------- 05 life ---------- */
.life { position: relative; z-index: 2; background: var(--night); color: var(--white); padding: 72px 0 64px; }
.life__head { padding: 0 var(--pad) 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.life__grid { display: grid; gap: 12px; padding: 0 var(--pad); }
.life__item { overflow: hidden; border-radius: 16px; aspect-ratio: 1100 / 814; }
.life__item img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
@media (min-width: 760px) {
  .life { padding: 110px 0 100px; }
  .life__grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .life__item:nth-child(even) { margin-top: 64px; }
}

/* ---------- 06 payment ---------- */
.pay { position: relative; z-index: 2; background: var(--cream); color: var(--ink); padding: 80px var(--pad); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.pay__nums { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 8vw, 120px); }
.pay__num { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: clamp(14px, 1.4vw, 18px); font-weight: 500; }
.pay__num strong { font-family: var(--mix); font-weight: 800; font-size: clamp(72px, 17vw, 220px); line-height: 1; letter-spacing: -0.04em; color: var(--stone); font-variant-numeric: tabular-nums; }
.pay__line { font-size: clamp(18px, 2.4vw, 32px); font-weight: 700; }

/* ---------- 07 register ---------- */
.end { position: relative; z-index: 2; color: var(--white); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: clip; }
.end__bg { position: absolute; inset: 0; }
.end__bg img { width: 100%; height: 100%; object-fit: cover; }
.end__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 24, 32, 0.35), rgba(11, 24, 32, 0.92) 75%); }
.end__copy { position: relative; padding: 120px var(--pad) 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.foot { position: relative; padding: 18px var(--pad) 110px; font-size: 12px; line-height: 1.7; opacity: 0.6; border-top: 1px solid rgba(251, 249, 244, 0.14); }

/* ---------- floating actions ---------- */
.dock { position: fixed; z-index: 30; inset: auto 0 0 0; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(11, 24, 32, 0), rgba(11, 24, 32, 0.72)); transition: transform 0.5s var(--ease), opacity 0.4s; }
.scenes .dock { transform: translateY(120%); opacity: 0; }
.scenes .dock.is-in { transform: none; opacity: 1; }
.dock a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); }
.dock__wa { flex: 0 0 auto; background: #1fa855; color: #fff; }
.dock__form { flex: 1 1 auto; background: var(--stone); color: var(--night); }
@media (min-width: 900px) {
  .dock { inset: auto 24px 24px auto; flex-direction: column; align-items: stretch; padding: 0; background: none; }
  html[dir="rtl"] .dock { inset: auto auto 24px 24px; }
}

/* ---------- lead form ---------- */
.lead { border: 0; padding: 0; margin: auto; width: min(100% - 24px, 460px); max-height: calc(100% - 24px); border-radius: 22px; background: var(--cream); color: var(--ink); overflow: auto; }
.lead::backdrop { background: rgba(11, 24, 32, 0.72); backdrop-filter: blur(4px); }
.lead__box { position: relative; padding: 26px 20px 22px; }
.lead__ask, .lead__done { display: flex; flex-direction: column; gap: 12px; }
.lead__ask[hidden], .lead__done[hidden] { display: none; }
.lead h2 { font-size: 24px; font-weight: 700; line-height: 1.3; padding-inline-end: 40px; }
.lead__sub { font-size: 14px; opacity: 0.75; }
.lead__unit { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(200, 150, 74, 0.18); font-size: 13px; font-weight: 600; }
.lead__x { position: absolute; top: 12px; inset-inline-end: 12px; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; background: rgba(16, 32, 43, 0.08); }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.fld input { width: 100%; min-height: 52px; padding: 0 14px; border-radius: 12px; border: 1.5px solid rgba(16, 32, 43, 0.25); background: #fff; color: var(--ink); font: inherit; font-size: 17px; font-weight: 500; }
.fld input:focus { outline: 3px solid rgba(200, 150, 74, 0.45); border-color: var(--stone); }
.fld input.is-bad { border-color: #c0392b; }
.code-note { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: #fff3d6; border: 1.5px solid var(--stone); font-size: 13px; line-height: 1.5; }
.code-note strong { font-size: 15px; font-weight: 700; }
html[dir="rtl"] .code-note span { text-align: right; }
.phone { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px; }
.phone .fld span { font-family: var(--ar); }
.fld--code input { text-align: center; font-weight: 700; border-color: var(--stone); border-width: 2px; }
.lead__preview { min-height: 22px; font-size: 14px; font-weight: 600; }
.lead__preview b { direction: ltr; unicode-bidi: isolate; font-family: var(--num); font-size: 16px; }
.lead__err { color: #c0392b; font-size: 14px; font-weight: 600; }
.lead__err:empty { display: none; }
.lead__go { width: 100%; border: 0; cursor: pointer; }
.lead__go[disabled] { opacity: 0.6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 380px) { .phone { grid-template-columns: 88px minmax(0, 1fr); } .fld input { padding: 0 10px; } .dock a { padding: 0 14px; font-size: 14px; } }

@media (min-width: 900px) and (min-height: 600px) {
  .scenes .units__head .line { display: inline-block; }
  .scenes .units__head .sec__h { font-size: clamp(28px, 3.4vw, 52px); }
  .scenes .unit { flex-basis: clamp(280px, 24vw, 340px); }
}
@media (min-width: 900px) and (max-height: 800px) {
  .scenes .unit__media { aspect-ratio: 2 / 1; }
  .scenes .unit__body { gap: 6px; padding: 14px 16px 16px; }
  .scenes .unit .btn { min-height: 44px; }
  .scenes .units__stage { padding: 80px 0 20px; gap: 14px; }
}
/* no scenes: the floating actions are always there, so keep the hero buttons clear of them on phones */
@media (max-width: 899px) { html:not(.scenes) .hero__copy { padding-bottom: 92px; } }

.fld input::placeholder { font-size: 14px; font-weight: 400; opacity: 0.55; }
.unit__price dd { white-space: nowrap; }
.unit__price dt { font-size: 12.5px; }

/* ---- unit cards: one frame, one rhythm ---- */
.units__track { align-items: stretch; }
.unit__media { position: relative; flex: none; overflow: hidden; aspect-ratio: 16 / 10; background: #f6f2ea; }
.unit__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.unit__body { gap: 6px; }
.unit__name { font-size: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unit__spec { font-size: 13.5px; line-height: 1.5; min-height: 1.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.unit__price { grid-template-columns: 1fr 1fr; gap: 0 12px; margin: auto 0 14px; padding-top: 12px; }
.unit__price div { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; min-width: 0; }
.unit__price div + div { padding-inline-start: 12px; border-inline-start: 1px solid rgba(16, 32, 43, 0.12); }
.unit__price dt { font-size: 11.5px; line-height: 1.35; min-height: 2.7em; opacity: 0.65; }
.unit__price dd { font-size: 15px; line-height: 1.2; text-align: start; font-variant-numeric: tabular-nums; }
.unit .btn { margin-top: 0; }
@media (min-width: 900px) and (min-height: 600px) {
  .scenes .unit__media { aspect-ratio: 16 / 10; }
}
@media (max-height: 760px) and (min-width: 900px) {
  .scenes .unit__media { aspect-ratio: 2 / 1; }
}

/* ---- conversion pass: language link, section CTAs, FAQ, bigger floating actions ---- */
a.lang { display: inline-flex; align-items: center; justify-content: center; }
.sec__cta { align-self: flex-start; margin-top: 8px; min-height: 54px; font-size: 16px; font-weight: 700; }
.pay .sec__cta, .faq .sec__cta { align-self: center; }
.life__cta { display: flex; justify-content: center; padding: 28px var(--pad) 0; }
.lead__go { min-height: 58px; font-size: 17px; font-weight: 700; }
.lead__trust { font-size: 12.5px; text-align: center; opacity: 0.7; }

.faq { position: relative; z-index: 2; background: var(--cream); color: var(--ink); padding: 24px var(--pad) 88px; }
.faq__in { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq__list { display: flex; flex-direction: column; margin-top: 6px; border-top: 1px solid rgba(16, 32, 43, 0.16); }
.faq__item { border-bottom: 1px solid rgba(16, 32, 43, 0.16); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; font-size: 17px; font-weight: 700; line-height: 1.45; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(16, 32, 43, 0.08); font-size: 20px; font-weight: 500; line-height: 1; }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 0 18px; font-size: 15px; line-height: 1.8; opacity: 0.82; max-width: 68ch; }
.faq__item summary:focus-visible, .btn:focus-visible, .dock a:focus-visible, .lang:focus-visible { outline: 3px solid var(--stone); outline-offset: 3px; }

.dock { gap: 10px; padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(11, 24, 32, 0), rgba(11, 24, 32, 0.86) 45%); }
.dock a { min-height: 62px; padding: 0 20px; font-size: 17px; font-weight: 800; }
.dock__wa { min-width: 62px; }
.dock__wa svg { width: 28px; height: 28px; }
.dock__form { box-shadow: 0 0 0 0 rgba(200, 150, 74, 0.55), 0 12px 30px -10px rgba(0, 0, 0, 0.6); animation: dock-pulse 2.6s ease-out infinite; }
@keyframes dock-pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 150, 74, 0.55), 0 12px 30px -10px rgba(0, 0, 0, 0.6); } 70%, 100% { box-shadow: 0 0 0 16px rgba(200, 150, 74, 0), 0 12px 30px -10px rgba(0, 0, 0, 0.6); } }
@media (prefers-reduced-motion: reduce) { .dock__form { animation: none; } }
@media (max-width: 380px) { .dock a { padding: 0 14px; font-size: 15.5px; } .dock__wa span { display: none; } }
@media (min-width: 900px) {
  .dock { gap: 12px; background: none; padding: 0; }
  .dock a { min-height: 66px; padding: 0 34px; font-size: 18px; }
}
.foot { padding-bottom: 124px; }

/* ---- review fixes ---- */
.scenes .dock { visibility: hidden; transition: transform 0.5s var(--ease), opacity 0.4s, visibility 0s 0.5s; }
.scenes .dock.is-in { visibility: visible; transition: transform 0.5s var(--ease), opacity 0.4s, visibility 0s; }
.scenes .dock.is-in.is-away { transform: translateY(120%); opacity: 0; visibility: hidden; transition: transform 0.5s var(--ease), opacity 0.4s, visibility 0s 0.5s; }
.dock a { white-space: nowrap; font-size: clamp(15px, 4.2vw, 17px); }
@media (max-width: 899px) { .dock__wa { padding: 0 16px; } }
@media (max-width: 420px) { .dock__wa span { display: none; } }
@media (min-width: 900px) { .dock a { font-size: 18px; } }
/* without the scroll scenes (reduced motion, or the animation library failed to load) desktop shows every home in a grid */
@media (min-width: 900px) {
  html:not(.scenes) .units__track { flex-wrap: wrap; overflow: visible; }
  html:not(.scenes) .units__hint { display: none; }
}
/* short desktop screens: keep the pinned location stage inside the viewport */
@media (min-width: 900px) and (max-height: 760px) {
  .scenes .loc__stage { row-gap: 14px; padding-top: 84px; padding-bottom: 24px; }
  .scenes .loc__copy { gap: 8px; }
  .scenes .loc__copy .sec__cta { display: none; }
  .scenes .loc__lead { font-size: 14px; line-height: 1.55; }
  .scenes .loc__list { gap: 6px; }
  .scenes .loc__list li { padding: 5px 11px; font-size: 12.5px; }
  .scenes .mp__copy .sec__cta { min-height: 46px; font-size: 15px; }
}

/* ---- fleet layout additions (tools/build.py): independent-brokerage label, call buttons, footer disclosure ---- */
.bar { align-items: flex-start; }
.bar__id { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 0 1 auto; min-width: 0; }
.bar__by { margin: 0; max-width: 100%; padding: 3px 9px; border-radius: 6px; background: var(--ink); color: #fff; border: 1px solid rgba(251, 249, 244, 0.3); font: 600 14px/1.4 var(--sans); letter-spacing: 0; text-transform: none; white-space: normal; overflow: visible; opacity: 1; }
html[lang="ar"] .bar__by { font-family: var(--ar); direction: rtl; }
.bar.is-past .bar__by { display: none; }
.intro__top { top: 132px; }
@media (max-width: 640px) { .intro__top { top: 124px; } }
@media (max-height: 520px) { .intro__top { top: 100px; } }
.btn--call { align-self: flex-start; gap: 8px; border: 1px solid rgba(251, 249, 244, 0.5); color: var(--white); }
.btn--call:hover { background: var(--white); color: var(--night); }
.btn--call svg { width: 22px; height: 22px; flex: none; }
.dock a.dock__call { flex: 0 0 auto; min-width: 62px; padding: 0 16px; background: var(--cream); color: var(--ink); }
.dock__call svg { width: 26px; height: 26px; }
@media (max-width: 420px) { .dock a.dock__wa, .dock a.dock__call { width: 56px; min-width: 56px; padding: 0; } }
@media (max-width: 380px) {
  .dock { gap: 8px; padding-inline: 10px; }
  .dock a.dock__form { padding: 0 8px; font-size: 14px; line-height: 1.2; white-space: normal; text-align: center; }
}
@media (min-width: 900px) { .dock a.dock__call { padding: 0; } }
.foot { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.7; opacity: 1; color: var(--white); }
.foot p { max-width: 72ch; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.fld input[data-bp-phone] { font-size: 17px; }
