/* ==========================================================================
   المسار الأول للحلول البرمجية — صفحة من نحن (نسخة النخبة)
   ========================================================================== */
:root{
  /* الهوية */
  --navy:#061522;
  --navy-2:#0A2135;
  --navy-3:#0E2A40;
  --blue:#004080;
  --sky:#1080C0;
  --focus:#79D6FF;
  --bg:#FFFFFF;
  --bg-soft:#F5F8FC;
  --ink:#0B1B29;
  --text:#33475C;
  --text-2:#64748B;
  --border:#DCE4EE;
  --line:rgba(16,128,192,.16);
  --on-dark:#E7F0F9;
  --on-dark-2:#9DB4C8;

  --font-ar:"IBM Plex Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;
  --font-en:"Inter","IBM Plex Sans Arabic","Segoe UI",Arial,sans-serif;

  --e-out:cubic-bezier(.22,1,.36,1);
  --e-io:cubic-bezier(.65,0,.35,1);
  --e-spring:cubic-bezier(.5,1.5,.4,1);
  --d-fast:180ms; --d-med:320ms; --d-slow:620ms;

  --r-sm:10px; --r-md:14px; --r-lg:20px; --r-xl:28px; --r-pill:999px;
  --sh-1:0 1px 2px rgba(6,21,34,.06),0 2px 8px rgba(6,21,34,.05);
  --sh-2:0 10px 30px rgba(6,21,34,.10),0 2px 6px rgba(6,21,34,.05);
  --sh-3:0 24px 64px rgba(6,21,34,.16);

  --container:1240px;
  --page-pad:24px;
  --header-h:76px;
  --z-loader:600; --z-header:100; --z-menu:200;
}
@media (min-width:1024px){ :root{ --page-pad:48px; } }

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
  overflow-x:clip;
}
body{
  font-family:var(--font-ar);
  color:var(--text);
  background:var(--bg);
  line-height:1.75;
  font-size:16px;
  overflow-x:clip;
  min-width:0;
}
html[dir="ltr"] body{ font-family:var(--font-en); line-height:1.65; }
img,svg,canvas,video{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ list-style:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
h1,h2,h3,h4{ line-height:1.25; font-weight:700; color:var(--ink); }
p{ color:var(--text-2); }
::selection{ background:var(--sky); color:#fff; }
:focus-visible{ outline:3px solid var(--focus); outline-offset:2px; border-radius:6px; }

.skip-link{
  position:fixed; top:-70px; inset-inline-start:16px; z-index:700;
  background:var(--navy); color:#fff; padding:10px 18px; border-radius:var(--r-sm);
  transition:top var(--d-fast) var(--e-out);
}
.skip-link:focus{ top:12px; }

.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--page-pad); }
.section{ padding-block:clamp(72px,9vw,124px); position:relative; }
.section--soft{ background:var(--bg-soft); }
.section--dark{
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(16,128,192,.22), transparent 60%),
    linear-gradient(160deg,var(--navy) 0%,#082437 60%,#0A2E46 100%);
  color:var(--on-dark);
}
.section--dark h2,.section--dark h3{ color:#fff; }
.section--dark p{ color:var(--on-dark-2); }

/* رؤوس الأقسام المرقّمة */
.sec-head{ max-width:680px; margin-bottom:clamp(40px,5vw,64px); position:relative; }
.sec-head--center{ margin-inline:auto; text-align:center; }
.sec-index{
  display:flex; align-items:center; gap:14px;
  font-family:var(--font-en); font-size:13px; font-weight:600;
  letter-spacing:.22em; color:var(--sky);
  text-transform:uppercase; margin-bottom:16px;
}
.sec-index::after{ content:""; height:1px; width:56px; background:var(--line); }
.sec-head--center .sec-index{ justify-content:center; }
.sec-head--center .sec-index::before{ content:""; height:1px; width:56px; background:var(--line); }
.sec-index b{ font-weight:600; color:var(--text-2); letter-spacing:.18em; }
.section--dark .sec-index b{ color:var(--on-dark-2); }
.sec-head h2{ font-size:clamp(26px,3.4vw,42px); letter-spacing:-.01em; }
.sec-head > p{ margin-top:14px; font-size:clamp(15.5px,1.4vw,17.5px); }

/* الظهور عند التمرير */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity var(--d-slow) var(--e-out),transform var(--d-slow) var(--e-out); }
.reveal.is-in{ opacity:1; transform:none; }
.reveal[data-delay="1"]{ transition-delay:100ms; }
.reveal[data-delay="2"]{ transition-delay:200ms; }
.reveal[data-delay="3"]{ transition-delay:300ms; }

/* ==========================================================================
   الأزرار — مسار نصّي منزلق عند التحويم
   ========================================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 28px; border-radius:var(--r-pill);
  font-weight:600; font-size:15px; line-height:1.4; white-space:nowrap;
  position:relative; overflow:hidden;
  transition:transform var(--d-fast) var(--e-out),background var(--d-fast) var(--e-out),
             box-shadow var(--d-fast) var(--e-out),color var(--d-fast) var(--e-out),border-color var(--d-fast) var(--e-out);
}
.btn:hover{ transform:translateY(-2px); }
.btn:active{ transform:translateY(0); }
.btn__track{ display:inline-grid; overflow:hidden; height:1.5em; }
.btn__track span{
  grid-area:1/1; display:block; height:1.5em;
  transition:transform var(--d-med) var(--e-out);
}
.btn__track span:last-child{ transform:translateY(110%); }
.btn:hover .btn__track span:first-child{ transform:translateY(-110%); }
.btn:hover .btn__track span:last-child{ transform:translateY(0); }
.btn svg{ width:18px; height:18px; flex:none; transition:transform var(--d-med) var(--e-out); }
.btn:hover svg.arr{ transform:translateX(-4px); }
html[dir="ltr"] .btn:hover svg.arr{ transform:translateX(4px); }

.btn--primary{ background:var(--blue); color:#fff; box-shadow:0 8px 20px rgba(0,64,128,.26); }
.btn--primary:hover{ background:#003466; }
.btn--sky{ background:var(--sky); color:#fff; box-shadow:0 8px 22px rgba(16,128,192,.32); }
.btn--sky:hover{ background:#0C6A9E; }
.btn--ghost{ border:1.5px solid var(--border); color:var(--ink); background:transparent; }
.btn--ghost:hover{ border-color:var(--sky); color:var(--sky); }
.btn--light{ background:rgba(255,255,255,.08); color:#fff; border:1.5px solid rgba(255,255,255,.32); backdrop-filter:blur(6px); }
.btn--light:hover{ background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.6); }
.btn--sm{ padding:10px 20px; font-size:14px; }
.btn--block{ width:100%; }

/* ==========================================================================
   الترويسة
   ========================================================================== */
.site-header{
  position:fixed; inset-inline:0; top:0; z-index:var(--z-header);
  height:var(--header-h); display:flex; align-items:center;
  color:#fff; border-bottom:1px solid transparent;
  transition:background 300ms linear,box-shadow 300ms linear,border-color 300ms linear;
}
.site-header .container{ display:flex; align-items:center; gap:24px; }
.site-header.is-solid{
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border-bottom-color:var(--border);
  box-shadow:0 2px 14px rgba(6,21,34,.06);
  color:var(--navy);
}
.brand{ display:flex; align-items:center; flex:none; }
.brand img{ height:40px; width:auto; }
.brand .brand-dark{ display:none; }
.site-header.is-solid .brand .brand-white{ display:none; }
.site-header.is-solid .brand .brand-dark{ display:block; }

.main-nav{ margin-inline-start:auto; }
.main-nav ul{ display:flex; align-items:center; gap:2px; }
.main-nav a{
  display:inline-block; padding:9px 13px; border-radius:var(--r-sm);
  font-size:14.5px; font-weight:500; opacity:.88;
  transition:opacity var(--d-fast),background var(--d-fast);
}
.main-nav a:hover{ opacity:1; background:rgba(16,128,192,.14); }
.site-header.is-solid .main-nav a:hover{ background:var(--bg-soft); }
.main-nav a.is-active{ color:var(--sky); opacity:1; font-weight:700; }

.header-actions{ display:flex; align-items:center; gap:10px; }
.lang-toggle{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 14px; border-radius:var(--r-pill);
  border:1.5px solid currentColor; font-size:13px; font-weight:600; opacity:.9;
  transition:opacity var(--d-fast),background var(--d-fast);
}
.lang-toggle:hover{ opacity:1; background:rgba(16,128,192,.14); }
.site-header.is-solid .lang-toggle{ border-color:var(--border); }
.site-header.is-solid .lang-toggle:hover{ border-color:var(--sky); color:var(--sky); background:var(--bg-soft); }
.menu-btn{ display:none; width:44px; height:44px; border-radius:var(--r-sm); align-items:center; justify-content:center; }
.menu-btn svg{ width:24px; height:24px; }

.mobile-menu{
  position:fixed; inset:0; z-index:var(--z-menu);
  background:rgba(6,21,34,.5); opacity:0; pointer-events:none;
  transition:opacity var(--d-med) var(--e-out);
}
.mobile-menu.is-open{ opacity:1; pointer-events:auto; }
.mobile-menu__panel{
  position:absolute; top:0; bottom:0; inset-inline-end:0;
  width:min(340px,88vw); background:#fff;
  padding:24px; display:flex; flex-direction:column; gap:4px;
  transform:translateX(-105%); transition:transform 340ms var(--e-out);
  overflow-y:auto;
}
html[dir="rtl"] .mobile-menu__panel{ transform:translateX(105%); }
.mobile-menu.is-open .mobile-menu__panel{ transform:translateX(0); }
.mobile-menu__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.mobile-menu__head img{ height:36px; }
.mobile-menu__head .menu-btn{ display:inline-flex; color:var(--navy); border:1px solid var(--border); }
.mobile-menu a.mm-link{
  display:flex; align-items:center; justify-content:space-between;
  padding:13px 14px; border-radius:var(--r-sm);
  font-weight:500; color:var(--text);
}
.mobile-menu a.mm-link:hover,.mobile-menu a.mm-link.is-active{ background:var(--bg-soft); color:var(--sky); }
.mobile-menu .btn{ margin-top:16px; }

@media (max-width:1023px){
  .main-nav{ display:none; }
  .site-header{ height:66px; }
  .site-header .container{ justify-content:space-between; gap:12px; padding-inline:18px; }
  .site-header .menu-btn{
    display:inline-flex; flex:none;
    border:1px solid rgba(255,255,255,.28);
    background:rgba(255,255,255,.09);
    transition:background var(--d-fast),border-color var(--d-fast),color var(--d-fast);
  }
  .site-header.is-solid .menu-btn{ border-color:var(--border); background:var(--bg-soft); }
  .site-header.is-solid .menu-btn:hover{ border-color:var(--sky); color:var(--sky); }
  .header-actions .btn{ display:none; }
  .brand img{ height:34px; }
}

/* ==========================================================================
   الهيرو — تقسيم نصّي/بصري على الكحلي
   ========================================================================== */
.hero{
  position:relative; overflow:hidden;
  padding-top:calc(var(--header-h) + clamp(28px,5vh,64px));
  background:
    radial-gradient(820px 520px at 18% 30%, rgba(16,128,192,.26), transparent 62%),
    radial-gradient(600px 420px at 90% 90%, rgba(0,64,128,.30), transparent 60%),
    linear-gradient(165deg,#050F1A 0%,var(--navy) 48%,#0A2A40 100%);
  color:var(--on-dark);
}
.hero__grid{
  position:absolute; inset:0; pointer-events:none; opacity:.55;
  background-image:
    linear-gradient(rgba(121,214,255,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(121,214,255,.05) 1px,transparent 1px);
  background-size:54px 54px;
  mask-image:radial-gradient(ellipse 92% 84% at 50% 36%,#000 26%,transparent 76%);
  -webkit-mask-image:radial-gradient(ellipse 92% 84% at 50% 36%,#000 26%,transparent 76%);
}
.hero__wm{
  position:absolute; inset-inline-end:-2%; bottom:-4%;
  font-family:var(--font-en); font-weight:700;
  font-size:clamp(120px,22vw,300px); line-height:.8;
  color:transparent; -webkit-text-stroke:1px rgba(121,214,255,.07);
  pointer-events:none; user-select:none; direction:ltr;
}
.hero .container{
  position:relative; z-index:2;
  display:grid; grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
  gap:clamp(28px,4.5vw,64px); align-items:center;
  padding-bottom:clamp(48px,6vw,84px);
}
.crumbs{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; color:var(--on-dark-2); margin-bottom:20px;
}
.crumbs a{ color:var(--focus); }
.crumbs a:hover{ text-decoration:underline; }
.crumbs svg{ width:14px; height:14px; }
.hero h1{
  color:#fff; font-size:clamp(34px,5.4vw,64px); line-height:1.16;
  letter-spacing:-.01em; margin-bottom:20px;
}
.hero h1 .accent{
  background:linear-gradient(100deg,var(--focus),var(--sky));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.wmask{ display:block; overflow:hidden; padding-bottom:.08em; margin-bottom:-.08em; }
.wmask > span{ display:block; transform:translateY(112%) rotate(2.5deg); transform-origin:100% 100%; }
.is-loaded .wmask > span{ animation:wIn .85s var(--e-out) forwards; }
.is-loaded .wmask:nth-child(2) > span{ animation-delay:.12s; }
.is-loaded .wmask:nth-child(3) > span{ animation-delay:.24s; }
@keyframes wIn{ to{ transform:none; } }
.hero__lead{
  font-size:clamp(15.5px,1.5vw,18.5px); color:var(--on-dark-2);
  max-width:540px; margin-bottom:30px;
}
.hero__ctas{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:34px; }
.hero__meta{ display:flex; flex-wrap:wrap; gap:8px 22px; padding-top:22px; border-top:1px solid rgba(121,214,255,.14); }
.hero__meta li{ display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--on-dark-2); }
.hero__meta svg{ width:15px; height:15px; color:var(--focus); flex:none; }

.hero__visual{ position:relative; min-width:0; }
.hero__visual svg.tree-art{ width:100%; height:auto; max-height:min(560px,62vh); margin-inline:auto; }
.tree-art .grow{ stroke-dasharray:1; stroke-dashoffset:1; }
.is-loaded .tree-art .grow{ animation:grow 1.5s var(--e-io) forwards; }
.is-loaded .tree-art .grow.g1{ animation-delay:.15s; } .is-loaded .tree-art .grow.g2{ animation-delay:.5s; }
.is-loaded .tree-art .grow.g3{ animation-delay:.62s; } .is-loaded .tree-art .grow.g4{ animation-delay:.72s; }
.is-loaded .tree-art .grow.g5{ animation-delay:.82s; } .is-loaded .tree-art .grow.g6{ animation-delay:.92s; }
.is-loaded .tree-art .grow.g7{ animation-delay:1s; }
@keyframes grow{ to{ stroke-dashoffset:0; } }
.tree-art .tip{ opacity:0; transform:scale(.4); transform-box:fill-box; transform-origin:center; }
.is-loaded .tree-art .tip{ animation:tipIn .6s var(--e-spring) both, tFloat 6.2s var(--e-io) infinite alternate; }
.is-loaded .tree-art .tip.t1{ animation-delay:.9s,1.7s; } .is-loaded .tree-art .tip.t2{ animation-delay:1s,1.9s; }
.is-loaded .tree-art .tip.t3{ animation-delay:1.1s,2.1s; } .is-loaded .tree-art .tip.t4{ animation-delay:1.2s,2.3s; }
.is-loaded .tree-art .tip.t5{ animation-delay:1.3s,2.4s; } .is-loaded .tree-art .tip.t6{ animation-delay:1.4s,2.6s; }
.is-loaded .tree-art .tip.t7{ animation-delay:1.5s,2.8s; }
.is-loaded .tree-art .tip.f2{ animation-duration:.6s,7.4s; }
.is-loaded .tree-art .tip.f3{ animation-duration:.6s,8.2s; }
@keyframes tipIn{ to{ opacity:1; transform:scale(1); } }
@keyframes tFloat{ from{ translate:0 0; } to{ translate:0 -8px; } }

.hero-anim{ opacity:0; transform:translateY(18px); }
.is-loaded .hero-anim{ animation:heroIn .7s var(--e-out) forwards; }
.is-loaded .hero-anim--d1{ animation-delay:.35s; } .is-loaded .hero-anim--d2{ animation-delay:.48s; }
.is-loaded .hero-anim--d3{ animation-delay:.6s; } .is-loaded .hero-anim--d4{ animation-delay:.72s; }
@keyframes heroIn{ to{ opacity:1; transform:none; } }

/* شريط الأرقام */
.statbar{ position:relative; z-index:2; border-top:1px solid rgba(121,214,255,.14); background:rgba(4,13,22,.35); backdrop-filter:blur(6px); }
.statbar .container{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  padding-block:26px; gap:18px;
}
.statbar .stat{
  display:grid; align-content:center; justify-items:center; gap:7px;
  min-width:0; padding-inline:12px; text-align:center;
}
.stat strong{
  display:block; width:100%;
  font-family:var(--font-en); font-size:clamp(26px,3.2vw,40px); font-weight:700;
  color:#fff; line-height:1.05; direction:ltr; text-align:center;
}
.stat strong em{ font-style:normal; color:var(--focus); }
.statbar .stat span{
  max-width:100%; font-size:13px; line-height:1.65;
  color:var(--on-dark-2); text-align:center;
}
@media (max-width:1023px){
  .hero .container{ grid-template-columns:1fr; padding-bottom:40px; }
  .hero__visual{ order:-1; margin-top:6px; }
  .hero__visual svg.tree-art{ max-height:300px; width:auto; }
  .hero__wm{ font-size:34vw; }
  .statbar .container{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 14px; padding-block:22px; }
}

/* ==========================================================================
   01 — القصة
   ========================================================================== */
.story .container{
  display:grid; grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  gap:clamp(32px,5vw,80px); align-items:start;
}
.story__sticky{ position:sticky; top:calc(var(--header-h) + 32px); }
.story__sticky h2{ font-size:clamp(26px,3.2vw,40px); margin-bottom:16px; }
.story__sticky p{ font-size:clamp(15.5px,1.4vw,17.5px); }
.story__media{
  margin-top:28px; border-radius:var(--r-lg); overflow:hidden; position:relative;
  box-shadow:var(--sh-2);
}
.story__media img{ width:100%; height:100%; object-fit:cover; aspect-ratio:16/9; transition:transform 1.2s var(--e-out); }
.story__media:hover img{ transform:scale(1.04); }
.story__media figcaption{
  position:absolute; inset-inline:0; bottom:0; padding:16px 20px;
  background:linear-gradient(0deg,rgba(4,13,22,.78),transparent);
  color:#fff; font-size:13px;
}
.values{ display:grid; }
.values li{
  display:grid; grid-template-columns:auto minmax(0,1fr); gap:8px 22px;
  padding:clamp(20px,2.6vw,30px) 4px;
  border-top:1px solid var(--border);
  transition:background var(--d-med) var(--e-out),padding var(--d-med) var(--e-out);
}
.values li:last-child{ border-bottom:1px solid var(--border); }
.values li:hover{ background:linear-gradient(90deg,rgba(16,128,192,.05),transparent 70%); }
.values .v-ico{
  grid-row:span 2; width:52px; height:52px; flex:none;
  display:grid; place-items:center;
  border:1px solid var(--line); border-radius:16px;
  color:var(--sky); background:#fff;
  transition:background var(--d-med),color var(--d-med),transform var(--d-med) var(--e-spring);
}
.values li:hover .v-ico{ background:var(--sky); color:#fff; transform:rotate(-6deg) scale(1.05); }
.values .v-ico svg{ width:24px; height:24px; }
.values h3{ font-size:clamp(17px,1.7vw,20px); }
.values p{ font-size:15px; }
@media (max-width:900px){
  .story .container{ grid-template-columns:1fr; }
  .story__sticky{ position:static; }
}

/* ==========================================================================
   02 — المؤسس
   ========================================================================== */
.founder{
  display:grid; grid-template-columns:minmax(300px,.9fr) minmax(0,1.35fr);
  gap:clamp(24px,4vw,52px);
  padding:clamp(22px,3.4vw,44px);
  border:1px solid rgba(16,128,192,.14); border-radius:var(--r-xl);
  background:radial-gradient(circle at 100% 0%,rgba(16,128,192,.06),transparent 40%),#fff;
  box-shadow:var(--sh-3);
}
.founder__id{
  display:flex; flex-direction:column; min-width:0; padding:16px;
  border-radius:22px; color:#fff;
  background:
    radial-gradient(circle at 20% 4%,rgba(121,214,255,.26),transparent 44%),
    linear-gradient(150deg,#061522,#0A2A40 74%,#104264);
  box-shadow:0 18px 44px rgba(6,21,34,.24);
}
.founder__portrait{ position:relative; isolation:isolate; overflow:hidden; min-height:360px; border-radius:16px; background:#102B3F; margin:0; }
.founder__portrait::after{ position:absolute; z-index:0; inset:32% 0 0; content:""; background:linear-gradient(180deg,transparent,rgba(4,15,26,.94)); }
.founder__portrait img{
  position:absolute; z-index:-1; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center 24%; transition:transform .8s var(--e-out);
}
.founder:hover .founder__portrait img{ transform:scale(1.04); }
.founder__portrait figcaption{ position:absolute; z-index:1; inset-inline:22px; bottom:20px; }
.founder__portrait .f-tag{ color:#9BE2FF; font-size:12.5px; font-weight:600; letter-spacing:.06em; }
.founder__portrait h3{ margin:6px 0 3px; color:#fff; font-size:clamp(26px,2.6vw,34px); }
.founder__portrait .f-role{ color:rgba(255,255,255,.85); font-size:13.5px; }
.founder__links{ display:flex; flex-wrap:wrap; gap:9px; padding:4px 2px 2px; margin-top:14px; }
.founder__links a{
  display:inline-flex; align-items:center; gap:8px; padding:9px 14px;
  border:1px solid rgba(255,255,255,.2); border-radius:var(--r-pill);
  color:#fff; font-size:13px;
  transition:background var(--d-fast),border-color var(--d-fast),transform var(--d-fast);
}
.founder__links a:hover{ transform:translateY(-2px); border-color:#79D6FF; background:rgba(121,214,255,.12); }
.founder__links svg{ width:16px; height:16px; }
.founder__body{ align-self:center; min-width:0; }
.founder__body > p{
  max-width:640px; margin-bottom:26px; color:var(--ink);
  font-size:clamp(16px,1.5vw,19px); line-height:1.95;
}
.f-edu{
  display:flex; align-items:center; gap:15px; padding:16px 18px;
  border:1px solid rgba(16,128,192,.15); border-radius:16px;
  background:linear-gradient(110deg,#F5FAFD,#fff); box-shadow:0 8px 22px rgba(5,25,45,.04);
}
.f-edu__ico{ display:grid; place-items:center; flex:none; width:46px; height:46px; border-radius:14px; background:#E6F4FB; color:var(--sky); }
.f-edu__ico svg{ width:24px; height:24px; }
.f-edu > div:last-child{ display:grid; gap:4px; min-width:0; }
.f-edu span{ color:var(--sky); font-size:12px; font-weight:700; }
.f-edu strong{ color:var(--ink); font-size:14px; line-height:1.6; }
.f-focus{ display:grid; gap:3px; margin-top:16px; padding-inline-start:14px; border-inline-start:2px solid #D9EDF7; }
.f-focus span{ color:var(--sky); font-size:12px; font-weight:700; }
.f-focus strong{ color:var(--ink); font-size:14px; line-height:1.7; }
.f-stats{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:18px; }
.f-stats > div{
  display:flex; align-items:center; gap:12px; min-height:72px; padding:12px 16px;
  border:1px solid var(--border); border-radius:var(--r-md);
  background:linear-gradient(120deg,#FAFCFD,#F4F9FC);
}
.f-stats strong{ font-family:var(--font-en); color:var(--sky); font-size:30px; line-height:1; direction:ltr; }
.f-stats span{ color:var(--text-2); font-size:12.5px; line-height:1.5; }
.f-skills{ display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.f-skills span{
  padding:7px 13px; border:1px solid #DDE8EF; border-radius:var(--r-pill);
  background:#fff; color:var(--text-2); font-size:12.5px; direction:ltr;
  box-shadow:0 3px 9px rgba(5,25,45,.04);
  transition:border-color var(--d-fast),color var(--d-fast),transform var(--d-fast);
}
.f-skills span:hover{ border-color:var(--sky); color:var(--sky); transform:translateY(-2px); }
@media (max-width:900px){
  .founder{ grid-template-columns:1fr; }
  .founder__portrait{ min-height:320px; }
}

/* ==========================================================================
   03 — شجرة الخبرة (سطح المكتب)
   ========================================================================== */
.tree-wrap{
  padding:clamp(18px,3vw,36px);
  border:1px solid var(--border); border-radius:var(--r-xl);
  background:
    radial-gradient(circle at 50% -10%,rgba(16,128,192,.07),transparent 55%),
    #fff;
  box-shadow:var(--sh-2);
}
.tree-stage{ position:relative; overflow:hidden; border-radius:var(--r-lg); background:linear-gradient(180deg,#F9FCFE,#fff); border:1px solid rgba(16,128,192,.08); }
.tree-svg{ display:block; width:100%; height:auto; }
.tree-svg .trunk{
  fill:none; stroke:url(#trunkGrad); stroke-width:3.5; stroke-linecap:round;
  stroke-dasharray:1; stroke-dashoffset:1;
}
.tree-svg.is-in .trunk{ transition:stroke-dashoffset 1.6s var(--e-io); stroke-dashoffset:0; }
.tree-svg .branch{
  fill:none; stroke:#BFD8EA; stroke-width:2.5; stroke-linecap:round;
  stroke-dasharray:1; stroke-dashoffset:1;
  transition:stroke-dashoffset .6s var(--e-out);
}
.tree-svg.is-in .branch.is-on{ stroke-dashoffset:0; }
.tree-svg .anchor{ fill:#fff; stroke:var(--sky); stroke-width:2; opacity:0; transition:opacity .4s; }
.tree-svg.is-in .anchor.is-on{ opacity:1; }
.tree-svg .anchor.is-hot{ fill:var(--sky); }

.tnode{ cursor:pointer; outline:none; }
.tnode .disc{
  fill:#E8F3FB; stroke:var(--sky); stroke-width:2;
  transition:fill var(--d-med) var(--e-out),stroke var(--d-med),filter var(--d-med);
  transform-box:fill-box; transform-origin:center;
}
.tnode .halo{
  fill:none; stroke:var(--sky); stroke-width:1.5; opacity:0;
  transform-box:fill-box; transform-origin:center;
}
.tnode text{
  fill:var(--blue); font-family:var(--font-en); font-size:15px; font-weight:700;
  text-anchor:middle; pointer-events:none; transition:fill var(--d-med);
}
.tnode{ opacity:0; }
.tree-svg.is-in .tnode.is-on{ opacity:1; animation:nodePop .55s var(--e-spring) both; }
@keyframes nodePop{ from{ transform:scale(.3);} to{ transform:scale(1);} }
.tnode{ transform-box:fill-box; transform-origin:center; }
.tnode:hover .disc,.tnode:focus-visible .disc{ fill:#D7ECF9; filter:drop-shadow(0 6px 14px rgba(16,128,192,.35)); }
.tnode.is-active .disc{ fill:var(--navy); stroke:var(--focus); filter:drop-shadow(0 8px 18px rgba(16,128,192,.45)); }
.tnode.is-active text{ fill:#fff; }
.tnode.is-active .halo{ opacity:1; animation:halo 2.2s var(--e-out) infinite; }
@keyframes halo{ 0%{ transform:scale(1); opacity:.8; } 100%{ transform:scale(1.55); opacity:0; } }
.tree-svg .traveler{ fill:var(--focus); filter:drop-shadow(0 0 8px rgba(121,214,255,.9)); pointer-events:none; }

/* أدوات التنقل + لوحة المحتوى */
.tree-ui{ display:grid; gap:18px; margin-top:22px; }
.tree-controls{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.tree-nav{ display:flex; gap:8px; }
.tree-nav button{
  width:46px; height:46px; border-radius:50%;
  border:1.5px solid var(--border); color:var(--ink);
  display:grid; place-items:center;
  transition:border-color var(--d-fast),color var(--d-fast),background var(--d-fast),transform var(--d-fast);
}
.tree-nav button:hover:not(:disabled){ border-color:var(--sky); color:var(--sky); transform:translateY(-2px); }
.tree-nav button:disabled{ opacity:.35; cursor:not-allowed; }
.tree-nav svg{ width:20px; height:20px; }
.tree-rail{ display:flex; gap:6px; align-items:center; flex:1; min-width:120px; }
.tree-rail i{
  display:block; height:3px; flex:1; max-width:44px; border-radius:99px;
  background:#E1EAF2; position:relative; overflow:hidden;
  transition:background var(--d-med);
}
.tree-rail i::after{
  content:""; position:absolute; inset:0; background:var(--sky);
  transform:scaleX(0); transform-origin:100% 50%;
  transition:transform .5s var(--e-out);
}
html[dir="ltr"] .tree-rail i::after{ transform-origin:0 50%; }
.tree-rail i.is-fill::after{ transform:scaleX(1); }
.tree-rail i.is-now{ background:var(--sky); box-shadow:0 0 0 3px rgba(16,128,192,.15); }
.tree-count{ font-family:var(--font-en); font-size:13px; letter-spacing:.14em; color:var(--text-2); direction:ltr; }
.tree-count b{ color:var(--sky); font-weight:700; font-size:15px; }

.tree-panel{
  position:relative; overflow:hidden;
  border:1px solid rgba(16,128,192,.17); border-radius:var(--r-lg);
  background:linear-gradient(120deg,#fff,#F5FAFD);
  min-height:190px;
}
.tpanel{
  position:absolute; inset:0; padding:clamp(20px,3vw,32px);
  opacity:0; visibility:hidden; transform:translateY(18px);
  transition:opacity .38s var(--e-out),transform .38s var(--e-out),visibility 0s .38s;
}
.tpanel.is-current{
  position:relative; opacity:1; visibility:visible; transform:none;
  transition:opacity .45s var(--e-out) .12s,transform .45s var(--e-out) .12s,visibility 0s;
}
.tpanel h3{
  display:flex; align-items:center; gap:10px;
  color:var(--blue); font-size:clamp(18px,1.9vw,22px); margin-bottom:10px;
}
.tpanel h3 svg{ width:20px; height:20px; color:var(--sky); }
.tpanel h3 .yr{ font-family:var(--font-en); }
.tpanel > p{ max-width:760px; margin-bottom:14px; font-size:15.5px; }
.tpanel ul{ display:grid; gap:9px; }
.tpanel ul li{
  position:relative; padding-inline-start:26px;
  font-size:14.5px; color:var(--text);
}
.tpanel ul li::before{
  content:"+"; position:absolute; inset-inline-start:0; top:0;
  color:var(--sky); font-weight:700; font-family:var(--font-en);
}

/* شجرة الخبرة — الهاتف: عمودية */
.tree-mobile{ display:none; }
@media (max-width:899px){
  .tree-desktop{ display:none; }
  .tree-mobile{ display:block; position:relative; margin-top:8px; }
  .tm-line{
    position:absolute; top:12px; bottom:12px; inset-inline-start:25px;
    width:2px; background:#E1EAF2; border-radius:2px; overflow:hidden;
  }
  .tm-line i{ display:block; width:100%; height:0%; background:linear-gradient(180deg,var(--sky),var(--focus)); transition:height .2s linear; }
  .tm-item{
    position:relative; display:grid; grid-template-columns:52px minmax(0,1fr);
    gap:16px; padding-bottom:26px;
  }
  .tm-item:last-child{ padding-bottom:0; }
  .tm-dot{
    position:relative; z-index:1;
    width:52px; height:52px; border-radius:50%;
    display:grid; place-items:center;
    background:#E8F3FB; border:2px solid var(--sky);
    font-family:var(--font-en); font-weight:700; font-size:13px; color:var(--blue);
    transition:background var(--d-med),color var(--d-med),box-shadow var(--d-med);
  }
  .tm-item.is-now .tm-dot{ background:var(--navy); color:#fff; border-color:var(--focus); box-shadow:0 6px 16px rgba(16,128,192,.35); }
  .tm-card{
    min-width:0; padding:18px 18px 20px;
    border:1px solid var(--border); border-radius:var(--r-lg); background:#fff;
    box-shadow:var(--sh-1);
    opacity:0; transform:translateY(24px);
    transition:opacity .55s var(--e-out),transform .55s var(--e-out),border-color var(--d-med);
  }
  .tm-item.is-in .tm-card{ opacity:1; transform:none; }
  .tm-item.is-now .tm-card{ border-color:rgba(16,128,192,.4); }
  .tm-card h3{ display:flex; align-items:center; gap:8px; color:var(--blue); font-size:17px; margin-bottom:8px; }
  .tm-card h3 svg{ width:17px; height:17px; color:var(--sky); }
  .tm-card > p{ font-size:14px; margin-bottom:10px; }
  .tm-card ul{ display:grid; gap:7px; }
  .tm-card li{ position:relative; padding-inline-start:22px; font-size:13.5px; color:var(--text); }
  .tm-card li::before{ content:"+"; position:absolute; inset-inline-start:0; color:var(--sky); font-weight:700; }
}

/* ==========================================================================
   04 — الباقات
   ========================================================================== */
.pkg-section{ background:var(--bg-soft); overflow:clip; }
.pkg-grid{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(16px,2vw,26px); align-items:stretch;
}
.pkg{
  position:relative; display:flex; flex-direction:column; min-width:0;
  padding:clamp(24px,2.6vw,34px);
  border:1px solid var(--border); border-radius:var(--r-xl); background:#fff;
  box-shadow:var(--sh-1);
  transition:transform var(--d-med) var(--e-out),box-shadow var(--d-med),border-color var(--d-med);
}
.pkg:hover{ transform:translateY(-8px); box-shadow:var(--sh-3); border-color:rgba(16,128,192,.35); }
.pkg__num{
  font-family:var(--font-en); font-size:13px; font-weight:600;
  letter-spacing:.22em; color:var(--text-2);
}
.pkg__num::after{ content:""; display:block; width:34px; height:2px; background:var(--line); margin-top:10px; }
.pkg h3{ font-size:clamp(20px,1.9vw,24px); margin:14px 0 6px; }
.pkg__for{ font-size:13.5px; min-height:44px; }
.pkg__price{
  margin:18px 0 20px; padding:16px 18px;
  border:1px dashed rgba(16,128,192,.35); border-radius:var(--r-md);
  background:linear-gradient(120deg,#F5FAFD,#fff);
  display:grid; gap:2px;
}
.pkg__price span{ font-size:11.5px; font-weight:700; letter-spacing:.08em; color:var(--sky); }
.pkg__price strong{ font-size:17px; color:var(--ink); }
.pkg__price small{ font-size:12px; color:var(--text-2); }
.pkg__feats{ display:grid; gap:11px; margin-bottom:26px; }
.pkg__feats li{
  display:grid; grid-template-columns:20px minmax(0,1fr); gap:10px;
  align-items:start; font-size:14px; color:var(--text);
}
.pkg__feats svg{ width:18px; height:18px; color:var(--sky); margin-top:3px; flex:none; }
.pkg .btn{ margin-top:auto; }
.pkg--featured{
  background:
    radial-gradient(circle at 85% 0%,rgba(121,214,255,.18),transparent 46%),
    linear-gradient(165deg,var(--navy),#0B2A40 78%);
  border-color:rgba(121,214,255,.35);
  color:var(--on-dark);
  box-shadow:0 30px 70px rgba(6,21,34,.32);
}
.pkg--featured h3{ color:#fff; }
.pkg--featured .pkg__num{ color:var(--focus); }
.pkg--featured .pkg__num::after{ background:rgba(121,214,255,.35); }
.pkg--featured .pkg__for{ color:var(--on-dark-2); }
.pkg--featured .pkg__price{
  border-color:rgba(121,214,255,.4);
  background:rgba(121,214,255,.07);
}
.pkg--featured .pkg__price span{ color:var(--focus); }
.pkg--featured .pkg__price strong{ color:#fff; }
.pkg--featured .pkg__price small{ color:var(--on-dark-2); }
.pkg--featured .pkg__feats li{ color:var(--on-dark); }
.pkg--featured .pkg__feats svg{ color:var(--focus); }
.pkg__badge{
  position:absolute; top:-15px; inset-inline-start:26px;
  display:inline-flex; align-items:center; gap:6px;
  padding:7px 16px; border-radius:var(--r-pill);
  background:linear-gradient(100deg,var(--focus),var(--sky)); color:var(--navy);
  font-size:12.5px; font-weight:700;
  box-shadow:0 8px 20px rgba(16,128,192,.4);
}
.pkg__badge svg{ width:13px; height:13px; }
@media (min-width:1024px){
  .pkg-grid{ padding-top:16px; }
  .pkg--featured{ transform:scale(1.035); z-index:1; }
  .pkg--featured:hover{ transform:scale(1.035) translateY(-8px); }
}
.pkg-note{
  margin-top:clamp(28px,3.4vw,44px);
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px 26px;
  padding:20px 24px; border:1px solid var(--border); border-radius:var(--r-lg); background:#fff;
}
.pkg-note span{ display:inline-flex; align-items:center; gap:8px; font-size:13.5px; color:var(--text-2); }
.pkg-note svg{ width:16px; height:16px; color:var(--sky); flex:none; }
.pkg-note a{ color:var(--sky); font-weight:600; font-size:14px; border-bottom:1px solid transparent; transition:border-color var(--d-fast); }
.pkg-note a:hover{ border-color:var(--sky); }
@media (max-width:1023px){
  .pkg-grid{ grid-template-columns:1fr; max-width:560px; margin-inline:auto; }
  .pkg__for{ min-height:0; }
}

/* ==========================================================================
   05 — لماذا نحن
   ========================================================================== */
.why-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2vw,26px); }
.why-card{
  min-width:0; padding:clamp(24px,2.6vw,32px);
  border:1px solid var(--border); border-radius:var(--r-lg); background:#fff;
  transition:transform var(--d-med) var(--e-out),box-shadow var(--d-med),border-color var(--d-med);
}
.why-card:hover{ transform:translateY(-6px); box-shadow:var(--sh-2); border-color:rgba(16,128,192,.3); }
.why-card .w-ico{
  width:52px; height:52px; display:grid; place-items:center;
  border:1px solid var(--line); border-radius:16px; color:var(--sky);
  margin-bottom:18px; background:linear-gradient(140deg,#F2F9FE,#fff);
  transition:background var(--d-med),color var(--d-med),transform var(--d-med) var(--e-spring);
}
.why-card:hover .w-ico{ background:var(--sky); color:#fff; transform:rotate(-6deg); }
.why-card .w-ico svg{ width:24px; height:24px; }
.why-card h3{ font-size:18px; margin-bottom:8px; }
.why-card p{ font-size:14.5px; }
@media (max-width:900px){ .why-grid{ grid-template-columns:1fr; max-width:560px; margin-inline:auto; } }

/* ==========================================================================
   دعوة ختامية
   ========================================================================== */
.cta-band{ text-align:center; overflow:clip; }
.cta-band .container{ position:relative; z-index:1; display:grid; justify-items:center; gap:16px; }
.cta-band h2{ font-size:clamp(26px,3.6vw,44px); max-width:720px; }
.cta-band p{ max-width:520px; font-size:clamp(15px,1.4vw,17px); }
.cta-band .hero__ctas{ justify-content:center; margin:14px 0 0; }
.cta-band::before,.cta-band::after{
  content:""; position:absolute; width:340px; height:340px; border-radius:50%;
  border:1px solid rgba(121,214,255,.14); pointer-events:none;
}
.cta-band::before{ top:-170px; inset-inline-start:-110px; }
.cta-band::after{ bottom:-190px; inset-inline-end:-130px; }

/* ==========================================================================
   التذييل
   ========================================================================== */
.site-footer{ background:var(--navy); color:var(--on-dark-2); padding:clamp(48px,6vw,72px) 0 0; font-size:14px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr .8fr .8fr 1.3fr; gap:clamp(24px,3.5vw,48px); padding-bottom:40px; }
.footer-grid img{ height:44px; width:auto; margin-bottom:14px; }
.footer-grid h4{ color:#fff; font-size:15px; margin-bottom:14px; }
.footer-grid ul{ display:grid; gap:9px; }
.footer-grid a{ transition:color var(--d-fast); }
.footer-grid a:hover{ color:var(--focus); }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; }
.footer-contact svg{ width:16px; height:16px; margin-top:5px; color:var(--sky); flex:none; }
.footer-quick-links{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.footer-quick-links a{
  display:inline-flex; align-items:center; gap:7px;
  padding:8px 13px; border:1px solid rgba(255,255,255,.16); border-radius:var(--r-pill);
  font-size:12.5px; color:var(--on-dark);
  transition:border-color var(--d-fast),background var(--d-fast);
}
.footer-quick-links a:hover{ border-color:var(--focus); background:rgba(121,214,255,.1); }
.footer-quick-links svg{ width:14px; height:14px; margin:0; }
.footer-socials{ display:flex; gap:10px; margin-top:16px; }
.footer-socials a{
  width:38px; height:38px; border-radius:50%;
  border:1px solid rgba(255,255,255,.16);
  display:grid; place-items:center;
  transition:border-color var(--d-fast),background var(--d-fast),transform var(--d-fast);
}
.footer-socials a:hover{ border-color:var(--focus); background:rgba(121,214,255,.1); transform:translateY(-2px); }
.footer-socials svg{ width:17px; height:17px; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding-block:18px;
  display:flex; flex-wrap:wrap; gap:10px 24px; align-items:center; justify-content:space-between;
  font-size:13px;
}
.footer-bottom nav{ display:flex; gap:18px; }
@media (max-width:1023px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .footer-grid{ grid-template-columns:1fr; gap:28px; } }

/* ==========================================================================
   ضبط دقيق + تقليل الحركة
   ========================================================================== */
@media (max-width:480px){
  :root{ --page-pad:16px; }
  .hero__ctas .btn{ flex:1 1 auto; }
  .f-stats{ grid-template-columns:1fr 1fr; }
  .tree-controls{ gap:12px; }
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
  .reveal,.hero-anim,.wmask > span,.tm-card{ opacity:1 !important; transform:none !important; }
  .tree-svg .trunk,.tree-svg .branch{ stroke-dashoffset:0 !important; }
  .tnode{ opacity:1 !important; }
}
