@charset "UTF-8";
/* ==========================================================================
   آيات الرحمن للعمرة والزيارة — نظام التصميم
   Ayat Al-Rahman | Umrah & Ziyarah — Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. التوكنز — Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* الأخضر — مستخرج من لوجو آيات الرحمن */
  --green-950: #08201A;
  --green-900: #0C2B22;
  --green-800: #12392C;
  --green-700: #17543F;
  --green-600: #1D6A4F;
  --green-500: #268563;
  --green-400: #4EA37F;
  --green-300: #86C4A8;

  /* الذهبي */
  --gold-700: #8E6B26;
  --gold-600: #A8802F;
  --gold-500: #C39B45;
  --gold-400: #D2AE60;
  --gold-300: #E0C68C;
  --gold-200: #EEDCB6;

  /* المحايد الدافئ */
  --sand-50:  #FCFBF6;
  --sand-100: #F8F5EC;
  --sand-200: #F1EBDC;
  --sand-300: #E5DCC7;
  --mint-50:  #F1F5F0;
  --mint-100: #E7EEE7;

  /* الأدوار الدلالية — Light theme */
  --bg:            var(--sand-50);
  --bg-alt:        var(--mint-50);
  --bg-sunk:       var(--sand-100);
  --surface:       #FFFFFF;
  --surface-2:     var(--sand-100);
  --surface-invert: var(--green-800);
  --ink:           #142B24;
  --ink-2:         #35544A;
  --muted:         #63796F;
  --faint:         #8A9A92;
  --line:          #E3DED0;
  --line-soft:     #EFEBE0;
  --brand:         var(--green-700);
  --brand-deep:    var(--green-900);
  --accent:        var(--gold-500);
  --accent-ink:    var(--gold-700);
  --on-brand:      #FFFFFF;
  --on-brand-soft: #B9CFC5;
  --on-accent:     #16302A;

  --shadow-xs: 0 1px 2px rgba(20, 43, 36, .06);
  --shadow-sm: 0 2px 8px rgba(20, 43, 36, .06), 0 1px 2px rgba(20, 43, 36, .04);
  --shadow-md: 0 8px 24px rgba(20, 43, 36, .08), 0 2px 6px rgba(20, 43, 36, .04);
  --shadow-lg: 0 20px 48px rgba(20, 43, 36, .12), 0 4px 12px rgba(20, 43, 36, .05);
  --shadow-xl: 0 32px 72px rgba(20, 43, 36, .16), 0 8px 20px rgba(20, 43, 36, .06);
  --ring: 0 0 0 3px rgba(195, 155, 69, .45);

  /* المقاسات */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;
  --arch: 46% 46% var(--r-md) var(--r-md) / 62% 62% var(--r-md) var(--r-md);

  --gutter: clamp(18px, 4vw, 44px);
  --shell: 1240px;
  --sec-y: clamp(64px, 8vw, 118px);

  /* الخطوط */
  --font-body: "Alexandria", "Segoe UI", system-ui, sans-serif;
  --font-head: "Noto Kufi Arabic", "Alexandria", system-ui, sans-serif;
  --font-quran: "Amiri", "Noto Kufi Arabic", serif;

  --t-xs:  0.8125rem;  /* 13 */
  --t-sm:  0.875rem;   /* 14 */
  --t-base: 1rem;      /* 16 */
  --t-md:  1.0625rem;  /* 17 */
  --t-lg:  1.1875rem;  /* 19 */
  --t-xl:  clamp(1.25rem, 1.6vw, 1.4375rem);
  --t-h3:  clamp(1.1875rem, 1.9vw, 1.5rem);
  --t-h2:  clamp(1.75rem, 3.4vw, 2.75rem);
  --t-h1:  clamp(2.25rem, 5.2vw, 4.125rem);

  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

/* الوضع الليلي */
:root[data-theme="dark"] {
  --bg:            #0A211B;
  --bg-alt:        #0D2A22;
  --bg-sunk:       #071C17;
  --surface:       #113126;
  --surface-2:     #163B2E;
  --surface-invert: #061913;
  --ink:           #EDF3EF;
  --ink-2:         #C6D8D0;
  --muted:         #9DB3AA;
  --faint:         #7B928A;
  --line:          #1F4536;
  --line-soft:     #1A3A2E;
  --brand:         var(--green-500);
  --brand-deep:    #061913;
  --accent:        var(--gold-400);
  --accent-ink:    var(--gold-300);
  --on-brand:      #FFFFFF;
  --on-brand-soft: #A9C4B9;
  --on-accent:     #10261F;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .32);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .38);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, .46);
  --shadow-xl: 0 32px 72px rgba(0, 0, 0, .55);
  --ring: 0 0 0 3px rgba(210, 174, 96, .5);

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. الأساسيات — Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  /* clip بدل hidden: يمنع التمرير الأفقي دون إنشاء حاوية تمرير (يحفظ عمل sticky) */
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.75;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overflow-wrap: break-word;
  transition: background .4s var(--ease), color .4s var(--ease);
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
strong, b { font-weight: 700; }

:focus-visible {
  outline: 0;
  box-shadow: var(--ring);
  border-radius: var(--r-sm);
}

::selection { background: var(--gold-300); color: var(--green-900); }

/* الأيقونات — تُورَّث الخصائص داخل <use> */
.ic {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.ic--f { fill: currentColor; stroke: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  inset-inline: 0;
  margin-inline: auto;
  width: fit-content;
  top: -100px;
  z-index: 200;
  padding: 12px 26px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--brand);
  color: var(--on-brand);
  font-size: var(--t-sm);
  font-weight: 700;
  transition: top .25s var(--ease);
}
.skip-link:focus-visible { top: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. التخطيط — Layout
   -------------------------------------------------------------------------- */
.shell {
  width: min(var(--shell), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}
.shell-narrow { --shell: 880px; }

.band { padding-block: var(--sec-y); position: relative; }
.band--alt   { background: var(--bg-alt); }
.band--sunk  { background: var(--bg-sunk); }
.band--brand { background: var(--brand-deep); color: var(--on-brand); overflow: hidden; }
.band--brand h1, .band--brand h2, .band--brand h3 { color: #fff; }
.band--tight { padding-block: clamp(48px, 6vw, 78px); }
.band--flush-top { padding-block-start: 0; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 26px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(38px, 6vw, 84px); align-items: center; }
.split--wide-start { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: start; }

/* منع تمدّد أعمدة الشبكة بسبب المحتوى (grid blowout) — ضروري للموبايل */
.grid > *, .split > *, .pkg-grid > *, .steps > *, .bus-grid > *, .stats > *,
.why-list > *, .dep-list > *, .value-grid > *, .gallery > *, .quickbar__grid > *,
.opt-grid > *, .strip > *, .foot__grid > *, .pkg__feats > *, .summary > *,
.cta__actions > *, .mobile-bar > *, .timetable li, .check, .rite,
.help-card > *, .promo > *, .mini > * { min-width: 0; }

/* --------------------------------------------------------------------------
   4. الزخارف الإسلامية — Ornaments
   -------------------------------------------------------------------------- */
.pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    radial-gradient(currentColor 1px, transparent 1.4px);
  background-size: 26px 26px;
  color: var(--green-300);
  mask-image: linear-gradient(to left, #000, transparent 68%);
}
.band--brand .pattern { color: var(--gold-500); opacity: .22; }

.girih {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%2317543F' stroke-width='1'%3E%3Cpath d='M36 4 68 36 36 68 4 36Z'/%3E%3Cpath d='M12 12h48v48H12z'/%3E%3Ccircle cx='36' cy='36' r='9'/%3E%3C/g%3E%3C/svg%3E");
}
:root[data-theme="dark"] .girih { opacity: .12; filter: invert(1) hue-rotate(150deg); }

/* دائرة ذهبية مشعّة */
.halo {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(195, 155, 69, .16);
  box-shadow: 0 0 0 clamp(28px, 5vw, 58px) rgba(195, 155, 69, .045),
              0 0 0 clamp(56px, 10vw, 116px) rgba(195, 155, 69, .028);
  pointer-events: none;
}

/* فاصل ذهبي بمعينة في الوسط */
.rule-orn {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
}
.rule-orn::before, .rule-orn::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: .5;
}
.rule-orn i {
  width: 7px; height: 7px;
  rotate: 45deg;
  background: currentColor;
  flex: 0 0 auto;
}

/* قوس المحراب */
.arch {
  border-radius: var(--arch);
  overflow: hidden;
  position: relative;
}
.arch--outline {
  overflow: visible;
  border: 1px solid rgba(195, 155, 69, .55);
  background: none;
}

/* --------------------------------------------------------------------------
   5. عناصر واجهة عامة — Primitives
   -------------------------------------------------------------------------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent-ink);
  text-transform: none;
}
.kicker svg { width: 17px; height: 17px; color: var(--accent); }
.band--brand .kicker { color: var(--gold-300); }

.heading { max-width: 66ch; }
.heading h2 { font-size: var(--t-h2); margin-block: 14px 0; }
.heading > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: var(--t-md);
  line-height: 1.95;
  max-width: 62ch;
}
.band--brand .heading > p { color: var(--on-brand-soft); }
.heading--center { margin-inline: auto; text-align: center; }
.heading--center > p { margin-inline: auto; }

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(30px, 4vw, 52px);
}

/* الأزرار */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding-inline: 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: var(--t-sm);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-md);
  transition: translate .28s var(--ease-out), box-shadow .28s var(--ease-out), background .2s;
}
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.22), transparent 80%);
  translate: -120% 0;
  transition: translate .7s var(--ease);
}
.btn:hover { translate: 0 -3px; box-shadow: var(--shadow-lg); }
.btn:hover::after { translate: 120% 0; }
.btn:active { translate: 0 -1px; }

.btn--gold { background: var(--accent); color: var(--on-accent); }
.btn--gold:hover { background: var(--gold-400); }
.btn--ghost {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--accent); background: var(--surface); }
.band--brand .btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.band--brand .btn--ghost:hover { border-color: var(--gold-400); background: rgba(255,255,255,.07); }
.btn--wa { background: #1FA855; color: #fff; }
.btn--wa:hover { background: #17903F; }
.btn--sm { min-height: 44px; padding-inline: 20px; font-size: var(--t-xs); }
.btn--block { width: 100%; }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--brand);
  transition: gap .25s var(--ease), color .2s;
}
.tlink svg { width: 18px; height: 18px; color: var(--accent); transition: translate .25s var(--ease); }
.tlink:hover { gap: 14px; color: var(--accent-ink); }
.tlink:hover svg { translate: -4px 0; }
.band--brand .tlink { color: #fff; }
.band--brand .tlink:hover { color: var(--gold-300); }

/* الشرائح */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--ink-2);
}
.chip svg { width: 15px; height: 15px; color: var(--accent); }
.chip--gold { background: rgba(195,155,69,.13); border-color: rgba(195,155,69,.3); color: var(--accent-ink); }
.band--brand .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }

/* البطاقات */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: translate .32s var(--ease-out), box-shadow .32s var(--ease-out), border-color .3s;
}
.card--pad { padding: clamp(22px, 2.6vw, 32px); }
.card--lift:hover { translate: 0 -7px; box-shadow: var(--shadow-lg); border-color: rgba(195,155,69,.4); }

.ico {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  flex: 0 0 auto;
  border-radius: 15px;
  background: linear-gradient(150deg, var(--gold-200), rgba(238,220,182,.35));
  color: var(--gold-700);
}
.ico svg { width: 25px; height: 25px; }
.ico--round { border-radius: 50%; }
.band--brand .ico {
  background: rgba(195,155,69,.14);
  color: var(--gold-300);
}
:root[data-theme="dark"] .ico { background: rgba(195,155,69,.16); color: var(--gold-300); }

/* --------------------------------------------------------------------------
   6. الهيدر — Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--brand-deep);
  color: var(--on-brand-soft);
  font-size: var(--t-xs);
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
}
.topbar__hijri { display: inline-flex; align-items: center; gap: 8px; }
.topbar__hijri svg { width: 15px; height: 15px; color: var(--gold-400); }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar a { transition: color .2s; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--gold-300); }
.topbar a svg { width: 15px; height: 15px; color: var(--gold-400); }

.masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s, background .3s;
}
.masthead.is-stuck {
  border-bottom-color: var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.masthead__in {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: min-height .3s var(--ease);
}
.masthead.is-stuck .masthead__in { min-height: 68px; }

/* شريط تقدّم القراءة */
.scrollbar-progress {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--green-500));
  transform-origin: right center;
  scale: 0 1;
  transition: scale .1s linear;
}

/* اللوجو */
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__mark {
  width: 48px; height: 48px;
  flex: 0 0 auto;
  color: var(--accent);
  transition: rotate .6s var(--ease), scale .3s var(--ease);
}
.brand:hover .brand__mark { scale: 1.06; }
.brand__text { display: grid; gap: 2px; }
.brand__name {
  font-family: var(--font-head);
  font-size: 1.185rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--brand);
  letter-spacing: -.02em;
}
:root[data-theme="dark"] .brand__name { color: var(--ink); }
.brand__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--accent-ink);
  line-height: 1;
}
/* اللوجو الرسمي — نسخة للوضع النهاري وأخرى للوضع الليلي */
.brand__logo { display: block; flex: 0 0 auto; line-height: 0; }
.brand__logo img {
  display: block;
  /* نضبط بالارتفاع لأن اللوجو مركّب رأسيًا (شعار + خط + سطر تعريفي) */
  height: clamp(44px, 5.4vw, 58px);
  width: auto;
  max-width: none;
  object-fit: contain;
}
.brand__logo .is-dark { display: none; }
:root[data-theme="dark"] .brand__logo .is-light { display: none; }
:root[data-theme="dark"] .brand__logo .is-dark { display: block; }
/* الفوتر خلفيته غامقة دائمًا */
.foot .brand__logo .is-light { display: none; }
.foot .brand__logo .is-dark { display: block; }
.foot .brand__logo img { height: clamp(66px, 9vw, 88px); }

/* التنقّل — سطح المكتب داخل الهيدر، والموبايل درج مستقل خارجه */
.nav-desktop { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.nav { display: none; }
.nav__link {
  position: relative;
  font-family: var(--font-head);
  font-size: var(--t-sm);
  font-weight: 600;
  padding-block: 6px;
  color: var(--ink-2);
  transition: color .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  scale: 0 1;
  transition: scale .3s var(--ease);
}
.nav__link:hover { color: var(--brand); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { scale: 1 1; }
.nav__link[aria-current="page"] { color: var(--brand); font-weight: 700; }
:root[data-theme="dark"] .nav__link:hover,
:root[data-theme="dark"] .nav__link[aria-current="page"] { color: var(--gold-300); }

.masthead__tools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: var(--surface);
  transition: background .2s, color .2s, border-color .2s, rotate .4s var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { color: var(--accent-ink); border-color: var(--accent); }
#themeToggle:hover { rotate: 22deg; }
#themeToggle .i-sun { display: none; }
:root[data-theme="dark"] #themeToggle .i-sun { display: block; }
:root[data-theme="dark"] #themeToggle .i-moon { display: none; }

.burger { display: none; }
.burger span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: translate .3s var(--ease), rotate .3s var(--ease), opacity .2s;
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { translate: 0 7px; rotate: 45deg; }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { translate: 0 -7px; rotate: -45deg; }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 32, 26, .55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

/* رأس وذيل الدرج — يظهران على الموبايل فقط */
.nav__head, .nav__foot { display: none; }

/* --------------------------------------------------------------------------
   7. الهيرو — Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block-start: clamp(38px, 6vw, 76px);
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(195,155,69,.14), transparent 58%),
    linear-gradient(128deg, var(--sand-100), var(--mint-50) 62%, var(--sand-200));
}
:root[data-theme="dark"] .hero {
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(195,155,69,.13), transparent 58%),
    linear-gradient(128deg, #0B2620, #0E2E25 60%, #0A2119);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  min-height: 606px;
}

.hero h1 {
  font-size: var(--t-h1);
  line-height: 1.28;
  letter-spacing: -.035em;
  color: var(--brand);
  margin-block: 20px 20px;
}
:root[data-theme="dark"] .hero h1 { color: var(--ink); }
.hero h1 em {
  display: block;
  font-style: normal;
  font-size: .56em;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--accent-ink);
  margin-top: 8px;
}
:root[data-theme="dark"] .hero h1 em { color: var(--gold-300); }

.hero__lead {
  max-width: 56ch;
  font-size: var(--t-md);
  line-height: 2.05;
  color: var(--muted);
  margin-bottom: 30px;
}
.hero__cta { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); flex-wrap: wrap; }

.hero__proof {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 460px;
}
.stack { display: flex; direction: ltr; flex: 0 0 auto; }
.stack span {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-left: -11px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--gold-300);
  color: var(--green-800);
  font-size: var(--t-xs);
  font-weight: 800;
}
.stack span:nth-child(2) { background: var(--green-300); }
.stack span:nth-child(3) { background: var(--green-600); color: #fff; }
.stack span:nth-child(4) { background: var(--sand-300); }
.hero__proof strong { display: block; font-size: var(--t-sm); }
.hero__proof small { display: block; color: var(--faint); font-size: var(--t-xs); margin-top: 2px; }

/* بصريات الهيرو */
.hero__visual {
  position: relative;
  height: clamp(430px, 52vw, 588px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero__arch {
  position: absolute;
  bottom: 0;
  width: clamp(280px, 34vw, 406px);
  height: clamp(390px, 46vw, 528px);
}
.hero__arch--back { translate: -44px -26px; }
/* قوس الهيرو — خلفية، والمعتمرون قصاصات شفافة أمامه */
.hero__arch--main {
  overflow: visible;
  background: linear-gradient(162deg, #EAF0E6, #D3E0D5);
  box-shadow: var(--shadow-xl);
}
:root[data-theme="dark"] .hero__arch--main { background: linear-gradient(162deg, #1B4536, #123024); }
.hero__arch--main::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .34);
  pointer-events: none;
}

/* شريحتان تتبادلان بتلاشٍ متقاطع — نفس اللوحة فالانتقال مطابق تمامًا */
.hero__slide {
  position: absolute;
  z-index: 5;
  inset-inline-start: 50%;
  bottom: 0;
  width: auto;
  height: 106%;
  max-width: none;
  object-fit: contain;
  translate: 50% 0;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 18px 24px rgba(20, 43, 36, .24));
  animation: heroFloat 9s ease-in-out infinite;
  will-change: opacity;
}
.hero__slide--2 {
  opacity: 0;
  animation: heroFloat 9s ease-in-out infinite reverse,
             heroSwap 13s linear infinite;
}
@keyframes heroSwap {
  0%, 38%  { opacity: 0; }
  50%, 88% { opacity: 1; }
  100%     { opacity: 0; }
}
@keyframes heroFloat {
  0%, 100% { scale: 1; }
  50%      { scale: 1.018; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none !important; scale: 1 !important; }
  .hero__slide--2 { opacity: 0 !important; }
}

.float-card {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  max-width: 62%;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  animation: bob 5s ease-in-out infinite;
}
.float-card svg { width: 19px; height: 19px; color: var(--accent); flex: 0 0 auto; }
.float-card small { display: block; font-size: 0.6875rem; color: var(--faint); line-height: 1.4; }
.float-card strong { display: block; font-size: var(--t-xs); margin-top: 2px; line-height: 1.45; }
.float-card--a { inset-inline-end: 0; top: 96px; }
.float-card--b { inset-inline-start: 0; bottom: 82px; animation-delay: -2.5s; }
.float-card--c { inset-inline-end: 10%; bottom: 14px; animation-delay: -1.2s; }

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -11px; }
}

/* شريط الميزات السريعة */
.quickbar {
  position: relative;
  z-index: 3;
  margin-top: clamp(28px, 4vw, 46px);
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 -8px 40px rgba(20,43,36,.07);
}
.quickbar__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quickbar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 18px;
  border-inline-start: 1px solid var(--line-soft);
  transition: background .25s;
}
.quickbar__item:first-child { border-inline-start: 0; }
.quickbar__item:hover { background: var(--bg-alt); }
.quickbar__item svg { width: 27px; height: 27px; color: var(--gold-600); flex: 0 0 auto; }
.quickbar__item strong { display: block; font-size: var(--t-sm); font-weight: 700; }
.quickbar__item small { display: block; color: var(--faint); font-size: var(--t-xs); margin-top: 3px; }

/* --------------------------------------------------------------------------
   8. العدّاد التنازلي للرحلة — Countdown
   -------------------------------------------------------------------------- */
.countdown {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(22px, 3vw, 32px) clamp(24px, 3.4vw, 42px);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--green-800), var(--green-700) 60%, var(--green-600));
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.countdown > * { position: relative; z-index: 1; }
.countdown__label span { display: block; font-size: var(--t-xs); color: var(--gold-300); font-weight: 700; }
.countdown__label strong { display: block; font-family: var(--font-head); font-size: var(--t-lg); margin-top: 6px; }
.countdown__label small { display: block; color: var(--on-brand-soft); font-size: var(--t-xs); margin-top: 5px; }
.countdown__clock { display: flex; gap: 10px; justify-content: center; }
.countdown__unit {
  min-width: 74px;
  padding: 12px 8px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  text-align: center;
}
.countdown__unit b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--gold-300);
}
.countdown__unit small { display: block; font-size: 0.75rem; color: var(--on-brand-soft); margin-top: 4px; }

/* --------------------------------------------------------------------------
   9. الباقات — Packages
   -------------------------------------------------------------------------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 26px); }

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: translate .34s var(--ease-out), box-shadow .34s var(--ease-out), border-color .3s;
}
.pkg:hover { translate: 0 -8px; box-shadow: var(--shadow-xl); border-color: rgba(195,155,69,.45); }
.pkg--featured { border-color: var(--accent); box-shadow: var(--shadow-md), 0 0 0 1px var(--accent); }

.pkg__media { position: relative; overflow: hidden; aspect-ratio: 16 / 11; background: var(--mint-100); }
.pkg__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease); }
.pkg:hover .pkg__media img { scale: 1.06; }
.pkg__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,43,34,.55), transparent 55%);
}
.pkg__tag {
  position: absolute;
  z-index: 2;
  top: 15px;
  inset-inline-end: 15px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(6px);
  font-size: var(--t-xs);
  font-weight: 800;
  color: var(--brand);
}
.pkg--featured .pkg__tag { background: var(--accent); color: var(--on-accent); }
.pkg__route {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  inset-inline-start: 18px;
  inset-inline-end: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: var(--t-xs);
  font-weight: 700;
}
.pkg__route svg { width: 16px; height: 16px; color: var(--gold-300); }

.pkg__body { padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; flex: 1; }
.pkg__meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--faint); font-size: var(--t-xs); margin-bottom: 12px; }
.pkg__meta span { display: inline-flex; align-items: center; gap: 6px; }
.pkg__meta svg { width: 15px; height: 15px; color: var(--gold-600); }
.pkg__body h3 { font-size: var(--t-h3); margin-bottom: 10px; }
.pkg__desc { font-size: var(--t-sm); color: var(--muted); line-height: 1.9; }

.pkg__feats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-block: 20px;
  padding-block: 20px;
  border-block: 1px solid var(--line-soft);
}
.pkg__feats li { display: flex; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--ink-2); }
.pkg__feats svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--green-500); }

.pkg__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pkg__price small { display: block; font-size: var(--t-xs); color: var(--faint); }
.pkg__price strong { display: block; font-family: var(--font-head); font-size: var(--t-lg); color: var(--brand); margin-top: 2px; }
:root[data-theme="dark"] .pkg__price strong { color: var(--gold-300); }

/* لافتة عرضية (رحلة مخصصة) */
.promo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; margin-top: 26px; }
.promo strong { display: block; font-family: var(--font-head); font-size: var(--t-lg); }
.promo small { display: block; margin-top: 7px; color: var(--muted); font-size: var(--t-sm); line-height: 1.9; }

/* شبكة "يشمل البرنامج" — تُستخدم في صفحات الباقات */
.package-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.package-includes > div {
  display: flex; align-items: center; gap: 10px;
  padding: 15px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: var(--t-sm);
  font-weight: 600;
}
.package-includes svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--gold-600); }
.package-includes > div, .arch > img { min-width: 0; }
.split .arch { min-height: clamp(300px, 40vw, 440px); }

/* بطاقة ميزة صغيرة */
.mini { display: flex; gap: 15px; align-items: flex-start; }
.mini strong { display: block; font-family: var(--font-head); font-size: var(--t-base); }
.mini small { display: block; margin-top: 7px; color: var(--muted); font-size: var(--t-sm); line-height: 1.9; }
.mini--sm strong { font-size: var(--t-sm); }
.mini--sm small { font-size: var(--t-xs); margin-top: 5px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   10. جدول المقارنة — Comparison
   -------------------------------------------------------------------------- */
.cmp-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.cmp { width: 100%; min-width: 680px; border-collapse: collapse; font-size: var(--t-sm); }
.cmp th, .cmp td { padding: 18px 20px; text-align: right; border-bottom: 1px solid var(--line-soft); }
.cmp thead th {
  background: var(--brand-deep);
  color: #fff;
  font-family: var(--font-head);
  font-size: var(--t-sm);
  font-weight: 700;
}
.cmp thead th:first-child { border-start-start-radius: var(--r-lg); }
.cmp thead th:last-child { border-start-end-radius: var(--r-lg); }
.cmp tbody th { font-weight: 600; color: var(--ink-2); background: var(--bg-alt); width: 200px; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .yes { color: var(--green-500); font-weight: 700; }
.cmp .no { color: var(--faint); }
.cmp svg { width: 17px; height: 17px; vertical-align: -3px; }

/* --------------------------------------------------------------------------
   11. معرض الصور — Gallery & Lightbox
   -------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: clamp(12px, 1.4vw, 16px); }
.gallery--feature { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery--feature > :first-child { grid-column: span 2; grid-row: span 2; }

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--mint-100);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: box-shadow .3s var(--ease);
}
.gallery--feature > :first-child.shot { aspect-ratio: auto; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease); }
.shot:hover img { scale: 1.07; }
.shot:hover { box-shadow: var(--shadow-lg); }
.shot figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 26px 16px 13px;
  font-size: var(--t-xs);
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(8,32,26,.85), transparent);
  translate: 0 100%;
  transition: translate .32s var(--ease);
}
.shot:hover figcaption { translate: 0 0; }
.shot::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2317543F' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4.5-4.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0;
  scale: .6;
  transition: opacity .28s, scale .28s var(--ease-out);
}
.shot:hover::before { opacity: 1; scale: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 46px);
  background: rgba(6, 25, 19, .93);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  scale: .94;
  transition: scale .34s var(--ease-out);
}
.lightbox.is-open img { scale: 1; }
.lightbox__cap {
  margin-top: 18px;
  color: #DCE8E1;
  font-size: var(--t-sm);
  text-align: center;
}
.lightbox__cap b { color: var(--gold-300); }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  transition: background .2s, scale .2s;
}
.lightbox__btn:hover { background: rgba(255,255,255,.25); scale: 1.08; }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: clamp(14px, 3vw, 30px); inset-inline-end: clamp(14px, 3vw, 30px); }
.lightbox__prev { inset-inline-end: clamp(10px, 2vw, 26px); top: 50%; translate: 0 -50%; }
.lightbox__next { inset-inline-start: clamp(10px, 2vw, 26px); top: 50%; translate: 0 -50%; }

/* --------------------------------------------------------------------------
   12. الباصات — Buses
   -------------------------------------------------------------------------- */
.bus-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,.82fr); gap: clamp(18px, 2vw, 24px); }
.bus {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 34px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: translate .32s var(--ease-out), box-shadow .32s var(--ease-out);
}
.bus:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); }
.bus--dark { background: linear-gradient(150deg, var(--green-800), var(--green-700)); color: #fff; border-color: transparent; }
.bus--dark h3 { color: #fff; }
.bus--dark p { color: var(--on-brand-soft); }
.bus--dark .bus__list { border-color: rgba(255,255,255,.14); }
.bus--dark .bus__list svg { color: var(--gold-300); }
.bus--sand { background: linear-gradient(150deg, var(--gold-200), var(--sand-200)); border-color: transparent; justify-content: center; }
:root[data-theme="dark"] .bus--sand { background: linear-gradient(150deg, #2B3A26, #21301F); }
.bus__type { font-size: var(--t-xs); font-weight: 800; color: var(--accent-ink); }
.bus--dark .bus__type { color: var(--gold-300); }
.bus h3 { font-size: var(--t-h3); margin-block: 10px 12px; }
.bus p { font-size: var(--t-sm); color: var(--muted); line-height: 1.95; }
.bus__list { display: grid; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.bus__list li { display: flex; align-items: center; gap: 10px; font-size: var(--t-sm); }
.bus__list svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--green-500); }
.bus__cta { margin-top: 24px; }

.note-box {
  flex: 0 0 clamp(240px, 26vw, 300px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.note-box svg { width: 26px; height: 26px; color: var(--accent); flex: 0 0 auto; }
.note-box strong { display: block; font-size: var(--t-sm); }
.note-box small { display: block; color: var(--muted); font-size: var(--t-xs); margin-top: 4px; line-height: 1.7; }

/* --------------------------------------------------------------------------
   13. المواعيد — Departures
   -------------------------------------------------------------------------- */
.dep-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; margin-top: 34px; }
.dep-list > div { display: flex; gap: 14px; align-items: flex-start; }
.dep-list svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--gold-400); margin-top: 3px; }
.dep-list strong { display: block; font-size: var(--t-sm); }
.dep-list small { display: block; color: var(--on-brand-soft); font-size: var(--t-xs); margin-top: 6px; line-height: 1.8; }

.timetable {
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-xl);
}
.timetable > span { font-size: var(--t-xs); font-weight: 800; color: var(--accent-ink); }
.timetable h3 { font-size: var(--t-xl); margin-block: 9px 22px; }
.timetable li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.timetable li:last-of-type { border-bottom: 0; }
.timetable__day {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 56px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  color: var(--brand);
  font-family: var(--font-head);
  font-size: var(--t-xs);
  font-weight: 800;
}
:root[data-theme="dark"] .timetable__day { color: var(--gold-300); }
.timetable li strong { display: block; font-size: var(--t-sm); }
.timetable li small { display: block; color: var(--muted); font-size: var(--t-xs); margin-top: 3px; }
.timetable__foot { margin-top: 18px; font-size: var(--t-xs); color: var(--faint); line-height: 1.8; }

/* --------------------------------------------------------------------------
   14. لماذا نحن + الإحصائيات — Why & Stats
   -------------------------------------------------------------------------- */
.why-visual { position: relative; min-height: clamp(430px, 54vw, 596px); display: flex; align-items: flex-end; justify-content: center; }
.why-arch {
  position: relative;
  width: min(90%, 400px);
  height: clamp(400px, 50vw, 560px);
  overflow: visible;
  background: linear-gradient(158deg, #E1EADF, #CBD9CE);
  box-shadow: var(--shadow-xl);
}
:root[data-theme="dark"] .why-arch { background: linear-gradient(158deg, #1B4536, #123024); }
.why-arch img {
  position: absolute;
  z-index: 2;
  inset-inline-start: 50%;
  bottom: 0;
  width: auto;
  height: 103%;
  max-width: none;
  object-fit: contain;
  translate: 50% 0;
  filter: drop-shadow(0 18px 22px rgba(20,43,36,.2));
}

.why-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 34px); margin-top: 36px; }
.why-item { display: flex; gap: 15px; align-items: flex-start; }
.why-item .ico { width: 46px; height: 46px; border-radius: 13px; }
.why-item .ico svg { width: 22px; height: 22px; }
.why-item h3 { font-size: var(--t-base); margin-bottom: 8px; }
.why-item p { font-size: var(--t-sm); color: var(--muted); line-height: 1.9; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border-radius: var(--r-lg); overflow: hidden; }
.stat { padding: clamp(24px, 3vw, 36px) 20px; background: var(--surface); text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
:root[data-theme="dark"] .stat b { color: var(--gold-300); }
.stat b i { font-style: normal; color: var(--accent); }
.stat span { display: block; margin-top: 10px; font-size: var(--t-sm); font-weight: 600; }
.stat small { display: block; margin-top: 4px; font-size: var(--t-xs); color: var(--faint); }

/* --------------------------------------------------------------------------
   15. الخطوات — Steps
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 22px); position: relative; z-index: 1; }
.step {
  position: relative;
  padding: clamp(26px, 3vw, 34px) clamp(22px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(4px);
  transition: background .3s, translate .3s var(--ease-out), border-color .3s;
}
.step:hover { background: rgba(255,255,255,.09); border-color: rgba(195,155,69,.45); translate: 0 -6px; }
.step__num {
  position: absolute;
  top: 18px;
  inset-inline-start: 22px;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(255,255,255,.13);
}
.step .ico { margin-bottom: 22px; }
.step h3 { color: #fff; font-size: var(--t-base); margin-bottom: 10px; }
.step p { color: var(--on-brand-soft); font-size: var(--t-sm); line-height: 1.9; }

/* --------------------------------------------------------------------------
   16. آية / اقتباس — Verse
   -------------------------------------------------------------------------- */
.verse {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 5vw, 68px) clamp(24px, 4vw, 60px);
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--gold-200), var(--sand-200) 70%, var(--gold-200));
  text-align: center;
}
:root[data-theme="dark"] .verse { background: linear-gradient(140deg, #22371F, #1A2C1B 70%, #24391F); }
.verse > * { position: relative; z-index: 1; }
.verse__mark { margin-inline: auto; width: 52px; height: 52px; color: var(--gold-700); }
:root[data-theme="dark"] .verse__mark { color: var(--gold-300); }
.verse p {
  font-family: var(--font-quran);
  font-size: clamp(1.4rem, 3.2vw, 2.15rem);
  line-height: 2;
  font-weight: 700;
  color: var(--green-800);
  margin-block: 22px 14px;
}
:root[data-theme="dark"] .verse p { color: var(--gold-200); }
.verse cite { font-style: normal; font-size: var(--t-sm); font-weight: 700; color: var(--gold-700); }
:root[data-theme="dark"] .verse cite { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   17. دليل المعتمر — Guide (tabs + checklist)
   -------------------------------------------------------------------------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.tab {
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-head);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink-2);
  transition: background .25s, color .25s, border-color .25s;
}
.tab[aria-selected="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.tab:hover:not([aria-selected="true"]) { border-color: var(--accent); color: var(--accent-ink); }

.panel[hidden] { display: none; }
.panel { animation: fade-up .45s var(--ease-out) both; }
@keyframes fade-up { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

.rite { display: flex; gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--line-soft); }
.rite:last-child { border-bottom: 0; }
.rite__n {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--gold-300);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--t-sm);
}
.rite h3 { font-size: var(--t-base); margin-bottom: 8px; }
.rite p { font-size: var(--t-sm); color: var(--muted); line-height: 1.95; }

.checklist { display: grid; gap: 10px; }
.check {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.check:hover { border-color: var(--accent); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border-radius: 7px;
  border: 2px solid var(--line);
  color: transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.check__box svg { width: 15px; height: 15px; }
.check input:checked + .check__box { background: var(--green-500); border-color: var(--green-500); color: #fff; }
.check input:checked ~ .check__text { color: var(--faint); text-decoration: line-through; }
.check input:focus-visible + .check__box { box-shadow: var(--ring); }
.check__text { font-size: var(--t-sm); font-weight: 500; transition: color .2s; }
.check-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--brand);
}
:root[data-theme="dark"] .check-progress { color: var(--gold-300); }
.check-progress__bar { flex: 1; height: 8px; border-radius: var(--r-pill); background: var(--line-soft); overflow: hidden; }
.check-progress__fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-500), var(--accent)); width: 0; transition: width .4s var(--ease); }

.adhkar { display: grid; gap: 16px; }
.dhikr {
  padding: 24px 26px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  border-inline-start: 3px solid var(--accent);
  background: var(--surface);
}
.dhikr p { font-family: var(--font-quran); font-size: var(--t-lg); line-height: 2.1; color: var(--ink); }
.dhikr small { display: block; margin-top: 10px; font-size: var(--t-xs); color: var(--faint); }

/* --------------------------------------------------------------------------
   18. آراء العملاء — Testimonials
   -------------------------------------------------------------------------- */
.rail {
  display: flex;
  gap: clamp(16px, 2vw, 22px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.rail > * { scroll-snap-align: start; flex: 0 0 clamp(280px, 33%, 400px); }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.rail-nav { display: flex; gap: 10px; }
.rail-nav button {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand);
  transition: background .2s, color .2s, border-color .2s;
}
.rail-nav button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.rail-nav svg { width: 20px; height: 20px; }

.quote {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 32px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.quote__stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 16px; }
.quote__stars svg { width: 18px; height: 18px; }
.quote p { font-size: var(--t-sm); line-height: 2; color: var(--ink-2); flex: 1; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.quote__av {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--t-sm);
  flex: 0 0 auto;
}
:root[data-theme="dark"] .quote__av { background: var(--surface-2); color: var(--gold-300); }
.quote footer strong { display: block; font-size: var(--t-sm); }
.quote footer small { display: block; font-size: var(--t-xs); color: var(--faint); margin-top: 2px; }

/* --------------------------------------------------------------------------
   19. نموذج الحجز — Booking Wizard
   -------------------------------------------------------------------------- */
/* صفحة الحجز: الفورم أولًا (فوق على الموبايل، ويمينًا على سطح المكتب) */
.booking-split .wizard { order: -1; }

.wizard {
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.wizard__head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: clamp(22px, 2.6vw, 30px) clamp(24px, 3vw, 38px);
  background: linear-gradient(120deg, var(--green-800), var(--green-700));
  color: #fff;
}
.wizard__head .ico { background: rgba(195,155,69,.16); color: var(--gold-300); }
.wizard__head strong { display: block; font-family: var(--font-head); font-size: var(--t-lg); }
.wizard__head small { display: block; color: var(--on-brand-soft); font-size: var(--t-xs); margin-top: 4px; }

.wizard__steps { display: flex; gap: 6px; padding: 20px clamp(24px, 3vw, 38px) 0; }
.wizard__dot { flex: 1; height: 5px; border-radius: var(--r-pill); background: var(--line-soft); transition: background .35s var(--ease); }
.wizard__dot.is-on { background: var(--accent); }

.wizard__body { padding: clamp(24px, 3vw, 38px); }
.wizard__legend { font-family: var(--font-head); font-size: var(--t-lg); font-weight: 700; margin-bottom: 6px; }
.wizard__hint { font-size: var(--t-sm); color: var(--muted); margin-bottom: 24px; }

.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 18px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .22s, background .22s, translate .22s var(--ease);
}
.opt:hover { border-color: var(--accent); translate: 0 -2px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__tick {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line);
  color: transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.opt__tick svg { width: 13px; height: 13px; }
.opt input:checked + .opt__tick { background: var(--green-500); border-color: var(--green-500); color: #fff; }
.opt:has(input:checked) { border-color: var(--green-500); background: color-mix(in srgb, var(--green-500) 7%, var(--bg)); }
.opt input:focus-visible + .opt__tick { box-shadow: var(--ring); }
.opt__label { font-size: var(--t-sm); font-weight: 600; }
.opt__label small { display: block; font-weight: 400; font-size: var(--t-xs); color: var(--faint); margin-top: 2px; }

.field { display: grid; gap: 8px; }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field label i { font-style: normal; color: #C0392B; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 17px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: var(--t-sm);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 108px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: var(--ring);
}
.field input[dir="ltr"] { text-align: right; }
.field small.err { color: #C0392B; font-size: var(--t-xs); display: none; }
.field.is-bad input, .field.is-bad select { border-color: #C0392B; }
.field.is-bad small.err { display: block; }

.wizard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(20px, 2.4vw, 26px) clamp(24px, 3vw, 38px);
  border-top: 1px solid var(--line-soft);
  background: var(--bg-alt);
}
.wizard__count { font-size: var(--t-xs); color: var(--muted); font-weight: 600; }

.summary { display: grid; gap: 12px; margin-bottom: 24px; }
.summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--bg-alt);
  font-size: var(--t-sm);
}
.summary span { color: var(--muted); }
.summary b { font-weight: 700; }

/* --------------------------------------------------------------------------
   20. الأسئلة الشائعة — FAQ
   -------------------------------------------------------------------------- */
.faq-search { position: relative; margin-bottom: 20px; }
.faq-search input {
  width: 100%;
  min-height: 54px;
  padding: 14px 52px 14px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: var(--t-sm);
}
.faq-search input:focus { outline: 0; border-color: var(--accent); box-shadow: var(--ring); }
.faq-search svg {
  position: absolute;
  inset-inline-end: 19px;
  top: 50%;
  translate: 0 -50%;
  width: 20px; height: 20px;
  color: var(--faint);
  pointer-events: none;
}

.accordion { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-soft); overflow: hidden; box-shadow: var(--shadow-sm); }
.qa { border-bottom: 1px solid var(--line-soft); }
.qa:last-child { border-bottom: 0; }
.qa[hidden] { display: none; }
.qa__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 2.4vw, 28px);
  text-align: right;
  font-family: var(--font-head);
  font-size: var(--t-base);
  font-weight: 600;
  transition: color .2s, background .2s;
}
.qa__q:hover { color: var(--accent-ink); background: var(--bg-alt); }
.qa__q svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--faint); transition: rotate .3s var(--ease), color .2s; }
.qa.is-open .qa__q { color: var(--brand); }
:root[data-theme="dark"] .qa.is-open .qa__q { color: var(--gold-300); }
.qa.is-open .qa__q svg { rotate: 180deg; color: var(--accent); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p {
  padding: 0 clamp(20px, 2.4vw, 28px) 24px;
  font-size: var(--t-sm);
  line-height: 2;
  color: var(--muted);
}

.help-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, var(--green-800), var(--green-700));
  color: #fff;
}
.help-card .ico { background: rgba(195,155,69,.16); color: var(--gold-300); }
.help-card strong { display: block; font-family: var(--font-head); font-size: var(--t-base); }
.help-card small { display: block; color: var(--on-brand-soft); font-size: var(--t-xs); margin-block: 5px 12px; }

/* --------------------------------------------------------------------------
   21. النص التعريفي — Rich content
   -------------------------------------------------------------------------- */
.prose h2 { font-size: var(--t-h2); margin-block: 0 18px; }
.prose h3 { font-size: var(--t-xl); margin-block: 34px 12px; }
.prose p { font-size: var(--t-md); line-height: 2.15; color: var(--ink-2); margin-bottom: 18px; }
.prose ul { display: grid; gap: 12px; margin-block: 18px; }
.prose ul li { display: flex; gap: 11px; font-size: var(--t-md); line-height: 1.95; color: var(--ink-2); }
.prose ul svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 6px; color: var(--accent); }

.aside-card { padding: clamp(24px, 2.8vw, 32px); border-radius: var(--r-lg); background: var(--bg-alt); border: 1px solid var(--line-soft); position: sticky; top: 100px; }
.aside-card h3 { font-size: var(--t-lg); margin-bottom: 20px; }
.aside-card ul { display: grid; gap: 18px; }
.aside-card li { display: flex; gap: 13px; }
.aside-card li svg { width: 21px; height: 21px; flex: 0 0 auto; color: var(--gold-600); margin-top: 2px; }
.aside-card strong { display: block; font-size: var(--t-sm); color: var(--brand); margin-bottom: 4px; }
:root[data-theme="dark"] .aside-card strong { color: var(--gold-300); }
.aside-card small { display: block; font-size: var(--t-xs); color: var(--muted); line-height: 1.8; }

/* --------------------------------------------------------------------------
   22. CTA + الفوتر — CTA & Footer
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 54px);
  padding: clamp(36px, 4.6vw, 62px) clamp(28px, 4.6vw, 68px);
  border-radius: var(--r-xl);
  background: linear-gradient(125deg, var(--green-900), var(--green-700) 55%, var(--green-800));
  color: #fff;
  box-shadow: var(--shadow-xl);
}
.cta > * { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); color: #fff; margin-block: 12px 12px; }
.cta p { color: var(--on-brand-soft); font-size: var(--t-sm); max-width: 48ch; }
.cta__actions { display: grid; gap: 14px; min-width: min(100%, 268px); }
.cta__phone { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 12px; }
.cta__phone svg { width: 22px; height: 22px; color: var(--gold-300); }
.cta__phone small { display: block; font-size: var(--t-xs); color: var(--on-brand-soft); }
.cta__phone strong { display: block; font-size: var(--t-sm); margin-top: 3px; direction: ltr; }
.cta__glyph { position: absolute; inset-inline-start: 24%; top: 50%; translate: 0 -50%; z-index: 1; opacity: .07; }
.cta__glyph svg { width: 210px; height: 210px; }

.foot { background: var(--green-950); color: #fff; padding-block: clamp(48px, 6vw, 76px) 26px; position: relative; overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); position: relative; z-index: 1; }
.foot .brand__name { color: #fff; }
.foot .brand__tag { color: var(--gold-400); }
.foot__about { margin-top: 20px; max-width: 34ch; font-size: var(--t-sm); line-height: 2; color: #97AFA5; }
.foot__social { display: flex; gap: 10px; margin-top: 22px; }
.foot__social a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  color: #B7CBC2;
  transition: background .22s, color .22s, border-color .22s, translate .22s var(--ease);
}
.foot__social a:hover { background: var(--accent); color: var(--green-950); border-color: var(--accent); translate: 0 -3px; }
.foot__social svg { width: 19px; height: 19px; }
.foot__grid h3 { font-family: var(--font-head); font-size: var(--t-sm); color: var(--gold-400); margin-bottom: 20px; }
.foot__links { display: grid; gap: 13px; }
.foot__links a { font-size: var(--t-sm); color: #A9BDB5; transition: color .2s, padding-inline-start .2s; }
.foot__links a:hover { color: var(--gold-300); padding-inline-start: 5px; }
.foot__contact { display: grid; gap: 16px; }
.foot__contact a, .foot__contact div { display: flex; align-items: flex-start; gap: 11px; font-size: var(--t-sm); color: #A9BDB5; transition: color .2s; }
.foot__contact a:hover { color: var(--gold-300); }
.foot__contact svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--gold-400); margin-top: 4px; }
.foot__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(36px, 4vw, 54px);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: var(--t-xs);
  color: #7A9389;
}
.foot__bottom nav { display: flex; gap: 20px; }
.foot__bottom a:hover { color: var(--gold-300); }

/* --------------------------------------------------------------------------
   23. عناصر عائمة — Floating
   -------------------------------------------------------------------------- */
.dock {
  position: fixed;
  z-index: 70;
  inset-inline-start: 22px;
  bottom: 22px;
  display: grid;
  gap: 12px;
}
.dock a, .dock button {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: scale .25s var(--ease), opacity .3s, visibility .3s;
}
.dock a:hover, .dock button:hover { scale: 1.09; }
.dock svg { width: 26px; height: 26px; }
.dock__wa { background: #1FA855; position: relative; }
.dock__wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #1FA855;
  animation: ping 2.6s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes ping { 0% { scale: 1; opacity: .7; } 80%, 100% { scale: 1.7; opacity: 0; } }
.dock__top { background: var(--brand); opacity: 0; visibility: hidden; }
.dock__top.is-on { opacity: 1; visibility: visible; }

.mobile-bar { display: none; }

/* --------------------------------------------------------------------------
   24. صفحات فرعية — Inner pages
   -------------------------------------------------------------------------- */
.crumbs { display: flex; align-items: center; gap: 9px; font-size: var(--t-xs); color: var(--faint); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(38px, 5vw, 68px) clamp(48px, 6vw, 86px);
  background:
    radial-gradient(110% 80% at 85% 10%, rgba(195,155,69,.14), transparent 55%),
    linear-gradient(126deg, var(--sand-100), var(--mint-50) 65%, var(--sand-200));
}
:root[data-theme="dark"] .page-hero {
  background:
    radial-gradient(110% 80% at 85% 10%, rgba(195,155,69,.12), transparent 55%),
    linear-gradient(126deg, #0B2620, #0E2E25 62%, #0A2119);
}
.page-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(34px, 5vw, 76px); align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.3; letter-spacing: -.03em; color: var(--brand); margin-block: 14px 18px; }
:root[data-theme="dark"] .page-hero h1 { color: var(--ink); }
.page-hero__lead { max-width: 58ch; font-size: var(--t-md); line-height: 2.05; color: var(--muted); margin-bottom: 28px; }

.mihrab-card {
  min-height: clamp(360px, 42vw, 486px);
  padding: clamp(30px, 3.6vw, 48px);
  border-radius: 44% 44% var(--r-lg) var(--r-lg) / 58% 58% var(--r-lg) var(--r-lg);
  background: linear-gradient(155deg, var(--green-800), var(--green-700) 65%, var(--green-600));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.mihrab-card > * { position: relative; z-index: 1; }
.mihrab-card__crown { align-self: center; width: 54px; height: 54px; color: var(--gold-400); margin-bottom: 12px; }
.mihrab-card__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.mihrab-card__row svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--gold-300); }
.mihrab-card__row small { display: block; color: var(--on-brand-soft); font-size: var(--t-xs); }
.mihrab-card__row strong { display: block; font-size: var(--t-sm); margin-top: 3px; }

.info-list { display: grid; gap: 18px; }
.info-list > a, .info-list > div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  transition: border-color .22s, translate .22s var(--ease);
}
.info-list > a:hover { border-color: var(--accent); translate: 0 -3px; }
.info-list svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--gold-600); }
.info-list small { display: block; font-size: var(--t-xs); color: var(--faint); }
.info-list strong { display: block; font-size: var(--t-base); margin-top: 4px; }
.info-list strong[dir="ltr"] { direction: ltr; text-align: right; }

.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 22px); }
.value {
  padding: clamp(24px, 2.8vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  transition: translate .3s var(--ease-out), box-shadow .3s;
}
.value:hover { translate: 0 -6px; box-shadow: var(--shadow-md); }
.value h3 { font-size: var(--t-base); margin-block: 18px 9px; }
.value p { font-size: var(--t-sm); color: var(--muted); line-height: 1.95; }

.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(120deg, var(--green-800), var(--green-700)); color: #fff; }
.strip > div {
  padding: clamp(28px, 3.4vw, 42px) 28px;
  text-align: center;
  border-inline-start: 1px solid rgba(255,255,255,.1);
}
.strip > div:first-child { border-inline-start: 0; }
.strip .ico { margin-inline: auto; margin-bottom: 16px; }
.strip strong { display: block; font-family: var(--font-head); font-size: var(--t-lg); }
.strip small { display: block; margin-top: 8px; color: var(--on-brand-soft); font-size: var(--t-sm); }

/* --------------------------------------------------------------------------
   25. ظهور بالتمرير — Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition: opacity .7s var(--ease-out), translate .7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; translate: 0 0; }
[data-reveal="right"] { translate: 30px 0; }
[data-reveal="left"] { translate: -30px 0; }
[data-reveal="scale"] { translate: 0 0; scale: .96; transition-property: opacity, scale; }
[data-reveal="scale"].is-in { scale: 1; }

/* على الموبايل: ظهور رأسي فقط — الانزلاق الأفقي يسبب تمريرًا جانبيًا ويقلّ راحة القراءة */
@media (max-width: 900px) {
  [data-reveal="right"], [data-reveal="left"] { translate: 0 22px; }
}

/* --------------------------------------------------------------------------
   26. الاستجابة — Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }
  /* بطاقات أصغر حتى لا تحجب صورة المعتمر على الأجهزة المتوسطة */
  .float-card { gap: 8px; padding: 8px 11px; max-width: 50%; border-radius: 10px; }
  .float-card svg { width: 16px; height: 16px; }
  .float-card small { font-size: 0.625rem; }
  .float-card strong { font-size: 0.6875rem; }
  .float-card--a { top: 78px; }
  .float-card--b { bottom: 76px; }
  .float-card--c { display: none; }
  .bus-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bus--sand { grid-column: span 2; }
  .gallery--feature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .value-grid, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .topbar__links { display: none; }
  .steps, .g-3, .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .page-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .split--wide-start { grid-template-columns: minmax(0, 1fr); }
  .aside-card { position: static; }
  .countdown { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .countdown__clock { flex-wrap: wrap; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .strip { grid-template-columns: minmax(0, 1fr); }
  .strip > div { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .strip > div:first-child { border-top: 0; }

  /* ── التنقّل للموبايل ─────────────────────────────────────────────
     الدرج عنصر مستقل خارج الهيدر: لو كان ابنًا له فإن
     z-index:90 + position:sticky ينشئان stacking context يحبسه
     تحت الطبقة المعتمة، ويصبح زر الإغلاق غير قابل للنقر.            */
  .nav-desktop { display: none; }
  .burger { display: grid; place-items: center; }

  .nav {
    position: fixed;
    z-index: 105;
    top: 0;
    bottom: 0;
    right: 0;          /* يُثبَّت على يمين الشاشة */
    left: auto;
    width: min(348px, 88vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: var(--surface);
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);   /* مخفي: خارج الشاشة يمينًا */
    visibility: hidden;
    transition: transform .42s var(--ease), visibility .42s;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  body.nav-open .nav { transform: translateX(0); visibility: visible; }

  .nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex: 0 0 auto;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line-soft);
    background: var(--bg-alt);
  }
  .nav__head .brand__logo img { height: 42px; }

  .nav__link {
    padding: 17px 20px;
    font-size: var(--t-md);
    font-weight: 600;
    border-bottom: 1px solid var(--line-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    opacity: 0;
    translate: 16px 0;
    transition: opacity .32s var(--ease-out), translate .32s var(--ease-out), background .2s, color .2s;
  }
  .nav__link::after { display: none; }
  .nav__link::before {
    content: "";
    width: 6px; height: 6px;
    flex: 0 0 auto;
    order: 2;
    rotate: 45deg;
    background: var(--accent);
    opacity: 0;
    transition: opacity .2s;
  }
  .nav__link:hover, .nav__link[aria-current="page"] { background: var(--bg-alt); color: var(--brand); }
  .nav__link[aria-current="page"]::before, .nav__link:hover::before { opacity: 1; }
  body.nav-open .nav__link { opacity: 1; translate: 0 0; }
  body.nav-open .nav__link:nth-child(2) { transition-delay: .06s; }
  body.nav-open .nav__link:nth-child(3) { transition-delay: .10s; }
  body.nav-open .nav__link:nth-child(4) { transition-delay: .14s; }
  body.nav-open .nav__link:nth-child(5) { transition-delay: .18s; }
  body.nav-open .nav__link:nth-child(6) { transition-delay: .22s; }
  body.nav-open .nav__link:nth-child(7) { transition-delay: .26s; }
  body.nav-open .nav__link:nth-child(8) { transition-delay: .30s; }

  .nav__foot {
    display: grid;
    gap: 12px;
    margin-top: auto;
    flex: 0 0 auto;
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-soft);
    background: var(--bg-alt);
  }
  .nav__foot .tlink { justify-content: center; }
  .nav__foot .tlink strong { direction: ltr; }
  .nav__cta { display: none; }
  .masthead__cta { display: none; }
  .mobile-bar {
    position: fixed;
    z-index: 75;
    inset-inline: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-soft);
    box-shadow: 0 -6px 24px rgba(20,43,36,.1);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 11px 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--ink-2);
    border-inline-start: 1px solid var(--line-soft);
  }
  .mobile-bar a:first-child { border-inline-start: 0; }
  .mobile-bar a svg { width: 21px; height: 21px; color: var(--brand); }
  .mobile-bar a.is-wa svg { color: #1FA855; }
  .dock { bottom: 82px; inset-inline-start: 16px; }
  .dock a, .dock button { width: 48px; height: 48px; }
  .dock svg { width: 23px; height: 23px; }
  body { padding-bottom: 62px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 80px; }
  .masthead__in { min-height: 68px; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__name { font-size: 1.05rem; }
  .hero { padding-block-start: 30px; }
  .hero__grid { display: flex; flex-direction: column; min-height: 0; gap: 34px; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__proof { margin-inline: auto; justify-content: center; }
  .hero__visual { width: 100%; height: 430px; }
  /* بطاقات صغيرة جدًا على الحواف — تبقى صورة المعتمر واضحة بالكامل */
  .float-card {
    gap: 7px;
    padding: 7px 10px;
    max-width: 47%;
    border-radius: 9px;
  }
  .float-card svg { width: 14px; height: 14px; }
  .float-card small { font-size: 0.5625rem; margin-bottom: 0; }
  .float-card strong { font-size: 0.625rem; margin-top: 1px; }
  .float-card--a { top: 62px; }
  .float-card--b { bottom: 74px; }
  .float-card--c { display: none; }
  .hero__badge { inset-inline: 14px; bottom: 14px; font-size: 0.625rem; gap: 7px; }
  .hero__badge svg { width: 14px; height: 14px; }
  .quickbar__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .quickbar__item { padding: 20px 14px; border-top: 1px solid var(--line-soft); }
  .quickbar__item:nth-child(-n+2) { border-top: 0; }
  .quickbar__item:nth-child(odd) { border-inline-start: 0; }
  .head-row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .pkg-grid, .steps, .g-3, .g-2, .bus-grid, .dep-list, .why-list, .value-grid, .g-4 { grid-template-columns: minmax(0, 1fr); }
  .cmp-wrap { position: relative; }
  .cmp-wrap::after {
    content: "← اسحب لرؤية باقي الأعمدة";
    position: absolute;
    inset-block-end: 0; inset-inline: 0;
    padding: 8px;
    text-align: center;
    font-size: var(--t-xs);
    font-weight: 600;
    color: var(--faint);
    background: linear-gradient(to top, var(--surface) 60%, transparent);
    pointer-events: none;
  }
  .cmp tbody tr:last-child th, .cmp tbody tr:last-child td { padding-bottom: 42px; }
  .bus--sand { grid-column: auto; }
  .gallery, .gallery--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--feature > :first-child { grid-column: span 2; grid-row: auto; }
  .gallery--feature > :first-child.shot { aspect-ratio: 4 / 3; }
  .why-visual { min-height: 400px; order: 2; }
  .why-arch { height: 390px; }
  .cta { flex-direction: column; align-items: stretch; text-align: center; }
  .cta__glyph { display: none; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .foot__brand { grid-column: auto; }
  .foot__bottom { flex-direction: column; text-align: center; }
  .opt-grid { grid-template-columns: minmax(0, 1fr); }
  .wizard__foot { flex-direction: column-reverse; }
  .wizard__foot .btn { width: 100%; }
  .promo { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 16px; }
  .promo .btn { width: 100%; }
  .mini { flex-direction: column; gap: 12px; }
  .mihrab-card { border-radius: 34% 34% var(--r-lg) var(--r-lg) / 44% 44% var(--r-lg) var(--r-lg); }
  .verse p { font-size: 1.32rem; }
}

@media (max-width: 420px) {
  :root { --gutter: 15px; }
  .hero h1 { font-size: 1.95rem; }
  .hero h1 em { font-size: .62em; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero__cta .btn { width: 100%; }
  .hero__cta .tlink { justify-content: center; }
  .hero__visual { height: 360px; }
  .hero__arch { width: 252px; height: 340px; }
  .float-card { padding: 11px 13px; gap: 9px; }
  .float-card svg { width: 19px; height: 19px; }
  .float-card--a { top: 74px; }
  .float-card--b { bottom: 56px; }
  .countdown__unit { min-width: 0; flex: 1; padding: 11px 4px; }
  .countdown__unit b { font-size: 1.32rem; }
  .countdown__clock { flex-wrap: nowrap; gap: 7px; }
  .gallery--feature > :first-child { grid-column: span 2; }
  .verse { padding-inline: 18px; }
  .verse p { font-size: 1.18rem; line-height: 1.95; }
  .wizard__head { gap: 13px; padding-inline: 20px; }
  .wizard__head .ico { width: 44px; height: 44px; }
  .rite { gap: 14px; }
  .quote { padding: 22px 20px; }
}

/* شاشات صغيرة جدًا */
@media (max-width: 340px) {
  .hero h1 { font-size: 1.75rem; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .countdown__unit small { font-size: .625rem; }
}

/* --------------------------------------------------------------------------
   27. تقليل الحركة + الطباعة
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; translate: 0 0; scale: 1; }
}

@media print {
  .masthead, .topbar, .dock, .mobile-bar, .nav, .cta, .wizard { display: none !important; }
  body { background: #fff; color: #000; }
  .band { padding-block: 20px; }
}
