/* ==========================================================================
   Elite Real Estate — main stylesheet
   Tokens → base → layout → components → sections → responsive → RTL
   ========================================================================== */

:root {
  /* palette */
  --navy-900: #08192a;
  --navy-800: #0d2438;
  --navy-700: #143148;
  --navy-600: #1d425c;
  --cream: #f4f2ed;
  --cream-2: #ece8e0;
  --white: #ffffff;
  --ink: #16232e;
  --muted: #6d7b87;
  --muted-2: #97a3ad;
  --line: #e0dbd2;
  --line-dark: rgba(255, 255, 255, .14);
  --brass: #b0894f;
  --brass-light: #cfa96d;

  /* type */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-ui: var(--font-body);

  /* metrics */
  --wrap: 1240px;
  --radius: 2px;
  --shadow-card: 0 18px 40px -28px rgba(8, 25, 42, .45);
  --shadow-float: 0 24px 60px -24px rgba(8, 25, 42, .55);
  --t-fast: .2s ease;
  --t: .35s cubic-bezier(.22, .61, .36, 1);
}

html[lang="ar"] {
  --font-display: "El Messiri", "Cormorant Garamond", serif;
  --font-body: "Tajawal", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  margin: 0;
  letter-spacing: .01em;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { font-weight: 500; line-height: 1.3; }

p { margin: 0 0 1em; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* eyebrow label */
.eyebrow {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin: 0 0 18px;
}
html[lang="ar"] .eyebrow { letter-spacing: .08em; font-size: 12px; }
.eyebrow--light { color: rgba(255, 255, 255, .6); }

.rule { width: 56px; height: 1px; background: var(--brass); margin: 22px 0; border: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
html[lang="ar"] .btn { letter-spacing: 0; font-size: 14px; text-transform: none; }
.btn svg { width: 15px; height: 15px; flex: none; }
html[dir="rtl"] .btn svg { transform: scaleX(-1); }

.btn--solid { background: var(--navy-800); color: var(--white); }
.btn--solid:hover { background: var(--navy-600); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn--brass { background: var(--brass); color: var(--white); }
.btn--brass:hover { background: #9c7842; }
.btn--wa { background: #25d366; color: #06331a; }
.btn--wa:hover { background: #1eb959; }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy-800); padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: gap var(--t-fast), border-color var(--t-fast);
}
html[lang="ar"] .link-arrow { letter-spacing: .04em; font-size: 13px; text-transform: none; }
.link-arrow:hover { gap: 16px; border-color: var(--brass); }
.link-arrow svg { width: 14px; height: 14px; }
html[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
.link-arrow--light { color: var(--white); border-color: var(--line-dark); }

/* ---------- header ---------- */
.header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 90;
  padding: 18px 0;
  transition: background var(--t), padding var(--t), box-shadow var(--t);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(8, 25, 42, .65), transparent);
  transition: opacity var(--t);
}
.header.is-solid { background: var(--navy-900); padding: 10px 0; box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8); }
.header.is-solid::before { opacity: 0; }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 42px; width: auto; transition: height var(--t); }
.header.is-solid .logo img { height: 36px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative; color: rgba(255, 255, 255, .88);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0;
}
html[lang="ar"] .nav a { letter-spacing: 0; font-size: 15px; text-transform: none; }
.nav a::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0;
  width: 0; height: 1px; background: var(--brass); transition: width var(--t-fast);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  border: 1px solid rgba(255, 255, 255, .35); color: #fff; background: none;
  padding: 9px 14px; font-size: 12px; letter-spacing: .1em; border-radius: var(--radius);
  transition: background var(--t-fast);
}
.lang-switch:hover { background: rgba(255, 255, 255, .12); }
.header .btn--ghost { padding: 12px 20px; }

.burger { display: none; background: none; border: 0; padding: 8px; }
.burger span { display: block; width: 24px; height: 1.5px; background: #fff; margin: 5px 0; transition: var(--t-fast); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 100; background: var(--navy-900);
  display: flex; flex-direction: column; padding: 26px;
  transform: translateY(-100%); transition: transform var(--t); visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__close { background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; }
.drawer nav { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
.drawer nav a {
  color: #fff; font-family: var(--font-display); font-size: 30px;
  padding: 10px 0; border-bottom: 1px solid var(--line-dark);
}
.drawer__footer { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding: 160px 0 190px; color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6, 19, 33, .82) 0%, rgba(6, 19, 33, .45) 48%, rgba(6, 19, 33, .08) 100%);
}
html[dir="rtl"] .hero::after {
  background: linear-gradient(260deg, rgba(6, 19, 33, .82) 0%, rgba(6, 19, 33, .45) 48%, rgba(6, 19, 33, .08) 100%);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 76px); text-transform: uppercase;
  letter-spacing: .01em; max-width: 15ch;
}
html[lang="ar"] .hero h1 { text-transform: none; font-size: clamp(34px, 5vw, 64px); }
.hero__sub { font-size: 17px; color: rgba(255, 255, 255, .85); margin-bottom: 34px; max-width: 46ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .rule { background: rgba(255, 255, 255, .55); }

/* search bar over hero */
.searchbar {
  position: relative; z-index: 5; margin-top: -78px; margin-bottom: 0;
}
.searchbar__inner {
  background: rgba(11, 28, 45, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
  display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: stretch;
  padding: 10px;
  box-shadow: var(--shadow-float);
}
.sf { display: flex; align-items: center; gap: 12px; padding: 12px 18px; position: relative; }
.sf + .sf::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block: 12px;
  width: 1px; background: rgba(255, 255, 255, .14);
}
.sf__icon { color: var(--brass-light); flex: none; }
.sf__icon svg { width: 18px; height: 18px; }
.sf__body { flex: 1; min-width: 0; }
.sf__label {
  display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); margin-bottom: 2px;
}
html[lang="ar"] .sf__label { letter-spacing: .04em; font-size: 11px; }
.sf select, .sf input {
  width: 100%; background: none; border: 0; color: #fff; font-family: inherit;
  font-size: 14px; padding: 0; appearance: none; cursor: pointer;
}
.sf select option { color: var(--ink); }
.sf select:focus, .sf input:focus { outline: none; }
.sf__row { display: flex; align-items: center; gap: 8px; }
.sf__row input { flex: 1; min-width: 0; cursor: text; }
.sf__row input::placeholder { color: rgba(255, 255, 255, .55); }
.searchbar .btn { justify-content: center; margin-inline-start: 8px; padding-inline: 34px; }

/* ---------- section shells ---------- */
.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--navy-900); color: #fff; }
.section--tight { padding: 64px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.section__title { font-size: clamp(30px, 3.4vw, 46px); }
.section__title--underlined { position: relative; padding-bottom: 18px; }
.section__title--underlined::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0;
  width: 64px; height: 2px; background: var(--brass);
}

/* ---------- property cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }

.card {
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--cream-2); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
.card:hover .card__media img { transform: scale(1.06); }
.card__badge {
  position: absolute; inset-block-start: 14px; inset-inline-start: 14px;
  background: var(--navy-900); color: #fff; font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; padding: 7px 12px;
}
html[lang="ar"] .card__badge { letter-spacing: .02em; font-size: 12px; }
.card__body { padding: 22px 22px 18px; flex: 1; display: flex; flex-direction: column; }
.card__title { font-size: 22px; margin-bottom: 8px; }
.card__place { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.card__place svg { width: 14px; height: 14px; flex: none; color: var(--brass); }
.card__meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.card__meta svg { width: 15px; height: 15px; color: var(--muted-2); }
.card__price { font-size: 18px; color: var(--navy-800); font-weight: 500; margin-top: auto; }
.card__price small { font-size: 13px; color: var(--muted); font-weight: 300; }
.card__foot {
  border-top: 1px solid var(--line); background: var(--cream);
  padding: 14px 22px; display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--navy-800);
  transition: background var(--t-fast);
}
html[lang="ar"] .card__foot { letter-spacing: .02em; font-size: 13px; text-transform: none; }
.card:hover .card__foot { background: var(--cream-2); }
.card__foot svg { width: 14px; height: 14px; }
html[dir="rtl"] .card__foot svg { transform: scaleX(-1); }

/* featured layout: intro column + cards */
.featured-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.featured-grid .cards { grid-template-columns: repeat(3, 1fr); }

/* ---------- project tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; display: block;
  background: var(--navy-700);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
.tile:hover img { transform: scale(1.07); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4, 15, 26, .85) 8%, rgba(4, 15, 26, .1) 60%);
}
.tile__label { position: absolute; inset-block-end: 22px; inset-inline-start: 22px; z-index: 2; color: #fff; }
.tile__label h3 { font-size: 24px; text-transform: uppercase; letter-spacing: .04em; }
html[lang="ar"] .tile__label h3 { text-transform: none; }
.tile__label span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
html[lang="ar"] .tile__label span { letter-spacing: .04em; font-size: 12px; }

/* ---------- why choose ---------- */
.why-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }
.why-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.why-item { padding: 8px 26px; text-align: center; border-inline-start: 1px solid var(--line); }
.why-item:first-child { border: 0; }
.why-item__icon { color: var(--navy-700); margin-bottom: 16px; display: flex; justify-content: center; }
.why-item__icon svg { width: 30px; height: 30px; }
.why-item h3 { font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px; font-weight: 400; }
html[lang="ar"] .why-item h3 { letter-spacing: .02em; font-size: 15px; text-transform: none; font-weight: 500; }
.why-item p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 78px 0; color: #fff; overflow: hidden; background: var(--navy-800); }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 25, 42, .88), rgba(8, 25, 42, .6)); }
.cta-band__inner { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 56px; align-items: center; }
.cta-band__divider { background: var(--line-dark); height: 100%; min-height: 120px; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 46px); text-transform: uppercase; margin-bottom: 26px; }
html[lang="ar"] .cta-band h2 { text-transform: none; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .88); font-size: 15px; }
.contact-list svg { width: 18px; height: 18px; color: var(--brass-light); flex: none; }

/* ---------- footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); padding: 66px 0 0; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.footer h4 {
  font-family: var(--font-body); color: #fff; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; margin-bottom: 20px; font-weight: 400;
}
html[lang="ar"] .footer h4 { letter-spacing: .02em; font-size: 14px; text-transform: none; font-weight: 500; }
.footer__logo { display: inline-block; margin-bottom: 22px; }
.footer__logo img { height: 56px; width: auto; max-width: 100%; }
@media (max-width: 620px) { .footer__logo img { height: 46px; } }
.footer ul li { margin-bottom: 10px; }
.footer a:hover { color: var(--brass-light); }
.socials { display: flex; gap: 14px; margin-top: 20px; }
.socials a {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: 50%; transition: var(--t-fast);
}
.socials a:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.socials svg { width: 15px; height: 15px; }
.newsletter { display: flex; border: 1px solid var(--line-dark); margin-top: 16px; }
.newsletter input {
  flex: 1; background: none; border: 0; padding: 13px 16px; color: #fff; font-family: inherit; font-size: 14px;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter input:focus { outline: none; }
.newsletter button { background: none; border: 0; color: #fff; padding: 0 16px; }
.newsletter button svg { width: 16px; height: 16px; }
html[dir="rtl"] .newsletter button svg { transform: scaleX(-1); }
.footer__bottom {
  margin-top: 52px; border-top: 1px solid var(--line-dark); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255, 255, 255, .55);
}
.footer__bottom nav { display: flex; gap: 22px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: 190px 0 76px; color: #fff; background: var(--navy-800); overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,25,42,.95), rgba(8,25,42,.55)); }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 58px); }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 62ch; margin-top: 14px; }

.breadcrumbs { font-size: 12px; color: rgba(255, 255, 255, .6); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: #fff; }

/* ---------- search / listing page ---------- */
.listing { display: grid; grid-template-columns: 288px 1fr; gap: 34px; align-items: start; }
.filters {
  border: 1px solid var(--line); background: var(--white); padding: 24px;
  position: sticky; top: 96px;
}
.filters h2 { font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 20px; }
html[lang="ar"] .filters h2 { letter-spacing: 0; font-size: 16px; text-transform: none; }
.filter { margin-bottom: 22px; }
.filter > label, .filter__label {
  display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
html[lang="ar"] .filter > label, html[lang="ar"] .filter__label { letter-spacing: 0; font-size: 13px; text-transform: none; }
.filter select, .filter input {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); background: var(--white);
  font-family: inherit; font-size: 14px; color: var(--ink); border-radius: var(--radius);
}
.filter select:focus, .filter input:focus { outline: none; border-color: var(--navy-700); }
.filter__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--white); padding: 8px 14px;
  font-size: 13px; border-radius: 999px; color: var(--muted); transition: var(--t-fast);
}
.chip:hover { border-color: var(--navy-700); color: var(--ink); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.listing__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.listing__count { font-size: 14px; color: var(--muted); }
.listing__count b { color: var(--ink); font-weight: 500; }
.listing__sort { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.listing__sort select { padding: 9px 12px; border: 1px solid var(--line); background: #fff; font-family: inherit; font-size: 13.5px; }
.listing .cards { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.empty {
  border: 1px dashed var(--line); padding: 54px 24px; text-align: center; color: var(--muted);
  grid-column: 1 / -1;
}
.filters-toggle { display: none; }

/* ---------- project detail ---------- */
.proj-hero { position: relative; padding: 0; }
.proj-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; height: min(60vh, 520px); }
.proj-gallery__main, .proj-gallery__side { overflow: hidden; background: var(--navy-800); }
.proj-gallery__side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
.proj-gallery img { width: 100%; height: 100%; object-fit: cover; }
.proj-gallery__main { height: 100%; }

.proj-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; padding: 56px 0 96px; }
.proj-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 26px; }
.proj-head h1 { font-size: clamp(32px, 4vw, 50px); }
.proj-head .card__place { margin-bottom: 0; margin-top: 10px; }
.proj-price { text-align: end; }
.proj-price small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .proj-price small { letter-spacing: 0; font-size: 13px; text-transform: none; }
.proj-price strong { font-size: 26px; font-weight: 500; color: var(--navy-800); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-bottom: 42px; }
.fact { padding: 20px; border-inline-start: 1px solid var(--line); }
.fact:first-child { border-inline-start: 0; }
.fact span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
html[lang="ar"] .fact span { letter-spacing: 0; font-size: 13px; text-transform: none; }
.fact b { font-weight: 400; font-size: 15.5px; color: var(--ink); }

.block { margin-bottom: 48px; }
.block h2 { font-size: 28px; margin-bottom: 20px; }
.block p { color: #3d4b57; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  border: 1px solid var(--line); padding: 9px 16px; font-size: 13.5px; color: #3d4b57;
  display: inline-flex; align-items: center; gap: 8px; background: var(--white);
}
.pill svg { width: 15px; height: 15px; color: var(--brass); }

.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: start; }
.table th { font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--cream); }
html[lang="ar"] .table th { letter-spacing: 0; font-size: 13px; text-transform: none; }
.table tbody tr:hover { background: var(--cream); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.plan { border: 1px solid var(--line); padding: 22px; text-align: center; background: var(--white); }
.plan b { display: block; font-size: 30px; font-family: var(--font-display); color: var(--navy-800); }
.plan span { font-size: 13px; color: var(--muted); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; padding: 18px 0; text-align: start;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 16.5px; color: var(--ink); font-family: inherit;
}
.faq-q svg { width: 16px; height: 16px; flex: none; transition: transform var(--t-fast); color: var(--brass); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq-a p { padding-bottom: 18px; margin: 0; color: var(--muted); }
.faq-item.is-open .faq-a { max-height: 400px; }

.aside-card { border: 1px solid var(--line); padding: 26px; position: sticky; top: 96px; background: var(--white); }
.aside-card h3 { font-size: 22px; margin-bottom: 6px; }
.aside-card p { font-size: 14px; color: var(--muted); }
.aside-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.aside-note { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 16px; }

.map-embed { width: 100%; height: 340px; border: 1px solid var(--line); filter: grayscale(.35); }

.disclaimer { font-size: 12.5px; color: var(--muted); border-inline-start: 2px solid var(--brass); padding-inline-start: 14px; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
html[lang="ar"] .field label { letter-spacing: 0; font-size: 14px; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); font-family: inherit;
  font-size: 15px; background: #fff; color: var(--ink); border-radius: var(--radius);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); }
.info-card { background: var(--cream); padding: 30px; }
.info-card .contact-list li { color: var(--ink); }
.info-card .contact-list svg { color: var(--brass); }

/* ---------- about ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 46px; color: var(--navy-800); line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
html[lang="ar"] .stat span { letter-spacing: 0; text-transform: none; font-size: 14px; }
.prose { max-width: 68ch; }
.prose p { color: #3d4b57; }

/* ---------- whatsapp widget ---------- */
.wa {
  position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 95;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
/* the panel is 330px wide, so the column must hug the same edge the widget is
   pinned to — otherwise the button floats away from the corner. flex-end is
   the right edge in LTR and the left edge in RTL, which is exactly what we
   want in both directions. */
html[dir="rtl"] .wa { align-items: flex-end; }
.wa__btn {
  position: relative;
  width: 58px; height: 58px; border-radius: 50%; border: 0; background: #25d366;
  display: grid; place-items: center; color: #fff; box-shadow: 0 14px 34px -12px rgba(37, 211, 102, .8);
  transition: transform var(--t-fast);
}
.wa__btn:hover { transform: scale(1.06); }
.wa__btn svg { width: 30px; height: 30px; }
.wa__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .55); animation: waPulse 2.4s infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.wa__panel {
  width: min(330px, calc(100vw - 44px)); background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-float); transform-origin: bottom right;
  transform: scale(.9) translateY(12px); opacity: 0; visibility: hidden; transition: var(--t);
}
html[dir="rtl"] .wa__panel { transform-origin: bottom left; }
.wa__panel.is-open { transform: none; opacity: 1; visibility: visible; }
.wa__head { background: #075e54; color: #fff; padding: 16px 18px; display: flex; gap: 12px; align-items: center; }
.wa__avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; }
.wa__avatar img { width: 30px; height: auto; }
.wa__head strong { display: block; font-size: 15px; font-weight: 500; }
.wa__head span { font-size: 12px; color: rgba(255, 255, 255, .75); }
.wa__body { padding: 20px 18px; background: #e5ddd5; }
.wa__bubble {
  background: #fff; padding: 12px 14px; border-radius: 0 10px 10px 10px; font-size: 14px;
  color: #333; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); max-width: 92%;
}
html[dir="rtl"] .wa__bubble { border-radius: 10px 0 10px 10px; }
.wa__form { padding: 14px; background: #fff; display: grid; gap: 10px; }
.wa__form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  font-family: inherit; font-size: 14px; min-height: 74px; resize: none;
}
.wa__form textarea:focus { outline: none; border-color: #25d366; }
.wa__close { margin-inline-start: auto; background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; }

/* ---------- misc ---------- */
.scroll-fade { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.scroll-fade.is-in { opacity: 1; transform: none; }

.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark);
  background: none; color: #fff; display: grid; place-items: center; transition: var(--t-fast);
}
.carousel-nav button:hover { background: rgba(255, 255, 255, .12); }
.carousel-nav svg { width: 15px; height: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .featured-grid { grid-template-columns: 1fr; gap: 30px; }
  .featured-grid .cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .proj-layout { grid-template-columns: 1fr; }
  .aside-card, .filters { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: block; }
  .searchbar__inner { grid-template-columns: 1fr 1fr; }
  .sf + .sf::before { display: none; }
  .sf { border: 1px solid rgba(255, 255, 255, .12); border-radius: 3px; margin: 4px; }
  .searchbar .btn { grid-column: 1 / -1; margin: 4px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-inline-start: 0; }
  .cta-band__inner { grid-template-columns: 1fr; gap: 34px; }
  .cta-band__divider { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .listing { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters.is-open { display: block; }
  .filters-toggle { display: inline-flex; }
  .why-list { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .why-item:nth-child(3) { border-inline-start: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .proj-gallery { grid-template-columns: 1fr; height: auto; }
  .proj-gallery__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; height: 160px; }
  .proj-gallery__main { height: 300px; }
}

@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .hero { min-height: 86vh; padding: 140px 0 170px; }
  .searchbar__inner { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .why-item { border-inline-start: 0; padding-inline: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .fact:first-child { border-block-start: 0; }
  .form-row { grid-template-columns: 1fr; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .proj-price { text-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .scroll-fade { opacity: 1; transform: none; }
}

@media print {
  .header, .wa, .footer, .aside-card, .searchbar { display: none !important; }
  body { color: #000; }
}


/* Recommendation band */
.section--sand { background: #f1eadf; }
.card__source { position: absolute; inset-inline-end: 14px; bottom: 14px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: rgba(8, 25, 42, .82); color: #fff; font-size: .72rem; letter-spacing: .04em; }

/* header nav now carries six links */
@media (max-width: 1240px) {
  .nav { gap: 20px; }
  html[lang="en"] .nav a { letter-spacing: .08em; }
}
@media (max-width: 1080px) { .header__actions .btn { display: none; } }


/* ==========================================================================
   Sahel (North Coast) map page — ar|en/sahel-map.html  (generated by sahel_map.py)
   A vertical "poster" map: land on the left, the sea on the right,
   KM pins on the shore and every compound as a clickable name.
   ========================================================================== */
@media (max-width: 1180px) { .nav { gap: 20px; } }
button.btn--ghost { background: transparent; }

.smap-top { height: 88px; background: #050e18; }
.smap-luxury {
  position: relative;
  background: radial-gradient(circle at 80% 15%, rgba(14, 116, 144, 0.22) 0%, transparent 55%),
              radial-gradient(circle at 20% 85%, rgba(202, 160, 76, 0.12) 0%, transparent 50%),
              linear-gradient(180deg, #030a12 0%, #061523 35%, #081d30 70%, #030a12 100%);
  color: #fff;
  font-family: var(--font-body);
  padding: 40px 16px 80px;
  overflow: hidden;
}

.smap-container {
  max-width: 100%;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Top Poster Header
   -------------------------------------------------------------------------- */
.smap-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  gap: 20px;
}

.smap-header__center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.smap-header__title {
  font-family: "Cinzel", "El Messiri", "Tajawal", serif, sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #f3dfaa;
  margin: 0;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 0 25px rgba(223, 184, 108, 0.4), 0 2px 6px rgba(0,0,0,0.8);
}

.smap-header__range {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 500;
  color: #dfb86c;
  letter-spacing: 0.06em;
  margin-top: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.smap-header__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 160px;
  margin: 8px auto 10px;
}

.smap-header__divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #dfb86c 50%, transparent);
}

.smap-header__divider .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #dfb86c;
  background: #050e18;
  box-shadow: 0 0 8px #dfb86c;
}

.smap-header__sub {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 600;
  color: #f1ecdf;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
  letter-spacing: 0.02em;
}

.smap-header__compass {
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.smap-compass {
  width: 82px;
  height: 82px;
  filter: drop-shadow(0 0 12px rgba(223, 184, 108, 0.45));
}

/* --------------------------------------------------------------------------
   Region Navigation & Search Bar
   -------------------------------------------------------------------------- */
.smap-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.smap-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}

.smap-tab {
  background: rgba(10, 24, 38, 0.85);
  border: 1px solid rgba(223, 184, 108, 0.35);
  color: #dcd0b8;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.smap-tab:hover {
  border-color: #dfb86c;
  color: #fff;
  background: rgba(223, 184, 108, 0.15);
  transform: translateY(-1px);
}

.smap-tab.is-active {
  background: linear-gradient(135deg, rgba(223, 184, 108, 0.35) 0%, rgba(130, 95, 30, 0.45) 100%);
  border-color: #f1dfb0;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(223, 184, 108, 0.4), inset 0 0 10px rgba(223, 184, 108, 0.2);
}

.smap-search-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.smap-search-wrap {
  position: relative;
  flex: 1;
}

.smap-search-input {
  width: 100%;
  padding: 10px 18px 10px 42px;
  background: rgba(8, 20, 32, 0.85);
  border: 1px solid rgba(223, 184, 108, 0.35);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

html[dir="rtl"] .smap-search-input {
  padding: 10px 42px 10px 18px;
}

.smap-search-input:focus {
  border-color: #dfb86c;
  box-shadow: 0 0 16px rgba(223, 184, 108, 0.45);
}

.smap-search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: #dfb86c;
  pointer-events: none;
}

html[dir="rtl"] .smap-search-icon {
  left: auto;
  right: 14px;
}

/* --------------------------------------------------------------------------
   The Gold-Glow Masterpiece Card Frame
   -------------------------------------------------------------------------- */
.smap-card {
  position: relative;
  border-radius: 26px;
  background: #050f1a;
  box-shadow: 0 0 40px rgba(223, 184, 108, 0.25),
              inset 0 0 25px rgba(223, 184, 108, 0.12),
              0 25px 70px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.smap-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 28px;
  padding: 2px;
  background: linear-gradient(135deg, #f7e6b8 0%, #aa7e2c 25%, #674712 50%, #dfb86c 75%, #fff0cc 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 10;
}

/* 4 cardinal metallic rivets / studs */
.smap-rivet {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff0cc 20%, #dfb86c 60%, #583b0a 100%);
  border: 1.5px solid #2e1d04;
  box-shadow: 0 0 8px #dfb86c;
  z-index: 15;
}

.smap-rivet--top-left { top: 12px; left: 14px; }
.smap-rivet--top-right { top: 12px; right: 14px; }
.smap-rivet--mid-left { top: 50%; left: 8px; transform: translateY(-50%); }
.smap-rivet--mid-right { top: 50%; right: 8px; transform: translateY(-50%); }

/* Card Content Grid: List on Left, Map Coast on Right */
.smap-card__body {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) 1.25fr;
  min-height: 840px;
  position: relative;
}

/* Left: Compounds List */
.smap-list-wrap {
  position: relative;
  z-index: 3;
  padding: 30px 24px 20px;
  background: linear-gradient(to right, rgba(5,15,26,0.98) 0%, rgba(5,15,26,0.94) 70%, rgba(5,15,26,0.65) 90%, transparent 100%);
  display: flex;
  flex-direction: column;
}

html[dir="rtl"] .smap-list-wrap {
  background: linear-gradient(to left, rgba(5,15,26,0.98) 0%, rgba(5,15,26,0.94) 70%, rgba(5,15,26,0.65) 90%, transparent 100%);
}

.smap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: visible;
  max-height: none;
  padding-right: 8px;
}

html[dir="rtl"] .smap-list {
  padding-right: 0;
  padding-left: 8px;
}

/* Custom luxury gold scrollbar */
.smap-list::-webkit-scrollbar {
  width: 5px;
}
.smap-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}
.smap-list::-webkit-scrollbar-thumb {
  background: #aa7e2c;
  border-radius: 999px;
}
.smap-list::-webkit-scrollbar-thumb:hover {
  background: #dfb86c;
}

/* Compound Row */
.smap-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 8px;
  border-radius: 8px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  border-bottom: 1px solid rgba(223, 184, 108, 0.08);
}

.smap-row:hover,
.smap-row.is-active {
  background: rgba(223, 184, 108, 0.12);
  transform: translateX(4px);
}

html[dir="rtl"] .smap-row:hover,
html[dir="rtl"] .smap-row.is-active {
  transform: translateX(-4px);
}

/* Circular Logo Badge */
.smap-row__badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #ffffff;
  overflow: hidden;
  border: 1.5px solid rgba(223, 184, 108, 0.8);
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.smap-row:hover .smap-row__badge {
  transform: scale(1.08);
  border-color: #f7e6b8;
  box-shadow: 0 0 10px rgba(223, 184, 108, 0.6);
}

.smap-row__badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smap-row__badge span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #0c1a26;
}

/* Compound Info */
.smap-row__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex-shrink: 0;
}

.smap-row__title {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.smap-row__name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(223, 184, 108, 0.4);
  transition: all 0.2s ease;
}

.smap-row:hover .smap-row__name {
  color: #f7e6b8;
  text-decoration-color: #dfb86c;
}

.smap-row__km {
  font-size: 13.5px;
  color: #dfb86c;
  font-weight: 500;
  direction: ltr;
}

.smap-row__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-top: 2px;
}

.smap-row__price {
  color: #cbb075;
  font-weight: 500;
}

.smap-row__price.is-ask {
  color: rgba(255,255,255,0.45);
}

.smap-row__units {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.16);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
}

/* Horizontal Connector Line */
.smap-row__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(223,184,108,0.4) 0%, rgba(223,184,108,0.05) 100%);
  margin-inline-start: 6px;
}

html[dir="rtl"] .smap-row__line {
  background: linear-gradient(270deg, rgba(223,184,108,0.4) 0%, rgba(223,184,108,0.05) 100%);
}

/* Right: Visual Coastline Map */
.smap-visual {
  position: sticky;
  top: 90px;
  height: calc(100vh - 140px);
  min-height: 580px;
  align-self: start;
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #06111d;
  background-image: url('../assets/img/sahel-map/map-alamein.jpg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  border-radius: 18px;
  margin: 16px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(223, 184, 108, 0.15);
}

/* Subtle satellite overlay ensuring pins pop */
.smap-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, transparent 40%, rgba(5,15,26,0.3) 100%),
              linear-gradient(to right, rgba(5,15,26,0.85) 0%, rgba(5,15,26,0.15) 40%, transparent 100%);
  pointer-events: none;
}

html[dir="rtl"] .smap-visual::before {
  background: radial-gradient(circle at 70% 30%, transparent 40%, rgba(5,15,26,0.3) 100%),
              linear-gradient(to left, rgba(5,15,26,0.85) 0%, rgba(5,15,26,0.15) 40%, transparent 100%);
}

/* SVG Route Layer */
.smap-visual__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.smap-route-line {
  fill: none;
  stroke: #dfb86c;
  stroke-width: 2.2;
  stroke-dasharray: 4 6;
  filter: drop-shadow(0 0 6px rgba(223, 184, 108, 0.8));
}

/* Numbered Glowing Pins */
.smap-pin-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 6;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.smap-pin-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #081624;
  border: 1.8px solid #edd59b;
  color: #edd59b;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 0 14px 4px rgba(223, 184, 108, 0.75), inset 0 0 6px rgba(223, 184, 108, 0.4);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.smap-pin-btn:hover,
.smap-pin-marker.is-active .smap-pin-btn {
  transform: scale(1.3);
  background: #dfb86c;
  color: #050f1a;
  border-color: #fff;
  box-shadow: 0 0 25px 8px rgba(223, 184, 108, 0.95), 0 0 40px rgba(255, 255, 255, 0.6);
}

/* Pin Floating Tooltip */
.smap-pin-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(6, 17, 28, 0.95);
  border: 1px solid #dfb86c;
  box-shadow: 0 10px 25px rgba(0,0,0,0.8), 0 0 15px rgba(223, 184, 108, 0.35);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.smap-pin-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #dfb86c;
}

.smap-pin-marker:hover .smap-pin-tooltip,
.smap-pin-marker.is-active .smap-pin-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.smap-pin-tooltip__img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #dfb86c;
}

.smap-pin-tooltip__info strong {
  display: block;
  font-size: 14px;
  color: #fff;
}

.smap-pin-tooltip__km {
  font-size: 12px;
  color: #dfb86c;
}

.smap-pin-tooltip__price {
  display: block;
  font-size: 11px;
  color: #6ee7b7;
}

/* --------------------------------------------------------------------------
   Bottom Distance Ruler Scale Bar
   -------------------------------------------------------------------------- */
.smap-ruler {
  background: rgba(4, 12, 20, 0.94);
  border-top: 1px solid rgba(223, 184, 108, 0.28);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  z-index: 10;
}

.smap-ruler__label {
  font-size: 13.5px;
  font-weight: 600;
  color: #dfb86c;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.smap-ruler__track {
  position: relative;
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(223,184,108,0.2) 0%, rgba(223,184,108,0.7) 50%, rgba(223,184,108,0.2) 100%);
  margin: 14px 0 10px;
}

.smap-ruler__ticks {
  display: flex;
  justify-content: space-between;
  position: relative;
  top: -6px;
}

.smap-ruler__tick {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.smap-ruler__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #edd59b;
  box-shadow: 0 0 6px #dfb86c;
}

.smap-ruler__num {
  font-size: 12px;
  color: #c7a763;
  margin-top: 8px;
  font-weight: 500;
  direction: ltr;
}

/* --------------------------------------------------------------------------
   Quick Action Buttons under Card
   -------------------------------------------------------------------------- */
.smap-actions-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.smap-actions-bar .btn {
  padding: 12px 24px;
  font-size: 14.5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

.smap-btn--pdf {
  background: rgba(14, 28, 43, 0.85);
  border: 1px solid rgba(223, 184, 108, 0.4);
  color: #dfb86c;
  cursor: pointer;
  transition: all 0.2s ease;
}

.smap-btn--pdf:hover {
  background: rgba(223, 184, 108, 0.2);
  color: #fff;
  border-color: #dfb86c;
}

/* --------------------------------------------------------------------------
   VIP Luxury Dialog Modal
   -------------------------------------------------------------------------- */
.smap-dialog {
  display: none !important;
}

.smap-dialog::backdrop {
  background: rgba(3, 8, 14, 0.82);
  backdrop-filter: blur(6px);
}

.smap-dialog__close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(223, 184, 108, 0.4);
  background: rgba(7, 21, 36, 0.85);
  color: #dfb86c;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.smap-dialog__close:hover {
  background: #dfb86c;
  color: #071524;
}

.smap-dialog__media {
  height: 220px;
  background: linear-gradient(135deg, #0c2032, #183e58);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.smap-dialog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smap-dialog__media span {
  font-family: var(--font-display);
  font-size: 58px;
  color: #dfb86c;
  direction: ltr;
}

.smap-dialog__body {
  padding: 24px 26px 28px;
}

.smap-dialog__meta {
  margin: 0;
  font-size: 13px;
  color: #dfb86c;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.smap-dialog__name {
  margin: 6px 0 0;
  font-size: 26px;
  color: #ffffff;
  font-weight: 700;
}

.smap-dialog__alt {
  margin: 2px 0 12px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.smap-dialog__price {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  color: #f7e6b8;
}

.smap-dialog__price small {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 400;
  margin-inline-end: 4px;
}

.smap-dialog__units {
  display: inline-block;
  margin: 8px 0 0;
  font-size: 12px;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.16);
  padding: 3px 12px;
  border-radius: 999px;
}

.smap-dialog__actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.smap-dialog__actions .btn {
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
}

.smap-dialog__link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #dfb86c;
  padding: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.smap-dialog__link:hover {
  color: #fff;
}

.smap-dialog__link svg {
  width: 14px;
  height: 14px;
}

html[dir="rtl"] .smap-dialog__link svg {
  transform: scaleX(-1);
}

.smap-dialog__link[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .smap-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }
  .smap-header__logo,
  .smap-header__compass {
    justify-content: center;
  }
  .smap-card__body {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .smap-visual {
    height: 480px;
    order: -1;
  }
  .smap-list {
    max-height: 480px;
  }
}

@media (max-width: 640px) {
  .smap-luxury {
    padding: 24px 10px 60px;
  }
  .smap-header__title {
    font-size: 28px;
  }
  .smap-header__sub {
    font-size: 15px;
  }
  .smap-header__logo img {
    width: 150px;
  }
  .smap-compass {
    width: 60px;
    height: 60px;
  }
  .smap-tab {
    font-size: 12px;
    padding: 6px 12px;
  }
  .smap-list-wrap {
    padding: 16px 12px;
  }
  .smap-row__name {
    font-size: 14.5px;
  }
  .smap-row__km {
    font-size: 12px;
  }
  .smap-ruler {
    padding: 12px 14px;
    gap: 12px;
  }
  .smap-ruler__num {
    font-size: 10px;
  }
}

/* booking band */
.sahel-cta { background: var(--navy-900); color: #fff; padding: 70px 0; }
.sahel-cta__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.sahel-cta__logo { height: 52px; width: auto; margin-bottom: 22px; }
.sahel-cta h2 { font-size: clamp(26px, 3vw, 38px); margin: 0 0 12px; }
.sahel-cta p { color: rgba(255,255,255,.75); margin: 0; }
.sahel-cta__lines { display: grid; gap: 12px; }
.sahel-disclaimer { margin: 34px 0 60px; }

@media (max-width: 1100px) {
  .smap-row__km b, .smap-row__name > span { font-size: 21px; }
  .smap-intro__hint { font-size: 17px; }
}
@media (max-width: 900px) {
  .smap-top { height: 70px; }
  .smap-intro { position: relative; top: 0; left: 0; width: auto; max-width: none; padding: 34px 20px 10px; width: 46%; }
  .smap-intro__logo { width: 150px; margin-bottom: 24px; }
  .smap-intro__hint { font-size: 15px; margin: 22px 0 18px; }
  .smap-hand { width: 28px; height: 28px; }
  .smap__rows { padding-top: 20px !important; }
  .sahel-cta__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .smap-intro { width: 50%; padding: 26px 14px 6px; }
  .smap-intro__title { font-size: 34px; }
  .smap-intro__actions .btn { padding: 10px 12px; font-size: 13px; }
  .smap-intro__tel, .smap-intro__print { font-size: 13px; }
  .smap-row__km { font-size: 11px; right: 57.6%; }
  .smap-row__km b { font-size: 17px; }
  .smap-pin { width: 14px; height: 14px; }
  .smap-row__line { left: 42.6%; width: 6.4%; }
  .smap-row__badge { width: 34px; height: 34px; left: 49%; }
  .smap-row__badge span { font-size: 12px; }
  .smap-row__name { left: calc(49% + 42px); max-width: calc(51% - 48px); }
  .smap-row__name > span { font-size: 16px; text-underline-offset: 3px; }
  .smap-row__price { font-size: 10.5px; margin-top: 3px; }
  .smap-region__rule { left: 52%; right: 4%; }
  .smap-region__label { right: 4%; font-size: 16px; }
  .smap-region__range { right: 4%; font-size: 12.5px; }
  .smap-region__logo { right: 4%; height: 20px; }
  .smap__wm { width: 150px; }
}

@media print {
  @page { size: A4; margin: 0; }
  .smap-top, .smap-intro__actions .btn, .smap-intro__print, .smap__wm, .sahel-cta__lines, .smap-dialog { display: none !important; }
  .smap, .smap *, .sahel-cta { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .smap-row { break-inside: avoid; }
}
.smap-row__name[dir="rtl"] { align-items: flex-end; }

/* ==========================================================================
   Sahel compound pages — ar|en/sahel/<slug>.html  (generated by sahel_compounds.py)
   Listing layout: compound header, tabs, unit cards, unit sheet dialog.
   ========================================================================== */
.nx { --nx-blue: var(--navy-700); --nx-soft: #e8edf2; --nx-green: #25d366; --nx-card: #fff; background: #fff; color: var(--ink); padding-bottom: 80px; }
.nx-top { height: 86px; background: var(--navy-900); }
.nx-crumbs { color: var(--muted); padding: 22px 0 18px; }
.nx-crumbs a { color: var(--muted); }
.nx-crumbs a:hover { color: var(--nx-blue); }

.nx-gal { display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 190px 190px; margin-bottom: 26px; border-radius: 14px; overflow: hidden; }
.nx-gal--3 { grid-template-columns: 2fr 1fr; }
.nx-gal__t { margin: 0; background: var(--cream-2); overflow: hidden; }
.nx-gal__t img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-gal__t--main { grid-row: span 2; }

.nx-hd { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 6px 0 26px; border-bottom: 1px solid var(--line); }
.nx-logo { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--brass-light); font: 600 30px/1 var(--font-body); letter-spacing: .04em; box-shadow: 0 0 0 8px #f1f3f5; flex: none; }
.nx-logo--sm { width: 52px; height: 52px; font-size: 16px; box-shadow: none; }
.nx-hd__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.nx-hd__title h1 { font: 600 clamp(20px, 2.1vw, 26px)/1.25 var(--font-body); color: var(--navy-700); margin: 0; letter-spacing: 0; }
.nx-chip { display: inline-block; padding: 5px 16px; border-radius: 999px; background: #eef0f2; color: var(--ink); font-size: 15px; }
.nx-chip--km { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.nx-hd__prices { display: flex; margin-top: 8px; }
.nx-hd__prices > div { padding-inline-end: 38px; min-width: 200px; }
.nx-hd__prices > div + div { padding-inline-start: 12px; border-inline-start: 1px solid var(--line); }
.nx-hd__prices p { margin: 0; color: var(--muted); font-size: 18px; }
.nx-hd__val b { font-size: 25px; color: var(--ink); font-weight: 600; }
.nx-hd__val small { font-size: 12px; color: var(--muted); }
.nx-hd__cta { display: flex; gap: 10px; }

.nx-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 8px; font: 500 18px/1 var(--font-body); transition: filter var(--t-fast); white-space: nowrap; }
.nx-btn svg { width: 24px; height: 24px; }
.nx-btn--call { background: var(--nx-soft); color: var(--navy-700); }
.nx-btn--wa { background: var(--nx-green); color: #fff; }
.nx-btn:hover { filter: brightness(.95); }

.nx-list { padding-top: 22px; }
.nx-list__bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.nx-list__bar h2 { font: 700 clamp(22px, 2.4vw, 30px)/1.2 var(--font-body); color: var(--navy-700); margin: 0; letter-spacing: 0; }
.nx-count { margin: 6px 0 0; color: var(--muted); font-size: 17px; }
.nx-tools { display: flex; gap: 10px; }
.nx-tool { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--muted); font: 500 17px var(--font-body); cursor: pointer; }
.nx-tool svg { width: 20px; height: 20px; }
.nx-tool--primary { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.nx-tool--sort select { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; padding-inline-end: 4px; }
.nx-filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-top: 16px; padding: 16px; border-radius: 10px; background: #f6f7f9; }
.nx-filters label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.nx-filters select { min-width: 180px; height: 40px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 0 10px; font: inherit; color: var(--ink); }
.nx-reset { height: 40px; padding: 0 16px; border: 0; background: none; color: var(--navy-700); text-decoration: underline; cursor: pointer; font: inherit; }

.nx-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 30px; border-bottom: 1px solid var(--line); }
.nx-tabs button { background: none; border: 0; padding: 14px 8px; font: 400 20px var(--font-body); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.nx-tabs button small { font-size: 14px; }
.nx-tabs button[aria-selected="true"] { color: var(--navy-700); border-bottom-color: var(--navy-700); font-weight: 500; }

.nx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nx-card { position: relative; background: var(--nx-card); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 14px rgba(8, 25, 42, .09); display: flex; flex-direction: column; }
.nx-card[hidden] { display: none; }
.nx-card__media { position: relative; display: block; width: 100%; aspect-ratio: 503 / 270; padding: 0; border: 0; background: var(--cream-2); cursor: pointer; overflow: hidden; }
.nx-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.nx-card:hover .nx-card__media img { transform: scale(1.03); }
.nx-card__media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); pointer-events: none; }
.nx-card__ph { display: grid; place-items: center; height: 100%; font: 600 42px var(--font-display); color: var(--muted-2); }
.nx-card__dl { position: absolute; inset-inline-start: 20px; bottom: 16px; z-index: 1; color: #fff; text-align: start; line-height: 1.15; }
.nx-card__dl small { display: block; font-size: 15px; font-weight: 500; }
.nx-card__dl b { display: block; font-size: 23px; font-weight: 700; padding-inline-start: 20px; }
.nx-card__icons { position: absolute; top: 18px; inset-inline-end: 18px; display: flex; gap: 6px; z-index: 2; }
.nx-ic { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; }
.nx-ic svg { width: 20px; height: 20px; }
.nx-ic[aria-pressed="true"] { background: #fff; color: #e0245e; }
.nx-ic[aria-pressed="true"] svg { fill: currentColor; }
.nx-card__body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.nx-card__head { display: flex; gap: 12px; align-items: center; }
.nx-card__head > div { min-width: 0; }
.nx-card__loc { margin: 0; color: var(--muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-card__title { margin: 2px 0 0; font: 600 20px/1.3 var(--font-body); letter-spacing: 0; }
.nx-card__title button { all: unset; cursor: pointer; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; color: var(--ink); }
.nx-card__title button:focus-visible { outline: 2px solid var(--navy-700); }
.nx-specs { list-style: none; display: flex; flex-wrap: wrap; margin: 22px 0 18px; padding: 0; color: var(--muted); }
.nx-specs li { display: flex; align-items: center; gap: 4px; padding: 0 14px; font-size: 15px; }
.nx-specs li:first-child { padding-inline-start: 0; }
.nx-specs li + li { border-inline-start: 1px solid var(--line); }
.nx-specs svg { width: 24px; height: 24px; color: var(--ink); }
.nx-specs b { font-weight: 500; font-size: 17px; color: var(--ink); }
.nx-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.nx-card__inst { margin: 0; font-size: 15px; color: var(--ink); }
.nx-card__price { margin: 2px 0 0; font: 600 22px/1.2 var(--font-body); color: var(--ink); }
.nx-card__cta { display: flex; gap: 4px; flex: none; }
.nx-round { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.nx-round svg { width: 24px; height: 24px; }
.nx-round--call { background: var(--navy-700); }
.nx-round--wa { background: var(--nx-green); }
.nx-empty { text-align: center; padding: 40px 0 10px; color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto; }
.nx-empty-cta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.nx-about { margin-top: 60px; padding-top: 34px; border-top: 1px solid var(--line); max-width: 860px; }
.nx-about h2 { font: 700 26px/1.2 var(--font-body); color: var(--navy-700); margin: 0 0 14px; letter-spacing: 0; }
.nx-about p { color: var(--ink); line-height: 1.8; margin: 0 0 18px; }
.nx-plan { display: inline-block; border: 1px solid var(--line); border-radius: 10px; padding: 14px 20px; margin-bottom: 18px; }
.nx-plan h3 { margin: 0 0 6px; font: 600 16px var(--font-body); color: var(--muted); letter-spacing: 0; }
.nx-plan__row { display: flex; gap: 28px; }
.nx-plan__row b { font-size: 22px; color: var(--navy-700); }
.nx-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-700); font-weight: 500; }
.nx-link svg { width: 18px; height: 18px; }
html[dir="rtl"] .nx-link svg { transform: scaleX(-1); }

/* unit sheet */
.nx-unit { width: min(980px, calc(100% - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; overflow: auto; color: var(--ink); background: #fff; }
.nx-unit::backdrop { background: rgba(8, 25, 42, .7); }
.nx-unit__close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.nx-unit__gal { position: relative; aspect-ratio: 16 / 8; background: var(--cream-2); }
.nx-unit__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-unit__nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.nx-unit__nav svg { width: 22px; height: 22px; }
.nx-unit__nav--prev { left: 14px; }
.nx-unit__nav--next { right: 14px; }
.nx-unit__nav--next svg { transform: scaleX(-1); }
.nx-unit__counter { position: absolute; bottom: 12px; right: 14px; background: rgba(0, 0, 0, .6); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 13px; }
.nx-unit__thumbs { display: flex; gap: 6px; padding: 8px 16px 0; overflow-x: auto; }
.nx-unit__thumbs button { flex: none; width: 84px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.nx-unit__thumbs button[aria-current="true"] { border-color: var(--navy-700); opacity: 1; }
.nx-unit__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.nx-unit__body { padding: 22px 28px 30px; }
.nx-unit__top { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.nx-unit__title { font: 600 24px/1.3 var(--font-body); color: var(--navy-700); margin: 10px 0 4px; letter-spacing: 0; }
.nx-unit__loc { margin: 0; color: var(--muted); }
.nx-unit__price { margin: 0 0 12px; font-size: 16px; color: var(--muted); }
.nx-unit__price b { display: block; font-size: 26px; color: var(--ink); }
.nx-unit__cta { display: flex; gap: 8px; }
.nx-unit__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; border-bottom: 1px solid var(--line); }
.nx-unit__facts div { padding: 16px 0; }
.nx-unit__facts dt { color: var(--muted); font-size: 14px; }
.nx-unit__facts dd { margin: 4px 0 0; font-weight: 600; font-size: 17px; }
.nx-unit__am, .nx-unit__plans, .nx-unit__about { padding-top: 20px; }
.nx-unit__body h3 { font: 600 19px var(--font-body); margin: 0 0 12px; color: var(--navy-700); letter-spacing: 0; }
.nx-unit__am ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nx-unit__am li { padding: 7px 14px; border-radius: 999px; background: #f1f3f5; font-size: 15px; }
.nx-unit__plans > div { display: flex; flex-wrap: wrap; gap: 12px; }
.nx-plan-card { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; min-width: 220px; }
.nx-plan-card p { margin: 0; color: var(--muted); font-size: 14px; }
.nx-plan-card b { color: var(--ink); font-size: 18px; }
.nx-unit__about p { margin: 0; line-height: 1.8; }

@media (max-width: 1100px) {
  .nx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-hd { grid-template-columns: auto 1fr; }
  .nx-hd__cta { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nx-top { height: 70px; }
  .nx-grid { grid-template-columns: 1fr; }
  .nx-hd { grid-template-columns: 1fr; gap: 16px; }
  .nx-logo { width: 72px; height: 72px; font-size: 22px; }
  .nx-logo--sm { width: 46px; height: 46px; font-size: 15px; }
  .nx-hd__prices > div { min-width: 0; padding-inline-end: 16px; }
  .nx-hd__prices p { font-size: 15px; }
  .nx-hd__val b { font-size: 20px; }
  .nx-hd__cta .nx-btn { flex: 1; justify-content: center; }
  .nx-list__bar { flex-direction: column; }
  .nx-tabs button { font-size: 16px; }
  .nx-gal { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 110px; }
  .nx-gal__t--main { grid-column: 1 / -1; grid-row: auto; }
  .nx-gal__t:nth-child(n+4) { display: none; }
  .nx-unit__facts { grid-template-columns: repeat(2, 1fr); }
  .nx-unit__body { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .nx-card__media img { transition: none; } }
.nx [hidden], .nx-unit [hidden] { display: none !important; }

/* ---- unit flags, "price on request", featured (added with the admin dashboard) ---- */
.card__flag { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; padding: 5px 11px; background: var(--brass); color: #fff; font-size: .74rem; letter-spacing: .04em; border-radius: 999px; }
.card__price .is-ask, .card__price.is-ask { color: var(--muted); font-size: 16px; font-weight: 400; }
.nx-card__flag { position: absolute; top: 18px; inset-inline-start: 18px; z-index: 2; padding: 5px 12px; background: var(--brass); color: #fff; font-size: 13px; font-weight: 600; border-radius: 999px; }
.nx-card__price.is-ask { font-size: 18px; font-weight: 500; color: var(--muted); }
.nx-specs--none { margin: 8px 0 10px; min-height: 0; }
.nx-unit__price .is-ask { font-size: 20px; }

/* the closed WhatsApp panel's empty box was swallowing clicks on things behind it */
.wa { pointer-events: none; }
.wa > * { pointer-events: auto; }
.wa__panel:not(.is-open) { pointer-events: none; }

/* ========================================================
   PROMINENT SAHEL MAP 2026 HERO, NAV & SHOWCASE STYLES
   ======================================================== */

/* Nav Highlight Link */
.nav__sahel-link {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(184, 146, 75, 0.22) 0%, rgba(184, 146, 75, 0.08) 100%);
  border: 1px solid rgba(184, 146, 75, 0.55);
  padding: 6px 14px !important;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 0 16px rgba(184, 146, 75, 0.25);
}
.nav__sahel-link:hover {
  background: linear-gradient(135deg, rgba(184, 146, 75, 0.4) 0%, rgba(184, 146, 75, 0.2) 100%);
  border-color: #d4af66;
  box-shadow: 0 0 22px rgba(184, 146, 75, 0.5);
  transform: translateY(-1px);
}
.nav__sahel-link::after { display: none !important; }

.drawer__sahel-highlight {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(184, 146, 75, 0.25) 0%, rgba(184, 146, 75, 0.08) 100%) !important;
  border: 1px solid rgba(184, 146, 75, 0.6) !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  margin: 10px 0 !important;
  color: #f7ecd5 !important;
  font-size: 22px !important;
}

/* Gold Shimmer Button */
.btn--sahel {
  background: linear-gradient(135deg, #c5a059 0%, #ecd08c 50%, #b38b46 100%);
  color: #061524 !important;
  font-weight: 700 !important;
  border: 1px solid #dfba73;
  box-shadow: 0 8px 24px -4px rgba(197, 160, 89, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}
.btn--sahel:hover {
  background: linear-gradient(135deg, #d4af66 0%, #f5de9f 50%, #c5a059 100%);
  box-shadow: 0 12px 30px -4px rgba(197, 160, 89, 0.7), 0 0 20px rgba(236, 208, 140, 0.5);
  transform: translateY(-2px);
  color: #030e1a !important;
}
.btn--sahel.btn--lg {
  padding: 16px 32px;
  font-size: 15px;
}
html[lang="ar"] .btn--sahel.btn--lg {
  font-size: 16px;
}

/* Pulsing Indicator Dots */
.live-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livePulseAnim 1.8s infinite;
  flex: none;
}
.live-pulse-dot--gold {
  background: #ecd08c;
  box-shadow: 0 0 0 0 rgba(236, 208, 140, 0.8);
  animation: livePulseGold 1.8s infinite;
}

@keyframes livePulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes livePulseGold {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 208, 140, 0.8); }
  70% { transform: scale(1); box-shadow: 0 0 0 9px rgba(236, 208, 140, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 208, 140, 0); }
}

/* Homepage Dedicated Sahel Showcase Section */
.home-sahel-showcase {
  background: linear-gradient(135deg, #040e19 0%, #08192a 45%, #0d2642 100%);
  position: relative;
  overflow: hidden;
  padding: 85px 0 95px;
  border-top: 1px solid rgba(184, 146, 75, 0.35);
  border-bottom: 1px solid rgba(184, 146, 75, 0.25);
  color: #fff;
}
.home-sahel-showcase::before {
  content: "";
  position: absolute;
  top: -150px;
  inset-inline-end: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 146, 75, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.home-sahel-showcase::after {
  content: "";
  position: absolute;
  bottom: -150px;
  inset-inline-start: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.sahel-showcase__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.sahel-showcase__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184, 146, 75, 0.14);
  border: 1px solid rgba(184, 146, 75, 0.45);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: #eed69b;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
html[lang="en"] .sahel-showcase__tag {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}

.sahel-showcase__title {
  font-size: clamp(30px, 3.4vw, 44px);
  font-family: var(--font-display);
  line-height: 1.25;
  color: #fff;
  margin: 0 0 16px;
}
.sahel-showcase__title span {
  color: #ecd08c;
  display: inline-block;
}

.sahel-showcase__desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 30px;
  max-width: 620px;
}

.sahel-showcase__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(8, 25, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  margin-bottom: 32px;
}
.sahel-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sahel-stat__val {
  font-size: 26px;
  font-weight: 700;
  color: #ecd08c;
  line-height: 1;
}
.sahel-stat__lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.sahel-showcase__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sahel-showcase__regions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sahel-regions__lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}
.sahel-region-pill {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.sahel-region-pill:hover {
  background: rgba(184, 146, 75, 0.25);
  border-color: #ecd08c;
  color: #fff;
  transform: translateY(-1px);
}

/* Right Card: Interactive Map Visual */
.sahel-preview-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(184, 146, 75, 0.4);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 35px rgba(184, 146, 75, 0.18);
  aspect-ratio: 16 / 11;
  display: block;
  text-decoration: none;
  group: "";
}
.sahel-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
}
.sahel-preview-card:hover img {
  transform: scale(1.06);
}
.sahel-preview-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 21, 36, 0.92) 0%, rgba(6, 21, 36, 0.4) 50%, rgba(6, 21, 36, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}
.sahel-preview-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sahel-preview-badge {
  background: rgba(8, 25, 42, 0.85);
  border: 1px solid rgba(184, 146, 75, 0.6);
  backdrop-filter: blur(8px);
  color: #ecd08c;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sahel-preview-card__pins {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 18px;
}
.sahel-pin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 21, 36, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #fff;
  width: fit-content;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.sahel-pin svg {
  width: 14px;
  height: 14px;
  color: #ecd08c;
  flex: none;
}
.sahel-preview-card__cta {
  background: linear-gradient(135deg, #c5a059 0%, #ecd08c 100%);
  color: #061524;
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}
.sahel-preview-card:hover .sahel-preview-card__cta {
  transform: translateY(-2px);
}
.sahel-preview-card__cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
html[dir="rtl"] .sahel-preview-card__cta svg {
  transform: scaleX(-1);
}
.sahel-preview-card:hover .sahel-preview-card__cta svg {
  transform: translateX(4px);
}
html[dir="rtl"] .sahel-preview-card:hover .sahel-preview-card__cta svg {
  transform: translateX(-4px) scaleX(-1);
}

@media (max-width: 992px) {
  .sahel-showcase__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sahel-showcase__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .home-sahel-showcase {
    padding: 60px 0 70px;
  }
  .sahel-showcase__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sahel-showcase__actions .btn {
    justify-content: center;
  }
}


/* ==========================================================================
   Sahel map — stacked poster maps (one map per region, gold points on the coast)
   Built by assets/js/sahel-map.js
   ========================================================================== */
.smap-header.smx-pagehead { margin-bottom: 8px; }
.smx-nav {
  position: sticky; top: 74px; z-index: 30;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 4px; margin: 0 auto 6px; max-width: 980px;
  justify-content: center; flex-wrap: wrap;
}
.smx-nav::-webkit-scrollbar { display: none; }
.smx-nav a {
  flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 15px; border-radius: 999px; font-size: 14px; color: #f3e3bd; text-decoration: none;
  background: rgba(8, 20, 32, .82); border: 1px solid rgba(223, 184, 108, .38);
  backdrop-filter: blur(6px); transition: background .2s, border-color .2s, color .2s;
}
.smx-nav a small { font-size: 11.5px; color: rgba(243, 227, 189, .62); }
.smx-nav a:hover { background: rgba(223, 184, 108, .18); border-color: #dfb86c; color: #fff; }

.smx-stack { display: flex; flex-direction: column; align-items: center; gap: 56px; padding: 18px 0 30px; }
.smx-empty { color: rgba(255,255,255,.7); text-align: center; padding: 40px 0; }

.smx-poster {
  --gold: #dfb86c; --gold-hi: #f7e3ae; --gold-lo: #9c7533;
  position: relative; width: 100%; max-width: 100%; scroll-margin-top: 130px;
  padding: 26px 22px 18px; border-radius: 10px; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(240, 170, 80, .22), transparent 55%),
    radial-gradient(90% 50% at 0% 100%, rgba(30, 120, 140, .25), transparent 60%),
    linear-gradient(180deg, #0c1c2a 0%, #0a1824 45%, #0b1a26 100%);
  border: 1px solid rgba(223, 184, 108, .55);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8), inset 0 0 0 4px rgba(10, 22, 34, .9), inset 0 0 0 5px rgba(223, 184, 108, .25);
}
.smx-poster__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/sahel-map/map-bg-clean.jpg") center / cover no-repeat;
  filter: blur(26px) saturate(1.1); opacity: .28; transform: scale(1.15);
}

/* header: title & centered layout · compass on right */
.smx-head { position: relative; display: flex; align-items: center; justify-content: center; direction: ltr; margin-bottom: 18px; padding: 0 40px; }
.smx-head__compass { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 86px; }
.smx-head__compass svg { width: 100%; height: auto; display: block; }
.smx-head__titles { text-align: center; width: 100%; }
.smx-head__title {
  margin: 0; font-family: "Cinzel", "El Messiri", serif; font-weight: 700; letter-spacing: .06em; line-height: 1.05;
  font-size: clamp(26px, 5.4vw, 42px);
  background: linear-gradient(180deg, #fff1c9 0%, #e7c27a 45%, #b48a3f 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.55));
}
.smx-head__range { margin-top: 4px; font-family: "Cinzel", serif; font-weight: 600; color: var(--gold); font-size: clamp(16px, 3.2vw, 24px); letter-spacing: .02em; }
.smx-head__div { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px auto 6px; max-width: 260px; }
.smx-head__div i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.smx-head__div b { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold); }
.smx-head__sub { margin: 0; color: #f4ead2; font-size: clamp(14px, 2.7vw, 19px); font-weight: 500; direction: rtl; }
html[lang="en"] .smx-head__sub { direction: ltr; }

/* the framed panel with the aerial coast */
.smx-panel {
  position: relative; direction: ltr; border-radius: 22px; overflow: hidden;
  min-height: 420px;
  border: 1.5px solid rgba(223, 184, 108, .85);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 0 26px rgba(223, 184, 108, .28), inset 0 0 40px rgba(0,0,0,.55);
  display: flex;
}
.smx-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("../img/sahel-map/map-bg-clean.jpg") center right / cover no-repeat;
}
.smx-panel.is-mirror::before { transform: scaleX(-1); }
.smx-panel::after { /* darker glass behind the list, like the printed map */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 16, 26, .9) 0%, rgba(6, 16, 26, .78) 38%, rgba(6, 16, 26, .35) 60%, rgba(6, 16, 26, 0) 74%);
}
.smx-panel.is-mirror::after { background: linear-gradient(270deg, rgba(6, 16, 26, .9) 0%, rgba(6, 16, 26, .78) 38%, rgba(6, 16, 26, .35) 60%, rgba(6, 16, 26, 0) 74%); }
.smx-rivet { position: absolute; top: 50%; z-index: 4; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #0b1a26; border: 2px solid var(--gold); box-shadow: 0 0 8px rgba(223,184,108,.7); }
.smx-rivet--a { left: -7px; } .smx-rivet--b { right: -7px; }
.smx-star { position: absolute; z-index: 2; bottom: 14px; width: 34px; height: 34px; opacity: .85; pointer-events: none; }
.smx-star svg { width: 100%; height: 100%; fill: rgba(255,255,255,.75); filter: drop-shadow(0 0 6px rgba(255,255,255,.6)); }
.smx-panel .smx-star { right: 16px; } .smx-panel.is-mirror .smx-star { right: auto; left: 16px; }

/* list */
.smx-list {
  position: relative; z-index: 3; flex: 0 0 auto; width: 64%;
  display: flex; flex-direction: column; justify-content: space-around;
  padding: 14px 0 14px 16px;
}
.smx-panel.is-mirror .smx-list { margin-left: auto; padding: 14px 16px 14px 0; direction: rtl; }
.smx-list .smap-row {
  position: relative; left: auto; right: auto; transform: none;
  display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin: 0;
  border-radius: 10px; border: 0; background: none; cursor: pointer; outline: none;
}
.smx-list .smap-row::after {
  content: ""; position: absolute; left: 50px; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, rgba(223,184,108,.35), rgba(223,184,108,.12) 70%, transparent);
}
.smx-panel.is-mirror .smx-list .smap-row::after { left: 0; right: 50px; background: linear-gradient(270deg, rgba(223,184,108,.35), rgba(223,184,108,.12) 70%, transparent); }
.smx-list .smap-row:last-child::after { display: none; }
.smx-list .smap-row:hover, .smx-list .smap-row.is-active, .smx-list .smap-row:focus-visible { background: rgba(223, 184, 108, .14); transform: none; }
.smx-list .smap-row[hidden] { display: none; }
.smx-num {
  position: absolute; z-index: 2; top: 3px; left: 3px; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 9px;
  background: linear-gradient(180deg, #f5dc9c, #c99a49); color: #1a1206; font: 700 10.5px/17px "Barlow Semi Condensed", Arial, sans-serif; text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.smx-panel.is-mirror .smx-num { left: auto; right: 3px; }
.smx-list .smap-row__badge {
  position: relative; left: auto; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; overflow: hidden;
  background: #fff; border: 2px solid rgba(247, 227, 174, .95); box-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.smx-list .smap-row__badge img { width: 100%; height: 100%; object-fit: cover; }
.smx-list .smap-row__body { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; }
.smx-list .smap-row__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; white-space: normal; }
.smx-list .smap-row__name {
  position: static; left: auto; max-width: none;
  font-family: "Barlow Semi Condensed", "Tajawal", sans-serif; font-weight: 500; font-size: 21px; line-height: 1.15;
  color: #fff; text-decoration: none; text-shadow: 0 1px 4px rgba(0,0,0,.85);
}
html[lang="ar"] .smx-list .smap-row__name { font-family: "Tajawal", sans-serif; font-weight: 700; font-size: 19px; }
.smx-list .smap-row__km { position: static; font-family: "Barlow Semi Condensed", sans-serif; font-size: 18px; color: var(--gold); font-weight: 500; text-shadow: 0 1px 4px rgba(0,0,0,.85); unicode-bidi: isolate; }
html[lang="en"] .smx-list .smap-row__km { direction: ltr; }
html[lang="ar"] .smx-list .smap-row__km { direction: rtl; font-family: "Tajawal", sans-serif; font-size: 16px; }
.smx-list .smap-row__meta { display: flex; flex-wrap: wrap; gap: 2px 8px; margin-top: 2px; font-size: 12px; }
.smx-list .smap-row__price { position: static; color: #e9cf91; font-weight: 500; margin: 0; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.smx-list .smap-row__price.is-ask { color: rgba(255,255,255,.55); }
.smx-list .smap-row__units { color: rgba(255,255,255,.62); text-shadow: 0 1px 3px rgba(0,0,0,.8); }

/* route + points */
.smx-route { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: visible; }
.smx-route__glow { fill: none; stroke: rgba(255, 214, 130, .22); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; filter: blur(3px); }
.smx-route__dots { fill: none; stroke: #ffe1a0; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 0 7.5; filter: drop-shadow(0 0 2px rgba(255, 200, 100, .9)); }
.smx-pins { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.smx-pin {
  position: absolute; width: 32px; height: 41px; margin: -39px 0 0 -16px; pointer-events: auto; display: block;
  filter: drop-shadow(0 0 7px rgba(255, 200, 100, .75)) drop-shadow(0 3px 4px rgba(0,0,0,.7));
  transition: transform .18s ease; transform-origin: 50% 100%;
}
.smx-pin::after { /* glowing point on the ground */
  content: ""; position: absolute; left: 50%; bottom: -3px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: #fff3c8; box-shadow: 0 0 6px 3px rgba(255, 210, 120, .9), 0 0 16px 6px rgba(255, 190, 90, .45);
}
.smx-pin svg { width: 100%; height: 100%; display: block; overflow: visible; }
.smx-pin__drop { fill: #e5bd6c; stroke: #fff0c4; stroke-width: 1.4; }
.smx-pin__core { fill: #14100a; stroke: #b88d43; stroke-width: 1; }
.smx-pin__num { fill: #f6dc9b; font: 700 12.5px "Barlow Semi Condensed", Arial, sans-serif; text-anchor: middle; dominant-baseline: central; }
.smx-pin:hover, .smx-pin:focus-visible, .smx-pin.is-active { transform: scale(1.28); z-index: 5; outline: none; }
.smx-tip {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  display: flex; gap: 9px; align-items: center; width: max-content; max-width: 250px; padding: 8px 11px 8px 8px;
  background: rgba(7, 17, 27, .96); border: 1px solid rgba(223,184,108,.7); border-radius: 10px; color: #fff; text-align: start;
  box-shadow: 0 12px 30px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s; pointer-events: none;
}
.smx-tip.is-left { left: auto; right: -6px; transform: translateY(6px); }
.smx-tip.is-right { left: -6px; transform: translateY(6px); }
.smx-pin:hover .smx-tip, .smx-pin:focus-visible .smx-tip, .smx-pin.is-active .smx-tip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.smx-pin:hover .smx-tip.is-left, .smx-pin.is-active .smx-tip.is-left, .smx-pin:hover .smx-tip.is-right, .smx-pin.is-active .smx-tip.is-right { transform: none; }
.smx-tip.is-below { bottom: auto; top: calc(100% + 10px); }
.smx-tip img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex: 0 0 46px; }
.smx-tip > span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.smx-tip strong { font-size: 14px; line-height: 1.2; }
.smx-tip em { font-style: normal; color: #dfb86c; font-size: 12px; }
.smx-tip small { color: #e9cf91; font-size: 11.5px; }

/* distance ruler */
.smx-ruler { position: relative; direction: ltr; padding: 14px 6px 4px; }
.smx-ruler__lbl { display: block; color: #fff; font: 500 13px "Barlow Semi Condensed", Arial, sans-serif; margin: 0 0 4px 2px; }
.smx-ruler__lbl em { font-style: normal; margin-left: 18px; }
.smx-ruler__track { position: relative; height: 12px; border: 1px solid rgba(223,184,108,.75); border-radius: 7px; background: rgba(0,0,0,.3); }
.smx-ruler__track i { position: absolute; top: 2px; bottom: 2px; width: 1px; background: rgba(223,184,108,.45); }
.smx-ruler__track i.is-major { top: 0; bottom: 0; background: rgba(223,184,108,.9); }
.smx-ruler__track b { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #ffe7a8; box-shadow: 0 0 6px 2px rgba(255, 205, 110, .8); }
.smx-ruler__nums { position: relative; height: 22px; margin-top: 4px; }
.smx-ruler__nums span { position: absolute; transform: translateX(-50%); color: #f4ead2; font: 500 13px "Barlow Semi Condensed", Arial, sans-serif; }

/* phones */
@media (max-width: 560px) {
  .smx-stack { gap: 34px; padding-top: 10px; }
  .smx-nav { top: 62px; flex-wrap: nowrap; justify-content: flex-start; padding: 8px 2px; }
  .smx-nav a { padding: 7px 12px; font-size: 13px; }
  .smx-poster { padding: 16px 10px 12px; border-radius: 8px; }
  .smx-head { gap: 6px; margin-bottom: 12px; }
  .smx-head__compass { width: 52px; }
  .smx-head__sub { font-size: 12.5px; }
  .smx-panel { border-radius: 16px; min-height: 360px; }
  .smx-list { width: 62%; padding: 8px 0 8px 6px; }
  .smx-panel.is-mirror .smx-list { padding: 8px 6px 8px 0; }
  .smx-list .smap-row { gap: 7px; padding: 5px 4px; }
  .smx-list .smap-row::after { left: 36px; }
  .smx-panel.is-mirror .smx-list .smap-row::after { left: 0; right: 36px; }
  .smx-list .smap-row__badge { width: 28px; height: 28px; flex-basis: 28px; border-width: 1.5px; }
  .smx-num { top: 0; left: 0; min-width: 14px; height: 14px; font-size: 9px; line-height: 14px; }
  .smx-list .smap-row__name { font-size: 15px; }
  html[lang="ar"] .smx-list .smap-row__name { font-size: 14px; }
  .smx-list .smap-row__km, html[lang="ar"] .smx-list .smap-row__km { font-size: 12.5px; }
  .smx-list .smap-row__meta { font-size: 10px; }
  .smx-list .smap-row__units { display: none; }
  .smx-pin { width: 24px; height: 31px; margin: -29px 0 0 -12px; }
  .smx-pin__num { font-size: 13px; }
  .smx-star { width: 24px; height: 24px; }
  .smx-tip { max-width: 190px; }
  .smx-tip img { width: 36px; height: 36px; flex-basis: 36px; }
  .smx-ruler__nums span, .smx-ruler__lbl { font-size: 11px; }
}

@media print {
  .smx-nav, .smx-tip { display: none !important; }
  .smx-poster { break-inside: avoid; page-break-inside: avoid; box-shadow: none; }
  .smx-poster, .smx-poster * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ==========================================================================
   HERO 3-BUTTONS & SAHEL SHOWCASE (MATCHING SCREENSHOTS 1 & 2)
   ========================================================================== */

/* Gold Sahel Map CTA Button (Hero) */
.btn--sahel-gold {
  background: linear-gradient(135deg, #dfb86c 0%, #c99c47 50%, #996e1d 100%);
  color: #1a1202;
  font-weight: 600;
  border: 1px solid rgba(255, 230, 160, 0.4);
  box-shadow: 0 4px 20px rgba(223, 184, 108, 0.35);
  position: relative;
  overflow: hidden;
}
.btn--sahel-gold:hover {
  background: linear-gradient(135deg, #eed08d 0%, #d8ae57 50%, #b28328 100%);
  color: #0d0901;
  box-shadow: 0 6px 26px rgba(223, 184, 108, 0.55);
  transform: translateY(-2px);
}
.btn--sahel-gold .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a1202;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(26, 18, 2, 0.2);
  animation: pulseGoldDot 2s infinite ease-in-out;
}
@keyframes pulseGoldDot {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* Sahel Showcase Section (Screenshot 2) */
.sahel-feature {
  background: radial-gradient(circle at 85% 30%, rgba(26, 68, 102, 0.45) 0%, transparent 60%),
              linear-gradient(180deg, #061320 0%, #091c2e 50%, #061422 100%);
  color: #ffffff;
  padding: 100px 0;
  border-top: 1px solid rgba(223, 184, 108, 0.15);
  border-bottom: 1px solid rgba(223, 184, 108, 0.15);
  position: relative;
  overflow: hidden;
}

.sahel-feature__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.sahel-feature__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 24px;
}
html[lang="ar"] .sahel-feature__badge {
  letter-spacing: 0;
  font-size: 12.5px;
}
.sahel-feature__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.sahel-feature__title {
  font-size: clamp(32px, 3.8vw, 50px);
  color: #f7eed8;
  line-height: 1.18;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.sahel-feature__desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(230, 240, 250, 0.82);
  margin-bottom: 34px;
  max-width: 60ch;
}

/* 4-Stat Boxes Grid */
.sahel-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: rgba(11, 29, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 34px;
  backdrop-filter: blur(10px);
}
.sahel-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sahel-stat__num {
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  font-family: var(--font-display);
  line-height: 1;
}
.sahel-stat__lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.25;
}
html[lang="ar"] .sahel-stat__lbl { font-size: 12.5px; }

/* Feature Actions */
.sahel-feature__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.btn--sahel-action {
  background: linear-gradient(135deg, #e4bf73 0%, #caa04c 100%);
  color: #120e03;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: 4px;
  border: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(202, 160, 76, 0.35);
  transition: all 0.3s ease;
}
html[lang="ar"] .btn--sahel-action { letter-spacing: 0; font-size: 15px; }
.btn--sahel-action:hover {
  background: linear-gradient(135deg, #f2d28f 0%, #dbb25e 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(202, 160, 76, 0.5);
  color: #000000;
}
.btn--sahel-dark {
  background: rgba(14, 34, 54, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 26px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}
html[lang="ar"] .btn--sahel-dark { letter-spacing: 0; font-size: 15px; }
.btn--sahel-dark:hover {
  background: rgba(22, 52, 82, 0.95);
  border-color: rgba(223, 184, 108, 0.5);
  color: #ffffff;
}

/* Browse by Region filter chips */
.sahel-regions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sahel-regions__lbl {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-inline-end: 4px;
}
.sahel-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.sahel-chip:hover {
  background: rgba(223, 184, 108, 0.18);
  border-color: rgba(223, 184, 108, 0.5);
  color: #f7eed8;
  transform: translateY(-1px);
}

/* Preview Card on the Right (Screenshot 2) */
.sahel-preview-card {
  position: relative;
  background: #091b2c;
  border: 1px solid rgba(223, 184, 108, 0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}
.sahel-preview-card__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.85;
}
.sahel-preview-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.sahel-preview-card:hover .sahel-preview-card__bg img {
  transform: scale(1.04);
}
.sahel-preview-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(6, 18, 30, 0.85) 0%, rgba(6, 18, 30, 0.6) 50%, rgba(6, 18, 30, 0.9) 100%);
}
.sahel-preview-card__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sahel-preview-card__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 28, 45, 0.88);
  border: 1px solid rgba(223, 184, 108, 0.4);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: #dfb86c;
  font-weight: 500;
  width: fit-content;
}
.sahel-preview-card__pins {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.sahel-pin-item {
  background: rgba(7, 20, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sahel-pin-item strong {
  color: #dfb86c;
  font-weight: 500;
}
.sahel-pin-item span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
}
.sahel-preview-card__btn {
  position: relative;
  z-index: 3;
  background: linear-gradient(135deg, #dfb86c 0%, #c99c47 100%);
  color: #120e03;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}
.sahel-preview-card__btn:hover {
  background: linear-gradient(135deg, #eed08d 0%, #d8ae57 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(223, 184, 108, 0.4);
}

@media (max-width: 960px) {
  .sahel-feature__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sahel-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

