/* =========================================================
   Isla East Coast — isla.newmansouraprojects.com
   ستايل موحّد لكل الصفحات. عربي RTL.
   ========================================================= */

:root {
  --navy: #16235a;
  --navy-deep: #0d1538;
  --teal: #2c5a5f;
  --sage: #8fa9b0;
  --cream: #fbf7f0;
  --cream-2: #f3ece1;
  --sand: #b99246;
  --sand-soft: #d9bd7e;
  --sand-ink: #8a6626;   /* رملي غامق للنص على الخلفيات الفاتحة (تباين 5:1) */
  --ink: #1b1b1b;
  --muted: #5f6475;
  --line: #e3dccf;
  --white: #fff;
  --wa: #25d366;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -28px rgba(13, 21, 56, .45);
  --shadow-lg: 0 32px 80px -40px rgba(13, 21, 56, .55);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Tajawal", "Cairo", "Dubai", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---------- الكتابة ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.12rem; }
p  { margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--sand-ink);
  text-transform: uppercase;
}
/* الأقسام الداكنة: الرملي الأصلي يقرأ كويس على الكحلي */
section.dark .eyebrow, footer .eyebrow { color: var(--sand); }
.lead { font-size: 1.04rem; color: var(--muted); line-height: 2; }
.rule { width: 54px; height: 2px; background: var(--sand); margin-top: 14px; border: 0; }

/* ---------- الهيدر ---------- */
header.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 247, 240, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 26px; height: 74px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand b {
  font-size: 1.5rem; font-weight: 800; color: var(--navy);
  letter-spacing: .18em; font-family: Georgia, "Times New Roman", serif;
}
.brand span { font-size: .56rem; letter-spacing: .4em; color: var(--sage); margin-top: 4px; }
.nav-links { display: flex; gap: 22px; margin-inline-start: auto; font-size: .9rem; font-weight: 700; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--navy); }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 800; font-size: .93rem; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #06301a; box-shadow: 0 10px 28px -14px rgba(37,211,102,.9); }
.btn-wa:hover { background: #1fbb5a; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { height: 42px; padding: 0 18px; font-size: .85rem; }

/* ---------- الهيرو ---------- */
.hero { padding: 58px 0 10px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero h1 { color: var(--navy); }
.hero h1 em { font-style: normal; color: var(--sand); }
.hero .lead { margin-top: 20px; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art { position: relative; }
.hero-art img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); background: #fff;
  /* الماستر بلان طولي جداً — من غير سقف للارتفاع بياكل الشاشة كلها على الموبايل */
  max-height: 560px; object-fit: contain; padding: 10px;
}
.hero-badge {
  position: absolute; inset-inline-start: -18px; bottom: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 20px; box-shadow: var(--shadow); text-align: center;
}
.hero-badge b { display: block; font-size: 1.45rem; color: var(--navy); }
.hero-badge span { font-size: .72rem; color: var(--muted); font-weight: 700; }

/* ---------- شريط الأرقام ---------- */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin-top: 46px;
}
.fact { background: var(--white); padding: 22px 18px; text-align: center; }
.fact b { display: block; font-size: 1.55rem; color: var(--navy); font-weight: 800; }
.fact span { font-size: .78rem; color: var(--muted); font-weight: 700; }

/* ---------- الأقسام ---------- */
section { padding: 70px 0; }
section.alt { background: var(--white); border-block: 1px solid var(--line); }
section.dark { background: var(--navy-deep); color: #eef1f8; }
section.dark h2, section.dark .fact b { color: #fff; }
section.dark .lead { color: #b9c0d8; }
.sec-head { margin-bottom: 36px; max-width: 62ch; }

/* ---------- الكروت ---------- */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); border-color: var(--sand-soft); box-shadow: var(--shadow); }
.card h3 { color: var(--navy); }
.card p { font-size: .9rem; color: var(--muted); line-height: 1.9; margin-top: 7px; }
.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 11px; margin-bottom: 12px;
  background: var(--cream-2); color: var(--navy); font-weight: 800; font-size: .85rem;
}
section.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
section.dark .card h3 { color: #fff; }
section.dark .card p { color: #b9c0d8; }
section.dark .card .num { background: rgba(255,255,255,.1); color: var(--sand-soft); }

/* ---------- الجداول ---------- */
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
th, td { padding: 14px 18px; text-align: start; font-size: .92rem; border-bottom: 1px solid var(--line); }
th { background: var(--cream-2); color: var(--navy); font-weight: 800; font-size: .85rem; }
tr:last-child td { border-bottom: 0; }
td b { color: var(--navy); }
@media (max-width: 560px) {
  /* الموبايل: الجدول يدخل في عرض الشاشة بدل ما يخرج منها */
  th, td { padding: 11px 10px; font-size: .84rem; }
  th { font-size: .78rem; }
}

/* ---------- قائمة المسافات ---------- */
.times { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.time-row { display: flex; align-items: center; gap: 14px; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.time-row:last-child { border-bottom: 0; }
.time-row .t {
  flex: none; min-width: 78px; text-align: center;
  background: var(--navy); color: #fff; border-radius: 999px;
  padding: 5px 12px; font-size: .78rem; font-weight: 800;
}
.time-row .d { font-size: .93rem; font-weight: 600; }

/* ---------- المناطق الثلاث ---------- */
.zones { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: center; }
.zone { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.zone:last-child { border-bottom: 0; }
.zone .k {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .9rem;
}
.zone h3 { color: var(--navy); }
.zone p { font-size: .88rem; color: var(--muted); margin-top: 4px; line-height: 1.85; }

/* ---------- معرض ---------- */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gal figure { margin: 0; }
.gal img { border-radius: 14px; box-shadow: var(--shadow); aspect-ratio: 3/4; object-fit: cover; }
.gal figcaption { margin-top: 10px; font-size: .85rem; font-weight: 700; color: var(--navy); text-align: center; }

/* ---------- نموذج الحجز ---------- */
.book {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg); padding: 40px; color: #fff;
  box-shadow: var(--shadow-lg);
}
.book h2 { color: #fff; }
.book .lead { color: #c2c9e2; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 700; color: #c2c9e2; }
.field input, .field select, .field textarea {
  height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07); color: #fff; padding: 0 14px;
  font-family: inherit; font-size: .93rem; outline: none; transition: border-color .2s, background .2s;
}
.field textarea { height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sand-soft); background: rgba(255,255,255,.12); }
.field select option { color: #111; }
.field input::placeholder, .field textarea::placeholder { color: #8e97b8; }
.form-note { font-size: .78rem; color: #9aa3c4; margin-top: 14px; }

/* ---------- شريط الموبايل ---------- */
.mobile-bar { display: none; }

/* ---------- الفوتر ---------- */
footer {
  background: var(--navy-deep); color: #aab2cd;
  padding: 46px 0 34px; font-size: .88rem;
}
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
footer b { color: #fff; display: block; margin-bottom: 10px; font-size: .95rem; }
footer a:hover { color: #fff; }
footer .fine { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; color: #a3abc8; }

/* ---------- تنبيه المصدر ---------- */
.src-note {
  background: var(--cream-2); border: 1px dashed var(--sand-soft);
  border-radius: var(--radius); padding: 16px 20px;
  font-size: .82rem; color: var(--muted); line-height: 1.9;
}

/* ---------- الموبايل ---------- */
@media (max-width: 900px) {
  .hero-grid, .zones { grid-template-columns: 1fr; gap: 34px; }
  .hero-art { order: -1; }
  .hero-art img { max-height: 380px; }
  .zones img { max-height: 420px; object-fit: contain; }
  .hero-badge { inset-inline-start: 12px; }
  .facts, .g4, .gal { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  footer .cols { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  body { padding-bottom: 72px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; inset-inline: 0; bottom: 0; z-index: 70;
    background: rgba(251,247,240,.96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding: 10px 14px;
  }
  .mobile-bar .btn { width: 100%; height: 46px; }
  .book { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  section { padding: 50px 0; }
}
@media (max-width: 560px) {
  .g2, .g3, .g4, .gal, .facts { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   مكوّنات التحويل — مرشد الوحدة، الحاسبة، البروشور، الشريط اللاصق
   ========================================================= */

/* ---------- ظهور تدريجي ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- مرشد الوحدة ---------- */
.finder {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px; position: relative;
}
.finder-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.finder-count { font-size: .76rem; font-weight: 800; color: var(--sand-ink); letter-spacing: .08em; }
.finder-back {
  background: none; border: 0; cursor: pointer; font-family: inherit;
  font-size: .8rem; font-weight: 700; color: var(--muted); padding: 4px 6px;
}
.finder-back:hover { color: var(--navy); }
.finder-bar { height: 4px; border-radius: 999px; background: var(--cream-2); overflow: hidden; margin-bottom: 20px; }
.finder-bar span { display: block; height: 100%; width: 0; background: var(--sand); transition: width .35s ease; }
.finder h3 { color: var(--navy); font-size: 1.22rem; margin-bottom: 4px; }
.finder .hint { font-size: .84rem; color: var(--muted); margin-bottom: 16px; }

.picks { display: grid; gap: 10px; }
.picks.two { grid-template-columns: 1fr 1fr; }
.pick {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: start;
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px 16px; font-family: inherit; font-size: .92rem; font-weight: 700;
  color: var(--ink); cursor: pointer; transition: all .18s;
}
.pick:hover { border-color: var(--sand); background: #fff; transform: translateY(-1px); }
.pick.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.pick i { font-style: normal; font-size: 1.1rem; opacity: .85; }
.pick small { display: block; font-weight: 600; font-size: .74rem; color: var(--muted); margin-top: 1px; }
.pick.on small { color: #c2c9e2; }

/* نتيجة المرشد */
.finder-res-head {
  background: var(--cream-2); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px;
}
.finder-res-head b { color: var(--navy); font-size: .95rem; display: block; }
.finder-res-head span { font-size: .8rem; color: var(--muted); }
.plan-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px;
}
.plan-label { font-size: .85rem; font-weight: 700; color: var(--muted); }
.plan-val { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.plan-val small { font-size: .7rem; font-weight: 700; color: var(--muted); }
.est-note { font-size: .8rem; color: var(--muted); line-height: 1.8; margin: 10px 0 18px; }

.mini-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-form .full { grid-column: 1 / -1; }
.mini-form input {
  height: 48px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--cream); padding: 0 14px; font-family: inherit; font-size: .93rem;
  outline: none; transition: border-color .2s, background .2s; color: var(--ink);
}
.mini-form input:focus { border-color: var(--navy); background: #fff; }
.ok-msg {
  background: #eaf7ef; border: 1px solid #bfe6cd; color: #14633a;
  border-radius: 14px; padding: 18px 20px; font-weight: 700; font-size: .95rem; line-height: 1.9;
}
.ok-msg a { text-decoration: underline; }
.privacy { font-size: .78rem; color: var(--muted); margin-top: 10px; line-height: 1.8; }

/* ---------- حاسبة القسط ---------- */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.calc-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.calc-price-label { font-size: 1.9rem; font-weight: 800; color: var(--navy); text-align: center; }
.calc-sub { text-align: center; font-size: .8rem; color: var(--muted); margin-bottom: 16px; }
input[type="range"] {
  width: 100%; accent-color: var(--navy); height: 30px; cursor: pointer;
}
.calc-scale { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); font-weight: 700; }
.calc-out { display: grid; gap: 12px; margin-top: 20px; }
.calc-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; display: grid; gap: 2px;
}
.calc-plan { font-size: .8rem; font-weight: 800; color: var(--sand-ink); }
.calc-card b { font-size: 1.6rem; color: var(--navy); line-height: 1.2; }
.calc-card small { font-size: .74rem; color: var(--muted); font-weight: 700; }
.calc-down { font-size: .78rem; color: var(--muted); margin-top: 4px; }

/* ---------- بوابة البروشور ---------- */
.brochure {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow);
}
.brochure h2 { color: var(--navy); }

/* ---------- الشريط اللاصق ---------- */
#sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 65;
  background: rgba(13,21,56,.97); backdrop-filter: blur(12px);
  padding: 12px 0; transform: translateY(110%); transition: transform .3s ease;
}
#sticky-cta.show { transform: none; }
.sticky-in { display: flex; align-items: center; gap: 16px; }
.sticky-txt { color: #fff; font-weight: 800; font-size: .95rem; }
.sticky-txt small { display: block; color: #9aa3c4; font-weight: 600; font-size: .76rem; }
.sticky-btns { display: flex; gap: 10px; margin-inline-start: auto; }

/* ---------- واتساب عائم ---------- */
.wa-float {
  position: fixed; inset-inline-end: 18px; bottom: 90px; z-index: 64;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(37,211,102,.8);
  font-size: 1.6rem; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }

/* ---------- موبايل ---------- */
@media (max-width: 900px) {
  .calc-wrap, .brochure { grid-template-columns: 1fr; }
  .picks.two { grid-template-columns: 1fr; }
  .sticky-in { flex-direction: column; align-items: stretch; gap: 10px; }
  .sticky-txt { text-align: center; }
  .sticky-btns { margin: 0; }
  .sticky-btns .btn { flex: 1; }
  .wa-float { bottom: 150px; width: 50px; height: 50px; font-size: 1.4rem; }
  .finder { padding: 20px; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
}
@media (max-width: 560px) {
  .mini-form { grid-template-columns: 1fr; }
}

/* =========================================================
   سلايدر الهيرو + المعرض + نداءات التسجيل المصغّرة
   ========================================================= */

/* ---------- هيرو بخلفية سلايدر ---------- */
.hero-slider { position: relative; overflow: hidden; background: var(--navy-deep); min-height: 640px; display: flex; flex-direction: column; justify-content: center; }
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.1s ease;
}
.slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); transition: transform 8s linear;
}
.slide.on { opacity: 1; }
.slide.on img { transform: scale(1); }
.hero-slider::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to left, rgba(13,21,56,.9) 0%, rgba(13,21,56,.72) 42%, rgba(13,21,56,.35) 75%, rgba(13,21,56,.5) 100%),
    linear-gradient(to top, rgba(13,21,56,.75), rgba(13,21,56,0) 45%);
}
.hero-slider .wrap { position: relative; z-index: 2; }

/* padding-block فقط: الهيرو عليه .wrap كمان، و padding الجانبي بتاعه لازم يفضل */
.hero-slider .hero-grid { padding-block: 64px 40px; align-items: center; }
.hero-slider h1, .hero-slider .lead { color: #fff; }
.hero-slider .lead { color: #d3d9ef; }
.hero-slider h1 em { color: var(--sand-soft); }
.hero-slider .eyebrow { color: var(--sand-soft); }
.hero-slider .facts { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.18); }
.hero-slider .fact { background: rgba(13,21,56,.55); backdrop-filter: blur(6px); }
.hero-slider .fact b { color: #fff; }
.hero-slider .fact span { color: #c2c9e2; }

/* شريط التسمية والتحكم */
.slide-cap {
  position: absolute; inset-inline-start: 0; bottom: 18px; z-index: 3;
  display: flex; align-items: center; gap: 14px; width: 100%;
}
.slide-cap .wrap { display: flex; align-items: center; gap: 14px; width: 100%; }
.cap-txt {
  color: #fff; font-size: .85rem; font-weight: 700;
  background: rgba(13,21,56,.6); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 7px 18px;
}
.dots { display: flex; gap: 7px; margin-inline-start: auto; }
.dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.35); transition: all .25s;
}
.dot.on { background: var(--sand-soft); width: 26px; border-radius: 999px; }
.arrow {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: 1rem; display: grid; place-items: center;
  transition: background .2s; font-family: inherit;
}
.arrow:hover { background: rgba(255,255,255,.3); }

/* ---------- المعرض ---------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shot {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 16/10; cursor: pointer;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.shot:hover img { transform: scale(1.06); }
.shot figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 22px 14px 11px;
  background: linear-gradient(to top, rgba(13,21,56,.88), transparent);
  color: #fff; font-size: .82rem; font-weight: 800;
}
.shot.wide { grid-column: span 2; }

/* ---------- نداء تسجيل مصغّر ---------- */
.micro {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--cream-2); border: 1px solid var(--sand-soft);
  border-radius: var(--radius); padding: 16px 22px; margin-top: 24px;
}
.micro p { font-size: .92rem; font-weight: 700; color: var(--navy); }
.micro p small { display: block; font-weight: 600; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.micro .btn { margin-inline-start: auto; }
section.dark .micro { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
section.dark .micro p { color: #fff; }
section.dark .micro p small { color: #aab2cd; }

/* ---------- شريط الثقة ---------- */
.trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: 30px;
}
.trust div { background: #fff; padding: 18px 20px; text-align: center; }
.trust b { display: block; color: var(--navy); font-size: .95rem; }
.trust span { font-size: .78rem; color: var(--muted); }

/* ---------- موبايل ---------- */
@media (max-width: 900px) {
  .hero-slider { min-height: 0; }
  .hero-slider .hero-grid { padding-block: 40px 70px; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shot.wide { grid-column: span 2; }
  .micro { flex-direction: column; align-items: stretch; text-align: center; }
  .micro .btn { margin: 0; width: 100%; }
  .trust { grid-template-columns: 1fr; }
  .slide-cap { bottom: 10px; }
  .cap-txt { font-size: .75rem; padding: 6px 13px; }
}
@media (max-width: 560px) {
  .shots { grid-template-columns: 1fr; }
  .shot.wide { grid-column: span 1; }
}

/* على الشاشات الضيقة الصورة بتاخد عرض الكلام كله، فالتعتيم لازم يبقى أقوى
   عشان العنوان يفضل مقروء فوق أي جزء فاتح من الرندر */
@media (max-width: 900px) {
  .hero-slider::after {
    background:
      linear-gradient(to bottom, rgba(13,21,56,.82) 0%, rgba(13,21,56,.6) 40%, rgba(13,21,56,.86) 100%);
  }
}

/* =========================================================
   بوب أب التسجيل — بيفتح مكانه من غير ما الصفحة تتحرك
   ========================================================= */
.lead-modal {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center; padding: 20px;
  background: rgba(10,16,42,.72); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s;
}
.lead-modal.open { opacity: 1; visibility: visible; }
.lead-box {
  position: relative;
  width: min(460px, 100%); background: #fff; border-radius: var(--radius-lg);
  padding: 30px 28px 26px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
  transform: translateY(14px) scale(.98); transition: transform .26s cubic-bezier(.2,.8,.3,1);
  max-height: 92vh; overflow-y: auto;
}
.lead-modal.open .lead-box { transform: none; }
/* زرار الإغلاق جوّه البوكس نفسه في الركن العلوي — أقرب لإيد المستخدم
   من زرار سايب على حافة الشاشة، وبيوضّح إن اللي هيتقفل هو البوكس */
.lead-close {
  position: absolute; top: 14px; inset-inline-end: 14px;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  cursor: pointer; background: var(--cream); color: var(--muted);
  font-size: 1rem; line-height: 1; font-family: inherit;
  transition: background .2s, color .2s, transform .2s;
}
.lead-close:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }
.lead-box .eyebrow { color: var(--sand-ink); display: block; padding-inline-end: 44px; }
.lead-box h3 { color: var(--navy); font-size: 1.4rem; margin-top: 8px; }
.lead-box .sub { font-size: .88rem; color: var(--muted); line-height: 1.9; margin-top: 8px; }
.lead-chip {
  display: inline-block; margin-top: 12px; background: var(--cream-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 15px;
  font-size: .8rem; font-weight: 800; color: var(--navy);
}
.lead-box .mini-form { margin-top: 18px; }
.lead-box .privacy { margin-top: 12px; }
.lead-alt {
  display: flex; gap: 10px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
}
.lead-alt a { flex: 1; }
@media (prefers-reduced-motion: reduce) {
  .lead-modal, .lead-box { transition: none; }
}

/* صف قابل للنقر في جدول الوحدات */
tr.pickable { cursor: pointer; transition: background .18s; }
tr.pickable:hover { background: var(--cream-2); }
.row-cta {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-family: inherit; font-size: .78rem; font-weight: 800;
  color: var(--navy); cursor: pointer; white-space: nowrap; transition: all .18s;
}
tr.pickable:hover .row-cta { background: var(--navy); color: #fff; border-color: var(--navy); }

/* =========================================================
   المعرض — فلاتر، شبكة مُرصَّفة، لايت بوكس، فيديو
   ========================================================= */
.gchips { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0 22px; }
.gchip {
  border: 1.5px solid var(--line); background: #fff; color: var(--muted);
  border-radius: 999px; padding: 9px 18px; font-family: inherit;
  font-size: .85rem; font-weight: 800; cursor: pointer; transition: all .18s;
}
.gchip:hover { border-color: var(--sand); color: var(--navy); }
.gchip.on { background: var(--navy); border-color: var(--navy); color: #fff; }

.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gi {
  margin: 0; position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow); cursor: zoom-in;
  background: var(--cream-2); animation: giIn .35s ease both;
}
.gi.wide { grid-column: span 2; aspect-ratio: 16/9; }
.gi img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gi:hover img { transform: scale(1.06); }
.gi figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(to top, rgba(13,21,56,.9), transparent);
  color: #fff; font-size: .83rem; font-weight: 800; line-height: 1.6;
}
.gi[hidden] { display: none; }
@keyframes giIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* لايت بوكس */
.lightbox {
  position: fixed; inset: 0; z-index: 130; display: grid; place-items: center;
  background: rgba(8,12,30,.94); opacity: 0; visibility: hidden;
  transition: opacity .22s; padding: 60px 20px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 12px; box-shadow: 0 30px 70px -20px #000; }
.lb-cap { color: #fff; font-weight: 800; font-size: .95rem; margin-top: 16px; text-align: center; }
.lb-x, .lb-n, .lb-p {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 1.2rem; display: grid; place-items: center; font-family: inherit;
  transition: background .2s;
}
.lb-x:hover, .lb-n:hover, .lb-p:hover { background: rgba(255,255,255,.3); }
.lb-x { top: 18px; inset-inline-end: 20px; }
.lb-p { top: 50%; inset-inline-end: 18px; transform: translateY(-50%); }
.lb-n { top: 50%; inset-inline-start: 18px; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; color: #9aa3c4; font-size: .82rem; font-weight: 700; }

/* فيديو */
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vid {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9;
  background: #0d1538; box-shadow: var(--shadow);
}
.vid iframe, .vid video { width: 100%; height: 100%; border: 0; display: block; }
.vid-cap { margin-top: 9px; font-size: .85rem; font-weight: 800; color: var(--navy); }

@media (max-width: 900px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .gi.wide { grid-column: span 2; }
  .vid-grid { grid-template-columns: 1fr; }
  .lb-p, .lb-n { top: auto; bottom: 18px; transform: none; }
  .lb-p { inset-inline-end: 30%; } .lb-n { inset-inline-start: 30%; }
}
@media (max-width: 560px) {
  .gal-grid { grid-template-columns: 1fr; }
  .gi, .gi.wide { grid-column: span 1; aspect-ratio: 4/3; }
}

/* =========================================================
   الموقع متعدّد الصفحات — فتات الخبز، كروت التنقّل، كروت الوحدات
   ========================================================= */
.crumbs {
  display: flex; align-items: center; gap: 9px; padding: 16px 0 0;
  font-size: .82rem; font-weight: 700; color: var(--muted);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy); }
.crumbs span { color: var(--line); }
.crumbs b { color: var(--navy); }

/* كارت ينقل لصفحة */
.card.hub { display: flex; flex-direction: column; }
.card.hub .num { font-size: 1.2rem; }
.card.hub .go {
  margin-top: auto; padding-top: 14px; font-size: .85rem; font-weight: 800;
  color: var(--sand-ink); transition: color .2s, transform .2s; display: inline-block;
}
.card.hub:hover .go { color: var(--navy); transform: translateX(-4px); }

/* كروت أنواع الوحدات */
.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.unit-card {
  padding: 0; overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
}
.unit-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s; }
.unit-card:hover img { transform: scale(1.05); }
.uc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.uc-body h3 { color: var(--navy); }
.uc-count {
  display: inline-block; width: fit-content; margin-top: 6px;
  background: var(--cream-2); border-radius: 999px; padding: 3px 12px;
  font-size: .75rem; font-weight: 800; color: var(--muted);
}
.uc-body p { font-size: .88rem; color: var(--muted); line-height: 1.9; margin-top: 10px; }
.uc-body .go {
  margin-top: auto; padding-top: 14px; font-size: .84rem; font-weight: 800; color: var(--sand-ink);
  transition: color .2s, transform .2s;
}
.unit-card:hover .go { color: var(--navy); transform: translateX(-4px); }

/* الهيرو الداخلي للصفحات */
h1 em { font-style: normal; }

@media (max-width: 900px) {
  .unit-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .unit-grid { grid-template-columns: 1fr; }
}

/* قائمة الموبايل — الهيدر فيه 8 روابط، فلازم تظهر كشريط أفقي قابل للسحب */
@media (max-width: 900px) {
  header.nav .wrap.nav-in { flex-wrap: wrap; height: auto; padding-block: 12px; gap: 12px; }
  .nav-links {
    display: flex; order: 3; width: 100%; gap: 16px; overflow-x: auto;
    padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; font-size: .85rem; }
  header.nav .btn { margin-inline-start: auto; }
}

/* =========================================================
   كروت الخدمة + شريط اللوجوهات + تتابع الأنيميشن
   ========================================================= */

/* --- تتابع ظهور الأبناء --- */
.js-anim .reveal .stagger { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in .stagger { opacity: 1; transform: none; }

/* --- كروت الخدمة تحت السلايدر --- */
.serv {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: -46px; position: relative; z-index: 5;
}
.serv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start;
  box-shadow: var(--shadow); cursor: pointer;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.serv-card:hover { transform: translateY(-4px); border-color: var(--sand); box-shadow: var(--shadow-lg); }
.serv-ico {
  flex: none; width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center; font-size: 1.25rem;
  background: var(--cream-2); color: var(--navy);
}
.serv-card b { display: block; color: var(--navy); font-size: .97rem; line-height: 1.5; }
.serv-card span { display: block; font-size: .83rem; color: var(--muted); line-height: 1.85; margin-top: 4px; }

/* --- شريط اللوجوهات --- */
.logos {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 34px 54px; padding: 26px 0;
}
.logo-item { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.logo-item img {
  height: 40px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s;
}
.logo-item:hover img { filter: none; opacity: 1; }
.logo-item small { font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.logo-item.tall img { height: 54px; }
footer .logos { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; }
footer .logo-item img { filter: grayscale(1) brightness(2.4); opacity: .55; }
footer .logo-item:hover img { filter: brightness(1.15); opacity: 1; }
footer .logo-item small { color: #7f88a6; }

/* --- لوجو إيسلا في الهيدر --- */
.brand img { height: 34px; width: auto; }

@media (max-width: 900px) {
  .serv { grid-template-columns: 1fr; margin-top: 18px; }
  .logos { gap: 22px 30px; }
  .logo-item img { height: 32px; }
  .logo-item.tall img { height: 42px; }
}

/* =========================================================
   تحسينات: منيو أنضف، كروت خدمة أصغر، لوجوهات شفافة
   ========================================================= */

/* --- المنيو --- */
header.nav { border-bottom: 1px solid rgba(227,220,207,.7); }
.nav-in { height: 70px; gap: 20px; }
.nav-links { gap: 4px; font-size: .86rem; font-weight: 700; margin-inline-start: auto; }
.nav-links a {
  position: relative; padding: 8px 12px; border-radius: 9px;
  color: var(--muted); transition: color .2s, background .2s;
}
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 3px; height: 2px;
  background: var(--sand); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.nav-links a:hover { color: var(--navy); background: var(--cream-2); }
.nav-links a.on { color: var(--navy); background: transparent; }
.nav-links a.on::after { transform: scaleX(1); }
.brand img { height: 30px; }
header.nav .btn-sm { height: 40px; padding: 0 20px; font-size: .84rem; }

/* --- كروت الخدمة: أصغر وأخف --- */
.serv { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: -34px; }
.serv-card { padding: 13px 15px; gap: 11px; border-radius: 14px; align-items: center; }
.serv-ico { width: 34px; height: 34px; border-radius: 10px; font-size: .95rem; }
.serv-card b { font-size: .85rem; line-height: 1.45; }
.serv-card span {
  font-size: .76rem; line-height: 1.65; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* --- اللوجوهات الشفافة --- */
.logo-item img { filter: none; opacity: .75; }
.logo-item:hover img { opacity: 1; }
footer .logo-item img { filter: none; opacity: .8; }

@media (max-width: 1080px) {
  .nav-links { gap: 0; font-size: .8rem; }
  .nav-links a { padding: 8px 8px; }
}
@media (max-width: 900px) {
  .serv { grid-template-columns: 1fr 1fr; margin-top: 16px; }
  .serv-card span { -webkit-line-clamp: 3; }
  header.nav .wrap.nav-in { height: auto; }
  .nav-links {
    gap: 2px; padding: 2px 0 6px;
    -webkit-mask-image: linear-gradient(to left, #000 88%, transparent);
            mask-image: linear-gradient(to left, #000 88%, transparent);
  }
  .nav-links a { padding: 7px 11px; background: var(--cream-2); border-radius: 999px; }
  .nav-links a.on { background: var(--navy); color: #fff; }
  .nav-links a.on::after { display: none; }
  .brand img { height: 26px; }
}
@media (max-width: 480px) {
  .serv { grid-template-columns: 1fr; }
}

/* =========================================================
   الهيدر على سطر واحد في كل المقاسات
   اللوجو والمنيو والزرار جنب بعض — والمنيو هو اللي بينسحب
   أفقياً لما المساحة تضيق بدل ما السطر يتكسر.
   ========================================================= */
@media (max-width: 900px) {
  header.nav .wrap.nav-in {
    flex-wrap: nowrap;        /* يلغي الالتفاف اللي كان بينزّل المنيو لسطر تاني */
    height: 64px;
    padding-block: 0;
    gap: 12px;
  }
  .nav-links {
    order: 0;                 /* يرجع مكانه الطبيعي بين اللوجو والزرار */
    width: auto;
    flex: 1 1 auto;
    min-width: 0;             /* ضروري عشان الفليكس يسمح بالانكماش والسحب */
    padding: 0;
    align-items: center;
  }
  .brand { flex: none; }
  header.nav .btn { flex: none; margin-inline-start: 0; }
}
@media (max-width: 480px) {
  header.nav .wrap.nav-in { gap: 8px; padding-inline: 14px; }
  header.nav .btn-sm { height: 36px; padding: 0 14px; font-size: .78rem; }
  .brand img { height: 24px; }
  .nav-links a { padding: 6px 10px; font-size: .78rem; }
}

/* =========================================================
   هيدر داكن + كروت خدمة في صف واحد
   ========================================================= */

/* --- الهيدر: كحلي عميق بدل الكريمي --- */
header.nav {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: none;
}
.nav-in { height: 72px; }
.nav-links a { color: #aab2cd; }
.nav-links a::after { background: var(--sand-soft); inset-inline: 10px; bottom: 2px; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.on { color: #fff; background: transparent; }
header.nav .btn-navy {
  background: var(--sand); color: #16110a;
}
header.nav .btn-navy:hover { background: var(--sand-soft); }
/* اللوجو الأبيض بيتبدّل مكان الكحلي داخل الهيدر فقط */
header.nav .brand img { content: none; }

/* --- كروت الخدمة: صف واحد بينسحب أفقياً بدل ما تتكوّم --- */
.serv {
  display: flex; gap: 10px; margin-top: -30px;
  overflow-x: auto; padding: 4px 2px 10px;
  scroll-snap-type: x proximity; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.serv::-webkit-scrollbar { display: none; }
.serv-card {
  flex: 1 0 auto; width: clamp(200px, 17vw, 240px);
  scroll-snap-align: start;
}
.serv-card b { font-size: .83rem; }
.serv-card span { font-size: .74rem; }

@media (max-width: 900px) {
  .serv { grid-template-columns: none; margin-top: 14px; }
  .serv-card { width: 230px; }
  header.nav { background: var(--navy-deep); }
  .nav-links a { background: rgba(255,255,255,.08); color: #c8cfe4; }
  .nav-links a.on { background: var(--sand); color: #16110a; }
}

/* =========================================================
   هيدر الصفحات الداخلية — صورة واحدة معبّرة عن الصفحة
   أقصر من هيرو الرئيسية عشان المحتوى يبان بسرعة
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; background: var(--navy-deep);
  min-height: 330px; display: flex; align-items: flex-end;
}
.page-hero .bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: phZoom 14s ease-out both;
}
@keyframes phZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(13,21,56,.95) 0%, rgba(13,21,56,.6) 55%, rgba(13,21,56,.35) 100%),
    linear-gradient(to left, rgba(13,21,56,.72), rgba(13,21,56,.12) 70%);
}
.page-hero .wrap { position: relative; z-index: 2; padding-block: 26px 40px; width: 100%; }
.page-hero .crumbs { padding-top: 0; margin-bottom: 18px; color: #9aa3c4; }
.page-hero .crumbs a { color: #9aa3c4; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs span { color: rgba(255,255,255,.3); }
.page-hero .crumbs b { color: var(--sand-soft); }
.page-hero .eyebrow { color: var(--sand-soft); }
.page-hero h1 { color: #fff; margin-top: 10px; font-size: clamp(1.85rem, 4vw, 2.9rem); }
.page-hero h1 em { color: var(--sand-soft); font-style: normal; }
.page-hero .rule { background: var(--sand-soft); }
.page-hero .lead { color: #d7dcee; margin-top: 16px; max-width: 64ch; }
.ph-logo { display: block; margin-bottom: 4px; }
.ph-logo img {
  height: 58px; width: auto; object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.45));
}
/* الأرقام بتركب على طرف الصورة */
.page-facts { position: relative; z-index: 5; margin-top: -42px; }
.page-facts .facts { margin-top: 0; box-shadow: var(--shadow-lg); }

@media (max-width: 900px) {
  .page-hero { min-height: 280px; }
  .page-hero .wrap { padding-block: 20px 32px; }
  .ph-logo img { height: 44px; }
  .page-facts { margin-top: -30px; }
}

/* --- نداء التسجيل على كروت الصفحات الداخلية --- */
.card-cta { cursor: pointer; display: flex; flex-direction: column; }
.card-cta .go {
  margin-top: auto; padding-top: 14px; font-size: .82rem; font-weight: 800;
  color: var(--sand-ink); transition: color .2s, transform .2s;
}
.card-cta:hover .go { color: var(--navy); transform: translateX(-4px); }
section.dark .card-cta .go { color: var(--sand-soft); }
section.dark .card-cta:hover .go { color: #fff; }

/* =========================================================
   صفحة الاستثمار — تايم لاين + مؤشر تراكم المدفوع
   ========================================================= */

/* --- التايم لاين --- */
.tl { position: relative; padding-inline-start: 0; margin-top: 10px; }
.tl::before {
  content: ""; position: absolute; inset-inline-start: 23px; top: 10px; bottom: 10px;
  width: 2px; background: var(--line); border-radius: 2px;
}
.tl-fill {
  position: absolute; inset-inline-start: 23px; top: 10px; width: 2px; height: 0;
  background: linear-gradient(to bottom, var(--sand-soft), var(--sand));
  border-radius: 2px; transition: height .25s linear; z-index: 1;
}
.tl-item {
  position: relative; padding-inline-start: 68px; padding-bottom: 30px;
  transition: opacity .55s ease, transform .55s ease;
}
.tl-item.in { opacity: 1; transform: none; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; inset-inline-start: 8px; top: 2px;
  width: 32px; height: 32px; border-radius: 50%; z-index: 2;
  display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line);
  font-size: .78rem; font-weight: 800; color: var(--muted);
  transition: all .4s cubic-bezier(.2,.9,.3,1.4);
}
.tl-item.in .tl-dot {
  border-color: var(--sand); background: var(--sand); color: #16110a;
  box-shadow: 0 0 0 6px rgba(185,146,70,.14);
}
.tl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: pointer;
}
.tl-card:hover { transform: translateY(-3px); border-color: var(--sand-soft); box-shadow: var(--shadow); }
.tl-when {
  display: inline-block; background: var(--cream-2); border-radius: 999px;
  padding: 3px 12px; font-size: .72rem; font-weight: 800; color: var(--navy);
  margin-bottom: 8px;
}
.tl-card h3 { color: var(--navy); font-size: 1.04rem; }
.tl-card p { font-size: .88rem; color: var(--muted); line-height: 1.9; margin-top: 6px; }
.tl-card .go {
  display: inline-block; margin-top: 10px; font-size: .8rem;
  font-weight: 800; color: var(--sand-ink); transition: color .2s, transform .2s;
}
.tl-card:hover .go { color: var(--navy); transform: translateX(-4px); }

/* --- المؤشر --- */
.rise {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow);
}
.rise-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.rise-head b { color: var(--navy); font-size: 1.05rem; }
.rise-legend { display: flex; gap: 16px; flex-wrap: wrap; }
.rise-legend span { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.rise-legend i { width: 16px; height: 3px; border-radius: 2px; display: inline-block; }
.rise svg { width: 100%; height: auto; display: block; margin-top: 16px; overflow: visible; }
.rise .ln { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.rise.in .ln { transition: stroke-dashoffset 1.6s ease-out; stroke-dashoffset: 0; }
.rise .ar { fill: url(#riseFill); opacity: 0; transition: opacity .9s ease .5s; }
.rise.in .ar { opacity: 1; }
.rise .gl { stroke: var(--line); stroke-width: 1; }
.rise .lb { font-size: 10px; fill: #8b8f9f; font-weight: 700; }
.rise .pt { opacity: 0; transition: opacity .4s ease; }
.rise.in .pt { opacity: 1; }

@media (max-width: 900px) {
  .tl-item { padding-inline-start: 56px; }
  .tl-dot { width: 28px; height: 28px; inset-inline-start: 6px; }
  .tl::before, .tl-fill { inset-inline-start: 19px; }
  .rise { padding: 18px; }
}

/* =========================================================
   زرارين ثابتين على جنبي الشاشة
   ========================================================= */
.rail {
  position: fixed; top: 50%; z-index: 66;
  writing-mode: vertical-rl; text-orientation: mixed;
  padding: 18px 11px; border: 0; cursor: pointer;
  font-family: inherit; font-size: .82rem; font-weight: 800; letter-spacing: .04em;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.45);
  transition: transform .3s cubic-bezier(.2,.8,.3,1), background .2s, padding .2s;
}
.rail span { display: block; }
.rail-book {
  inset-inline-start: 0; border-start-end-radius: 14px; border-end-end-radius: 14px;
  background: var(--navy); color: #fff;
  transform: translateY(-50%) translateX(-110%);
}
.rail-wa {
  inset-inline-end: 0; border-start-start-radius: 14px; border-end-start-radius: 14px;
  background: var(--wa); color: #06301a;
  transform: translateY(-50%) translateX(110%);
}
.rail.show { transform: translateY(-50%) translateX(0); }
.rail-book:hover { background: var(--sand); color: #16110a; padding-inline: 14px; }
.rail-wa:hover { background: #1fbb5a; padding-inline: 14px; }

/* على الديسكتوب الزرارين الجانبيين بيغنوا عن الشريط السفلي والزرار العائم */
@media (min-width: 901px) {
  #sticky-cta { display: none; }
  .wa-float { display: none; }
}
@media (max-width: 900px) {
  .rail { display: none; }
}

/* --- تايم لاينين جنب بعض --- */
.tl-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.tl-col {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px 22px 26px;
}
.tl-head { margin-bottom: 18px; }
.tl-tag {
  display: inline-block; background: var(--navy); color: #fff;
  border-radius: 999px; padding: 4px 14px; font-size: .72rem; font-weight: 800;
  letter-spacing: .06em;
}
.tl-tag.gold { background: var(--sand); color: #16110a; }
.tl-head h3 { color: var(--navy); font-size: 1.3rem; margin-top: 10px; }
.tl-head p { font-size: .86rem; color: var(--muted); margin-top: 3px; }
.tl-col .tl-card { background: #fff; }
/* العمود التاني بنقطه ذهبية من الأول عشان الفرق يبان */
.tl-gold .tl-item.in .tl-dot { background: var(--teal); border-color: var(--teal); color: #fff;
  box-shadow: 0 0 0 6px rgba(44,90,95,.14); }
.tl-gold .tl-fill { background: linear-gradient(to bottom, #6fa39f, var(--teal)); }

@media (max-width: 980px) {
  .tl-pair { grid-template-columns: 1fr; gap: 22px; }
}

/* =========================================================
   تايم لاين أفقي على شكل سهم صاعد — رحلة التملّك
   كل خطوة أعلى من اللي قبلها، والسهم بيترسم لفوق.
   ========================================================= */
.htl { position: relative; margin-top: 44px; padding-top: 120px; }
.htl-rail { position: absolute; inset-inline: 0; top: 0; height: 150px; pointer-events: none; }
.htl-rail svg { width: 100%; height: 100%; display: block; overflow: visible; }
.htl-rail .arrow-line {
  fill: none; stroke: url(#arrGrad); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
}
.htl.in .arrow-line { transition: stroke-dashoffset 1.8s cubic-bezier(.3,.9,.4,1) .15s; stroke-dashoffset: 0; }
.htl-rail .arrow-head { fill: var(--sand); opacity: 0; transform-origin: center; }
.htl.in .arrow-head { transition: opacity .5s ease 1.5s; opacity: 1; }

.htl-track {
  display: flex; gap: 14px; align-items: flex-start;
  overflow-x: auto; padding: 0 2px 16px; scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.htl-track::-webkit-scrollbar { display: none; }

.htl-step {
  flex: 1 0 auto; width: clamp(190px, 15.5vw, 215px);
  scroll-snap-align: center; position: relative;
  /* الصعود: كل خطوة أعلى من اللي قبلها */
  transform: translateY(calc(var(--i, 0) * -20px)) translateY(16px);
  opacity: 0; transition: opacity .55s ease, transform .6s cubic-bezier(.2,.8,.3,1);
}
.htl-step.in { opacity: 1; transform: translateY(calc(var(--i, 0) * -20px)); }

.htl-node {
  display: grid; place-items: center; width: 40px; height: 40px;
  margin: 0 auto 14px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line);
  font-weight: 800; font-size: .85rem; color: var(--muted);
  transition: all .45s cubic-bezier(.2,.9,.3,1.5);
}
.htl-step.in .htl-node {
  background: var(--navy); border-color: var(--navy); color: #fff;
  box-shadow: 0 0 0 6px rgba(22,35,90,.1);
}
.htl-step:last-child.in .htl-node {
  background: var(--sand); border-color: var(--sand); color: #16110a;
  box-shadow: 0 0 0 7px rgba(185,146,70,.18);
}

.htl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px 18px; cursor: pointer; height: 100%;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.htl-card:hover { transform: translateY(-4px); border-color: var(--sand-soft); box-shadow: var(--shadow-lg); }
.htl-when {
  display: inline-block; width: fit-content; background: var(--cream-2);
  border-radius: 999px; padding: 3px 11px; font-size: .74rem; font-weight: 800; color: var(--navy);
}
.htl-card h3 { color: var(--navy); font-size: .97rem; margin-top: 9px; }
.htl-card p { font-size: .8rem; color: var(--muted); line-height: 1.8; margin-top: 6px; }
.htl-card .go {
  margin-top: auto; padding-top: 11px; font-size: .78rem; font-weight: 800;
  color: var(--sand-ink); transition: color .2s, transform .2s;
}
.htl-card:hover .go { color: var(--navy); transform: translateX(-4px); }

/* =========================================================
   تايم لاين رأسي بشكل مختلف — محرّكات القيمة (قسم داكن)
   ========================================================= */
.vtl { display: grid; gap: 0; margin-top: 8px; }
.vtl-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start;
  padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12);
  transition: opacity .55s ease, transform .55s ease;
}
.vtl-item:first-child { border-top: 0; }
.vtl-item.in { opacity: 1; transform: none; }
.vtl-side { text-align: start; padding-top: 4px; }
.vtl-step {
  display: block; font-size: 1.9rem; font-weight: 800; line-height: 1;
  color: rgba(255,255,255,.18); font-family: Georgia, serif;
  transition: color .5s ease;
}
.vtl-item.in .vtl-step { color: var(--sand-soft); }
.vtl-when { display: block; font-size: .72rem; font-weight: 800; color: #8d96b8; margin-top: 6px; }
.vtl-card {
  cursor: pointer; padding: 4px 0 4px 0;
  border-inline-start: 2px solid transparent; padding-inline-start: 22px;
  transition: border-color .3s, transform .25s;
}
.vtl-item.in .vtl-card { border-inline-start-color: rgba(255,255,255,.14); }
.vtl-card:hover { transform: translateX(-4px); }
.vtl-item.in .vtl-card:hover { border-inline-start-color: var(--sand); }
.vtl-card h3 { color: #fff; font-size: 1.1rem; }
.vtl-card p { color: #b9c0d8; font-size: .89rem; line-height: 1.95; margin-top: 7px; }
.vtl-card .go { display: inline-block; margin-top: 9px; font-size: .8rem; font-weight: 800; color: var(--sand-soft); }
.vtl-card:hover .go { color: #fff; }

@media (max-width: 900px) {
  .htl { padding-top: 70px; }
  .htl-rail { height: 90px; }
  .htl-step { width: 215px; transform: translateY(calc(var(--i, 0) * -10px)) translateY(14px); }
  .htl-step.in { transform: translateY(calc(var(--i, 0) * -10px)); }
  .vtl-item { grid-template-columns: 74px 1fr; gap: 14px; }
  .vtl-step { font-size: 1.5rem; }
  .vtl-card { padding-inline-start: 16px; }
}

/* =========================================================
   صفحة «ليه إيسلا» — كروت الأسباب والحالات والأسئلة
   ========================================================= */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; cursor: pointer; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--sand); box-shadow: var(--shadow-lg); }
.why-ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--cream-2); font-size: 1.3rem; margin-bottom: 12px;
}
.why-card h3 { color: var(--navy); font-size: 1rem; }
.why-card p { font-size: .82rem; color: var(--muted); line-height: 1.85; margin-top: 7px; }
.why-card .go, .who-card .go {
  margin-top: auto; padding-top: 12px; font-size: .79rem; font-weight: 800;
  color: var(--sand-ink); transition: color .2s, transform .2s;
}
.why-card:hover .go, .who-card:hover .go { color: var(--navy); transform: translateX(-4px); }
.who-card { cursor: pointer; display: flex; flex-direction: column; }

/* --- الأسئلة الشائعة --- */
.faq { display: grid; gap: 10px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: var(--sand-soft); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 20px;
  font-weight: 800; font-size: .95rem; color: var(--navy);
  display: flex; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+"; flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: var(--cream-2); color: var(--sand); display: grid; place-items: center;
  font-size: 1.1rem; font-weight: 800; transition: transform .25s, background .2s, color .2s;
}
.faq-item[open] summary::before { content: "−"; background: var(--sand); color: #fff; }
.faq-item summary:hover { background: var(--cream); }
.faq-a { padding: 0 20px 18px 56px; font-size: .89rem; color: var(--muted); line-height: 2; }

@media (max-width: 1080px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .why-grid { grid-template-columns: 1fr; } .faq-a { padding-inline: 20px; } }

/* =========================================================
   إعادة بناء التايم لاين الأفقي — سلّم صاعد
   السبب: السهم الـSVG كان بيتمطّ بمعزل عن مواقع النقط فمكانش
   بيلمسها، والشكل بيطلع مايل وغلط. الأعمدة الصاعدة بتدّي نفس
   إحساس «الاستثمار الطالع» ومستحيل تختلّ مهما كان عرض الشاشة.
   ========================================================= */
.htl { position: relative; margin-top: 40px; padding-top: 0; }
.htl-rail { display: none; }

.htl-track {
  display: flex; gap: 12px; align-items: stretch;
  overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x proximity;
}
.htl-step {
  flex: 1 0 auto; width: clamp(185px, 15vw, 210px);
  display: flex; flex-direction: column;
  transform: none; opacity: 0; transition: opacity .5s ease, transform .55s cubic-bezier(.2,.8,.3,1);
}
.htl-step { transform: translateY(14px); }
.htl-step.in { opacity: 1; transform: none; }

/* العمود الصاعد */
.htl-bar {
  position: relative; margin-bottom: 14px;
  height: calc(34px + var(--i, 0) * 17px);
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(to top, rgba(22,35,90,.10), rgba(22,35,90,.22));
  display: flex; align-items: flex-start; justify-content: center;
  transform-origin: bottom; transform: scaleY(.25);
  transition: transform .7s cubic-bezier(.2,.9,.3,1.1), background .5s;
}
.htl-step.in .htl-bar { transform: scaleY(1); }
.htl-step:last-child .htl-bar {
  background: linear-gradient(to top, rgba(185,146,70,.18), rgba(185,146,70,.42));
}
/* الرقم بيفضل بحجمه الطبيعي مهما اتمطّ العمود */
.htl-node {
  position: absolute; top: -19px; left: 50%;
  transform: translateX(-50%) scaleY(1);
  width: 38px; height: 38px; margin: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line);
  font-weight: 800; font-size: .84rem; color: var(--muted);
  transition: background .4s, border-color .4s, color .4s, box-shadow .4s;
}
.htl-step.in .htl-bar .htl-node {
  background: var(--navy); border-color: var(--navy); color: #fff;
  box-shadow: 0 0 0 5px rgba(22,35,90,.09);
}
.htl-step:last-child.in .htl-bar .htl-node {
  background: var(--sand); border-color: var(--sand); color: #16110a;
  box-shadow: 0 0 0 6px rgba(185,146,70,.2);
}
/* إلغاء التمطيط عن محتوى العمود */
.htl-bar > * { transform: translateX(-50%); }
.htl-step.in .htl-bar > .htl-node { transform: translateX(-50%); }

.htl-card { flex: 1; height: auto; margin-top: 24px; }
.htl-track { padding-top: 26px; }

/* =========================================================
   التايم لاين الأفقي — نسخة نهائية نظيفة (بتلغي اللي فوقها)
   قرار: بطّلت السهم الـSVG والأعمدة المتمطّطة. الاتنين كانوا
   بيختلّوا مع أي عرض شاشة. الشكل ده بسيط ومستحيل يبوظ:
   صف نقط على خط مستقيم واحد، وتحتها كروت بنفس الارتفاع.
   و«الاستثمار الطالع» موجود في المؤشر الحقيقي تحت.
   ========================================================= */
.htl { position: relative; margin-top: 36px; padding-top: 0; }
.htl-rail { display: none !important; }

.htl-track {
  display: flex; gap: 12px; align-items: stretch;
  overflow-x: auto; padding: 30px 4px 16px;
  scroll-snap-type: x proximity; scrollbar-width: none;
  position: relative;
}
.htl-track::-webkit-scrollbar { display: none; }

/* الخط الواصل: خط واحد مستقيم ورا صف النقط */
.htl-track::before {
  content: ""; position: absolute; top: 49px; inset-inline: 22px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(to left, var(--line), var(--sand-soft), var(--sand));
  z-index: 0;
}

.htl-step {
  flex: 1 0 auto; width: clamp(190px, 15vw, 212px);
  display: flex; flex-direction: column; position: relative; z-index: 1;
  scroll-snap-align: center;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .55s cubic-bezier(.2,.8,.3,1);
}
.htl-step.in { opacity: 1; transform: none; }

/* حاوية النقطة: ارتفاع ثابت، من غير أي تمطيط */
.htl-bar {
  position: static; height: auto; margin: 0 auto 16px;
  background: none !important; border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  transform: none !important; transition: none;
}
.htl-bar > * { transform: none !important; }

.htl-node {
  position: static; transform: none !important;
  width: 38px; height: 38px; margin: 0; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: #fff; border: 2px solid var(--line);
  font-weight: 800; font-size: .85rem; color: var(--muted);
  box-shadow: 0 0 0 6px var(--white);
  transition: background .35s, border-color .35s, color .35s, box-shadow .35s;
}
section.alt .htl-node { box-shadow: 0 0 0 6px #fff; }
.htl-step.in .htl-node {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.htl-step:last-child.in .htl-node {
  background: var(--sand); border-color: var(--sand); color: #16110a;
}

.htl-card { flex: 1; height: auto; margin-top: 0; }

@media (max-width: 900px) {
  .htl-track { padding-top: 28px; }
  .htl-track::before { top: 47px; }
  .htl-step { width: 215px; transform: translateY(12px); }
  .htl-step.in { transform: none; }
}


/* =========================================================
   بوابة الأنيميشن — الإخفاء بيحصل بس لما الجافاسكربت يشتغل
   ========================================================= */
.js-anim .tl-item { opacity: 0; transform: translateY(18px); }
.js-anim .vtl-item { opacity: 0; transform: translateX(18px); }
.js-anim .htl-step { opacity: 0; transform: translateY(14px); }
.htl-step { opacity: 1; transform: none; }
.tl-item, .vtl-item { opacity: 1; transform: none; }
.rise .ln { stroke-dashoffset: 0; }
.js-anim .rise .ln { stroke-dashoffset: 1200; }
.rise .ar, .rise .pt { opacity: 1; }
.js-anim .rise .ar, .js-anim .rise .pt { opacity: 0; }
.js-anim .rise.in .ar, .js-anim .rise.in .pt { opacity: 1; }

/* =========================================================
   قرار: البنود الداخلية (خطوات التايم لاين) مش بتتخفي خالص.
   الحاوية بتعمل الظهور التدريجي وخلاص. طبقتين إخفاء فوق بعض
   معناها إن أي عطل في واحدة يخلّي القسم فاضي — والفاضي أسوأ
   من غياب الحركة.
   ========================================================= */
.js-anim .htl-step,
.js-anim .vtl-item,
.js-anim .tl-item { opacity: 1 !important; transform: none !important; }

/* الحركة بقت لمسة بسيطة على النقطة والكارت بس */
.htl-step .htl-node,
.tl-item .tl-dot { transition: background .35s, border-color .35s, color .35s, box-shadow .35s; }

/* --- شعار نصّي للشريك اللي مش عندي ملف لوجو له --- */
.logo-txt {
  display: block; height: 40px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  font-size: .68rem; font-weight: 600; line-height: 1.5; color: var(--muted);
  letter-spacing: .01em; opacity: .85; transition: opacity .3s, color .3s;
}
.logo-txt b { font-weight: 800; color: var(--navy); }
.logo-item:hover .logo-txt { opacity: 1; }
footer .logo-txt { color: #9aa3c4; }
footer .logo-txt b { color: #fff; }
.logo-item.tall .logo-txt { height: 54px; }
@media (max-width: 900px) {
  .logo-txt { height: 32px; font-size: .62rem; }
  .logo-item.tall .logo-txt { height: 42px; }
}

/* --- كروت الخدمة تنزل تحت الهيرو بدل ما تركب عليه --- */
.serv { margin-top: 34px; }
.logos { padding-top: 10px; }
@media (max-width: 900px) { .serv { margin-top: 24px; } }

/* =========================================================
   عمود التواصل العائم — تحت شمال الشاشة
   ========================================================= */
.wa-float { display: none !important; }

.fab-stack {
  position: fixed; inset-inline-end: 18px; bottom: 20px; z-index: 68;
  display: flex; flex-direction: column; gap: 10px;
}
.fab {
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; position: relative;
  box-shadow: 0 10px 26px -10px rgba(0,0,0,.45);
  transition: transform .2s, box-shadow .2s, background .2s;
  font-family: inherit;
}
.fab svg { width: 22px; height: 22px; }
.fab:hover { transform: scale(1.08); }
.fab-tel  { background: var(--navy); color: #fff; }
.fab-tel:hover { background: var(--navy-deep); }
.fab-wa   { background: var(--wa); color: #06301a; }
.fab-wa:hover { background: #1fbb5a; }
.fab-chat { background: var(--sand); color: #16110a; }
.fab-chat:hover { background: var(--sand-soft); }

/* التلميح بيظهر جنب الزرار */
.fab-tip {
  position: absolute; inset-inline-end: calc(100% + 10px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--navy-deep); color: #fff; white-space: nowrap;
  padding: 6px 12px; border-radius: 8px; font-size: .76rem; font-weight: 800;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.fab:hover .fab-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

@media (max-width: 900px) {
  .fab-stack { bottom: 84px; inset-inline-end: 14px; gap: 8px; }
  .fab { width: 44px; height: 44px; }
  .fab svg { width: 19px; height: 19px; }
  .fab-tip { display: none; }
}

/* --- شريط الأرقام في «ليه إيسلا» ينزل تحت الهيرو بدل ما يركب عليه --- */
.page-facts--low { margin-top: 26px; }
@media (max-width: 900px) { .page-facts--low { margin-top: 20px; } }

/* =========================================================
   شيل الشريطين الجانبيين
   بقوا مكررين بعد ما اتعمل عمود التواصل تحت الشمال: واتساب
   في الاتنين على نفس الجنب. عنصر واحد واضح أحسن من اتنين
   بيزاحموا بعض على حافة الشاشة.
   ========================================================= */
.rail, .rail-book, .rail-wa { display: none !important; }

/* وبما إن الشريطين راحوا، الشريط السفلي يرجع يشتغل على الديسكتوب كمان */
@media (min-width: 901px) {
  #sticky-cta { display: block; }
}

/* =========================================================
   الهيدر: لوجو إيسلا أبيض + لوجو دلتا كابيتال جنبه
   ========================================================= */
.brand-wrap { display: flex; align-items: center; gap: 13px; flex: none; }
.brand-sep {
  width: 1px; height: 26px; background: rgba(255,255,255,.22); display: block;
}
.brand-dev { display: flex; align-items: center; opacity: .72; transition: opacity .2s; }
.brand-dev:hover { opacity: 1; }
.brand-dev img { height: 17px; width: auto; }

@media (max-width: 900px) {
  .brand-wrap { gap: 9px; }
  .brand-sep { height: 20px; }
  .brand-dev img { height: 13px; }
}
@media (max-width: 560px) {
  .brand-sep, .brand-dev { display: none; }
}

/* =========================================================
   أيقونات الكروت — أوضح وأكبر
   ========================================================= */
.why-ico, .serv-ico, .card .num.ico-svg {
  background: linear-gradient(145deg, var(--cream-2), #fff);
  border: 1px solid var(--line);
  color: var(--navy);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.why-ico { width: 52px; height: 52px; border-radius: 15px; margin-bottom: 14px; }
.serv-ico { width: 38px; height: 38px; border-radius: 11px; }
.card .num.ico-svg { width: 46px; height: 46px; border-radius: 14px; }

.ico-svg, .why-ico, .serv-ico { display: grid; place-items: center; }
.why-ico svg  { width: 26px; height: 26px; }
.serv-ico svg { width: 20px; height: 20px; }
.num.ico-svg svg { width: 23px; height: 23px; }

.why-card:hover .why-ico,
.serv-card:hover .serv-ico,
.card:hover .num.ico-svg {
  background: var(--navy); color: #fff; border-color: var(--navy); transform: scale(1.06);
}
.who-card:hover .why-ico { background: var(--sand); color: #16110a; border-color: var(--sand); }

/* الأرقام اللي فضلت أرقام تبقى أوضح كمان */
.card .num:not(.ico-svg) {
  width: 40px; height: 40px; border-radius: 12px; font-size: .9rem;
  background: var(--cream-2); border: 1px solid var(--line); color: var(--navy);
}
section.dark .why-ico, section.dark .card .num {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: var(--sand-soft);
}
section.dark .card:hover .num.ico-svg { background: var(--sand); color: #16110a; border-color: var(--sand); }

/* --- شريط الشركاء من غير تسميات: اللوجوهات تتوسّط وتاخد مساحة أكبر --- */
.logo-item { gap: 0; }
.logo-item img { height: 44px; }
.logo-item.tall img { height: 58px; }
@media (max-width: 900px) {
  .logo-item img { height: 34px; }
  .logo-item.tall img { height: 44px; }
}

/* =========================================================
   علامة دلتا كابيتال فوق صور السلايدر
   عنصر واحد فوق الشرائح كلها بدل ما نحرقها جوّه الصور —
   كده تتغيّر أو تتشال في سطر، والصور الأصلية تفضل نضيفة.
   ========================================================= */
.slide-mark {
  height: 20px; width: auto; flex: none;
  opacity: .62; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6));
  transition: opacity .25s;
}
.slide-cap .wrap:hover .slide-mark { opacity: 1; }

@media (max-width: 900px) {
  .slide-mark { height: 15px; }
}

/* --- علامة المطوّر فوق السلايدر: كبسولة واضحة بدل صورة باهتة --- */
.slide-mark {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  background: rgba(13,21,56,.62); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 8px 16px 8px 14px;
  opacity: 1; transition: background .25s, border-color .25s;
}
.slide-mark:hover { background: rgba(13,21,56,.82); border-color: var(--sand-soft); }
.slide-mark small {
  font-size: .62rem; font-weight: 800; letter-spacing: .18em;
  color: var(--sand-soft); text-transform: uppercase;
}
.slide-mark img {
  height: 22px; width: auto; opacity: 1;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.5));
}
.slide-mark::before {
  content: ""; width: 1px; height: 18px; background: rgba(255,255,255,.28);
  order: 1;
}
.slide-mark small { order: 0; }
.slide-mark img { order: 2; }

@media (max-width: 900px) {
  .slide-mark { padding: 6px 12px; gap: 8px; }
  .slide-mark img { height: 16px; }
  .slide-mark small { font-size: .55rem; letter-spacing: .12em; }
}

/* =========================================================
   كروت الخدمة: أيقونة واضحة + عنوان مميز، من غير شرح
   ========================================================= */
.serv-card {
  flex-direction: column; align-items: center; text-align: center;
  gap: 12px; padding: 20px 16px; width: clamp(150px, 13vw, 180px);
  justify-content: flex-start;
}
.serv-ico { width: 52px; height: 52px; border-radius: 16px; }
.serv-ico svg { width: 26px; height: 26px; }
.serv-card b {
  font-size: .94rem; font-weight: 800; line-height: 1.5; color: var(--navy);
}
.serv-card > div { display: flex; align-items: center; }
.serv-card span:not(.serv-ico) { display: none; }

@media (max-width: 900px) {
  .serv-card { width: 160px; padding: 16px 12px; }
  .serv-ico { width: 44px; height: 44px; border-radius: 13px; }
  .serv-ico svg { width: 22px; height: 22px; }
  .serv-card b { font-size: .85rem; }
}

/* =========================================================
   علامة المطوّر — مكان مستقل أعلى السلايدر، أكبر وأوضح
   كانت مزنوقة في شريط التسمية تحت مع النقط، فمكانتش بتاخد
   حقها. دلوقتي ليها ركن لوحدها.
   ========================================================= */
.slide-mark { display: none !important; }

.dev-badge {
  position: absolute; inset-inline-start: 0; top: 22px; z-index: 6;
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(13,21,56,.72); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.26);
  border-start-end-radius: 999px; border-end-end-radius: 999px;
  padding: 12px 26px 12px 20px;
  box-shadow: 0 14px 34px -14px rgba(0,0,0,.6);
  transition: background .25s, border-color .25s, padding .25s;
}
.dev-badge:hover { background: rgba(13,21,56,.9); border-color: var(--sand-soft); padding-inline-end: 32px; }
.dev-badge small {
  font-size: .68rem; font-weight: 800; letter-spacing: .2em;
  color: var(--sand-soft); white-space: nowrap;
}
.dev-badge::after {
  content: ""; width: 1px; height: 24px; background: rgba(255,255,255,.3);
}
.dev-badge img { height: 30px; width: auto; order: 3; }
.dev-badge small { order: 1; }
.dev-badge::after { order: 2; }

@media (max-width: 900px) {
  .dev-badge { top: 14px; padding: 8px 16px 8px 13px; gap: 10px; }
  .dev-badge img { height: 20px; }
  .dev-badge small { font-size: .58rem; letter-spacing: .14em; }
  .dev-badge::after { height: 17px; }
}

/* =========================================================
   إبراز «قصير» و«طويل» — هما جوهر رسالة صفحة الاستثمار
   ========================================================= */
.page-hero h1 .hl {
  color: var(--sand-soft); font-style: normal; position: relative;
  display: inline-block; padding: 0 .12em;
}
.page-hero h1 .hl::after {
  content: ""; position: absolute; inset-inline: 0; bottom: .06em; height: .14em;
  background: var(--sand); opacity: .45; border-radius: 2px; z-index: -1;
}
.page-hero h1 { position: relative; z-index: 1; }

/* وسم المدى في عناوين الأقسام */
.term {
  display: inline-block; border-radius: 999px; padding: 5px 16px;
  letter-spacing: .1em; font-size: .72rem;
}
.term-short { background: var(--navy); color: #fff; }
.term-long  { background: var(--sand); color: #16110a; }
section.dark .term-long { background: var(--sand); color: #16110a; }

/* =========================================================
   علامة المطوّر الثابتة — في كل الصفحات ومع السكرول
   موضوعة أسفل الهيدر على جهة البداية، وبعيدة عن عمود
   التواصل (أسفل النهاية) وعن الشريط السفلي.
   ========================================================= */
.dev-badge-fixed {
  position: fixed; top: 88px; inset-inline-start: 0; z-index: 59;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(13,21,56,.82); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2); border-inline-start: 0;
  border-start-end-radius: 999px; border-end-end-radius: 999px;
  padding: 9px 20px 9px 15px;
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.6);
  transition: background .25s, border-color .25s, padding .25s, opacity .25s;
}
.dev-badge-fixed:hover {
  background: rgba(13,21,56,.95); border-color: var(--sand-soft); padding-inline-end: 26px;
}
.dev-badge-fixed small {
  order: 1; font-size: .64rem; font-weight: 800; letter-spacing: .2em;
  color: var(--sand-soft); white-space: nowrap;
}
.dev-badge-fixed::after {
  content: ""; order: 2; width: 1px; height: 20px; background: rgba(255,255,255,.28);
}
.dev-badge-fixed img { order: 3; height: 24px; width: auto; }

/* على الشاشات الضيقة اللوجو موجود أصلاً في الهيدر، فالعلامة تختفي
   عشان متاكلش من عرض المحتوى */
@media (max-width: 1100px) { .dev-badge-fixed { display: none; } }

/* --- تكبير علامة المطوّر الثابتة لنفس حجمها الأصلي في الهيرو --- */
.dev-badge-fixed {
  gap: 14px;
  padding: 12px 26px 12px 20px;
  border-width: 1px;
}
.dev-badge-fixed small { font-size: .68rem; letter-spacing: .2em; }
.dev-badge-fixed::after { height: 24px; }
.dev-badge-fixed img { height: 30px; }
.dev-badge-fixed:hover { padding-inline-end: 32px; }

/* --- تنزيل علامة المطوّر الثابتة لتحت أكتر --- */
.dev-badge-fixed { top: 190px; }
@media (max-width: 1400px) { .dev-badge-fixed { top: 170px; } }

/* =========================================================
   شكل جديد للكروت — بدون مربّع حول الأيقونة
   الأيقونة بقت خط ذهبي حر، وشريط ذهبي رفيع على حافة الكارت
   بيكبر عند المرور. أهدأ وأقرب للطابع الفاخر.
   ========================================================= */
.why-ico, .serv-ico, .card .num.ico-svg,
.ico-v2 {
  background: none !important; border: 0 !important;
  width: auto !important; height: auto !important;
  border-radius: 0 !important; color: var(--sand) !important;
  display: block !important; margin-bottom: 16px;
  transform: none !important;
}
.why-ico svg, .card .num.ico-svg svg { width: 36px; height: 36px; }
.serv-ico svg { width: 32px; height: 32px; }
.ico-v2 svg { stroke-width: 1.4; }

.why-card:hover .why-ico,
.card:hover .num.ico-svg,
.serv-card:hover .serv-ico { color: var(--navy) !important; }

/* الكارت نفسه */
.card, .why-card, .serv-card, .unit-card, .tl-card, .htl-card {
  position: relative; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(13,21,56,.04);
  transition: transform .28s cubic-bezier(.2,.8,.3,1), box-shadow .28s, border-color .28s;
}
.card::before, .why-card::before, .serv-card::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0;
  width: 3px; background: var(--sand);
  transform: scaleY(0); transform-origin: top; transition: transform .3s ease;
}
.card:hover::before, .why-card:hover::before, .serv-card:hover::before { transform: scaleY(1); }
.card:hover, .why-card:hover, .serv-card:hover, .unit-card:hover, .htl-card:hover {
  transform: translateY(-5px);
  border-color: var(--sand-soft);
  box-shadow: 0 22px 44px -26px rgba(13,21,56,.4);
}
.why-card, .card { padding: 26px 24px; }
.why-card h3, .card h3 { font-size: 1.04rem; letter-spacing: -.01em; }

/* القسم الداكن */
section.dark .why-ico, section.dark .card .num.ico-svg { color: var(--sand-soft) !important; }
section.dark .card:hover .num.ico-svg { color: #fff !important; }
section.dark .card::before { background: var(--sand-soft); }

/* كروت الخدمة تفضل متوسّطة */
.serv-card { align-items: center; text-align: center; padding: 22px 16px; }
.serv-card .serv-ico { margin: 0 auto 12px; }

/* --- أبناء الشبكات ميتخفوش: نفس قاعدة بنود التايم لاين --- */
.js-anim .reveal .stagger { opacity: 1 !important; transform: none !important; }

/* =========================================================
   قرار نهائي في الأنيميشن
   نظام «أخفي ثم أظهر عند السكرول» فشل تلات مرات وخلّى أقسام
   كاملة بيضا. أي نظام ممكن يخفي محتوى بشكل دائم مرفوض مهما
   كان شكله حلو. المحتوى دلوقتي ظاهر دايماً، والحركة بقت
   انزلاقة خفيفة بتشتغل عند الظهور — ولو ما اشتغلتش، مفيش خسارة.
   ========================================================= */
.reveal,
.js-anim .reveal,
.reveal .stagger,
.js-anim .reveal .stagger {
  opacity: 1 !important;
  transform: none !important;
}
.js-anim .reveal.in { animation: revealIn .6s cubic-bezier(.2,.8,.3,1) both; }
.js-anim .reveal.in .stagger { animation: revealIn .5s cubic-bezier(.2,.8,.3,1) both; }
@keyframes revealIn {
  from { opacity: .001; transform: translateY(14px); }
  to   { opacity: 1;    transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal.in, .js-anim .reveal.in .stagger { animation: none; }
}

/* --- مسافة أكبر بين نص الهيرو وشريط الأرقام تحته --- */
.page-facts { margin-top: 26px; }
.page-hero + .page-facts { margin-top: 30px; }
.page-facts--low { margin-top: 40px; }
@media (max-width: 900px) {
  .page-facts, .page-hero + .page-facts { margin-top: 22px; }
  .page-facts--low { margin-top: 28px; }
}

/* =========================================================
   كروت سابقة الأعمال — بصورة المشروع
   ========================================================= */
.card.has-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card.has-img .card-img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2,.8,.3,1);
}
.card.has-img:hover .card-img { transform: scale(1.05); }
.card.has-img h3 { padding: 20px 22px 0; color: var(--navy); }
.card.has-img p  { padding: 0 22px; }
.card.has-img .go { padding: 0 22px 20px; margin-top: auto; }
.card.has-img::before { z-index: 2; }
section.dark .card.has-img h3 { color: #fff; }
