/* =====================================================================
   TENECALL — ملف التصميم
   الألوان الأساسية في :root — غيّرها هنا فتتغير في كل الموقع.
   ===================================================================== */
/* الخطوط مستضافة داخل الموقع (أسرع ولا تعتمد على خدمات خارجية) */
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url(../fonts/cairo-arabic-wght-normal.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url(../fonts/cairo-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); }

:root {
  --bg:        #050B1C;   /* الخلفية الداكنة */
  --bg-2:      #0B1B42;   /* الكحلي */
  --surface:   #081533;
  --blue:      #1E88FF;   /* الأزرق الكهربائي */
  --gold:      #FAD20A;   /* الذهبي */
  --gold-2:    #FFE873;
  --text:      #F3F6FC;   /* الأبيض المائل للزرقة */
  --muted:     #7C93C4;   /* الرمادي المزرق */
  --line:      rgba(124, 147, 196, .18);
  --line-2:    rgba(124, 147, 196, .32);

  --wrap: 1240px;
  --r-sm: 8px;
  --r:    14px;
  --hdr:  76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-ar: "Cairo", system-ui, "Segoe UI", Tahoma, sans-serif;
  --font-en: "Inter", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-en);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--bg); padding: 8px 14px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

/* ---------- Type scale ---------- */
h1 { font-size: clamp(2.4rem, 4.8vw, 4.25rem); line-height: 1.08; }
html[lang="ar"] h1 { line-height: 1.3; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); line-height: 1.18; }
html[lang="ar"] h2 { line-height: 1.4; }
h2.display { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.display-xl { font-size: clamp(2.6rem, 6vw, 5.2rem); max-width: 16ch; }
h3 { font-size: 1.2rem; line-height: 1.4; font-weight: 700; }
.h-sm { font-size: 1.05rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.muted-line { color: var(--blue); }
.tag { font-family: var(--font-en); font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btns--center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; background: transparent;
  font-weight: 700; font-size: 1rem; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn--gold { background: var(--gold); color: var(--bg); }
.btn--gold:hover { background: var(--gold-2); }
.btn--line { border-color: var(--line-2); color: var(--text); }
.btn--line:hover { border-color: var(--blue); background: rgba(30, 136, 255, .08); }
.btn:active { transform: translateY(1px); }

/* ---------- Icons ---------- */
.ico { width: 22px; height: 22px; flex: none; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 30px; height: 30px; color: var(--blue); }
.ico-xl { width: 40px; height: 40px; color: var(--blue); }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); transition: background-color .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.hdr.is-solid, body.nav-open .hdr { background: var(--bg); border-bottom-color: var(--line); }
.hdr-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { flex: none; }
.logo img { height: 32px; width: auto; }
.btn { white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; flex: 1; }
.nav ul { display: flex; gap: 2px; margin-inline: auto; }
.nav ul a { display: block; padding: 8px 9px; border-radius: var(--r-sm); font-size: .93rem; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .2s; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--text); }
.nav ul a[aria-current] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-foot { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.lang a { padding: 4px 2px; font-weight: 600; }
.lang a[lang="en"] { font-family: var(--font-en); }
.lang a[lang="ar"] { font-family: var(--font-ar); }
.lang a[aria-current] { color: var(--text); }
.lang span { opacity: .5; }
.burger { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--r-sm); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; margin-inline-start: auto; }
.burger .ico-close { display: none; }
body.nav-open .burger .ico-open { display: none; }
body.nav-open .burger .ico-close { display: block; }

@media (max-width: 1320px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--hdr) 0 0; background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px clamp(20px, 4vw, 40px) 32px;
    overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .2s var(--ease), visibility .2s;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { visibility: visible; opacity: 1; }
  .nav ul { flex-direction: column; margin: 0; }
  .nav ul a { font-size: 1.2rem; padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  .nav ul a[aria-current] { box-shadow: none; color: var(--gold); }
  .nav-foot { justify-content: space-between; padding-top: 24px; }
}

/* ---------- Sections ---------- */
.sec { padding-block: clamp(72px, 10vw, 128px); }
.sec--tight { padding-block: clamp(56px, 7vw, 88px); }
.sec--band { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 1.1rem; }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head--center p { margin-inline: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split .lead { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--hdr) + clamp(40px, 6vw, 72px)); padding-bottom: clamp(64px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 72% 45%, rgba(30, 136, 255, .14), transparent 70%);
}
html[dir="rtl"] .hero::before { background: radial-gradient(60% 55% at 28% 45%, rgba(30, 136, 255, .14), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 12ch; }
html[lang="en"] .hero h1 { max-width: 15ch; }
.hero-sub { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; margin-top: 18px; color: var(--text); }
.hero .lead { margin-top: 18px; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 580px; justify-self: center; width: 100%; }
.float {
  position: absolute; display: flex; flex-direction: column; gap: 0;
  padding: 12px 18px; border-radius: var(--r); background: rgba(8, 21, 51, .92); border: 1px solid var(--line-2);
}
.float .stat-num { font-size: 1.55rem; font-weight: 800; line-height: 1.2; color: var(--text); }
.float > span:last-child { font-size: .82rem; color: var(--muted); }
.float--a { right: 0; top: 6%; }
.float--b { right: 2%; bottom: 20%; }
.float--c { left: 40%; bottom: 0; }
.float .stat-num { color: var(--gold); }
.float--b .stat-num, .float--c .stat-num { color: var(--text); }

/* ---------- Network map ---------- */
.netmap { width: 100%; height: 100%; overflow: visible; }
.netmap .grid-dots circle { fill: var(--muted); }
.netmap .link { fill: none; stroke: var(--blue); stroke-width: .2; stroke-opacity: .35; }
.netmap .pulse { fill: none; stroke: var(--gold); stroke-width: .45; stroke-linecap: round; stroke-dasharray: 6 94; stroke-dashoffset: 100; opacity: 0; animation: pulse 5.4s var(--ease) infinite; animation-delay: calc(var(--i) * .6s); }
.netmap .node { outline: none; }
.netmap .core { fill: var(--gold); }
.netmap .halo { fill: var(--blue); fill-opacity: .18; stroke: var(--blue); stroke-opacity: .6; stroke-width: .2; transition: fill-opacity .2s; }
.netmap .node--hub .halo { fill-opacity: .28; stroke: var(--gold); stroke-opacity: .7; }
.netmap .ping { fill: none; stroke: var(--gold); stroke-width: .22; transform-box: fill-box; transform-origin: center; opacity: 0; animation: ping 5.4s var(--ease) infinite; animation-delay: calc(var(--i) * .6s + 1.1s); }
.netmap text { font-size: 2.5px; fill: var(--text); font-weight: 600; paint-order: stroke; stroke: var(--bg); stroke-width: .8px; pointer-events: none; }
html[lang="en"] .netmap text { font-family: var(--font-en); font-size: 2.2px; }
.netmap--full .node { cursor: pointer; }
.netmap--full .node:hover .halo, .netmap--full .node:focus-visible .halo, .netmap--full .node.is-on .halo { fill-opacity: .45; stroke: var(--gold); }
.netmap--full .node.is-on .core { fill: var(--gold-2); }
@keyframes ping { 0% { transform: scale(1); opacity: 0; } 4% { opacity: .9; } 30% { transform: scale(4.5); opacity: 0; } 100% { transform: scale(4.5); opacity: 0; } }
@keyframes pulse { 0% { stroke-dashoffset: 100; opacity: 0; } 4% { opacity: 1; } 22% { stroke-dashoffset: 6; opacity: 1; } 26%, 100% { stroke-dashoffset: 0; opacity: 0; } }

.network { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.network-map { aspect-ratio: 1 / 1; max-height: 640px; width: 100%; justify-self: center; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(16px, 3vw, 36px); background: var(--surface); }
.np-total .stat-num { font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 800; line-height: 1; color: var(--gold); }
.np-desc { color: var(--text); font-size: 1.15rem; margin-top: 16px; max-width: 40ch; }
.np-growth { display: flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; margin-top: 12px; }
.np-growth .ico { width: 18px; height: 18px; }
.np-city { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--gold); border-radius: var(--r); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.np-city-name { font-weight: 800; font-size: 1.25rem; }
.np-city-count { color: var(--muted); }
.np-city-count b { color: var(--text); }
.np-hint { margin-top: 28px; color: var(--muted); font-size: .92rem; }
.city-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.city-list button { background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; font-size: .9rem; cursor: pointer; color: var(--muted); transition: border-color .2s, color .2s; }
.city-list button:hover, .city-list button.is-on { border-color: var(--gold); color: var(--text); }

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; counter-reset: j; }
.journey::before { content: ""; position: absolute; top: 22px; inset-inline: 12.5%; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--blue), var(--line-2)); }
.journey-step { position: relative; text-align: center; padding-inline: 16px; }
.journey-dot { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 20px; border-radius: 50%; background: var(--bg); border: 1px solid var(--blue); font-weight: 800; font-family: var(--font-en); color: var(--blue); }
.journey-step:nth-child(3) .journey-dot { border-color: var(--gold); color: var(--gold); }
.journey-step h3 { font-size: 1.5rem; margin-top: 2px; }
.journey-step p { color: var(--muted); margin-top: 8px; font-size: .98rem; max-width: 26ch; margin-inline: auto; }

/* ---------- Checks ---------- */
.checks { display: grid; gap: 12px; margin-top: 28px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.checks .ico { width: 20px; height: 20px; color: var(--gold); }
.checks--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }

/* ---------- Flow (vertical stepper) ---------- */
.flow { position: relative; display: grid; gap: 10px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.flow-step { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); font-weight: 600; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 33px; bottom: -11px; width: 1px; height: 10px; background: var(--line-2); }
.flow-n { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--bg-2); color: var(--blue); font-family: var(--font-en); font-weight: 700; font-size: .9rem; }
.flow-step.is-ad { border-color: var(--gold); background: rgba(250, 210, 10, .06); }
.flow-step.is-ad .flow-n { background: var(--gold); color: var(--bg); }
.flow-step:last-child .flow-n { background: var(--blue); color: var(--text); }

/* ---------- Columns (businesses teaser) ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.col { padding: 36px clamp(16px, 3vw, 36px); }
.col + .col { border-inline-start: 1px solid var(--line); }
.col h3 { margin-top: 20px; font-size: 1.35rem; }
.col p { margin-top: 8px; color: var(--muted); }

/* ---------- Solutions grid ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sol { position: relative; display: flex; flex-direction: column; padding: 30px 26px 56px; background: var(--bg); transition: background-color .25s var(--ease); min-height: 250px; }
.sol h3 { margin-top: 22px; }
.sol-en { font-family: var(--font-en); font-size: .8rem; color: var(--muted); margin-top: 2px; }
.sol p { color: var(--muted); margin-top: 10px; font-size: .96rem; }
.sol-arrow { position: absolute; bottom: 22px; inset-inline-start: 26px; width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease), color .25s; }
html[dir="rtl"] .sol-arrow, html[dir="rtl"] .who-cta .ico { transform: scaleX(-1); }
.sol:hover { background: var(--surface); }
.sol:hover .sol-arrow { color: var(--gold); transform: translateX(4px); }
html[dir="rtl"] .sol:hover .sol-arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Events ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; margin-bottom: 48px; }
.timeline::before { content: ""; position: absolute; top: 19px; inset-inline: 10%; height: 1px; background: var(--line-2); }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.tl-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-en); font-weight: 700; margin-bottom: 8px; }
.sec--band .tl-n, .phero .tl-n { background: var(--surface); }
.timeline strong { font-size: 1.1rem; }
.ev-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 36px; }
.ev-bottom .checks { margin-top: 0; flex: 1; min-width: 280px; grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Phone mockup ---------- */
.menu-visual { display: flex; justify-content: center; }
.phone { width: min(290px, 78vw); aspect-ratio: 9 / 18.5; border-radius: 42px; border: 1px solid var(--line-2); background: var(--bg-2); padding: 12px; }
.phone-screen { height: 100%; border-radius: 32px; background: var(--text); color: var(--bg); padding: 22px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.pm-head { display: flex; align-items: center; gap: 10px; }
.pm-logo { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-2); }
.pm-head strong { font-size: 1rem; }
.pm-tabs { display: flex; gap: 6px; overflow: hidden; font-size: .72rem; font-weight: 700; }
.pm-tabs span { padding: 5px 10px; border-radius: 999px; background: #e2e8f5; white-space: nowrap; }
.pm-tabs .on { background: var(--bg-2); color: var(--text); }
.pm-offer { position: relative; height: 92px; border-radius: 16px; background: var(--bg-2); color: var(--gold); padding: 12px 14px; font-weight: 800; font-size: .9rem; overflow: hidden; }
.pm-offer i { position: absolute; inset-inline-end: -18px; bottom: -18px; width: 90px; height: 90px; border-radius: 50%; border: 10px solid var(--blue); opacity: .8; }
.pm-item { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; padding: 6px; border-radius: 12px; background: #fff; }
.pm-img { width: 48px; height: 48px; border-radius: 10px; background: #d8e3f7; }
.pm-img--1 { background: #ffe9a6; }
.pm-img--2 { background: #cfe3ff; }
.pm-item b { color: var(--blue); font-family: var(--font-en); }

/* ---------- Dashboard ---------- */
.split--data { grid-template-columns: .9fr 1.1fr; }
.dash { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 14px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dash-title { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.dash-title .ico { width: 18px; height: 18px; color: var(--blue); }
.badge-demo { font-size: .75rem; font-weight: 700; color: var(--gold); border: 1px dashed rgba(250, 210, 10, .6); border-radius: 999px; padding: 3px 10px; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; background: var(--surface); }
.kpi span { display: block; font-size: .76rem; color: var(--muted); line-height: 1.4; }
.kpi strong { display: block; font-family: var(--font-en); font-size: 1.3rem; margin-top: 4px; font-weight: 700; }
html[lang="ar"] .kpi strong { font-family: var(--font-ar); }
.dash-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; }
.dash-chart, .dash-gauge { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; background: var(--surface); position: relative; }
.dash-label { display: block; font-size: .76rem; color: var(--muted); margin-bottom: 8px; }
.dash-chart svg { width: 100%; height: 130px; }
.dash-chart rect { fill: var(--blue); fill-opacity: .55; }
.dash-chart rect.peak { fill: var(--gold); fill-opacity: 1; }
.dash-gauge { display: flex; flex-direction: column; align-items: center; }
.dash-gauge svg { width: 110px; height: 110px; transform: rotate(-90deg); }
.g-track { fill: none; stroke: var(--line-2); stroke-width: 10; }
.g-val { fill: none; stroke: var(--gold); stroke-width: 10; stroke-linecap: round; }
.dash-gauge strong { position: absolute; top: calc(50% + 12px); left: 50%; transform: translate(-50%, -50%); font-family: var(--font-en); font-size: 1.35rem; }

/* ---------- Numbers ---------- */
.numbers { padding-block: clamp(64px, 8vw, 104px); border-block: 1px solid var(--line); }
.num-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-suf { font-size: .62em; font-weight: 700; margin-inline-start: .08em; }
.float .stat-suf, .kpi .stat-suf { font-size: .75em; }
.num-row--3 { grid-template-columns: repeat(3, 1fr); }
.num { padding: 8px clamp(12px, 2.5vw, 32px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.num + .num { border-inline-start: 1px solid var(--line); }
.num .stat-num { font-size: clamp(2.4rem, 4.8vw, 4.4rem); font-weight: 800; line-height: 1.05; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.num:first-child .stat-num { color: var(--gold); }
.num-label { color: var(--muted); margin-top: 8px; font-weight: 600; }
.num-note { text-align: center; color: var(--blue); font-weight: 600; margin-top: 40px; }

/* ---------- Who ---------- */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who { display: flex; flex-direction: column; min-height: 300px; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.who h3 { font-size: 1.6rem; margin-top: auto; padding-top: 40px; }
.who p { color: var(--muted); margin-top: 8px; }
.who-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 700; color: var(--gold); }
.who:hover { border-color: var(--blue); background: var(--surface); }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 48px; margin: 0; }
.why-list div { border-top: 2px solid var(--blue); padding-top: 18px; }
.why-list dt { font-weight: 800; font-size: 1.3rem; }
.why-list dd { margin: 6px 0 0; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final { position: relative; padding-block: clamp(88px, 12vw, 150px); text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(30, 136, 255, .16), transparent 70%),
    radial-gradient(circle, rgba(124, 147, 196, .22) 1px, transparent 1.2px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(60% 70% at 50% 40%, #000 30%, transparent 80%);
}
.final-inner { position: relative; }
.final h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 18ch; margin-inline: auto; }
.final p { color: var(--muted); max-width: 56ch; margin: 18px auto 0; font-size: 1.15rem; }
.brand-line { font-family: var(--font-en); font-weight: 800; letter-spacing: .12em; color: var(--muted); margin-top: 56px; font-size: clamp(.85rem, 1.6vw, 1.05rem); }
.brand-line--sm { margin-top: 0; font-size: .75rem; }

/* ---------- Inner page hero ---------- */
.phero { padding-top: calc(var(--hdr) + clamp(56px, 8vw, 104px)); padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); position: relative; }
.phero-inner h1 { max-width: 18ch; }
.phero-inner .lead { margin-top: 22px; }
.phero-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; border: 1px solid var(--line-2); color: var(--gold); margin-bottom: 28px; }
.phero-icon .ico { width: 28px; height: 28px; }
.timeline--hero { margin-top: 64px; margin-bottom: 0; }

/* ---------- Advertisers ---------- */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { display: flex; flex-direction: column; padding: 4px clamp(12px, 2vw, 28px); }
.proof-item + .proof-item { border-inline-start: 1px solid var(--line); }
.proof-item strong, .proof-item .stat-num { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.1; color: var(--gold); }
.proof-item .stat-num { color: var(--text); }
.proof-item span:last-child { color: var(--muted); margin-top: 6px; }
.rows { display: grid; }
.row { display: grid; grid-template-columns: 64px minmax(180px, 1fr) 2fr; gap: 24px; padding-block: 36px; border-top: 1px solid var(--line); align-items: start; }
.row:last-child { border-bottom: 1px solid var(--line); }
.row h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.row p { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }

/* ---------- Features grid (businesses / events) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feat { background: var(--bg); padding: 34px 28px; }
.feat h3 { margin-top: 20px; font-size: 1.3rem; }
.feat p { color: var(--muted); margin-top: 8px; }
.feat-grid--events { grid-template-columns: repeat(4, 1fr); }
.feat-grid--events .feat:first-child { grid-column: span 2; background: var(--surface); }
.feat-grid--events + .btns { margin-top: 48px; }

.roles { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; max-width: 900px; margin-inline: auto; }
.role { border: 1px solid var(--line-2); border-radius: var(--r); padding: 32px; }
.role--us { border-color: var(--blue); }
.role .checks { margin-top: 20px; }

/* ---------- Public WiFi ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; }
.chips .ico { color: var(--gold); }
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps4 li { border-top: 1px solid var(--line-2); padding-top: 22px; }
.steps4 h3 { margin-top: 16px; }
.steps4 p { color: var(--muted); margin-top: 6px; }
.steps3 { grid-template-columns: repeat(3, 1fr); }
.note { margin-top: 40px; color: var(--muted); font-size: .95rem; border-inline-start: 2px solid var(--gold); padding-inline-start: 14px; }
.mini-map { aspect-ratio: 1 / 1; max-width: 460px; justify-self: center; width: 100%; }

/* ---------- About ---------- */
.phero--about { padding-bottom: clamp(64px, 9vw, 120px); }
.prose p { color: var(--muted); font-size: 1.15rem; }
.prose p + p { margin-top: 18px; }
.split > h2 { align-self: start; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.about-grid article { border-top: 1px solid var(--line-2); padding-top: 20px; }
.about-grid h3 { font-size: 1.35rem; color: var(--gold); }
.about-grid p { color: var(--muted); margin-top: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.form { margin-top: 40px; }
.hp { position: absolute; inset-inline-start: -9999px; }
.types { border: 0; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.types legend { font-weight: 700; margin-bottom: 12px; }
.type input { position: absolute; opacity: 0; }
.type span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--muted); transition: border-color .2s, color .2s, background-color .2s; }
.type input:checked + span { border-color: var(--gold); color: var(--text); background: rgba(250, 210, 10, .08); }
.type input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.field em { color: var(--gold); font-style: normal; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--text); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 13px 14px; transition: border-color .2s;
}
.field input[dir="ltr"] { text-align: start; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field.is-invalid input { border-color: #ff6b6b; }
.alert { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding: 14px 18px; border-radius: var(--r-sm); font-weight: 600; }
.alert--ok { border: 1px solid var(--gold); color: var(--text); }
.alert--ok .ico { color: var(--gold); }
.alert--err { border: 1px solid #ff6b6b; }
.contact-side { border: 1px solid var(--line); border-radius: var(--r); padding: 32px; background: var(--surface); }
.contact-side .h-sm:not(:first-child) { margin-top: 32px; }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.lines span { color: var(--muted); }
.lines a { font-weight: 700; font-family: var(--font-en); }
.addr { display: flex; gap: 10px; align-items: flex-start; }
.addr .ico { color: var(--gold); margin-top: 4px; }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line); padding-top: 72px; background: var(--bg); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.ftr h3 { font-size: 1rem; margin-bottom: 18px; }
.ftr ul li { padding-block: 5px; }
.ftr ul a { color: var(--muted); transition: color .2s; }
.ftr ul a:hover { color: var(--text); }
.ftr-brand img { height: 32px; width: auto; }
.ftr-desc { font-family: var(--font-en); color: var(--muted); margin-top: 18px; font-size: .92rem; text-align: start; }
html[dir="rtl"] .ftr-desc { text-align: right; }
.ftr-desc-ar { color: var(--muted); font-size: .92rem; }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: color .2s, border-color .2s; }
.social a:hover { color: var(--gold); border-color: var(--gold); }
.social .ico { width: 18px; height: 18px; }
.ftr-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.ftr-contact .ico { width: 18px; height: 18px; margin-top: 5px; color: var(--blue); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid--events { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .network { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .split--data { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .hero-grid, .split, .contact-grid, .why { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-visual { max-width: 460px; }
  .journey { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .journey::before { display: none; }
  .cols3, .feat-grid, .steps4, .steps3, .roles, .about-grid { grid-template-columns: 1fr; }
  .col + .col { border-inline-start: 0; border-top: 1px solid var(--line); }
  .num-row { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .num:nth-child(odd) { border-inline-start: 0; }
  .num-row--3 { grid-template-columns: 1fr; }
  .num-row--3 .num { border-inline-start: 0; }
  .proof { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .proof-item:nth-child(odd) { border-inline-start: 0; }
  .row { grid-template-columns: 48px 1fr; }
  .row p { grid-column: 2; }
  .timeline { grid-template-columns: 1fr; gap: 0; justify-items: start; }
  .timeline::before { top: 0; bottom: 0; inset-inline: 19px auto; width: 1px; height: auto; }
  .timeline li { flex-direction: row; text-align: start; gap: 14px; padding-block: 8px; }
  .timeline .tl-n { margin: 0; }
  .ev-bottom .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--menu .menu-visual { order: 2; }
}
@media (max-width: 600px) {
  .sol-grid, .who-grid, .feat-grid--events, .ftr-grid, .fields { grid-template-columns: 1fr; }
  .feat-grid--events .feat:first-child { grid-column: auto; }
  .journey { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .checks--grid, .ev-bottom .checks { grid-template-columns: 1fr; }
  .float { padding: 8px 12px; }
  .float .stat-num { font-size: 1.2rem; }
  .dash-body { grid-template-columns: 1fr; }
  .who { min-height: 0; }
  .who h3 { padding-top: 24px; }
  .btn { width: 100%; }
  .nav-foot .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- شريط الشعارات ---------- */
.sec--logos { padding-block: clamp(64px, 8vw, 104px); border-block: 1px solid var(--line); overflow: hidden; }
.strip-label { display: block; font-size: .85rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.sec--logos .wrap + .marquee { margin-bottom: 40px; }
.marquee { display: flex; width: 100%; overflow: hidden; gap: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; flex: none; min-width: 100%; animation: marquee 46s linear infinite; }
.marquee--b .marquee-track { animation-direction: reverse; animation-duration: 58s; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(100%); } }
.logo-item { display: grid; place-items: center; flex: none; width: 178px; height: 92px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .25s var(--ease); }
.logo-item:hover { border-color: var(--line-2); }
.logo-item img { max-height: 48px; width: auto; object-fit: contain; transition: transform .25s var(--ease); }
.logo-item:hover img { transform: scale(1.06); }
.logo-text { font-weight: 700; color: var(--muted); text-align: center; font-size: .95rem; transition: color .25s var(--ease); }
.logo-item:hover .logo-text { color: var(--text); }
.strip-note { text-align: center; color: var(--muted); margin-top: 8px; display: flex; align-items: baseline; justify-content: center; gap: 8px; flex-wrap: wrap; }
.strip-note .stat-num { font-weight: 800; color: var(--gold); font-size: 1.5rem; }
@media (prefers-reduced-motion: reduce) {
  .marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; min-width: 0; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* ---------- زر واتساب العائم ---------- */
.wa-float {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #06210F; box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 600px) { .wa-float { width: 52px; height: 52px; inset-inline-end: 14px; bottom: 14px; } .wa-float svg { width: 28px; height: 28px; } }

/* ---------- صفحة 404 ---------- */
.e404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: calc(var(--hdr) + 40px); padding-bottom: 80px; }
.e404-code { font-family: var(--font-en); font-size: clamp(5rem, 16vw, 11rem); font-weight: 800; line-height: 1; color: var(--gold); }
.e404 h1 { margin-top: 12px; }
.e404 p { color: var(--muted); max-width: 52ch; margin: 18px auto 0; }

/* ---------- مستويات الحملات ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tier { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); padding: 32px 28px; background: var(--surface); transition: border-color .25s var(--ease); }
.tier:hover { border-color: var(--blue); }
.tier h3 { font-size: 1.5rem; }
.tier-who { color: var(--muted); margin-top: 8px; min-height: 3.2em; }
.tier .checks { margin-top: 20px; margin-bottom: 28px; }
.tier .checks li { font-weight: 500; align-items: flex-start; }
.tier .checks .ico { margin-top: 6px; }
.tier-cta { margin-top: auto; align-self: flex-start; }
.note--center { text-align: center; max-width: 60ch; margin-inline: auto; border-inline-start: 0; padding-inline-start: 0; }
@media (max-width: 880px) { .tiers { grid-template-columns: 1fr; } .tier-who { min-height: 0; } }
