/* =========================================================
   sultanhassan.com · المكونات والتخطيط · site.css (v1)
   يعتمد على tokens.css. كل الاتجاهات بخصائص منطقية
   (inline-start = يمين في العربي) عشان RTL يشتغل صح.
   ========================================================= */

/* ---------- 0. الأساس ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--w-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }
.lat { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }   /* إنجليزي/أرقام وسط العربي: ما ينقسم على سطرين */
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
.o { color: var(--c-orange); }                                /* الكلمة المهمة (وحدة بس في العنوان) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 20px; height: 20px; }
.ico--xs { width: 16px; height: 16px; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--c-orange-glow); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100; background: var(--c-orange); color: var(--c-on-orange); padding: 12px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 16px; }

/* ---------- 1. التخطيط ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--band { background: var(--c-surface); }
.section + .section:not(.section--band) { padding-top: 0; }   /* قسمين على نفس الخلفية: مسافة وحدة بينهم */
.section--band + .section:not(.section--band) { padding-top: var(--section-y); }

.stack > * + * { margin-top: var(--gap-group); }
.stack-lg > * + * { margin-top: var(--gap-block); }

/* ---------- 2. الطباعة ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--w-label);
  color: var(--c-text-2);
}
.dia { width: 8px; height: 8px; flex: none; background: var(--c-orange); transform: rotate(45deg); border-radius: 1px; }
.h1, .h2, .h3 { text-wrap: balance; }
p, .lead, .body, li, dd { text-wrap: pretty; }   /* بدون كلمة يتيمة في آخر الفقرة */
.h1 { font-size: var(--fs-display); line-height: var(--lh-display); font-weight: var(--w-display); letter-spacing: 0; }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--w-title); }
.h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--w-sub); }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--c-text-2); font-weight: var(--w-body); max-width: 38em; }
.body { color: var(--c-text-2); max-width: 40em; }
.small { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-2); }
.strong { color: var(--c-text); font-weight: var(--w-sub); }
.ph { border-bottom: 1.5px dashed var(--c-text-2); }           /* متغير ينتظر قرار (مثل رقم الوثيقة) */
.head { margin-bottom: var(--gap-title); }
.head > * + * { margin-top: var(--gap-group); }

/* ---------- 3. الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--btn-h); padding: 0 24px;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-size: var(--fs-btn); line-height: 1.3; font-weight: var(--w-sub);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.btn .ico { width: 20px; height: 20px; stroke-width: 2.6; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: var(--btn-h-lg); padding: 0 32px; }
.btn--block { width: 100%; }
/* الأساسي: برتقالي ونصه أسود */
.btn--primary { background: var(--c-orange); color: var(--c-on-orange); }
.btn--primary:hover { background: var(--c-orange-glow); }
/* الثانوي: حد ونص أبيض */
.btn--secondary { background: transparent; color: var(--c-text); border-color: var(--c-line-strong); }
.btn--secondary:hover { border-color: var(--c-orange); color: var(--c-orange-glow); }
/* على اللوحة البرتقالية (الدعوة الأخيرة) */
.btn--dark { background: var(--c-bg); color: var(--c-text); }
.btn--dark:hover { background: var(--c-surface); }
.btn--outline-dark { background: transparent; color: var(--c-on-orange); border-color: var(--c-on-orange); }
.btn--outline-dark:hover { background: rgba(16,16,15,.08); }
.on-orange :focus-visible { outline-color: var(--c-on-orange); }
/* الحالات */
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn--primary[disabled]:hover { background: var(--c-orange); }
.btn.is-loading { cursor: progress; }
.btn.is-loading .spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-inline-end-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-loading .spin { animation: none; } }

/* رابط نصي (مثل «شوف الخدمات») */
.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap);
  color: var(--c-orange); font-weight: var(--w-label); text-decoration: none;
  text-underline-offset: 6px; text-decoration-thickness: 1.5px;
}
.link:hover { text-decoration-line: underline; color: var(--c-orange-glow); }
.link .ico { width: 18px; height: 18px; stroke-width: 2.4; }
.link--muted { color: var(--c-text); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta__note { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-2); }

/* ---------- 4. الشارات ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px; min-height: 28px;
  padding: 2px 12px; border-radius: var(--r-pill);
  font-size: 14px; line-height: 1.5; font-weight: var(--w-label); white-space: nowrap;
}
.badge--launch { background: var(--c-orange); color: var(--c-on-orange); font-weight: var(--w-sub); }
.badge--open   { border: 1.5px solid var(--c-orange); color: var(--c-orange-glow); }
.badge--soon   { background: var(--c-fill-soft); color: var(--c-text-2); }
.badge--later  { border: 1.5px dashed var(--c-line-strong); color: var(--c-text-2); }
.badge--full   { border: 1.5px solid var(--c-line-strong); color: var(--c-text-2); }
.badge--start  { border: 1.5px solid var(--c-orange); color: var(--c-orange-glow); }
.badge .dia { width: 7px; height: 7px; }
.badge--launch .dia { background: var(--c-on-orange); }

/* مؤشر المقاعد: مربعات مايلة (رمز البراند). المملوء = متاح */
.seats { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-2); font-weight: var(--w-label); }
.seats__dots { display: inline-flex; gap: 8px; }   /* بدون ltr: التعبئة تبدأ من اليمين */
.seats__dots i { width: 10px; height: 10px; transform: rotate(45deg); border: 1.5px solid var(--c-orange); border-radius: 1.5px; }
.seats__dots i.on { background: var(--c-orange); }
.seats--full .seats__dots i { border-color: var(--c-line-strong); }

/* ---------- 5. الشريط العلوي ---------- */
.topbar { background: var(--c-surface); border-bottom: 1px solid var(--c-line); font-size: var(--fs-small); line-height: var(--lh-small); }
.topbar__in { display: flex; align-items: center; gap: 16px; min-height: 48px; padding-block: 8px; }
.topbar__msg { flex: 1; color: var(--c-text); }
.topbar__msg .dia { display: inline-block; margin-inline-end: 12px; vertical-align: 2px; }
.topbar__txt { margin-inline-end: 12px; }
.topbar__link { color: var(--c-orange); font-weight: var(--w-sub); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); vertical-align: middle; margin-block: -12px; white-space: nowrap; }
.topbar__link:hover { text-decoration: underline; text-underline-offset: 5px; }
.topbar__link .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.topbar__close { flex: none; width: var(--tap); height: var(--tap); display: grid; place-items: center; background: none; border: 0; color: var(--c-text-2); border-radius: var(--r-sm); cursor: pointer; margin-inline-end: -10px; }
.topbar__close:hover { color: var(--c-text); background: var(--c-fill-soft); }

/* ---------- 6. الهيدر ---------- */
.header { position: sticky; top: 0; z-index: 40; background: var(--c-overlay); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--c-line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; min-height: var(--tap); }
.logo img { height: 28px; width: auto; }
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 8px; }
.nav__a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--c-text-2); font-weight: var(--w-label); font-size: 16px; }
.nav__a:hover, .nav__a[aria-current="page"] { color: var(--c-text); }
.nav__a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--c-orange); border-radius: 0; }
.nav__a .ico { width: 16px; height: 16px; stroke-width: 2.4; transition: transform var(--dur-2) var(--ease); }
.header__cta { display: none; }
.menu-btn { width: var(--tap); height: var(--tap); display: grid; place-items: center; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-sm); cursor: pointer; color: var(--c-text); }
/* القائمة المنسدلة للخدمات */
.dd { position: relative; }
.dd__panel { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 260px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: 8px; display: none; }
.dd.is-open .dd__panel { display: block; }
.dd.is-open > .nav__a .ico { transform: rotate(180deg); }
.dd__a { display: flex; align-items: center; gap: 12px; min-height: var(--tap); padding: 8px 12px; border-radius: var(--r-sm); text-decoration: none; font-weight: var(--w-label); }
.dd__a:hover { background: var(--c-fill-soft); }
.dd__a .ico { color: var(--c-orange); }
.dd__a .badge { margin-inline-start: auto; }
/* قائمة الجوال */
.mnav { background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.mnav__list { padding-block: 8px 24px; }
.mnav__a { display: flex; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--c-line); text-decoration: none; font-weight: var(--w-label); font-size: 17px; }
.mnav__a .ico { color: var(--c-orange); }
.mnav__sub { padding-inline-start: 36px; }
.mnav__sub .mnav__a { font-size: 16px; color: var(--c-text-2); min-height: 48px; }
.mnav__sub .badge { margin-inline-start: auto; }
.mnav .btn { margin-top: 24px; }
@media (min-width: 1024px) {
  .logo img { height: 32px; }
  .nav { display: block; }
  .header__cta { display: inline-flex; min-height: var(--tap); padding: 0 20px; font-size: 16px; }
  .menu-btn { display: none; }
}

/* ---------- 7. البطاقات العامة + التنبيه ---------- */
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 24px; }
.panel { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 24px; }
@media (min-width: 1024px) { .card { padding: 32px; } .panel { padding: 48px; } }
/* سطر تنبيه (حد برتقالي يمين، مثل قوالب الهوية) */
.note { border-inline-start: 3px solid var(--c-orange); background: var(--c-surface); border-start-end-radius: var(--r-sm); border-end-end-radius: var(--r-sm); padding: 16px 20px; color: var(--c-text); }
.section--band .note { background: var(--c-bg); }
.note--plain { background: transparent; padding-block: 4px; }
.note .h3 + p { margin-top: 8px; }

/* أيقونة داخل مربع */
.tile { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--c-bg); border: 1px solid var(--c-line); color: var(--c-orange); }
.tile--lg { width: 64px; height: 64px; border-radius: var(--r-md); }
.tile--lg .ico { width: 32px; height: 32px; stroke-width: 1.75; }
.tile--muted { color: var(--c-text-2); }

/* قائمة بنقاط مربعات مايلة */
.dlist > li { position: relative; padding-inline-start: 24px; }
.dlist > li + li { margin-top: 12px; }
.dlist > li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .72em; width: 8px; height: 8px; background: var(--c-orange); transform: rotate(45deg); border-radius: 1px; }
.dlist--muted > li::before { background: transparent; border: 1.5px solid var(--c-text-2); }

/* ---------- 8. بطاقة المنصة ---------- */
.pgrid { display: grid; gap: 16px; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 16px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 24px; transition: border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease); }
.pcard:hover { border-color: var(--c-line-strong); }
.pcard__top { display: flex; align-items: center; gap: 16px; }
.pcard__name { font-size: var(--fs-h3); line-height: 1.75; font-weight: var(--w-sub); }
.pcard__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pcard__line { color: var(--c-text-2); }
.pcard__svc { display: flex; flex-wrap: wrap; gap: 8px; }
.pcard__svc li { font-size: var(--fs-small); line-height: var(--lh-small); padding: 4px 12px; border-radius: var(--r-xs); background: var(--c-bg); border: 1px solid var(--c-line); color: var(--c-text-2); }
.pcard__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.pcard--soon .pcard__name { color: var(--c-text); }
/* المميزة (قوقل) */
.pcard--featured { border: 1.5px solid var(--c-orange); background:
  radial-gradient(120% 90% at 100% 0%, rgba(229,132,61,.10), rgba(229,132,61,0) 60%), var(--c-surface); }
.pcard--featured:hover { border-color: var(--c-orange-glow); }
.pcard--featured .pcard__svc li { color: var(--c-text); }
@media (min-width: 1024px) {
  .pgrid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .pgrid .pcard--featured { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; padding: 40px; }
  .pgrid .pcard--soon .pcard__name { font-size: 20px; }
  .pgrid .pcard--soon .tile { width: 40px; height: 40px; }
  .pgrid .pcard--soon .pcard__top { gap: 12px; }
  .pgrid .pcard--featured .pcard__foot { margin: 0; padding: 0; border: 0; flex-direction: column; align-items: flex-end; }
  .pgrid .pcard--featured .pcard__line { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--c-text); }
  .pgrid--2 { grid-template-columns: repeat(2, 1fr); }
  .pgrid--2 .pcard--featured { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
  .pgrid--2 .pcard--featured .pcard__foot { flex-direction: row; justify-content: flex-start; align-items: center; border-top: 1px solid var(--c-line); padding-top: 24px; }
}

/* ---------- 9. بطاقة الخدمة (صفحات المنصات) ---------- */
.sgrid { display: grid; gap: 16px; }
.scard { display: flex; flex-direction: column; gap: 24px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 24px; scroll-margin-top: calc(var(--header-h) + 72px); }
.scard__head > * + * { margin-top: 12px; }
.scard__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.scard__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--w-sub); }
.scard__nick { display: block; color: var(--c-orange-glow); font-size: var(--fs-body); font-weight: var(--w-label); margin-top: 4px; }
.scard__tag { color: var(--c-text); font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--w-body); }
.facts { display: grid; gap: 16px; }
.facts__row { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.facts dt, .facts__k { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-orange-glow); font-weight: var(--w-label); }
.facts dd, .facts__v { color: var(--c-text-2); }
.facts dd .dlist > li, .facts__v .dlist > li { color: var(--c-text-2); }
.facts dd .dlist > li + li, .facts__v .dlist > li + li { margin-top: 8px; }
.scard__foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.scard__pre { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-2); display: flex; gap: 8px; align-items: center; }
.scard--start { border-color: var(--c-line-strong); }
.scard--featured { border: 1.5px solid var(--c-orange); }
.scard--soon .scard__title { color: var(--c-text); }
@media (min-width: 1024px) {
  .sgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }   /* v1.5.1: minmax(0,…) عشان المحتوى ما يوسع العمود (إنستقرام على 1024 كان 1035) */
  .sgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scard { padding: 32px; }
  .scard--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; gap: 24px 64px; align-items: start; padding: 48px; }
  .scard--wide { grid-template-rows: auto 1fr; }
  .scard--wide .scard__foot { grid-column: 1; grid-row: 2; border-top: 0; padding-top: 0; margin-top: 0; align-self: start; }
  .scard--wide .facts { grid-column: 2; grid-row: 1 / span 2; }
  .scard--wide .facts__row:first-child { border-top: 0; padding-top: 0; }
}

/* شرائح اختيار الخدمة (تنقل داخل الصفحة) */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--c-line-strong); text-decoration: none; font-size: 15px; font-weight: var(--w-label); color: var(--c-text); white-space: nowrap; }
.chip:hover { border-color: var(--c-orange); }
.chip.is-active { border-color: var(--c-orange); background: var(--c-orange-tint); color: var(--c-text); }
.chip .dia { width: 7px; height: 7px; }
@media (min-width: 1024px) { .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }

/* ---------- 10. الخطوات المرقمة (مسار مربعات مايلة) ---------- */
.steps { position: relative; }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 0 20px; padding-bottom: 40px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; inset-inline-start: 23px; top: 56px; bottom: 8px; width: 2px; background: linear-gradient(var(--c-orange-deep), var(--c-line)); }
.step:last-child::before { display: none; }
.step__mark { position: relative; width: 48px; height: 48px; display: grid; place-items: center; }
.step__mark::before { content: ""; position: absolute; inset: 7px; border: 2px solid var(--c-orange); border-radius: 4px; transform: rotate(45deg); background: var(--c-bg); }
.section--band .step__mark::before { background: var(--c-surface); }
.step__mark span { position: relative; font-weight: var(--w-display); font-size: 17px; line-height: 1; color: var(--c-orange-glow); }
.step__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--w-sub); color: var(--c-text); padding-top: 8px; }
.step__text { color: var(--c-text-2); margin-top: 8px; grid-column: 2; }
.step--mini { grid-template-columns: 40px 1fr; gap: 0 16px; padding-bottom: 24px; }
.step--mini .step__mark { width: 40px; height: 40px; }
.step--mini .step__mark::before { inset: 6px; }
.step--mini::before { inset-inline-start: 19px; top: 46px; }
.step--mini .step__text { margin-top: 0; padding-top: 6px; grid-column: 2; grid-row: 1; color: var(--c-text); }

/* ---------- 11. الأسئلة الشائعة ---------- */
.faq { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 16px; cursor: pointer; font-weight: var(--w-sub); font-size: var(--fs-body); line-height: 1.6; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--c-orange-glow); }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--c-line-strong); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; inset-inline-start: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; border-radius: 2px; transform: translate(50%, -50%); transition: transform var(--dur-2) var(--ease); }
.faq__icon::after { transform: translate(50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { border-color: var(--c-orange); color: var(--c-orange); }
.faq__item[open] .faq__icon::after { transform: translate(50%, -50%) rotate(0deg); }
.faq__a { color: var(--c-text-2); padding-bottom: 24px; padding-inline-end: 48px; max-width: 46em; }
@media (min-width: 1024px) { .faq__q { font-size: 18px; min-height: 72px; } }

/* ---------- 12. صورة سلطان ---------- */
.portrait { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; isolation: isolate; }
.portrait::before { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; top: 0; height: 78%; background: var(--glow-photo); }   /* التوهج الواحد */
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__fade { position: absolute; inset: auto 0 0 0; height: 22%; background: linear-gradient(transparent, var(--c-bg)); }
.portrait--card { max-width: none; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-line); }
.portrait--card::before { display: none; }
.portrait--card .portrait__fade { background: linear-gradient(transparent, var(--c-surface)); }
/* مكان فاضي لو الصورة ما جهزت */
.portrait--empty { display: grid; place-items: center; background: var(--c-surface); border: 1.5px dashed var(--c-line-strong); border-radius: var(--r-lg); color: var(--c-text-2); }
.portrait--empty::before { display: none; }
.portrait--empty .ico { width: 64px; height: 64px; stroke-width: 1.25; }
/* ملاحظة للمبرمج داخل التصميم: تنشال قبل النشر */
.devnote { position: absolute; z-index: 2; inset-inline-start: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1.5px dashed var(--c-orange-glow); border-radius: var(--r-xs); background: rgba(16,16,15,.86); color: var(--c-orange-glow); font-size: 14px; line-height: 1.5; font-weight: var(--w-label); }

/* ---------- 13. النماذج ---------- */
.form { display: grid; gap: 24px; }
.form__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--w-sub); }
.field { display: grid; gap: 8px; }
.field__label { font-weight: var(--w-label); font-size: 16px; line-height: 1.6; color: var(--c-text); }
.field__req { color: var(--c-orange-glow); margin-inline-start: 4px; }
.field__opt { color: var(--c-text-2); font-weight: var(--w-body); font-size: var(--fs-small); margin-inline-start: 4px; }
.field__help { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-2); }
.input, .textarea {
  width: 100%; min-height: var(--field-h); padding: 12px 16px;
  background: var(--c-bg); color: var(--c-text);
  border: 1.5px solid var(--c-line-strong); border-radius: var(--r-sm);
  font-size: 16px; line-height: 1.5;   /* 16px يمنع التكبير التلقائي في آيفون */
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.textarea { min-height: 112px; resize: vertical; }
.input[dir="ltr"] { text-align: right; }
.input:hover, .textarea:hover { border-color: var(--c-text-2); }
.input:focus-visible, .textarea:focus-visible { outline: none; border-color: var(--c-orange); box-shadow: 0 0 0 3px rgba(235,150,77,.35); }
.input[disabled] { opacity: .5; cursor: not-allowed; }
.field.is-invalid .input, .field.is-invalid .textarea { border-color: var(--c-orange-glow); border-width: 2px; background-color: rgba(235,150,77,.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EB964D' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 20px; background-position: left 14px center; padding-left: 44px; }
.field.is-invalid .input:focus-visible { box-shadow: 0 0 0 3px rgba(235,150,77,.35); }   /* التركيز = هالة بدون خلفية · الخطأ = خلفية + أيقونة داخل الخانة + رسالة */
.field__error { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-orange-glow); font-weight: var(--w-label); }
.field__error .ico { width: 18px; height: 18px; margin-top: 2px; }
/* الخيارات (checkbox/radio بشكل شرائح) */
.choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 8px; float: none; width: 100%; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice > span { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 8px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--c-line-strong); color: var(--c-text); font-size: 15px; line-height: 1.5; font-weight: var(--w-body); transition: border-color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease); }
.choice > span::before { content: ""; width: 9px; height: 9px; flex: none; transform: rotate(45deg); border: 1.5px solid var(--c-text-2); border-radius: 1.5px; }
.choice input:hover + span { border-color: var(--c-text-2); }
.choice input:checked + span { border-color: var(--c-orange); background: var(--c-orange-tint); }
.choice input:checked + span::before { background: var(--c-orange); border-color: var(--c-orange); }
.choice input:focus-visible + span { box-shadow: var(--focus-ring); }
.choices--stack { flex-direction: column; align-items: stretch; }
.choices--stack .choice > span { border-radius: var(--r-sm); width: 100%; }
.example { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-2); font-style: normal; }
/* الموافقة (مربع اختيار) */
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; position: relative; min-height: var(--tap); padding-block: 8px; }
.consent input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 2px 0 0; border: 1.5px solid var(--c-line-strong); border-radius: 6px; background: var(--c-bg); cursor: pointer; display: grid; place-items: center; }
.consent input:checked { background: var(--c-orange); border-color: var(--c-orange); }
.consent input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--c-on-orange); border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.consent input:focus-visible { box-shadow: var(--focus-ring); outline: none; }
.consent label { font-size: 15px; line-height: 1.7; color: var(--c-text); cursor: pointer; }
.consent label b { font-weight: var(--w-sub); color: var(--c-text-2); font-size: var(--fs-small); }
.consent.is-invalid input { border-color: var(--c-orange-glow); border-width: 2px; }
.form__privacy { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-2); }
.form__privacy a { color: var(--c-text); text-underline-offset: 4px; }
.form__submit { display: grid; gap: 12px; justify-items: start; }
@media (min-width: 1024px) { .form__submit .btn--block { width: auto; } }
/* تنبيه وتنبيه خطأ عام */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-sm); background: var(--c-bg); border: 1px solid var(--c-line); border-inline-start: 3px solid var(--c-text-2); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text); }
.alert .ico { width: 20px; height: 20px; color: var(--c-text-2); margin-top: 1px; }
.alert--error { border-inline-start-color: var(--c-orange-glow); }
.alert--error .ico { color: var(--c-orange-glow); }
.alert--info { border-inline-start-color: var(--c-orange); }
.alert--info .ico { color: var(--c-orange); }

/* ---------- 14. زر الواتساب العائم ---------- */
.wa { position: fixed; z-index: 50; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; flex-direction: row-reverse; }
.wa__btn { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--c-orange); color: var(--c-on-orange); text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 4px rgba(16,16,15,.6); transition: background-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease); }
.wa__btn .ico { width: 28px; height: 28px; stroke-width: 2.2; }
.wa__btn:hover { background: var(--c-orange-glow); transform: translateY(-2px); }
.wa__tip { background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 8px 12px; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--w-label); box-shadow: var(--shadow-1); white-space: nowrap; opacity: 0; transform: translateX(-4px); pointer-events: none; transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
.wa:hover .wa__tip, .wa:focus-within .wa__tip, .wa.show-tip .wa__tip { opacity: 1; transform: none; }
.wa { transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), bottom var(--dur-2) var(--ease); }
.wa.is-hidden { opacity: 0; pointer-events: none; transform: translateY(16px); }   /* يختفي لما زر الإرسال أو التقويم ظاهر */
.wa.is-hidden .wa__btn { visibility: hidden; transition: visibility 0s var(--dur-2); }
@media (min-width: 1024px) { .wa { left: 32px; bottom: 32px; } .wa__btn { width: 60px; height: 60px; } }

/* ---------- 15. الفوتر ---------- */
.footer { background: var(--c-surface); border-top: 1px solid var(--c-line); padding-block: 56px 32px; font-size: 15px; line-height: 1.7; }
.footer__grid { display: grid; gap: 40px 24px; grid-template-columns: 1fr 1fr; }
.footer__brand, .footer__contact { grid-column: 1 / -1; }
.footer__brand > img { height: 30px; width: auto; }
.footer__tag { margin-top: 16px; font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--w-sub); }
.footer__h { font-size: var(--fs-small); color: var(--c-text-2); font-weight: var(--w-label); margin-bottom: 8px; }
.footer__list a { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); padding-inline: 8px; margin-inline: -8px; text-decoration: none; color: var(--c-text); }
.footer__list a:hover { color: var(--c-orange-glow); text-decoration: underline; text-underline-offset: 5px; }
.footer__list .lat { font-size: 14px; }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-line); display: grid; gap: 12px; font-size: var(--fs-small); line-height: 1.75; color: var(--c-text-2); }
.footer__legal a { color: var(--c-text-2); text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: var(--tap); }
.footer__legal a:hover { color: var(--c-text); }
.footer__meta { display: flex; flex-wrap: wrap; gap: 0 16px; align-items: center; }
@media (max-width: 1023px) { .footer__meta > span[aria-hidden] { display: none; } .footer__meta { gap: 0 24px; } }
@media (min-width: 1024px) {
  .footer { padding-block: 80px 40px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
  .footer__brand, .footer__contact { grid-column: auto; }
  .footer__legal { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- 16. اللوحة البرتقالية (الدعوة الأخيرة في كل صفحة) ---------- */
.finale { position: relative; overflow: hidden; background: var(--c-orange); color: var(--c-on-orange); border-radius: var(--r-lg); padding: 40px 24px; display: flex; flex-direction: column; gap: 32px; }
.finale .stack > * + * { margin-top: 16px; }
.finale .h2 { color: var(--c-on-orange); max-width: 16em; }
.finale p { color: var(--c-on-orange); }
.finale .cta__note { color: var(--c-on-orange); font-weight: var(--w-label); }
.finale__dia { display: block; width: 20px; height: 20px; background: var(--c-on-orange); transform: rotate(45deg); border-radius: 3px; margin: 4px 4px 24px; }
@media (min-width: 1024px) {
  .finale { padding: 80px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
}
.finale :focus-visible { outline-color: var(--c-on-orange); }

/* ---------- 17. بانر الكوكيز ---------- */
.cookie { position: fixed; z-index: 60; inset-inline: 16px; bottom: 16px; max-width: 560px; background: var(--c-surface); border: 1px solid var(--c-line-strong); border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow-2); display: grid; gap: 16px; font-size: var(--fs-small); line-height: var(--lh-small); }
.cookie__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie a { color: var(--c-orange); text-underline-offset: 4px; }

/* ---------- 18. المضمن (Cal.com) ---------- */
.embed { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
.embed__bar { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--c-line); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-2); }
.embed__bar .ico { color: var(--c-orange); width: 20px; height: 20px; }
.embed__body { min-height: 560px; padding: 24px; }
.embed__body iframe { width: 100%; min-height: 640px; border: 0; }
/* هيكل مؤقت لين يحمل Cal.com (بدون نص) */
.skel { display: grid; gap: 24px; }
.skel__bar { height: 12px; border-radius: 6px; background: var(--c-fill-soft); }
.skel__month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; direction: ltr; }
.skel__day { aspect-ratio: 1; border-radius: var(--r-xs); background: var(--c-fill-soft); }
.skel__day.on { background: var(--c-orange-tint); box-shadow: inset 0 0 0 1.5px rgba(229,132,61,.55); }
.skel__day.sel { background: var(--c-orange); }
.skel__day.off { background: transparent; box-shadow: inset 0 0 0 1px var(--c-line); }
.skel__slots { display: grid; gap: 8px; }
.skel__slot { height: 44px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px var(--c-line-strong); }
.skel__slot.sel { background: var(--c-orange); box-shadow: none; }
@media (min-width: 1024px) { .embed__body { padding: 40px; } .skel--cal { grid-template-columns: 1.6fr 1fr; gap: 40px; } }

/* ---------- 19. أقسام الصفحات ---------- */
/* الواجهة */
.hero { padding-block: 32px 64px; position: relative; }
.hero + .section { padding-top: 0; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__text > * + * { margin-top: 24px; }
.hero__text .h1 + .lead { margin-top: 24px; }
.hero__text .cta { margin-top: 32px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.hero__media { display: flex; justify-content: center; }
.hero .portrait { max-width: 360px; margin-inline: auto; }
@media (min-width: 1024px) {
  .hero { padding-block: 72px 120px; }
  .hero__grid { grid-template-columns: 7fr 5fr; gap: 64px; }
  .hero__text .cta { margin-top: 40px; }
  .hero .portrait { max-width: 480px; }
  .hero--plain .hero__grid { grid-template-columns: 1fr; }
}

/* شبكة عمودين (عنوان يمين + محتوى يسار) */
.split { display: grid; gap: var(--gap-block); }
@media (min-width: 1024px) {
  .split { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--wide { grid-template-columns: 4fr 8fr; }
  .split__sticky { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* حسبة «ربحت ولا خسرت؟» */
.calc { position: relative; isolation: isolate; overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 32px 24px; }
.calc::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 320px; left: 50%; top: 58%; transform: translate(-50%, -50%); background: var(--glow-soft); }   /* التوهج الواحد في القسم */
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc__cell { padding: 16px; border-radius: var(--r-sm); background: var(--c-bg); border: 1px solid var(--c-line); }
.calc__k { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-2); font-weight: var(--w-label); }
.calc__v { font-size: 28px; line-height: 1.3; font-weight: var(--w-title); margin-top: 4px; }
.calc__res { margin-top: 32px; padding-top: 24px; border-top: 1px dashed var(--c-line-strong); display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.calc__num { font-size: var(--fs-number); line-height: var(--lh-number); font-weight: var(--w-title); color: var(--c-orange-glow); letter-spacing: -.02em; }
.calc__unit { font-size: var(--fs-h3); font-weight: var(--w-sub); color: var(--c-orange); }
.calc__sum { margin-top: 16px; font-weight: var(--w-sub); color: var(--c-text); }
.terms { display: grid; gap: 12px; }
.term { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start; padding: 16px 20px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); }
.term .dia { margin-top: 10px; }
.term b { font-weight: var(--w-sub); color: var(--c-text); }
.term span { color: var(--c-text-2); grid-column: 2; }
@media (min-width: 1024px) { .calc { padding: 48px; } .calc__v { font-size: 36px; } .calc__res { margin-top: 40px; padding-top: 32px; } }

/* «ربحت ولا خسرت؟»: على الجوال الحسبة بعد العنوان مباشرة */
.loss { display: grid; gap: var(--gap-block); }
@media (min-width: 1024px) {
  .loss { grid-template-columns: 1fr 1fr; column-gap: 80px; align-items: start; }
  .loss__head { grid-column: 1; grid-row: 1; }
  .loss .calc { grid-column: 2; grid-row: 1 / span 2; }
  .loss__rest { grid-column: 1; grid-row: 2; }
}

/* «تكلمني أنا» */
.me { display: grid; gap: 32px; align-items: start; }
.me__photo { width: 100%; text-align: center; }
.me__photo .portrait { width: 200px; margin-inline: auto; }
.me__photo .devnote--static { white-space: nowrap; }
.devnote--static { position: static; margin-top: 12px; }
.me__text > * + * { margin-top: 16px; }
.me__honest { margin-top: 32px; }
.me__honest > * + * { margin-top: 12px; }
@media (min-width: 1024px) {
  .me { grid-template-columns: 4fr 8fr; gap: 80px; }
  .me__photo { width: 100%; max-width: 400px; margin-inline: 0; }
  .me__photo .portrait { width: 100%; }
}

/* «مو لك إذا» */
.notfor > li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; padding-block: 16px; border-bottom: 1px solid var(--c-line); }
.notfor > li:first-child { border-top: 1px solid var(--c-line); }
.notfor__x { width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--r-xs); background: var(--c-fill-soft); color: var(--c-text-2); }
.notfor__x .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.notfor b { font-weight: var(--w-sub); }
.notfor p > span { color: var(--c-text-2); }

/* جدول «مناسب لك إذا» */
.fit { display: grid; gap: 16px; }
.fit__col { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 24px; }
.fit__col--yes { border-color: rgba(229,132,61,.55); }
.fit__h { display: flex; align-items: center; gap: 12px; font-weight: var(--w-sub); font-size: var(--fs-h3); line-height: var(--lh-h3); margin-bottom: 16px; }
.fit__h .ico { width: 24px; height: 24px; }
.fit__col--yes .fit__h .ico { color: var(--c-orange); }
.fit__col--no .fit__h .ico { color: var(--c-text-2); }
.fit li { padding-block: 12px; border-top: 1px solid var(--c-line); color: var(--c-text-2); }
.fit__col--yes li { color: var(--c-text); }
@media (min-width: 1024px) { .fit { grid-template-columns: 1fr 1fr; gap: 24px; } .fit__col { padding: 32px; } }

/* الألم */
.pains { display: grid; gap: 12px; }
.pain { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line); font-weight: var(--w-label); }
.pain .dia { margin-top: 11px; background: var(--c-orange-deep); }
@media (min-width: 1024px) { .pains { grid-template-columns: 1fr 1fr; gap: 16px; } .pain { padding: 24px 28px; font-size: 18px; } }

/* مزايا بأيقونة */
.feat { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.feat__t { font-weight: var(--w-sub); }
.feat__d { color: var(--c-text-2); grid-column: 2; }
.feats { display: grid; gap: 24px; }
@media (min-width: 1024px) { .feats { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* مقارنة نوعين الخدمات */
.types { display: grid; gap: 16px; }
.type { display: flex; flex-direction: column; gap: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 24px; }
.type--main { border: 1.5px solid var(--c-orange); }
.type__h { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--w-sub); margin-bottom: 8px; }
.type .facts__row { padding-block: 16px 0; }
.type .facts dd { color: var(--c-text); }
.type__foot { margin-top: auto; padding-top: 24px; }
@media (min-width: 1024px) { .types { grid-template-columns: 1fr 1fr; gap: 24px; } .type { padding: 40px; } }

/* رسم توضيحي للواجهة (بدون نص) */
.art { width: 100%; max-width: 520px; margin-inline: auto; position: relative; isolation: isolate; }
.art::before { content: ""; position: absolute; z-index: -1; inset: 4% 6%; background: var(--glow-soft); }
.art svg { width: 100%; height: auto; }

/* صفحة الشكر */
.done { display: grid; place-items: center; width: 72px; height: 72px; }
.done::before { content: ""; position: absolute; }
.done__sq { width: 56px; height: 56px; transform: rotate(45deg); background: var(--c-orange); border-radius: 8px; display: grid; place-items: center; }
.done__sq .ico { transform: rotate(-45deg); color: var(--c-on-orange); width: 28px; height: 28px; stroke-width: 3; }
.next { display: grid; gap: 12px; }
.next a { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 16px 20px; border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line); text-decoration: none; font-weight: var(--w-sub); transition: border-color var(--dur-1) var(--ease); }
.next a:hover { border-color: var(--c-orange); }
.next a .tile { width: 40px; height: 40px; }
.next a .go { margin-inline-start: auto; color: var(--c-orange); }
@media (min-width: 1024px) { .next { grid-template-columns: repeat(3, 1fr); gap: 16px; } .next a { min-height: 96px; } }

/* لوحة الانتظار وأقسام «متى؟» */
.when { display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: start; }
.when .body { grid-column: 2; }

/* أيقونات المنصات فوق عنوان الخدمات */
.svc-tiles { gap: 12px; flex-wrap: nowrap; }
.svc-tiles .tile--lg { width: 56px; height: 56px; }
.svc-tiles .tile--lg .ico { width: 28px; height: 28px; }
@media (min-width: 1024px) { .svc-tiles .tile--lg { width: 64px; height: 64px; } .svc-tiles .tile--lg .ico { width: 32px; height: 32px; } }
@media (max-width: 1023px) { .hero .art { max-width: 320px; } }

/* قائمة الانتظار في صفحات المنصات: على الجوال «متى» ← النموذج ← الأسئلة */
.wl { display: grid; gap: var(--gap-block); }
@media (min-width: 1024px) {
  .wl { grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; gap: 48px 80px; align-items: start; }
  .wl__when { grid-column: 1; grid-row: 1; }
  .wl__form { grid-column: 2; grid-row: 1 / span 2; }
  .wl__faq { grid-column: 1; grid-row: 2; }
}


/* ===================== v1.1 ===================== */
/* «و» قبل كلمة إنجليزية: فراغ رفيع عشان ما تبان «APIg» */
.lat--waw { margin-right: .15em; }   /* فيزيائي: الـ span نفسه ltr، فـ inline-start يطلع يسار. «و» على يمينه */
/* حرف X جنب العربي يبان صغير */
.lat--x { font-size: 1.15em; line-height: 1; }

/* مؤشر المقاعد قبل الفتح: مربعات فاضية بحد برتقالي */
.seats--pre .seats__dots i { background: transparent; }

/* المنسدلة: «شوف الخدمات» أول سطر وتحته فاصل */
.dd__all { border-bottom: 1px solid var(--c-line); margin-bottom: 8px; padding-bottom: 8px; }
.dd__a--all { color: var(--c-orange); justify-content: space-between; }
.dd__a--all .ico { color: var(--c-orange); width: 18px; height: 18px; stroke-width: 2.4; }

/* قائمة الجوال (تشتغل في كل الصفحات) */
.menu-btn[aria-expanded="true"] .menu-btn__open, .menu-btn[aria-expanded="false"] .menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] { border-color: var(--c-orange); }
.mnav[hidden] { display: none; }
.mnav { position: fixed; inset-inline: 0; top: var(--mnav-top, var(--header-h)); bottom: 0; overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow-2); }   /* لين آخر الشاشة، ويتمرر: الزر داخلها يوصله المستخدم في الشاشات القصيرة */
.mnav__a--top { font-size: 18px; }
.mnav__a[aria-current="page"] { color: var(--c-orange-glow); }
.mnav__note { margin-top: 12px; padding-bottom: 24px; }
body.menu-open { overflow: hidden; }
@media (min-width: 1024px) { .mnav { display: none !important; } }

/* الشريط السفلي على الجوال: زر التحليل + الواتساب داخله على اليسار */
.mbar { display: none; }
@media (max-width: 1023px) {
  body.has-mbar .footer { padding-bottom: calc(32px + 88px + env(safe-area-inset-bottom)); }   /* v1.6: الشريط 80px + هامش 8، ومعه منطقة الآيفون السفلية · مكان الشريط السفلي داخل الفوتر، بدون شريط فاضي تحته */
  .mbar { display: block; position: fixed; z-index: 49; inset-inline: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); padding-left: 88px;
    background: rgba(16,16,15,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--c-line);
    transform: translateY(110%); transition: transform var(--dur-2) var(--ease); }
  .mbar .btn { width: 100%; }
  .mbar.is-on { transform: none; }
  body.mbar-on .wa { bottom: 12px; }
  body.mbar-on .wa__btn { width: 52px; height: 52px; box-shadow: none; }
}

/* الشريط العلوي على الجوال: أخف */
@media (max-width: 1023px) { .topbar { font-size: 14px; line-height: 1.65; } }

/* «وش في الفيديو؟» تنطوي على الجوال، ومفتوحة على الكمبيوتر */
.vid { padding: 20px; }
.vid__sum { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; cursor: pointer; min-height: var(--tap); }
.vid__sum::-webkit-details-marker { display: none; }
.vid__chev { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--c-line-strong); color: var(--c-text); transition: transform var(--dur-2) var(--ease); }
.vid__chev .ico { width: 16px; height: 16px; }
.vid[open] .vid__chev { transform: rotate(180deg); border-color: var(--c-orange); color: var(--c-orange); }
.vid__list { margin-top: 16px; }
@media (min-width: 1024px) { .vid { padding: 32px; } .vid__sum { cursor: default; pointer-events: none; } .vid__chev { display: none; } }

/* بطاقات الخدمات: «المشكلة» و«المطلوب منك» تنطوي على الجوال */
.fold > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; min-height: var(--tap); }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary .ico { color: var(--c-orange-glow); transition: transform var(--dur-2) var(--ease); }
.fold[open] > summary .ico { transform: rotate(180deg); }
.facts__row--fold { padding-top: 8px; }
.facts__row p.facts__k { margin: 0; }
.scard__back { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); color: var(--c-text-2); text-decoration: none; font-size: var(--fs-small); font-weight: var(--w-label); }
.scard__back .ico { transform: rotate(180deg); }
@media (min-width: 1024px) {
  .fold > summary { min-height: 0; cursor: default; pointer-events: none; }
  .fold > summary .ico, .scard__back { display: none; }
  .facts__row--fold { padding-top: 16px; }
}

/* شبكة الخدمات بعمودين (حالة الإطلاق: Shopping مخفية) */
@media (min-width: 1024px) { .sgrid--2 { grid-template-columns: repeat(2, 1fr); } }

/* بطاقات المنصات في الرئيسية: الاسم بنفس الارتفاع في الأربع */
@media (min-width: 1024px) { .pgrid:not(.pgrid--2) .pcard--soon .pcard__top { min-height: 72px; } }

/* مكان سطر القرار 5 (ب) تحت الصورة */
.photo-cap { margin-top: 12px; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-2); }
.photo-cap__slot { display: inline-block; border: 1.5px dashed var(--c-line-strong); border-radius: var(--r-xs); padding: 4px 10px; }
.hero__photo { display: flex; flex-direction: column; align-items: center; width: 100%; }

body.menu-open .wa, body.menu-open .mbar { display: none; }

/* ===================== v1.2 ===================== */
/* بطاقة قوقل في الخدمات (كمبيوتر): الرأس والرسالة يمين، والشرائح والزر يسار */
@media (min-width: 1024px) {
  .pgrid--2 .pcard--split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .pcard--split .pcard__side { display: flex; flex-direction: column; gap: 24px; padding-inline-start: 48px; border-inline-start: 1px solid var(--c-line); }
  .pcard--split .pcard__foot { border-top: 0 !important; padding-top: 0 !important; margin-top: 0; }
}
.pcard--split .pcard__side { display: flex; flex-direction: column; gap: 16px; }
/* قائمة انتظار لحالها (صفحة قوقل) */
.wl--solo { display: block; }
.wl--solo .wl__form { max-width: 760px; margin-inline: auto; }
/* وهي مفتوحة: نشيل blur الهيدر (يخلي الـ fixed نسبي للهيدر) */
body.menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--c-bg); }

/* ===================== v1.2.1 ===================== */
/* مكون «صورة سلطان المولدة»: الصورة + سطر وسم الذكاء الاصطناعي تحتها (ما ينفصلون) */
.sultan-photo { margin: 0; display: flex; flex-direction: column; align-items: center; width: 100%; }
.sultan-photo--hero .portrait { max-width: 360px; margin-inline: auto; }
@media (min-width: 1024px) { .sultan-photo--hero .portrait { max-width: 480px; } }
.ai-label { margin-top: 12px; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-2); text-align: center; max-width: 360px; }
.ai-label__slot { display: inline-block; border: 1.5px dashed var(--c-line-strong); border-radius: var(--r-xs); padding: 4px 10px; }
.me__photo.sultan-photo { align-items: center; }
@media (min-width: 1024px) { .me__photo.sultan-photo { align-items: stretch; } .me__photo .ai-label { text-align: start; max-width: none; } }

/* ===================== v1.3 ===================== */
/* «من 2020 في التجارة الإلكترونية»: محطات قصيرة على خط (بدون أي رقم غير اللي في النص) */
.bio { margin-top: 32px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 24px; }
.bio__h { display: flex; align-items: center; gap: 12px; }
.bio__lead { margin-top: 8px; color: var(--c-text); }
.trail { margin-top: 24px; position: relative; }
.trail__item { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding-bottom: 20px; }
.trail__item:last-child { padding-bottom: 0; }
.trail__item::before { content: ""; position: absolute; inset-inline-start: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--c-line); }
.trail__item:last-child::before { display: none; }
.trail__ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--c-bg); border: 1px solid var(--c-line); color: var(--c-text-2); }
.trail__ico .ico { width: 20px; height: 20px; }
.trail__item p { padding-top: 6px; color: var(--c-text-2); }
.trail__item--now .trail__ico { border-color: var(--c-orange); color: var(--c-orange); background: var(--c-orange-tint); }
.trail__item--now p { color: var(--c-text); }
.me__text > .bio + .body { margin-top: 24px; }
@media (min-width: 1024px) { .bio { padding: 32px; } }

/* الفوتر: الروابط في nav واحد (عمودين) + خانة التواصل */
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.2fr 2fr 1.3fr; }
  .footer__nav { grid-column: auto; gap: 48px; }
}
/* أيقونات حسابات التواصل الرسمية (استثناء الفوتر بقرار سلطان): الشكل الرسمي بدون تعديل كـ mask، لون واحد أبيض */
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.social__a { width: var(--tap); height: var(--tap); display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--c-line-strong); color: #FFFFFF; transition: border-color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease); }
.social__a:hover { border-color: var(--c-orange); background: var(--c-orange-tint); }   /* المرور يغير الإطار بس، والأيقونة تبقى أبيض */
.social__icon { width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
/* لين تنحط ملفات الأيقونات الرسمية: مكان متقطع (يشيله المبرمج مع data-dev) */
.social[data-dev] .social__icon { -webkit-mask: none; mask: none; background: transparent; border: 1.5px dashed var(--c-line-strong); border-radius: 4px; }
.footer__handle { margin-top: 12px; color: var(--c-text-2); font-size: var(--fs-small); }
.wl__more { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin-top: -8px; }
.when .body { line-height: var(--lh-body-loose); }   /* فحص الحبر: سطرين في «متى تبدأ؟» كانوا 3px */

/* ===================== v1.3.1 ===================== */
/* الفوتر: الحسابات واليوزر تحت الشعار، وعمود «تواصل» بحجم واحد */
.footer__brand .social { margin-top: 24px; }
.footer__brand .footer__handle { margin-top: 12px; }
.footer__contact .footer__list a, .footer__contact .footer__list .lat { font-size: 15px; }

/* ===================== v1.4 ===================== */
/* أيقونة واتساب الرسمية (البيضاء) جنب «راسلني على الواتساب»: بحجم السطر، بدون تغيير لونها، وما تكون أبرز شي */
.footer__wa { gap: 8px; }
.footer__wa-ico { width: 16px; height: 16px; flex: none; }
.social__img { width: 20px; height: auto; display: block; }   /* لينكدإن PNG: أعرض شوي من ارتفاعه، فعرضه 20 مثل الباقي */

/* ===================== v1.5.1 ===================== */
/* عروض 320 إلى 359px بس (آيفون SE/ميني مع «تكبير العرض»، أو خط الجوال مكبر). على 360 وأكثر ولا شي يتغير */
@media (max-width: 359.98px) {
  .svc-tiles { gap: 8px; }                                    /* 5 × 44 + 4 × 8 = 252 (المتاح 272) */
  .svc-tiles .tile--lg { width: 44px; height: 44px; }
  .svc-tiles .tile--lg .ico { width: 24px; height: 24px; }
  .loss > *, .sgrid > *, .types > *, .split > * { min-width: 0; }
  .calc { padding: 24px 16px; }
  .calc__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .calc__cell { padding: 12px; }
  .scard { padding: 20px 16px; }
  .btn { white-space: normal; text-align: center; }
  .btn--lg { padding: 0 20px; }
  .wa__tip { display: none; }                                 /* التلميح نفسه aria-label الزر، فما ينفقد شي */
}

/* ===================== v1.6 ===================== */
/* «أول خطوة» (الخدمات، إدارة الحملات): قائمة <ol>، سطر لكل خطوة في كل العروض (v1.6.1)، والسهم أيقونة الأزرار (aria-hidden) */
.seq { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.seq__arr { display: inline-block; margin-inline-end: 6px; width: 16px; height: 16px; color: var(--c-orange); vertical-align: -2px; stroke-width: 2.6; }

/* ---------- إضافات الإنتاج (build.py يلصقها آخر site.css المعتمد) ----------
   حالات بس، ما تغير الشكل المعتمد:
   1) بانر الكوكيز: hidden لين يختار الزائر (‎.cookie فيها display:grid، فلازم نخفيها صريح)
   2) Turnstile: برا تدفق الصفحة (ما يضيف مسافة)، ويطلع بس لو احتاج تفاعل من الزائر
   3) الحاسبة: النتيجة القديمة تختفي لما فيه خطأ في الخانات (ملاحظة مدقق التصميم v1.7 البند 3)
   4) Cal.com: الهيكلة الرمادية تختفي أول ما يجهز التقويم */
.cookie[hidden] { display: none; }
.ts { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.ts.is-on { position: static; inline-size: auto; block-size: auto; max-inline-size: 100%; min-inline-size: 0; overflow: visible; opacity: 1; pointer-events: auto; }
.res.is-stale .res__i { display: none; }
.embed.is-ready .skel--cal { display: none; }
.cal-inline:empty { display: none; }
.cal-inline { inline-size: 100%; overflow: auto; }

/* بانر الكوكيز لما ينفتح من جديد (رابط «إعدادات الكوكيز») وسط الصفحة: الشريط السفلي يختفي تحته، عشان ما تبان أطرافه (مراجعة 10 أكتوبر، تحسين 5) */
body:has(#cookie:not([hidden])) .mbar { display: none; }

/* أيقونة الإيميل في الفوتر (طلب سلطان 16 أكتوبر 2026): نفس نظام أيقونة الواتساب (v1.4) بالضبط: 16px، ومسافة 8px، وبيضاء ثابتة مع hover */
.footer__mail { gap: 8px; }
.footer__mail-ico { width: 16px; height: 16px; flex: none; color: var(--c-text); }

/* ---------- عنوان الرئيسية على الجوال (مواصفة المصمم docs/SPEC-2026-11-04-hero-h1-mobile.md، 4 نوفمبر 2026) ----------
   الرسالة الأم صارت 16 كلمة، فـ «وكم ربحت» كانت تنقسم، والزر يطلع برا أول شاشة. CSS بس، والنص ما تغير.
   على الرئيسية بس ([data-page="home"] من build.py): المواصفة مقاسة على الرئيسية، وباقي الصفحات ما تتغير.
   build.py يلصقه آخر site.css، وtools/design_state.py يحطه في مرجع 3ب (عشان التغيير المقصود ما يطلع كأنه فرق). */

/* 1) «وكم ربحت» وحدة وحدة (كل المقاسات). المواصفة كتبت white-space: nowrap، بس nowrap خلى text-wrap: balance يكسر الأسطر
   بشكل مختلف بين الروح (كلمات .w inline-block) وبدونها، وطيح 3د في qa (مكان «وكم ربحت» اختلف في 360 و390 و1440).
   inline-block يسوي نفس الشي (ما تنكسر من جوا) ويطلع نفس الأسطر بالضبط في النسختين. الأسطر = اللي يشوفه الزائر اليوم بالروح.
   المواصفة v1.1: مقبول، بشرط المسافة بين «وكم» و«ربحت» تبقى داخل .o (soul_words يحطها بين كلمتين .w، والفحص في qa) */
[data-page="home"] .h1 .o { display: inline-block; }

/* 2) حجم H1 والمسافات تحت 1024px. ارتفاع السطر يبقى --lh-display (1.8) والوزن نفسه. الكمبيوتر ما يتغير */
@media (max-width: 1023.98px) {
  [data-page="home"] .hero { padding-block: 16px 48px; }                 /* كان 32 / 64 */
  [data-page="home"] .hero__text > * + * { margin-top: 16px; }           /* كان 24 */
  [data-page="home"] .hero__text .h1 + .lead { margin-top: 16px; }       /* كان 24 */
  [data-page="home"] .hero__text .cta { margin-top: 24px; }              /* كان 32 */
  [data-page="home"] .h1 { font-size: clamp(26px, calc(5.2vw + 8px), 32px); }   /* 320 = 26 · 390 = 28.3 · 430 = 30.4 · 768 = 32 */
}

/* 3) الشاشات القصيرة (860px أو أقل، المواصفة v1.1): الزر فوق بانر الكوكيز. ترتيب DOM ما يتغير (العنوان ← الفقرة ← الزر)،
   فقارئ الشاشة والكيبورد نفس الترتيب (الفقرة ما فيها روابط). التغيير بصري بس */
@media (max-width: 1023.98px) and (max-height: 860px) {   /* v1.1 من المواصفة: كان 760، وانمد عشان 390×844 و375×812 */
  [data-page="home"] .hero { padding-top: 8px; }
  [data-page="home"] .h1 { font-size: 26px; }
  [data-page="home"] .hero__text { display: flex; flex-direction: column; }
  [data-page="home"] .hero__text > * { margin-top: 0; }
  [data-page="home"] .hero__text .eyebrow { order: 1; }
  [data-page="home"] .hero__text .h1 { order: 2; margin-top: 12px; }
  [data-page="home"] .hero__text .cta { order: 3; margin-top: 20px; }    /* الزر وسطره الصغير قبل الفقرة */
  [data-page="home"] .hero__text .h1 + .lead { order: 4; margin-top: 24px; }   /* الفقرة تنزل تحت الزر (شكل بس). نفس محدد الجزء 2 عشان يغلبه */
}

:root {
  --ease-out: cubic-bezier(.23, 1, .32, 1);       --ease-in-out: cubic-bezier(.77, 0, .175, 1);   --ease-drawer: cubic-bezier(.32, .72, 0, 1);    --d-press: 140ms; --d-hover: 200ms; --d-ui: 240ms; --d-enter: 480ms;
  --sh-light: inset 0 1px 0 rgba(255, 255, 255, .05);   }
@media (prefers-reduced-motion: reduce) { :root { --d-press: 0ms; --d-ui: 0ms; --d-enter: 0ms; } }

.hero { overflow-x: clip; }   @supports not (overflow-x: clip) { .hero__media::before { inset: -18% 0 -8%; } }   .finale { overflow: clip; }
.hero__media { position: relative; isolation: isolate; }
.hero__media::before { content: ""; position: absolute; z-index: -1; inset: -18% -30% -8%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(229, 132, 61, .085), rgba(229, 132, 61, .03) 55%, rgba(229, 132, 61, 0)); }

.panel:has(form), .loss .calc {
  box-shadow: var(--sh-light), 0 0 0 6px rgba(255, 255, 255, .018), 0 0 0 7px rgba(207, 198, 190, .09), 0 32px 64px -32px rgba(0, 0, 0, .75);
}
[data-page="free-analysis"] .fa__form { position: relative; isolation: isolate; }
[data-page="free-analysis"] .fa__form::before { content: ""; position: absolute; z-index: -1; inset: -12% -18% auto; height: 70%; background: var(--glow-soft); pointer-events: none; }
@supports not (overflow-x: clip) { [data-page="free-analysis"] .fa__form::before { inset-inline: 0; } }   @media (min-width: 1024px) { [data-page="free-analysis"] .fa__form { position: sticky; } }

@media (prefers-reduced-motion: no-preference) {
  .h1 .w { display: inline-block; animation: soul-word .5s var(--ease-out) both; animation-delay: calc(110ms + var(--i, 0) * 30ms); }
  .h1 .w--i { display: inline; animation-name: soul-word-i; }   .hero .eyebrow .dia { animation: soul-spark .7s var(--ease-out) both; }
  .hero .portrait::before, .hero .art::before { animation: soul-ignite 1.3s var(--ease-out) 40ms both; translate: var(--gx, 0px) var(--gy, 0px); }

  @supports (animation-timeline: view()) {
    .hero__media { animation: soul-recede linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @media (max-width: 1023px) { .hero .portrait::before, .hero .art::before { animation: soul-ignite linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; } }
    .header { border-bottom-color: transparent; }
    .header::after { content: ""; position: absolute; inset-inline: 0; top: 100%; height: 28px; margin-top: -1px; pointer-events: none;
      border-top: 1px solid var(--c-line); background: linear-gradient(rgba(0, 0, 0, .32), rgba(0, 0, 0, 0));
      animation: soul-fade linear both; animation-timeline: scroll(root block); animation-range: 0px 120px; }
    body.menu-open .header::after { display: none; }
  }

  [data-page="google"] .hero .art svg > * { transform-box: fill-box; }
  [data-page="google"] .hero .art svg > :nth-child(3) { transform-origin: right center; animation: soul-type .9s steps(12, end) .45s both; }
  [data-page="google"] .hero .art svg > :nth-child(4) { animation: soul-caret .9s steps(12, end) .45s both, soul-blink .8s step-end 1.4s 3; }
  [data-page="google"] .hero .art svg > :nth-child(n+5):nth-child(-n+10) { animation: soul-up .6s var(--ease-out) 1.45s both; }
  [data-page="google"] .hero .art svg > :nth-child(11) { animation: soul-up .6s var(--ease-out) 1.6s both; }
  [data-page="google"] .hero .art svg > :nth-child(12) { animation: soul-up .6s var(--ease-out) 1.72s both; }

}

@keyframes soul-word   { from { opacity: .3; transform: translateY(.3em); } }
@keyframes soul-word-i { from { opacity: .3; } }
@keyframes soul-spark  { from { opacity: 0; transform: rotate(0deg) scale(.3); } to { transform: rotate(45deg); } }
@keyframes soul-ignite { from { opacity: 0; scale: .8; } }
@keyframes soul-recede { to { opacity: .5; transform: translateY(10%) scale(.97); } }
@keyframes soul-fade   { from { opacity: 0; } }
@keyframes soul-type   { from { transform: scaleX(0); } }
@keyframes soul-caret  { from { transform: translateX(258px); } }
@keyframes soul-blink  { 50% { opacity: 0; } }
@keyframes soul-up     { from { opacity: 0; transform: translateY(14px); } }
