/* =========================================================
   Agua'a Yemen Sat — landing page
   ========================================================= */

:root {
  --navy-950: #050d1f;
  --navy-900: #071226;
  --navy-850: #0a1a36;
  --navy-800: #0e2347;
  --navy-700: #15305f;
  --indigo: #2e3192;
  --blue: #4f7be8;
  --blue-400: #6f95f2;
  --sky: #6d8cc7;
  --sky-300: #9db8f0;
  --gold: #d6aa5f;
  --gold-300: #ecc98a;
  --paper: #f4f7fc;
  --paper-2: #e9eff9;
  --white: #ffffff;
  --ink: #0b1a33;
  --ink-2: #33435f;
  --muted: #64748f;
  --line: rgba(11, 26, 51, .1);
  --line-d: rgba(157, 184, 240, .16);

  --f-head: "Montserrat", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;

  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

html[lang="ar"] {
  --f-head: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; line-height: 1.15; letter-spacing: -.02em; }
html[lang="ar"] :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.4; }
p { margin: 0 0 1em; }
em { font-style: normal; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir="rtl"] .ico--dir { transform: scaleX(-1); }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow--line { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow--line::before { content: ""; width: 40px; height: 1.5px; background: currentColor; }
.eyebrow--gold { color: var(--gold); }

.h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; margin-bottom: 22px; }
.h2--xl { font-size: clamp(32px, 5vw, 64px); }
.h2 em { color: var(--blue); }
.h2 em.gold { color: var(--gold); }
.lead { font-size: clamp(16px, 1.25vw, 18px); color: var(--ink-2); max-width: 60ch; }

.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 26px; }
.sec-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sec-num::after { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .6; }
.sec-num--gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding-inline: 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn--sm { height: 42px; padding-inline: 20px; font-size: 14px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%);
  box-shadow: 0 10px 30px -10px rgba(79, 123, 232, .7), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
  z-index: -1;
}
.btn--primary:hover::before { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(79, 123, 232, .9); }
.btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.1); }
.btn .ico { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.btn:hover .ico--dir { transform: translateX(4px); }
[dir="rtl"] .btn:hover .ico--dir { transform: scaleX(-1) translateX(4px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--navy-950);
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader__mark { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.preloader__mark img { width: 56px; height: auto; animation: breathe 1.6s var(--ease) infinite; }
.preloader__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--blue-400); border-right-color: rgba(111,149,242,.3); animation: spin 1.1s linear infinite; }
.preloader__ring--2 { inset: 14px; border-top-color: var(--sky-300); animation-duration: 1.7s; animation-direction: reverse; }
.is-loaded .preloader { opacity: 0; visibility: hidden; }
html:not(.js) .preloader { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(.9); opacity: .7; } }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--sky-300), var(--blue), var(--gold)); }
[dir="rtl"] .progress span { transform-origin: right; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: transform .5s var(--ease-out), background .4s, box-shadow .4s, height .4s;
}
.header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(7, 18, 38, .9);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line-d);
  opacity: 0; transition: opacity .4s;
}
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand__mark { width: 34px; height: auto; transition: transform .6s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: "Montserrat", var(--f-head); font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.brand__text small { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--sky-300); margin-top: 3px; }
html[lang="ar"] .brand__text strong { font-family: var(--f-head); font-size: 16px; }
html[lang="ar"] .brand__text small { letter-spacing: 0; font-size: 12px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  color: rgba(255,255,255,.75); font-size: 14.5px; font-weight: 500;
  transition: color .3s, background .3s;
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 3px; height: 1.5px;
  background: var(--blue-400); transform: scaleX(0); transition: transform .4s var(--ease-out);
}
.nav a.is-active::after, .nav a:hover::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; }

.lang {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  height: 38px; padding: 3px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05);
}
.lang__opt { position: relative; z-index: 1; display: grid; place-items: center; min-width: 38px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.6); transition: color .3s; }
.lang__opt[data-lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 15px; }
.lang__pill { position: absolute; top: 3px; bottom: 3px; inset-inline-start: 3px; width: calc(50% - 3px); border-radius: 999px; background: linear-gradient(135deg, var(--blue), var(--indigo)); transition: transform .45s var(--ease-out); }
html[lang="en"] .lang__opt[data-lang="en"], html[lang="ar"] .lang__opt[data-lang="ar"] { color: #fff; }
/* Arabic is always RTL, where the grid puts "ع" on the left — slide the pill there */
html[lang="ar"] .lang__pill { transform: translateX(-100%); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Reveal system ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal--scale { transform: translateY(24px) scale(.94); }
.js .reveal.in { opacity: 1; transform: none; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--wi) * 55ms + 250ms); }
.split.in .w > span { transform: none; }
html:not(.js) .split .w > span { transform: none; }

/* ======================= HERO ======================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + 40px);
  color: #fff;
  background:
    radial-gradient(1200px 700px at 85% 40%, rgba(46, 49, 146, .55), transparent 60%),
    radial-gradient(900px 600px at 10% 100%, rgba(79, 123, 232, .18), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-850));
  overflow: hidden;
  isolation: isolate;
}
.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__glow { position: absolute; width: 60vmax; height: 60vmax; inset-inline-end: -20vmax; top: -10vmax; border-radius: 50%; background: radial-gradient(circle, rgba(79,123,232,.18), transparent 60%); filter: blur(20px); z-index: -1; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-6vmax, 6vmax); } }

.hero__grid { flex: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero__copy { max-width: 720px; }
.hero__copy .eyebrow { color: var(--sky-300); margin-bottom: 26px; }
.hero__pre { font-family: var(--f-head); font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; color: rgba(255,255,255,.8); margin-bottom: 8px; }
.hero__title { font-size: clamp(36px, 5vw, 70px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; margin-bottom: 28px; }
html[lang="ar"] .hero__title { font-size: clamp(36px, 5.4vw, 74px); line-height: 1.3; letter-spacing: 0; font-weight: 700; }
.hero__title em {
  background: linear-gradient(100deg, var(--sky-300), var(--blue) 45%, #8f7dff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title em { padding-inline-end: .04em; }
.hero__lead { font-size: clamp(16px, 1.3vw, 19px); color: rgba(255,255,255,.72); max-width: 56ch; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: end; will-change: transform; }
.orbit { width: 100%; height: 100%; overflow: visible; }
.orbit__rings circle { fill: none; stroke: rgba(157, 184, 240, .28); stroke-width: 1; }
.orbit__rings .dash { stroke-dasharray: 2 8; stroke: rgba(157,184,240,.45); animation: spin 80s linear infinite; transform-origin: 300px 300px; }
.orbit__rings .dash--wide { stroke-dasharray: 1 14; animation-duration: 120s; animation-direction: reverse; }
.pulse circle { fill: none; stroke: var(--blue-400); stroke-width: 1.4; transform-origin: 300px 300px; animation: pulse 4.5s var(--ease) infinite; opacity: 0; }
.pulse--2 circle { animation-delay: 1.5s; }
.pulse--3 circle { animation-delay: 3s; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(4.4); opacity: 0; } }
.spin { transform-origin: 300px 300px; animation: spin 26s linear infinite; }
.spin--b { animation-duration: 18s; animation-direction: reverse; }
.spin--c { animation-duration: 40s; }
.sat-body { fill: #e8eeff; }
.sat-panel { fill: var(--blue); stroke: var(--sky-300); stroke-width: .8; }
.node { fill: var(--blue-400); }
.node--gold { fill: var(--gold); }
.node--soft { fill: var(--sky-300); opacity: .8; }
.node-ring { fill: none; stroke: var(--blue-400); opacity: .5; }
.beams line { stroke: url(#beam); stroke-width: 1.2; stroke-dasharray: 3 6; animation: dashflow 1.6s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -18; } }
.core { fill: rgba(10, 26, 54, .9); stroke: var(--blue-400); stroke-width: 1.5; }

.hero__chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 14px; font-size: 13px; font-weight: 500;
  background: rgba(14, 35, 71, .6); border: 1px solid var(--line-d);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.hero__chip--a { top: 12%; inset-inline-start: -2%; }
.hero__chip--b { bottom: 12%; inset-inline-end: 0; animation-delay: -3s; }
.hero__chip b { font-family: "Montserrat"; font-weight: 800; color: var(--sky-300); }
.hero__chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 0 rgba(62,224,143,.6); animation: ping 1.8s infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(62,224,143,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,143,0); } }

.hero__bottom { position: relative; margin-top: 40px; border-top: 1px solid var(--line-d); }
.marquee { overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: marquee 40s linear infinite; }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
.marquee__track span { font-family: var(--f-head); font-size: clamp(14px, 1.2vw, 17px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); white-space: nowrap; }
html[lang="ar"] .marquee__track span { letter-spacing: 0; }
.marquee__track i { font-style: normal; color: var(--blue-400); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

.scroll-cue { position: absolute; inset-inline-end: var(--gutter); top: -78px; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.35); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 1100px) { .scroll-cue { display: block; } }

/* ======================= SECTIONS ======================= */
.section { position: relative; padding-block: clamp(80px, 11vw, 150px); }

/* --- About --- */
.about { background: var(--paper); border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: -1px; }
.about__grid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px, 6vw, 90px); align-items: start; }
.about__main p { color: var(--ink-2); font-size: 17px; max-width: 70ch; }
.sectors { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: 0 30px 60px -40px rgba(11, 26, 51, .35); }
.sectors__label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
html[lang="ar"] .sectors__label { letter-spacing: 0; font-size: 14px; }
.sectors ul { list-style: none; margin: 0; padding: 0; }
.sectors li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-weight: 500; transition: padding .35s var(--ease-out), color .3s; cursor: default; }
.sectors li:first-child { border-top: 0; }
.sectors li .ico { color: var(--c); width: 20px; height: 20px; }
.sectors li:hover { padding-inline-start: 8px; color: var(--c); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(50px, 7vw, 90px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 24px; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat b { font-family: "Montserrat"; font-size: clamp(34px, 4vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--ink); direction: ltr; text-align: start; }
[dir="rtl"] .stat b { text-align: right; }
.stat b small { font-size: .5em; margin-inline: 4px; color: var(--blue); }
.stat span:not(.count) { color: var(--muted); font-size: 14.5px; }

.callout {
  position: relative; display: flex; gap: 24px; align-items: center;
  margin-top: clamp(40px, 5vw, 60px); padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-lg); color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-800), var(--indigo));
}
.callout::after { content: ""; position: absolute; inset-inline-end: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 40px rgba(255,255,255,.03), 0 0 0 80px rgba(255,255,255,.02); }
.callout__icon { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); }
.callout__icon .ico { width: 30px; height: 30px; }
.callout .eyebrow { color: var(--sky-300); margin-bottom: 8px; }
.callout__text { margin: 0; font-size: clamp(16px, 1.4vw, 19px); max-width: 80ch; }

/* --- Vision / Mission / Values --- */
.vmv { background: var(--paper); padding-top: 0; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm__card {
  position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg);
  transform-style: preserve-3d; overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s, opacity 1s var(--ease-out);
}
.vm__card h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; margin: 6px 0 18px; }
.vm__card p:last-child { margin: 0; font-size: 16.5px; }
.vm__card--dark { background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: #fff; }
.vm__card--dark p:last-child { color: rgba(255,255,255,.75); }
.vm__card--dark .eyebrow { color: var(--sky-300); }
.vm__card--light { background: #fff; border: 1px solid var(--line); }
.vm__card--light p:last-child { color: var(--ink-2); }
.vm__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--blue), transparent); }
.vm__card:hover { box-shadow: 0 40px 80px -40px rgba(11, 26, 51, .45); }
.vm__icon { width: 64px; height: 64px; margin-bottom: 28px; }
.vm__icon svg { width: 100%; height: 100%; fill: none; stroke-width: 1.5; }
.radar { stroke: var(--sky-300); }
.radar circle:nth-child(1) { animation: breathe 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.radar .fill { fill: var(--blue-400); stroke: none; }
.compass { stroke: var(--blue); }
.compass .needle { fill: var(--blue); stroke: none; transform-origin: 24px 24px; animation: needle 5s var(--ease) infinite; }
.compass .fill-w { fill: #fff; stroke: none; }
@keyframes needle { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(18deg); } }

.values { margin-top: 24px; display: grid; grid-template-columns: 1fr; gap: 26px; padding: clamp(28px, 4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.values__head h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; margin-bottom: 10px; }
.values__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.values__head h3 { margin: 0; }
.values__head p { color: var(--muted); margin: 0; }
.values__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.values__list li { position: relative; padding: 18px 16px 20px; border-radius: 16px; transition: background .4s, transform .5s var(--ease-out), opacity 1s var(--ease-out); }
.values__list li:hover { background: var(--paper); transform: translateY(-4px); }
.values__n { display: block; font-family: "Montserrat"; font-weight: 800; font-size: 30px; line-height: 1; color: var(--ink); margin-bottom: 14px; transition: color .3s; }
.values__list li:hover .values__n { color: var(--blue); }
.values__list li:last-child .values__n { color: var(--blue); }
.values__list h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.values__list p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* --- Services intro --- */
.services-intro { background: var(--navy-900); color: #fff; padding-block: clamp(90px, 11vw, 150px) clamp(50px, 6vw, 80px); position: relative; overflow: hidden; }
.services-intro::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 80% 0%, rgba(46,49,146,.5), transparent 70%); }
.services-intro .container { position: relative; }
.services-intro .eyebrow { color: var(--sky-300); margin-bottom: 22px; }
.services-intro .h2 { max-width: 18ch; }
html[lang="ar"] .services-intro .h2 { max-width: 22ch; }
.services-intro .h2 em { color: var(--sky-300); }
.svc-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.svc-tab {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px;
  border-radius: var(--r); border: 1px solid var(--line-d); background: rgba(255,255,255,.03);
  transition: transform .5s var(--ease-out), background .4s, border-color .4s;
  overflow: hidden;
}
.svc-tab::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--blue-400); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
[dir="rtl"] .svc-tab::after { transform-origin: right; }
.svc-tab:hover { transform: translateY(-6px); background: rgba(79,123,232,.1); border-color: rgba(111,149,242,.4); }
.svc-tab:hover::after { transform: scaleX(1); }
.svc-tab span { font-family: "Montserrat"; font-weight: 700; font-size: 13px; color: var(--sky-300); }
.svc-tab .ico { width: 34px; height: 34px; color: var(--sky-300); stroke-width: 1.3; transition: transform .6s var(--ease-out); }
.svc-tab:hover .ico { transform: scale(1.12) rotate(-6deg); }
.svc-tab b { font-family: var(--f-head); font-size: 17px; font-weight: 700; }
.svc-tab--gold span, .svc-tab--gold .ico { color: var(--gold); }
.svc-tab--gold::after { background: var(--gold); }

/* --- Service blocks --- */
.svc { position: relative; padding-block: clamp(80px, 10vw, 140px); overflow: hidden; }
.svc--dark { background: var(--navy-900); color: #fff; }
.svc--dark .lead { color: rgba(255,255,255,.7); }
.svc--dark .h2 em { color: var(--sky-300); }
.svc--dark .h2 em.gold { color: var(--gold); }
.svc--dark .eyebrow { color: var(--sky-300); }
.svc--dark .eyebrow--gold { color: var(--gold); }
.svc--dark .sec-num { color: var(--sky-300); }
.svc--dark .sec-num--gold { color: var(--gold); }
.svc--light { background: #fff; }
.svc--paper { background: var(--paper); }
.svc--solar { background: radial-gradient(900px 500px at 15% 30%, rgba(214,170,95,.12), transparent 60%), var(--navy-900); }

.svc__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.svc__grid--rev .svc__copy { order: 2; }
.sec-head--inline { margin-bottom: 18px; }

.feat { list-style: none; margin: 34px 0 0; padding: 0; }
.feat li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.svc--dark .feat li { border-color: var(--line-d); }
.feat h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.feat p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.65; }
.svc--dark .feat p { color: rgba(255,255,255,.6); }
.feat__ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: var(--blue); background: rgba(79,123,232,.09); border: 1px solid rgba(79,123,232,.15); transition: transform .5s var(--ease-out), background .4s, color .4s; }
.svc--dark .feat__ico { color: var(--sky-300); background: rgba(157,184,240,.07); border-color: var(--line-d); }
.feat li:hover .feat__ico { transform: translateY(-3px) rotate(-6deg); background: var(--blue); color: #fff; }
.feat--gold .feat__ico { color: var(--gold); background: rgba(214,170,95,.08); border-color: rgba(214,170,95,.2); }
.feat--gold li:hover .feat__ico { background: var(--gold); color: var(--navy-900); }

.svc__visual { position: relative; }
.svc__caption { text-align: center; margin-top: 12px; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.5); }
html[lang="ar"] .svc__caption { letter-spacing: 0; font-size: 14px; }
.ill { width: 100%; height: auto; overflow: visible; }

/* Broadcast illustration */
.ill--dish .ill__rings circle { fill: none; stroke: rgba(157,184,240,.14); }
.ill--dish .dish__outer { fill: rgba(79,123,232,.25); stroke: var(--blue-400); stroke-width: 2; }
.ill--dish .dish__mid { fill: rgba(10,26,54,.9); stroke: rgba(157,184,240,.5); }
.ill--dish .dish__in { fill: none; stroke: rgba(157,184,240,.4); }
.ill--dish .strut { fill: none; stroke: #e8eeff; stroke-width: 2.5; stroke-linecap: round; }
.ill--dish .feed { fill: #fff; stroke: var(--blue); stroke-width: 3; }
.ill--dish .base { fill: #e8eeff; }
.ill--dish .dish { transform-origin: 240px 250px; animation: dishSway 8s ease-in-out infinite; }
@keyframes dishSway { 50% { transform: rotate(-4deg); } }
.ill--dish .waves path { fill: none; stroke: var(--sky-300); stroke-width: 2.5; stroke-linecap: round; opacity: 0; animation: wave 2.4s ease-out infinite; }
.ill--dish .waves path:nth-child(2) { animation-delay: .4s; }
.ill--dish .waves path:nth-child(3) { animation-delay: .8s; }
@keyframes wave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.ill--dish .uplink { stroke: var(--sky-300); stroke-width: 1.5; stroke-dasharray: 4 8; animation: dashflow 1s linear infinite reverse; opacity: .7; }
.sat-float { animation: float 5s ease-in-out infinite; }

/* Tower illustration */
.ill--tower .net path { fill: none; stroke: rgba(79,123,232,.35); stroke-width: 1.5; stroke-dasharray: 3 6; }
.ill--tower .packet { fill: var(--blue); filter: drop-shadow(0 0 6px rgba(79,123,232,.9)); }
.ill--tower .endpoint rect { fill: #fff; stroke: var(--blue); stroke-width: 1.5; }
.ill--tower .tw path { fill: none; stroke: url(#towerFill); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ill--tower .tw__top { fill: var(--blue); }
.ill--tower .tw-waves path { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; opacity: 0; animation: wave 2.2s ease-out infinite; }
.ill--tower .tw-waves path:nth-child(3), .ill--tower .tw-waves path:nth-child(4) { animation-delay: .35s; }
.ill--tower .tw-waves path:nth-child(5), .ill--tower .tw-waves path:nth-child(6) { animation-delay: .7s; }
.ill--tower .tw__label { font-family: "Montserrat"; font-weight: 800; font-size: 30px; fill: var(--indigo); letter-spacing: .05em; }
.svc--light .svc__visual::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(79,123,232,.12), transparent 65%); z-index: -1; }

/* Map illustration */
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); box-shadow: 0 50px 90px -50px rgba(11,26,51,.7); }
.ill--map .map__dots circle { fill: rgba(157,184,240,.22); }
.map__coast { fill: none; stroke: rgba(157,184,240,.15); stroke-width: 40; stroke-linecap: round; }
.map__route { fill: none; stroke: var(--sky-300); stroke-width: 2.5; stroke-dasharray: 7 7; stroke-linecap: round; animation: dashflow 1.2s linear infinite; }
.map__pin { fill: var(--navy-900); stroke: var(--blue-400); stroke-width: 4; }
.map__pin--mid { stroke: var(--sky-300); }
.map__ping { fill: none; stroke: var(--blue-400); stroke-width: 2; transform-origin: 420px 80px; animation: mapPing 2s ease-out infinite; }
@keyframes mapPing { to { transform: scale(3.5); opacity: 0; } }
.map__vehicle rect { fill: #fff; filter: drop-shadow(0 0 10px rgba(157,184,240,.9)); }
.map__hud { position: absolute; inset: 18px 18px auto 18px; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 13px; }
.live { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line-d); backdrop-filter: blur(6px); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #ff5a6a; animation: ping 1.6s infinite; box-shadow: 0 0 0 0 rgba(255,90,106,.6); }
.live b { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
html[lang="ar"] .live b { letter-spacing: 0; font-size: 13px; }
.map__speed { font-family: "Montserrat"; direction: ltr; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line-d); }
.map__speed b { font-size: 16px; font-weight: 800; }
.map__legend { position: absolute; inset: auto 18px 18px auto; display: flex; gap: 8px; }
[dir="rtl"] .map__legend { inset: auto auto 18px 18px; }
.map__legend span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--sky-300); background: rgba(255,255,255,.06); border: 1px solid var(--line-d); }
.map__legend .ico { width: 20px; height: 20px; }

/* Solar illustration */
.solar { position: relative; padding: clamp(20px, 3vw, 34px); border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); border: 1px solid var(--line-d); }
.sun__core { fill: var(--gold); }
.sun__halo { fill: rgba(214,170,95,.15); animation: breathe 4s ease-in-out infinite; transform-origin: 82px 92px; }
.sun__rays { transform-origin: 82px 92px; animation: spin 30s linear infinite; }
.sun__rays path { stroke: var(--gold-300); stroke-width: 2.5; stroke-linecap: round; }
.sunbeam { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 2 5; animation: dashflow 1s linear infinite; }
.panel__frame { fill: rgba(46,49,146,.35); stroke: var(--blue-400); stroke-width: 2; }
.panel__grid { stroke: rgba(157,184,240,.55); stroke-width: 1.5; }
.panel__shine { animation: shine 4s var(--ease) infinite; }
@keyframes shine { 0% { transform: skewX(-18deg) translateX(0); } 60%, 100% { transform: skewX(-18deg) translateX(560px); } }
.wire { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 3 4; animation: dashflow .8s linear infinite; }
.solar__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-top: 10px; }
.batt, .inv { padding: 16px; border-radius: 16px; display: flex; flex-direction: column; gap: 8px; }
.batt { background: linear-gradient(150deg, var(--blue), var(--indigo)); }
.inv { border: 1.5px solid rgba(255,255,255,.7); }
.batt__label { font-family: "Montserrat"; font-weight: 800; font-size: 15px; letter-spacing: .04em; }
html[lang="ar"] .inv .batt__label { font-family: var(--f-head); letter-spacing: 0; }
.batt small, .inv small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
html[lang="ar"] :is(.batt, .inv) small { letter-spacing: 0; font-size: 13px; }
.batt__cell { height: 12px; border-radius: 4px; background: rgba(0,0,0,.25); overflow: hidden; }
.batt__cell i { display: block; height: 100%; width: var(--charge, 20%); background: linear-gradient(90deg, #3ee08f, var(--gold-300)); border-radius: 4px; transition: width .4s linear; }
.batt__pct { font-family: "Montserrat"; font-size: 13px; direction: ltr; text-align: start; }
.flow { display: flex; gap: 6px; }
.flow i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); opacity: .25; animation: flow 1.2s infinite; }
.flow i:nth-child(2) { animation-delay: .2s; }
.flow i:nth-child(3) { animation-delay: .4s; }
[dir="rtl"] .flow { flex-direction: row-reverse; }
@keyframes flow { 40% { opacity: 1; transform: scale(1.3); } }
.inv__dots { display: flex; gap: 8px; height: 12px; align-items: center; }
.inv__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--sky-300); animation: flow 1.6s infinite; }
.inv__dots i:nth-child(2) { animation-delay: .2s; }
.inv__dots i:nth-child(3) { animation-delay: .4s; }
.inv__dots i:nth-child(4) { animation-delay: .6s; }
.solar__tag { position: absolute; inset-inline-end: -12px; top: 20px; padding: 10px 16px; background: var(--gold); color: var(--navy-900); font-family: "Montserrat", var(--f-head); font-weight: 800; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; border-radius: 6px; box-shadow: 0 14px 30px -10px rgba(214,170,95,.6); animation: float 5s ease-in-out infinite; }
html[lang="ar"] .solar__tag { letter-spacing: 0; font-size: 14px; }

/* --- Trading --- */
.trading { background: #fff; }
.trading__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: end; margin-bottom: 50px; }
.trading__head .lead { margin-bottom: 22px; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product {
  position: relative; padding: 30px 26px 34px; border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line); overflow: hidden;
  transition: transform .6s var(--ease-out), box-shadow .5s, background .5s, color .5s, opacity 1s var(--ease-out);
}
.product:hover { transform: translateY(-8px); background: var(--navy-850); color: #fff; box-shadow: 0 40px 70px -35px rgba(11,26,51,.7); }
.product__n { position: absolute; inset-inline-end: 24px; top: 24px; font-family: "Montserrat"; font-weight: 800; font-size: 13px; color: var(--blue); }
.product__ico { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: var(--blue); margin-bottom: 40px; box-shadow: 0 12px 30px -16px rgba(11,26,51,.35); transition: transform .6s var(--ease-out), background .5s, color .5s; }
.product__ico .ico { width: 30px; height: 30px; stroke-width: 1.4; }
.product:hover .product__ico { background: var(--blue); color: #fff; transform: rotate(-8deg) scale(1.05); }
.product h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.product p { font-size: 14.5px; color: var(--muted); margin: 0; transition: color .5s; }
.product:hover p { color: rgba(255,255,255,.7); }

.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(111,149,242,.22), transparent 45%);
}
.spot:hover::before { opacity: 1; }

.aftersales { display: flex; align-items: center; gap: 22px; margin-top: 18px; padding: 26px 30px; border-radius: var(--r-lg); border: 1px dashed rgba(79,123,232,.4); background: linear-gradient(90deg, rgba(79,123,232,.06), transparent); }
.aftersales__ico { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.aftersales h4 { font-size: 18px; margin-bottom: 4px; }
.aftersales p { margin: 0; color: var(--muted); font-size: 15px; }

/* --- Leadership --- */
.leader { background: var(--paper); }
.leader__grid { display: grid; grid-template-columns: 420px 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.leader__avatar { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(circle at 50% 40%, var(--navy-700), var(--navy-900) 70%); }
.leader__avatar svg { width: 100%; height: 100%; }
.leader__avatar .lr { fill: none; stroke: rgba(157,184,240,.2); stroke-dasharray: 4 6; transform-origin: 150px 150px; animation: spin 50s linear infinite; }
.leader__avatar .lr--2 { animation-direction: reverse; animation-duration: 35s; stroke-dasharray: none; }
.leader__avatar .lh, .leader__avatar .lb { fill: #24508f; }
.leader__avatar .lt { fill: none; stroke: var(--blue-400); stroke-width: 4; stroke-linejoin: round; }
.leader__avatar .la { stroke: #fff; stroke-width: 2; }
.leader__avatar .la-dot { fill: #fff; animation: breathe 2s infinite; transform-origin: 150px 58px; }
.leader__office { position: absolute; inset-inline-start: 24px; bottom: 22px; font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--sky-300); }
html[lang="ar"] .leader__office { letter-spacing: 0; font-size: 13px; }
.leader__name { margin-top: 26px; }
.leader__name h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; }
.leader__name p { color: var(--blue); font-weight: 500; margin: 4px 0 0; }
.leader__copy > p { color: var(--ink-2); font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 34px; }
.tags span { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); transition: border-color .3s, color .3s, background .3s; }
html[lang="ar"] .tags span { letter-spacing: 0; font-size: 14px; }
.tags span:hover { border-color: var(--blue); color: var(--blue); background: rgba(79,123,232,.05); }
.philo { margin: 0; padding: 30px 34px; border-radius: var(--r); background: var(--navy-850); color: rgba(255,255,255,.85); border-inline-start: 4px solid var(--blue); }
.philo .eyebrow { color: var(--sky-300); margin-bottom: 12px; }
.philo p:last-child { margin: 0; font-size: 16.5px; }
.philo em { color: var(--sky-300); }

/* --- Contact --- */
.contact { position: relative; padding-top: clamp(90px, 11vw, 150px); color: #fff; overflow: hidden; background: radial-gradient(900px 600px at 90% 30%, rgba(46,49,146,.45), transparent 65%), linear-gradient(180deg, var(--navy-850), var(--navy-950)); }
.contact__rings { position: absolute; inset-inline-end: -220px; top: 60px; width: 700px; height: 700px; pointer-events: none; }
.contact__rings i { position: absolute; inset: calc(var(--k, 0) * 60px); border-radius: 50%; border: 1px solid rgba(157,184,240,.12); animation: breathe 6s ease-in-out infinite; }
.contact__rings i:nth-child(2) { --k: 1; animation-delay: .5s; }
.contact__rings i:nth-child(3) { --k: 2; animation-delay: 1s; }
.contact__rings i:nth-child(4) { --k: 3; animation-delay: 1.5s; }
.contact__rings i:nth-child(5) { --k: 4; animation-delay: 2s; }
.contact .container { position: relative; }
.contact .eyebrow { color: var(--sky-300); margin-bottom: 22px; }
.contact .h2 { max-width: 16ch; }
html[lang="ar"] .contact .h2 { max-width: 20ch; }
.contact .h2 em { color: var(--sky-300); }
.contact .lead { color: rgba(255,255,255,.7); max-width: 70ch; }
.contact__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); margin-top: 60px; padding-top: 50px; border-top: 1px solid var(--line-d); }
.contact__intro h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; margin-bottom: 10px; }
.contact__intro p { color: rgba(255,255,255,.65); }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ccard {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 24px;
  border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid var(--line-d); overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .4s, background .4s, opacity 1s var(--ease-out);
}
.ccard:hover { transform: translateY(-5px); border-color: rgba(111,149,242,.5); background: rgba(79,123,232,.08); }
.ccard__ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(79,123,232,.15); color: var(--sky-300); margin-bottom: 14px; }
.ccard__ico--wa { background: rgba(37,211,102,.14); color: #48e083; }
.ccard__label { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sky-300); }
html[lang="ar"] .ccard__label { letter-spacing: 0; font-size: 13px; }
.ccard b { font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; word-break: break-word; }
[dir="rtl"] .ccard b.ltr { text-align: right; }
.ccard small { color: rgba(255,255,255,.5); font-size: 13px; }
.copy { position: absolute; top: 18px; inset-inline-end: 18px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: rgba(255,255,255,.6); border: 1px solid var(--line-d); opacity: 0; transition: opacity .3s, background .3s, color .3s; }
.copy .ico { width: 16px; height: 16px; }
.ccard:hover .copy, .copy:focus-visible { opacity: 1; }
.copy:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (hover: none) { .copy { opacity: 1; } }

.footer { margin-top: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line-d); padding-block: 34px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer__tag { margin: 0; font-style: italic; color: rgba(255,255,255,.55); font-size: 14px; }
html[lang="ar"] .footer__tag { font-style: normal; }
.footer__copy { margin: 0; font-size: 13px; color: rgba(255,255,255,.45); }
.footer__credit { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-d); text-align: center; font-size: 13px; }
.footer__credit a { color: rgba(255,255,255,.45); transition: color .3s; }
.footer__credit b { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--sky-300); transition: color .3s; }
.footer__credit a:hover, .footer__credit a:hover b { color: #fff; }

/* --- Floating UI --- */
.wa-float, .to-top { position: fixed; z-index: 90; bottom: 22px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; transition: transform .5s var(--ease-out), opacity .4s; }
.wa-float { inset-inline-end: 22px; background: #25d366; color: #fff; box-shadow: 0 14px 34px -10px rgba(37,211,102,.7); }
.wa-float .ico { width: 26px; height: 26px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waRing 2.4s ease-out infinite; }
@keyframes waRing { to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.js .wa-float:not(.show) { opacity: 0; transform: scale(.6); pointer-events: none; }
.to-top { inset-inline-end: 88px; width: 46px; height: 46px; bottom: 26px; background: rgba(7,18,38,.8); color: #fff; border: 1px solid var(--line-d); backdrop-filter: blur(8px); opacity: 0; transform: translateY(20px); pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); }
.toast { position: fixed; z-index: 150; left: 50%; bottom: 30px; transform: translate(-50%, 30px); padding: 12px 20px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: 0 20px 40px -10px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .3s, transform .5s var(--ease-out); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.tilt { will-change: transform; }

/* ======================= RESPONSIVE ======================= */
@media (max-width: 1100px) {
  .values__list { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .leader__grid { grid-template-columns: 340px 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 28px;
    background: rgba(7, 18, 38, .97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-d);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .6s var(--ease-out);
  }
  .nav-open .nav { clip-path: inset(0 0 0 0); }
  .nav-open .header::before { opacity: 1; }
  .nav a { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line-d); border-radius: 0; opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .5s var(--ease-out), color .3s; }
  .nav-open .nav a { opacity: 1; transform: none; }
  .nav-open .nav a:nth-child(2) { transition-delay: .05s; }
  .nav-open .nav a:nth-child(3) { transition-delay: .1s; }
  .nav-open .nav a:nth-child(4) { transition-delay: .15s; }
  .nav-open .nav a:nth-child(5) { transition-delay: .2s; }
  .nav a::after { display: none; }
  .nav__cta-mobile { display: block; }

  .hero__grid { grid-template-columns: 1fr; gap: 10px; }
  .hero__visual { order: -1; max-width: 340px; justify-self: center; margin-block: -10px -20px; }
  .hero__chip { font-size: 12px; padding: 8px 12px; }
  .about__grid { grid-template-columns: 1fr; }
  .sectors { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .vm { grid-template-columns: 1fr; }
  .svc-tabs { grid-template-columns: 1fr 1fr; }
  .svc__grid { grid-template-columns: 1fr; }
  .svc__grid--rev .svc__copy { order: 0; }
  .svc__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .trading__head { grid-template-columns: 1fr; }
  .leader__grid { grid-template-columns: 1fr; }
  .leader__card { max-width: 420px; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand__text small { display: none; }
  .brand__text strong { font-size: 14px; }
  .hero { padding-top: calc(var(--header-h) + 16px); }
  .hero__visual { max-width: 280px; }
  .hero__chip--a { inset-inline-start: -4%; top: 4%; }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: center; }
  .callout { flex-direction: column; align-items: flex-start; }
  .values__list { grid-template-columns: 1fr 1fr; }
  .values__list li { padding-inline: 0; }
  .values__list li:hover { background: none; transform: none; }
  .svc-tabs { gap: 10px; }
  .svc-tab { padding: 18px; gap: 12px; }
  .svc-tab b { font-size: 15px; }
  .feat li { grid-template-columns: 44px 1fr; gap: 14px; }
  .feat__ico { width: 44px; height: 44px; border-radius: 12px; }
  .products { grid-template-columns: 1fr; }
  .aftersales { flex-direction: column; align-items: flex-start; }
  .cards { grid-template-columns: 1fr; }
  .solar__row { grid-template-columns: 1fr; }
  .flow { justify-content: center; transform: rotate(90deg); }
  .solar__tag { inset-inline-end: 10px; top: -14px; }
  .to-top { display: none; }
  .wa-float { width: 50px; height: 50px; bottom: 16px; inset-inline-end: 16px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .split .w > span { opacity: 1; transform: none; }
}
