/* =====================================================================
   base.css — نظام التصميم المشترك لموقع شركة الحال المتحدة للتجارة
   ---------------------------------------------------------------------
   الهوية: اللوقو الرسمي assets/img/logo.jpg (خلفية #1D1512 + برتقالي)
   الترتيب:
   01 Tokens (الألوان، الخطوط، المسافات، الزوايا، الظلال)
   02 Reset + الأساسيات + الطباعة العربية
   03 Utilities (الحاوية، الأقسام، الشبكات، المساعدات)
   04 Icons + Buttons
   05 Utility bar + Header + Drawer
   06 Hero (+ زخرفة القوس البرتقالي بدون صور)
   07 Section heads / Eyebrow / Rules
   08 Tiles / Feature cards / Cards / Icon cards
   09 Stats band / Dark section / Partners badges
   10 Tables
   11 Forms
   12 Callout / Placeholder / Misc
   13 Footer / FAB
   14 Reveal on scroll + Motion
   15 تحسينات الشاشات الصغيرة جدًا
   16 Chips: أقطار الحديد (.dia / .chip) ومقاسات البلك (.size)
   17 عناوين صغيرة موحّدة (labels / kickers)
   ===================================================================== */

/* ===== 01 TOKENS ==================================================== */
:root {
  /* البرتقالي (من اللوقو) */
  --orange: #F26A1B;        /* اللون الأساسي: خطوط، أيقونات على الداكن، بداية التدرج */
  --orange-light: #FFB347;  /* نهاية التدرج، نص برتقالي على الداكن، حالات hover على الداكن */
  --orange-mid: #D65A12;    /* أيقونات وعناوين كبيرة على الفاتح (≥3:1 على الأبيض والورقي والباهت) */
  --orange-deep: #B4470E;   /* نص برتقالي صغير وروابط وتركيز على الفاتح (≥4.5:1 على الأبيض والورقي والخرساني) */
  --orange-pale: #FDEBDD;   /* خلفية شارات/تمييز خفيف */
  --orange-tint: #FFF6EE;   /* خلفية أخف */
  --grad-orange: linear-gradient(135deg, #F26A1B, #FFB347); /* الأزرار الأساسية، الخطوط، الأرقام الكبيرة، القوس */

  /* الفحمي الدافئ (أسود اللوقو) */
  --ink: #1D1512;          /* النص الأساسي + الهيدر والفوتر والأقسام الداكنة (خلفية اللوقو نفسها) */
  --graphite: #2A211C;     /* الشريط العلوي، بطاقات على الداكن */
  --steel: #4A423D;        /* نص ثانوي */
  --slate: #6B625C;        /* نص مساعد */

  /* الورقي */
  --white: #FFFFFF;
  --paper: #FAF7F3;
  --concrete: #F0EBE5;

  /* خطوط الحدود */
  --line: #E2DAD2;
  --line-strong: #CFC4B9;
  --line-dark: #3A302A;

  /* نص على الداكن */
  --on-dark: #FFFFFF;
  --on-dark-soft: #FAF7F3;
  --on-dark-muted: #C9BFB6;
  --on-dark-dim: #9E938A;

  /* حالات */
  --error: #B42318;
  --error-on-dark: #F09A8F;
  --success: #1E6B3A;

  /* الخطوط */
  --font-head: "Alexandria", "Noto Kufi Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;

  /* مقياس الخط */
  --fs-xs: 0.75rem;     /* 12 */
  --fs-sm: 0.875rem;    /* 14 */
  --fs-base: 1rem;      /* 16 */
  --fs-md: 1.125rem;    /* 18 */
  --fs-lg: 1.25rem;     /* 20 */
  --fs-xl: 1.5rem;      /* 24 */
  --fs-2xl: clamp(1.625rem, 1.35rem + 1.1vw, 2rem);      /* 26 → 32 */
  --fs-3xl: clamp(1.875rem, 1.45rem + 1.7vw, 2.5rem);    /* 30 → 40 */
  --fs-4xl: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem);    /* 34 → 52 */
  --fs-5xl: clamp(2.375rem, 1.6rem + 3.6vw, 4rem);       /* 38 → 64 */

  /* مقياس المسافات 8px */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 40px; --s-8: 48px; --s-9: 64px; --s-10: 80px;
  --s-11: 96px; --s-12: 128px;

  /* الزوايا */
  --r-1: 4px;
  --r-2: 6px;
  --r-pill: 999px;

  /* الظلال */
  --sh-1: 0 1px 2px rgba(29, 21, 18, .06), 0 1px 3px rgba(29, 21, 18, .08);
  --sh-2: 0 4px 12px rgba(29, 21, 18, .10), 0 2px 4px rgba(29, 21, 18, .06);
  --sh-3: 0 16px 40px rgba(29, 21, 18, .18), 0 4px 12px rgba(29, 21, 18, .10);
  --sh-orange: 0 8px 24px rgba(242, 106, 27, .30);

  /* التخطيط */
  --container: 1240px;
  --container-narrow: 800px;
  --gutter: 16px;
  --header-h: 64px;
  --utilbar-h: 36px;
  --section-y: 64px;

  /* الحركة */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 220ms;
  --dur-slow: 600ms;

  /* قصّ اللوقو (بالبكسل من الصورة الأصلية 400×400): الرسم يمتد x 40–359، y 132–283 (مقاس بالكانفس؛ الكلمة حتى y=239 والسطر من y=259)
     خلفية الملف #1D1512 في كل الأطراف، لذلك أي سطح يحمل اللوقو يجب أن يكون بنفس اللون */
  --logo-src: 400;
  --logo-cx: 34;
  --logo-cy: 122;
  --logo-cw: 330;
  --logo-ch: 170;

  /* زخرفة القوس البرتقالي (بديل صورة البانر): موضع مركز القوس ونصف قطره */
  --arch-x: 14%;
  --arch-y: 112%;
  --arch-r: clamp(220px, 34vw, 520px);
}
html[dir="ltr"] { --arch-x: 86%; }
@media (min-width: 768px) {
  :root { --gutter: 24px; --header-h: 80px; --section-y: 80px; }
}
@media (min-width: 1024px) {
  :root { --section-y: 96px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 32px; }
}

/* ===== 02 RESET + BASE ============================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
}
@supports not (overflow: clip) { html { overflow-x: hidden; } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
  overflow-wrap: break-word;
}
@supports not (overflow: clip) { body { overflow-x: hidden; } }
body.is-locked { overflow: hidden; }

img, picture, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
/* عناصر الشبكات لا تتمدد أبعد من عمودها (مهم للجداول داخل الأعمدة) */
.grid > *, .split > *, .tile-grid > *, .feature-grid > *, .stats__grid > *, .form-grid > *, .footer__top > * { min-width: 0; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
/* روابط داخل النصوص (بدون class) تظهر بخط تحتها */
main p a:not([class]), main li a:not([class]), main td a:not([class]), main dd a:not([class]), .prose a:not([class]) {
  color: var(--orange-deep); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px;
}
main p a:not([class]):hover, main li a:not([class]):hover, main td a:not([class]):hover, main dd a:not([class]):hover, .prose a:not([class]):hover { color: var(--ink); }
.section--dark p a:not([class]), .section--dark li a:not([class]), .section--graphite p a:not([class]), .section--graphite li a:not([class]) { color: var(--orange-light); }
.section--dark p a:not([class]):hover, .section--dark li a:not([class]):hover { color: var(--white); }
ul[class], ol[class] { list-style: none; padding: 0; }
table { border-collapse: collapse; border-spacing: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin-block: var(--s-6); }
:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; border-radius: 2px; }
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--orange-light); color: var(--ink); }

/* الطباعة العربية */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.35;
  color: inherit;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1, .h1 { font-size: var(--fs-4xl); line-height: 1.25; }
h2, .h2 { font-size: var(--fs-3xl); line-height: 1.3; }
h3, .h3 { font-size: var(--fs-xl); }
h4, .h4 { font-size: var(--fs-md); }
h5, h6 { font-size: var(--fs-base); }
p { text-wrap: pretty; }
p + p { margin-block-start: var(--s-4); }
strong, b { font-weight: 600; }
small, .small { font-size: var(--fs-sm); }
.lead { font-size: var(--fs-md); color: var(--steel); line-height: 1.8; }
@media (min-width: 768px) { .lead { font-size: var(--fs-lg); } }
.text-muted { color: var(--steel); }
.text-dim { color: var(--slate); }
.text-orange, .text-gold { color: var(--orange-deep); }
.text-center { text-align: center; }
.text-start { text-align: start; }
.text-end { text-align: end; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* الأرقام والهواتف: دائمًا إنجليزية ومن اليسار لليمين */
.num, [dir="ltr"].num, a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: .01em;
}
.tnum { font-variant-numeric: lining-nums tabular-nums; }

/* ===== 03 UTILITIES ================================================= */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.container--wide { max-width: calc(1400px + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .625); }
.section--flush-top { padding-block-start: 0; }
.section--flush-bottom { padding-block-end: 0; }
.section--paper { background: var(--paper); }
.section--concrete { background: var(--concrete); }
.section--dark { background: var(--ink); color: var(--on-dark-soft); }
.section--graphite { background: var(--graphite); color: var(--on-dark-soft); }
.section--dark :focus-visible, .section--graphite :focus-visible, .footer :focus-visible, .hero :focus-visible, .band :focus-visible, .stats :focus-visible,
.header :focus-visible, .utilbar :focus-visible, .drawer :focus-visible { outline-color: var(--orange-light); }

.stack > * + * { margin-block-start: var(--stack, var(--s-4)); }
.stack--sm { --stack: var(--s-2); }
.stack--lg { --stack: var(--s-6); }
.stack--xl { --stack: var(--s-8); }

.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster, var(--s-3)); }
.cluster--center { justify-content: center; }
.cluster--between { justify-content: space-between; }
.cluster--lg { --cluster: var(--s-5); }

.grid { display: grid; gap: var(--grid-gap, var(--s-5)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* عمودان: نص + صورة */
.split { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-9); }
  .split--wide-text { grid-template-columns: 3fr 2fr; }
  .split--reverse > :first-child { order: 2; }
}

.mt-2 { margin-block-start: var(--s-2) !important; } .mt-4 { margin-block-start: var(--s-4) !important; }
.mt-5 { margin-block-start: var(--s-5) !important; } .mt-6 { margin-block-start: var(--s-6) !important; }
.mt-8 { margin-block-start: var(--s-8) !important; } .mb-2 { margin-block-end: var(--s-2) !important; }
.mb-4 { margin-block-end: var(--s-4) !important; } .mb-5 { margin-block-end: var(--s-5) !important; }
.mb-6 { margin-block-end: var(--s-6) !important; } .mb-8 { margin-block-end: var(--s-8) !important; }
.mx-auto { margin-inline: auto !important; }
.w-full { width: 100%; }
.max-w-prose { max-width: 62ch; }
.hide-mobile { display: none !important; }
@media (min-width: 768px) { .hide-mobile { display: revert !important; } .hide-desktop { display: none !important; } }

.visually-hidden, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 1000;
  padding: 10px 16px; background: var(--ink); color: var(--white);
  border: 2px solid var(--orange); border-radius: var(--r-1); font-weight: 600;
  transform: translateY(-200%); transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: none; outline: none; }

/* عنصر مؤقت لبيانات غير مؤكدة */
.placeholder {
  position: relative;
  background: var(--orange-pale);
  border-block-end: 1px dashed var(--orange-mid);
  border-radius: 2px;
  padding-inline: .3em;
  cursor: help;
  color: inherit;
}
.placeholder[data-placeholder]:hover::after, .placeholder[data-placeholder]:focus::after {
  content: "بيانات مؤقتة: " attr(data-placeholder);
  position: absolute; inset-block-end: calc(100% + 6px); inset-inline-start: 0; z-index: 50;
  background: var(--ink); color: var(--white); font-size: var(--fs-xs); line-height: 1.5;
  padding: 4px 10px; border-radius: var(--r-1); white-space: nowrap; box-shadow: var(--sh-2);
  pointer-events: none;
}
.section--dark .placeholder, .section--graphite .placeholder, .footer .placeholder, .hero .placeholder,
.card--dark .placeholder, .icon-card--dark .placeholder, .callout--dark .placeholder, .band .placeholder, .stats .placeholder {
  background: rgba(242, 106, 27, .18); border-color: var(--orange);
}

/* ===== 04 ICONS + BUTTONS =========================================== */
.icon {
  width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.15em;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }
.icon--lg { width: 1.5em; height: 1.5em; }
.icon--xl { width: 2em; height: 2em; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }

.btn {
  --btn-h: 48px;
  --btn-px: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 6px var(--btn-px);
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); line-height: 1.3;
  border-radius: var(--r-1); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap; user-select: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
@media (min-width: 768px) { .btn { font-size: 0.9375rem; } }
.btn .icon { font-size: 20px; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* أساسي: تدرج برتقالي + نص فحمي (الأبيض على البرتقالي لا يحقق AA) */
.btn--primary {
  position: relative; isolation: isolate;
  background: var(--grad-orange); color: var(--ink); border-color: transparent;
}
.btn--primary::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--orange-light); opacity: 0; transition: opacity var(--dur) var(--ease);
}
.btn--primary:hover { box-shadow: var(--sh-orange); }
.btn--primary:hover::before { opacity: 1; }
.btn--primary:active { box-shadow: none; }
.btn--primary:active::before { opacity: 0; }

/* داكن */
.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark:hover { background: var(--graphite); border-color: var(--graphite); box-shadow: var(--sh-2); }

/* ثانوي (إطار) — يتلوّن حسب الخلفية */
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--white); }
.section--dark .btn--secondary, .section--graphite .btn--secondary, .hero .btn--secondary,
.band .btn--secondary, .footer .btn--secondary, .stats .btn--secondary, .btn--secondary.btn--on-dark,
.header .btn--secondary, .drawer .btn--secondary {
  color: var(--white); border-color: rgba(255, 255, 255, .7);
}
.section--dark .btn--secondary:hover, .section--graphite .btn--secondary:hover, .hero .btn--secondary:hover,
.band .btn--secondary:hover, .footer .btn--secondary:hover, .stats .btn--secondary:hover, .btn--secondary.btn--on-dark:hover,
.header .btn--secondary:hover, .drawer .btn--secondary:hover {
  background: var(--white); color: var(--ink); border-color: var(--white);
}

/* رابط تفاصيل بسهم («تفاصيل الحديد وجدول الأوزان ←»):
   نص برتقالي غامق على الفاتح بلا إطار ولا ارتفاع زر، السهم على محور النص ويتجه مع اتجاه الصفحة،
   وخط تحتي عند المرور فقط. يبدأ من بداية السطر دائمًا (حتى داخل الشبكات). */
.btn--ghost {
  --btn-h: 0; --btn-px: 0;
  min-height: 0; padding: 2px 0; gap: 8px;
  justify-content: flex-start; justify-self: start; align-self: start;
  background: transparent; color: var(--orange-deep); border-color: transparent; border-radius: 0;
  line-height: 1.4; white-space: normal; text-align: start;
  text-decoration: none; text-decoration-thickness: 1.5px; text-underline-offset: .3em; text-decoration-color: currentColor;
}
.btn--ghost:hover { color: var(--orange-deep); text-decoration: underline; }
.btn--ghost:active { transform: none; }
.btn--ghost:focus-visible { outline-offset: 4px; }
.btn--ghost .icon { font-size: 18px; flex: none; margin-block-start: .06em; }
.btn--ghost .icon--dir { transition: transform var(--dur) var(--ease); }
[dir="rtl"] .btn--ghost:hover .icon--dir { transform: scaleX(-1) translateX(3px); }
[dir="ltr"] .btn--ghost:hover .icon--dir { transform: translateX(3px); }
.section--dark .btn--ghost, .section--graphite .btn--ghost, .hero .btn--ghost, .footer .btn--ghost, .band .btn--ghost { color: var(--orange-light); }
.section--dark .btn--ghost:hover, .section--graphite .btn--ghost:hover, .hero .btn--ghost:hover, .footer .btn--ghost:hover, .band .btn--ghost:hover { color: var(--white); }
/* أزرار نصية بجانب أزرار حقيقية (نماذج): نحافظ على مساحة لمس مريحة */
.form-actions .btn--ghost, .cta-bar__actions .btn--ghost { min-height: 44px; padding-inline: 12px; }

/* أبيض (على الخلفيات الداكنة) */
.btn--white { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--white:hover { background: var(--paper); border-color: var(--paper); }

.btn--sm { --btn-h: 40px; --btn-px: 16px; font-size: var(--fs-sm); }
.btn--sm .icon { font-size: 18px; }
.btn--lg { --btn-h: 56px; --btn-px: 28px; font-size: var(--fs-base); }
.btn--lg .icon { font-size: 22px; }
.btn--block { display: flex; width: 100%; }
.btn--icon { --btn-px: 0; width: var(--btn-h); padding: 0; }
.btn--icon .icon { font-size: 22px; }
.btn--square { border-radius: 0; }
@media (max-width: 479px) {
  .btn--mobile-block { display: flex; width: 100%; }
}

/* أيقونات التواصل الدائرية */
.social { display: inline-flex; gap: var(--s-2); }
.social__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid currentColor; color: inherit; opacity: .85;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), opacity var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.social__link .icon { font-size: 16px; }
.social__link:hover { opacity: 1; background: var(--orange); color: var(--ink); border-color: var(--orange); }
.social--lg .social__link { width: 44px; height: 44px; }
.social--lg .social__link .icon { font-size: 20px; }

/* ===== 05 UTILITY BAR + HEADER + DRAWER ============================ */
.utilbar {
  background: var(--graphite); color: var(--on-dark-muted);
  font-size: 0.8125rem; line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: .01em;
}
.utilbar__inner {
  min-height: var(--utilbar-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
}
.utilbar__group { display: flex; align-items: center; gap: var(--s-4); min-width: 0; }
.utilbar__item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.utilbar__item .icon { font-size: 14px; color: var(--orange); }
.utilbar a.utilbar__item { color: var(--on-dark-soft); transition: color var(--dur) var(--ease); }
.utilbar a.utilbar__item:hover { color: var(--orange-light); }
.utilbar__promise { color: var(--orange-light); font-weight: 500; }
.utilbar__promise::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--orange); margin-inline-end: 8px; vertical-align: middle; }
.utilbar .social__link { width: 26px; height: 26px; border: 0; opacity: .9; color: var(--on-dark-soft); }
.utilbar .social__link .icon { font-size: 14px; }
.utilbar .social__link:hover { background: transparent; color: var(--orange-light); }
@media (max-width: 767px) {
  .utilbar__promise { display: none; }
}

/* الهيدر داكن بلون خلفية اللوقو نفسها (#1D1512) حتى يندمج اللوقو بلا إطار */
.header {
  position: sticky; inset-block-start: 0; z-index: 100;
  background: var(--ink); color: var(--on-dark);
  border-block-end: 1px solid var(--line-dark);
  transition: box-shadow var(--dur) var(--ease);
}
html.is-scrolled .header { box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
}
.header__brand { display: inline-flex; align-items: center; flex: none; }
.header__actions { display: flex; align-items: center; gap: var(--s-2); flex: none; }
.header__tel { display: none; }
.header__cta { display: none; }
.header__tel-icon { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.header__tel-icon:hover { border-color: var(--white); }
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center;
  height: var(--header-h); padding-inline: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem; color: var(--on-dark-soft);
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; inset-inline: 14px; inset-block-end: -1px;
  height: 3px; background: var(--grad-orange);
  transform: scaleX(0); transform-origin: center; transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--orange-light); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--white); }
.nav-toggle { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.nav-toggle:hover { border-color: var(--white); }
.nav-toggle .icon { font-size: 24px; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .header__tel-icon { display: none; }
  .header__cta { display: inline-flex; }
  .header__tel { display: inline-flex; --btn-px: 16px; color: var(--white); border-color: rgba(255, 255, 255, .35); }
  .header__tel:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); color: var(--white); }
  .header__tel .icon { color: var(--orange); }
}
@media (min-width: 1200px) {
  .nav__link { padding-inline: 18px; font-size: 1rem; }
  .nav__link::after { inset-inline: 18px; }
}

/* اللوقو: قصّ الصورة الأصلية بدون إعادة رسم — الخلفية دائمًا #1D1512 (لون خلفية الملف) */
.logo {
  --logo-h: 52px;
  position: relative; display: block; overflow: hidden; flex: none;
  height: var(--logo-h);
  width: calc(var(--logo-h) * var(--logo-cw) / var(--logo-ch));
  background: var(--ink);
}
.logo img {
  position: absolute; display: block; max-width: none;
  width: calc(100% * var(--logo-src) / var(--logo-cw));
  height: auto;
  left: calc(-100% * var(--logo-cx) / var(--logo-cw));
  top: calc(-100% * var(--logo-cy) / var(--logo-ch));
}
.logo--mark { --logo-ch: 128; }                             /* الكلمة «الحال» فقط بدون سطر «رفاهية البناء ..» (القصّ حتى y=250؛ الفجوة بين الكلمة والسطر y 240–258) */
.logo--fluid { height: auto; width: 100%; aspect-ratio: var(--logo-cw) / var(--logo-ch); }
.header .logo { --logo-h: 48px; }
@media (min-width: 768px) { .header .logo { --logo-h: 60px; } }
/* لا حاجة للوحة خلف اللوقو: يوضع مباشرة على الداكن (خلفية الملف نفسها #1D1512) */
.footer__logo { display: inline-block; background: var(--ink); border-radius: 0; padding: 0; box-shadow: none; }
.footer__logo .logo { --logo-h: 72px; }

/* القائمة الجانبية (الجوال) — داكنة مثل الهيدر */
.drawer__backdrop {
  position: fixed; inset: 0; z-index: 200; background: rgba(29, 21, 18, .6);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.drawer__backdrop.is-open { opacity: 1; }
.drawer {
  position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 210;
  width: min(340px, 88vw); background: var(--ink); color: var(--on-dark-soft);
  box-shadow: 0 0 60px rgba(0, 0, 0, .5);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 300ms var(--ease);
  overflow-y: auto; overscroll-behavior: contain;
}
[dir="ltr"] .drawer { transform: translateX(-100%); }
.drawer.is-open { transform: none !important; }
.drawer[hidden] { display: none; }
.drawer__backdrop[hidden] { display: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding-inline: var(--gutter);
  border-block-end: 1px solid var(--line-dark);
}
.drawer__close { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.drawer__nav { padding: var(--s-3) 0; }
.drawer__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; color: var(--on-dark-soft);
  border-inline-start: 3px solid transparent;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.drawer__nav a:hover { background: rgba(255, 255, 255, .05); color: var(--white); }
.drawer__nav a[aria-current="page"] { border-inline-start-color: var(--orange); background: rgba(242, 106, 27, .12); color: var(--white); }
.drawer__nav a .icon { font-size: 18px; color: var(--orange); }
.drawer__foot {
  margin-block-start: auto; padding: var(--s-5) var(--gutter);
  border-block-start: 1px solid var(--line-dark); background: var(--graphite);
  display: grid; gap: var(--s-3);
}
.drawer__foot .btn { width: 100%; }
.drawer__foot .social { justify-content: center; margin-block-start: var(--s-2); color: var(--on-dark-muted); }

/* ===== 06 HERO ====================================================== */
/* الصورة تُوضع كعنصر <img class="hero__img"> داخل .hero (وليس background)
   لأن مسارات url() داخل style="" تُحل بشكل مختلف بين المتصفحات */
.hero {
  --hero-pos: center;
  --hero-overlay-a: rgba(29, 21, 18, .85);
  --hero-overlay-b: rgba(29, 21, 18, .4);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(520px, 72vh, 720px);
  display: flex; align-items: center;
  background-color: var(--ink); color: var(--on-dark);
  padding-block: var(--s-10);
}
.hero__img {
  position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--hero-pos); pointer-events: none; user-select: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, var(--hero-overlay-a) 0%, var(--hero-overlay-a) 30%, var(--hero-overlay-b) 100%),
              linear-gradient(to top, rgba(29, 21, 18, .6), transparent 40%);
}
/* زخرفة القوس البرتقالي (بديل صورة البانر الذهبية — CSS فقط بدون صور):
   توهج برتقالي خافت + ثلاثة أقواس رفيعة متدرجة الشفافية + خطوط شعر قطرية */
.hero--banner::before, .hero__outline, .stats--outline::before, .arch-motif {
  background-image:
    radial-gradient(circle at var(--arch-x) var(--arch-y), rgba(242, 106, 27, .32) 0, rgba(242, 106, 27, .10) calc(var(--arch-r) * .72), rgba(242, 106, 27, 0) var(--arch-r)),
    radial-gradient(circle at var(--arch-x) var(--arch-y), rgba(255, 179, 71, 0) calc(var(--arch-r) - 1.5px), rgba(255, 179, 71, .6) calc(var(--arch-r) - .5px), rgba(255, 179, 71, .6) calc(var(--arch-r) + .5px), rgba(255, 179, 71, 0) calc(var(--arch-r) + 1.5px)),
    radial-gradient(circle at var(--arch-x) var(--arch-y), rgba(255, 179, 71, 0) calc(var(--arch-r) * 1.24 - 1.5px), rgba(255, 179, 71, .32) calc(var(--arch-r) * 1.24 - .5px), rgba(255, 179, 71, .32) calc(var(--arch-r) * 1.24 + .5px), rgba(255, 179, 71, 0) calc(var(--arch-r) * 1.24 + 1.5px)),
    radial-gradient(circle at var(--arch-x) var(--arch-y), rgba(255, 179, 71, 0) calc(var(--arch-r) * 1.48 - 1.5px), rgba(255, 179, 71, .16) calc(var(--arch-r) * 1.48 - .5px), rgba(255, 179, 71, .16) calc(var(--arch-r) * 1.48 + .5px), rgba(255, 179, 71, 0) calc(var(--arch-r) * 1.48 + 1.5px)),
    repeating-linear-gradient(135deg, rgba(255, 179, 71, .06) 0 1px, rgba(255, 179, 71, 0) 1px 26px);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
}
.hero--banner::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background-color: var(--ink);
}
.hero--banner::after { background: linear-gradient(to left, rgba(29, 21, 18, .55), rgba(29, 21, 18, .15) 55%, rgba(29, 21, 18, .45)); }
/* طبقة القوس فوق الصورة: <div class="hero__outline" aria-hidden="true"></div> */
.hero__outline {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  mix-blend-mode: screen; opacity: .85;
}
.hero--page { min-height: clamp(300px, 40vh, 420px); padding-block: var(--s-8); }
.hero--short { min-height: clamp(360px, 50vh, 520px); }
.hero__inner { position: relative; width: 100%; }
.hero__content { max-width: 720px; }
.hero__eyebrow { margin-block-end: var(--s-4); }
.hero__title { font-size: var(--fs-5xl); line-height: 1.15; color: var(--white); }
.hero--page .hero__title { font-size: var(--fs-4xl); }
.hero__title em, .hero__title .orange, .hero__title .gold { font-style: normal; color: var(--orange-light); }
.hero__rule { width: 72px; height: 3px; background: var(--grad-orange); margin-block: var(--s-5); }
.hero__lead { font-size: var(--fs-md); color: var(--on-dark-soft); max-width: 58ch; line-height: 1.8; }
@media (min-width: 768px) { .hero__lead { font-size: var(--fs-lg); } }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-block-start: var(--s-6); }
/* شريط الثقة تحت أزرار الهيرو: شرائح (chips) زجاجية داكنة بحدود رفيعة، وأيقونة داخل دائرة برتقالية شفافة */
.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  margin-block-start: var(--s-7); padding-block-start: var(--s-5);
  border-block-start: 1px solid rgba(255, 255, 255, .12);
  color: var(--on-dark-soft); font-size: var(--fs-sm); font-weight: 500; line-height: 1.3;
}
.hero__meta span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; padding-inline: 6px 16px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
  background: rgba(29, 21, 18, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 6px 18px rgba(0, 0, 0, .18);
  transition: border-color .2s ease, background-color .2s ease;
}
.hero__meta span:hover { border-color: rgba(255, 179, 71, .45); background: rgba(29, 21, 18, .7); }
.hero__meta .icon {
  flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 50%;
  color: var(--orange-light); font-size: 18px;
  background: rgba(242, 106, 27, .18); box-shadow: inset 0 0 0 1px rgba(242, 106, 27, .4);
}
@media (max-width: 479px) {
  .hero__meta span { flex: 1 1 100%; justify-content: flex-start; }
}
.hero__crumb { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: var(--fs-sm); color: var(--on-dark-muted); margin-block-end: var(--s-4); }
.hero__crumb a { color: var(--on-dark-soft); }
.hero__crumb a:hover { color: var(--orange-light); }
.hero__crumb .icon { font-size: 14px; opacity: .7; }

/* شريط صورة كامل العرض مع تعتيم: <img class="band__img" src="..." alt=""> */
.band {
  --band-pos: center; --band-overlay: rgba(29, 21, 18, .7);
  position: relative; isolation: isolate; color: var(--on-dark); background: var(--ink);
  padding-block: var(--section-y);
}
.band__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--band-pos); }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--band-overlay); }
.band--tall { min-height: 420px; display: flex; align-items: center; }
.band--gradient::after { background: linear-gradient(to left, rgba(29, 21, 18, .88), rgba(29, 21, 18, .45)); }

/* ===== 07 SECTION HEADS ============================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--orange-pale); color: var(--orange-deep); border: 1px solid rgba(242, 106, 27, .35);
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-xs); line-height: 1.6;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }
.eyebrow--dark, .section--dark .eyebrow, .section--graphite .eyebrow, .hero .eyebrow, .band .eyebrow, .stats .eyebrow {
  background: rgba(242, 106, 27, .14); color: var(--orange-light); border-color: rgba(242, 106, 27, .45);
}
.section-head { max-width: 720px; margin-block-end: var(--s-7); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); }
.section-head--row > :first-child { max-width: 720px; }
.section-head .eyebrow { margin-block-end: var(--s-4); }
.section-title { font-size: var(--fs-3xl); }
.section-title--lg { font-size: var(--fs-4xl); }
.section-lead { margin-block-start: var(--s-3); color: var(--steel); font-size: var(--fs-md); line-height: 1.8; }
.section--dark .section-lead, .section--graphite .section-lead, .band .section-lead { color: var(--on-dark-muted); }
@media (min-width: 768px) { .section-head { margin-block-end: var(--s-8); } }
.rule { width: 64px; height: 3px; background: var(--grad-orange); border-radius: 2px; margin-block: var(--s-4); }
.rule--center { margin-inline: auto; }
.rule--sm { width: 40px; height: 2px; }

/* ===== 08 TILES / CARDS ============================================= */
.tile-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .tile-grid { gap: var(--s-5); } .tile-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tile-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tile-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* بلاطة تصنيف: الصورة <img class="tile__img"> أو رسم SVG داخل <div class="tile__art"> */
.tile {
  --tile-pos: center;
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  width: 100%; aspect-ratio: 1; border-radius: var(--r-2);
  background: var(--graphite); color: var(--white); box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
@media (min-width: 480px) { .tile { aspect-ratio: 4 / 3; } }
@media (min-width: 768px) { .tile { aspect-ratio: 5 / 4; } }
.tile--wide { aspect-ratio: 16 / 9; }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(29, 21, 18, .92) 0%, rgba(29, 21, 18, .4) 55%, rgba(29, 21, 18, .1) 100%);
  transition: opacity var(--dur) var(--ease);
}
.tile__img, .tile__art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.tile__img { object-fit: cover; object-position: var(--tile-pos); transition: transform var(--dur-slow) var(--ease); }
.tile:hover .tile__img { transform: scale(1.04); }
.tile__art svg { width: 100%; height: 100%; display: block; }
.tile__art--pad { inset: 12% 12% 34%; width: auto; height: auto; }
.tile__body { position: relative; padding: var(--s-4); width: 100%; }
@media (min-width: 768px) { .tile__body { padding: var(--s-5); } }
.tile__icon { font-size: 28px; color: var(--orange-light); margin-block-end: var(--s-2); }
.tile__label {
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-md); line-height: 1.3; color: var(--white);
}
@media (min-width: 768px) { .tile__label { font-size: var(--fs-lg); } }
.tile__label::after {
  content: ""; display: block; width: 32px; height: 2px; background: var(--grad-orange); margin-block-start: 10px;
  transition: width var(--dur) var(--ease);
}
.tile__sub { display: block; margin-block-start: 6px; font-size: var(--fs-sm); color: var(--on-dark-muted); }
.tile:hover, .tile:focus-visible { transform: translateY(-4px); box-shadow: var(--sh-3); }
.tile:hover .tile__label::after { width: 56px; }
.tile:hover::after { opacity: .92; }

/* بطاقة ميزة كبيرة (حديد / بلك) */
.feature-grid { display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); } }
.feature {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-strong); }
.feature__media {
  --feature-pos: center;
  position: relative; isolation: isolate; min-height: 200px; display: flex; align-items: flex-end;
  background: var(--ink); color: var(--white);
  padding: var(--s-5);
}
.feature__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--feature-pos); }
.feature__media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(29, 21, 18, .9), rgba(29, 21, 18, .3)); }
.feature__media .icon { font-size: 32px; color: var(--orange-light); margin-block-end: var(--s-2); }
.feature__title { font-size: var(--fs-xl); color: var(--white); }
.feature__kicker { font-size: var(--fs-sm); color: var(--orange-light); font-weight: 500; margin-block-end: 6px; }
.feature__body { padding: var(--s-5); flex: 1; display: grid; gap: var(--s-4); align-content: start; }
.feature__body > .text-muted { line-height: 1.75; }
/* قائمة مزايا البطاقة = نفس عائلة .list-check (انظر القسم أدناه) — رابط التفاصيل يأخذ نفَسًا ثابتًا فوقه */
.feature__body > .btn--ghost { margin-block-start: var(--s-1); }
.feature__cta { margin-block-start: auto; border-radius: 0; }
.feature__cta .icon { font-size: 20px; }

/* بطاقة عامة */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2);
  padding: var(--s-5); box-shadow: var(--sh-1);
}
.card--flat { box-shadow: none; }
.card--paper { background: var(--paper); }
.card--pad-0 { padding: 0; overflow: hidden; }
.card--hover { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-strong); }
.card__title { font-size: var(--fs-lg); line-height: 1.35; margin-block-end: var(--s-2); }
.card__text { color: var(--steel); line-height: 1.7; }
.card__meta { font-size: var(--fs-sm); color: var(--slate); }
.card--dark { background: var(--graphite); border-color: var(--line-dark); color: var(--on-dark-soft); }
.card--dark .card__text { color: var(--on-dark-muted); }
.card--dark .card__title { color: var(--white); }
.card--orange-top { border-block-start: 3px solid var(--orange); }

/* بطاقة بأيقونة (لماذا الحال) */
.icon-card {
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-2);
  padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.icon-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-strong); }
/* صندوق الأيقونة الموحّد (بطاقات الميزات، طرق التواصل، البطاقات الصغيرة، 404) */
.icon-card__icon, .method__icon, .mini__icon, .nf-card__icon {
  width: 52px; height: 52px; border-radius: var(--r-2); display: grid; place-items: center; flex: none;
  background: var(--orange-pale); color: var(--orange-mid);
  box-shadow: inset 0 0 0 1px rgba(242, 106, 27, .16);
}
.icon-card__icon .icon, .method__icon .icon, .mini__icon .icon, .nf-card__icon .icon { font-size: 26px; stroke-width: 1.6; }
.icon-card__title { font-size: var(--fs-lg); line-height: 1.35; }
.icon-card__text { color: var(--steel); font-size: 0.9375rem; line-height: 1.7; }
.icon-card--dark { background: var(--graphite); color: var(--on-dark-soft); border-color: var(--line-dark); }
.icon-card--dark .icon-card__icon { background: rgba(242, 106, 27, .16); color: var(--orange-light); }
.icon-card--dark .icon-card__title { color: var(--white); }
.icon-card--dark .icon-card__text { color: var(--on-dark-muted); }
.section--dark .icon-card:hover, .section--graphite .icon-card:hover { box-shadow: var(--sh-3); }

/* صورة */
.photo { position: relative; overflow: hidden; border-radius: var(--r-2); background: var(--concrete); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--square { aspect-ratio: 1; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--landscape { aspect-ratio: 4 / 3; }
.photo--capped { max-width: 640px; }
.photo--overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29, 21, 18, .6), transparent 55%); pointer-events: none; }
.photo--frame { box-shadow: var(--sh-3); }
.photo--frame::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .35); pointer-events: none; z-index: 1; border-radius: 2px; }
.photo__caption {
  position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 2; padding: var(--s-4);
  color: var(--white); font-size: var(--fs-sm);
}
.photo-offset { position: relative; }
.photo-offset::before { content: ""; position: absolute; inset-block-start: 20px; inset-inline-end: -20px; width: 60%; height: 60%; background: var(--grad-orange); border-radius: var(--r-2); z-index: 0; opacity: .9; }
.photo-offset .photo { position: relative; z-index: 1; }

/* قائمة بعلامات صح برتقالية (.list-check) — وقائمة مزايا بطاقة الميزة (.feature__list) من نفس العائلة.
   الأيقونة دائرة 22px موضوعة absolute في بداية السطر، والنص بهامش بداية ثابت:
   فلا يلتف النص تحت الأيقونة أبدًا، ويبقى <strong> والنص بعده في سطر واحد متصل. */
.list-check, .feature__list { --check-size: 22px; --check-gap: 10px; display: grid; gap: 10px; }
.list-check li, .feature__list li {
  position: relative; min-height: var(--check-size);
  padding-inline-start: calc(var(--check-size) + var(--check-gap));
  line-height: 1.6;
}
.list-check li::before, .feature__list li::before {
  content: ""; position: absolute; inset-inline-start: 0;
  inset-block-start: calc((1.6em - var(--check-size)) / 2);
  width: var(--check-size); height: var(--check-size); border-radius: 50%;
  background: var(--orange-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B4470E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(242, 106, 27, .2);
}
.list-check li strong, .feature__list li strong { color: var(--ink); font-weight: 600; }
.section--dark .list-check li::before, .section--graphite .list-check li::before, .band .list-check li::before,
.section--dark .feature__list li::before, .section--graphite .feature__list li::before {
  background-color: rgba(242, 106, 27, .2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB347' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px rgba(242, 106, 27, .45);
}
.section--dark .list-check li strong, .band .list-check li strong { color: var(--white); }
.list-check--2col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.list-check--lg { font-size: var(--fs-md); gap: 12px; }

/* شريط ثنائي: نص + زر (مثل شريط CTA) */
.cta-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-6); border-radius: var(--r-2);
  background: var(--ink); color: var(--on-dark-soft); border-inline-start: 4px solid var(--orange);
}
.cta-bar__title { font-size: var(--fs-xl); color: var(--white); }
.cta-bar__text { color: var(--on-dark-muted); margin-block-start: 4px; }
.cta-bar--orange { background: var(--grad-orange); color: var(--ink); border-inline-start-color: var(--ink); }
.cta-bar--orange .cta-bar__title { color: var(--ink); }
.cta-bar--orange .cta-bar__text { color: var(--ink); opacity: .85; }
.cta-bar__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ===== 09 STATS / DARK / PARTNERS ================================== */
.stats {
  --arch-y: 128%; --arch-r: clamp(200px, 30vw, 440px);
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--on-dark-soft);
  padding-block: var(--s-9);
}
.stats--outline::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .8;
}
.stats--outline::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to left, rgba(29, 21, 18, .1), rgba(29, 21, 18, .45)); }
.stats--paper { background: var(--paper); color: var(--ink); }
.stats__grid { display: grid; gap: var(--s-6) var(--s-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { display: grid; gap: 6px; align-content: start; padding-inline-start: var(--s-4); border-inline-start: 2px solid rgba(242, 106, 27, .5); }
.stats--paper .stat { border-inline-start-color: var(--orange); }
/* الرقم الكبير بتدرج برتقالي على الداكن (background-clip: text) مع لون احتياطي */
.stat__value {
  font-family: var(--font-head); font-weight: 700; line-height: 1.1;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); color: var(--orange);
  background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-variant-numeric: lining-nums tabular-nums; direction: ltr; unicode-bidi: isolate; text-align: start;
  display: inline-flex; align-items: baseline; gap: 4px;
}
[dir="rtl"] .stat__value { direction: rtl; }
.stat__value .num { direction: ltr; unicode-bidi: isolate; }
.stat__value small, .stat__unit { font-size: .45em; font-weight: 600; color: var(--orange-light); -webkit-text-fill-color: var(--orange-light); }
.stats--paper .stat__value { background: none; color: var(--ink); -webkit-text-fill-color: var(--ink); }
.stats--paper .stat__value small, .stats--paper .stat__unit { color: var(--orange-deep); -webkit-text-fill-color: var(--orange-deep); }
.stat__label { font-size: var(--fs-sm); color: var(--on-dark-muted); line-height: 1.5; }
.stats--paper .stat__label { color: var(--steel); }
.stat__note { font-size: var(--fs-xs); color: var(--on-dark-dim); }
.stats__quote { margin-block-start: var(--s-7); padding-block-start: var(--s-5); border-block-start: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: var(--fs-sm); max-width: 70ch; }
.stats__quote cite { font-style: normal; color: var(--orange-light); }

/* شارات */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600; line-height: 1.6; white-space: nowrap;
  background: var(--concrete); color: var(--steel); border: 1px solid transparent;
}
.badge--orange { background: var(--orange-pale); color: var(--orange-deep); border-color: rgba(242, 106, 27, .35); }
.badge--dark { background: var(--ink); color: var(--orange-light); }
.badge--outline { background: transparent; border-color: var(--line-strong); color: var(--steel); }
.badge--success { background: #E7F3EB; color: var(--success); }
.badge .icon { font-size: 14px; }

/* أسماء المصانع كشارات نصية أنيقة */
.mill-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }
.mill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; min-height: 52px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-1);
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-base); color: var(--ink);
  letter-spacing: 0; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.mill::before { content: ""; width: 8px; height: 8px; border-radius: 1px; background: var(--grad-orange); transform: rotate(45deg); flex: none; }
.mill:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--sh-1); }
.mill--block { --_c: var(--orange-deep); }
.mill--block::before { border-radius: 50%; transform: none; }
.mill--sm { min-height: 40px; padding: 6px 14px; font-size: var(--fs-sm); }
.section--dark .mill, .section--graphite .mill, .mill--dark {
  background: rgba(255, 255, 255, .04); border-color: rgba(242, 106, 27, .35); color: var(--orange-light);
}
.section--dark .mill:hover, .section--graphite .mill:hover, .mill--dark:hover { border-color: var(--orange); background: rgba(242, 106, 27, .10); }
.mill-strip__note { width: 100%; text-align: center; font-size: var(--fs-sm); color: var(--slate); margin-block-start: var(--s-3); }
.section--dark .mill-strip__note { color: var(--on-dark-muted); }

/* ===== 10 TABLES ==================================================== */
.table-wrap {
  position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  border: 1px solid var(--line); border-radius: var(--r-2); background: var(--white);
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.table-wrap--scroll { max-height: 560px; overflow: auto; }
.table-wrap__hint { display: none; font-size: var(--fs-xs); color: var(--slate); padding: 6px var(--s-3); border-block-end: 1px dashed var(--line); }
@media (max-width: 767px) { .table-wrap__hint { display: flex; align-items: center; gap: 6px; } }
.table { width: 100%; min-width: 520px; font-size: 0.9375rem; line-height: 1.5; }
.table--compact { min-width: 0; font-size: var(--fs-sm); }
.table--wide { min-width: 720px; }
.table caption { caption-side: top; text-align: start; padding: var(--s-3) var(--s-4); font-weight: 600; color: var(--steel); font-size: var(--fs-sm); }
.table th, .table td { padding: 12px var(--s-4); text-align: start; vertical-align: middle; border-block-end: 1px solid var(--line); }
.table--compact th, .table--compact td { padding: 8px 12px; }
.table thead th {
  position: sticky; inset-block-start: 0; z-index: 2;
  background: var(--ink); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); white-space: nowrap;
  border-block-end: 2px solid var(--orange);
}
.table--orange thead th { background: var(--orange); color: var(--ink); border-block-end-color: var(--orange-deep); }
.table tbody tr:nth-child(even) { background: var(--paper); }
.table tbody tr:hover { background: var(--orange-tint); }
.table tbody tr:last-child td { border-block-end: 0; }
.table tbody th { font-weight: 600; color: var(--ink); background: inherit; }
.table .num, .table td[data-num], .table th[data-num] { font-variant-numeric: lining-nums tabular-nums; direction: ltr; unicode-bidi: isolate; text-align: center; }
.table--center th, .table--center td { text-align: center; }
.table--sticky-col th:first-child, .table--sticky-col td:first-child {
  position: sticky; inset-inline-start: 0; z-index: 1; background: var(--white);
  box-shadow: -1px 0 0 var(--line) inset;
}
.table--sticky-col thead th:first-child { z-index: 3; background: var(--ink); }
.table--sticky-col tbody tr:nth-child(even) td:first-child, .table--sticky-col tbody tr:nth-child(even) th:first-child { background: var(--paper); }
.table tfoot td, .table tfoot th { background: var(--concrete); font-weight: 600; }
.table .ta-c { text-align: center; } .table .ta-e { text-align: end; }

/* ===== 11 FORMS ===================================================== */
.form { display: grid; gap: var(--s-5); }
.form-grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-5); } .form-grid .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.label { font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.label .req { color: var(--error); margin-inline-start: 2px; }
.label__hint { font-weight: 400; color: var(--slate); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r-1);
  font-size: 1rem; line-height: 1.5;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--slate); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--steel); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--orange-deep); box-shadow: 0 0 0 3px rgba(242, 106, 27, .28); }
.input[dir="ltr"], .input[type="tel"], .input[type="email"], .input[type="number"], .input[type="url"] { direction: ltr; text-align: start; unicode-bidi: plaintext; }
.input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.input[type="number"]::-webkit-outer-spin-button, .input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.textarea { min-height: 140px; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-inline-end: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A423D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: left 14px center;
}
[dir="ltr"] .select { background-position: right 14px center; }
.input--sm, .select--sm { min-height: 40px; padding-block: 6px; }
.input--lg, .select--lg { min-height: 56px; font-size: var(--fs-md); }
.input-group { display: flex; align-items: stretch; }
.input-group .input { border-start-end-radius: 0; border-end-end-radius: 0; }
.input-group__addon {
  display: inline-flex; align-items: center; padding-inline: 14px; white-space: nowrap;
  background: var(--concrete); color: var(--steel); border: 1px solid var(--line-strong); border-inline-start: 0;
  border-start-end-radius: var(--r-1); border-end-end-radius: var(--r-1); font-size: var(--fs-sm); font-weight: 600;
}
.field__help { font-size: 0.8125rem; color: var(--slate); line-height: 1.5; }
.field__error { display: none; font-size: 0.8125rem; color: var(--error); font-weight: 500; align-items: center; gap: 6px; }
.field__error .icon { font-size: 16px; }
.field.is-invalid .field__error { display: flex; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--error); }
.field.is-invalid .input:focus, .field.is-invalid .select:focus, .field.is-invalid .textarea:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .18); }
.field.is-valid .input, .field.is-valid .select, .field.is-valid .textarea { border-color: var(--success); }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange-deep); flex: none; cursor: pointer; }
.check-group { display: grid; gap: 10px; }
.check-group--row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); }
/* اختيار على شكل بطاقات (مثلاً نوع المنتج) */
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__box {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 48px;
  border: 1px solid var(--line-strong); border-radius: var(--r-1); background: var(--white); font-weight: 500;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.choice__box .icon { font-size: 20px; color: var(--orange-mid); }
.choice input:hover + .choice__box { border-color: var(--steel); }
.choice input:checked + .choice__box { border-color: var(--orange-deep); background: var(--orange-tint); box-shadow: inset 0 0 0 1px var(--orange-deep); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--orange-deep); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.form-note { font-size: var(--fs-sm); color: var(--slate); }
.form-status { display: none; padding: 12px 16px; border-radius: var(--r-1); font-weight: 500; }
.form-status.is-success { display: block; background: #E7F3EB; color: var(--success); border: 1px solid #BFE0CB; }
.form-status.is-error { display: block; background: #FBEAE8; color: var(--error); border: 1px solid #F1C2BD; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { font-weight: 600; font-size: var(--fs-sm); margin-block-end: 8px; padding: 0; }

/* ===== 12 CALLOUT / MISC =========================================== */
/* تنبيه/ملاحظة: نفس زوايا البطاقات وحدودها، خط برتقالي في البداية، والأيقونة داخل دائرة 40px */
.callout {
  display: flex; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-4) var(--s-5); border-radius: var(--r-2);
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-inline-start: 4px solid var(--orange);
}
.callout > .icon {
  flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; margin-block-start: 0;
  color: var(--orange-mid); background: var(--orange-pale); box-shadow: inset 0 0 0 1px rgba(242, 106, 27, .18);
}
.callout > div { min-width: 0; flex: 1 1 auto; }
.callout__title { font-weight: 700; font-family: var(--font-head); font-size: var(--fs-base); line-height: 1.4; margin-block-end: 4px; }
.callout__text { color: var(--steel); font-size: 0.9375rem; line-height: 1.7; }
.callout--orange { background: var(--orange-pale); border-color: rgba(242, 106, 27, .3); border-inline-start-color: var(--orange); }
.callout--orange > .icon { background: var(--white); }
.callout--orange .callout__text { color: var(--steel); }
.callout--dark { background: var(--graphite); color: var(--on-dark-soft); border-color: var(--line-dark); border-inline-start-color: var(--orange); }
.callout--dark .callout__title { color: var(--white); }
.callout--dark .callout__text { color: var(--on-dark-muted); }
.callout--dark > .icon { color: var(--orange-light); background: rgba(242, 106, 27, .16); box-shadow: inset 0 0 0 1px rgba(242, 106, 27, .4); }
.callout--error { border-color: #F1C2BD; border-inline-start-color: var(--error); background: #FBEAE8; }
.callout--error > .icon { color: var(--error); background: var(--white); box-shadow: inset 0 0 0 1px rgba(180, 35, 24, .2); }
@media (max-width: 479px) {
  .callout { gap: var(--s-3); padding: var(--s-4); }
  .callout > .icon { width: 36px; height: 36px; padding: 8px; }
}

/* عنصر تعريف (بيانات فرع مثلاً) */
.dl { display: grid; gap: 10px; }
.dl__row { display: flex; gap: 10px; align-items: flex-start; }
.dl__row .icon { font-size: 20px; color: var(--orange-mid); flex: none; margin-block-start: 3px; }
.dl__label { font-size: var(--fs-xs); color: var(--slate); font-weight: 600; display: block; }
.dl__value { color: var(--ink); }
.dl__value a { color: var(--ink); font-weight: 500; }
.dl__value a:hover { color: var(--orange-deep); }
.section--dark .dl__value, .card--dark .dl__value { color: var(--on-dark-soft); }
.section--dark .dl__label, .card--dark .dl__label { color: var(--on-dark-dim); }

/* فاصل برتقالي رفيع بين الأقسام */
.divider-orange, .divider-gold { height: 4px; background: linear-gradient(to left, var(--orange-deep), var(--orange), var(--orange-light)); }

/* عنصر فرع (تُستخدم في قوائم الفروع التي يرسمها site.js) */
.branch-item { display: grid; gap: 2px; }
.branch-item__name { font-weight: 600; color: inherit; }
.branch-item__name:hover { color: var(--orange-light); }
.branch-item__label { font-size: var(--fs-xs); color: var(--orange-light); }
.branch-item__place { font-size: var(--fs-sm); opacity: .85; }
.branch-item__approx { font-size: var(--fs-xs); opacity: .75; }
.branch-item__phones { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: var(--fs-sm); }
.branch-item__phones a { color: inherit; opacity: .9; }
.branch-item__phones a:hover { color: var(--orange-light); opacity: 1; }
.branch-item .sep { opacity: .5; }

/* ===== 13 FOOTER + FAB ============================================= */
.footer { background: var(--ink); color: var(--on-dark-muted); font-size: 0.9375rem; }
.footer a { transition: color var(--dur) var(--ease); }
.footer__top { padding-block: var(--s-9) var(--s-8); display: grid; gap: var(--s-8) var(--s-6); }
@media (min-width: 640px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: var(--s-8); padding-block: var(--s-10) var(--s-9); } }
.footer__brand { display: grid; gap: var(--s-4); align-content: start; justify-items: start; }
.footer__about { max-width: 40ch; line-height: 1.8; }
.footer__brandline { color: var(--orange-light); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); }
.footer__title {
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-base); color: var(--white);
  margin-block-end: var(--s-4); padding-block-end: var(--s-2); position: relative;
}
.footer__title::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-end: 0; width: 28px; height: 2px; background: var(--grad-orange); }
.footer__links { display: grid; gap: 10px; }
.footer__links a { color: var(--on-dark-muted); display: inline-flex; align-items: center; gap: 8px; }
.footer__links a::before { content: ""; width: 5px; height: 5px; background: var(--orange); transform: rotate(45deg); flex: none; opacity: .9; }
.footer__links a:hover { color: var(--white); }
.footer__branches { display: grid; gap: var(--s-3); }
.footer__contact { display: grid; gap: var(--s-3); }
.footer__contact .btn { justify-self: start; }
.footer__phone { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-xl); color: var(--white); display: inline-flex; align-items: center; gap: 10px; }
.footer__phone .icon { color: var(--orange); font-size: 22px; }
.footer__phone:hover { color: var(--orange-light); }
.footer .social { color: var(--on-dark-muted); }
.footer__bottom {
  border-block-start: 1px solid var(--line-dark); padding-block: var(--s-5);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3);
  font-size: var(--fs-sm); color: var(--on-dark-dim);
}
.footer__bottom a { color: var(--on-dark-muted); }
.footer__bottom a:hover { color: var(--white); }

/* زر عائم للجوال (اتصال/واتساب) */
.fab {
  position: fixed; inset-block-end: 20px; inset-inline-end: 16px; z-index: 90;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad-orange); color: var(--ink); box-shadow: var(--sh-3);
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.fab .icon { font-size: 26px; }
.fab:hover { transform: translateY(-2px); filter: brightness(1.08); }
@media (min-width: 1024px) { .fab { display: none; } }
@media print { .fab, .utilbar, .nav-toggle, .drawer, .drawer__backdrop, .skip-link { display: none !important; } .header { position: static; } }

/* ===== 14 REVEAL + MOTION ========================================== */
/* الظهور عند التمرير يستخدم خاصية translate المستقلة (وليس transform)
   حتى لا تُلغي قاعدة الظهور رفع البطاقات عند المرور (transform) بعد اكتمال الظهور */
html.js [data-reveal] {
  opacity: 0; translate: 0 18px;
  transition: opacity var(--dur-slow) var(--ease), translate var(--dur-slow) var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
  will-change: opacity, translate;
}
html.js [data-reveal="1"] { --reveal-i: 1; } html.js [data-reveal="2"] { --reveal-i: 2; }
html.js [data-reveal="3"] { --reveal-i: 3; } html.js [data-reveal="4"] { --reveal-i: 4; }
html.js [data-reveal="5"] { --reveal-i: 5; } html.js [data-reveal="6"] { --reveal-i: 6; }
html.js [data-reveal].is-visible { opacity: 1; translate: 0 0; will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; translate: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ===== 15 تحسينات الشاشات الصغيرة جدًا (أُضيفت في مرحلة الدمج) ============ */
/* بلاطات التصنيف تحت 480px مربعة وصغيرة: نصغّر العنوان والأيقونة حتى لا يتزاحم النص مع الرسم */
@media (max-width: 479px) {
  .tile__body { padding: 12px; }
  .tile__icon { font-size: 22px; margin-block-end: 4px; }
  .tile__label { font-size: var(--fs-base); line-height: 1.25; }
  .tile__label::after { margin-block-start: 6px; }
  .tile__sub { font-size: var(--fs-xs); margin-block-start: 4px; }
}

/* ===== 16 CHIPS: أقطار الحديد ومقاسات البلك ========================= */
/* عائلة واحدة في كل الصفحات:
   .dia / .chip  = دائرة القطر (8 … 40) بحجم ثابت واحد، الرقم في المنتصف تمامًا،
   .size         = مستطيل مقاس البلك (20×20×40) بنقطة برتقالية وأرقام جدولية.
   الحدّ: خط شعري متدرج (برتقالي ← ذهبي) مرسوم بالقناع، وتوهج برتقالي ناعم عند المرور. */
.dia-row, .size-row, .chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--chip-gap, 8px); }
.dia, .chip, .size {
  --chip-h: 42px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--chip-h);
  background: var(--white); color: var(--orange-deep);
  font-family: var(--font-head); font-weight: 700; line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.dia::before, .chip::before, .size::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 55%, rgba(255, 179, 71, .55) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
/* الدائرة: عرض = ارتفاع، وحلقة داخلية خافتة توحي بمقطع السيخ */
.dia, .chip { width: var(--chip-h); height: var(--chip-h); padding: 0; border-radius: 50%; font-size: 13px; }
.dia::after, .chip::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(242, 106, 27, .14);
}
.dia .num, .chip .num, .size .num { letter-spacing: 0; line-height: 1; }
/* المستطيل: نقطة برتقالية في البداية + أرقام جدولية */
.size {
  height: var(--chip-h); padding-inline: 12px 14px; gap: 9px; border-radius: var(--r-2);
  font-size: var(--fs-sm); color: var(--ink);
}
.size::after {
  content: ""; order: -1; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad-orange); box-shadow: 0 0 0 3px var(--orange-pale);
}
.dia:hover, .chip:hover, .size:hover {
  transform: translateY(-2px); background: var(--orange-tint);
  box-shadow: 0 6px 16px rgba(242, 106, 27, .22), 0 0 0 4px rgba(242, 106, 27, .10);
}
.size:hover { color: var(--orange-deep); }
/* على الخلفيات الداكنة */
.section--dark .dia, .section--graphite .dia, .card--dark .dia, .band .dia, .stats .dia,
.section--dark .chip, .section--graphite .chip, .card--dark .chip, .band .chip, .stats .chip,
.section--dark .size, .section--graphite .size, .card--dark .size, .band .size, .stats .size {
  background: rgba(255, 255, 255, .05); color: var(--orange-light); box-shadow: none;
}
.section--dark .dia::before, .section--graphite .dia::before, .card--dark .dia::before,
.section--dark .chip::before, .section--graphite .chip::before, .card--dark .chip::before,
.section--dark .size::before, .section--graphite .size::before, .card--dark .size::before {
  background: linear-gradient(135deg, rgba(242, 106, 27, .95), rgba(255, 179, 71, .55));
}
.section--dark .dia::after, .section--graphite .dia::after, .card--dark .dia::after,
.section--dark .chip::after, .section--graphite .chip::after, .card--dark .chip::after { border-color: rgba(255, 179, 71, .16); }
.section--dark .dia:hover, .section--graphite .dia:hover, .card--dark .dia:hover,
.section--dark .chip:hover, .section--graphite .chip:hover, .card--dark .chip:hover,
.section--dark .size:hover, .section--graphite .size:hover, .card--dark .size:hover {
  background: rgba(242, 106, 27, .16); color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35), 0 0 0 4px rgba(242, 106, 27, .14);
}
/* الجوال الصغير: نفس الحجم الموحّد لكن أصغر قليلًا وفجوات أضيق حتى تصطف 6 دوائر في السطر بلا تزاحم */
@media (max-width: 479px) {
  .dia-row, .size-row, .chips { --chip-gap: 6px; }
  .dia, .chip, .size { --chip-h: 40px; }
  .dia, .chip { font-size: 12.5px; }
  .size { padding-inline: 10px 12px; gap: 8px; font-size: 0.8125rem; }
}

/* ===== 17 عناوين صغيرة موحّدة (labels / kickers) ==================== */
/* نمط واحد لكل «عنوان صغير» فوق مجموعة: خط العناوين، وزن 600، مقاس 12px، بلا تباعد حروف (العربية متصلة).
   اللون حسب الخلفية: رمادي على الفاتح، برتقالي فاتح على الداكن. */
.home-label, .art-panel__label, .totals__eyebrow, .dl__label, .branch-card__kicker, .feature__kicker, .branch-nav__label {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-xs); line-height: 1.5;
  letter-spacing: 0; color: var(--slate); text-wrap: balance;
}
/* عنوان مجموعة الشرائح: شرطة برتقالية قصيرة قبله + هامش سفلي ثابت */
.home-label, .art-panel__label {
  display: flex; align-items: center; gap: 8px; margin-block-end: 10px;
}
.home-label::before, .art-panel__label::before {
  content: ""; flex: none; width: 14px; height: 2px; border-radius: 1px; background: var(--grad-orange);
}
.art-panel__label { color: var(--orange-light); margin-block-end: 0; }
.art-panel__label small { font-size: inherit; font-weight: 400; color: var(--on-dark-muted); }
.feature__kicker { color: var(--orange-light); margin-block-end: 6px; }
.branch-card__kicker, .branch-nav__label { color: var(--orange-deep); }
.totals__eyebrow { color: var(--orange-light); }
.dl__label { margin-block-end: 2px; }
.section--dark .dl__label, .card--dark .dl__label { color: var(--on-dark-dim); }
