/* ==========================================================
   بناة فلسطين — النسخة التاسعة (بعد مراجعة فريق الخبراء)
   أرضية فاتحة · عناوين نسخ · لون فعل واحد (أحمر) · ألوان الركائز من رحمة كير (الفاتح)
   ========================================================== */
:root {
  /* ———— الألوان: أدوار ثابتة (تباين AA على الكريمي محسوب) ———— */
  --ink: #1b1613;            /* حبر دافئ قريب من الأسود · 16.4:1 على الكريمي */
  --ink-2: #5b524c;          /* نص ثانوي · 7:1 */
  --canvas: #f8f5ef;         /* الأرضية الكريمية */
  --line: #e2dbcf;           /* خط فاصل */
  --line-strong: #8a8075;    /* حدود الحقول · 3.5:1 (عنصر غير نصي) */
  --red: #c4252f;            /* لون الفعل الوحيد · أبيض عليه 5.9:1 */
  --red-hover: #a91f28;
  --red-ink: #a51f28;        /* أحمر للنص الصغير على الكريمي · 6.9:1 */
  --olive: #55642a;          /* الزكاة · أبيض عليه 6.4:1 */
  --olive-tint: #ecefdc;
  --sand: #e9dcc3;           /* رمل: لمسات دافئة وشرائط */
  --linen: #1b1613;          /* الأقسام الداكنة = الحبر نفسه */
  --linen-ink: #e9dfcc;      /* نص على الداكن · 13:1 */
  --cream: #f6efe2;
  /* ثلاثيات HSL (للتوافق: hsl(var(--fg)) …) */
  --bg: 40 33% 95.5%;
  --fg: 22 18% 9%;
  --fg-2: 24 7% 33%;
  --card: 0 0% 100%;
  --tint: 38 30% 92.5%;
  --border: 38 22% 85%;

  /* ———— الخطوط وسلّم الأحجام (نسخ للعرض، بلكس للنص) ———— */
  /* خط العرض: Alexandria، هندسي ثقيل يرافق الشعار الكوفي المربّع.
     اختير بدل Noto Kufi Arabic لأن نقطتي الياء الأخيرة فيه تقعان داخل ذيلها، فلا تُقصّان
     في العناوين الضخمة ذات السطر الضيق (كانت «نبني» تُقرأ «نبنى»). */
  --display: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
  --display-w: 800;
  --text: "IBM Plex Sans Arabic", system-ui, sans-serif;
  /* سلّم واحد: عرض 72 · h1 56 · h2-xl 52 · h2 42 · h3-lg 26 · h3 22 · مقدمة 20 · نص 17 · صغير 14 · دقيق 13 · تعليق 12 */
  --fs-display: clamp(36px, calc(24px + 3.35vw), 72px);   --lh-display: 1.2;   /* H1 فوق صورة */
  --fs-h1: clamp(30px, calc(19px + 2.55vw), 56px);      --lh-h1: 1.25;       /* H1 داخلي/تطبيق */
  --fs-h2-xl: clamp(32px, 3.6vw, 52px);   --lh-h2-xl: 1.25;
  --fs-h2: clamp(28px, 3vw, 42px);        --lh-h2: 1.3;
  --fs-h3-lg: clamp(22px, 2vw, 26px);     --lh-h3-lg: 1.35;
  --fs-h3: clamp(19px, 1.6vw, 22px);      --lh-h3: 1.4;
  --fs-lead: clamp(17px, 1.4vw, 20px);    --lh-lead: 1.75;
  --fs-body: 17px;                        --lh-body: 1.8;
  --fs-small: 14px;                       --lh-small: 1.6;
  --fs-micro: 13px;
  --fs-cap: 12px;
  /* ارتفاعات الأزرار: ثلاث درجات فقط */
  --btn-sm: 44px;  /* الرأس والرقائق */
  --btn: 52px;     /* كل زر داخل قسم */
  --btn-lg: 58px;  /* زر التبرع الرئيسي وشريط الدعوة فقط */

  /* ———— المسافات (4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96 · 128) ———— */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --gap: clamp(64px, 7vw, 104px);          /* إيقاع الأقسام */
  --sec-y: clamp(56px, 6vw, 88px);         /* حشوة القسم: بين قسمين = ضعفها */
  --gap-sm: clamp(48px, 5.4vw, 80px);
  --container: 76rem;
  --gutter: 20px;

  /* ———— ثلاث زوايا، ظلّان ———— */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px;
  --shadow-card: 0 0 0 1px hsl(38 22% 85% / .9), 0 1px 2px rgba(27, 22, 19, .05);
  --shadow-lift: 0 0 0 1px hsl(38 22% 80% / .9), 0 2px 4px rgba(27, 22, 19, .04), 0 28px 48px -26px rgba(27, 22, 19, .34);

  /* ———— الحركة: هادئة ———— */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dur-1: 160ms; --dur-2: 320ms; --dur-3: 600ms; --dur-4: 1200ms;
  --rise: 12px;
}
@media (min-width: 640px) { :root { --gutter: 40px; } }
.pillar-help  { --p-bg: 78 38% 92%;  --p-ink: 88 48% 14%;  --p-accent: 86 60% 26%; }
.pillar-track { --p-bg: 205 75% 94%; --p-ink: 212 62% 16%; --p-accent: 214 72% 38%; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--text); font-size: 17px; line-height: 1.8; color: hsl(var(--fg)); background: hsl(var(--bg)); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4 { line-height: 1.35; text-wrap: balance; }
h3, h4 { font-family: var(--display); font-weight: 700; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
/* <picture> (صور متجاوبة من tools/images.mjs) لا يصنع صندوقًا: الصورة تبقى ابنة حاويتها في التخطيط. محدّدات «> img» تُكمَّل بـ «> picture > img». */
picture { display: contents; }
picture > source { display: none; } /* وإلا صارت <source> الفارغة عناصر في الشبكة/flex بعد display: contents */
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; top: -80px; inset-inline-start: 12px; z-index: 100; background: hsl(var(--fg)); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 640px) { .wrap { padding-inline: 40px; } }
.sec--tint { background: hsl(var(--tint)); }
.h2 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
.lead { color: hsl(var(--fg-2)); max-width: 36rem; margin-top: 12px; text-wrap: pretty; }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 24px; margin-bottom: 36px; }
.link { font-weight: 600; color: var(--red); min-height: 44px; display: inline-flex; align-items: center; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* أزرار — لون فعل واحد */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; transition: background-color .2s, box-shadow .25s var(--ease), transform .2s var(--ease), border-color .2s; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 22px -10px rgba(196, 37, 47, .7); }
.btn--red:hover { background: var(--red-hover); box-shadow: 0 12px 28px -10px rgba(196, 37, 47, .8); transform: translateY(-1px); }
.btn--cream { background: var(--cream); color: var(--linen); }
.btn--cream:hover { background: #fff; }
.btn--ink { background: hsl(var(--fg)); color: #fff; }
.btn--ink:hover { background: #2c2520; }
.btn--line { border: 1.5px solid hsl(var(--border)); background: hsl(var(--card)); }
.btn--line:hover { border-color: hsl(var(--fg)); }
.btn--accent { background: hsl(var(--p-accent)); color: #fff; }
.btn--accent:hover { filter: brightness(1.1); }

.progress { height: 8px; border-radius: 8px; background: hsl(var(--border)); overflow: hidden; }
.progress span { display: block; height: 100%; width: var(--p); background: var(--red); border-radius: inherit; transform-origin: right; transform: scaleX(0); transition: transform 1.4s var(--ease) .2s; }
.rv.in .progress span, .in .progress span { transform: scaleX(1); }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.badge--red { background: var(--red); color: #fff; }
.badge--done { background: hsl(var(--fg)); color: #fff; }
.badge--live { background: #fff; color: hsl(var(--fg)); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.badge--live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
/* نبضة بحلقة ::after (transform/opacity على المركّب) بدل box-shadow المعاد رسمه كل إطار */
.badge--live i::after, .crisis__dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(196, 37, 47, .55); animation: pulseRing 2s infinite; }
@keyframes pulseRing { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(2.75); opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(196, 37, 47, .55); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ظهور عند التمرير */
/* المحتوى ظاهر دائمًا: الحركة إزاحة صغيرة فقط، بلا شفافية، وتتابع لا يتجاوز 200ms */
.rv { opacity: 1; transform: translateY(10px); transition: transform .5s var(--ease); transition-delay: calc(min(var(--i, 0), 4) * 50ms); }
.rv.in, .no-io .rv { transform: none; }

/* ---------- شريط الحملة ---------- */
.crisis { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 20px; font-size: 14px; background: var(--linen); color: var(--linen-ink); }
.crisis[hidden] { display: none; }
.crisis p { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crisis b { color: #fff; font-weight: 600; }
.crisis__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.crisis__end { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.crisis__end a { color: #fff; font-weight: 600; padding: 0 8px; min-height: 44px; display: inline-flex; align-items: center; }
.crisis__end button { width: 44px; height: 44px; border-radius: 8px; color: rgba(233, 223, 204, .7); }

/* ---------- التنقل ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 50; background: hsl(var(--bg) / .86); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid hsl(var(--border) / .7); }
.nav { max-width: var(--container); margin-inline: auto; height: 68px; padding-inline: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 640px) { .nav { padding-inline: 40px; } }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.brand svg { width: 30px; height: 30px; }
.brand b { font-family: var(--display); font-size: 21px; font-weight: 700; white-space: nowrap; }
.nav__links { display: none; gap: 28px; font-size: 15px; font-weight: 500; color: hsl(var(--fg-2)); }
.nav__links a { padding-block: 10px; position: relative; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:hover { color: hsl(var(--fg)); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__end { display: flex; align-items: center; gap: 6px; }
.nav__lang { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: hsl(var(--fg-2)); border-radius: 10px; }
.nav__lang:hover { background: hsl(var(--tint)); color: hsl(var(--fg)); }
.nav__menu { width: 44px; height: 44px; display: grid; place-content: center; gap: 4px; border-radius: 10px; }
.nav__menu span { width: 18px; height: 1.8px; background: currentColor; border-radius: 2px; }
.menu { max-width: var(--container); margin-inline: auto; padding: 4px 20px 16px; display: grid; }
.menu[hidden] { display: none; }
.menu a { padding: 12px 0; border-bottom: 1px solid hsl(var(--border)); font-weight: 600; font-size: 18px; }
.menu a:last-child { border: 0; }
@media (min-width: 1040px) { .nav__links { display: flex; } .nav__menu, .menu { display: none !important; } }

/* ---------- الواجهة ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; margin: 12px; border-radius: 28px; min-height: clamp(560px, 82svh, 760px); display: flex; align-items: flex-end; background: var(--linen); color: #fff; }
.hero__photo { position: absolute; inset: 0; margin: 0; z-index: -1; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: heroZoom 14s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23, 17, 15, .92) 0%, rgba(23, 17, 15, .55) 38%, rgba(23, 17, 15, .1) 70%), linear-gradient(to left, rgba(23, 17, 15, .55) 0, transparent 60%); }
.hero__photo figcaption { position: absolute; top: 14px; inset-inline-end: 16px; z-index: 2; font-size: 13px; color: rgba(255, 255, 255, .8); background: rgba(23, 17, 15, .5); padding: 4px 10px; border-radius: 6px; }
.hero__inner { width: 100%; max-width: var(--container); margin-inline: auto; padding: 120px 24px 140px; }
@media (min-width: 640px) { .hero__inner { padding: 120px 48px 150px; } }
.hero__eyebrow { font-size: 15px; font-weight: 600; color: var(--linen-ink); }
.hero h1 { margin-top: 14px; max-width: 13ch; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.3; text-wrap: balance; }
.hero__lead { margin-top: 18px; max-width: 32rem; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.75; color: var(--linen-ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero h1, .hero__lead, .hero__cta, .hero__eyebrow { animation: rise .9s var(--ease) both; }
.hero__lead { animation-delay: .12s; } .hero__cta { animation-delay: .22s; }
@keyframes rise { from { transform: translateY(12px); } }
@media (max-width: 639px) { .hero__photo img { object-position: 30% 35%; } .hero__inner { padding-bottom: 120px; } }

/* ---------- بطاقة الحملة: ترتفع داخل الواجهة ---------- */
.campaign-wrap { position: relative; z-index: 5; margin-top: -100px; padding-inline: 20px; }
@media (min-width: 640px) { .campaign-wrap { padding-inline: 40px; } }
.campaign { max-width: var(--container); margin-inline: auto; display: grid; gap: 0; background: hsl(var(--card)); border-radius: 24px; overflow: hidden; box-shadow: 0 1px 0 hsl(var(--border)), 0 40px 80px -40px rgba(23, 17, 15, .45); }
.campaign__media { position: relative; min-height: 220px; }
.campaign__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.campaign__body { padding: 28px; display: grid; gap: 10px; align-content: center; }
.campaign__kicker { font-size: 14px; font-weight: 600; color: var(--red); }
.campaign__title { font-family: var(--display); font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.3; }
.campaign__desc { color: hsl(var(--fg-2)); }
.campaign__nums { font-size: 15px; color: hsl(var(--fg-2)); }
.campaign__nums b { color: hsl(var(--fg)); font-size: 17px; }
.give { padding: 28px; display: grid; gap: 12px; align-content: center; background: hsl(var(--tint) / .55); border-top: 1px solid hsl(var(--border)); }
@media (min-width: 1024px) {
  .campaign { grid-template-columns: .8fr 1fr 1.05fr; }
  .give { border-top: 0; border-inline-start: 1px solid hsl(var(--border)); }
}
@media (min-width: 700px) and (max-width: 1023px) { .campaign { grid-template-columns: 1fr 1fr; } .give { grid-column: 1 / -1; } }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px; border-radius: 12px; background: hsl(var(--border) / .7); }
.seg button { min-height: 40px; border-radius: 9px; font-size: 14px; font-weight: 600; color: hsl(var(--fg-2)); transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button[aria-checked="true"] { background: #fff; color: hsl(var(--fg)); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.seg--sm { grid-template-columns: 1fr 1fr; }
.amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.amts button { min-height: 48px; border-radius: 12px; background: #fff; border: 1.5px solid hsl(var(--border)); font-weight: 700; font-size: 17px; transition: border-color .2s, background-color .2s, color .2s, transform .15s; }
.amts button:hover { border-color: hsl(var(--fg-2)); }
.amts button:active { transform: scale(.96); }
.amts button[aria-checked="true"] { border-color: var(--red); color: var(--red); background: rgba(196, 37, 47, .06); }
.amts input { grid-column: 1 / -1; min-height: 48px; border-radius: 12px; border: 1.5px solid hsl(var(--border)); background: #fff; padding: 0 14px; font-size: 16px; }
.amts input:focus, .give__gift:focus { border-color: var(--red); }
.give__what { min-height: 1.8em; font-size: 15px; color: hsl(var(--fg)); font-weight: 500; }
.give__opts { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
.give__opts label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; cursor: pointer; }
.give__opts input { width: 18px; height: 18px; accent-color: var(--red); }
.give__gift { min-height: 46px; border-radius: 12px; border: 1.5px solid hsl(var(--border)); background: #fff; padding: 0 14px; }
.give__gift[hidden] { display: none; }
.give__pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.give__pay span { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; border: 1px solid hsl(var(--border)); background: #fff; color: hsl(var(--fg-2)); direction: ltr; }
.give__fine { text-align: center; font-size: 13px; color: hsl(var(--fg-2)); }

/* ---------- الأرقام ---------- */
.stats { position: relative; margin-top: var(--gap); background: var(--linen); color: #fff; padding-block: 0 clamp(56px, 7vw, 88px); }
.stats__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: clamp(48px, 6vw, 72px); margin-bottom: 28px; }
.stats__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(233, 223, 204, .16); }
.stats__row div { display: grid; gap: 6px; padding: 28px 0 0; }
.stats__row div:nth-child(even) { padding-inline-start: 24px; border-inline-start: 1px solid rgba(233, 223, 204, .16); }
.stats__row b { font-family: var(--text); font-weight: 700; font-size: clamp(44px, 6vw, 80px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stats__row span { color: var(--linen-ink); font-size: 16px; }
.stats__link { color: #fff; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.stats__link:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 900px) {
  .stats__row { grid-template-columns: repeat(4, 1fr); }
  .stats__row div { padding-inline-start: 28px; border-inline-start: 1px solid rgba(233, 223, 204, .16); }
  .stats__row div:first-child { padding-inline-start: 0; border-inline-start: 0; }
}

/* ---------- تبويبات + البطاقات ---------- */
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: hsl(var(--border) / .7); overflow-x: auto; scrollbar-width: none; }
.tabs button { min-height: 40px; padding: 0 18px; border-radius: 9px; font-weight: 600; font-size: 15px; color: hsl(var(--fg-2)); white-space: nowrap; transition: background-color .2s, color .2s; }
.tabs button[aria-selected="true"] { background: #fff; color: hsl(var(--fg)); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card { display: flex; flex-direction: column; background: hsl(var(--card)); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card[hidden] { display: none; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__meta { font-size: 14px; color: hsl(var(--fg-2)); font-weight: 500; }
.card h3 { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.45; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__unit { font-size: 14px; color: hsl(var(--fg-2)); margin-bottom: 6px; }
.card__nums { display: flex; justify-content: space-between; font-size: 15px; color: hsl(var(--fg-2)); }
.card__nums b { color: hsl(var(--fg)); }
.card .btn { margin-top: auto; }
.card .progress { margin-top: auto; }
.card__body .btn { margin-top: 6px; }

/* ---------- كيف يصل تبرعك ---------- */
.how { position: relative; padding-block: 0 var(--gap); margin-top: var(--gap); background: var(--linen); color: var(--cream); }
.how .head { padding-top: clamp(48px, 6vw, 72px); }
.how .h2 { color: #fff; }
.steps { display: grid; gap: 14px; counter-reset: s; }
.steps li { display: grid; gap: 6px; padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.steps span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; background: var(--red); color: #fff; margin-bottom: 6px; }
.steps b { font-family: var(--display); font-size: 21px; font-weight: 700; color: #fff; }
.steps p { color: var(--linen-ink); font-size: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- الركائز (كفالة، زكاة) ---------- */
.pillar { padding: var(--gap) 20px 0; }
@media (min-width: 640px) { .pillar { padding-inline: 40px; } }
.pillar + .pillar { padding-top: 16px; }
.pillar__field { max-width: var(--container); margin-inline: auto; display: grid; gap: 16px; padding: 12px; border-radius: 28px; background: hsl(var(--p-bg)); color: hsl(var(--p-ink)); }
@media (min-width: 1024px) { .pillar__field { grid-template-columns: 1fr 1fr; padding: 16px; border-radius: 36px; } }
.pillar__copy { padding: 24px; display: flex; flex-direction: column; gap: 16px; justify-content: center; align-items: flex-start; }
@media (min-width: 640px) { .pillar__copy { padding: 44px; } }
.pillar__label { font-weight: 600; color: hsl(var(--p-accent)); }
.pillar h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.4; text-wrap: balance; }
.pillar__body { font-size: 17px; opacity: .9; max-width: 32rem; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 26rem; }
.tiers a { display: grid; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .7); text-align: center; transition: background-color .2s, transform .2s var(--ease); }
.tiers a:hover { background: #fff; transform: translateY(-2px); }
.tiers b { font-size: 24px; font-weight: 700; color: hsl(var(--p-accent)); }
.tiers span { font-size: 14px; }
.checks { display: grid; gap: 6px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.checks li::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: hsl(var(--p-accent, 76 41% 28%)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M7 12.5l3.2 3 6.8-7'/%3E%3C/svg%3E") center/12px no-repeat; }
.pillar__stage { position: relative; min-height: 28rem; border-radius: 22px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 32px 18px; background: hsl(var(--p-accent) / .06); }
@media (min-width: 1024px) { .pillar__stage { border-radius: 28px; } }
.cloth { position: absolute; inset: 0; pointer-events: none; }
.cloth::before { content: ""; position: absolute; inset: 0; background: hsl(var(--p-accent) / .55); -webkit-mask: url("assets/tatreez/field-mask.svg") center / cover no-repeat; mask: url("assets/tatreez/field-mask.svg") center / cover no-repeat; }
.mock { position: relative; z-index: 1; width: 100%; max-width: 25rem; background: #fff; color: hsl(var(--fg)); border-radius: 18px; padding: 22px; display: grid; gap: 12px; box-shadow: 0 30px 60px -28px rgba(23, 17, 15, .5); }
.mock__h { font-family: var(--display); font-weight: 700; font-size: 20px; }
.mock__top { display: flex; justify-content: space-between; font-size: 14px; color: hsl(var(--fg-2)); }
.mock__top b { color: hsl(var(--fg)); }
.tl li { position: relative; display: grid; padding: 8px 32px 8px 0; font-size: 15px; }
.tl li::before { content: ""; position: absolute; right: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid hsl(var(--p-accent) / .4); }
.tl li.ok::before { border-color: hsl(var(--p-accent)); background: hsl(var(--p-accent)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M7 12.5l3.2 3 6.8-7'/%3E%3C/svg%3E") center/12px no-repeat; }
.tl li.now::before { border-style: dashed; }
.tl span { font-size: 13px; color: hsl(var(--fg-2)); }
.row { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: 10px; background: hsl(var(--tint)); font-size: 15px; }
.row span { flex: 1; }
.row input { width: 7em; border: 0; background: none; text-align: left; direction: ltr; font-size: 16px; }
.row input:focus { border-color: var(--red); }
.row:focus-within { box-shadow: inset 0 0 0 1.5px hsl(var(--p-accent)); }
.row i { font-style: normal; color: hsl(var(--fg-2)); }
.zout { display: grid; text-align: center; padding: 14px; border-radius: 12px; background: hsl(var(--p-bg)); }
.zout span, .zout small { font-size: 14px; color: hsl(var(--fg-2)); }
.zout b { font-size: 40px; font-weight: 700; line-height: 1.15; color: hsl(var(--p-accent)); font-variant-numeric: tabular-nums; }

/* ---------- القصص ---------- */
.stories { display: grid; gap: 20px; }
.story { display: flex; flex-direction: column; background: hsl(var(--card)); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 0 hsl(var(--border)), 0 20px 40px -28px rgba(23, 17, 15, .35); }
.story img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story__body { padding: 22px; display: grid; gap: 8px; }
.story__meta { font-size: 14px; color: hsl(var(--fg-2)); font-weight: 500; }
.story h3 { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.5; }
.story--big h3 { font-size: clamp(26px, 2.6vw, 32px); }
.story__body p:not(.story__meta) { color: hsl(var(--fg-2)); }
.story__cost { font-weight: 600; color: hsl(var(--fg)) !important; }
@media (min-width: 900px) { .stories { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; } .story--big { grid-row: span 2; } .story--big img { aspect-ratio: 4 / 3; } }

/* ---------- الخريطة ---------- */
.mapgrid { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 1024px) { .mapgrid { grid-template-columns: 1.35fr 1fr; } }
.map__card, .map__panel { background: hsl(var(--card)); border-radius: 22px; padding: 24px; box-shadow: 0 1px 0 hsl(var(--border)); }
.map { width: 100%; height: auto; max-height: 64vh; margin-top: 10px; }
.gov { fill: hsl(4 70% 45% / var(--o, .22)); stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; cursor: pointer; transition: fill .25s, filter .25s; }
.gov:hover, .gov:focus-visible { fill: hsl(4 70% 45% / .95); outline: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .3)); }
.gov.is-on { fill: hsl(var(--fg)); }
.gov-label { fill: hsl(var(--fg)); font-family: var(--text); font-size: 12px; font-weight: 600; text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.gov-label.is-gaza { font-size: 11px; }
.urgent-dot { fill: var(--red); stroke: #fff; stroke-width: 1.5; pointer-events: none; }
.map__legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: hsl(var(--fg-2)); }
.map__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-inline-end: 6px; vertical-align: -1px; background: hsl(4 70% 45% / var(--o)); }
.map__legend i.dot { border-radius: 50%; background: var(--red); }
.map__panel { display: grid; gap: 14px; align-content: start; }
.map__k { font-size: 14px; font-weight: 600; color: var(--red); }
.map__panel h3 { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.3; }
.map__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.map__stats div { padding: 12px; border-radius: 12px; background: hsl(var(--tint)); }
.map__stats dt { font-size: 13px; color: hsl(var(--fg-2)); }
.map__stats dd { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.map__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid hsl(var(--border)); font-size: 15px; }
.map__list b { font-weight: 700; white-space: nowrap; }
.map__list li.u span::before { content: "عاجل · "; color: var(--red); font-weight: 700; }
.map__panel .btn { justify-self: start; }
@media (min-width: 1024px) { .map__panel { position: sticky; top: 96px; } }

/* ---------- الشفافية، الأسئلة، من نحن ---------- */
.twocol { display: grid; gap: 56px; }
@media (min-width: 1024px) { .twocol { grid-template-columns: 1fr 1fr; gap: 80px; } }
.docs { display: grid; gap: 8px; margin-top: 24px; }
.docs a { display: flex; justify-content: space-between; align-items: center; min-height: 58px; padding: 0 18px; border-radius: 14px; background: hsl(var(--card)); box-shadow: 0 1px 0 hsl(var(--border)); transition: transform .2s var(--ease), box-shadow .2s; }
.docs a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .3); }
.docs b { font-weight: 600; }
.docs span { font-size: 13px; font-weight: 700; color: var(--red); }
.faq { margin-top: 20px; }
.faq details { border-bottom: 1px solid hsl(var(--border)); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: hsl(var(--fg-2)); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: hsl(var(--fg-2)); }
.contact { display: grid; gap: 8px; margin-top: 24px; }
.contact li { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 18px; border-radius: 14px; background: hsl(var(--card)); }
.contact a { font-weight: 600; }
.partner { padding: 32px; border-radius: 22px; background: hsl(var(--card)); box-shadow: 0 1px 0 hsl(var(--border)); align-self: start; }
.partner h3 { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.4; }
.partner p { margin-top: 10px; color: hsl(var(--fg-2)); }

/* ---------- الختام ---------- */
.closing { position: relative; isolation: isolate; overflow: hidden; margin: var(--gap) 12px 12px; border-radius: 28px; padding: 13rem 16px 16px; background: var(--linen); }
.closing__cloth { position: absolute; inset: 0 0 auto; z-index: -1; height: clamp(15rem, 30vw, 24rem); background: url("assets/tatreez/hero-cloth.svg") center / cover no-repeat; }
.closing__panel { max-width: var(--container); margin-inline: auto; padding: clamp(28px, 5vw, 56px); border-radius: 22px; background: var(--linen); color: #fff; text-align: center; display: grid; justify-items: center; gap: 10px; }
.closing h2 { font-family: var(--display); font-size: clamp(36px, 5.2vw, 64px); font-weight: 700; line-height: 1.3; }
.closing p { color: var(--linen-ink); font-size: 19px; }

/* ---------- التذييل ---------- */
.foot { padding-block: 48px 110px; font-size: 15px; }
@media (min-width: 761px) { .foot { padding-bottom: 32px; } }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.foot__brand { grid-column: 1 / -1; }
.foot__brand b { font-family: var(--display); font-size: 22px; }
.foot__brand p { color: hsl(var(--fg-2)); }
@media (min-width: 768px) { .foot__cols { grid-template-columns: 1.6fr repeat(3, 1fr); } .foot__brand { grid-column: auto; } }
.foot h3 { font-size: 15px; margin-bottom: 8px; }
.foot ul a { display: inline-block; padding-block: 8px; color: hsl(var(--fg-2)); }
.foot ul a:hover { color: hsl(var(--fg)); }
.foot__fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid hsl(var(--border)); font-size: 13px; color: hsl(var(--fg-2)); }
.foot__bar { margin-top: 10px; font-size: 13px; color: hsl(var(--fg-2)); }
.foot__bar a { text-decoration: underline; text-underline-offset: 3px; }

/* شريط التبرع الثابت (جوال) */
.dock { position: fixed; bottom: 0; inset-inline: 0; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: hsl(var(--card) / .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid hsl(var(--border)); transform: translateY(110%); transition: transform .45s var(--ease); font-size: 14px; }
.dock b { display: block; font-size: 16px; line-height: 1.4; }
.dock.on { transform: none; }
@media (max-width: 760px) { .dock { display: flex; } }

/* ---------- English (LTR) ---------- */
html[dir="ltr"] { --display: "Alexandria", "IBM Plex Sans", system-ui, sans-serif; --text: "IBM Plex Sans", system-ui, sans-serif; }
[dir="ltr"] .tl li { padding: 8px 0 8px 32px; }
[dir="ltr"] .tl li::before { right: auto; left: 0; }
[dir="ltr"] .progress span { transform-origin: left; }
[dir="ltr"] .map__list li.u span::before { content: "Urgent · "; }
[dir="ltr"] .hero__photo::after { background: linear-gradient(to top, rgba(23, 17, 15, .92) 0%, rgba(23, 17, 15, .55) 38%, rgba(23, 17, 15, .1) 70%), linear-gradient(to right, rgba(23, 17, 15, .55) 0, transparent 60%); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .progress span { transform: none; }
}


/* ==========================================================
   الترتيب والاحترافية — نظام رؤوس الأقسام وشريط التطريز
   ========================================================== */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--red); }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--linen-ink); }
.eyebrow--light::before { background: var(--red); }
.head { margin-bottom: 40px; padding-bottom: 0; }
.head--solo { display: block; }
.twocol .eyebrow + .h2, .partner .eyebrow + h3 { margin-top: 0; }

/* شريط التطريز: توقيع واحد يتكرر في رأس كل قسم داكن */
.band { height: 22px; background: var(--linen) url("assets/tatreez/band.svg") center / auto 100% repeat-x; opacity: .95; }
@media (min-width: 640px) { .band { height: 30px; } }

/* صف الثقة تحت أزرار الواجهة */
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 15px; color: var(--linen-ink); animation: rise .9s var(--ease) .32s both; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: rgba(255, 255, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 12.5l3.2 3 6.8-7'/%3E%3C/svg%3E") center/11px no-repeat; }
.hero h1 { font-size: clamp(42px, 6.8vw, 88px); }

.stories .story, .docs a, .contact li, .partner, .map__card, .map__panel { border-radius: var(--r-md); }
.story, .partner, .map__card, .map__panel, .docs a { box-shadow: var(--shadow-card); }
.closing { margin-top: var(--gap); }

/* حافة واحدة: البطاقات واللوحات تحاذي محتوى .wrap تمامًا */
.campaign, .pillar__field { max-width: calc(var(--container) - 40px); }
@media (min-width: 640px) { .campaign, .pillar__field { max-width: calc(var(--container) - 80px); } }
@media (min-width: 900px) { .story--big img { aspect-ratio: 16 / 10; } }

/* ==========================================================
   النسخة 20 — الدمج الكامل: أفراد + مؤسسات + أيتام
   ========================================================== */
.btn--glass { color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); }
.btn--glass:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.crisis__clock { font-size: 13px; color: var(--linen-ink); padding-inline: 8px; display: none; }
.crisis__clock b { color: #fff; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .crisis__clock { display: inline; } }
/* الجوال: لا نقصّ الرسالة في منتصف رقم. نُسقط عنوان «الحملة الحالية:» ونترك النص يلتفّ على سطرين كاملين
   (حدّ أقصى ثلاثة أسطر لنصوص لوحة التحكم الطويلة)، فيظهر «300 دولار» كاملًا دائمًا. */
@media (max-width: 899px) {
  .crisis.crisis { padding-block: 5px; padding-inline: 16px 8px; align-items: center; }
  .crisis p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; white-space: normal; text-overflow: clip; line-height: 1.5; font-size: 13px; }
  .crisis p > b:first-of-type { display: none; }
  .crisis__dot { display: inline-block; vertical-align: middle; margin-inline-end: 7px; margin-top: -2px; }
}

/* القوائم المنسدلة */
.mega { display: none; list-style: none; gap: 4px; align-items: center; }
.mega__item { position: relative; }
.mega__btn, .mega__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: hsl(var(--fg-2)); transition: background-color .2s, color .2s; }
.mega__btn::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease); }
.mega__btn:hover, .mega__link:hover, .mega__item:focus-within .mega__btn, .mega__item:hover .mega__btn { background: hsl(var(--tint)); color: hsl(var(--fg)); }
.mega__item:hover .mega__btn::after, .mega__item:focus-within .mega__btn::after { transform: rotate(225deg) translateY(-2px); }
.mega__panel { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; display: grid; grid-template-columns: repeat(2, minmax(200px, auto)); gap: 8px 28px; padding: 20px 22px; border-radius: var(--r-md); background: hsl(var(--card)); box-shadow: 0 1px 0 hsl(var(--border)), 0 30px 60px -24px rgba(23, 17, 15, .35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; z-index: 70; }
.mega__panel::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.mega__item:hover .mega__panel, .mega__btn[aria-expanded="true"] + .mega__panel { opacity: 1; visibility: visible; transform: none; }
.mega__panel div { display: grid; gap: 2px; align-content: start; }
.mega__h { font-size: 13px; font-weight: 600; color: var(--red); margin-bottom: 4px; }
.mega__panel a { padding: 8px 10px; margin-inline: -10px; border-radius: 8px; font-size: 15px; white-space: nowrap; }
.mega__panel a:hover { background: hsl(var(--tint)); }
.nav__login { display: none; }
@media (min-width: 1100px) { .mega { display: flex; } .nav__login { display: inline-flex; padding-inline: 12px; } .nav__menu, .menu { display: none !important; } }
@media (max-width: 1099px) { .nav__links { display: none; } }
.menu__h { font-size: 13px; font-weight: 600; color: var(--red); padding-top: 14px; }

/* اختر طريقك */
.paths { padding-top: clamp(40px, 5vw, 64px); }
.paths__grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .paths__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .paths__grid { grid-template-columns: repeat(4, 1fr); } }
.path { position: relative; display: grid; gap: 6px; padding: 22px; border-radius: var(--r-md); background: hsl(var(--card)); box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.path:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.path__n { font-size: 13px; font-weight: 700; color: var(--red); }
.path b { font-family: var(--display); font-size: 21px; }
.path small { font-size: 15px; color: hsl(var(--fg-2)); }
.path i { position: absolute; top: 22px; inset-inline-end: 22px; font-style: normal; color: var(--red); transition: transform .3s var(--ease); }
.path:hover i { transform: translateX(-4px); }
[dir="ltr"] .path:hover i { transform: translateX(4px); }
.path--dark { background: var(--linen); color: #fff; }
.path--dark small { color: var(--linen-ink); }

/* الأيتام */
.orphans { padding-block: var(--gap); }
.orph { display: grid; gap: 20px; }
@media (min-width: 1100px) { .orph { grid-template-columns: 2.2fr 1fr; } }
.orph__plans { display: grid; gap: 16px; }
@media (min-width: 760px) { .orph__plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 26px 22px; border-radius: var(--r-md); background: hsl(var(--card)); box-shadow: var(--shadow-card); }
.plan--hi { box-shadow: inset 0 0 0 2px var(--red), var(--shadow-lift); }
.plan__k { font-size: 13px; font-weight: 700; color: var(--red); }
.plan h3 { font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.3; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-size: 44px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price span { color: hsl(var(--fg-2)); }
.plan .btn { margin-top: auto; }
.plan__n { text-align: center; font-size: 14px; color: hsl(var(--fg-2)); }
.plan__n b { color: hsl(var(--fg)); }
.checks--sm li { font-size: 15px; font-weight: 500; }
.checks--sm li::before { background-color: hsl(152 45% 32%); }
.orph__more { padding: 26px 22px; border-radius: var(--r-md); background: hsl(42 78% 91%); color: hsl(28 60% 15%); display: grid; gap: 14px; align-content: start; }
.orph__more h3 { font-family: var(--display); font-size: 22px; }
.extras { display: grid; gap: 8px; }
.extras li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .7); }
.extras b { font-weight: 600; }
.extras span { grid-column: 1; font-size: 14px; opacity: .8; }
.extras a { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 700; color: hsl(28 85% 32%); min-height: 44px; display: inline-flex; align-items: center; }
.orph__how { font-size: 15px; padding-top: 4px; }

/* التبرع العام */
.general { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; padding: 22px 26px; border-radius: var(--r-md); background: hsl(var(--card)); box-shadow: var(--shadow-card); }
.general div { display: grid; }
.general b { font-family: var(--display); font-size: 21px; }
.general span { color: hsl(var(--fg-2)); }

/* التنموي + المقاعد */
.dev { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .dev { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.dev__text { display: grid; gap: 14px; justify-items: start; }
.dev__kpis { display: flex; flex-wrap: wrap; gap: 28px; padding-block: 8px; }
.dev__kpis li { display: grid; }
.dev__kpis b { font-size: 36px; font-weight: 700; line-height: 1.1; }
.dev__kpis span { color: hsl(var(--fg-2)); font-size: 15px; }
.seats { padding: 26px; border-radius: var(--r-lg); background: hsl(var(--card)); box-shadow: var(--shadow-card); display: grid; gap: 14px; }
.seats__h { font-weight: 600; }
.seats__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.seats__grid i { aspect-ratio: 1; border-radius: 6px; background: hsl(var(--border)); transition: background-color .4s, transform .3s var(--ease); transition-delay: calc(var(--k) * 8ms); }
.seats.in .seats__grid i.s-on, .seats__grid i.s-on.lit { background: var(--red); }
.seats__legend { display: flex; gap: 18px; font-size: 14px; color: hsl(var(--fg-2)); }
.seats__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: hsl(var(--border)); margin-inline-end: 6px; vertical-align: -1px; }
.seats__legend i.s-on { background: var(--red); }
.seats__n { font-size: 15px; }
.seats__n b { font-size: 22px; }

/* المواسم */
.countdown { display: flex; align-items: baseline; gap: 8px; padding: 12px 18px; border-radius: 14px; background: var(--linen); color: var(--linen-ink); font-size: 14px; }
.countdown b { font-size: 36px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.season-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .season-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.season { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-md); background: hsl(var(--card)); box-shadow: var(--shadow-card); }
.season--main { background: var(--linen); color: #fff; }
.season__k { font-size: 14px; font-weight: 700; color: var(--red); }
.season--main .season__k { color: #f0b3b7; }
.season h3 { font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.4; }
.season p:not(.season__k):not(.season__price) { color: hsl(var(--fg-2)); }
.season__price { font-size: 15px; margin-top: auto; }
.season__price b { font-size: 22px; }
.season__list { display: grid; gap: 2px; }
.season__list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(233, 223, 204, .15); }
.season__list b { font-variant-numeric: tabular-nums; }
.season__ten { display: grid; gap: 6px; justify-items: start; margin-top: 8px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.season__ten span { color: var(--linen-ink); font-size: 15px; }

/* سلسلة التنفيذ: 5 خطوات */
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } }

/* المؤسسات */
.inst { padding-block: var(--gap); background: var(--linen); color: #fff; }
.inst .h2 { color: #fff; }
.lead--light { color: var(--linen-ink); }
.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 900px) { .sectors { grid-template-columns: repeat(4, 1fr); } }
.sector { display: grid; gap: 2px; text-align: start; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .2s, border-color .2s; }
.sector b { font-weight: 600; font-size: 16px; }
.sector span { font-size: 14px; color: var(--linen-ink); opacity: .8; }
.sector:hover { background: rgba(255, 255, 255, .09); }
.sector.is-on { background: var(--cream); color: var(--linen); border-color: var(--cream); }
.sector.is-on span { color: var(--linen); }
.sector__panel { margin-top: 12px; padding: 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.sector__panel ul { display: grid; gap: 8px; }
@media (min-width: 760px) { .sector__panel ul { grid-template-columns: repeat(2, 1fr); } }
.sector__panel li { display: flex; gap: 10px; align-items: flex-start; }
.sector__panel li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-top: .65em; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.order { margin-top: 48px; padding: 26px; border-radius: var(--r-lg); background: hsl(var(--card)); color: hsl(var(--fg)); }
.order .eyebrow--light { color: var(--red); }
.order__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.order__head h3 { font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; max-width: 40rem; text-wrap: balance; }
.order__cart { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 14px; background: hsl(var(--tint)); font-size: 14px; }
[dir="rtl"] .order__cart { padding: 8px 14px 8px 8px; }
.order__cart b { font-size: 22px; font-variant-numeric: tabular-nums; }
.order__cart .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.order__grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (max-width: 639px) { .oitem { padding: 12px; } .oitem b { font-size: 15px; } }
@media (min-width: 640px) { .order__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .order__grid { grid-template-columns: repeat(4, 1fr); } }
.oitem { display: grid; gap: 6px; padding: 16px; border-radius: 14px; border: 1.5px solid hsl(var(--border)); transition: border-color .2s, background-color .2s; }
.oitem.is-in { border-color: var(--red); background: rgba(196, 37, 47, .04); }
.oitem__k { font-size: 13px; color: hsl(var(--fg-2)); }
.oitem b { font-size: 17px; line-height: 1.4; }
.oitem__q { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.oitem__q button { width: 38px; height: 38px; border-radius: 10px; background: hsl(var(--tint)); font-size: 20px; font-weight: 700; }
.oitem__q button:hover { background: hsl(var(--border)); }
.oitem__q output { font-weight: 700; font-variant-numeric: tabular-nums; }
.order__fine { margin-top: 14px; font-size: 14px; color: hsl(var(--fg-2)); }
.pkg { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(120deg, #7d1a20, var(--red)); }
.pkg h3 { font-family: var(--display); font-size: 26px; line-height: 1.4; }
.pkg p:not(.eyebrow) { color: rgba(255, 255, 255, .85); max-width: 34rem; }
.pkg .eyebrow--light { color: #fff; }
.pkg .eyebrow--light::before { background: #fff; }
.pkg__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 28px; }
@media (min-width: 760px) { .logos { grid-template-columns: repeat(6, 1fr); } }
.logos span { display: grid; place-items: center; height: 64px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .2); color: rgba(233, 223, 204, .5); font-size: 13px; }

/* العالم */
.world { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .world { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.countries { display: grid; gap: 12px; margin-top: 24px; }
.countries li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
.countries b { font-weight: 600; }
.countries span { font-size: 14px; color: hsl(var(--fg-2)); font-variant-numeric: tabular-nums; }
.countries .bar2 { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: hsl(var(--border)); overflow: hidden; }
.countries .bar2 i { display: block; height: 100%; width: var(--w); background: var(--red); border-radius: inherit; transform-origin: right; transform: scaleX(0); transition: transform 1.2s var(--ease); }
[dir="ltr"] .countries .bar2 i { transform-origin: left; }
.in .countries .bar2 i, .countries.in .bar2 i { transform: scaleX(1); }
.map__top { display: grid; gap: 2px; }
.map__top h3 { font-family: var(--display); font-size: 26px; font-weight: 700; }
#map { display: grid; gap: 14px; }
#map .map { max-height: 54vh; }

/* الحوكمة */
.gov-list { display: grid; gap: 8px; margin-top: 24px; }
.gov-list li { display: grid; padding: 14px 18px; border-radius: var(--r-sm); background: hsl(var(--card)); box-shadow: var(--shadow-card); }
.gov-list b { font-weight: 600; }
.gov-list span { font-size: 14px; color: hsl(var(--fg-2)); }

/* المدونة */
.posts { display: grid; gap: 20px; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { border-radius: var(--r-md); overflow: hidden; background: hsl(var(--card)); box-shadow: var(--shadow-card); transition: transform .3s var(--ease); }
.post:hover { transform: translateY(-3px); }
.post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post div { padding: 18px 20px 22px; display: grid; gap: 6px; }
.post__d { font-size: 13px; color: hsl(var(--fg-2)); }
.post h3 { font-family: var(--display); font-size: 20px; line-height: 1.5; }

/* النشرة */
.news-form { display: grid; gap: 14px; padding: 24px; margin-bottom: 40px; border-radius: var(--r-md); background: hsl(var(--card)); box-shadow: var(--shadow-card); }
@media (min-width: 900px) { .news-form { grid-template-columns: 1fr 1.2fr; align-items: center; } }
.news-form > div:first-child { display: grid; }
.news-form b { font-family: var(--display); font-size: 21px; }
.news-form span { color: hsl(var(--fg-2)); }
.news-form__row { display: flex; gap: 8px; }
.news-form input { flex: 1; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid hsl(var(--border)); background: #fff; font-size: 16px; }
.news-form input:focus { border-color: var(--red); }
#newsMsg { grid-column: 1 / -1; font-size: 14px; color: hsl(152 45% 30%); min-height: 1em; }
.foot__cols { grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .foot__cols { grid-template-columns: 1.5fr repeat(4, 1fr); } }

/* ================================================================
   النسخة 22: توصيات فريق التصميم (بصري · تجربة · تبرعات · جوال وإتاحة)
   ================================================================ */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* كسر قالب «عنوان صغير أحمر + خط» المتكرر */
.eyebrow { color: var(--red-ink); letter-spacing: 0; }
.eyebrow::before { display: none; }
.eyebrow--light { color: var(--linen-ink); }

/* سلّم الخطوط: طبقة عرض بين العنوان الرئيسي والعناوين */
#stories .head { display: grid; justify-items: center; text-align: center; }
#stories .head .lead { margin-inline: auto; }

/* الأحمر للفعل فقط */
.seats.in .seats__grid i.s-on, .seats__grid i.s-on.lit, .seats__legend i.s-on { background: hsl(var(--fg)); }
.gov { fill: hsl(86 40% 30% / var(--o, .22)); }
.gov:hover, .gov:focus-visible { fill: hsl(86 45% 24% / .95); }
.map__legend i:not(.dot) { background: hsl(86 40% 30% / var(--o, .5)); }
.countries .bar2 i { background: hsl(var(--fg)); }
.steps span { background: transparent; border: 1.5px solid var(--red); color: #fff; }

/* درجة داكنة واحدة، وصورة تفصل بين الداكنين */
.inst { background: var(--linen); }
.how { margin-bottom: 0; }
.photo-band { position: relative; margin: 12px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 8; min-height: 300px; color: #fff; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23, 17, 15, .82), rgba(23, 17, 15, .1) 65%); }
.photo-band figcaption { position: absolute; inset-inline: max(clamp(20px, 5vw, 64px), calc((100vw - var(--container)) / 2 + var(--gutter) - 12px)); bottom: clamp(20px, 4vw, 48px); z-index: 1; display: grid; gap: 8px; max-width: 46rem; }
.photo-band b { font-family: var(--display); font-size: clamp(26px, 3.4vw, 48px); line-height: 1.3; font-weight: 700; text-wrap: balance; }
.photo-band span { color: var(--linen-ink); font-size: 15px; }
.photo-band + .inst { margin-top: 12px; }

/* إيقاع الأقسام: حشوة واحدة (--sec-y) أعلى وأسفل كل قسم، فالمسافة بين قسمين = ضعفها دائمًا.
   قسمان متجاوران بالأرضية نفسها يفصلهما خطّ رفيع بعرض المحتوى (لا يتجاوز حافته)،
   إلا إذا بدأ القسم برأس مرقّم له خطّه الخاص. عند تبدّل اللون: لا خطّ. */
.sec { padding-block: var(--sec-y); }
.sec + .sec { padding-top: 0; }
.sec + .sec > .wrap:first-child { padding-top: var(--sec-y); }
.sec:not(.sec--tint):not(.dark) + .sec:not(.sec--tint):not(.dark) > .wrap:first-child:not(:has(> .shead--num:first-child)) {
  background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; }

/* فراغات داخل البطاقات */
.orph { align-items: start; }
.card h3 { min-height: auto; }
.season-grid { align-items: start; }

/* زوايا وظلال موحّدة */
.campaign, .pillar__field { border-radius: var(--r-lg); }
.gov-list li, .docs a, .contact li, .extras li { box-shadow: none; border: 1px solid hsl(var(--border)); }

/* الحوكمة: قائمة تحريرية بدل الأقراص */
.docs, .gov-list { gap: 0; }
.docs a, .gov-list li { background: none; border: 0; border-top: 1px solid hsl(var(--border)); border-radius: 0; padding: 18px 0; min-height: 0; }
.docs a:last-child, .gov-list li:last-child { border-bottom: 1px solid hsl(var(--border)); }
.docs a:hover { transform: none; box-shadow: none; color: var(--red); }
.docs b, .gov-list b { font-family: var(--display); font-size: 20px; font-weight: 700; }
.docs span { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: hsl(var(--fg)); color: #fff; }

/* شعارات الشركاء تُخفى حتى تصل الشعارات الحقيقية */
.logos { display: none; }

/* الواجهة */
.hero__photo figcaption { top: auto; bottom: 14px; inset-inline-end: auto; inset-inline-start: 16px; background: none; font-size: 11px; opacity: .6; padding: 0; }
.hero__photo img { animation-duration: 8s; }
@keyframes heroZoom { from { transform: scale(1.04); } }

/* الأبواب الأربعة: صف هادئ بفواصل */
.path, .path--dark { background: none; color: inherit; box-shadow: none; border-radius: 0; border-inline-start: 1px solid hsl(var(--border)); }
.path--dark small { color: hsl(var(--fg-2)); }
.path:hover { box-shadow: none; background: hsl(var(--tint)); }

/* المواسم: كل سطر رابط تبرع */
.season__list li { padding: 0; }
.season__list a { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; padding: 8px 6px; margin-inline: -6px; border-radius: 8px; transition: background-color .2s; }
.season__list a:hover { background: rgba(255, 255, 255, .07); }
.season__list a b::after { content: " ←"; color: var(--red); opacity: 0; transition: opacity .2s; }
[dir="ltr"] .season__list a b::after { content: " →"; }
.season__list a:hover b::after { opacity: 1; }

/* الحركة: أهدأ */
.dock { background: hsl(var(--card)); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* الإتاحة واللمس */
.amts input, .give__gift, .news-form input, .row input { border-color: hsl(38 12% 62%); }
.seg button, .tabs button, .btn--sm { min-height: var(--btn-sm); }
.oitem { grid-template-rows: auto auto 1fr auto; }
.oitem__q { margin-top: auto; }
.oitem__q button { width: 44px; height: 44px; }
.foot a { display: inline-flex; min-height: 36px; align-items: center; }

/* الجوال */
.menu { max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; }
.news-form input { min-width: 0; }
@media (max-width: 480px) { .news-form__row { flex-wrap: wrap; } .news-form__row .btn { flex: 1 0 100%; } }
@media (max-width: 420px) {
  .nav { gap: 8px; padding-inline: 16px; }
  [dir="ltr"] .brand b { font-size: 18px; }
  .nav__end .btn--sm { padding-inline: 12px; }
}
@media (max-width: 760px) { .photo-band { aspect-ratio: 4 / 5; min-height: 0; margin: 8px; } }

/* ———— نافذة التبرع ———— */
html.sheet-open { overflow: hidden; }
.sheet { width: min(560px, 100vw - 24px); max-height: min(92dvh, 860px); padding: 0; border: 0; border-radius: var(--r-lg); background: hsl(var(--card)); color: hsl(var(--fg)); box-shadow: 0 40px 100px -30px rgba(23, 17, 15, .55); overflow: hidden; }
.sheet[open] { animation: sheetIn .45s var(--ease); }
.sheet::backdrop { background: rgba(23, 17, 15, .55); animation: fadeIn .3s; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
.sheet__in { max-height: inherit; overflow-y: auto; overscroll-behavior: contain; padding: 22px clamp(18px, 4vw, 28px) 24px; }
.sheet__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.sheet__k { font-size: 13px; color: hsl(var(--fg-2)); }
.sheet__t { font-family: var(--display); font-size: clamp(24px, 4vw, 30px); line-height: 1.3; font-weight: 700; }
.sheet__x { flex: none; width: 44px; height: 44px; border-radius: 50%; background: hsl(var(--tint)); font-size: 16px; }
.sheet__steps { display: flex; gap: 8px; margin: 14px 0 18px; font-size: 13px; color: hsl(var(--fg-2)); counter-reset: st; }
.sheet__steps li { flex: 1; padding-top: 8px; border-top: 3px solid hsl(var(--border)); counter-increment: st; }
.sheet__steps li::before { content: counter(st) " · "; }
.sheet__steps li.on { border-color: var(--red); color: hsl(var(--fg)); font-weight: 600; }
.sheet__steps li:has(~ li.on) { border-color: var(--red); color: hsl(var(--fg)); }
.sheet__steps li:has(~ li.on)::before { content: "✓ "; color: var(--red); font-weight: 700; }
.sheet__p { display: grid; gap: 14px; }
.sheet__p[hidden] { display: none; }
.seg--sm { padding: 4px; }
/* المبلغ: أربع خانات بصف واحد على الحاسوب، وشبكة 2×2 على الجوال */
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.chips button { display: grid; gap: 2px; align-content: center; justify-items: center; min-height: 68px; padding: 10px 8px; border-radius: 12px; border: 1.5px solid hsl(var(--border)); background: hsl(var(--card)); text-align: center; transition: border-color .2s, background-color .2s; }
.chips button:hover { border-color: var(--line-strong); }
.chips button[aria-checked="true"] { border: 2px solid var(--red); padding: 9.5px 7.5px; background: rgba(196, 37, 47, .06); }
.chips b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; direction: ltr; }
.chips small { font-size: 12px; color: hsl(var(--fg-2)); line-height: 1.4; }
@media (max-width: 600px) { .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } .chips button { min-height: 64px; } }
.chips:has(> button:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* مبلغ آخر: الحقل والعملة في صندوق واحد، العملة لاحقة على طرفه */
.sheet__other { display: flex; align-items: stretch; min-height: 52px; border-radius: 12px; border: 1px solid var(--line-strong); background: hsl(var(--card)); overflow: hidden; transition: border-color var(--dur-1), box-shadow var(--dur-2) var(--ease); }
.sheet__other > label:first-child { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; padding-inline: 14px; cursor: text; }
.sheet__other > label:first-child span { font-size: 14px; color: hsl(var(--fg-2)); white-space: nowrap; }
.sheet__other input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 18px; font-weight: 700; text-align: end; direction: ltr; }
.sheet__other input:focus { outline: none; }
.sheet__other:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px hsl(356 68% 46% / .16); }
.sheet__cur { display: flex; }
.sheet__other .sheet__cur select { min-height: 50px; height: 100%; padding-inline: 14px 34px; border: 0; border-inline-start: 1px solid var(--line); border-radius: 0; background-color: hsl(var(--tint)); font: inherit; font-weight: 700; font-size: 15px; color: var(--ink); direction: ltr; cursor: pointer; background-position: right 12px center; }
.sheet__other .sheet__cur select:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.seg--wrap { display: flex; flex-wrap: wrap; }
.seg--wrap button { flex: 1 0 auto; padding-inline: 12px; }
.seg button[hidden] { display: none; }
.sheet__note { font-size: 14px; line-height: 1.7; padding: 12px 14px; border-radius: var(--r-sm); background: hsl(var(--p-bg, 78 38% 92%)); color: hsl(88 48% 14%); }
.sheet__opts { display: grid; gap: 0; font-size: 15px; border-top: 1px solid var(--line); padding-top: 6px; }
.sheet__opts label { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.sheet__opts input, .pay input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.sheet__field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.sheet__field input { min-height: 50px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid hsl(38 12% 62%); font: inherit; font-weight: 400; font-size: 16px; background: hsl(var(--card)); }
.sheet__err { font-size: 14px; font-weight: 600; color: var(--red); }
.sheet__fine { font-size: 13px; color: hsl(var(--fg-2)); text-align: center; }
.sheet__back { justify-self: start; min-height: 44px; padding-inline: 12px; margin-inline-start: -12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: hsl(var(--fg-2)); transition: background-color var(--dur-1) linear, color var(--dur-1) linear; }
.sheet__back:hover { background: hsl(var(--tint)); color: hsl(var(--fg)); }
.sheet__sum { padding: 14px; border-radius: var(--r-sm); background: hsl(var(--tint)); font-size: 15px; }
.sheet__sum b { font-size: 18px; direction: ltr; unicode-bidi: isolate; }
.pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; }
.pay legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.pay label { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 12px; border: 1.5px solid hsl(var(--border)); cursor: pointer; font-weight: 600; font-size: 15px; transition: border-color .2s, background-color .2s; }
.pay label:hover { border-color: var(--line-strong); }
.pay label:has(input:checked) { border: 2px solid var(--red); padding-inline: 13.5px; background: rgba(196, 37, 47, .06); }
.pay label > span { display: inline-flex; align-items: center; gap: 8px; }
.pay__i { width: 22px; height: 16px; flex: none; color: var(--ink-2); }
.sheet__done { text-align: center; justify-items: center; padding-block: 12px; }
.sheet__done:focus { outline: none; }
.sheet__ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: hsl(86 40% 30%); color: #fff; font-size: 30px; }
.sheet__done h3 { font-family: var(--display); font-size: 28px; }
.sheet__done p { max-width: 28rem; line-height: 1.8; }
.sheet__bank { width: 100%; max-width: 28rem; margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: hsl(var(--tint)); display: grid; gap: 6px; text-align: start; }
.sheet__bank > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding-block: 4px; border-bottom: 1px solid hsl(var(--border)); }
.sheet__bank > div:last-of-type { border-bottom: 0; }
.sheet__bank dt { font-size: 13px; color: hsl(var(--fg-2)); }
.sheet__bank dd { margin: 0; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.sheet__bank code { font: inherit; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.sheet__bank .sheet__fine { text-align: start; margin: 4px 0 0; }
@media (max-width: 600px) {
  .sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 94dvh; }
  .sheet[open] { animation: sheetUp .45s var(--ease); }
  .sheet__in { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  @keyframes sheetUp { from { transform: translateY(100%); } }
}
@media (prefers-reduced-motion: reduce) { .sheet[open], .sheet::backdrop { animation: none; } }
#stories .head > div { display: grid; justify-items: center; text-align: center; }
.sheet { margin: auto; inset: 0; }
.sheet [hidden] { display: none !important; }
@media (max-width: 600px) { .sheet { margin: auto 0 0; } }

/* مقاعد آيلاند هيفن: طلاب / خريجون / مستقلون */
.seats.in .seats__grid i.s-a, .seats__legend i.s-a { background: var(--red); }
.seats.in .seats__grid i.s-b, .seats__legend i.s-b { background: hsl(var(--fg)); }
.seats.in .seats__grid i.s-c, .seats__legend i.s-c { background: hsl(86 40% 34%); }


/* ======================================================================
   النسخة 31 — نظام التصميم العالمي (الهوية · السلّم · المكوّنات · الحركة)
   الرموز في :root أعلى الملف. هذه الطبقة تأتي أخيرًا لتوحّد ما سبقها.
   ====================================================================== */

/* ———— الأساس ———— */
body { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink); background: var(--canvas); font-feature-settings: "kern"; text-rendering: optimizeLegibility; }
p, li, dd { text-wrap: pretty; }
::selection { background: hsl(356 68% 46% / .16); color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: var(--r-sm); }
.wrap { padding-inline: var(--gutter); }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: 0; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: hsl(var(--fg-2)); }
.hhead--center .lead, .shead--center .lead { text-wrap: balance; margin-inline: auto; }
.eyebrow { margin-bottom: var(--s-3); }
.head { margin-bottom: var(--s-7); gap: var(--s-4) var(--s-5); }
.link { color: var(--red-ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 1.5px; transition: text-decoration-color var(--dur-2) var(--ease); }
.link:hover { text-decoration: underline; text-decoration-color: currentColor; }

/* الأرقام: جدولية، مكثّفة قليلًا */
.num, .kpis b, .stats__row b, .plan__price b, .zout b, .countdown b, .dev__kpis b, .map__stats dd, .seats__n b, .order__cart b, .campaign__nums b, .card__nums b, .chips b, .tiers b {
  font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum", "lnum"; letter-spacing: -.02em;
}
.kpis b, .stats__row b, .plan__price b, .zout b, .countdown b, .dev__kpis b, .map__stats dd, .num--xl { font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.num--xl { font-size: clamp(40px, 4.8vw, 64px); line-height: 1.05; font-weight: 700; }

/* ———— الأزرار: ثلاثة أحجام، ضغط وتركيز واضحان ———— */
.btn { font-size: 16px; line-height: 1.2; letter-spacing: 0; white-space: nowrap;
  transition: background-color var(--dur-1) linear, color var(--dur-1) linear, border-color var(--dur-1) linear, box-shadow var(--dur-2) var(--ease), transform var(--dur-1) var(--ease); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--canvas), 0 0 0 4px var(--red); }
.btn--red { background: var(--red); color: #fff; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .16); }
.btn--red:hover { background: var(--red-hover); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2); transform: none; }
.btn--red:active { box-shadow: inset 0 2px 0 rgba(0, 0, 0, .22); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2e2621; }
.btn--line { background: hsl(var(--card)); border: 1px solid var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); background: hsl(var(--card)); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; }
.btn--glass { border-width: 1px; background: rgba(255, 255, 255, .06); }
.btn--olive { background: var(--olive); color: #fff; }
.btn--olive:hover { background: #46531f; }
.btn__arrow { display: inline-block; transition: transform var(--dur-2) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(-3px); }
[dir="ltr"] .btn:hover .btn__arrow { transform: translateX(3px); }
.dark .btn:focus-visible, .hero .btn:focus-visible { box-shadow: 0 0 0 2px var(--linen), 0 0 0 4px #fff; }

/* ———— الشريط العلوي والتنقل ———— */
.crisis { background: var(--ink); font-size: 13.5px; padding-block: 0; min-height: 44px; }
.nav-wrap { background: hsl(var(--bg) / .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav { height: 72px; padding-inline: var(--gutter); }
.brand { gap: 10px; color: var(--ink); }
.brand svg { width: 27px; height: 30px; flex: none; }
.brand b { font-size: 22px; letter-spacing: -.005em; line-height: 1; padding-top: 2px; }
.mega { gap: 2px; }
.mega__btn, .mega__link { position: relative; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm); font-size: 15px; font-weight: 600; color: var(--ink-2);
  background: linear-gradient(var(--red), var(--red)) no-repeat 50% calc(100% - 4px) / 0 2px;
  transition: color var(--dur-1) linear, background-size var(--dur-2) var(--ease); }
.mega__btn:hover, .mega__link:hover, .mega__item:focus-within .mega__btn, .mega__item:hover .mega__btn { background-color: transparent; color: var(--ink); background-size: calc(100% - 28px) 2px; }
.mega__btn::after { width: 6px; height: 6px; border-width: 1.5px; opacity: .6; }
.mega__panel { top: calc(100% + 10px); gap: 4px 36px; padding: 24px 28px 22px; border-radius: var(--r-md); box-shadow: var(--shadow-lift); transform: translateY(4px); transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), visibility var(--dur-2); }
.mega__h { font-size: var(--fs-micro); font-weight: 600; color: var(--ink-2); margin-bottom: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega__panel a { min-height: 40px; display: flex; align-items: center; padding: 6px 10px; border-radius: var(--r-sm); color: var(--ink); transition: background-color var(--dur-1) linear, color var(--dur-1) linear; }
.mega__panel a:hover { background: hsl(var(--tint)); color: var(--red-ink); }
.nav__lang { border-radius: var(--r-sm); color: var(--ink-2); }
.nav__menu { border-radius: var(--r-sm); }
.nav__menu span { height: 2px; width: 20px; transition: transform var(--dur-2) var(--ease), opacity var(--dur-1); }
.nav__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu { padding: 8px var(--gutter) 24px; }
.menu a { display: flex; align-items: center; min-height: 52px; padding: 0; font-size: 17px; border-bottom: 1px solid var(--line); }
.menu__h { font-size: var(--fs-micro); color: var(--ink-2); padding-top: 22px; padding-bottom: 2px; }
@media (max-width: 639px) { .nav { height: 64px; } .brand b { font-size: 20px; } .brand svg { width: 24px; height: 27px; } }

/* ———— الواجهة السينمائية ———— */
.hero { border-radius: var(--r-lg); background: var(--ink); }
.hero h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -.01em; }
.hero__lead { font-size: var(--fs-lead); line-height: var(--lh-lead); }
.hero__photo img { filter: saturate(.9) contrast(1.04); }
.hero__photo::after { background:
  linear-gradient(to top, rgba(27, 22, 19, .9) 0%, rgba(27, 22, 19, .5) 34%, rgba(27, 22, 19, .06) 68%),
  linear-gradient(to left, rgba(27, 22, 19, .5) 0, transparent 58%),
  radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(27, 22, 19, .35) 100%); }
.hero__photo figcaption, .phero__media figcaption, .phero--photo figcaption, .photo-band figcaption small, .media-cap {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .02em; line-height: 1.4; }
.hero__photo figcaption::before, .phero__media figcaption::before, .phero--photo figcaption::before, .media-cap::before { content: ""; width: 16px; height: 1px; background: currentColor; opacity: .8; }
@keyframes heroZoom { from { transform: scale(1.04); } }
@keyframes rise { from { transform: translateY(var(--rise)); } }
.hero h1, .hero__lead, .hero__cta, .hero__eyebrow, .hero__trust { animation-duration: var(--dur-3); animation-timing-function: var(--ease); }

/* ———— البطاقات: عمق عند المرور ———— */
.card, .story, .post, .plan, .season, .seats, .partner, .map__card, .map__panel, .general, .news-form { border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.card, .story, .post, .path { transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.card:hover, .post:hover, .story:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card__img img, .story img, .post img { transition: transform var(--dur-4) var(--ease); }
.card:hover .card__img img, .post:hover img, .story:hover img { transform: scale(1.03); }
.card h3, .story h3, .post h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.card__body { padding: 20px 22px 22px; gap: 8px; }
.card__meta, .story__meta, .post__d { font-size: var(--fs-micro); letter-spacing: .01em; }
.plan { padding: 28px 24px 24px; gap: 14px; transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.plan--hi { position: relative; box-shadow: 0 0 0 1.5px var(--ink), var(--shadow-lift); }
.plan--hi::after { content: ""; position: absolute; top: 12px; inset-inline-end: 12px; width: 30px; height: 30px; background: var(--red); -webkit-mask: url("assets/brand/stitch-corner.svg") center / contain no-repeat; mask: url("assets/brand/stitch-corner.svg") center / contain no-repeat; pointer-events: none; }
[dir="ltr"] .plan--hi::after { transform: scaleX(-1); }
.plan__k, .path__n, .season__k, .campaign__kicker, .map__k { font-size: var(--fs-micro); letter-spacing: .01em; color: var(--red-ink); }
.plan h3, .season h3 { font-size: var(--fs-h3-lg); line-height: var(--lh-h3-lg); }
.campaign { border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
.mock { border-radius: var(--r-md); }
.steps li { border-radius: var(--r-md); }
.pillar__field { border-radius: var(--r-lg); }
.pillar__stage { border-radius: var(--r-md); }
.tiers a, .extras li, .oitem, .sector, .countdown, .order__cart, .map__stats div, .zout, .season__ten, .row, .give__gift, .amts button, .amts input, .news-form input { border-radius: var(--r-sm); }
.order, .pkg, .closing, .photo-band, .seats { border-radius: var(--r-lg); }
.closing__panel { border-radius: var(--r-md); }
.seg, .tabs { border-radius: 12px; }
.seg button, .tabs button { border-radius: 8px; font-size: 14.5px; }

/* الحقول */
.amts input, .give__gift, .news-form input, .row input, .sheet__field input, .sheet__other, .sheet__cur select { border-color: var(--line-strong); }
.amts input:focus, .give__gift:focus, .news-form input:focus, .sheet__field input:focus, .row input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px hsl(356 68% 46% / .16); }

/* ———— التطريز: توقيع دقيق، لا خلفية ———— */
.band { height: 14px; background-size: auto 100%; opacity: 1; }
@media (min-width: 640px) { .band { height: 18px; } }
.band--hair, .stitch-rule { display: block; height: 8px; border: 0; background: var(--red); -webkit-mask: url("assets/brand/stitch.svg") 0 50% / 12px 8px repeat-x; mask: url("assets/brand/stitch.svg") 0 50% / 12px 8px repeat-x; }
.stitch-rule { width: 96px; margin-block: var(--s-4); }
.stitch-rule--ink { background: var(--ink); opacity: .55; }
.stitch-rule--wide { width: 100%; opacity: .5; }
.stitch-corner { position: relative; }
.stitch-corner::before { content: ""; position: absolute; top: 14px; inset-inline-start: 14px; width: 34px; height: 34px; background: var(--red); -webkit-mask: url("assets/brand/stitch-corner.svg") center / contain no-repeat; mask: url("assets/brand/stitch-corner.svg") center / contain no-repeat; pointer-events: none; z-index: 1; }
[dir="rtl"] .stitch-corner::before { transform: scaleX(-1); }

/* ———— الأقسام الداكنة: الحبر نفسه، أدفأ ———— */
.stats, .how, .inst, .dark { background: var(--linen); }
.steps span { border-radius: var(--r-sm); font-variant-numeric: tabular-nums; }

/* ———— التذييل: لحظة الهوية ———— */
.foot { padding-block: 0 110px; font-size: 15px; background: var(--canvas); }
@media (min-width: 761px) { .foot { padding-bottom: 36px; } }
.foot > .wrap { padding-top: clamp(48px, 6vw, 88px); }
.foot__hero { display: grid; gap: var(--s-5); padding-bottom: clamp(40px, 5vw, 72px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.foot__logo { width: clamp(150px, 16vw, 205px); height: auto; }
.foot__tag { font-family: var(--display); font-weight: 700; color: var(--ink); text-wrap: balance; }
.foot__tag em { font-style: normal; position: relative; white-space: nowrap; }
.foot__tag em::after { content: ""; position: absolute; inset-inline: .1em; bottom: .16em; height: 8px; background: var(--red); -webkit-mask: url("assets/brand/stitch.svg") 0 50% / 12px 8px repeat-x; mask: url("assets/brand/stitch.svg") 0 50% / 12px 8px repeat-x; }
.foot .btn { min-height: var(--btn); }
.foot .btn--lg { min-height: 56px; }
#newsMsg:empty { min-height: 0; margin-top: -14px; }
@media (min-width: 761px) { .foot ul a { min-height: 36px; } }
@media (max-width: 639px) {
  .hero__photo::after { background: linear-gradient(to top, rgba(27, 22, 19, .94) 0%, rgba(27, 22, 19, .74) 48%, rgba(27, 22, 19, .3) 82%, rgba(27, 22, 19, .2) 100%); }
}
.foot__sub { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-4) var(--s-6); }
.foot__sub p { max-width: 34rem; color: hsl(var(--fg-2)); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.foot h3 { font-family: var(--text); font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.foot ul a { min-height: 44px; padding-block: 0; color: var(--ink); }
.foot ul a:hover { color: var(--red-ink); }
.foot__fine { border-top-color: var(--line); font-size: 12.5px; line-height: 1.7; }
.foot__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; }
.foot__bar a { min-height: 44px; min-width: 44px; justify-content: center; padding-inline: 8px; font-size: 14px; }
.news-form { margin-bottom: clamp(40px, 5vw, 64px); padding: clamp(20px, 3vw, 32px); }

/* ———— شريط التبرع (جوال) ———— */
.dock { box-shadow: 0 -12px 28px -20px rgba(27, 22, 19, .35); border-top-color: var(--line); padding-inline: var(--gutter); }
.dock { font-size: 13.5px; color: var(--ink-2); }
.dock > span { min-width: 0; line-height: 1.45; }
.dock b { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock .btn { flex: none; min-height: var(--btn); min-width: 148px; padding-inline: 22px; font-size: 16px; border-radius: 14px; }

/* ———— الحركة: هادئة ومحترمة ———— */
.rv { opacity: 1; transform: translateY(10px); transition: transform .5s var(--ease); transition-delay: calc(min(var(--i, 0), 4) * 50ms); }
.rv.in { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .pcard__img img, .split__media img, .phero__media img, .card__img img, .story img, .reveal-img img, img.reveal-img {
      animation: imgSettle linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .split__media, .phero__media, .reveal-img { animation: clipIn linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    .hero__photo img, .phero--photo > img, .phero--photo > picture > img { animation: heroZoom 8s var(--ease) both, drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 100vh; }
  }
}
@keyframes imgSettle { from { scale: 1.06; } to { scale: 1; } }
@keyframes clipIn { from { clip-path: inset(0 0 7% 0 round var(--r-lg)); } to { clip-path: inset(0 0 0 0 round var(--r-lg)); } }
@keyframes drift { from { scale: 1.07; translate: 0 0; } to { scale: 1.07; translate: 0 3%; } }
@media (prefers-reduced-motion: reduce) {
  .rv { transform: none; transition: none; }
  .hero__photo img, .phero--photo > img, .phero--photo > picture > img { animation: none !important; }
}

/* سمة hidden تُخفي دائمًا، مهما كان display في القواعد الأخرى */
[hidden] { display: none !important; }

/* ———— نافذة التبرع: بوابات الدفع (Stripe / PayPal) ———— */
.sheet__k { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.sheet__test { display: inline-flex; align-items: center; gap: 6px; min-height: 22px; padding: 0 9px; border-radius: 999px; background: #fbf0d9; color: #7a4f00; font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.sheet__test::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sheet__test[hidden] { display: none; }
.pay label.pay--wide { grid-column: 1 / -1; }
.pay label[hidden] { display: none; }
.sheet__trust { display: flex; align-items: center; justify-content: center; gap: 8px; color: hsl(88 40% 22%); font-weight: 600; }
.sheet__trust::before { content: ""; flex: none; width: 14px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M3 7V5a4 4 0 0 1 8 0v2h1a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1zm2 0h4V5a2 2 0 0 0-4 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M3 7V5a4 4 0 0 1 8 0v2h1a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1zm2 0h4V5a2 2 0 0 0-4 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
#shPay.is-busy { cursor: progress; opacity: .92; }
#shPay .sheet__spin { border-color: currentColor; border-inline-end-color: transparent; }

/* انتقال ناعم بين كل صفحات الموقع (يجب أن تشترك فيه كل الصفحات وإلا رمى المتصفح خطأ) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* بيانات المنصة من لوحة التحكم (js/site-profile.js): الأرقام والبريد لا تنكسر على سطرين */
.is-set a[href^="tel:"], .is-set a[href^="https://wa.me/"], .is-set a[href^="mailto:"] { white-space: nowrap; unicode-bidi: isolate; }

/* التبرع المضاعف (js/match.js): شريط صندوق التبرع في صفحة الحملة، وسطر نافذة التبرع */
.cp-match { display: grid; gap: 6px; margin: 0 0 16px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #fff4e0, #fde6e7); border: 1px solid #f3c9a8; }
.cp-match__h { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; }
.cp-match__x { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 12px; background: var(--red); color: #fff; font: 800 18px/1 var(--display); }
.cp-match__p { margin: 0; font-size: 13.5px; line-height: 1.7; color: #5b4a3f; }
.cp-match__bar { height: 6px; border-radius: 9px; background: rgba(0, 0, 0, .08); overflow: hidden; }
.cp-match__bar i { display: block; height: 100%; width: var(--p); background: var(--red); border-radius: inherit; }
.sheet__match { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: #fff4e0; border: 1px solid #f3c9a8; font-size: 14px; line-height: 1.6; }
.sheet__match b { color: var(--red); }

/* الإهداء ببطاقة في نافذة التبرع (main.js) */
.sheet__gift { display: grid; gap: 10px; margin-top: 8px; padding: 12px; border-radius: 14px; background: #faf6ef; border: 1px solid #ece2d2; }
.sheet__occ { display: flex; flex-wrap: wrap; gap: 6px; }
.sheet__occ button { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid #e1d6c4; background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; color: inherit; }
.sheet__occ button[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sheet__gift textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 64px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid #d8cfbf; font: inherit; }
.sheet__chk { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.sheet__card { display: grid; gap: 6px; margin: 14px 0 0; padding: 14px; border-radius: 14px; background: #fff4e0; border: 1px solid #f3c9a8; text-align: start; }
.sheet__card span { font-size: 13.5px; line-height: 1.6; }
.sheet__card div { display: flex; flex-wrap: wrap; gap: 8px; }

/* ———— الإطلاق بالعملات الرقمية: نافذة التبرع ———— */
.sheet__who { display: grid; gap: 14px; }
.sheet__cxh { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-sm); background: hsl(var(--tint)); border-inline-start: 3px solid var(--red); }
.sheet__cxh b { font-size: 16px; }
.sheet__cxh span { font-size: 13.5px; color: hsl(var(--fg-2)); }
/* لا طريقة دفع بعد: هادئ، لا تحذير */
.sheet__soon { text-align: center; justify-items: center; padding-block: 18px 6px; }
.sheet__soon:focus { outline: none; }
.sheet__soon-i { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: hsl(88 30% 90%); color: hsl(88 48% 26%); }
.sheet__soon h3 { font-family: var(--display); font-size: 26px; }
.sheet__soon p { max-width: 26rem; line-height: 1.8; color: hsl(var(--fg-2)); }
/* رقم المرجع: هو الإيصال حين لا يتوفر البريد */
.sheet__ref { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; width: 100%; max-width: 28rem; padding: 12px 14px; border-radius: var(--r-sm); background: hsl(var(--tint)); border: 1.5px dashed var(--line-strong); }
.sheet__ref > span { font-size: 13px; color: hsl(var(--fg-2)); }
.sheet__ref code { font: 700 20px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.sheet__link { min-height: 36px; padding-inline: 8px; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 600; color: var(--red-ink, #a51f28); text-decoration: underline; text-underline-offset: 3px; }
.sheet__trackw { display: grid; gap: 8px; width: 100%; max-width: 28rem; }
.sheet__trackw .sheet__fine { margin: 0; }
.sheet__trackl { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 8px; font-size: 12.5px; color: hsl(var(--fg-2)); text-align: start; }
.sheet__trackl > span { grid-column: 1 / -1; }
.sheet__trackl code { display: block; min-width: 0; padding: 6px 8px; border-radius: 8px; background: hsl(var(--tint)); font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: hsl(var(--fg)); overflow-wrap: anywhere; }
