/* ═══════════════════════════════════════════════════════════
   مارتو — Martoo
   primary #3C1D3E · magenta #CC3E8A · Cario-like Cairo font
   ═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Cairo';
  src: url('/assets/cairo.ttf') format('truetype');
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --brand: #3C1D3E;
  --brand-2: #6A1B54;
  --magenta: #CC3E8A;
  --ink: #1B1219;
  --body: #574B55;
  --muted: #8A7E88;
  --paper: #FFFFFF;
  --canvas: #FAF7F9;
  --line: #EBE2E9;
  --line-2: #F4EEF3;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --dock-h: 66px;
  /* وحدة ارتفاع مستقرة: vh بيتغيّر على الموبايل لما شريط المتصفح
     يتخفى/يظهر = الصفحة بترعش. svh ثابت طول الوقت. */
  --u: 1vh;
  --head-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-dock: 0 12px 40px rgba(43, 19, 45, .18);
}

@supports (height: 1svh) { :root { --u: 1svh; } }

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: 'Cairo', system-ui, sans-serif;
  background: var(--paper);
  color: var(--body);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--dock-h) + 34px);
}

svg.ic, .feat-ic, .rc-ic, .dock-b .ic, .plus {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; font-weight: 800; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }


/* ═══════════════════════════════════════════════
   نظام الـ pinning: السكشن يفضل ثابت، والأنميشن
   بيتحسب من مكان الاسكرول وبيخلص مع السكشن
   ═══════════════════════════════════════════════ */
[data-pin] {
  position: relative;
  /* الـ runway: المسافة الإضافية اللي بت-scroll فوقها */
  min-height: calc(var(--runway, 200) * var(--u));
  padding: 0;
}
[data-pin] .pin-in {
  position: sticky;
  top: var(--head-h);                 /* يبدأ تحت الهيدر مباشرة */
  height: calc(100 * var(--u) - var(--head-h));
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 34px 0 26px;
  overflow: hidden;
}
.js [data-pin] [data-anim],
.js [data-pin][data-sec] { opacity: 1; transform: none; transition: none; }

/* على الموبايل: الsticking بيقص المحتوى، فبنرجع للتدفق العادي */
@media (max-width: 767px) {
  [data-pin] { min-height: 0; }
  [data-pin] .pin-in { position: static; height: auto; min-height: 0; padding: 56px 0; }
  .js [data-pin] [data-anim] { opacity: 0; transform: translateY(20px); transition: opacity .68s var(--ease), transform .68s var(--ease); }
  .js [data-pin] [data-anim].on { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-pin] { min-height: 0; }
  [data-pin] .pin-in { position: static; height: auto; min-height: 0; padding: 84px 0; }
}

/* ═══════ أنميشن السكشنات ═══════ */
.js [data-sec] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.js [data-sec].on { opacity: 1; transform: none; }

.js [data-anim] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .68s var(--ease), transform .68s var(--ease);
}
.js [data-anim].on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-sec], [data-anim] { opacity: 1; transform: none; }
}

/* ═══════ الهيدر ═══════ */
/* التوب بار والدوك: مقصود إنهم بدون backdrop-filter.
   الـ blur كان بيسبّب قفزات 400ms في زمن الإطار كل ما المحتوى
   اللي وراهم بيتغيّر (والأنميشن بيتغيّر كل إطار) = رعشة.
   قياس فعلي: 416ms مع الـ blur مقابل 17.7ms بدونه. */
.head {
  position: sticky; top: 0; z-index: 70;
  background: rgba(255, 255, 255, .97);
  transition: box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.head.stuck { border-color: var(--line); box-shadow: 0 1px 0 rgba(43,19,45,.02), 0 10px 30px rgba(43,19,45,.05); }

.head-inner {
  max-width: 1140px; margin: 0 auto; padding: 13px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.mark {
  display: flex; align-items: center; gap: 11px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.mark-img { width: 90px; height: 84px; object-fit: contain; }

.head-cta {
  background: var(--brand); color: #fff; border: 0; cursor: pointer;
  padding: 11px 21px; border-radius: 100px;
  font-size: 14px; font-weight: 700;
  transition: background .3s, transform .3s var(--ease);
}
.head-cta:hover { background: var(--brand-2); transform: translateY(-1px); }

/* ═══════ البطل ═══════ */
.hero {
  position: relative; overflow: hidden;
  background: var(--brand);
  color: rgba(255,255,255,.86);
  padding: 76px 0 88px;
}
/* نقشة خفيفة جداً — تفصيلة مش ديكور */
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 100%);
}
.hero > * { position: relative; z-index: 2; }
.hero.hero-sm { padding: 62px 0 68px; text-align: center; }

.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center; }

.hero h1 {
  color: #fff; font-weight: 900; letter-spacing: -1px;
  font-size: clamp(32px, 5.4vw, 58px); margin: 22px 0 20px; line-height: 1.14;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #F0A9CE, #CC3E8A 72%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead { font-size: clamp(15px, 1.7vw, 17.5px); max-width: 50ch; }

/* أزرار المتاجر */
.store-row { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 20px; }
.store-row.center { justify-content: center; margin-top: 0; }
.store {
  display: inline-flex; align-items: center; gap: 11px;
  background: #fff; color: var(--ink);
  padding: 12px 22px; border-radius: 14px;
  transition: transform .32s var(--ease), box-shadow .32s;
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
}
.store:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.28); }
.store svg { width: 25px; height: 25px; flex-shrink: 0; }
.store span { display: flex; flex-direction: column; line-height: 1.25; text-align: start; }
.store i { font-style: normal; font-size: 10px; opacity: .6; }
.store b { font-size: 15px; font-weight: 800; }
.store.dark { background: #000; color: #fff; }

/* اللوجو في الهيرو + الشارات */
.hero-art { display: flex; justify-content: center; }
.logo-stage { position: relative; display: flex; justify-content: center; }

/* بلاطة بيضاء — اللوجو شفاف ومحتاج خلفية فاتحة عشان يبان */
.logo-tile {
  width: 306px; height: 306px;
  background: #fff;
  border-radius: 62px;
  display: grid; place-items: center;
  padding: 26px;
  box-shadow:
    0 30px 64px rgba(0, 0, 0, .38),
    0 0 0 1px rgba(255, 255, 255, .18),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  animation: float 7.5s var(--ease) infinite;
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-16px) rotate(1deg); }
}

.chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .97);
  border-radius: 15px; padding: 11px 15px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
}
.chip .ic { width: 20px; height: 20px; color: var(--magenta); flex-shrink: 0; }
.chip span { display: flex; flex-direction: column; line-height: 1.3; }
.chip b { font-size: 13px; font-weight: 800; color: var(--ink); }
.chip i { font-style: normal; font-size: 10.5px; color: var(--muted); }
.chip-a { top: 8%;  inset-inline-start: -46px; animation: float 6s var(--ease) .6s infinite; }
.chip-b { bottom: 8%; inset-inline-end: -44px;  animation: float 6.5s var(--ease) 1.2s infinite; }


/* ═══════ تأثير الكتابة في الهيرو ═══════ */
/* كل الأنميشن متعلّق على كلاس `go` — والـ JS بيضيفه بعد
   حدث load بس. قبل كده النص مخفي، فمفيش كتابة بتشتغل
   أثناء تحميل الصفحة. */
.js [data-typed] .ln {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
}
.js [data-typed].go .ln { animation: sweep .62s var(--ease) forwards; }
.js [data-typed].go .ln.l2 { animation-delay: .62s; }
@keyframes sweep { to { clip-path: inset(0 0 0 0); } }

.js [data-typed] .wd { opacity: 0; display: inline-block; white-space: pre; }
.js [data-typed].go .wd {
  animation: chIn .42s var(--ease) forwards;
  animation-delay: calc(var(--i) * var(--sp, 90ms) + var(--t0, 0ms));
}
@keyframes chIn {
  from { opacity: 0; transform: translateY(.24em); filter: blur(3px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.type-words { --sp: 90ms; }

.caret { display: none; vertical-align: -.12em;
  width: 3px; height: .9em; margin-inline-start: 4px;
  background: var(--magenta); border-radius: 2px; }
.js [data-typed].go .caret { display: inline-block; animation: caretBlink .85s steps(1) infinite; }
.js [data-typed].done .caret { animation: none; opacity: 0; transition: opacity .3s; }
@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* من غير أنميشن: النص كله ظاهر فورًا */
@media (prefers-reduced-motion: reduce) {
  .js [data-typed] .ln { clip-path: none; }
  .js [data-typed] .go .ln { animation: none; }
  .js [data-typed] .go .wd { animation: none; opacity: 1; }
  .caret, .js [data-typed].go .caret { display: none; }
}

/* ═══════ شريط الثقة ═══════ */
.trust { background: var(--brand); border-top: 1px solid rgba(255,255,255,.1); }
.trust-in { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-i {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  padding: 24px 16px; color: rgba(255,255,255,.9);
  font-size: 14.5px; font-weight: 700; text-align: center;
}
.trust-i + .trust-i { border-inline-start: 1px solid rgba(255,255,255,.12); }
.trust-i .ic { width: 21px; height: 21px; color: #E9A7CE; flex-shrink: 0; }

/* ═══════ عناوين السكشنات ═══════ */
.sec { padding: 84px 0; }
.sec-alt { background: var(--canvas); }

.sec-head { max-width: 620px; margin: 0 auto 46px; text-align: center; }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 800;
  letter-spacing: 1.4px; color: var(--magenta); margin-bottom: 12px;
}
.kicker::before, .kicker::after { content: '—'; opacity: .5; margin: 0 8px; }
.kicker.light { color: #F0A9CE; }
.sec-head h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 900; letter-spacing: -.6px; }
.sec-head p { margin-top: 12px; font-size: 15px; }
.sec-head.light h1, .sec-head.light h2 { color: #fff; }
.sec-head.light p { color: rgba(255,255,255,.75); }

/* ═══════ الشبكة ٣ أعمدة (يونيك) ═══════ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ═══════ المزايا ═══════ */
.feats .feat {
  background: var(--paper); padding: 34px 30px 36px;
  position: relative;
  /* الهوفر بيتحرّك مع الاسكرول: --h بيتحدّث من محرك الـ pin */
  background: color-mix(in srgb, var(--paper) calc((1 - var(--h, 0)) * 100%), var(--canvas));
  transform: translateY(calc(var(--h, 0) * -7px));
  z-index: calc(1 + var(--h, 0));
  transition: transform .45s var(--ease);
}
/* البوكس النشط = نفس شكل الهوفر بالماوس */
.feats .feat::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border: 1px solid rgba(204, 62, 138, calc(var(--h, 0) * .42));
  border-radius: inherit;
  transition: border-color .3s;
}
.feats .feat > * { position: relative; z-index: 1; }
.grid-3 .feat:hover { background: var(--canvas); transform: translateY(-7px); }
.feat-n {
  position: absolute; top: 26px; inset-inline-end: 28px;
  font-size: 12px; font-weight: 800; letter-spacing: 1px;
  color: color-mix(in srgb, var(--line) calc((1 - var(--h, 0)) * 100%), rgba(204, 62, 138, .38));
  transition: color .3s;
}
.feat:hover .feat-n { color: rgba(204, 62, 138, .3); }
.feat-ic {
  width: 26px; height: 26px; color: var(--brand);
  margin-bottom: 18px;
  transform: translateY(calc(var(--h, 0) * -4px)) scale(calc(1 + var(--h, 0) * .09));
  transition: transform .45s var(--ease);
}
.feat-ic { color: color-mix(in srgb, var(--brand) calc((1 - var(--h, 0)) * 100%), var(--magenta)); }
.feat:hover .feat-ic { transform: translateY(-3px) scale(1.06); }
.feat h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 9px; }
.feat p { font-size: 14px; line-height: 1.85; }
.story .feat { border: 1px solid var(--line); border-radius: var(--r); }

/* ═══════ الأرقام ═══════ */
.stat {
  background: var(--canvas); border: 1px solid var(--line);
  border-radius: var(--r); padding: 32px 18px; text-align: center;
  transition: background .38s, border-color .38s, transform .38s var(--ease);
}
.stat:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-4px); }
.stat b { display: block; font-size: 38px; font-weight: 900; color: var(--brand); line-height: 1.1; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.stat i { font-style: normal; font-size: 13px; color: var(--muted); }
.stat:hover b { color: #fff; }
.stat:hover i { color: rgba(255,255,255,.7); }

/* ═══════ مارتو لمين؟ (pinned showcase) ═══════ */
.who-sec { background: var(--canvas); }
.who-wrap {
  display: grid; grid-template-columns: .82fr 1.18fr;
  gap: 56px; align-items: center;
}
.who-side { position: relative; }
.who-side h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; line-height: 1.22; letter-spacing: -.8px; }
.who-lead { margin-top: 14px; font-size: 15px; max-width: 34ch; }

/* الشريط العمودي + النقاط */
.who-rail { position: relative; margin-top: 34px; height: 4px; background: var(--line); border-radius: 100px; }
.who-rail-fill {
  position: absolute; inset-block: 0; inset-inline-start: 0;
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, var(--brand), var(--magenta));
  border-radius: 100px;
}
.who-dots { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; }
.who-dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line);
  transition: background .34s, border-color .34s, transform .34s var(--ease);
}
.who-dot.is-on { background: var(--magenta); border-color: var(--magenta); transform: scale(1.35); }

.who-count { margin-top: 16px; font-size: 13px; color: var(--muted); }
.who-count b { font-size: 26px; font-weight: 900; color: var(--brand); }
.who-count i { font-style: normal; margin: 0 5px; color: var(--line); }

/* الكروت */
.who-stack { display: grid; gap: 20px; }
.who-card {
  position: relative; display: flex; align-items: center; gap: 24px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 34px;
  overflow: hidden;
  transform: translateY(calc((1 - var(--k, 0)) * 46px)) scale(calc(.94 + var(--k, 0) * .06));
  opacity: calc(.30 + var(--k, 0) * .70);
  transition: border-color .38s, box-shadow .38s;
}
.who-card.is-live { border-color: rgba(204,62,138,.42); box-shadow: var(--shadow-sm); }
.who-bar {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--magenta));
  transform: scaleY(var(--k, 0)); transform-origin: center;
  transition: transform .4s var(--ease);
}
.who-ic {
  width: 76px; height: 76px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 18px;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  color: #fff;
}
.who-ic .ic { width: 32px; height: 32px; }
.who-body { position: relative; }
.who-num {
  position: absolute; top: -10px; inset-inline-end: 0;
  font-size: 52px; font-weight: 900; color: var(--line-2);
  line-height: 1; pointer-events: none;
  transition: color .38s;
}
.who-card.is-live .who-num { color: rgba(204,62,138,.14); }
.who-body h3 { font-size: 21px; font-weight: 800; margin-bottom: 7px; }
.who-body p { font-size: 15.5px; }

/* ═══════ ازاي بتطلب؟ ═══════ */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; list-style: none;
}
.step { position: relative; text-align: center; padding: 0 8px; }

.step-n {
  width: 46px; height: 46px; margin: 0 auto 18px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--line);
  font-size: 17px; font-weight: 900; color: var(--magenta);
  position: relative; z-index: 2;
  transition: background .38s, color .38s, border-color .38s, transform .38s var(--ease);
}
.step:hover .step-n { background: var(--brand); color: #fff; border-color: var(--brand); transform: scale(1.08); }

/* الخط الواصل — بيتعبى مع الاسكرول (inset-inline-end بيتقلّص من 100% لـ 0) */
.step::before {
  content: ''; position: absolute; top: 23px; inset-inline-start: -50%;
  width: 100%; height: 1.5px; z-index: 1;
  background: #D8CBD4;
}
.step::after {
  content: ''; position: absolute; top: 23px; inset-inline-end: 0;
  width: 100%; height: 1.5px; z-index: 1;
  background: linear-gradient(90deg, var(--magenta), var(--brand));
  transform-origin: right center;
  transform: scaleX(var(--fill, 0));
  /* مفيش transition هنا — --fill بيتحدّث كل إطار، والـ transition
     كان بيعمل تخلّف 500ms والخط بيسيب ورا صباعك
     كان بيسيب الخط ورا صباعك (ارتعاش) */
}
.step:first-child::before, .step:first-child::after { display: none; }
.step h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14px; }



/* ═══════ قيمنا ═══════ */
.value {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px 24px;
  transition: transform .38s var(--ease), border-color .38s;
}
.value:hover { transform: translateY(-5px); border-color: rgba(204,62,138,.32); }
.val-ic { width: 26px; height: 26px; color: var(--magenta); margin-bottom: 16px; }
.value h3 { font-size: 18px; font-weight: 800; margin-bottom: 7px; }
.value p { font-size: 14px; }

/* ═══════ ليه مارتو ═══════ */
.why { list-style: none; max-width: 620px; margin: 0 auto; }
.why li {
  display: flex; align-items: center; gap: 14px;
  padding: 19px 22px; background: var(--canvas);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  margin-bottom: 11px; font-size: 15.5px; font-weight: 700; color: var(--ink);
  transition: background .34s, border-color .34s, transform .34s var(--ease);
}
.why li:hover { background: var(--paper); border-color: rgba(204,62,138,.34); transform: translateX(-5px); }
.why .ic { width: 20px; height: 20px; color: var(--magenta); flex-shrink: 0; stroke-width: 2.2; }

/* ═══════ كتلة نصية / الرسالة ═══════ */
.prose-block { max-width: 760px; margin: 0 auto; text-align: center; }
.prose-block h2 { font-size: clamp(22px, 3.2vw, 32px); font-weight: 900; margin-bottom: 16px; }
.prose-block p { font-size: 17px; line-height: 1.95; }

.mission { max-width: 720px; margin: 0 auto; text-align: center; }
.mission p {
  font-size: clamp(20px, 2.8vw, 30px); font-weight: 800;
  color: var(--ink); line-height: 1.55; letter-spacing: -.3px;
}

/* لوجو صفحة About */
.about-mark { display: flex; justify-content: center; margin-top: 34px; }
.about-mark img {
  width: 190px; height: 190px; object-fit: contain;
  background: #fff; border-radius: 42px; padding: 22px;
  box-shadow: 0 24px 56px rgba(0,0,0,.34);
}

/* ═══════ السياسات ═══════ */
.pol-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 46px; }
.pol-toc a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 100px; padding: 10px 18px;
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  transition: border-color .3s, color .3s, transform .3s var(--ease);
}
.pol-toc a:hover { border-color: var(--magenta); color: var(--magenta); transform: translateY(-2px); }
.pol-toc .ic { width: 17px; height: 17px; color: var(--magenta); }

.pol {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 34px; margin-bottom: 18px;
  scroll-margin-top: 96px;
  transition: border-color .34s, box-shadow .34s;
}
.pol:target { border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(204,62,138,.1); }
.pol h2 {
  display: flex; align-items: center; gap: 11px;
  font-size: 21px; font-weight: 900; margin-bottom: 18px;
}
.pol h2 .ic { width: 23px; height: 23px; color: var(--magenta); }
.pol ul { list-style: none; }
.pol li {
  position: relative; padding-inline-start: 24px;
  font-size: 14.8px; line-height: 1.9; margin-bottom: 11px;
}
.pol li::before {
  content: ''; position: absolute; inset-inline-start: 6px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); opacity: .55;
}
.pol li b { color: var(--ink); font-weight: 800; }
.pol p { font-size: 14.8px; }

/* عناصر لسه فاضلة — بتظهر زي الـ placeholder */
.todo {
  display: inline-block;
  background: #FFF6E5; border: 1px dashed #E0A93C;
  color: #8A5B06; border-radius: 7px;
  padding: 1px 9px; font-size: 13px; font-weight: 700;
  font-style: normal;
}
.inline-link { color: var(--magenta); font-weight: 700; border-bottom: 1px solid rgba(204,62,138,.35); }
.inline-link:hover { border-color: var(--magenta); }

/* ═══════ الأسئلة ═══════ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-sm); margin-bottom: 10px; overflow: hidden;
  transition: border-color .3s;
}
.faq details[open] { border-color: rgba(204,62,138,.34); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 52px 18px 22px;
  font-weight: 700; font-size: 15.5px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.plus {
  position: absolute; inset-inline-start: 20px; top: 50%;
  width: 18px; height: 18px; margin-top: -9px;
  color: var(--magenta); transform: rotate(45deg);
  transition: transform .38s var(--ease);
  stroke-width: 2.4;
}
.faq details[open] .plus { transform: rotate(225deg); }
.faq p { padding: 0 22px 20px; font-size: 14px; color: var(--body); }

/* ═══════ CTA — مستطيل بعرض كامل ═══════ */
/* باند كامل من طرف الشاشة لطرفها، مستقيم (من غير تدوير)،
   والمحتوى جوّاه بعرض مقروء محدود. */
.cta-sec { padding: 0; }
.cta-sec .pin-in { padding: 0; align-items: center; }
.cta-sec .wrap { max-width: none; padding: 0; width: 100%; }

.cta {
  background: var(--brand); color: rgba(255,255,255,.84);
  width: 100%;
  border-radius: 0;
  padding: 76px 24px 72px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(620px 280px at 50% -18%, rgba(204,62,138,.34), transparent 70%);
}
.cta > * { position: relative; z-index: 2; }

/* المحتوى جوّه عرض مقروء (64ch) بحد أقصى — نص مستطيل */
.cta-mark {
  width: 116px; height: 116px; object-fit: contain;
  margin: 0 auto 26px; display: block;
  background: #fff; border-radius: 26px; padding: 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}
.cta-tag {
  display: block; font-size: 12.5px; font-weight: 800;
  letter-spacing: 1.4px; color: #F0A9CE; margin-bottom: 16px;
}
.cta h2 {
  color: #fff; font-size: clamp(26px, 3.9vw, 44px); font-weight: 900;
  line-height: 1.18; letter-spacing: -.8px; margin-bottom: 16px;
}
.cta p {
  max-width: 56ch; margin: 0 auto 34px;
  font-size: clamp(14.5px, 1.6vw, 17px);
}
.cta .store-row.center { margin-top: 0; }
.cta-foot { margin-top: 24px !important; font-size: 12.5px; color: rgba(255,255,255,.58) !important; }

/* ═══════ بطاقات التواصل ═══════ */
.reach-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .34s, transform .34s var(--ease), background .34s;
}
.reach-card:hover { border-color: rgba(204,62,138,.4); transform: translateY(-4px); background: var(--canvas); }
.reach-card.flat:hover { transform: none; }
.rc-ic { width: 24px; height: 24px; color: var(--magenta); margin-bottom: 6px; }
.reach-card i { font-style: normal; font-size: 12.5px; color: var(--muted); }
.reach-card b { font-size: 15px; font-weight: 700; color: var(--ink); word-break: break-word; }

/* ═══════ الفورم ═══════ */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { margin-bottom: 16px; }
.fld label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--canvas); color: var(--ink); font-size: 14.5px;
  transition: border-color .28s, background .28s, box-shadow .28s;
}
.fld textarea { resize: vertical; min-height: 122px; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: 0; background: var(--paper);
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px rgba(204, 62, 138, .1);
}
.fld em { display: none; font-style: normal; font-size: 12.5px; color: #C0392B; margin-top: 5px; font-weight: 600; }
.fld.bad input, .fld.bad select, .fld.bad textarea { border-color: #E8B0B0; }
.fld.bad em { display: block; }

.submit {
  width: 100%; padding: 15px; border: 0; border-radius: var(--r-sm);
  background: var(--brand); color: #fff;
  font-size: 15.5px; font-weight: 800; cursor: pointer;
  transition: background .3s, transform .3s var(--ease), opacity .3s;
}
.submit:hover { background: var(--brand-2); transform: translateY(-2px); }
.submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.note { display: none; margin-top: 15px; padding: 14px 16px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; }
.note.ok  { display: block; background: #EDF8F2; color: #1B7A47; border: 1px solid #BEE5D0; }
.note.bad { display: block; background: #FDEEEC; color: #A93226; border: 1px solid #F3C9C5; }

/* ═══════ الناف البار (floating pill) ═══════ */
.dock {
  position: fixed; z-index: 90;
  bottom: 18px; inset-inline: 0;
  display: flex; justify-content: center;
  pointer-events: none;
  padding: 0 16px;
}
.dock-in {
  pointer-events: auto;
  display: flex; gap: 4px; padding: 6px;
  /* بدون blur — نفس سبب الهيدر (قفزات زمن الإطار) */
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: var(--shadow-dock);
  max-width: 100%;
}
.dock-b {
  display: flex; align-items: center; gap: 8px;
  border: 0; background: none; cursor: pointer;
  padding: 10px 20px; border-radius: 100px;
  color: var(--muted); font-size: 13.5px; font-weight: 700;
  white-space: nowrap;
  transition: background .34s var(--ease), color .34s var(--ease);
}
.dock-b .ic { width: 19px; height: 19px; flex-shrink: 0; transition: transform .38s var(--ease); }
.dock-b:hover { color: var(--brand); background: var(--canvas); }
.dock-b.is-on { background: var(--brand); color: #fff; }
.dock-b.is-on .ic { transform: scale(1.08); }

/* ═══════ تبديل الصفحات ═══════ */
.page { display: none; }
.page.active { display: block; }
.js .page.active { animation: pageIn .48s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ═══════ ريسبونسيف ═══════ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-art { order: -1; }
  .lead { margin-inline: auto; }
  .store-row { justify-content: center; }
  .hero-nums { justify-content: center; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .chip-a { top: 2%; inset-inline-start: -38px; }
  .chip-b { bottom: 2%; inset-inline-end: -36px; }
}
@media (max-width: 1000px) {
  .who-wrap { grid-template-columns: 1fr; gap: 34px; }
  .who-lead { max-width: none; }
  .who-side h2 br { display: none; }
  .who-rail { margin-top: 24px; max-width: 340px; }

  .trust-in { grid-template-columns: 1fr; }
  .trust-i { padding: 17px 16px; }
  .trust-i + .trust-i { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step::before { display: none; }
}

@media (max-width: 640px) {
  .sec { padding: 56px 0; }
  .pol { padding: 24px 20px; }
  .about-mark img { width: 152px; height: 152px; border-radius: 34px; padding: 18px; }
  .wrap { padding: 0 17px; }
  .head-inner { padding: 11px 17px; }
  .mark-img { width: 66px; height: 62px; }
  .hero { padding: 52px 0 62px; }
  .hero-nums { gap: 20px; }
  .hero-nums dt { font-size: 21px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .form { padding: 24px 19px; }
  .store-row .store { flex: 1; min-width: 145px; justify-content: center; }
  .logo-tile { width: 218px; height: 218px; border-radius: 46px; padding: 20px; }
  .chip { padding: 9px 12px; }
  .chip b { font-size: 12px; }
  .chip i { font-size: 9.5px; }
  .dock { bottom: 12px; }
  .dock-b { padding: 10px 14px; font-size: 12px; gap: 6px; }
  .dock-b span { display: none; }
  .dock-b.is-on span { display: inline; }
  .stat b { font-size: 32px; }
}
