/* ==========================================================================
   أم سارة — التصميم الهادئ
   المبدأ: واضح وموزون. خلفية عاجية، حبر داكن، لون واحد (برقوقي) ولمسة رملية.
   العناوين بخط «عام الإبل» وكلمة واحدة ممدودة فقط في كل عنوان (.swash)،
   والنصوص بـ IBM Plex Sans Arabic. الحركة: ظهور لطيف عند التمرير فقط.
   ========================================================================== */

@font-face { font-family: "TheYearofTheCamel"; src: url("../../../fonts/us/TheYearofTheCamel-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "TheYearofTheCamel"; src: url("../../../fonts/us/TheYearofTheCamel-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TheYearofTheCamel"; src: url("../../../fonts/us/TheYearofTheCamel-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --sand: #f3efe7;
  --ink: #1c1b22;
  --ink-2: #4a4752;
  --mute: #6f6c77;
  --line: #e7e2d9;
  --primary: #6b2d5c;
  --primary-ink: #ffffff;
  --primary-soft: #f4ecf1;
  --gold: #b8925a;

  --container: 1200px;
  --pad: clamp(18px, 4vw, 40px);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(28, 27, 34, 0.04), 0 8px 24px -12px rgba(28, 27, 34, 0.12);

  --f-display: "TheYearofTheCamel", "IBM Plex Sans Arabic", serif;
  --f-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; right: 10px; z-index: 300; padding: 0.5em 1em; border-radius: 8px; background: var(--ink); color: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--sand { background: var(--sand); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

/* ---------- الطباعة ---------- */

.display {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  line-height: 1.45;
  text-wrap: balance;
}
.display--xl { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.8rem); line-height: 1.35; }
.display .light { font-weight: 300; }
/* الكلمة الممدودة: ميزة swsh في «عام الإبل» — كلمة واحدة لكل عنوان كي يبقى موزوناً */
.swash { font-feature-settings: "swsh" 1; color: var(--primary); }
.kicker { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--gold); }
.lead { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.15rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--mute); }

.head { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head--center { align-items: center; text-align: center; }
.head--center .lead { margin-inline: auto; }
.head--row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; }
.head--row > div { display: flex; flex-direction: column; gap: 0.9rem; }

/* ---------- الأزرار ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding-inline: 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.btn:active { transform: translateY(1px); }
.btn svg, .btn i { width: 1.1em; height: 1.1em; font-size: 1.15rem; }
.btn--primary { background: var(--primary); color: var(--primary-ink); }
.btn--primary:hover { background: #57234b; }
.btn--ghost { border-color: var(--line); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--wa { background: #1f9d55; color: #fff; }
.btn--wa:hover { background: #198347; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--primary); }
.link:hover { text-decoration: underline; text-underline-offset: 5px; }

/* أيقونة السهم (للأمام = يسار) */
.ic { width: 1.1em; height: 1.1em; }

/* ---------- الترويسة ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.top.is-raised { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(28, 27, 34, 0.25); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--primary); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; line-height: 1; }
.brand__name { display: flex; flex-direction: column; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.brand__name small { font-family: var(--f-body); font-weight: 400; font-size: 0.72rem; color: var(--mute); }
.nav { display: flex; gap: 0.3rem; }
.nav a { padding: 0.45rem 0.8rem; border-radius: 10px; font-weight: 500; font-size: 0.95rem; color: var(--ink-2); transition: background-color 0.2s, color 0.2s; }
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); }
.top__end { display: flex; align-items: center; gap: 0.5rem; }
.cart-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color 0.2s; }
.cart-btn:hover { border-color: var(--ink); }
.cart-btn i { font-size: 1.25rem; }
.cart-btn__count { position: absolute; top: -6px; left: -6px; display: grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 700; }
.cart-btn__count[hidden] { display: none; }
.cart-btn__count.is-bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.menu-btn i { font-size: 1.3rem; }

.drawer { position: fixed; inset: 72px 0 0; z-index: 55; padding: 1rem var(--pad) 2rem; background: var(--bg); border-top: 1px solid var(--line); overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer a { display: flex; justify-content: space-between; padding: 1rem 0.2rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; font-weight: 500; }

/* ---------- الواجهة ---------- */

.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 0.85rem; font-weight: 600; }
.hero__note { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--mute); }
.hero__note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.15); }
.hero__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.hero__media figure { overflow: hidden; border-radius: var(--radius); background: var(--sand); box-shadow: var(--shadow); }
.hero__media figure:first-child { grid-row: span 2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.hero__media figure:not(:first-child) img { aspect-ratio: 4 / 3.2; }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.trust b { display: block; font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.2; color: var(--primary); }
.trust span { font-size: 0.88rem; color: var(--mute); }

/* ---------- البطاقات ---------- */

.grid { display: grid; gap: clamp(1rem, 2vw, 1.4rem); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: clamp(1.3rem, 2.4vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
a.card:hover, .card--hover:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 1.5rem; }
.card__title { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; line-height: 1.45; }
.card__tag { font-size: 0.82rem; font-weight: 600; color: var(--gold); }
.card__text { color: var(--ink-2); font-size: 0.95rem; }
.card__foot { margin-top: auto; padding-top: 0.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { padding: 0.15rem 0.7rem; border-radius: 999px; background: var(--sand); font-size: 0.82rem; color: var(--ink-2); }

/* الجامعات: بطاقات اسمية بسيطة — بلا شعارات رسمية */
.uni { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.2rem; }
.uni__mark { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 1.4rem; }
.uni b { display: block; font-weight: 600; line-height: 1.4; }
.uni span { font-size: 0.82rem; color: var(--mute); }

/* المنتجان */
.product { flex-direction: row; gap: 1.3rem; align-items: flex-start; }
.product ul { display: grid; gap: 0.35rem; margin-top: 0.4rem; }
.product li { display: flex; gap: 0.5rem; font-size: 0.93rem; color: var(--ink-2); }
.product li::before { content: "✓"; color: var(--primary); font-weight: 700; }

/* الخطوات */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 2.2rem; }
.step__n { position: absolute; top: 1.3rem; left: 1.4rem; font-family: var(--f-display); font-weight: 300; font-size: 2.4rem; line-height: 1; color: color-mix(in srgb, var(--primary) 25%, transparent); }

/* التعهد */
.pledge { border-inline-start: 3px solid var(--gold); }
.pledge__role { font-size: 0.82rem; color: var(--mute); }

/* ---------- الأعمال ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filters button { padding: 0.45rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 0.9rem; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.filters sup { margin-inline-start: 0.25rem; font-size: 0.7em; opacity: 0.75; }
.works { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.4rem); margin-top: 1.6rem; }
.work { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: box-shadow 0.25s, transform 0.25s; }
.work[hidden] { display: none; }
.work:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.work__media { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--sand); }
.work__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s var(--ease); }
.work:hover .work__media img { transform: scale(1.04); }
.work__body { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1rem 1.05rem; }
.work__title { font-weight: 600; line-height: 1.5; }
.work__cat { font-size: 0.82rem; color: var(--mute); }

/* ---------- لماذا نحن (قائمة مرتبة) ---------- */

.why { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.why li { padding: 1.3rem 1.1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.why b { display: block; margin-bottom: 0.4rem; font-family: var(--f-display); font-size: 1.15rem; }
.why p { font-size: 0.9rem; color: var(--ink-2); }

/* ---------- الدعوة ---------- */

.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 3rem; padding: clamp(1.8rem, 4vw, 3rem); border-radius: 24px; background: var(--primary); color: #fff; }
.cta .display { color: #fff; }
.cta .swash { color: #f3d9a8; }
.cta p { color: rgba(255, 255, 255, 0.82); margin-top: 0.6rem; }
.cta .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.cta .btn--ghost:hover { border-color: #fff; }

/* ---------- التذييل ---------- */

.foot { margin-top: clamp(3rem, 6vw, 4.5rem); padding-block: 3rem 1.5rem; border-top: 1px solid var(--line); background: var(--surface); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot h3 { margin-bottom: 0.8rem; font-size: 0.9rem; font-weight: 700; }
.foot li { padding-block: 0.25rem; font-size: 0.93rem; color: var(--ink-2); }
.foot li a:hover { color: var(--primary); }
.foot__about { color: var(--mute); font-size: 0.93rem; max-width: 36ch; margin-top: 0.8rem; }
.foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--mute); }
.copy-btn { display: inline-flex; gap: 0.5rem; align-items: baseline; }
.copy-btn small { color: var(--primary); }

/* ---------- ورقة العمل (نافذة) ---------- */

.case { position: fixed; inset: 0; z-index: 90; }
.case[hidden] { display: none; }
.case__bg { position: absolute; inset: 0; background: rgba(28, 27, 34, 0.45); opacity: 0; transition: opacity 0.3s; }
.case__panel { position: absolute; inset: 0 0 0 auto; width: min(100%, 980px); background: var(--bg); box-shadow: -20px 0 50px -30px rgba(0, 0, 0, 0.4); transform: translateX(100%); transition: transform 0.45s var(--ease); }
.case.is-open .case__bg { opacity: 1; }
.case.is-open .case__panel { transform: none; }
.case__scroll { position: absolute; inset: 0; overflow-y: auto; }
.case__close { position: absolute; top: 1rem; left: 1rem; z-index: 3; display: inline-flex; align-items: center; gap: 0.4rem; height: 2.5rem; padding-inline: 0.9rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 0.9rem; }
.case-loading { position: fixed; top: 0; inset-inline: 0; z-index: 120; height: 3px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.case-loading i { display: block; width: 30%; height: 100%; background: var(--primary); animation: loading 1s ease-in-out infinite; }
.is-case-loading .case-loading { opacity: 1; }
@keyframes loading { from { transform: translateX(100%); } to { transform: translateX(-340%); } }

.doc { padding: clamp(3.5rem, 6vw, 4.5rem) clamp(1.2rem, 4vw, 2.6rem) 3rem; }
.doc__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 1.5rem 2.5rem; align-items: start; }
.doc__back { display: inline-flex; gap: 0.4rem; margin-bottom: 0.8rem; color: var(--mute); font-size: 0.92rem; }
.case .doc__back { display: none; }
.doc .eyebrow { display: block; margin-bottom: 0.6rem; font-size: 0.85rem; color: var(--primary); font-weight: 600; }
.doc__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); line-height: 1.4; }
.doc__summary { margin-top: 0.8rem; color: var(--ink-2); }
.doc__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.catalog { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 0.9rem; }
.catalog__title { display: none; }
.catalog dl div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.45rem; border-bottom: 1px solid var(--line); }
.catalog dl div:last-child { border-bottom: 0; }
.catalog dt { color: var(--mute); }
.catalog dd { font-weight: 600; }
.doc__figures { display: grid; gap: 1rem; margin-top: 2rem; }
.doc__figure img { width: 100%; height: auto; border-radius: var(--radius); background: var(--sand); }
.doc__figure figcaption { margin-top: 0.4rem; font-size: 0.8rem; color: var(--mute); }
.doc__block { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.doc__block h2 { font-size: 1rem; color: var(--primary); }
.doc__next { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.doc__next small { display: block; color: var(--mute); }
.doc__next b { font-weight: 600; }
.doc__next .media { width: 72px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.media { position: relative; display: block; overflow: hidden; background: var(--sand); }
.media__inner { position: absolute; inset: 0; display: block; }
.media__inner > img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- الظهور اللطيف (الحركة الوحيدة) ---------- */

.reveal-on [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- الاستجابة ---------- */

@media (max-width: 1080px) {
  .nav a { padding-inline: 0.55rem; }
  .why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .works { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav, .top__cta { display: none; }
  .menu-btn { display: grid; }
  .hero__grid, .cta, .doc__head { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--2 { grid-template-columns: 1fr; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .doc__block { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid--3, .grid--4, .why, .foot__grid { grid-template-columns: 1fr; }
  .product { flex-direction: column; }
  .brand__name small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

/* ==========================================================================
   حزام الجامعات (مأخوذ من أم رهام ومطوَّر): يدور ببطء، يتوقف عند الوقوف عليه،
   والبطاقة تمتلئ بالبرقوقي من الأسفل مع بقعة ضوء تتبع المؤشر.
   ========================================================================== */

.unis { overflow: hidden; }
/* الحاوية LTR: المسار أعرض من الشاشة، ولو ورث RTL لالتصق بالحافة اليمنى وفاض
   يساراً، فيُفرغ translateX السالب جهة اليمين. اتجاه نص البطاقة يعود RTL أدناه. */
.belt {
  direction: ltr;
  padding-block: 0.6rem 1.6rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* مجموعتان متطابقتان والحركة 0 → -50%: نهاية الدورة تطابق بدايتها بالبكسل فلا
   يُرى أي قطع. المدة من عرض المجموعة (us-home.js) لتبقى السرعة ثابتة px/s. */
.belt__track {
  display: flex;
  width: max-content;
  animation: belt var(--belt-duration, 60s) linear infinite;
  will-change: transform;
}
.belt:hover .belt__track, .belt:focus-within .belt__track { animation-play-state: paused; }
@keyframes belt { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.belt__group { display: flex; gap: 1rem; padding-inline-end: 1rem; }

.belt__card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 21rem;
  padding: 0.9rem 1.1rem 0.9rem 0.9rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  direction: rtl;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.belt__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, #4d1f42, var(--primary));
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.belt__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(150px circle at var(--mx, 50%) var(--my, 50%), rgba(243, 217, 168, 0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.belt__logo { display: grid; place-items: center; width: 58px; height: 58px; flex-shrink: 0; padding: 6px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.6s var(--ease); }
.belt__logo img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.4s, opacity 0.4s; }
.belt__mono { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; color: var(--primary); }
.belt__text { display: flex; flex-direction: column; min-width: 0; }
.belt__text b { font-weight: 600; font-size: 0.95rem; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s; }
.belt__text span { font-size: 0.8rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s; }
.belt__tag { position: absolute; bottom: 0.45rem; left: 0.9rem; font-size: 0.72rem; font-weight: 600; color: #f3d9a8; opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.4s var(--ease); }

.belt__card:hover, .belt__card:focus-visible { transform: translateY(-6px); border-color: transparent; box-shadow: 0 22px 36px -22px rgba(77, 31, 66, 0.7); }
.belt__card:hover::before, .belt__card:focus-visible::before { transform: none; }
.belt__card:hover::after { opacity: 1; }
.belt__card:hover .belt__logo { transform: rotate(-6deg) scale(1.06); }
.belt__card:hover .belt__logo img, .belt__card:focus-visible .belt__logo img { filter: none; opacity: 1; }
.belt__card:hover .belt__text b, .belt__card:focus-visible .belt__text b { color: #fff; }
.belt__card:hover .belt__text span, .belt__card:focus-visible .belt__text span { color: rgba(255, 255, 255, 0.75); }
.belt__card:hover .belt__tag, .belt__card:focus-visible .belt__tag { opacity: 1; transform: none; }

@media (max-width: 560px) { .belt__card { width: 17rem; } }
/* تقليل الحركة: الحزام يقف ويصير قابلاً للتمرير الأفقي باليد */
@media (prefers-reduced-motion: reduce) {
  .belt { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .belt__track { animation: none; }
  .belt__group[aria-hidden] { display: none; }
}

/* ---------- لمسات من أم رهام (ثابتة، بلا حركة) ---------- */
.hero__chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.9rem 0.6rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line); box-shadow: 0 10px 30px -12px rgba(28, 27, 34, 0.25); font-size: 0.78rem; color: var(--mute); line-height: 1.35; }
.hero__chip b { display: block; color: var(--ink); font-size: 0.86rem; }
.hero__chip i { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-size: 1.05rem; }
.hero__chip--a { top: 1.2rem; inset-inline-start: -1.4rem; }
.hero__chip--b { bottom: 1.4rem; inset-inline-end: -1.2rem; }
@media (max-width: 960px) { .hero__chip--a { inset-inline-start: 0.6rem; } .hero__chip--b { inset-inline-end: 0.6rem; } }

.statement { border-block: 1px solid var(--line); }
.statement .container { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.statement__text { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.45; max-width: 26ch; }
.statement__text span { display: inline; }
.statement__text span:nth-child(1) { color: var(--ink); }
.statement__text span:nth-child(2) { color: #4a4652; }
.statement__text span:nth-child(3) { color: #8a8590; }
.statement__text span:nth-child(4) { color: #bdb8bf; }
.statement__text .swash { color: var(--primary); font-family: var(--f-body); }
