/* =========================================================
   توزيع — الموقع التعريفي
   ========================================================= */

:root {
  /* ألوان الهوية */
  --maroon: #800020;
  --crimson: #A80437;
  --amber: #FFB400;
  --orange: #FF3C00;
  --ivory: #F9EEE4;
  --sky: #76D5FF;
  --forest: #008403;
  --lime: #82CC00;
  --indigo: #3D0DD3;

  --ink: #2A0510;
  --ink-2: #5E3A44;
  --ink-3: #8C6F76;
  --paper: #FFFCF8;
  --line: #EADCD2;
  --line-strong: #D9C4B6;
  --maroon-tint: #F6E6EA;
  --amber-tint: #FFF3D6;
  --sky-tint: #E7F7FF;

  --font: "Tajarib", "Alexandria", "Segoe UI", Tahoma, sans-serif;
  --fs-display: clamp(2.1rem, 1.2rem + 3vw, 3.25rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  --fs-lead: clamp(1.05rem, .98rem + .35vw, 1.22rem);

  --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem;
  --section: clamp(4rem, 2.5rem + 5vw, 7rem);
  --container: 1160px;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);

  --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(42,5,16,.06), 0 2px 8px rgba(42,5,16,.05);
  --shadow-2: 0 2px 6px rgba(42,5,16,.06), 0 18px 40px -12px rgba(42,5,16,.18);
  --shadow-3: 0 30px 80px -20px rgba(92,0,23,.35);

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ---------- أساسيات ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); line-height: 1.8; color: var(--ink); background: var(--paper); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { line-height: 1.45; font-weight: 800; text-wrap: balance; }
p { text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; display: inline-block; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber); color: var(--ink); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.skip { position: absolute; inset-inline-start: 1rem; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 700; color: var(--crimson); margin-bottom: var(--s4); }
.eyebrow::before { content: ""; width: 14px; height: 14px; border-radius: 0 0 0 14px; background: var(--amber); }
.section-head { max-width: 680px; margin-bottom: var(--s7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { font-size: var(--fs-lead); color: var(--ink-2); margin-top: var(--s4); line-height: 1.75; }
.hl { color: var(--crimson); }

/* ---------- الأزرار ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .75rem 1.5rem;
  border-radius: var(--r-pill); border: 0; background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  transition: transform 160ms var(--ease), box-shadow 320ms var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform 320ms var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--shadow-c, rgba(42,5,16,.45)); }
.btn:hover svg.arrow { transform: translateX(-4px); }
.btn--amber { --bg: var(--amber); --fg: var(--ink); --shadow-c: rgba(255,180,0,.7); }
.btn--maroon { --bg: var(--maroon); --fg: var(--ivory); --shadow-c: rgba(128,0,32,.6); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost-light { --bg: transparent; --fg: var(--ivory); box-shadow: inset 0 0 0 1.5px rgba(249,238,228,.35); }
.btn--sm { min-height: 42px; padding: .5rem 1.1rem; font-size: .925rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--crimson); }
.link-arrow svg { width: 18px; height: 18px; transition: transform 320ms var(--ease); }
.link-arrow:hover svg { transform: translateX(-4px); }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .15rem .55rem; border-radius: var(--r-pill); font-size: .7rem; font-weight: 600; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--forest); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(0,132,3,0); } 0% { box-shadow: 0 0 0 0 rgba(0,132,3,.5); } }

/* ---------- الترويسة ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,252,248,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow 320ms; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header__bar { display: flex; align-items: center; gap: var(--s5); height: 76px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: .25rem; margin-inline-start: auto; }
.nav a { padding: .5rem 1rem; border-radius: var(--r-pill); font-weight: 600; color: var(--ink-2); transition: background 160ms, color 160ms; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--maroon-tint); color: var(--maroon); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--maroon-tint); color: var(--maroon); align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

.drawer { position: fixed; inset: 0; z-index: 60; background: var(--maroon); color: var(--ivory); display: flex; flex-direction: column; padding: 1rem var(--gutter) 2rem; transform: translateY(-100%); transition: transform 480ms var(--ease); visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.drawer__top img { height: 30px; }
.drawer__close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(249,238,228,.12); color: var(--ivory); display: grid; place-items: center; }
.drawer__close svg { width: 22px; height: 22px; }
.drawer nav { display: flex; flex-direction: column; margin-top: var(--s6); }
.drawer nav a { font-size: 1.6rem; font-weight: 800; padding: .7rem 0; border-bottom: 1px solid rgba(249,238,228,.12); }
.drawer nav a[aria-current="page"] { color: var(--amber); }
.drawer__tiles { display: flex; gap: 6px; margin-top: var(--s6); }
.drawer__tiles i { width: 36px; height: 36px; display: block; }
.drawer__foot { margin-top: auto; }

/* ---------- البطل (الرئيسية) ---------- */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem 1rem .35rem .5rem; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .875rem; font-weight: 600; margin-bottom: var(--s5); }
.hero__badge b { background: var(--maroon); color: var(--ivory); padding: .15rem .6rem; border-radius: var(--r-pill); font-size: .75rem; }
.hero h1 { font-size: var(--fs-display); line-height: 1.35; }
.hero h1 span { display: block; }
.hero h1 .line2 { color: var(--crimson); }
.mark-u { position: relative; display: inline !important; }
.mark-u::after { content: ""; position: absolute; inset-inline: -2%; bottom: .06em; height: .2em; background: var(--amber); z-index: -1; border-radius: 4px; transform-origin: right; transform: scaleX(0); animation: underline 900ms 700ms var(--ease) forwards; }
@keyframes underline { to { transform: scaleX(1); } }
.hero__lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 36ch; margin-top: var(--s5); line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--s6); }
.hero__points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: var(--s6); list-style: none; padding: 0; }
.hero__points li { display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.hero__points svg { width: 20px; height: 20px; color: var(--forest); }

.hero__stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; justify-self: center; width: 100%; }
.mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); }
.tile { position: relative; overflow: hidden; opacity: 0; transform: scale(.6); animation: tileIn 700ms var(--ease-spring) forwards; }
@keyframes tileIn { to { opacity: 1; transform: none; } }
.tile svg { width: 100%; height: 100%; }
.t-arch { grid-column: 2 / 5; grid-row: 1; border-radius: 999px 999px 0 0 / 100% 100% 0 0; background: var(--maroon); }
.t-arch::after { content: ""; position: absolute; inset: 22% 8% 0 40%; background: var(--orange); border-radius: 999px 999px 0 0; }
.t-bowl { grid-column: 1; grid-row: 2; background: var(--ivory); }
.t-sun { grid-column: 2; grid-row: 2; background: var(--lime); }
.t-pill { grid-column: 3; grid-row: 2 / 4; background: var(--amber); border-radius: 999px; z-index: 2; overflow: visible; }
.t-tri { grid-column: 4; grid-row: 2; background: var(--maroon); }
.t-quarter { grid-column: 1; grid-row: 3; background: var(--paper); }
.t-quarter::after { content: ""; position: absolute; inset: 0; background: var(--amber); border-radius: 100% 0 0 0; }
.t-dots { grid-column: 2; grid-row: 3; background: var(--ivory); }
.t-ring { grid-column: 4; grid-row: 3; background: var(--ivory); }
.t-half { grid-column: 1; grid-row: 4; background: var(--crimson); }
.t-dia { grid-column: 2; grid-row: 4; background: #fff; }
.t-stem { grid-column: 3; grid-row: 4; background: var(--maroon); }
.t-stem::after { content: ""; position: absolute; top: 0; inset-inline-start: 38%; width: 24%; height: 34%; background: var(--amber); }
.t-orange { grid-column: 4; grid-row: 4; background: var(--orange); display: grid; place-items: center; }
.t-orange b { color: var(--amber); font-size: clamp(.8rem, .5rem + 1vw, 1.3rem); line-height: 1; text-align: center; font-weight: 800; }
.t-orange b i { display: block; font-style: italic; color: var(--ivory); }
.tile:nth-child(2){animation-delay:.08s}.tile:nth-child(3){animation-delay:.16s}.tile:nth-child(4){animation-delay:.24s}
.tile:nth-child(5){animation-delay:.32s}.tile:nth-child(6){animation-delay:.4s}.tile:nth-child(7){animation-delay:.48s}
.tile:nth-child(8){animation-delay:.56s}.tile:nth-child(9){animation-delay:.64s}.tile:nth-child(10){animation-delay:.72s}
.tile:nth-child(11){animation-delay:.8s}.tile:nth-child(12){animation-delay:.88s}
.sun-rays { animation: spin 24s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.cursor-bob { animation: bob 3s var(--ease) infinite; }
@keyframes bob { 50% { transform: translate(-4px, -4px); } }
.hero__rabeh { position: absolute; z-index: 3; inset-inline-start: 52.5%; bottom: 25.5%; width: 20%; pointer-events: none; filter: drop-shadow(0 20px 24px rgba(92,0,23,.25)); opacity: 0; animation: rise 900ms 900ms var(--ease) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.live-card { position: absolute; z-index: 4; inset-inline-end: -7%; bottom: 7%; width: min(290px, 58%); background: #fff; border-radius: var(--r-lg); padding: 1rem 1.1rem; box-shadow: var(--shadow-3); opacity: 0; animation: rise 800ms 1.3s var(--ease) forwards; }
.live-card__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .75rem; color: var(--ink-3); }
.live-card__top b { color: var(--ink); font-size: .875rem; }
.live-card__status { display: flex; align-items: center; gap: .6rem; margin-top: .7rem; }
.live-card__ico { width: 40px; height: 40px; border-radius: 12px; background: var(--maroon-tint); color: var(--maroon); display: grid; place-items: center; flex: none; }
.live-card__ico svg { width: 22px; height: 22px; }
.live-card__label { font-weight: 800; line-height: 1.3; }
.live-card__sub { font-size: .75rem; color: var(--ink-3); line-height: 1.4; }
.live-card__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: .9rem; }
.live-card__bar i { height: 5px; border-radius: 3px; background: var(--line); transition: background 640ms var(--ease); }
.live-card__bar i.on { background: var(--crimson); }
.live-card__bar i.now { background: var(--amber); }
.swap { animation: swap 420ms var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- رأس الصفحات الداخلية ---------- */
.page-hero { background: var(--maroon); color: var(--ivory); padding-block: clamp(3rem, 2rem + 4vw, 6rem); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s7); align-items: center; position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--amber); }
.page-hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); line-height: 1.4; }
.page-hero h1 em { font-style: normal; color: var(--amber); }
.page-hero p { color: rgba(249,238,228,.8); font-size: var(--fs-lead); margin-top: var(--s5); max-width: 46ch; line-height: 1.75; }
.page-hero .hero__actions .btn--ghost { --fg: var(--ivory); box-shadow: inset 0 0 0 1.5px rgba(249,238,228,.35); }
.page-hero__art { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.page-hero__tiles { display: grid; grid-template-columns: repeat(3, 1fr); }
.page-hero__tiles i { display: block; aspect-ratio: 1; }
.page-hero__art img { position: absolute; inset-inline-start: 50%; bottom: 0; transform: translateX(50%); height: 96%; width: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.3)); }
.page-hero__art .phone { position: absolute; inset-inline-start: 50%; top: 50%; transform: translate(50%, -50%) rotate(-3deg); }

/* ---------- شريط الفئات ---------- */
.cats { border-block: 1px solid var(--line); background: #fff; padding-block: var(--s4); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cats__track { display: flex; gap: var(--s6); width: max-content; animation: marquee 40s linear infinite; }
.cats:hover .cats__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }
.cat { display: flex; align-items: center; gap: .7rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.cat img { width: 44px; height: 44px; border-radius: 12px; background: var(--sky-tint); padding: 4px; object-fit: contain; }
.cat-sep { width: 10px; height: 10px; background: var(--amber); transform: rotate(45deg); border-radius: 2px; align-self: center; }

/* ---------- بطاقات ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.card { background: #fff; border-radius: var(--r-lg); padding: var(--s6); box-shadow: inset 0 0 0 1px var(--line); transition: transform 320ms var(--ease), box-shadow 320ms var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-2); }
.card h3 { font-size: var(--fs-h3); margin-top: var(--s4); }
.card p { color: var(--ink-2); margin-top: var(--s2); line-height: 1.7; }
.card__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.card__ico svg { width: 26px; height: 26px; }
.card--ivory { background: var(--ivory); box-shadow: none; }
.b-maroon { background: var(--maroon); } .b-crimson { background: var(--crimson); } .b-amber { background: var(--amber); }
.b-orange { background: var(--orange); } .b-ivory { background: var(--ivory); } .b-sky { background: var(--sky); }
.b-lime { background: var(--lime); } .b-forest { background: var(--forest); } .b-indigo { background: var(--indigo); }
.q-tl { border-radius: 100% 0 0 0; } .q-tr { border-radius: 0 100% 0 0; } .q-bl { border-radius: 0 0 0 100%; } .q-br { border-radius: 0 0 100% 0; }
.h-top { border-radius: 999px 999px 0 0; } .h-bot { border-radius: 0 0 999px 999px; } .circ { border-radius: 50%; }
.ico-maroon { background: var(--maroon); color: var(--amber); } .ico-amber { background: var(--amber); color: var(--maroon); }
.ico-sky { background: var(--sky); color: var(--ink); } .ico-lime { background: var(--lime); color: var(--ink); }
.ico-orange { background: var(--orange); color: var(--ivory); } .ico-ivory { background: var(--ivory); color: var(--maroon); }

/* ---------- الخطوات ---------- */
.band { background: var(--ivory); }
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: var(--s5); position: relative; counter-reset: step; }
.steps__route { position: absolute; inset-inline: 8%; top: 44px; }
.steps__route svg { width: 100%; height: 12px; overflow: visible; }
.steps__route path { stroke-dasharray: 8 10; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.step { text-align: center; padding-inline: var(--s3); }
.step__num { width: 88px; height: 88px; margin-inline: auto; border-radius: 28px; display: grid; place-items: center; position: relative; background: #fff; box-shadow: var(--shadow-2); transition: transform 320ms var(--ease-spring); }
.step:hover .step__num { transform: translateY(-6px) rotate(-4deg); }
.step__num svg { width: 38px; height: 38px; }
.step__num::after { counter-increment: step; content: counter(step); position: absolute; top: -8px; inset-inline-end: -8px; width: 30px; height: 30px; border-radius: 50%; background: var(--maroon); color: var(--ivory); font-size: .85rem; font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 1.2rem; margin-top: var(--s5); }
.step p { color: var(--ink-2); font-size: .95rem; margin-top: var(--s2); line-height: 1.7; }

/* ---------- الدفع ---------- */
.pay { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s7); align-items: center; }
.pay .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.pay-m { background: #fff; border-radius: var(--r-md); padding: var(--s5); box-shadow: inset 0 0 0 1px var(--line); }
.pay-m i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.pay-m i svg { width: 22px; height: 22px; }
.pay-m b { display: block; margin-top: .7rem; font-size: 1.05rem; }
.pay-m small { color: var(--ink-2); font-size: .88rem; line-height: 1.55; display: block; margin-top: .2rem; }
.note { margin-top: var(--s5); display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); font-size: .95rem; line-height: 1.7; }
.note svg { width: 22px; height: 22px; flex: none; color: var(--forest); margin-top: 2px; }

/* ---------- شاشة هاتف مصغّرة ---------- */
.phone { width: min(290px, 100%); background: #fff; border-radius: 34px; padding: 14px; box-shadow: var(--shadow-3); border: 6px solid var(--ink); color: var(--ink); }
.phone__notch { width: 90px; height: 20px; border-radius: 0 0 12px 12px; background: var(--ink); margin: -14px auto 10px; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.ui-title { font-weight: 800; font-size: .92rem; }
.ui-muted { font-size: .72rem; color: var(--ink-3); line-height: 1.4; }
.ui-badge { font-size: .65rem; font-weight: 800; padding: .15rem .5rem; border-radius: 999px; background: var(--amber-tint); color: #8A5A00; white-space: nowrap; }
.ui-badge--green { background: #E3F6E3; color: var(--forest); }
.order-card { background: var(--paper); border-radius: 16px; padding: .75rem; margin-top: .6rem; box-shadow: inset 0 0 0 1px var(--line); }
.ui-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .6rem; }
.ui-btn { border-radius: 12px; padding: .5rem; text-align: center; font-weight: 800; font-size: .8rem; background: var(--maroon); color: var(--ivory); }
.ui-btn--ghost { background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- عرض التطبيق ---------- */
.app { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; }
.app__img { position: relative; }
.app__img::before { content: ""; position: absolute; inset: 8% 4% 0; background: var(--sky-tint); border-radius: 50% 50% var(--r-xl) var(--r-xl); z-index: -1; }
.stores { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: var(--s6); }
.store-btn { display: inline-flex; align-items: center; gap: .6rem; padding: .6rem 1.1rem; border-radius: 14px; background: var(--ink); color: #fff; font-size: .8rem; line-height: 1.3; transition: transform 160ms var(--ease); }
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 24px; height: 24px; }
.store-btn b { display: block; font-size: 1rem; }
.checks { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: .8rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.6; }
.checks li svg { width: 22px; height: 22px; flex: none; color: var(--forest); margin-top: 2px; }

/* ---------- شريط الموردين ---------- */
.teaser { border-radius: var(--r-xl); background: var(--orange); color: var(--ivory); display: grid; grid-template-columns: 1.4fr 1fr; overflow: hidden; }
.teaser__copy { padding: clamp(2rem, 1rem + 3vw, 3.5rem); }
.teaser__copy .eyebrow { color: var(--amber); }
.teaser__copy .eyebrow::before { background: var(--ivory); }
.teaser h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.teaser p { margin-top: var(--s3); color: rgba(255,255,255,.88); font-size: var(--fs-lead); max-width: 44ch; }
.teaser .btn { margin-top: var(--s5); }
.teaser__tiles { display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; }
.teaser__tiles i { display: block; aspect-ratio: 1; }

/* ---------- الأسئلة ---------- */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.acc { display: grid; gap: .6rem; }
.acc details { background: #fff; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 320ms; }
.acc details[open] { box-shadow: var(--shadow-2); }
.acc summary { list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { width: 32px; height: 32px; border-radius: 50%; background: var(--maroon-tint); color: var(--maroon); display: grid; place-items: center; flex: none; transition: transform 320ms var(--ease), background 320ms; }
.acc summary i svg { width: 16px; height: 16px; }
.acc details[open] summary i { transform: rotate(45deg); background: var(--amber); color: var(--ink); }
.acc details > div { padding: 0 1.3rem 1.2rem; color: var(--ink-2); line-height: 1.8; }

/* ---------- الدعوة والنماذج ---------- */
.cta__box { background: var(--maroon); color: var(--ivory); border-radius: clamp(24px, 3vw, 40px); overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; }
.cta__copy { padding: clamp(2rem, 1rem + 4vw, 4rem); }
.cta__copy .eyebrow { color: var(--amber); }
.cta__copy h2 { font-size: var(--fs-h2); }
.cta__copy > p { color: rgba(249,238,228,.8); font-size: var(--fs-lead); margin-top: var(--s4); }
.cta__art { position: relative; min-height: 360px; background: var(--crimson); overflow: hidden; }
.cta__art .tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); align-content: start; }
.cta__art .tiles i { display: block; aspect-ratio: 1; }
.cta__art img { position: absolute; bottom: 0; inset-inline-start: 50%; transform: translateX(50%); height: 90%; width: auto; z-index: 2; filter: drop-shadow(0 20px 30px rgba(0,0,0,.3)); }
.cta__bubble { position: absolute; z-index: 3; top: 10%; inset-inline-end: 8%; background: var(--amber); color: var(--ink); font-weight: 800; padding: .6rem 1rem; border-radius: 18px 18px 18px 4px; box-shadow: var(--shadow-2); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: var(--s6); }
.field { display: grid; gap: .35rem; align-content: start; }
.field--full { grid-column: span 2; }
.field label { font-size: .85rem; font-weight: 700; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--ivory); border: 2px solid transparent; border-radius: 14px; padding: .8rem 1rem; min-height: 52px; width: 100%; transition: border-color 160ms, box-shadow 160ms; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255,180,0,.3); }
.field [aria-invalid="true"] { border-color: var(--orange); }
.field .err { font-size: .78rem; color: var(--orange); min-height: 1em; }
.form-note { font-size: .8rem; grid-column: span 2; opacity: .7; }
.form-ok { grid-column: span 2; background: rgba(130,204,0,.18); border-radius: 12px; padding: .8rem 1rem; font-weight: 600; }
.on-dark .field label { color: rgba(249,238,228,.85); }
.on-dark .field .err { color: #FFB29A; }
.on-dark .form-ok { color: #D8F5A8; }
.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-2); }
.form-card h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.form-card > p { color: var(--ink-2); margin-top: var(--s2); }
.form-card .form { margin-top: var(--s5); }

/* ---------- من نحن / تواصل ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.split__text p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.9; }
.split__text p + p { margin-top: var(--s4); }
.split__text h2 { font-size: var(--fs-h2); margin-bottom: var(--s5); }
.quote-big { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); font-weight: 800; line-height: 1.5; color: var(--maroon); border-inline-start: 6px solid var(--amber); padding-inline-start: var(--s5); margin-top: var(--s6); }
.value h3 { margin-top: var(--s4); font-size: 1.15rem; }
.value p { color: var(--ink-2); margin-top: var(--s2); font-size: .95rem; line-height: 1.7; }
.roles { display: grid; gap: var(--s3); }
.role-row { display: flex; gap: var(--s4); align-items: center; background: #fff; border-radius: var(--r-md); padding: var(--s4) var(--s5); box-shadow: inset 0 0 0 1px var(--line); }
.role-row i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.role-row i svg { width: 26px; height: 26px; }
.role-row b { display: block; font-size: 1.05rem; }
.role-row small { color: var(--ink-2); font-size: .92rem; line-height: 1.6; display: block; }
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--s6); align-items: start; }
.contact__list { display: grid; gap: var(--s3); }
.contact__item { display: flex; gap: var(--s4); align-items: center; background: #fff; border-radius: var(--r-md); padding: var(--s4) var(--s5); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 320ms, transform 320ms var(--ease); }
a.contact__item:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-1); }
.contact__item i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.contact__item i svg { width: 24px; height: 24px; }
.contact__item small { display: block; color: var(--ink-3); font-size: .85rem; }
.contact__item b { font-size: 1.05rem; }

/* ---------- التذييل ---------- */
.footer { background: var(--ink); color: rgba(249,238,228,.7); padding-top: var(--s8); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--s7); }
.footer__brand img { height: 36px; }
.footer__brand p { margin-top: var(--s4); max-width: 36ch; line-height: 1.8; }
.footer h4 { color: var(--ivory); font-size: 1rem; margin: 0 0 var(--s4); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer ul a:hover { color: var(--amber); }
.socials { display: flex; gap: .5rem; margin-top: var(--s5); }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(249,238,228,.08); display: grid; place-items: center; transition: background 160ms, color 160ms; }
.socials a:hover { background: var(--amber); color: var(--ink); }
.socials svg { width: 20px; height: 20px; }
.footer__legal a:hover, .footer__bottom a:hover { color: var(--amber); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: var(--s5); margin-top: var(--s7); font-size: .85rem; border-top: 1px solid rgba(249,238,228,.1); }

.mobile-cta { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 40; display: none; padding: 8px; border-radius: 22px; background: rgba(42,5,16,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-3); transform: translateY(140%); transition: transform 420ms var(--ease); }
.mobile-cta.is-shown { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 48px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- الاستجابة ---------- */
@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: inline-flex; margin-inline-start: auto; }
  .hero__grid, .page-hero__grid, .pay, .app, .teaser, .cta__box, .split, .contact { grid-template-columns: 1fr; }
  .hero__stage { max-width: 470px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: var(--s7); }
  .steps__route { display: none; }
  .page-hero__art { max-width: 340px; }
  .teaser__tiles { grid-template-columns: repeat(6, 1fr); }
  .teaser__tiles i:nth-child(n+7) { display: none; }
  .cta__art { min-height: 300px; order: -1; }
  .split { gap: var(--s6); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .mobile-cta { display: flex; }
  .footer { padding-bottom: 90px; }
}
@media (max-width: 600px) {
  .header__bar { height: 64px; }
  .logo img { height: 28px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .live-card { inset-inline-end: 0; bottom: 3%; width: 72%; padding: .75rem .8rem; }
  .live-card__label { font-size: .88rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 72px 1fr; gap: var(--s4); text-align: start; }
  .step__num { width: 72px; height: 72px; border-radius: 22px; }
  .step h3 { margin-top: .4rem; }
  .card { padding: var(--s5); }
  .pay .grid-2 { grid-template-columns: 1fr 1fr; }
  .pay-m { padding: var(--s4); }
  .pay-m small { display: none; }
  .form { grid-template-columns: 1fr; }
  .field--full, .form-note, .form-ok { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .cats__track { animation: none; }
}

/* ---------- نسخة مختصرة: فئات، مزايا، شريط التحميل ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s4); }
.cat-card { background: #fff; border-radius: var(--r-lg); padding: var(--s5) var(--s3); text-align: center; box-shadow: inset 0 0 0 1px var(--line); transition: transform 320ms var(--ease), box-shadow 320ms var(--ease); }
.cat-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-2); }
.cat-card img { width: 72px; height: 72px; margin-inline: auto; border-radius: 20px; background: var(--sky-tint); padding: 8px; object-fit: contain; }
.cat-card b { display: block; margin-top: var(--s3); font-size: .98rem; }
.feat { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s7); align-items: start; }
.feat .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.feat__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.dl { background: var(--maroon); color: var(--ivory); border-radius: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; overflow: hidden; position: relative; }
.dl__copy { padding: clamp(2rem, 1rem + 4vw, 4rem); position: relative; z-index: 1; }
.dl__copy h2 { font-size: var(--fs-h2); }
.dl__copy p { color: rgba(249,238,228,.8); font-size: var(--fs-lead); margin-top: var(--s4); max-width: 40ch; }
.dl .store-btn { background: var(--ivory); color: var(--ink); }
.dl__art { align-self: end; padding: var(--s6) var(--s6) 0; position: relative; }
.dl__art::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--crimson); inset-inline-start: 15%; bottom: -20%; }
.dl__art img { position: relative; }
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .feat, .dl { grid-template-columns: 1fr; }
  .feat .section-head { position: static; }
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat__list { grid-template-columns: 1fr; }
}

/* ---------- شريط بلاطات الهوية فوق التذييل ---------- */
.tile-band { display: flex; overflow: hidden; height: 72px; border-top: 28px solid var(--amber); box-sizing: content-box; background: var(--ink); }
.tile-band svg { width: 72px; height: 72px; flex: none; }
@media (max-width: 600px) { .tile-band { height: 56px; border-top-width: 20px; } .tile-band svg { width: 56px; height: 56px; } }

/* ---------- عرض السياسات مكان المحتوى ---------- */
.legal { padding-block: clamp(2rem, 1rem + 3vw, 4rem) var(--section); }
.legal__wrap { max-width: 860px; margin-inline: auto; padding-inline: var(--gutter); }
.legal__back { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--crimson); margin-bottom: var(--s5); }
.legal__back svg { width: 18px; height: 18px; transform: scaleX(-1); }
.legal__tabs { display: inline-flex; padding: 5px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line); gap: 4px; margin-bottom: var(--s6); }
.legal__tabs a { padding: .55rem 1.2rem; border-radius: var(--r-pill); font-weight: 700; color: var(--ink-2); transition: background 160ms, color 160ms; }
.legal__tabs a[aria-current="page"] { background: var(--maroon); color: var(--ivory); }
.legal__doc { background: #fff; border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); box-shadow: inset 0 0 0 1px var(--line); }
.legal__doc h1 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); }
.legal__meta { color: var(--ink-3); font-size: .9rem; margin-top: var(--s2); }
.legal__intro { color: var(--ink-2); font-size: 1.05rem; margin-top: var(--s5); line-height: 1.9; padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.legal__doc h2 { font-size: 1.2rem; margin-top: var(--s6); display: flex; gap: .6rem; align-items: baseline; }
.legal__doc h2 span { color: var(--crimson); font-size: .95rem; min-width: 1.6em; }
.legal__doc p, .legal__doc li { color: var(--ink-2); line-height: 1.9; }
.legal__doc p { margin-top: var(--s2); }
.legal__doc ul { margin: var(--s2) 0 0; padding-inline-start: 1.4rem; display: grid; gap: .3rem; }
.legal__doc a { color: var(--crimson); font-weight: 600; }
.legal__doc h1:focus { outline: none; }
.legal__tabs a { white-space: nowrap; }
@media (max-width: 600px) { .legal__tabs { display: flex; } .legal__tabs a { flex: 1; text-align: center; padding: .55rem .6rem; font-size: .92rem; } }

