/* ESTADIA — premium, calm, operational. Deep navy, white/ivory, a quiet gold accent.
   Logical properties throughout so Arabic (RTL, primary) and English (LTR) share one layout. */
:root {
  --navy: #13233A;
  --navy-2: #1B2F4B;
  --navy-3: #253D5E;
  --ink: #18212E;
  --text: #222A36;
  --muted: #5B6573;
  --on-navy: #E9EDF3;
  --on-navy-muted: #B4BFCE;
  --bg: #FFFFFF;
  --ivory: #F8F5EE;
  --ivory-2: #EFE9DC;
  --gold: #B8985A;
  --gold-ink: #866A33;      /* gold used as text on light grounds */
  --gold-soft: #F1E9D8;
  --line: #E7E2D7;
  --line-strong: #D6CFC0;
  --danger: #A63A2B;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(19, 35, 58, .08);
  --shadow-lg: 0 18px 48px rgba(19, 35, 58, .14);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, Arial, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Inter", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.85; }
html.i18n-pending body { visibility: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.5; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.35rem); }
h3 { font-size: 1.125rem; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 32px; }
.container.narrow { max-width: 880px; }
@media (max-width: 600px) { .container { padding-inline: 16px; } }

.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

.muted { color: var(--muted); }
.lede { color: var(--muted); font-size: 1.0625rem; margin-top: 16px; max-width: 64ch; }
html[lang="ar"] .lede { font-size: 1.075rem; }
.eyebrow { color: var(--gold-ink); font-weight: 600; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }

/* ---------- Icons ---------- */
.ico { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 18px; height: 18px; }
.ico-arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
html[dir="rtl"] .ico-arrow { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .9875rem; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .9rem; white-space: nowrap; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #C6A869; box-shadow: var(--shadow); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn:hover .ico-arrow { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .ico-arrow { transform: scaleX(-1) translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 20px; color: var(--gold-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; }
.text-link:hover { border-bottom-color: currentColor; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 16px rgba(19,35,58,.05); }
.header-bar { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); max-width: 1360px; }
.wordmark { font-family: "Inter", system-ui, sans-serif; font-weight: 600; letter-spacing: .3em; font-size: 1.125rem; color: var(--navy); text-decoration: none; direction: ltr; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.wordmark::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-inline-start: 2px; }
.header-panel { flex: 1; display: flex; align-items: center; gap: 16px; }
.main-nav { flex: 1; display: flex; justify-content: center; gap: 2px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 11px; border-radius: 8px; text-decoration: none; font-size: .925rem; color: var(--text); white-space: nowrap; position: relative; }
.main-nav a:hover { color: var(--navy); background: var(--ivory); }
.main-nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 11px; bottom: 6px; height: 2px; background: var(--gold); border-radius: 2px; }
html[lang="en"] .main-nav a { font-size: .875rem; padding-inline: 9px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; font-size: .9rem; }
.lang-toggle:hover { border-color: var(--navy); }
.lang-toggle[lang="ar"] { font-family: var(--font-ar); font-size: 1.05rem; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-icon { display: grid; gap: 4px; width: 18px; }
.menu-icon span { height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

html.nav-compact .menu-btn { display: inline-flex; }
html.nav-compact .header-bar { gap: 10px; }
html.nav-compact .wordmark { margin-inline-end: auto; }
html.nav-compact .header-panel {
  position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 12px;
  padding: 12px 32px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  visibility: hidden; opacity: 0; transform: translateY(-8px); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
html.nav-compact .header-panel.open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
html.nav-compact .main-nav { flex-direction: column; gap: 0; }
html.nav-compact .main-nav a { min-height: 48px; font-size: 1rem; padding-inline: 12px; }
html.nav-compact .main-nav a[aria-current="page"]::after { inset-inline: auto 0; inset-inline-start: 0; top: 14px; bottom: 14px; width: 3px; height: auto; }
html.nav-compact .header-actions { border-top: 1px solid var(--line); padding-top: 16px; }
html.nav-compact .header-actions .btn { width: 100%; min-height: 48px; }
html.nav-measuring .header-panel { transition: none !important; }
@media (max-width: 600px) { html.nav-compact .header-panel { padding-inline: 16px; } }
@media (max-width: 1023px) { html:not(.js) .header-panel { display: none; } }

/* Mobile: a fixed, always-visible assessment button */
.mobile-cta { display: none; }
@media (max-width: 899px) {
  .mobile-cta { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(19,35,58,.08); }
  body { padding-bottom: 72px; }
  html.menu-open .mobile-cta { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-tight { padding-block: 48px 80px; }
.band-ivory { background: var(--ivory); }
.band-sand { background: var(--ivory-2); }
.band-sand .lede { color: #4E5866; }
.band-navy { background: var(--navy); color: var(--on-navy); }
.band-navy h1, .band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .lede { color: var(--on-navy-muted); }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lede { margin-inline: auto; }
.sec-foot { margin-top: 44px; display: flex; justify-content: flex-start; }

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(78vh, 720px); display: flex; align-items: center; padding-block: 96px; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,35,58,.92) 0%, rgba(19,35,58,.78) 45%, rgba(19,35,58,.35) 100%); }
html[dir="rtl"] .hero-media::after { background: linear-gradient(270deg, rgba(19,35,58,.92) 0%, rgba(19,35,58,.78) 45%, rgba(19,35,58,.35) 100%); }
.hero-inner > * { max-width: 700px; }
.hero h1 { color: #fff; }
.hero-lede { margin-top: 20px; font-size: 1.125rem; color: var(--on-navy); max-width: 60ch; }
.hero .hero-lede { color: rgba(255,255,255,.88); }
@media (max-width: 600px) {
  .hero { min-height: 0; padding-block: 64px 56px; }
  .hero-lede { font-size: 1.0125rem; }
  .hero .btn-row .btn { width: 100%; }
}

/* ---------- Page hero ---------- */
.page-hero { background: var(--ivory); padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero-inner { display: grid; gap: 48px; align-items: center; }
.page-hero.has-media .page-hero-inner { grid-template-columns: 1.05fr 1fr; }
.page-hero-copy { max-width: 720px; }
.page-hero .hero-lede { color: var(--muted); }
.page-hero-media .photo { aspect-ratio: 4 / 3; }
@media (max-width: 899px) {
  .page-hero.has-media .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-media .photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) { .page-hero .btn-row .btn { width: 100%; } }

.photo { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--ivory-2); aspect-ratio: 4 / 3; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card:hover { box-shadow: var(--shadow); border-color: transparent; }
.card .ico { color: var(--gold-ink); width: 30px; height: 30px; margin-bottom: 20px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
@media (max-width: 960px) { .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards-3 { grid-template-columns: 1fr; gap: 12px; } .card { padding: 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; } .card .ico { margin: 2px 0 0; grid-row: span 2; width: 26px; height: 26px; } }
.footer-cta .btn { white-space: nowrap; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-rev .split-copy { order: 2; }
.split-copy .lede { max-width: 56ch; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } .split-rev .split-copy { order: 0; } }

/* ---------- Labels-only panel (owner portal / report) ---------- */
.panel { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 26px 18px; }
.panel-top { display: flex; gap: 6px; margin-bottom: 18px; }
.panel-top span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.panel-title { font-weight: 600; color: var(--navy); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel-rows li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.panel-rows li:last-child { border-bottom: 0; }
.panel-rows .bar { flex: 0 0 34%; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--ivory-2), var(--ivory)); }
.panel-note { font-size: .8125rem; color: var(--muted); padding-top: 12px; border-top: 1px dashed var(--line-strong); }

/* ---------- Fee flow: four equal stages, text only ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: stage; }
.flow-stage { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 112px; padding: 20px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.04); color: #fff; font-weight: 600; counter-increment: stage; }
.flow-stage::before { content: "0" counter(stage); position: absolute; top: 12px; inset-inline-start: 14px; font-family: "Inter", sans-serif; font-size: .75rem; color: var(--gold); letter-spacing: .1em; font-weight: 600; }
.flow-stage:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -12px; width: 8px; height: 8px; border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); transform: translateY(-50%) rotate(45deg); }
html[dir="rtl"] .flow-stage:not(:last-child)::after { right: auto; left: -12px; border-right: 0; border-left: 1.5px solid var(--gold); transform: translateY(-50%) rotate(-45deg); }
@media (max-width: 899px) {
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow-stage { min-height: 68px; }
  .flow-stage:not(:last-child)::after, html[dir="rtl"] .flow-stage:not(:last-child)::after { top: auto; bottom: -11px; left: 50%; right: auto; border: 0; border-bottom: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); transform: translateX(-50%) rotate(45deg); }
}

/* ---------- Owner-use calendar (no dates, no figures) ---------- */
.cal { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-d { aspect-ratio: 1; border-radius: 8px; background: var(--ivory); border: 1px solid var(--line); }
.cal-d.is-b { background: var(--navy-3); border-color: var(--navy-3); }
.cal-d.is-o { background: var(--gold); border-color: var(--gold); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; border-radius: 4px; background: var(--ivory); border: 1px solid var(--line-strong); }
.sw-b { background: var(--navy-3); border-color: var(--navy-3); }
.sw-o { background: var(--gold); border-color: var(--gold); }

/* ---------- Steps (home) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.step { position: relative; padding: 28px 24px; border-top: 2px solid var(--gold); background: var(--ivory); border-radius: 0 0 var(--radius) var(--radius); }
.step-num { display: block; font-family: "Inter", sans-serif; font-weight: 600; font-size: .875rem; letter-spacing: .12em; color: var(--gold-ink); margin-bottom: 14px; }
.step-ico { position: absolute; top: 26px; inset-inline-end: 22px; color: var(--navy-3); opacity: .7; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .975rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Managed properties ---------- */
.props { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.prop { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prop img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ivory-2); }
.prop-body { padding: 20px 22px 22px; }
.prop h3 { font-size: 1.0625rem; }
.prop-meta { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); margin-top: 4px; font-size: .95rem; }
.prop-op { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--navy-3); }
.prop-op .ico { color: var(--gold-ink); stroke-width: 2; }
.note-center { text-align: center; margin-top: 32px; font-size: .9rem; }
@media (max-width: 960px) { .props { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .props { grid-template-columns: 1fr; } }

/* ---------- Markets ---------- */
.markets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.market { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.market-body { padding: 22px 22px 24px; }
.market-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.market h3, .market h2 { font-size: 1.125rem; }
.market.is-soon { background: var(--ivory); border-style: dashed; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-active { background: #E7F0EA; color: #2E6A44; }
.chip-soon { background: var(--gold-soft); color: var(--gold-ink); }
.markets-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.markets-detail img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; background: var(--ivory-2); }
.markets-detail .market h2 { font-size: 1.4rem; }
.mk-cities { margin-top: 12px; font-weight: 500; }
.mk-cities.muted { font-weight: 400; }
.market .text-link { margin-top: 8px; }
@media (max-width: 960px) { .markets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .markets-detail { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .markets { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; align-items: start; }
.faq-wrap .sec-head { margin-bottom: 0; }
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding-block: 16px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); font-size: 1.0625rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-ink); }
.faq-ico { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding-bottom: 22px; color: var(--muted); max-width: 70ch; }
.faq-a p + p { margin-top: 10px; }
@media (max-width: 899px) { .faq-wrap { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Final CTA with form ---------- */
.cta-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.cta-copy { position: sticky; top: calc(var(--header-h) + 32px); }
.cta-form { background: #fff; color: var(--text); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cta-row > div { max-width: 680px; }
@media (max-width: 899px) { .cta-grid { grid-template-columns: 1fr; } .cta-copy { position: static; } }
@media (max-width: 600px) { .cta-row .btn { width: 100%; } }

/* ---------- Forms ---------- */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: .925rem; color: var(--ink); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.req { color: var(--gold-ink); }
.opt { font-weight: 400; color: var(--muted); font-size: .8125rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; font-size: 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 40px; color: var(--muted);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313233A' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: right 14px center; }
html[dir="rtl"] .field select { background-position: left 14px center; }
.field select.has-value { color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(184,152,90,.25); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .8125rem; min-height: 0; }
.err:empty { display: none; }
.form-note { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--gold-soft); color: var(--ink); font-size: .925rem; }
.form-note .form-success { font-weight: 600; margin-bottom: 6px; }
.form-note a { color: var(--gold-ink); font-weight: 600; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }

/* ---------- Property management specifics ---------- */
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mini { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 20px; background: var(--ivory); border-radius: var(--radius); border: 1px solid var(--line); }
.mini .ico { color: var(--gold-ink); width: 30px; height: 30px; }
@media (max-width: 480px) { .minis { grid-template-columns: 1fr; } .mini { flex-direction: row; align-items: center; padding: 18px; } }

.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: j; }
.journey li { position: relative; counter-increment: j; padding: 46px 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; color: var(--ink); }
.journey li::before { content: counter(j); position: absolute; top: 14px; inset-inline-start: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 .75rem/24px "Inter", sans-serif; text-align: center; }
@media (max-width: 960px) { .journey { grid-template-columns: 1fr; } .journey li { padding: 16px 18px 16px 56px; } html[dir="rtl"] .journey li { padding: 16px 56px 16px 18px; } .journey li::before { top: 50%; transform: translateY(-50%); } }

.checklist { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; }
.checklist ul { margin-top: 6px; }
.checklist li { display: flex; align-items: center; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .ico { color: var(--gold-ink); }

.resp { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.resp-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.resp-col h3 { padding-bottom: 14px; margin-bottom: 6px; border-bottom: 2px solid var(--line-strong); }
.resp-estadia h3 { border-bottom-color: var(--gold); }
.resp-col li { position: relative; padding-block: 10px; padding-inline-start: 22px; color: var(--text); }
.resp-col li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--navy-3); }
html[lang="ar"] .resp-col li::before { top: 23px; }
.resp-estadia li::before { background: var(--gold); }
@media (max-width: 760px) { .resp { grid-template-columns: 1fr; } }

/* ---------- How it works timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; max-width: 960px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; top: 28px; bottom: 28px; inset-inline-start: 27px; width: 1px; background: var(--line-strong); }
.tl-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 28px; align-items: start; }
.tl-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 0 0 6px #fff; }
.tl-num { font: 600 .95rem "Inter", sans-serif; letter-spacing: .06em; color: var(--gold); }
.tl-card { display: flex; gap: 22px; align-items: flex-start; background: var(--ivory); border-radius: var(--radius); padding: 30px; }
.tl-ico { width: 40px; height: 40px; color: var(--gold-ink); }
.tl-card h2 { font-size: 1.4rem; }
.tl-card .lede { margin-top: 8px; }
@media (max-width: 600px) {
  .timeline::before { inset-inline-start: 21px; }
  .tl-step { grid-template-columns: 44px 1fr; gap: 14px; }
  .tl-mark { width: 44px; height: 44px; }
  .tl-card { flex-direction: column; gap: 12px; padding: 22px 20px; }
  .tl-ico { width: 32px; height: 32px; }
}

/* ---------- About: team ---------- */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.team > .member { flex: 0 1 200px; min-width: 0; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 16px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.member-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; background: linear-gradient(180deg, var(--gold-soft), var(--ivory)); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--gold-soft); }
.member-name { font-size: 1.0625rem; }
.member-role { color: var(--muted); font-size: .925rem; margin-top: 2px; }
@media (max-width: 600px) { .team { gap: 12px; } .team > .member { flex-basis: calc(50% - 6px); } }
@media (max-width: 420px) { .member { padding: 22px 10px; } .member-photo { width: 100px; height: 100px; } .member-name { font-size: 1rem; } .member-role { font-size: .85rem; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-photo { margin-top: 36px; }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 36px); scroll-margin-top: calc(var(--header-h) + 16px); }
.form-title { font-size: 1.25rem; margin-bottom: 20px; }
.contact-details h2 { font-size: 1.4rem; margin-bottom: 20px; }
.contact-details li { display: flex; align-items: center; gap: 16px; }
.contact-details .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--gold-ink); }
.contact-details a { font-weight: 600; color: var(--navy); font-size: 1.0625rem; }
@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { order: -1; }          /* mobile: the form first */
  .contact-copy { display: contents; }
  .contact-copy h1 { order: -3; }
  .contact-copy .hero-lede { order: -2; margin-bottom: 4px; }
  .contact-photo { margin-top: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); }
.footer-top { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr; gap: 40px; padding-block: 64px 40px; }
.wordmark-light { color: #fff; }
.footer-line { margin-top: 10px; font-family: var(--font); font-size: .9rem; color: var(--on-navy-muted); }
html[dir="rtl"] .footer-line { text-align: right; }
.footer-mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; min-height: 44px; color: #fff; text-decoration: none; }
.footer-mail:hover span { text-decoration: underline; text-underline-offset: 4px; }
.footer-mail .ico { width: 20px; height: 20px; color: var(--gold); }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-content: start; }
.footer-nav a { display: flex; align-items: center; min-height: 40px; color: var(--on-navy); text-decoration: none; font-size: .95rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-cta p { color: #fff; font-weight: 500; margin-bottom: 16px; }
.group-links { padding-block: 28px 12px; border-top: 1px solid rgba(255,255,255,.12); }
.group-title { font-size: .875rem; font-weight: 600; color: var(--gold); letter-spacing: .04em; margin-bottom: 12px; }
.group-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 24px; }
.group-list a { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding-block: 6px; text-decoration: none; color: var(--on-navy); }
.group-list a:hover .group-name { text-decoration: underline; text-underline-offset: 4px; }
.group-name { font-weight: 600; }
.group-desc { color: var(--on-navy-muted); font-size: .8125rem; line-height: 1.5; }
.group-list .is-parent .group-name { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .875rem; }
.footer-base a { color: var(--on-navy); text-decoration: none; }
.footer-base a:hover { text-decoration: underline; }
.legal-wrap { background: #fff; }
.legal-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 44px; padding-block: 22px 28px; color: #3A3A3A; font-size: .875rem; line-height: 1.55; }
.legal-strip img { height: 48px; width: auto; flex: none; }
.legal-strip > img:first-child { height: 44px; }
.legal-item { display: flex; align-items: center; gap: 12px; }
.legal-strip small { font-size: .8rem; color: var(--muted); }
.legal-strip [lang="ar"] { font-family: var(--font-ar); }
.legal-strip [lang="en"], .legal-strip bdi { font-family: var(--font); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-cta { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-block: 48px 28px; }
  .footer-cta .btn { width: 100%; }
  .group-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
/* The contact page is the form: no floating duplicate of its own button. */
@media (max-width: 899px) { body[data-page="contact"] { padding-bottom: 0; } body[data-page="contact"] .mobile-cta { display: none; } }
