/* Services hero: department scenes (handoff, 23 Nov 2026). Default hero untouched; a hovered/clicked card brings in its scene. */
.svv{position:absolute;inset:0 0 auto 0;height:max(56.25vw,100%);z-index:1;pointer-events:none}
.svv video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 0;opacity:0;transition:opacity .9s cubic-bezier(.22,.61,.36,1);will-change:opacity}
.svv video.on{opacity:1}
/* shade only where text sits: left behind the page text, a soft patch behind the scrolling text, the bottom behind the cards */
.svv:after{content:"";position:absolute;inset:0;opacity:0;transition:opacity .9s;background:
  linear-gradient(90deg,rgba(8,9,13,.72) 0%,rgba(8,9,13,.42) 24%,rgba(8,9,13,.08) 42%,rgba(8,9,13,0) 50%),
  radial-gradient(34% 46% at 84% 58%,rgba(8,9,13,.42),rgba(8,9,13,0) 72%),
  linear-gradient(0deg,rgba(8,9,13,.92) 0%,rgba(8,9,13,.35) 16%,rgba(8,9,13,0) 30%)}
.sv-hero.has-v .svv:after{opacity:1}
/* the default films, their label and the edge vignette step aside while a scene plays */
.sv-hero .sv-hv,.sv-hero .sv-vig,.sv-hero .sv-hv__lab,.sv-hero .sv-hv__dots{transition:opacity .9s}
.sv-hero.has-v .sv-hv,.sv-hero.has-v .sv-vig{opacity:0}
.sv-hero.has-v .sv-hv__lab,.sv-hero.has-v .sv-hv__dots{opacity:0}
/* fade under the navigation so the scrolling text dissolves before it reaches it */
.svtop{position:absolute;left:0;right:0;top:0;height:200px;z-index:3;pointer-events:none;opacity:0;transition:opacity .9s;
  background:linear-gradient(180deg,rgba(8,9,13,.9) 0%,rgba(8,9,13,.55) 45%,rgba(8,9,13,0) 100%)}
.sv-hero.has-v .svtop{opacity:1}

/* scrolling department text, written on the page */
.svt{position:absolute;z-index:4;right:var(--svr,var(--pad));top:120px;bottom:var(--svb,250px);width:var(--svw,404px);overflow:hidden;opacity:0;transition:opacity .7s;pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 18%,#000 80%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 18%,#000 80%,transparent 100%)}
.sv-hero.has-v .svt{opacity:1}
.svt__in{will-change:transform}
.svt p{font-family:Montserrat,sans-serif;font-size:16px;line-height:1.75;color:#E8ECF6;margin:0;text-align:justify;text-justify:inter-word;hyphens:none;text-shadow:0 1px 14px rgba(0,0,0,.6)}
.svt p em{font-style:normal;font-weight:600;color:#8EA4FF}
.svt__lg{display:flex;flex-wrap:wrap;align-items:center;gap:18px 26px;margin-top:30px;padding-bottom:10px}
.svt__lg img{height:26px;width:auto;max-width:130px;object-fit:contain;opacity:.92}
.svt__lg .wm{font-family:Montserrat,sans-serif;font-weight:700;font-size:16px;letter-spacing:.06em;text-transform:uppercase;color:#fff;opacity:.92}
@media (max-width:900px){.svt,.svv,.svtop{display:none}}

/* hero text for an active department: Arabic beside the title, Tech Sheet button keeps space above the cards */
.sv-hl{top:112px}
.sv-hl h2.sv-dn{font-size:clamp(44px,5vw,72px)}
.sv-hl h2.sv-dn .sv-arl{display:inline-block;font-family:var(--ar);font-size:.34em;margin:0 0 0 18px;vertical-align:.35em;line-height:1;color:var(--ice,#C9D4FF)}
.sv-hl h2.sv-dn~.sv-lead{margin-top:22px}
.sv-hl h2.sv-dn~.sv-pts{margin:20px 0 26px}

/* cards: English name bigger, Arabic beside it */
.sv-card .sv-nm{display:inline-block;font-size:clamp(22px,2.1vw,31px)}
.sv-card .sv-arn{display:inline-block;margin:0 0 0 10px;font-size:16px;vertical-align:.2em}

/* Arabic page mirrors */
[dir=rtl] .sv-hl h2.sv-dn .sv-arl{margin:0 18px 0 0;font-family:Montserrat,sans-serif;letter-spacing:.04em}
[dir=rtl] .sv-card .sv-arn{margin:0 10px 0 0}
[dir=rtl] .svt{right:auto;left:var(--svr,var(--pad))}
[dir=rtl] .svt p{font-family:var(--ar);font-size:16.5px;line-height:1.95;text-align:justify}
[dir=rtl] .svv:after{background:
  linear-gradient(270deg,rgba(8,9,13,.72) 0%,rgba(8,9,13,.42) 24%,rgba(8,9,13,.08) 42%,rgba(8,9,13,0) 50%),
  radial-gradient(34% 46% at 16% 58%,rgba(8,9,13,.42),rgba(8,9,13,0) 72%),
  linear-gradient(0deg,rgba(8,9,13,.92) 0%,rgba(8,9,13,.35) 16%,rgba(8,9,13,0) 30%)}
@media (prefers-reduced-motion:reduce){.svv video{transition:none}}
