/* =========================================================
   Alpha 20 — صفحة "أعمالنا"
   رأس الصفحة ← بطاقات العملاء ← لوح العميل (خدماته تمشي مثل الستوري) ← دعوة للتواصل ← فوتر مختصر
   (الكمبيوتر + الجوال، عربي + إنجليزي)
   ========================================================= */
.wp-page {
  --wp-dark: #0F0F0F;
  --or: #FC723F;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 60% at 85% 0%, rgba(255, 140, 90, .25), rgba(255, 140, 90, 0) 60%),
    linear-gradient(180deg, #C9532C 0%, #BC4823 100%);
  color: #FFFFFF;
  font-family: 'Tajawal', sans-serif;
}
html[lang^="en"] .wp-page { font-family: 'Poppins', 'Tajawal', sans-serif; }
.wp-page *, .wp-page *::before, .wp-page *::after { box-sizing: border-box; }
.wp-page svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wp-page button { font: inherit; color: inherit; }

.wp-main {
  width: min(1240px, 100% - 2 * clamp(18px, 5vw, 64px));
  margin-inline: auto;
  padding: clamp(110px, 12vw, 150px) 0 clamp(40px, 6vw, 70px);
}

/* ---------- رأس الصفحة ---------- */
.wp-hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: clamp(24px, 3.5vw, 36px); }
.wp-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 700; font-size: .95rem; }
.wp-eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
html[lang^="en"] .wp-eyebrow { font-family: 'Poppins', sans-serif; font-size: .8rem; letter-spacing: .25em; }
.wp-title { margin: 0; }
.wp-title__en { display: none; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -0.02em; }
.wp-title__ar { font-family: 'Free Palestine', 'Tajawal', sans-serif; font-weight: normal; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.15; }
html[lang^="en"] .wp-title__en { display: block; }
html[lang^="en"] .wp-title__ar { display: none; }
.wp-lead { margin: 14px 0 0; max-width: 46ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.85; color: rgba(255, 255, 255, .85); }
.wp-hero__tag { flex: none; margin: 56px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .45); font-weight: 700; font-size: .9rem; line-height: 1.8; color: rgba(255, 255, 255, .85); }
html[lang^="en"] .wp-hero__tag { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: .72rem; letter-spacing: .25em; }

/* المربع المؤقت مكان أي صورة ناقصة */
.wp-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: rgba(255, 255, 255, .35); font-size: .8rem; text-align: center;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 12px, transparent 12px 24px), linear-gradient(160deg, #2a1a14, #120a07);
}
.wp-ph svg { width: 30px; height: 30px; stroke-width: 1.5; }

/* =========================================================
   1) بطاقات العملاء: المختار يتمدد ويطلع بألوانه
   ========================================================= */
.wc-clients { display: flex; gap: 12px; height: 150px; margin-bottom: 22px; }
.wc-cl {
  position: relative; flex: 1 1 0; min-width: 0;
  padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: pointer;
  background: #1a0e0a; text-align: start;
  transition: flex-grow .6s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease;
}
.wc-cl img, .wc-cl .wp-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.wc-cl img { filter: grayscale(.65) brightness(.5); transition: filter .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.wc-cl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0) 65%); }
.wc-cl__txt { position: absolute; inset-inline: 16px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.wc-cl__txt b { font-size: 1.15rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-cl__txt small { font-size: .78rem; opacity: 0; max-height: 0; transition: opacity .4s ease; white-space: nowrap; }
.wc-cl.is-on { flex-grow: 2.6; box-shadow: 0 0 0 2px #FFFFFF, 0 18px 40px rgba(0, 0, 0, .35); }
.wc-cl.is-on img { filter: none; }
.wc-cl.is-on .wc-cl__txt b { font-size: 1.6rem; }
.wc-cl.is-on .wc-cl__txt small { opacity: .85; max-height: 2em; }
.wc-cl:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .wc-cl:not(.is-on):hover img { filter: grayscale(.2) brightness(.75); transform: scale(1.05); }
}

/* =========================================================
   2) لوح العميل
   ========================================================= */
.wc-panel { background: var(--wp-dark); border-radius: 26px; padding: clamp(18px, 2.5vw, 28px) clamp(16px, 2.5vw, 30px) clamp(20px, 2.5vw, 30px); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }

/* خطوط التقدم (مثل الستوري): تقدر تضغط عليها بعد */
.wc-bars { display: flex; gap: 6px; margin-bottom: 20px; }
.wc-bar { flex: 1; height: 14px; padding: 5px 0; border: 0; background: none; cursor: pointer; }
.wc-bar i { display: block; position: relative; height: 4px; border-radius: 4px; background: #2b2b2b; overflow: hidden; }
.wc-bar i::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0;
  width: calc(var(--p, 0) * 100%); background: var(--or); border-radius: 4px;
}
.wc-bar.is-done i::after { width: 100%; }
.wc-panel.is-paused .wc-bar i::after { opacity: .7; }

/* اسم العميل + أزرار الخدمات */
.wc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 20px; }
.wc-cat { margin: 0 0 2px; color: var(--or); font-weight: 700; font-size: .9rem; }
.wc-name { margin: 0; font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.05; }
.wc-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: #1a1a1a; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.wc-tabs::-webkit-scrollbar { display: none; }
.wc-tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 0; border-radius: 999px; background: transparent;
  color: rgba(255, 255, 255, .7); font-weight: 700; font-size: .92rem; cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.wc-tab svg { width: 18px; height: 18px; stroke-width: 1.8; }
.wc-tab:hover { color: #FFFFFF; }
.wc-tab.is-on { background: var(--or); color: #000000; }
.wc-tab:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }

/* العارض */
.wc-stage {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center;
  min-height: 420px; padding: clamp(20px, 3vw, 34px);
  border-radius: 20px; background: linear-gradient(160deg, #171717, #0b0b0b);
}
.wc-stage::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  inset-inline-end: 12%; top: -80px; pointer-events: none;
  background: radial-gradient(circle, rgba(252, 114, 63, .22), rgba(252, 114, 63, 0) 65%);
}
.wc-info { position: relative; z-index: 1; }
.wc-info__n { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: .8rem; letter-spacing: .1em; color: var(--or); }
.wc-info__title { margin: 6px 0 10px; font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.wc-info__desc { margin: 0 0 16px; font-size: 1rem; line-height: 1.9; color: rgba(255, 255, 255, .75); }
.wc-info__del { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wc-info__del li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.wc-info__del li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(252, 114, 63, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FC723F' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.wc-media { position: relative; z-index: 1; min-width: 0; }

/* حركة التبديل بين الخدمات */
.wc-stage.is-swap .wc-info > * { animation: wc-up .6s cubic-bezier(.16, 1, .3, 1) both; }
.wc-stage.is-swap .wc-info > *:nth-child(2) { animation-delay: .05s; }
.wc-stage.is-swap .wc-info > *:nth-child(3) { animation-delay: .1s; }
.wc-stage.is-swap .wc-info > *:nth-child(4) { animation-delay: .15s; }
.wc-stage.is-swap .wc-media { animation: wc-in .7s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes wc-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes wc-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* --- الهوية: صورة + ألوان الهوية تطلع دائرة دائرة --- */
.st-id { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 28px); }
.st-id__img { position: relative; flex: 1; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.st-id__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.st-id__sw { display: flex; flex-direction: column; gap: 14px; }
.st-id__sw span { display: flex; align-items: center; gap: 10px; animation: wc-in .6s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(.25s + var(--i) * .12s); }
.st-id__sw i { width: 58px; height: 58px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.st-id__sw em { font-style: normal; font-family: 'Poppins', sans-serif; font-size: .78rem; color: rgba(255, 255, 255, .6); }

/* --- المتجر: لابتوب وجوال، والصفحة تنزل لحالها داخل الشاشة --- */
.st-dev { position: relative; padding-inline-start: 12%; padding-bottom: 4%; }
.st-laptop__screen { position: relative; border: 10px solid #2b2b2b; border-bottom-width: 12px; border-radius: 14px 14px 0 0; aspect-ratio: 16 / 10; overflow: hidden; background: #FFFFFF; }
.st-laptop__base { height: 14px; margin: 0 -6%; border-radius: 0 0 14px 14px; background: linear-gradient(#3a3a3a, #1f1f1f); }
.st-chrome { position: relative; z-index: 2; height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #EEEEEE; direction: ltr; }
.st-chrome i { width: 7px; height: 7px; border-radius: 50%; background: #CCCCCC; }
.st-chrome span { flex: 1; height: 12px; margin-left: 10px; border-radius: 6px; background: #FFFFFF; font-family: 'Poppins', sans-serif; font-size: 8px; color: #888888; display: flex; align-items: center; justify-content: center; }
.st-scroll { position: absolute; inset: 22px 0 0; overflow: hidden; container-type: size; }
.st-phone .st-scroll { inset: 0; }
.st-scroll__img { display: block; width: 100%; height: auto; }
.st-laptop__screen .wp-ph, .st-phone .wp-ph { position: absolute; inset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .st-scroll__img { animation: st-scroll 9s ease-in-out .8s infinite alternate; }
}
/* لو الصورة أقصر من الشاشة ما تتحرك (min) */
@keyframes st-scroll { from { transform: translateY(0); } to { transform: translateY(min(0px, calc(-100% + 100cqh))); } }
.st-phone {
  position: absolute; inset-inline-start: 0; bottom: 0; width: 24%; aspect-ratio: 9 / 19;
  border: 7px solid #2b2b2b; border-radius: 24px; overflow: hidden; background: #FFFFFF;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
}

/* --- السوشال: شبكة مثل حساب إنستقرام --- */
.st-ig { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 520px; margin-inline: auto; }
.st-ig > div { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; animation: wc-in .5s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.15s + var(--i) * .07s); transition: transform .3s ease; }
.st-ig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .st-ig > div:hover { transform: scale(1.05); z-index: 1; } }

/* --- التصوير: معرض تسحبه بالعرض --- */
.st-gal { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.st-gal > div { position: relative; flex: none; width: min(320px, 70%); aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; scroll-snap-align: start; animation: wc-in .5s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.1s + var(--i) * .08s); }
.st-gal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* --- المطبوعات: صور كبيرة وصغيرة متداخلة --- */
.st-print { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; width: 100%; height: clamp(240px, 30vw, 380px); }
.st-print > div { position: relative; border-radius: 14px; overflow: hidden; animation: wc-in .55s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.1s + var(--i) * .08s); }
.st-print > div:first-child { grid-row: 1 / 3; }
.st-print > div:nth-child(4) { display: none; }
.st-print img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* تحت اللوح: العميل التالي + الأسهم */
.wc-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 20px; }
.wc-nextc { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; cursor: pointer; color: rgba(255, 255, 255, .85); }
.wc-nextc span { font-size: .92rem; }
.wc-nextc img, .wc-nextc .wp-ph { position: relative; width: 56px; height: 40px; border-radius: 8px; object-fit: cover; }
.wc-nextc .wp-ph span, .wc-nextc .wp-ph svg { display: none; }
.wc-nextc b { font-weight: 800; color: #FFFFFF; }
.wc-nextc:hover b { color: var(--or); }
.wc-arrows { display: flex; gap: 10px; }
.wc-arrow { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #444444; background: transparent; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.wc-arrow svg { width: 20px; height: 20px; }
.wc-arrow.is-next { background: var(--or); border-color: var(--or); color: #000000; }
.wc-arrow:hover { background: #FFFFFF; border-color: #FFFFFF; color: #000000; }
/* اتجاه الأسهم: بالعربي التالي لليسار، وبالإنجليزي لليمين */
html:not([lang^="en"]) .wc-arrow:not(.is-next) svg { transform: scaleX(-1); }
html[lang^="en"] .wc-arrow.is-next svg { transform: scaleX(-1); }
html:not([lang^="en"]) .wc-arrows { flex-direction: row-reverse; }

/* =========================================================
   دعوة للتواصل + فوتر مختصر
   ========================================================= */
.wp-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(44px, 6vw, 72px); }
.wp-cta__eyebrow { margin: 0 0 10px; font-weight: 700; font-size: .9rem; color: rgba(255, 255, 255, .85); }
html[lang^="en"] .wp-cta__eyebrow { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .72rem; letter-spacing: .25em; }
.wp-cta__title { margin: 0; font-family: 'Free Palestine', 'Tajawal', sans-serif; font-weight: normal; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.15; }
html[lang^="en"] .wp-cta__title { font-family: 'Poppins', sans-serif; font-weight: 800; letter-spacing: -0.02em; }
.wp-cta__sub { margin: 6px 0 0; font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 700; color: rgba(255, 255, 255, .9); }
.wp-cta__btn { flex: none; display: inline-flex; align-items: center; gap: 14px; padding: 16px 34px; border-radius: 999px; border: 1.5px solid #FFFFFF; color: #FFFFFF; font-weight: 800; font-size: 1.05rem; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.wp-cta__btn svg { width: 20px; height: 20px; }
html[lang^="en"] .wp-cta__btn svg { transform: scaleX(-1); }
.wp-cta__btn:hover { background: #FFFFFF; color: #C24D27; }

.wp-footer { background: #0f0f0f; }
.wp-footer__in { width: min(1240px, 100% - 2 * clamp(18px, 5vw, 64px)); margin-inline: auto; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.wp-footer__logo img { height: 34px; width: auto; display: block; }
.wp-footer__tag { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .75); }
.wp-footer__social { display: flex; gap: 14px; }
.wp-footer__social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #FFFFFF; transition: background-color .2s ease; }
.wp-footer__social a:hover { background: rgba(255, 255, 255, .12); }
.wp-footer__social svg { width: 18px; height: 18px; stroke-width: 1.7; }
.wp-footer__social .wp-fill { fill: currentColor; stroke: none; }
.wp-footer__mail { color: rgba(255, 255, 255, .8); font-family: 'Poppins', sans-serif; font-size: .9rem; text-decoration: none; }
.wp-footer__mail:hover { color: var(--or); }

@media (prefers-reduced-motion: reduce) {
  .wc-stage.is-swap *, .st-id__sw span, .st-ig > div, .st-gal > div, .st-print > div { animation: none !important; }
}

/* =========================================================
   التابلت
   ========================================================= */
@media (max-width: 1024px) {
  .wc-head { flex-direction: column; align-items: flex-start; }
  .wc-stage { grid-template-columns: 1fr; }
  .wc-info { order: 2; }
}

/* =========================================================
   الجوال
   ========================================================= */
@media (max-width: 768px) {
  .wp-hero__tag { display: none; }
  /* بطاقات العملاء تنسحب بالعرض */
  .wc-clients {
    height: 120px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * clamp(18px, 5vw, 64px)); padding-inline: clamp(18px, 5vw, 64px);
  }
  .wc-clients::-webkit-scrollbar { display: none; }
  .wc-cl { flex: 0 0 120px; scroll-snap-align: start; }
  .wc-cl.is-on { flex: 0 0 210px; }
  .wc-cl.is-on .wc-cl__txt b { font-size: 1.3rem; }
  .wc-panel { border-radius: 20px; }
  .wc-stage { min-height: 0; padding: 18px; gap: 18px; }
  .wc-stage::before { width: 300px; height: 300px; }
  .st-id { flex-direction: column; align-items: stretch; }
  .st-id__sw { flex-direction: row; justify-content: center; }
  .st-id__sw span { flex-direction: column; gap: 6px; }
  .st-id__sw i { width: 46px; height: 46px; }
  .st-gal > div { width: 72%; }
  .st-print { height: 300px; }
  .wc-nextc span { display: none; }
  .wp-cta { flex-direction: column; align-items: flex-start; }
  .wp-cta__btn { width: 100%; justify-content: center; }
  .wp-footer__in { flex-direction: column; text-align: center; }
}

/* --- الملف التعريفي: صفحتين مفتوحة مثل الكتاب + صفحات صغيرة تحتها --- */
.st-book { display: flex; flex-direction: column; gap: 12px; }
.st-book__spread {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  aspect-ratio: 2 / 1.35; border-radius: 10px; overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
  animation: wc-in .6s cubic-bezier(.16, 1, .3, 1) both;
}
.st-book__page { position: relative; overflow: hidden; }
.st-book__page img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* خط منتصف الكتاب (ظل خفيف) */
.st-book__spread { position: relative; }
.st-book__spread::after { content: ""; position: absolute; inset-block: 0; left: 50%; width: 40px; translate: -50% 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .35), rgba(0, 0, 0, 0)); pointer-events: none; }
.st-book__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.st-book__thumbs > div { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; animation: wc-in .5s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.2s + var(--i) * .08s); }
.st-book__thumbs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-id__sw[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .st-book__spread, .st-book__thumbs > div { animation: none !important; } }

/* --- الهوية بـ 3 صور: صورة كبيرة + صورتين جنبها، والألوان تحتها --- */
.st-idg { display: flex; flex-direction: column; gap: 14px; }
.st-idg__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px;
  width: 100%; height: clamp(240px, 30vw, 380px);
}
.st-idg__grid > div { position: relative; border-radius: 14px; overflow: hidden; animation: wc-in .55s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.1s + var(--i) * .08s); }
.st-idg__grid > div:first-child { grid-row: 1 / 3; }
.st-idg__grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-id__sw--row { flex-direction: row; justify-content: center; gap: 22px; }
.st-id__sw--row i { width: 42px; height: 42px; }
@media (max-width: 768px) { .st-idg__grid { height: 300px; } }
@media (prefers-reduced-motion: reduce) { .st-idg__grid > div { animation: none !important; } }

/* --- السوشال: لقطة الحساب داخل جوال بالنص --- */
.st-feed { display: flex; justify-content: center; padding-block: 6px; }
.st-phone--feed {
  position: relative; inset: auto; width: min(230px, 62%);
  border-width: 8px; border-radius: 30px; background: #000000;
  animation: wc-in .6s cubic-bezier(.16, 1, .3, 1) both;
}
.st-phone--feed .st-scroll__img { animation-duration: 12s; }
@media (max-width: 768px) { .st-phone--feed { width: min(210px, 70%); } }
@media (prefers-reduced-motion: reduce) { .st-phone--feed { animation: none !important; } }

/* --- معرض الصور بقياسها الأصلي (الهوية + المطبوعات): بدون قص --- */
.st-jg { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.st-jg__row { display: flex; justify-content: center; gap: 10px; max-width: 100%; }
.st-jg__it {
  position: relative; flex: none; border-radius: 12px; overflow: hidden; background: #1c1c1c;
  animation: wc-in .55s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.1s + var(--i) * .08s);
}
.st-jg__it .wp-ph { position: absolute; inset: 0; }
.st-jg__img { display: block; width: 100%; height: 100%; object-fit: contain;  }
.st-idg .st-jg + .st-id__sw--row { margin-top: 4px; }

@media (prefers-reduced-motion: reduce) { .st-jg__it { animation: none !important; } }

/* شريط الستوري فوق انشال — التنقل بالأسهم فقط */
.wc-bars { display: none; }

/* =========================================================
   التحميل بدون تنطيط وبدون رمش (الكمبيوتر + الجوال):
   مكان كل صورة محجوز بمقاسها من أول لحظة.
   الصورة اللي لسه تتحمّل بس (is-pending) تنخفي ويطلع مكانها لمعة خفيفة،
   والصورة المحمّلة من قبل تطلع على طول بدون أي حركة
   ========================================================= */
.st-jg__it::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, #1b1b1b 30%, #262626 50%, #1b1b1b 70%) 0 0 / 300% 100%;
  opacity: 0; transition: opacity .3s ease;
}
.st-jg__it.is-pending::before { opacity: 1; animation: st-shimmer 1.4s linear infinite; }
.st-jg__img { position: relative; z-index: 1; transition: opacity .4s ease; }
.st-jg__it.is-pending .st-jg__img { opacity: 0; }
@keyframes st-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* سفاري الآيفون: نثبّت الصور في طبقتها عشان ما ترمش وقت الحركة */
.wc-cl img, .wc-nextc img, .st-jg__img, .st-scroll__img {
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}

/* لوح العميل: لما ننزل له، يوقف تحت القائمة العلوية مو تحتها */
.wc-panel { scroll-margin-top: 90px; }
/* شريط العملاء والخدمات بالجوال: التحريك بالعرض ما يحرّك الصفحة */
.wc-clients, .wc-tabs { overscroll-behavior-x: contain; }

@media (prefers-reduced-motion: reduce) {
  .st-jg__it, .st-jg__it::before { animation: none !important; }
  .st-jg__img { transition: none; }
}

/* =========================================================
   تبديل العميل/الخدمة بدون رمش (الكمبيوتر + الجوال):
   بدل ما يختفي العارض كامل ويرجع يكبر، يتبدل بهدوء خفيف،
   والصور ما عاد تختفي وتطلع وحدة وحدة
   ========================================================= */
.wc-stage.is-swap .wc-media { animation: wc-fade .3s ease both; }
@keyframes wc-fade { from { opacity: .4; } to { opacity: 1; } }
.st-jg__it,
.st-print > div,
.st-idg__grid > div,
.st-gal > div,
.st-ig > div,
.st-book__thumbs > div,
.st-book__spread,
.st-phone--feed { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .wc-stage.is-swap .wc-media { animation: none; } }
