/* =========================================================
   EMDADAT MULHIMA — "Midnight Ink × Electric Cyan"
   ========================================================= */
:root {
  --ink: #05061a;
  --ink-2: #0a0c26;
  --surface: #0f1233;
  --indigo: #2a2d7c;
  --indigo-2: #3b3fa8;
  --cyan: #19b5f0;
  --blue: #1f6be0;
  --sun: #ffb627;
  --text: #f2f4ff;
  --muted: #a3abd0;
  --line: rgba(160, 175, 255, .14);
  --glass: rgba(20, 24, 70, .45);
  --grad: linear-gradient(100deg, #ffffff 0%, #7fd8ff 35%, #19b5f0 60%, #1f6be0 100%);
  --grad-btn: linear-gradient(110deg, #19b5f0, #1f6be0 55%, #3b3fa8);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --r: 22px;
  --wrap: min(1320px, 100% - clamp(32px, 6vw, 96px));
  --f-display: "Syne", "Alexandria", system-ui, sans-serif;
  --f-body: "Manrope", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --z-nav: 50; --z-menu: 45; --z-cursor: 90; --z-loader: 100;
}
html[lang="ar"] {
  --f-display: "Alexandria", "Syne", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--cyan); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 16px; }

/* ---------- brand chevron motif (▲▼▲) ---------- */
.chev { display: inline-block; width: 34px; height: 9px; flex: none;
  background:
    conic-gradient(from 150deg at 50% 0, var(--cyan) 60deg, transparent 0) 0 0 / 11.33px 9px repeat-x;
  -webkit-mask: linear-gradient(#000 0 0); }
.chevrow { display: inline-block; width: 110px; height: 12px; background: conic-gradient(from 150deg at 50% 0, var(--cyan) 60deg, transparent 0) 0 0 / 18px 12px repeat-x; opacity: .8; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }

/* ---------- buttons ---------- */
.btn { --h: 56px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: var(--h); padding: 0 28px;
  border-radius: 999px; font-weight: 600; font-size: 16px; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), background-color .3s; touch-action: manipulation; }
.btn .arr { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
html[dir="rtl"] .btn .arr { transform: scaleX(-1); }
.btn:hover .arr { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(4px); }
.btn--primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 40px -10px rgba(25, 181, 240, .6), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 18px 60px -12px rgba(25, 181, 240, .85), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--ghost { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.45); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 14px; }
.btn--glow { background: rgba(25,181,240,.12); border: 1px solid rgba(25,181,240,.45); }
.btn--glow:hover { background: rgba(25,181,240,.25); }
.btn--block { width: 100%; }
.btn--wa { margin-top: 28px; background: #128c4a; color: #fff; }
.btn--wa svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; }
.btn--wa:hover { background: #17a85a; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- glass + spotlight ---------- */
.glass { background: linear-gradient(160deg, rgba(42,45,124,.35), rgba(10,12,38,.55)); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.spot { position: relative; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(25,181,240,.18), transparent 45%); }
.spot:hover::before { opacity: 1; }

/* ============ PRELOADER ============ */
.loader { position: fixed; inset: 0; z-index: var(--z-loader); display: grid; place-items: center; background: var(--ink); }
.loader__grid { position: absolute; inset: 0; opacity: .25;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 65%); }
.loader__center { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.loader__mark { width: clamp(150px, 22vw, 260px); overflow: visible; }
.loader__mark .lm { fill: transparent; stroke: #7fd8ff; stroke-width: 3; stroke-linejoin: round; }
.loader__word { width: clamp(150px, 18vw, 220px); opacity: 0; }
.loader__count { position: absolute; bottom: clamp(24px, 5vh, 56px); inset-inline-end: clamp(24px, 5vw, 72px); font-family: "Syne", sans-serif; font-weight: 700; font-size: clamp(56px, 10vw, 150px); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); }
.loader__count i { font-style: normal; font-size: .35em; vertical-align: top; }
.loader__tag { position: absolute; bottom: clamp(28px, 5vh, 60px); inset-inline-start: clamp(24px, 5vw, 72px); color: var(--muted); font-size: 15px; max-width: 260px; }
.loader__curtain { position: absolute; inset: 0; transform: scaleY(0); transform-origin: bottom; z-index: 1; }
.loader__center { z-index: 2; }
.loader__curtain--a { background: var(--cyan); }
.loader__curtain--b { background: var(--indigo); }

/* ============ CURSOR ============ */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: var(--z-cursor); border-radius: 50%; }
.cursor { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .3s, border-color .3s; mix-blend-mode: difference; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor.is-hover { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: #fff; border-color: #fff; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--cyan); border-color: var(--cyan); mix-blend-mode: normal; }
.cursor__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

.grain { position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }
.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 60; }
.progress i { display: block; height: 100%; background: var(--grad-btn); transform-origin: left; transform: scaleX(0); }
html[dir="rtl"] .progress i { transform-origin: right; }

/* ============ NAV ============ */
.nav { position: fixed; top: 16px; inset-inline: 0; z-index: var(--z-nav); width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 12px 10px 22px; border-radius: 999px;
  transition: background-color .5s var(--ease), border-color .5s, transform .6s var(--ease), padding .4s; border: 1px solid transparent; }
html[dir="rtl"] .nav { padding: 10px 22px 10px 12px; }
.nav.is-scrolled { background: rgba(8, 10, 34, .62); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.nav.is-hidden { transform: translateY(-140%); }
.nav__logo { display: flex; align-items: center; gap: 12px; height: 44px; }
.brandmark { width: 58px; height: auto; overflow: visible; }
.brandmark .bm { fill: #fff; transition: transform .7s var(--ease), fill .4s; transform-box: fill-box; }
.nav__logo:hover .bm-m { fill: var(--cyan); }
.nav__logo:hover .bm-b2 { transform: translateX(-14%); fill: #7fd8ff; }
.nav__logo:hover .bm-b3 { transform: translateX(8%); }
.nav__word { height: 34px; width: auto; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { position: relative; padding: 10px 16px; font-size: 15px; color: var(--muted); border-radius: 999px; transition: color .3s, background-color .3s; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(255,255,255,.06); }
.nav__links a.is-active::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--cyan); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 92px; height: 44px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.lang__opt { position: relative; z-index: 1; display: grid; place-items: center; font-size: 13px; font-weight: 700; transition: color .3s; color: var(--muted); }
.lang__opt[data-l="ar"] { font-family: "Alexandria", sans-serif; font-size: 16px; }
.lang__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--grad-btn); transition: transform .55s var(--ease); }
html[lang="ar"] .lang__pill { transform: translateX(100%); }
html[lang="en"] .lang__opt[data-l="en"], html[lang="ar"] .lang__opt[data-l="ar"] { color: #fff; }
.lang { direction: ltr; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: var(--z-menu); background: radial-gradient(circle at 80% 0%, #1b1f66, var(--ink) 60%); display: flex; flex-direction: column; justify-content: center; padding: 100px 24px 40px; clip-path: circle(0% at 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden; }
html[dir="rtl"] .menu { clip-path: circle(0% at 0 0); }
.menu.is-open { clip-path: circle(150% at 100% 0); visibility: visible; }
html[dir="rtl"] .menu.is-open { clip-path: circle(150% at 0 0); }
.menu__inner { display: flex; flex-direction: column; gap: 6px; }
.menu__inner a { font-family: var(--f-display); font-size: clamp(36px, 10vw, 64px); font-weight: 700; line-height: 1.15; }
.menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 clamp(190px, 24vh, 230px); overflow: hidden; isolation: isolate; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: float 18s var(--ease) infinite alternate; }
.hero__aurora i:nth-child(1) { width: 55vw; height: 55vw; background: #2a2d7c; top: -20vw; inset-inline-end: -10vw; }
.hero__aurora i:nth-child(2) { width: 38vw; height: 38vw; background: #1f6be0; bottom: -18vw; inset-inline-start: -8vw; opacity: .35; animation-duration: 22s; }
.hero__aurora i:nth-child(3) { width: 22vw; height: 22vw; background: #19b5f0; top: 30%; left: 45%; opacity: .18; animation-duration: 14s; }
@keyframes float { to { transform: translate3d(6vw, 4vw, 0) scale(1.15); } }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.hero__inner { position: relative; }
.hero__eyebrow { margin-bottom: 26px; }
.hero__title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(46px, 7.2vw, 128px); line-height: .92; letter-spacing: -.045em; text-transform: none; }
html[lang="ar"] .hero__title { font-weight: 700; letter-spacing: 0; line-height: 1.12; font-size: clamp(48px, 9vw, 150px); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
html[lang="ar"] .hero__title .line { padding: .08em 0 .42em; margin-bottom: -.38em; }
html[lang="ar"] .line--outline .split { color: #c3cdf5; -webkit-text-stroke: 0; }
html[lang="ar"] .marquee__item:nth-child(even) { color: #8ea0e6; -webkit-text-stroke: 0; }
.line--grad .split { color: #7fd8ff; }
.line--grad .g { background-image: var(--grad); background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.line--outline .split { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.75); }
.split .w, .split .ch { display: inline-block; will-change: transform; }
.split .w { white-space: nowrap; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.hero__sub { max-width: 520px; margin: 0; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--cyan), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero__badge { position: absolute; top: 18%; inset-inline-end: clamp(16px, 5vw, 80px); width: clamp(110px, 11vw, 160px); aspect-ratio: 1; }
.hero__badge > svg:first-child { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge text { fill: var(--muted); font-size: 13.5px; letter-spacing: .32em; text-transform: uppercase; font-family: "Syne", sans-serif; font-weight: 600; }
.hero__badge-mark { position: absolute; inset: 34%; fill: var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ MARQUEE ============ */
.marquee { position: relative; padding: 26px 0; border-block: 1px solid var(--line); overflow: hidden; background: linear-gradient(90deg, rgba(42,45,124,.25), rgba(25,181,240,.08), rgba(42,45,124,.25)); transform: rotate(-2deg) scale(1.04); margin: 30px 0 0; }
.marquee__track { display: flex; width: max-content; direction: ltr; }
.marquee__item { display: flex; align-items: center; gap: 48px; padding-right: 48px; font-family: var(--f-display); font-size: clamp(28px, 4vw, 58px); font-weight: 700; white-space: nowrap; letter-spacing: -.02em; }
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); }
.marquee__item svg { width: 54px; fill: var(--cyan); }

/* ============ SECTIONS ============ */
section { position: relative; }
.sec-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.sec-num { font-family: "Syne", sans-serif; font-size: 13px; font-weight: 700; color: var(--cyan); padding: 6px 12px; border: 1px solid rgba(25,181,240,.4); border-radius: 999px; }
.h-xl { margin: 0 0 clamp(36px, 5vw, 72px); font-family: var(--f-display); font-weight: 700; font-size: clamp(38px, 5.6vw, 92px); line-height: 1; letter-spacing: -.035em; max-width: 14ch; }
html[lang="ar"] .h-xl { letter-spacing: 0; line-height: 1.25; max-width: 18ch; }
.h-xl em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* about */
.about { padding: clamp(110px, 14vw, 200px) 0 clamp(60px, 8vw, 120px); }
.about__statement { margin: 0 0 clamp(48px, 7vw, 100px); font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 3.1vw, 48px); line-height: 1.28; letter-spacing: -.015em; max-width: 44ch; }
html[lang="ar"] .about__statement { letter-spacing: 0; line-height: 1.6; font-weight: 400; font-size: clamp(22px, 2.6vw, 40px); }
.reveal-words .w { opacity: .14; transition: none; }
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.about__media { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; min-height: 420px; transform-style: preserve-3d; }
.about__media img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; }
.about__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(5,6,26,.85)); }
.about__chip { position: absolute; z-index: 1; bottom: 22px; inset-inline-start: 22px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px; background: rgba(5,6,26,.6); backdrop-filter: blur(10px); border: 1px solid var(--line); font-size: 14px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.stat { padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; }
.stat__val { font-family: "Syne", sans-serif; font-weight: 700; font-size: clamp(48px, 5.4vw, 88px); line-height: 1; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; direction: ltr; text-align: start; }
html[dir="rtl"] .stat__val { text-align: right; }
.stat__label { color: var(--muted); font-size: 15px; }

/* vision mission */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); padding-bottom: clamp(100px, 12vw, 180px); }
.vm__card { padding: clamp(28px, 3.6vw, 56px); }
.vm__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--grad-btn); box-shadow: 0 14px 40px -12px rgba(25,181,240,.7); margin-bottom: 30px; }
.vm__icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.8; }
.vm__title { margin: 0 0 14px; font-family: var(--f-display); font-size: clamp(28px, 3vw, 44px); letter-spacing: -.02em; }
.vm__card p { margin: 0; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); }

/* services pinned */
.services { background: linear-gradient(180deg, var(--ink), var(--ink-2) 20%, var(--ink-2) 80%, var(--ink)); }
.services__pin { height: 100svh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 32px; overflow: hidden; }
.services__head { position: relative; }
.services__head .h-xl { margin-bottom: 28px; font-size: clamp(36px, 4.6vw, 76px); }
html[dir="rtl"] .services__counter { right: auto; left: 0; }
.services__counter { position: absolute; right: 0; bottom: 44px; font-family: "Syne", sans-serif; font-size: 18px; color: var(--muted); display: flex; gap: 8px; direction: ltr; }
.services__counter b { color: #fff; font-size: 44px; line-height: .8; }
.services__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: max(calc((100vw - 1320px) / 2), clamp(16px, 3vw, 48px)); width: max-content; will-change: transform; }
.svc { position: relative; flex: none; width: clamp(300px, 32vw, 500px); height: clamp(380px, calc(100svh - 330px), 600px); border-radius: 28px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); background: var(--surface); }
.svc__img { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.85) brightness(.85); }
.svc:hover .svc__img img { transform: scale(1.02); filter: saturate(1.1) brightness(.95); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,6,26,.15) 0%, rgba(5,6,26,.35) 40%, rgba(5,6,26,.96) 100%); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(25,181,240,.35), transparent 50%); opacity: 0; transition: opacity .6s; }
.svc:hover::after { opacity: 1; }
.svc__body { position: absolute; inset: auto 0 0; padding: clamp(22px, 2.4vw, 34px); }
.svc__num { position: absolute; top: 22px; inset-inline-start: 26px; font-family: "Syne", sans-serif; font-weight: 800; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.6); }
.svc__hex { position: absolute; top: 24px; inset-inline-end: 24px; width: 52px; height: 58px; display: grid; place-items: center; background: var(--grad-btn); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: transform .8s var(--ease); }
.svc:hover .svc__hex { transform: rotate(180deg); }
.svc__hex svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; }
.svc__title { margin: 0 0 10px; font-family: var(--f-display); font-size: clamp(26px, 2.3vw, 36px); line-height: 1.1; letter-spacing: -.02em; }
html[lang="ar"] .svc__title { line-height: 1.4; letter-spacing: 0; }
.svc__desc { margin: 0; color: #c9cff0; font-size: 15.5px; }
.svc__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .5s, margin .6s var(--ease); }
.svc:hover .svc__points, .svc:focus-within .svc__points { max-height: 260px; opacity: 1; margin-top: 16px; }
.svc__points li { display: flex; gap: 10px; font-size: 14px; color: #e3e7ff; }
.svc__points li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px; background: var(--cyan); transform: rotate(45deg); }
.svc--end { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; padding: 40px; background: var(--grad-btn); border: 0; }
.svc--end::before, .svc--end::after { display: none; }
.svc--end h3 { margin: 0; font-family: var(--f-display); font-size: clamp(32px, 3vw, 48px); line-height: 1.05; letter-spacing: -.02em; }
html[lang="ar"] .svc--end h3 { line-height: 1.4; }
.svc--end .btn { background: #fff; color: var(--ink); }

/* process */
.process { padding: clamp(110px, 13vw, 200px) 0; }
.process__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: p; position: relative; }
.process__list::before { content: ""; position: absolute; top: 31px; inset-inline: 0; height: 1px; background: var(--line); }
.process__line { position: absolute; top: 31px; inset-inline-start: 0; height: 2px; width: 100%; background: var(--grad-btn); transform-origin: left; transform: scaleX(0); }
html[dir="rtl"] .process__line { transform-origin: right; }
.process__item { position: relative; padding-inline-end: 28px; }
.process__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--ink-2); border: 1px solid var(--line); font-family: "Syne", sans-serif; font-weight: 700; color: var(--cyan); margin-bottom: 26px; transition: background-color .5s, color .5s, box-shadow .5s; }
.process__item.is-on .process__dot { background: var(--cyan); color: var(--ink); box-shadow: 0 0 0 8px rgba(25,181,240,.15), 0 0 40px rgba(25,181,240,.6); }
.process__item h3 { margin: 0 0 8px; font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); }
.process__item p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* departments orbit */
.depts { padding: clamp(60px, 8vw, 120px) 0 clamp(110px, 13vw, 200px); overflow: hidden; }
.depts__orbit { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; width: var(--wrap); margin-inline: auto; }
.dept { display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px 16px 18px; border-radius: 999px; font-family: var(--f-display); font-size: clamp(17px, 1.6vw, 24px); font-weight: 600; transition: transform .6s var(--ease), background-color .4s, border-color .4s; }
html[dir="rtl"] .dept { padding: 16px 18px 16px 26px; }
.dept:hover { transform: translateY(-6px) rotate(-1.5deg); background: rgba(25,181,240,.14); border-color: rgba(25,181,240,.5); }
.dept__ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(25,181,240,.15); color: var(--cyan); font-size: 13px; font-family: "Syne", sans-serif; }
.dept--main { background: var(--grad-btn); border: 0; }
.dept--main .dept__ic { background: rgba(255,255,255,.2); color: #fff; }

/* work */
.work { padding-bottom: clamp(110px, 13vw, 200px); }
.work__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(180px, 22vw, 300px); gap: clamp(12px, 1.6vw, 20px); }
.work__item { position: relative; overflow: hidden; border-radius: var(--r); margin: 0; background: var(--surface); }
.work__item:nth-child(6n+1) { grid-column: span 7; grid-row: span 2; }
.work__item:nth-child(6n+2) { grid-column: span 5; }
.work__item:nth-child(6n+3) { grid-column: span 5; }
.work__item:nth-child(6n+4) { grid-column: span 4; }
.work__item:nth-child(6n+5) { grid-column: span 4; }
.work__item:nth-child(6n+6) { grid-column: span 4; }
.work__item img { width: 100%; height: 125%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work__item:hover img { transform: scale(1.06); }
.work__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(5,6,26,.85)); }
.work__item figcaption { position: absolute; z-index: 1; bottom: 18px; inset-inline-start: 20px; font-family: var(--f-display); font-weight: 600; font-size: 19px; display: flex; align-items: center; gap: 10px; transform: translateY(8px); opacity: .85; transition: transform .6s var(--ease), opacity .4s; }
.work__item:hover figcaption { transform: none; opacity: 1; }
.work__item figcaption::before { content: ""; width: 8px; height: 8px; background: var(--cyan); transform: rotate(45deg); }
.work__mask { position: absolute; inset: 0; z-index: 2; background: var(--indigo); transform-origin: right; }
html[dir="rtl"] .work__mask { transform-origin: left; }

/* clients */
.clients { padding-bottom: clamp(110px, 13vw, 200px); overflow: hidden; }
main, .footer { overflow-x: clip; }
.clients__rows { display: flex; flex-direction: column; gap: 16px; direction: ltr; }
.clients__row { display: flex; width: max-content; }
.client { flex: none; margin-right: 16px; display: inline-flex; align-items: center; gap: 14px; padding: 22px 34px; border-radius: 18px; font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; white-space: nowrap; background: rgba(255,255,255,.03); border: 1px solid var(--line); transition: background-color .4s, border-color .4s, color .4s; color: #dfe4ff; }
.client:hover { background: rgba(25,181,240,.12); border-color: rgba(25,181,240,.5); color: #fff; }
.client::before { content: ""; width: 10px; height: 10px; background: var(--cyan); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.clients__rows:hover .clients__row { animation-play-state: paused; }

/* contact */
.contact { padding: clamp(110px, 13vw, 200px) 0; overflow: hidden; }
.contact__glow { position: absolute; inset: 10% -20% auto; height: 80%; background: radial-gradient(ellipse at center, rgba(31,107,224,.35), transparent 60%); filter: blur(40px); pointer-events: none; }
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__title { margin: 22px 0 18px; font-family: var(--f-display); font-weight: 700; font-size: clamp(38px, 5vw, 80px); line-height: 1.02; letter-spacing: -.035em; }
html[lang="ar"] .contact__title { line-height: 1.3; letter-spacing: 0; }
.contact__sub { color: var(--muted); margin: 0 0 34px; font-size: 18px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: flex; align-items: flex-start; gap: 16px; font-size: 17px; }
.contact__list svg { flex: none; width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: rgba(25,181,240,.12); fill: none; stroke: var(--cyan); stroke-width: 1.8; }
.contact__list a:hover { color: var(--cyan); }
.contact__list li > span, .contact__list li > a { padding-top: 10px; }
.form { padding: clamp(24px, 3vw, 44px); display: grid; gap: 18px; }
.field { position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field input, .field textarea { width: 100%; padding: 26px 18px 10px; min-height: 60px; border-radius: 16px; border: 1px solid var(--line); background: rgba(5,6,26,.5); color: #fff; font: inherit; font-size: 16px; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.field textarea { min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(25,181,240,.15); }
.field label { position: absolute; top: 19px; inset-inline-start: 19px; color: var(--muted); pointer-events: none; transition: transform .35s var(--ease), font-size .35s var(--ease), color .3s; transform-origin: left top; }
html[dir="rtl"] .field label { transform-origin: right top; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-12px); font-size: 12px; color: var(--cyan); }
.field.is-error input, .field.is-error textarea { border-color: #ff6b81; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: all .3s; cursor: pointer; }
.chip input:checked + span { background: var(--cyan); color: var(--ink); border-color: var(--cyan); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form__status { margin: 0; min-height: 1.4em; font-size: 15px; }
.form__status.ok { color: #4ce0a0; } .form__status.err { color: #ff8095; }

/* footer */
.footer { position: relative; border-top: 1px solid var(--line); padding-top: 80px; overflow: hidden; background: linear-gradient(180deg, var(--ink), #080a2b); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__logo { width: 240px; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); margin: 0; }
.footer__nav { display: grid; gap: 10px; }
.footer__nav a { color: var(--muted); transition: color .3s; width: fit-content; }
.footer__nav a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.footer__social a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.footer__social a:hover { background: var(--cyan); border-color: var(--cyan); transform: translateY(-4px); }
.footer__social svg { width: 20px; height: 20px; fill: currentColor; }
.footer__giant { display: flex; align-items: center; justify-content: center; gap: 3vw; padding: 70px 0 20px; white-space: nowrap; }
.footer__mark { width: 13vw; fill: var(--cyan); opacity: .95; overflow: visible; }
.footer__mark polygon { transform-box: fill-box; }
.footer__word { font-family: var(--f-display); font-weight: 800; font-size: 9.5vw; line-height: .9; letter-spacing: -.05em; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.05)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="ar"] .footer__word { letter-spacing: 0; font-size: 9vw; line-height: 1.3; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.totop:hover { color: var(--cyan); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__actions .btn { display: none; }
  .about__grid, .vm, .contact__inner { grid-template-columns: 1fr; }
  .process__list { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .process__list::before, .process__line { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__social { justify-content: flex-start; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { top: 10px; padding: 8px 8px 8px 16px; }
  html[dir="rtl"] .nav { padding: 8px 16px 8px 8px; }
  .nav__word { height: 26px; }
  .brandmark { width: 46px; }
  .hero { padding-top: 120px; }
  .hero__badge { top: 96px; width: 92px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1; }
  .hero__scroll { display: none; }
  .services__pin { height: auto; min-height: 0; padding: 90px 0 40px; }
  .services__track { flex-direction: column; width: auto; padding-inline: 16px; }
  .svc { width: 100%; height: 520px; }
  .svc__points { max-height: none; opacity: 1; margin-top: 14px; }
  .services__counter { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 150px; }
  .about__media { min-height: 300px; }
  .process__list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .work__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .work__item:nth-child(3n+1) { grid-column: span 2; grid-row: span 1; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__giant { flex-direction: column; gap: 20px; }
  .footer__mark { width: 40vw; }
  .footer__word { font-size: 17vw; }
  .loader__tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
  .reveal-words .w { opacity: 1; }
}

/* rotating badge on About media */
.about__badge { top: 22px; bottom: auto; inset-inline-end: 22px; z-index: 2; width: clamp(110px, 10vw, 150px); border-radius: 50%; background: rgba(5,6,26,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); }
.about__badge text { fill: #dfe4ff; }

/* =========================================================
   EMD logo v2 (blue + rose accent) — overrides
   ========================================================= */
:root { --blue: #1475bc; --rose: #d2577a; --grad-btn: linear-gradient(110deg, #19b5f0, #1475bc 55%, #2a2d7c); }
.lgw { transform-box: fill-box; }
svg .lg-acc { fill: var(--rose); }
/* nav */
.brandmark { width: 92px; }
.brandmark .bm { fill: #fff; transition: fill .4s; transform-box: view-box; }
.brandmark .bm.lg-acc { fill: var(--rose); }
.brandmark .lgw { transition: transform .7s var(--ease); }
.nav__logo:hover .bm.lg-em, .nav__logo:hover .bm.lg-d { fill: #8fd3ff; }
.nav__logo:hover .lgw-acc { transform: translate(-8%, -18%); }
.nav__logo:hover .lgw-b2 { transform: translateX(-10%); }
.nav__logo:hover .lgw-b3 { transform: translateX(5%); }
.nav__logo:hover .lgw-d { transform: translateX(4%); }
.nav__word { height: auto; display: flex; flex-direction: column; line-height: 1.15; padding-inline-start: 12px; border-inline-start: 1px solid var(--line); }
.nav__word b { font-family: "Syne", sans-serif; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.nav__word small { font-family: "Alexandria", sans-serif; font-size: 12px; color: var(--muted); }
@media (max-width: 720px) { .brandmark { width: 76px; } .nav__word { display: none; } }
/* loader */
.loader__mark { width: clamp(200px, 30vw, 380px); }
.loader__mark .lm.lg-acc { stroke: var(--rose); }
.loader__word { width: clamp(200px, 30vw, 380px); height: auto; overflow: visible; }
.loader__word .lg { fill: #dfe9ff; }
/* badge, footer, marquee */
.hero__badge-mark { inset: 30% 24%; fill: var(--cyan); }
.footer__mark { width: 20vw; fill: #1f8fdc; }
.footer__mark .lg-acc { fill: var(--rose); }
.marquee__item svg { width: 74px; fill: var(--cyan); }
.marquee__item svg .lg-acc { fill: var(--rose); }
@media (max-width: 720px) { .footer__mark { width: 52vw; } }
/* client logo chips */
.client--logo { padding: 0; width: clamp(170px, 15vw, 220px); height: clamp(104px, 9vw, 128px); justify-content: center; background: #fff; border-color: rgba(255,255,255,.65); border-radius: 22px; box-shadow: 0 18px 40px -22px rgba(0,0,0,.7); margin-right: 18px; transition: transform .5s var(--ease), box-shadow .5s; }
.client--logo::before { display: none; }
.client--logo img { max-width: 76%; max-height: 66%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .5s, opacity .5s, transform .5s var(--ease); }
.client--logo:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 26px 50px -20px rgba(25,181,240,.55); background: #fff; }
.client--logo:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.clients__rows { gap: 20px; padding-block: 10px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.contact__left .btn--ghost { margin-top: 12px; margin-inline-start: 8px; }
@media (max-width: 720px) { .contact__left .btn--ghost { margin-inline-start: 0; } }

/* =========================================================
   Service spotlight (replaces the tilted marquee band)
   ========================================================= */
.spot-band { position: relative; padding: 10px 0 0; margin-top: -90px; z-index: 2; }
.spot-band__inner { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; grid-template-areas: "text media" "tabs tabs"; gap: 0; border-radius: 32px; overflow: hidden;
  background: linear-gradient(150deg, rgba(31,52,140,.42), rgba(8,10,34,.88) 55%); border: 1px solid rgba(160,175,255,.16);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.spot-band__inner::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 15% 0%, rgba(25,181,240,.18), transparent 70%), radial-gradient(500px 260px at 100% 100%, rgba(210,87,122,.12), transparent 70%); }
.spot-band__text { grid-area: text; position: relative; padding: clamp(28px, 4vw, 60px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.spot-band__lead { margin: 10px 0 0; font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 24px); color: var(--muted); font-weight: 500; }
.spot-band__words { position: relative; margin: 0; width: 100%; height: 2.5em; perspective: 900px; font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 58px); line-height: 1.12; letter-spacing: -.03em; }
html[lang="ar"] .spot-band__words { letter-spacing: 0; line-height: 1.35; height: 2.8em; }
.sb-word { position: absolute; inset: 0 0 auto 0; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  transform-origin: 50% 100%; opacity: 0; transform: rotateX(-80deg) translateY(30%); filter: blur(6px); transition: transform 1s var(--ease), opacity .6s, filter .8s; backface-visibility: hidden; }
.sb-word.is-on { opacity: 1; transform: none; filter: none; }
.sb-word.is-out { opacity: 0; transform-origin: 50% 0; transform: rotateX(80deg) translateY(-30%); filter: blur(6px); }
.spot-band__descs { position: relative; width: 100%; min-height: 5.2em; }
.sb-desc { position: absolute; inset: 0 0 auto 0; margin: 0; max-width: 46ch; color: #c9d0f2; font-size: clamp(15px, 1.15vw, 17px); opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .8s var(--ease); }
.sb-desc.is-on { opacity: 1; transform: none; transition-delay: .15s; }
.spot-band__media { grid-area: media; position: relative; min-height: clamp(300px, 30vw, 440px); overflow: hidden; }
.sb-img { position: absolute; inset: 0; margin: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.1s var(--ease-io); z-index: 1; }
html[dir="rtl"] .sb-img { clip-path: inset(0 100% 0 0); }
.sb-img.is-on, html[dir="rtl"] .sb-img.is-on { clip-path: inset(0 0 0 0); z-index: 2; }
.sb-img.is-prev, html[dir="rtl"] .sb-img.is-prev { clip-path: inset(0 0 0 0); z-index: 1; }
.sb-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 6s linear; filter: saturate(1.05); }
.sb-img.is-on img { transform: scale(1.02); }
.spot-band__media::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(90deg, rgba(8,10,34,.85), transparent 35%), linear-gradient(0deg, rgba(8,10,34,.7), transparent 40%); }
html[dir="rtl"] .spot-band__media::after { background: linear-gradient(270deg, rgba(8,10,34,.85), transparent 35%), linear-gradient(0deg, rgba(8,10,34,.7), transparent 40%); }
.sb-count { position: absolute; z-index: 4; bottom: 20px; inset-inline-end: 24px; display: flex; align-items: baseline; gap: 6px; font-family: "Syne", sans-serif; color: rgba(255,255,255,.7); direction: ltr; }
.sb-count b { font-size: clamp(40px, 4vw, 64px); line-height: 1; color: #fff; letter-spacing: -.04em; }
.sb-mark { position: absolute; z-index: 4; top: 22px; inset-inline-end: 24px; width: 64px; opacity: .9; }
.sb-mark svg { width: 100%; fill: #fff; }
.spot-band__tabs { grid-area: tabs; position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid rgba(160,175,255,.14); }
.sb-tab { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 18px 22px; min-height: 104px; text-align: start; color: var(--muted); border-inline-end: 1px solid rgba(160,175,255,.1); transition: background-color .4s, color .4s; overflow: hidden; }
.sb-tab:last-child { border-inline-end: 0; }
.sb-tab:hover { background: rgba(255,255,255,.04); color: #fff; }
.sb-tab__ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: rgba(25,181,240,.1); color: var(--cyan); transition: background-color .4s, color .4s, transform .6s var(--ease); }
.sb-tab__ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sb-tab__t { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.sb-tab__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-btn); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .sb-tab__bar { transform-origin: right; }
.sb-tab.is-on { color: #fff; background: linear-gradient(180deg, rgba(25,181,240,.12), transparent); }
.sb-tab.is-on .sb-tab__ic { background: var(--grad-btn); color: #fff; transform: rotate(-8deg) scale(1.06); box-shadow: 0 8px 24px -8px rgba(25,181,240,.8); }
.sb-tab.is-on .sb-tab__bar { animation: sbBar var(--dur, 4200ms) linear forwards; }
@keyframes sbBar { to { transform: scaleX(1); } }
.spot-band:hover .sb-tab.is-on .sb-tab__bar, .spot-band:focus-within .sb-tab.is-on .sb-tab__bar { animation-play-state: paused; }
@media (max-width: 1080px) {
  .spot-band__tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .spot-band__tabs::-webkit-scrollbar { display: none; }
  .sb-tab { flex: 0 0 168px; }
}
@media (max-width: 720px) {
  .spot-band { margin-top: -40px; }
  .spot-band__inner { grid-template-columns: 1fr; grid-template-areas: "media" "text" "tabs"; border-radius: 24px; }
  .spot-band__media { min-height: 230px; }
  .spot-band__media::after { background: linear-gradient(0deg, rgba(8,10,34,.95), transparent 55%); }
  .spot-band__words { font-size: 30px; }
  .sb-tab { flex-basis: 140px; min-height: 92px; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .sb-word, .sb-img, .sb-desc { transition: none; } .sb-tab.is-on .sb-tab__bar { animation: none; transform: scaleX(1); } }
