/* ========================================
   الدائرة الخضراء للتدوير - Light Corporate
   ======================================== */

:root {
  /* ألوان الهوية الرسمية */
  --brand-dark: #0B5D4F;       /* تيل غامق - أساسي */
  --brand: #16876e;            /* إميرالد - ثانوي */
  --brand-light: #2BB673;      /* أخضر فاتح - أكسنت */
  --brand-glow: #e8f7ef;       /* نعناعي فاتح جداً */

  /* خلفيات فاتحة */
  --bg: #ffffff;
  --bg-2: #f6faf8;             /* قسم ثانوي خفيف جداً */
  --bg-3: #eef6f1;             /* أكثر وضوحاً */
  --surface: #ffffff;

  /* نصوص */
  --text: #052e26;             /* أسود بلمسة خضرة */
  --text-strong: #0a3b30;
  --text-dim: #5a7068;
  --text-mute: #8aa29a;

  /* حدود وفواصل */
  --line: #e4ede9;
  --line-strong: #cfe0d8;

  /* ظلال */
  --shadow-sm: 0 2px 8px rgba(5, 46, 38, 0.04);
  --shadow-md: 0 8px 24px rgba(5, 46, 38, 0.06);
  --shadow-lg: 0 20px 50px rgba(5, 46, 38, 0.08);
  --shadow-brand: 0 14px 40px -10px rgba(11, 93, 79, 0.25);

  --danger: #d83a52;

  --radius: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  --t: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }

/* زر العودة للأعلى */
.to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-dark);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px -8px rgba(11, 93, 79, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .35s var(--t);
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .to-top { bottom: 18px; left: 18px; width: 44px; height: 44px; }
}

body {
  font-family: 'Almarai', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .25s var(--t); }
a:hover { color: var(--brand); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

/* ========================================
   شريط التنقل
   ======================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all .35s var(--t);
}
#navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(5, 46, 38, 0.06);
  border-bottom: 1px solid var(--line);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
}
.logo-img-h {
  height: 72px;
  width: auto;
  object-fit: contain;
  transition: transform .4s var(--t);
}
.logo:hover .logo-img-h { transform: translateY(-2px) scale(1.04); }
#navbar.scrolled .logo-img-h { height: 58px; }
@media (max-width: 640px) {
  .logo-img-h { height: 54px; }
  #navbar.scrolled .logo-img-h { height: 46px; }
}

/* صورة شعار في الفوتر */
.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--brand-dark);
  padding: 6px;
}
.logo-text { color: var(--brand-dark); font-weight: 800; }
.logo-footer { gap: 14px; }
.logo-footer .logo-img { width: 64px; height: 64px; padding: 7px; border-radius: 16px; }
.logo-footer .logo-text { font-size: 18px; }

@media (max-width: 640px) {
  .logo-mark { width: 56px; height: 56px; }
  .logo-words { font-size: 18px; }
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dim);
  transition: all .25s var(--t);
}
.nav-links a:hover {
  color: var(--brand-dark);
  background: var(--brand-glow);
}
.nav-cta {
  background: var(--brand-dark) !important;
  color: #fff !important;
  padding: 11px 22px !important;
  border-radius: 10px !important;
  margin-right: 8px;
  box-shadow: 0 6px 18px -6px rgba(11, 93, 79, 0.5);
}
.nav-cta:hover {
  background: var(--brand) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--brand-dark);
  font-size: 22px;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
}

/* ========================================
   HERO
   ======================================== */
#hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 28px 100px;
  position: relative;
  text-align: center;
  background:
    radial-gradient(ellipse at top, var(--brand-glow), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--brand-pattern);
  background-size: 540px 180px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(11, 93, 79, 0.06), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* شعار الشركة في الهيرو */
.hero-logo {
  display: inline-block;
  margin-bottom: 28px;
  animation: fadeUp .8s var(--t);
}
.hero-logo img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 28px;
  background: #fff;
  padding: 14px;
  box-shadow:
    0 18px 50px -12px rgba(11, 93, 79, 0.28),
    0 4px 14px rgba(11, 93, 79, 0.10);
  border: 1px solid var(--line);
  transition: transform .5s var(--t);
}
.hero-logo:hover img { transform: translateY(-4px) rotate(-2deg); }

/* ========================================
   النقش الزخرفي - مستوحى من هوية الشركة
   (الزخرفة الرباعية للتدوير)
   ======================================== */
:root {
  --brand-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='540' height='180' viewBox='0 0 540 180'><g fill='none' stroke='%2316876e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' opacity='0.55'><g transform='translate(20 30)'><rect x='0' y='0' width='44' height='28' rx='2'/><line x1='14' y1='34' x2='30' y2='34'/><line x1='10' y1='38' x2='34' y2='38'/><line x1='8' y1='6' x2='16' y2='14'/></g><g transform='translate(100 28)'><path d='M10 24 L4 32 L14 32'/><path d='M30 8 L36 16 L26 16'/><path d='M4 32 L8 18 L18 14'/><path d='M36 16 L32 30 L22 32'/><path d='M22 32 L18 14'/><path d='M14 32 L26 16'/></g><g transform='translate(170 28)'><rect x='6' y='12' width='28' height='18' rx='2'/><rect x='34' y='16' width='10' height='14' rx='1'/><circle cx='14' cy='34' r='3'/><circle cx='38' cy='34' r='3'/><path d='M0 12 L6 12 L6 30 L0 30'/></g><g transform='translate(240 26)'><path d='M8 6 L16 2 L20 6 L28 2 L36 6 L40 12 L34 14 L34 36 L10 36 L10 14 L4 12 Z'/></g><g transform='translate(310 24)'><rect x='6' y='2' width='32' height='38' rx='1'/><line x1='22' y1='2' x2='22' y2='40'/><circle cx='18' cy='22' r='1'/><circle cx='26' cy='22' r='1'/></g><g transform='translate(380 28)'><path d='M8 14 L8 32 Q8 36 12 36 L32 36 Q36 36 36 32 L36 14 Z'/><path d='M14 14 Q14 6 22 6 Q30 6 30 14'/></g><g transform='translate(450 30)'><rect x='0' y='0' width='44' height='28' rx='2'/><line x1='14' y1='34' x2='30' y2='34'/><line x1='10' y1='38' x2='34' y2='38'/></g><g transform='translate(60 110)'><path d='M8 6 L16 2 L20 6 L28 2 L36 6 L40 12 L34 14 L34 36 L10 36 L10 14 L4 12 Z'/></g><g transform='translate(130 108)'><rect x='6' y='2' width='32' height='38' rx='1'/><line x1='22' y1='2' x2='22' y2='40'/></g><g transform='translate(200 112)'><path d='M8 14 L8 32 Q8 36 12 36 L32 36 Q36 36 36 32 L36 14 Z'/><path d='M14 14 Q14 6 22 6 Q30 6 30 14'/></g><g transform='translate(270 110)'><rect x='0' y='0' width='44' height='28' rx='2'/><line x1='14' y1='34' x2='30' y2='34'/></g><g transform='translate(340 108)'><path d='M10 24 L4 32 L14 32'/><path d='M30 8 L36 16 L26 16'/><path d='M4 32 L8 18 L18 14'/><path d='M36 16 L32 30 L22 32'/><path d='M22 32 L18 14'/><path d='M14 32 L26 16'/></g><g transform='translate(410 108)'><rect x='6' y='12' width='28' height='18' rx='2'/><rect x='34' y='16' width='10' height='14' rx='1'/><circle cx='14' cy='34' r='3'/><circle cx='38' cy='34' r='3'/><path d='M0 12 L6 12 L6 30 L0 30'/></g></g></svg>");
}
.hero-title {
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 28px;
  letter-spacing: -0.015em;
  color: var(--text-strong);
  animation: fadeUp .9s .1s var(--t) backwards;
}
.gradient-text {
  background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeUp 1s .2s var(--t) backwards;
}
.hero-sub b { color: var(--brand-dark); font-weight: 800; }

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 70px;
  animation: fadeUp 1s .3s var(--t) backwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .3s var(--t);
  font-family: inherit;
}
.btn-primary {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(11, 93, 79, 0.5);
}
.btn-primary:hover {
  background: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(11, 93, 79, 0.6);
  color: #fff;
}
.btn-primary span { transition: transform .3s var(--t); }
.btn-primary:hover span { transform: translateX(-4px); }
.btn-ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--brand-dark);
}
.btn-ghost:hover {
  border-color: var(--brand-dark);
  background: var(--brand-glow);
  color: var(--brand-dark);
}
.btn-block { width: 100%; justify-content: center; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  animation: fadeUp 1.1s .4s var(--t) backwards;
}
.hero-stats > div {
  text-align: center;
  padding: 26px 16px;
  border-left: 1px solid var(--line);
}
.hero-stats > div:first-child { border-left: none; }
.hero-stats b {
  display: block;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.2;
  font-feature-settings: "tnum";
  margin-bottom: 4px;
}
.hero-stats span {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-indicator span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--brand);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* ========================================
   أقسام عامة
   ======================================== */
.section {
  padding: 110px 0;
  position: relative;
}
.section-dark {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--brand-pattern);
  background-size: 540px 180px;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  pointer-events: none;
  z-index: 0;
}
.section-dark > .container { position: relative; z-index: 1; }
.section-head {
  text-align: center;
  margin-bottom: 70px;
}
.kicker {
  display: inline-block;
  padding: 7px 18px;
  background: var(--brand-glow);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}
.section-sub {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 17px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ========================================
   عن الشركة
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.9;
}
.about-text p b { color: var(--text-strong); font-weight: 800; }
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tag {
  padding: 8px 18px;
  background: var(--brand-glow);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--brand-dark);
  font-weight: 700;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 420px;
  position: relative;
}
.orbit {
  position: relative;
  width: 340px;
  height: 340px;
}
.orbit-core {
  position: absolute;
  inset: 50% 0 0 50%;
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  color: #fff;
  box-shadow: 0 20px 50px -10px rgba(11, 93, 79, 0.4),
              inset 0 -15px 30px rgba(0, 0, 0, 0.15);
  animation: float 4s ease-in-out infinite;
}
.orbit-ring {
  position: absolute;
  border: 2px dashed var(--line-strong);
  border-radius: 50%;
  inset: 50% 0 0 50%;
}
.orbit-ring.r1 { width: 170px; height: 170px; margin: -85px 0 0 -85px; animation: spin 22s linear infinite; }
.orbit-ring.r2 { width: 240px; height: 240px; margin: -120px 0 0 -120px; animation: spin 30s linear infinite reverse; }
.orbit-ring.r3 { width: 320px; height: 320px; margin: -160px 0 0 -160px; animation: spin 40s linear infinite; }
.orbit-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 4px 12px rgba(43, 182, 115, 0.4);
  inset: 50% 0 0 50%;
}
.orbit-dot.d1 { animation: orbit1 8s linear infinite; }
.orbit-dot.d2 { animation: orbit2 12s linear infinite; background: var(--brand); }
.orbit-dot.d3 { animation: orbit3 16s linear infinite; }
.orbit-dot.d4 { animation: orbit1 10s linear infinite reverse; background: var(--brand); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes orbit1 {
  from { transform: rotate(0deg) translateX(85px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(85px) rotate(-360deg); }
}
@keyframes orbit2 {
  from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}
@keyframes orbit3 {
  from { transform: rotate(0deg) translateX(160px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(160px) rotate(-360deg); }
}

/* ========================================
   الرؤية والرسالة والهدف
   ======================================== */
.vmg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vmg-card {
  padding: 42px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all .4s var(--t);
  box-shadow: var(--shadow-sm);
}
.vmg-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--t);
}
.vmg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.vmg-card:hover::before { transform: scaleX(1); }
.vmg-featured {
  background: linear-gradient(180deg, #fff 0%, var(--brand-glow) 100%);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.vmg-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--brand-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--brand-dark);
}
.vmg-icon svg { width: 32px; height: 32px; }
.vmg-featured .vmg-icon {
  background: var(--brand-dark);
  color: #fff;
}
.vmg-card h3 {
  font-size: 25px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-strong);
}
.vmg-card p {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.85;
}
.vmg-card p b { color: var(--text-strong); font-weight: 800; }
.goal-list li {
  padding: 12px 0;
  padding-right: 26px;
  position: relative;
  color: var(--text-dim);
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.goal-list li:last-child { border: none; padding-bottom: 0; }
.goal-list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 10px;
  color: var(--brand-light);
  font-size: 15px;
  font-weight: 900;
}

/* ========================================
   6 أسباب
   ======================================== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.reason-card {
  padding: 38px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all .4s var(--t);
  box-shadow: var(--shadow-sm);
}
.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-light);
}
.reason-num {
  font-size: 54px;
  font-weight: 800;
  color: var(--brand-light);
  line-height: 1;
  margin-bottom: 16px;
  font-feature-settings: "tnum";
  opacity: 0.85;
}
.reason-card p {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.85;
}

/* ========================================
   الخدمات
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  margin-bottom: 90px;
}
.service-card {
  padding: 44px 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .4s var(--t);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-featured {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.service-featured h3, .service-featured p { color: #fff; }
.service-featured .service-icon {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.service-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--brand-glow);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-dark);
}
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-strong);
}
.service-card p {
  color: var(--text-dim);
  margin-bottom: 24px;
  font-size: 15.5px;
  line-height: 1.85;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.service-list li {
  padding: 9px 20px;
  background: var(--brand-glow);
  border-radius: 999px;
  font-size: 14px;
  color: var(--brand-dark);
  font-weight: 700;
}

.pipeline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.pipe-step {
  flex: 1;
  min-width: 90px;
  text-align: center;
  padding: 18px 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  backdrop-filter: blur(4px);
}
.pipe-step span {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
  font-weight: 700;
}
.pipe-arrow {
  color: rgba(255, 255, 255, 0.6);
  font-size: 22px;
  font-weight: 900;
}

/* ما يميزنا */
.features-strip {
  padding-top: 50px;
  border-top: 1px solid var(--line);
}
.features-title {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--text-strong);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feat {
  padding: 28px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: all .3s var(--t);
  box-shadow: var(--shadow-sm);
}
.feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light);
}
.feat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: var(--brand-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  transition: all .3s var(--t);
}
.feat-icon svg { width: 28px; height: 28px; }
.feat:hover .feat-icon {
  background: var(--brand-dark);
  color: #fff;
}
.feat b {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text-strong);
}
.feat span {
  font-size: 13px;
  color: var(--text-dim);
}

/* ========================================
   عداد الأثر
   ======================================== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}
.impact-card {
  padding: 42px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all .4s var(--t);
  box-shadow: var(--shadow-sm);
}
.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light);
}
.impact-num {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1;
  font-feature-settings: "tnum";
}
.impact-label {
  margin-top: 12px;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 15px;
}
.impact-bar {
  margin-top: 22px;
  height: 4px;
  background: var(--bg-3);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.impact-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 1.5s var(--t);
}
.impact-card.animated .impact-bar::after { transform: scaleX(1); }
.impact-highlight {
  background: linear-gradient(180deg, #fff 0%, var(--brand-glow) 100%);
  border-color: var(--line-strong);
}
.impact-highlight::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 0 4px rgba(43, 182, 115, 0.2);
  animation: pulse 2s infinite;
}

/* ========================================
   التغطية الجغرافية
   ======================================== */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.city-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: all .35s var(--t);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 88px;
}
.city-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-dark), var(--brand-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--t);
}
.city-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.city-card:hover::before { transform: scaleY(1); }
.city-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-strong);
}
/* ========================================
   التواصل
   ======================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  padding: 60px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact-wrap::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--brand-glow), transparent 70%);
  pointer-events: none;
}
.contact-info { position: relative; }
.contact-info h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 16px;
  margin-bottom: 18px;
  color: var(--text-strong);
}
.contact-info > p {
  color: var(--text-dim);
  margin-bottom: 30px;
  line-height: 1.85;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  color: var(--text-dim);
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border: none; }
.contact-list li .ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  flex-shrink: 0;
}
.contact-list li .ic svg { width: 20px; height: 20px; }
.contact-list a:hover { color: var(--brand); }

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-strong);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: all .25s var(--t);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-mute); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(22, 135, 110, 0.1);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 4px;
}
.form-note.success { color: var(--brand); font-weight: 700; }
.form-note.error { color: var(--danger); }

/* ========================================
   الفوتر
   ======================================== */
footer {
  margin-top: 40px;
  padding: 80px 0 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}
.logo-footer { margin-bottom: 16px; }
.footer-tag {
  color: var(--text-dim);
  font-size: 14.5px;
  max-width: 380px;
  line-height: 1.8;
}
footer h4 {
  color: var(--text-strong);
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 800;
}
footer ul li { padding: 7px 0; font-size: 14px; }
footer ul a { color: var(--text-dim); }
footer ul a:hover { color: var(--brand); }
.footer-bottom {
  text-align: center;
  padding: 26px;
  border-top: 1px solid var(--line);
  color: var(--text-mute);
  font-size: 13px;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--t), transform .8s var(--t);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .vmg-grid { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  /* منع أي overflow أفقي */
  html, body { overflow-x: hidden; }

  /* حشوات أضيق */
  .container { padding: 0 18px; }
  .nav-container { padding: 0 18px; gap: 12px; }

  /* شريط التنقل - قائمة الهمبرغر */
  .nav-links {
    position: fixed;
    top: 76px; left: 16px; right: 16px;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all .3s var(--t);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { width: 100%; text-align: center; padding: 14px; font-size: 16px; }
  .nav-cta { margin-right: 0 !important; margin-top: 8px; }
  .nav-toggle { display: block; }

  /* الأقسام */
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 44px; }
  .section-head h2 { font-size: clamp(26px, 7vw, 34px); }
  .section-sub { font-size: 15px; margin-top: 14px; }
  .kicker { font-size: 12px; padding: 6px 14px; }

  /* الهيرو */
  #hero { min-height: auto; padding: 110px 18px 70px; }
  .hero-logo img { width: 104px; height: 104px; padding: 11px; border-radius: 22px; }
  .hero-title { font-size: clamp(30px, 8vw, 42px); margin-bottom: 20px; }
  .hero-sub { font-size: 15px; margin-bottom: 32px; line-height: 1.75; }
  .hero-cta { gap: 10px; margin-bottom: 0; }
  .btn { padding: 14px 22px; font-size: 15px; }
  .btn-primary, .btn-ghost { flex: 1; justify-content: center; }

  /* الشبكات */
  .reasons-grid { grid-template-columns: 1fr; gap: 14px; }
  .reason-card { padding: 24px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feat { padding: 20px 14px; }
  .feat-icon { width: 48px; height: 48px; }
  .feat-icon svg { width: 24px; height: 24px; }
  .feat b { font-size: 15px; }
  .feat span { font-size: 12px; }

  /* عداد الأثر - عمودين على الموبايل */
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .impact-card { padding: 26px 18px; }
  .impact-num { font-size: clamp(32px, 8vw, 42px); }
  .impact-label { font-size: 13px; }

  /* التغطية - عمودين */
  .coverage-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .city-card { padding: 22px 16px; min-height: 72px; }
  .city-name { font-size: 16px; }

  /* الخدمات */
  .service-card { padding: 28px 22px; }
  .service-head h3 { font-size: 20px; }
  .vmg-card { padding: 32px 24px; }
  .vmg-card h3 { font-size: 22px; }
  .vmg-icon { width: 56px; height: 56px; margin-bottom: 18px; }
  .vmg-icon svg { width: 28px; height: 28px; }

  /* التواصل */
  .contact-wrap { padding: 24px 20px; grid-template-columns: 1fr; gap: 30px; }
  .contact-info h2 { font-size: 26px; }
  .contact-form { gap: 14px; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; /* يمنع zoom الآيفون */ padding: 14px 16px; }
  .contact-form label { font-size: 14px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }

  /* الفوتر */
  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .logo-footer { justify-content: center; }
  .footer-grid ul { padding: 0; }

  /* سلسلة التشغيل - عمودية */
  .pipeline { flex-direction: column; gap: 10px; }
  .pipe-arrow { transform: rotate(-90deg); }
  .pipe-step { min-width: 140px; }

  /* النقش الزخرفي أخف على الموبايل */
  #hero::before,
  .section-dark::before { background-size: 360px 120px; opacity: 0.35; }

  /* زر العودة للأعلى */
  .to-top { bottom: 16px; left: 16px; width: 42px; height: 42px; }
}

@media (max-width: 360px) {
  .hero-title { font-size: 26px; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; }
}
