/* ==========================================================================
   ديزاين سيستم تيربو — طبقة مينيمال فوق style.css
   أبيض واسع، حبر أسود، رماديات محايدة، الأحمر لمسة تفاعل فقط.
   عناوين ضخمة مشدودة، ألواح رمادية بزوايا واسعة، فواصل شعرية، أزرار حبّة.
   ========================================================================== */
:root {
  --ink: #0a0a0b;
  --ink-2: #34343a;
  --ink-3: #6b6b74;
  --ink-4: #9b9ba4;
  --bg: #ffffff;
  --bg-2: #f4f4f5;
  --panel: #f2f2f3;
  --line: #ececef;
  --line-2: #dcdce1;
  --red-wash: #f6f6f7;
  --red-line: #dcdce1;
  --f-display: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --wrap: 1240px;
  --sh-1: none;
  --sh-2: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.05);
  --sh-3: 0 2px 6px rgba(0, 0, 0, 0.04), 0 24px 60px rgba(0, 0, 0, 0.08);
  --sh-red: none;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
html[lang="en"] {
  --f-display: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif;
}
html,
body {
  overflow-x: clip;
}
body {
  background: #fff;
}

/* ---------- الخط ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 700;
}
.h-display {
  font-size: clamp(2.5rem, 7vw, 5.6rem);
  line-height: 1.16;
}
.h-1 {
  font-size: clamp(1.95rem, 4.6vw, 3.6rem);
  line-height: 1.22;
}
.h-2 {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  line-height: 1.3;
}
html[lang="en"] :is(h1, h2, .h-display, .h-1, .h-2) {
  letter-spacing: -0.035em;
}
html[lang="en"] .h-display {
  font-size: clamp(2.4rem, 6.4vw, 5.2rem);
  line-height: 1.02;
}
html[lang="en"] .h-1 {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.06;
}
.lead {
  color: var(--ink-3);
}
.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.sect {
  padding-block: clamp(72px, 10vw, 140px);
}
.sect-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.sect-head .lead {
  max-width: 56ch;
}
.sect-head.center .lead {
  margin-inline: auto;
}
.grain::after {
  display: none;
}
/* الأقسام "الداكنة" صارت لوحاً رمادياً فاتحاً: الأسود للكارت والفوتر فقط */
.dark {
  background: var(--bg-2);
  color: var(--ink);
}
.dark :is(h1, h2, h3, h4) {
  color: var(--ink);
}
.dark :is(.lead, .muted) {
  color: var(--ink-3);
}
.dark :is(.en, .ar),
.dark .eyebrow {
  color: var(--ink-4);
}
.dark .sect-more a {
  color: var(--ink);
  border-color: var(--line-2);
}
.dark .sect-more a:hover {
  border-color: var(--ink);
}
.dark .btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.dark .btn-ghost:hover {
  background: #fff;
  border-color: var(--line-2);
}
.film-tab {
  border-color: var(--line-2);
  background: #fff;
  color: var(--ink-2);
}
.film-tab:hover {
  color: var(--ink);
  border-color: var(--ink-4);
}

/* ---------- الأزرار: حبّة سوداء مسطّحة، والأحمر عند التفاعل ---------- */
.btn {
  padding: 15px 28px;
  font-weight: 600;
  box-shadow: none;
}
.btn-red,
.btn-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: none;
}
.btn-red:hover,
.btn-ink:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: none;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--bg-2);
  border-color: var(--line-2);
  color: var(--ink);
}
:is(.foot, .aside-card) .btn-red {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
:is(.foot, .aside-card) .btn-red:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
/* الزر الأساسي في الواجهة: حبّة متدرّجة مثل telda */
.btn-grad,
.hx .btn-red {
  background: linear-gradient(100deg, var(--red), #ff6a2b);
  border-color: transparent;
  color: #fff;
}
.btn-grad:hover,
.hx .btn-red:hover {
  background: linear-gradient(100deg, #d90002, #ff5a1f);
  border-color: transparent;
  box-shadow: 0 12px 30px -10px rgba(244, 0, 2, 0.55);
}

/* ---------- الهيدر: شريط عائم أبيض بزوايا حبّة ---------- */
.nav,
.nav.stuck {
  top: 12px;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.nav-in {
  position: relative;
  isolation: isolate;
  height: 66px;
  padding-inline: 20px 10px;
}
/* الضبابية على طبقة منفصلة حتى لا تحبس قائمة الموبايل الثابتة داخل الشريط */
.nav-in::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: none;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.stuck .nav-in::before {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.brand img {
  height: 30px;
}
/* الشريط نظيف: اللوجو فقط، والاسم القانوني موجود في "من نحن" والفوتر */
.nav .brand-legal,
.nav .brand-tag {
  display: none;
}
.links {
  gap: 2px;
}
.links a {
  padding: 9px 15px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity 0.2s, background 0.2s;
}
.links a:hover,
.links a.here {
  opacity: 1;
}
html[lang="en"] .links a {
  font-size: 0.9rem;
}
.links a:hover,
.links a.here {
  color: var(--ink);
  background: var(--bg-2);
}
.links a.here::after {
  display: none;
}
.nav .btn {
  padding: 12px 20px;
}
.lang {
  color: var(--ink-2);
}

/* ---------- الواجهة (مثل telda): رمادي فاتح ينزل للأبيض، عنوان أسود في المنتصف،
   وكارت أسود مجسّم يعتدل وينقلب مع التمرير ويميل مع الماوس ---------- */
.hx {
  position: relative;
  background: linear-gradient(180deg, #d6d6da 0%, #e9e9ec 42%, #f7f7f8 78%, #fff 100%);
  color: var(--ink);
  text-align: center;
}
.hx-pin {
  padding-top: clamp(116px, 13vw, 150px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.hx-copy {
  position: relative;
  z-index: 2;
}
.hx-kick {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  margin-bottom: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  color: var(--ink-2);
}
.hx-kick i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.hx-h {
  color: var(--ink);
  font-family: var(--f-display);
  font-size: clamp(2.3rem, 5.8vw, 5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-inline: auto;
}
.hx-h span {
  background: linear-gradient(100deg, var(--red), #ff6a2b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[lang="en"] .hx-h {
  font-size: clamp(2.3rem, 5.8vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.hx-sub {
  max-width: 52ch;
  margin: 20px auto 0;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.8;
  color: var(--ink-3);
}
.hx-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

/* المشهد: الكارت بوجهين وسُمك حقيقي (طبقات الحافة يضيفها motion.js) */
.hx-scene {
  position: relative;
  width: min(540px, 84vw);
  margin: clamp(44px, 6vw, 72px) auto 0;
  perspective: 1500px;
}
.tc {
  position: relative;
  aspect-ratio: 1.586;
  transform-style: preserve-3d;
  transform: translate3d(0, var(--dy, 0px), 0)
    rotateX(calc((1 - var(--a, 0)) * 30deg - var(--my, 0) * 9deg))
    rotateY(calc(var(--f, 0) * 180deg + var(--mx, 0) * 13deg))
    rotateZ(calc((1 - var(--a, 0)) * -8deg))
    scale(calc(0.94 + var(--a, 0) * 0.14));
  will-change: transform;
}
.tc-face,
.tc-edge {
  position: absolute;
  inset: 0;
  border-radius: 24px;
}
.tc-face {
  margin: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(3.4px);
}
.tc-edge {
  background: linear-gradient(90deg, #2c2c31, #111113);
}
.tc-front {
  background: radial-gradient(120% 140% at 85% 0%, #2a2a2f 0%, #121214 45%, #050506 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
/* لمعة تتحرك مع الماوس */
.tc-front::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(40% 50% at calc(50% + var(--mx, 0) * 30%) calc(40% + var(--my, 0) * 30%), rgba(255, 255, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.tc-logo {
  position: absolute;
  inset-inline-start: 7%;
  top: 10%;
  width: 26%;
  height: auto;
}
.tc-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--red);
  stroke-width: 7;
  stroke-linecap: round;
  opacity: 0.95;
}
.tc-nfc {
  position: absolute;
  inset-inline-end: 7%;
  top: 11%;
  width: 7%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 1.8;
  stroke-linecap: round;
}
.tc-meta {
  position: absolute;
  inset-inline-start: 7%;
  bottom: 11%;
  font-family: var(--f-num, "Inter", sans-serif);
  font-size: clamp(0.56rem, 1.3vw, 0.74rem);
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.62);
  direction: ltr;
}
.tc-dots {
  position: absolute;
  inset-inline-end: 7%;
  bottom: 9%;
  display: flex;
  direction: ltr;
}
.tc-dots i {
  width: clamp(26px, 5vw, 40px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
}
.tc-dots i + i {
  margin-left: -32%;
  background: #ff8a3d;
  mix-blend-mode: screen;
}
.tc-back {
  transform: rotateY(180deg) translateZ(3.4px);
  background: #111;
}
.tc-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tc-back figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 7%;
  color: #fff;
  text-align: start;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}
.tc-back figcaption b {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 600;
}
.tc-back figcaption span {
  font-family: var(--f-num, "Inter", sans-serif);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: #d4d4d8;
  direction: ltr;
}
.tc-shadow {
  position: absolute;
  inset-inline: 12%;
  bottom: -14%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.28), transparent);
  filter: blur(6px);
  transform: translateY(var(--dy, 0px)) scaleX(calc(0.8 + var(--a, 0) * 0.25));
  pointer-events: none;
}
/* مع الحركة: الواجهة أطول والمشهد مثبّت، التمرير يقود الكارت والنص يصعد ويخفت */
@media (min-height: 560px) {
  html.mo-live .hx.hx-live {
    height: 210vh;
  }
  html.mo-live .hx-live .hx-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    padding-bottom: 0;
  }
  html.mo-live .hx-live .hx-copy {
    transform: translate3d(0, calc(var(--a, 0) * -16vh), 0);
    opacity: calc(1 - var(--a, 0) * 1.5);
  }
}
html.mo-live .hx-live .tc {
  animation: tcFloat 6s ease-in-out infinite;
}
@keyframes tcFloat {
  50% { translate: 0 -10px; }
}

/* ---------- الواجهة بالفيديو: مقطع من أعمال تيربو بملء الشاشة، ومع التمرير
   يصغر ويميل للخلف كأنه شاشة مجسّمة فوق خلفية فاتحة (--p من motion.js) ---------- */
.hx-vid {
  background: #f4f4f5;
  color: #fff;
}
.hx-vid .hx-pin {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-bottom: clamp(72px, 9vw, 110px);
  perspective: 1400px;
}
.hx-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0b0b0c url("/assets/films/hero/turbo-reel-poster.jpg") center / cover;
  transform-origin: 50% 40%;
  transform: translate3d(0, calc(var(--p, 0) * 3vh), 0)
    rotateX(calc(var(--p, 0) * 18deg))
    scale(calc(1 - var(--p, 0) * 0.2));
  border-radius: calc(var(--p, 0) * 40px);
  box-shadow: 0 calc(var(--p, 0) * 60px) calc(var(--p, 0) * 120px) -40px rgba(0, 0, 0, 0.55);
}
.hx-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hx-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 38%, rgba(0, 0, 0, 0.42) 70%, rgba(0, 0, 0, 0.78) 100%),
    radial-gradient(70% 55% at 50% 50%, rgba(0, 0, 0, 0.35), transparent 75%);
}
.hx-vid .hx-copy {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hx-vid .hx-kick {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
@media (max-width: 420px) {
  .hx-vid .hx-kick {
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.72rem;
    white-space: nowrap;
  }
}
.hx-vid .hx-h {
  color: #fff;
}
.hx-vid .hx-h span {
  background: linear-gradient(100deg, #ff3b2f, #ff8a3d);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}
.hx-vid .hx-sub {
  color: rgba(255, 255, 255, 0.86);
}
.hx-vid .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-shadow: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hx-vid .btn-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.hx-vbtn {
  position: absolute;
  z-index: 3;
  inset-inline-end: clamp(16px, 3vw, 36px);
  bottom: clamp(16px, 3vw, 32px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  cursor: pointer;
  opacity: calc(1 - var(--p, 0) * 2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}
.hx-vbtn:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: scale(1.06);
}
.hx-vbtn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.hx-vbtn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hx-vbtn .i-play {
  fill: currentColor;
  stroke-width: 1.5;
}
.hx-vbtn .i-play,
.hx-vbtn[aria-pressed="true"] .i-pause {
  display: none;
}
.hx-vbtn[aria-pressed="true"] .i-play {
  display: block;
}
@media (min-height: 560px) {
  html.mo-live .hx-vid.hx-live {
    height: 165vh;
  }
  html.mo-live .hx-vid.hx-live .hx-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
  }
  html.mo-live .hx-vid.hx-live .hx-copy {
    transform: translate3d(0, calc(var(--p, 0) * -14vh), 0) scale(calc(1 - var(--p, 0) * 0.08));
    opacity: calc(1 - var(--p, 0) * 1.8);
  }
}
.hx-stats {
  padding-block: clamp(46px, 6vw, 80px) 0;
}
.hx-stats-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.hx-stats-in div {
  padding: clamp(22px, 3vw, 34px) 12px;
  text-align: center;
}
.hx-stats-in div + div {
  border-inline-start: 1px solid var(--line);
}
.hx-stats-in b {
  display: block;
  font-family: var(--f-num);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hx-stats-in span {
  display: block;
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--ink-3);
}

/* ---------- شريط العملاء: صف رمادي هادئ ---------- */
.marquee {
  border: 0;
  padding-block: clamp(34px, 5vw, 56px);
}
.marquee-label {
  font-family: var(--f-num);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 26px;
  position: relative;
  z-index: 3;
  padding-inline: 20px;
  text-align: center;
}
.marquee-label :is(.en, .ar) {
  color: inherit;
}
@media (max-width: 760px) {
  .marquee-label { letter-spacing: 0.08em; line-height: 1.7; }
}
.marquee-track {
  gap: 72px;
}
/* الشعارات بألوانها الحقيقية: الرمادي الباهت كان يخفي أسماء الشركاء */
.marquee-track img {
  height: 46px;
  filter: none;
  opacity: 0.92;
}
.marquee-track img:hover {
  opacity: 1;
}
@media (max-width: 760px) {
  .marquee-track img {
    height: 36px;
  }
}

/* ---------- من نحن ---------- */
.quote-box {
  background: var(--panel);
  border: 0;
  box-shadow: none;
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
}
.quote-box::before {
  display: none;
}
.quote-mark {
  color: var(--ink-4);
  width: 32px;
  height: 32px;
}
.quote-box .lead {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 500;
  line-height: 1.9;
}
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
  border-radius: var(--r-lg);
}
.stats {
  border-color: var(--line);
}
.stat:hover {
  background: transparent;
}
.stat b {
  color: var(--ink);
  letter-spacing: -0.03em;
}
.vm {
  border-top: 1px solid var(--line-2);
}
.vm:last-child {
  border-top-color: var(--line-2);
}
.vm-icon,
.why-ico {
  background: var(--panel);
  border: 0;
  color: var(--ink);
  border-radius: 50%;
}

/* ---------- لماذا تيربو: صفوف مرقّمة بالتناوب، صورة | رقم | عنوان ---------- */
.why-rows {
  display: grid;
  gap: clamp(56px, 8vw, 110px);
}
.why-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
}
.why-row:nth-child(even) .why-img {
  order: 2;
}
.why-img {
  margin: 0;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--panel);
}
.why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-2);
}
.why-row .why-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink);
  -webkit-text-stroke: 0;
  font-family: var(--f-num);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
}
.why-row h3 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.25;
}
html[lang="en"] .why-row h3 {
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.why-row h3 .en {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-4);
}
.why-row p {
  margin-top: 22px;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.9;
  color: var(--ink-3);
  max-width: 46ch;
}

/* ---------- الخدمات: فهرس بفواصل شعرية ---------- */
.svc-grid {
  border-top-color: var(--line-2);
}
.svc::before,
[dir="ltr"] .svc::before {
  background: var(--panel);
  box-shadow: none;
}
.svc-no {
  color: var(--ink-4);
  -webkit-text-stroke: 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 500;
}
.svc:hover .svc-no {
  color: var(--ink);
  -webkit-text-stroke: 0;
}
.svc-ico {
  background: var(--panel);
  border: 0;
  box-shadow: none;
  color: var(--ink);
  border-radius: 50%;
}
.svc:hover .svc-ico {
  background: var(--ink);
  color: #fff;
  transform: none;
}
.svc h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
}
.svc:hover .svc-go {
  background: var(--ink);
  border-color: var(--ink);
}
@media (hover: none) and (min-width: 1081px) {
  .svc-go {
    border-color: var(--line-2);
    color: var(--ink);
  }
}

/* ---------- الأعمال ---------- */
.work-grid {
  gap: 20px;
}
.work {
  border-radius: var(--r-lg);
  box-shadow: none;
}
.work:hover {
  transform: none;
  box-shadow: none;
}
.work-cap span {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}
.work::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.28) 38%, transparent 70%);
}

/* ---------- الأفلام والخطوات والعملاء ---------- */
.nd {
  background: #fff;
}
.nd::before {
  display: none;
}
.nd .eyebrow {
  color: var(--ink-3);
}
.film-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: none;
}
.film {
  border-radius: var(--r-lg);
}
.step-n {
  border: 0;
  background: var(--panel);
  font-weight: 600;
}
.step:hover .step-n {
  background: var(--ink);
  color: #fff;
}
.steps::before {
  background: var(--line-2);
}
.client {
  box-shadow: 0 0 0 1px var(--line);
}
.client:hover {
  background: var(--bg-2);
}
.client img {
  max-height: 64px;
  filter: none;
  opacity: 1;
}
@media (max-width: 760px) {
  .client img {
    max-height: 46px;
  }
}

/* ---------- التواصل ---------- */
.aside-card {
  background: var(--ink);
  border-radius: var(--r-xl);
}
.aside-card::before {
  display: none;
}
.forms-wrap > :not(.aside-card) {
  min-width: 0;
}
.tabs {
  background: var(--panel);
}
.tab.active {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.inp,
select.inp,
textarea.inp {
  border-color: var(--line-2);
  border-radius: 14px;
  background: #fff;
}
.inp:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(10, 10, 11, 0.07);
}
.track-box {
  background: var(--panel);
  border: 0;
  box-shadow: none;
  border-radius: var(--r-xl);
}

/* ---------- الأسئلة: فواصل شعرية بلا صناديق ---------- */
.faq details {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  box-shadow: none;
}
.faq details:first-child {
  border-top: 1px solid var(--line-2);
}
.faq summary {
  padding: 24px 4px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 600;
}
.faq summary:hover {
  color: var(--ink-3);
}

/* ---------- الفوتر ---------- */
.foot {
  background: var(--ink);
}
.foot::before {
  display: none;
}

/* ---------- الصفحات الداخلية ---------- */
.pg-hero {
  background: #fff;
  padding-top: clamp(120px, 13vw, 160px);
}
.pg-top {
  padding-top: clamp(120px, 13vw, 160px);
}
.pg-hero-img {
  border-radius: var(--r-xl);
  box-shadow: none;
}
.pg-inc {
  gap: 12px;
  border-top: 0;
}
.pg-inc-i,
.pg-inc-i:nth-child(odd),
.pf-i {
  background: var(--panel);
  border: 0;
  box-shadow: none;
  border-radius: var(--r-lg);
}
.pf-i:hover,
.pg-inc-i:hover {
  transform: none;
  box-shadow: none;
  background: #ececee;
}
.pg-rel-i {
  border-color: var(--line);
  border-radius: 100px;
  padding: 14px 22px;
}
.pg-rel-i:hover {
  border-color: var(--ink);
  box-shadow: none;
  transform: none;
}
.pg-list-i:hover {
  background: var(--panel);
}
.pg-end {
  background: var(--panel);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 64px);
  max-width: none;
}

/* ---------- موبايل ---------- */
@media (max-width: 1080px) {
  .nav,
  .nav.stuck {
    top: 8px;
  }
  .nav-in {
    padding-inline: 16px 8px;
  }
  .links {
    top: 84px;
  }
}
@media (max-width: 760px) {
  .tc-face,
  .tc-edge {
    border-radius: 16px;
  }
  .hx-stats-in {
    grid-template-columns: repeat(2, 1fr);
  }
  .hx-stats-in div:nth-child(3) {
    border-inline-start: 0;
  }
  .hx-stats-in div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .why-row {
    grid-template-columns: 1fr;
  }
  .why-row:nth-child(even) .why-img {
    order: 0;
  }
  .tc-back figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .work-grid > * {
    grid-column: auto !important;
  }
  .client {
    flex: 0 1 calc(50% - 1px);
    min-width: 0;
  }
}

/* ---------- جمل كبيرة (مثل "Powerful Account." في telda): عنوان ضخم في جهة،
   ومجسّم يدخل من طرف الشاشة المقابل ويخرج عنها، مربوط بالتمرير عبر --sp ---------- */
.st {
  --dir: -1; /* من أين يدخل المجسّم: -1 يسار، 1 يمين */
  padding-block: clamp(64px, 8vw, 112px);
  overflow: clip;
}
.st-rev {
  --dir: 1;
}
html[dir="ltr"] .st {
  --dir: 1;
}
html[dir="ltr"] .st-rev {
  --dir: -1;
}
.st + .st {
  padding-top: 0;
}
.st-in {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.st-rev .st-txt {
  order: 2;
}
.st-txt {
  transform: translate3d(calc((1 - var(--sp, 1)) * var(--dir) * -70px), 0, 0);
  opacity: calc(0.15 + var(--sp, 1) * 0.85);
}
.st-h {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
html[lang="en"] .st-h {
  letter-spacing: -0.05em;
  line-height: 1;
}
.st-p {
  max-width: 36ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.8;
  color: var(--ink-3);
}
.st-obj {
  margin: 0;
  perspective: 1400px;
}
/* المجسّم أعرض من عموده فيخرج عن حافة الشاشة كما في المرجع */
.st-dev {
  position: relative;
  width: 124%;
  aspect-ratio: 16 / 10.4;
  border: clamp(6px, 0.9vw, 12px) solid #0b0b0d;
  border-radius: clamp(22px, 3vw, 40px);
  background: #0b0b0d;
  overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translate3d(calc((1 - var(--sp, 1)) * var(--dir) * 55vw), 0, 0)
    rotateY(calc((1 - var(--sp, 1)) * var(--dir) * -34deg))
    rotateZ(calc((1 - var(--sp, 1)) * var(--dir) * 6deg));
  will-change: transform;
}
.st-rev .st-dev {
  margin-inline-start: -24%;
}
.st-dev img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: clamp(14px, 2vw, 28px);
  transform: scale(calc(1 + (1 - var(--sp, 1)) * 0.2));
}
.st-slab {
  border: 0;
  background: var(--panel);
}
.st-slab img {
  border-radius: 0;
}
.st-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(60px, 7vw, 88px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.st-play::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  translate: 3px 0;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--ink);
}
@media (max-width: 760px) {
  .st-in {
    grid-template-columns: 1fr;
  }
  .st-rev .st-txt {
    order: 0;
  }
  .st-dev {
    width: 112%;
  }
  .st-rev .st-dev {
    margin-inline-start: -12%;
  }
}
