/* ==========================================================================
   Tradsvia — premium dark cinematic theme
   ========================================================================== */
:root {
  --bg: #05070d;
  --bg-2: #0a1020;
  --navy: #0d1a33;
  --ink: #eef0f4;
  --ink-2: #b9bfcc;
  --ink-3: #7c8496;
  --gold: #c9a45c;
  --gold-2: #e6c78a;
  --gold-3: #f6e3b4;
  --gold-dim: rgba(201, 164, 92, .18);
  --line: rgba(255, 255, 255, .08);
  --line-gold: rgba(201, 164, 92, .28);
  --glass: rgba(14, 22, 42, .42);
  --glass-2: rgba(20, 30, 56, .55);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}
html[lang="ar"] {
  --f-display: "Noto Kufi Arabic", "IBM Plex Sans Arabic", serif;
  --f-body: "IBM Plex Sans Arabic", "Noto Kufi Arabic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #05070d; }

/* ---------- Scene layers ---------- */
#globe {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  display: block;
}
.scene-veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(5,7,13,.0), rgba(5,7,13,.0) 40%, rgba(5,7,13,.6) 100%),
    linear-gradient(180deg, rgba(5,7,13,.0) 0%, rgba(5,7,13,.0) 70%, rgba(5,7,13,.65) 100%);
  opacity: var(--veil, 0);
  transition: opacity .2s linear;
}
.scene-veil::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(5,7,13,.78);
}
.grain {
  position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: .05;
  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='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer, .nav { position: relative; z-index: 3; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-content: center; gap: 28px; justify-items: center;
  transition: opacity 1s var(--ease), visibility 1s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-mark svg { width: 56px; height: 56px; fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.6s var(--ease) forwards; }
.loader-line { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.loader-line span { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); animation: slide 1.2s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Typography helpers ---------- */
.gold-text {
  background: linear-gradient(100deg, #b8904a 0%, #f6e3b4 35%, #c9a45c 60%, #f1d79f 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s ease-in-out infinite;
}
@keyframes sheen { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2);
  padding: 8px 16px; border: 1px solid var(--line-gold); border-radius: 100px;
  background: rgba(201,164,92,.06); backdrop-filter: blur(8px);
  margin: 0 0 28px;
}
html[lang="ar"] .eyebrow, html[lang="ar"] .kicker { letter-spacing: 0; font-size: 13px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.kicker {
  display: flex; align-items: center; gap: 14px; margin: 0 0 20px;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2);
}
.kicker span:first-child { font-family: var(--f-display); font-size: 15px; letter-spacing: .05em; color: var(--gold); padding-inline-end: 14px; border-inline-end: 1px solid var(--line-gold); }
.center .kicker { justify-content: center; }
.h2 {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(34px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -.01em;
  margin: 0 0 22px; max-width: 18ch;
}
html[lang="ar"] .h2 { line-height: 1.35; font-size: clamp(28px, 3.8vw, 50px); }
.center .h2 { margin-inline: auto; }
.lead { color: var(--ink-2); font-size: clamp(16px, 1.25vw, 18.5px); max-width: 56ch; margin: 0 0 32px; font-weight: 300; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 28px; border-radius: 100px; border: 0; cursor: pointer;
  font-size: 14.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s, color .4s, border-color .4s;
  isolation: isolate; overflow: hidden;
}
.btn-sm { --h: 42px; padding: 0 20px; font-size: 13px; }
.btn .arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn-gold {
  color: #1a1408;
  background: linear-gradient(135deg, #f3dca6 0%, #c9a45c 45%, #a8823f 100%);
  box-shadow: 0 10px 30px -10px rgba(201,164,92,.55), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(201,164,92,.7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-3); transform: translateY(-2px); }

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(160deg, rgba(24,36,66,.5), rgba(8,13,26,.38));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  transition: padding .5s var(--ease), background .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { padding-top: 14px; padding-bottom: 14px; background: rgba(5,7,13,.72); backdrop-filter: blur(18px); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; }
.brand-mark .orbit { stroke: var(--gold-3); stroke-width: 1.4; opacity: .7; }
.brand-word { font-family: "Cormorant Garamond", serif; font-size: 25px; font-weight: 600; letter-spacing: .04em; }
.nav-links { display: flex; gap: 26px; font-size: 13.5px; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,.03); }
.lang-btn { border: 0; background: none; cursor: pointer; padding: 6px 12px; border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--ink-3); transition: all .3s; }
.lang-btn[data-lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; }
.lang-btn.is-active { background: var(--gold-dim); color: var(--gold-3); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.03); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { bottom: 16px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(96px, 14vh, 160px) 0; }
.section-head { margin-bottom: clamp(48px, 7vw, 80px); }
.section-head.center { text-align: center; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.split-head .lead { margin-bottom: 22px; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; position: relative; padding: 120px var(--gutter) 120px; }
.hero-inner { max-width: 760px; position: relative; z-index: 2; }
.hero-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(46px, 7.4vw, 108px); line-height: .98; letter-spacing: -.015em;
  margin: 0 0 30px;
}
html[lang="ar"] .hero-title { line-height: 1.3; font-size: clamp(38px, 5.6vw, 80px); letter-spacing: 0; }
.hero-title .line { display: block; }
.hero-sub { font-size: clamp(17px, 1.45vw, 21px); color: var(--ink-2); max-width: 52ch; font-weight: 300; margin: 0 0 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }
.hero-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; }
.hero-meta li { padding: 0 32px; border-inline-start: 1px solid var(--line-gold); display: grid; }
.hero-meta li:first-child { padding-inline-start: 0; border: 0; }
.hero-meta strong { font-family: var(--f-display); font-size: 32px; font-weight: 500; color: var(--gold-3); line-height: 1.1; }
html[lang="ar"] .hero-meta strong { font-family: "Cormorant Garamond", serif; }
.hero-meta strong, .stat strong { direction: ltr; unicode-bidi: isolate; justify-self: start; }
.hero-meta span { font-size: 12.5px; color: var(--ink-3); letter-spacing: .02em; }
.hero-legend {
  position: absolute; inset-inline-end: var(--gutter); bottom: 48px; z-index: 2;
  display: flex; flex-direction: column; gap: 10px; font-size: 12px; color: var(--ink-3);
}
.hero-legend span { display: flex; align-items: center; gap: 10px; }
.hero-legend b { font-weight: 400; }
.lg { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.lg-eu { background: #f2d38f; box-shadow: 0 0 10px #f2d38f; }
.lg-me { background: #fff3d8; box-shadow: 0 0 10px #fff; }
.lg-route { width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold-2)); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3);
}
html[lang="ar"] .scroll-cue { letter-spacing: 0; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-3); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { to { top: 110%; } }

/* ---------- Network ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { padding: 24px 24px 22px; display: grid; gap: 4px; transition: border-color .4s, transform .5s var(--ease); }
.stat:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.stat strong { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 44px; line-height: 1; color: var(--gold-3); }
.stat span { font-size: 13px; color: var(--ink-3); }
.lanes { padding: 28px; }
.lanes-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
html[lang="ar"] .lanes-head { letter-spacing: 0; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #6fd39b; box-shadow: 0 0 10px #6fd39b; animation: pulse 1.6s infinite; }
.lane-list { list-style: none; margin: 0; padding: 0; }
.lane-list li {
  display: grid; grid-template-columns: 1fr 1.3fr 1fr auto; gap: 16px; align-items: center;
  padding: 16px 4px; border-top: 1px solid var(--line); font-size: 15px;
  transition: background .3s, padding .4s var(--ease);
}
.lane-list li:hover { background: rgba(201,164,92,.05); padding-inline: 12px; }
.lane-list .to { text-align: end; }
.lane-list em { font-style: normal; font-size: 11.5px; color: var(--ink-3); min-width: 82px; text-align: end; }
.path { position: relative; height: 1px; background: linear-gradient(90deg, var(--line-gold), var(--gold), var(--line-gold)); }
.path::before, .path::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--gold); background: var(--bg); }
.path::before { inset-inline-start: 0; } .path::after { inset-inline-end: 0; background: var(--gold); }
.mode { position: absolute; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-3); box-shadow: 0 0 14px var(--gold-2); animation: travel 3.6s linear infinite; }
.mode.air { animation-duration: 2.2s; }
.mode.land { animation-duration: 4.8s; }
@keyframes travel { from { left: 0; } to { left: calc(100% - 9px); } }
html[dir="rtl"] .mode { animation-name: travel-rtl; }
@keyframes travel-rtl { from { right: 0; } to { right: calc(100% - 9px); } }

/* ---------- Journey ---------- */
.journey { position: relative; perspective: 1400px; }
.journey-line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 220px; overflow: visible; pointer-events: none; }
html[dir="rtl"] .journey-line { transform: scaleX(-1); }
.jl-base { fill: none; stroke: rgba(201,164,92,.18); stroke-width: 1.2; stroke-dasharray: 3 7; }
.jl-glow { fill: none; stroke: url(#jl); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 220 1400; stroke-dashoffset: 1620; filter: drop-shadow(0 0 6px rgba(240,210,140,.8)); animation: trail 5s linear infinite; }
@keyframes trail { to { stroke-dashoffset: 0; } }
.nodes { list-style: none; padding: 0; margin: 0; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; transform-style: preserve-3d; }
.node { text-align: center; padding-top: 52px; transform-style: preserve-3d; }
.node:nth-child(even) { padding-top: 122px; }
.node-orb {
  position: relative; width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, rgba(246,227,180,.35), rgba(201,164,92,.08) 38%, rgba(10,16,32,.9) 70%);
  border: 1px solid var(--line-gold);
  box-shadow: 0 0 0 8px rgba(201,164,92,.04), 0 20px 50px -18px rgba(201,164,92,.5), inset 0 -10px 24px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.12);
  transform: translateZ(0) rotateX(0);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
  animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1s);
}
.node-orb::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(201,164,92,.25); animation: spin 26s linear infinite; }
.node-orb svg { width: 32px; height: 32px; fill: none; stroke: var(--gold-3); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.node-orb span { position: absolute; top: -6px; inset-inline-end: -6px; font-family: "Cormorant Garamond", serif; font-size: 13px; color: var(--gold-2); background: var(--bg); border: 1px solid var(--line-gold); border-radius: 100px; padding: 2px 8px; }
.node:hover .node-orb { transform: translateZ(60px) rotateX(14deg) scale(1.06); box-shadow: 0 0 0 10px rgba(201,164,92,.08), 0 30px 70px -18px rgba(230,199,138,.75), inset 0 -10px 24px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.2); }
.node h3 { font-family: var(--f-display); font-weight: 500; font-size: 22px; margin: 0 0 6px; }
html[lang="ar"] .node h3 { font-size: 18px; }
.node p { font-size: 13.5px; color: var(--ink-3); margin: 0 auto; max-width: 20ch; }
.node.lit .node-orb { border-color: var(--gold); }
@keyframes bob { 50% { translate: 0 -8px; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { position: relative; padding: 30px 26px 34px; min-height: 270px; overflow: hidden; transform-style: preserve-3d; transition: border-color .5s, transform .5s var(--ease), box-shadow .5s; }
.svc::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(230,199,138,.16), transparent 45%);
}
.svc::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); transform: scaleX(0); transition: transform .7s var(--ease); }
.svc:hover { border-color: var(--line-gold); box-shadow: 0 40px 80px -40px rgba(201,164,92,.35); }
.svc:hover::before { opacity: 1; }
.svc:hover::after { transform: scaleX(1); }
.svc-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 26px; background: rgba(201,164,92,.08); border: 1px solid var(--line-gold); transform: translateZ(30px); }
.svc-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-family: var(--f-display); font-weight: 500; font-size: 24px; line-height: 1.15; margin: 0 0 12px; transform: translateZ(20px); }
html[lang="ar"] .svc h3 { font-size: 19px; line-height: 1.5; }
.svc p { font-size: 14px; color: var(--ink-3); margin: 0; }
.svc-n { position: absolute; top: 24px; inset-inline-end: 26px; font-family: "Cormorant Garamond", serif; font-size: 14px; color: var(--ink-3); }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.ind { position: relative; padding: 36px 28px 40px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); min-height: 210px; overflow: hidden; transition: background .5s; background: rgba(5,7,13,.35); backdrop-filter: blur(6px); }
.ind::before { content: ""; position: absolute; inset: auto 0 0 0; height: 0; background: linear-gradient(0deg, rgba(201,164,92,.14), transparent); transition: height .6s var(--ease); }
.ind:hover::before { height: 100%; }
.ind-n { font-family: "Cormorant Garamond", serif; font-size: 14px; color: var(--gold); display: block; margin-bottom: 46px; position: relative; }
.ind h3 { position: relative; font-family: var(--f-display); font-weight: 500; font-size: 23px; line-height: 1.2; margin: 0 0 8px; transition: transform .5s var(--ease); }
html[lang="ar"] .ind h3 { font-size: 18px; line-height: 1.5; }
.ind p { position: relative; font-size: 13.5px; color: var(--ink-3); margin: 0; }
.ind:hover h3 { transform: translateY(-4px); color: var(--gold-3); }

/* ---------- Why ---------- */
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.why-item { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(10,16,32,.45); backdrop-filter: blur(12px); transition: border-color .4s, transform .5s var(--ease), background .4s; }
.why-item:hover { border-color: var(--line-gold); transform: translateX(6px); background: rgba(20,30,56,.55); }
html[dir="rtl"] .why-item:hover { transform: translateX(-6px); }
.why-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-gold); background: rgba(201,164,92,.06); }
.why-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { margin: 2px 0 4px; font-size: 16.5px; font-weight: 600; }
.why-item p { margin: 0; font-size: 14px; color: var(--ink-3); }
.quote { margin: 8px 0 0; padding: 28px 30px; border-inline-start: 2px solid var(--gold); }
.quote p { margin: 0 0 12px; font-family: var(--f-display); font-style: italic; font-size: 23px; line-height: 1.4; color: var(--ink); }
html[lang="ar"] .quote p { font-style: normal; font-size: 18px; line-height: 1.8; }
.quote cite { font-style: normal; font-size: 13px; color: var(--gold-2); }

/* ---------- Models ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.mod { position: relative; padding: 38px 34px; display: flex; flex-direction: column; transition: transform .6s var(--ease), border-color .5s; }
.mod:hover { transform: translateY(-6px); border-color: var(--line-gold); }
.mod.featured { border-color: var(--line-gold); background: linear-gradient(160deg, rgba(60,48,24,.35), rgba(12,18,34,.6)); box-shadow: 0 40px 90px -40px rgba(201,164,92,.45), inset 0 1px 0 rgba(246,227,180,.15); }
.mod-badge { position: absolute; top: -13px; inset-inline-start: 34px; margin: 0; padding: 4px 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border-radius: 100px; color: #1a1408; background: linear-gradient(135deg, #f3dca6, #c9a45c); font-weight: 700; }
html[lang="ar"] .mod-badge { letter-spacing: 0; }
.mod-tag { margin: 0 0 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
html[lang="ar"] .mod-tag { letter-spacing: 0; }
.mod h3 { font-family: var(--f-display); font-weight: 500; font-size: 32px; margin: 0 0 14px; line-height: 1.1; }
html[lang="ar"] .mod h3 { font-size: 24px; line-height: 1.5; }
.mod-d { color: var(--ink-2); font-size: 15px; margin: 0 0 24px; font-weight: 300; }
.mod ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; flex: 1; align-content: start; }
.mod li { position: relative; padding-inline-start: 26px; font-size: 14.5px; }
.mod li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 12px; height: 6px; border-inline-start: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
html[dir="rtl"] .mod li::before { transform: rotate(45deg); }
.mod-fee { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--gold-3); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 0; }
.contact-points li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.contact-points span { color: var(--ink-3); }
.contact-points strong { font-weight: 500; }
.contact-points a { color: var(--gold-3); }
.promise { display: flex; gap: 18px; align-items: center; padding: 20px 22px; }
.promise-ico { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: "Cormorant Garamond", serif; font-size: 20px; color: var(--gold-3); border: 1px solid var(--line-gold); background: rgba(201,164,92,.08); }
.promise p { margin: 0; font-size: 13.5px; color: var(--ink-2); }

.quote-form, form.quote { padding: clamp(24px, 3.4vw, 44px); border-inline-start: 1px solid var(--line); position: relative; }
.form-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.form-head h3 { font-family: var(--f-display); font-weight: 500; font-size: 30px; margin: 0; }
html[lang="ar"] .form-head h3 { font-size: 24px; }
.form-steps { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.form-steps li { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--ink-3); border: 1px solid var(--line); transition: all .4s; }
.form-steps li.on { color: #1a1408; background: var(--gold); border-color: var(--gold); }
.form-steps li.done { color: var(--gold-3); border-color: var(--gold); }
.fs { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.fs.is-active { display: grid; gap: 16px; animation: fadeUp .6s var(--ease); }
.fs legend { padding: 0; margin-bottom: 6px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
html[lang="ar"] .fs legend { letter-spacing: 0; font-size: 13px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row.three { grid-template-columns: 1fr 1fr 1fr; }
.field { display: grid; gap: 8px; position: relative; }
.field > span { font-size: 12.5px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(5,8,16,.55); border: 1px solid rgba(255,255,255,.1);
  outline: none; transition: border-color .3s, box-shadow .3s, background .3s;
  font-size: 15px;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a45c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: right 14px center; padding-inline-end: 40px; }
html[dir="rtl"] .field select { background-position: left 14px center; }
.field select option { background: #0a1020; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #545c6e; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: rgba(10,16,32,.8); box-shadow: 0 0 0 4px rgba(201,164,92,.12); }
.field input[type="date"] { color-scheme: dark; }
.err { display: none; font-style: normal; font-size: 12px; color: #e58f7a; }
.invalid .err { display: block; }
.invalid input, .invalid select, .invalid textarea { border-color: rgba(229,143,122,.7); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,.12); font-size: 13px; color: var(--ink-2); transition: all .3s; }
.chip:hover span { border-color: var(--line-gold); }
.chip input:checked + span { border-color: var(--gold); color: var(--gold-3); background: rgba(201,164,92,.12); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(201,164,92,.3); }
.file { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px dashed var(--line-gold); border-radius: 12px; cursor: pointer; font-size: 13.5px; color: var(--ink-2); transition: background .3s; }
.file:hover { background: rgba(201,164,92,.05); }
.file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 13px; color: var(--ink-3); cursor: pointer; align-items: start; }
.consent input { width: 18px; height: 18px; accent-color: var(--gold); margin: 2px 0 0; }
.consent .err { grid-column: 2; }
.form-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.form-nav [hidden] { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(232,110,110,.35); background: rgba(232,110,110,.08); color: #f1b4b4; font-size: 14px; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.form-success { text-align: center; padding: 40px 10px; animation: fadeUp .7s var(--ease); }
.form-success h3 { font-family: var(--f-display); font-weight: 500; font-size: 34px; margin: 18px 0 10px; }
.form-success p { color: var(--ink-2); max-width: 42ch; margin: 0 auto 12px; }
.form-success .ref { font-size: 13px; color: var(--ink-3); }
.form-success .ref strong { color: var(--gold-3); letter-spacing: .08em; }
.check svg { width: 78px; height: 78px; margin: 0 auto; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.check circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s var(--ease) forwards; }
.check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .7s var(--ease) forwards; }
form.sent .fs, form.sent .form-nav, form.sent .form-head .form-steps { display: none !important; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(5,7,13,.85); backdrop-filter: blur(12px); padding: 72px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.footer-brand p { color: var(--ink-3); font-size: 14px; max-width: 36ch; margin: 18px 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h4 { margin: 0 0 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; }
html[lang="ar"] .footer-cols h4 { letter-spacing: 0; }
.footer-cols a, .footer-cols span { display: block; color: var(--ink-3); font-size: 14px; padding: 4px 0; transition: color .3s; }
.footer-cols a:hover { color: var(--gold-3); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }

/* ---------- About ---------- */
.about-p { color: var(--ink-3); font-size: 15.5px; line-height: 1.8; max-width: 58ch; margin: 0; }
.about-pillars { display: grid; gap: 16px; }
.pillar { display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: start; padding: 26px 28px; transition: border-color .4s, transform .4s var(--ease); }
.pillar:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.pillar h3 { font-family: var(--f-display); font-weight: 500; font-size: 24px; margin: 4px 0 6px; color: var(--ink); }
.pillar p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }
.pillar-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-gold); background: rgba(201,164,92,.06); }
.pillar-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.about-facts { list-style: none; padding: 0; margin: clamp(56px, 8vw, 96px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.about-facts li { padding: 28px 24px 0 0; display: grid; gap: 6px; }
.about-facts li + li { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.about-facts strong { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); color: var(--gold-3); line-height: 1.1; }
.about-facts span { color: var(--ink-3); font-size: 13.5px; }
@media (max-width: 960px) {
  .about-facts { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .about-facts li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
}
@media (max-width: 640px) {
  .pillar { grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 20px; }
  .pillar-ico { width: 44px; height: 44px; }
  .about-facts { background: rgba(5,7,13,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px 22px; }
  .about-facts strong { font-size: 24px; }
  .about-facts li { padding-top: 18px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .5s; }
.node.reveal { transition-delay: calc(var(--i) * .12s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 16px; font-size: 13px; }
  .svc-grid, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .nodes { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .node:nth-child(even) { padding-top: 52px; }
  .journey-line { display: none; }
}
@media (max-width: 960px) {
  .nav-links {
    position: fixed; inset: 0 0 auto 0; top: 0; padding: 96px var(--gutter) 32px;
    flex-direction: column; gap: 4px; font-size: 22px; font-family: var(--f-display);
    background: rgba(5,7,13,.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line);
    transform: translateY(-100%); transition: transform .6s var(--ease); z-index: -1;
  }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav.open .nav-links { transform: none; }
  .burger { display: block; }
  .split, .split-head, .contact-wrap { grid-template-columns: 1fr; }
  .mod-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .hero-legend { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { padding-top: 16px; padding-bottom: 16px; }
  .nav-actions .btn-sm { display: none; }
  .nav-actions { gap: 8px; }
  .lang-btn { padding: 6px 8px; font-size: 11px; }
  .brand-word { font-size: 22px; }
  .hero { align-items: flex-end; padding-top: 42vh; padding-bottom: 72px; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, transparent 32%, rgba(5,7,13,.78) 52%, rgba(5,7,13,.92) 100%); }
  .eyebrow { font-size: 10.5px; letter-spacing: .14em; padding: 7px 12px; }
  .hero-title { font-size: clamp(40px, 11vw, 56px); }
  .hero-cta { margin-bottom: 40px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-meta li { padding: 0 12px; }
  .hero-meta strong { font-size: 20px; }
  .hero-meta span { font-size: 11px; line-height: 1.4; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 18px; }
  .stat strong { font-size: 34px; }
  .lanes { padding: 20px 16px; }
  .lane-list li { grid-template-columns: 1fr 60px 1fr; font-size: 14px; }
  .lane-list em { display: none; }
  .nodes { grid-template-columns: repeat(2, 1fr); }
  .node-orb { width: 80px; height: 80px; }
  .svc-grid, .ind-grid { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .ind { min-height: 0; padding: 26px 22px; }
  .ind-n { margin-bottom: 18px; }
  .row, .row.three { grid-template-columns: 1fr; }
  .form-nav .btn { flex: 1; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .contact-points li { flex-direction: column; gap: 2px; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
