/* ===== الخطوط (نفس خط الهوية) ===== */
@font-face {
  font-family: "Bahij Janna";
  src: url("public/fonts/Bahij_Janna-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Bahij Janna";
  src: url("public/fonts/Bahij_Janna-Bold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

/* ===== متغيرات الهوية (نفس ألوان الموقع القديم) ===== */
:root {
  --teal-900: #0f4444;
  --teal-800: #1e6b6b;
  --teal-700: #2b8a8a;
  --teal-500: #3da8a8;
  --teal-300: #7dcece;
  --teal-100: #e0f5f5;
  --lime-700: #6e9610;
  --lime-500: #95c11f;
  --lime-300: #bddf6a;
  --lime-100: #eef8d4;
  --charcoal: #2a2a2a;
  --ink: #102a2a;
  --gray-700: #4a4a4a;
  --gray-500: #6b6b6b;
  --gray-100: #f2f5f5;
  --white: #ffffff;

  --grad-lime: linear-gradient(135deg, #6e9610 0%, #95c11f 100%);
  --grad-teal: linear-gradient(135deg, #0f4444 0%, #2b8a8a 60%, #3da8a8 100%);

  --shadow-sm: 0 4px 16px rgba(15, 68, 68, 0.08);
  --shadow-md: 0 16px 44px rgba(15, 68, 68, 0.14);
  --shadow-lg: 0 30px 80px rgba(15, 68, 68, 0.22);
  --shadow-lime: 0 16px 40px rgba(149, 193, 31, 0.32);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Bahij Janna", Arial, sans-serif;
  direction: rtl;
  text-align: right;
  color: var(--charcoal);
  background: #f6faf9;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

/* ===== تركيز لوحة المفاتيح والوصولية ===== */
:focus-visible {
  outline: 2.5px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* ===== الخلفية المتحركة (Aurora) ===== */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(149, 193, 31, 0.10), transparent 60%),
    radial-gradient(1000px 700px at -10% 20%, rgba(61, 168, 168, 0.12), transparent 60%),
    #f6faf9;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.blob-1 { width: 460px; height: 460px; top: -120px; right: -80px; background: rgba(61, 168, 168, 0.45); animation: drift1 22s ease-in-out infinite; }
.blob-2 { width: 520px; height: 520px; top: 35%; left: -160px; background: rgba(149, 193, 31, 0.32); animation: drift2 26s ease-in-out infinite; }
.blob-3 { width: 400px; height: 400px; bottom: -140px; right: 25%; background: rgba(15, 68, 68, 0.30); animation: drift3 30s ease-in-out infinite; }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 68, 68, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 68, 68, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}

@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px, 60px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px, -40px) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px, -60px) scale(1.15); } }

/* توهج يتبع المؤشر */
.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(149, 193, 31, 0.16), transparent 60%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ===== الأزرار ===== */
.btn {
  --pad: 0 26px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad);
  border: 0;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-lime { color: var(--charcoal); background: var(--grad-lime); box-shadow: var(--shadow-lime); }
.btn-solid { color: var(--white); background: var(--grad-teal); box-shadow: var(--shadow-md); }
.btn-ghost {
  color: var(--teal-900);
  border: 1.5px solid rgba(15, 68, 68, 0.22);
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-lime:hover, .btn-solid:hover { transform: translateY(-4px); }
.btn-ghost:hover { transform: translateY(-4px); border-color: var(--teal-500); color: var(--teal-700); }

/* ===== الهيدر ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(246, 250, 249, 0.92);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: rgba(15, 68, 68, 0.08);
  box-shadow: var(--shadow-sm);
}
.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand-image { width: clamp(150px, 13vw, 188px); max-height: 50px; object-fit: contain; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 50px;
  color: var(--gray-700);
  font-size: 0.95rem;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover, .nav-links a.is-active {
  color: var(--teal-800);
  background: rgba(224, 245, 245, 0.8);
}
.nav-cta { min-height: 46px; padding: 0 22px; }
.nav-cta-mobile { display: none; margin-top: 6px; width: 100%; justify-content: center; }
.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1.5px solid rgba(15, 68, 68, 0.16);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.7);
  padding: 12px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.menu-toggle:hover { background: rgba(224, 245, 245, 0.9); border-color: var(--teal-300); }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--teal-900); border-radius: 2px; }

/* ===== شارات العناوين ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--teal-700);
  background: rgba(224, 245, 245, 0.9);
  border: 1px solid rgba(61, 168, 168, 0.2);
}
.section-tag.lime { color: var(--lime-700); background: var(--lime-100); border-color: rgba(149, 193, 31, 0.28); }
.section-tag.white { color: var(--white); background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--teal-800);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(61, 168, 168, 0.24);
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--lime-500);
  box-shadow: 0 0 0 5px rgba(149, 193, 31, 0.2);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ===== أقسام عامة ===== */
.section { padding: 104px 0; position: relative; }
.section-head { max-width: 820px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--gray-500); font-size: 1.08rem; line-height: 1.9; }

h1 {
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--teal-900);
  max-width: 16ch;
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.3;
  font-weight: 800;
  color: var(--teal-900);
}
h3 { font-size: 1.28rem; line-height: 1.45; font-weight: 800; color: var(--teal-900); }
p { line-height: 1.9; color: var(--gray-500); }

.grad-text {
  display: block;
  background: linear-gradient(120deg, var(--teal-500), var(--lime-500) 55%, var(--teal-700));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% 0; } }

/* ===== البطل ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 150px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-inner { position: relative; z-index: 2; min-width: 0; }
.hero h1 { margin: 22px 0 24px; max-width: 100%; }
.hero-lead {
  max-width: 620px;
  font-size: 1.15rem;
  color: var(--gray-700);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}
.hero-pillars li {
  padding: 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 68, 68, 0.08);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-pillars li:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.hero-pillars b { display: block; color: var(--teal-900); font-size: 1.12rem; margin-bottom: 4px; }
.hero-pillars span { font-size: 0.84rem; color: var(--gray-500); }

/* المدار البصري */
.orbit {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.orbit-core {
  position: absolute;
  width: 34%; height: 34%;
  display: grid; place-items: center;
  text-align: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: 800;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  line-height: 1.5;
  background: var(--grad-teal);
  box-shadow: 0 0 60px rgba(61, 168, 168, 0.45), inset 0 0 30px rgba(0,0,0,0.15);
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(61, 168, 168, 0.35);
}
.ring i {
  position: absolute;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--lime-500);
  box-shadow: 0 0 18px rgba(149, 193, 31, 0.7);
  top: -7px; left: 50%;
  margin-left: -7px;
}
.ring-1 { width: 54%; height: 54%; animation: spin 16s linear infinite; }
.ring-2 { width: 77%; height: 77%; border-color: rgba(149, 193, 31, 0.3); animation: spin 26s linear infinite reverse; }
.ring-2 i { background: var(--teal-500); box-shadow: 0 0 18px rgba(61, 168, 168, 0.7); }
.ring-3 { width: 100%; height: 100%; border-color: rgba(15, 68, 68, 0.16); animation: spin 38s linear infinite; }
.ring-3 i { background: var(--teal-300); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== المقدمة السردية ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.about-accent { position: relative; }
.big-quote {
  display: block;
  font-size: 7rem;
  line-height: 0.6;
  color: var(--lime-300);
  margin-bottom: 14px;
}
.about-copy { display: grid; gap: 22px; }
.about-copy p { font-size: 1.1rem; line-height: 2; color: var(--gray-700); }
.about-copy strong { color: var(--teal-800); }
.about-copy p {
  position: relative;
  padding-right: 24px;
  border-right: 3px solid transparent;
  transition: border-color 0.4s ease;
}
.about-copy p::before {
  content: "";
  position: absolute;
  right: 0; top: 6px; bottom: 6px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(var(--teal-500), var(--lime-500));
}

/* ===== لماذا تختارنا ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  position: relative;
  padding: 30px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 68, 68, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.why-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--teal-500), var(--lime-500));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.why-card:hover::after { opacity: 1; }
.why-ic {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--white);
  background: var(--grad-teal);
  box-shadow: var(--shadow-md);
}
.why-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { font-size: 0.98rem; }

/* ===== الخدمات ===== */
.services-section {
  color: var(--white);
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(149, 193, 31, 0.18), transparent 60%),
    var(--grad-teal);
  border-radius: 0;
  overflow: hidden;
}
.services-section .section-head p { color: rgba(255, 255, 255, 0.78); }
.light h2, .light .section-head h2 { color: var(--white); }

.services-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 26px;
  align-items: start;
}
.service-tabs { display: grid; gap: 12px; }
.tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: right;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}
.tab .tab-no {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}
.tab:hover { background: rgba(255, 255, 255, 0.12); }
.tab.is-active {
  background: var(--white);
  color: var(--teal-900);
  border-color: var(--white);
  box-shadow: var(--shadow-md);
}
.tab.is-active .tab-no { background: var(--grad-lime); color: var(--charcoal); }

.service-panel {
  position: relative;
  min-height: 420px;
  padding: 38px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.panel-body { animation: fadeUp 0.5s ease; }
.panel-eyebrow { color: var(--lime-300); font-weight: 800; margin-bottom: 12px; font-size: 1.02rem; }
.service-panel h3 { color: var(--white); font-size: 1.7rem; margin-bottom: 14px; }
.service-panel > .panel-body > p { color: rgba(255, 255, 255, 0.8); font-size: 1.06rem; line-height: 2; }
.panel-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.panel-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}
.panel-chips span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-300); }
.panel-chips span:hover { transform: translateY(-3px); background: rgba(149, 193, 31, 0.22); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ===== الأرقام ===== */
.stats-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
}
.stat {
  position: relative;
  padding: 32px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 68, 68, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat .num {
  display: block;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--teal-700), var(--lime-600, var(--lime-500)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label { display: block; margin-top: 12px; color: var(--gray-700); font-weight: 800; }
.stat.feature {
  grid-column: span 2;
  grid-row: span 2;
  color: var(--white);
  background:
    radial-gradient(500px 300px at 80% 10%, rgba(149, 193, 31, 0.3), transparent 60%),
    var(--grad-teal);
  border-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat.feature .num { font-size: clamp(3.4rem, 6vw, 5.4rem); background: none; color: var(--white); -webkit-text-fill-color: var(--white); }
.stat.feature .label { color: rgba(255, 255, 255, 0.82); font-size: 1.12rem; }
.stat.feature .sub { margin-top: 14px; color: rgba(255, 255, 255, 0.72); line-height: 1.9; }

/* ===== الشريط المتحرك ===== */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  color: var(--white);
  background: linear-gradient(135deg, #1a1a1a 0%, var(--charcoal) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: scroll-x 34s linear infinite;
}
.marquee-track span { white-space: nowrap; font-weight: 800; color: rgba(255, 255, 255, 0.88); }
.marquee-track i { color: var(--lime-500); font-style: normal; }
@keyframes scroll-x { to { transform: translateX(50%); } }

/* ===== قصة النجاح ===== */
.story-section {
  color: var(--white);
  background:
    radial-gradient(800px 500px at 10% 110%, rgba(149, 193, 31, 0.16), transparent 60%),
    linear-gradient(150deg, var(--teal-900), #143838 70%, var(--charcoal));
}
.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
}
.story-copy h2 { color: var(--white); margin: 16px 0 22px; }
.story-copy p { color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; line-height: 2; margin-bottom: 18px; }
.story-copy strong { color: var(--lime-300); }

.story-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.story-timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.25s ease, background 0.25s ease;
}
.story-timeline li:hover { transform: translateX(-8px); background: rgba(255, 255, 255, 0.12); }
.story-timeline .st-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--lime-300);
  min-width: 84px;
}
.story-timeline .st-text { color: rgba(255, 255, 255, 0.82); font-weight: 800; }

/* ===== دعوة التواصل ===== */
.contact-cta { padding: 110px 0; position: relative; }
.contact-inner {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  padding: 60px 48px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(149, 193, 31, 0.16), transparent 70%),
    rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 68, 68, 0.1);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.contact-inner h2 { margin-bottom: 16px; }
.contact-inner p { font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* ===== الفوتر ===== */
.site-footer { padding: 56px 0 30px; color: var(--white); background: var(--charcoal); }
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .brand-image { filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 12px; }
.footer-brand p { color: rgba(255, 255, 255, 0.55); max-width: 360px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: rgba(255, 255, 255, 0.62); font-weight: 800; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--lime-300); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.86rem;
}

/* ===== أيقونة واتساب داخل الزر ===== */
.wa-ic {
  width: 24px; height: 24px;
  display: inline-grid; place-items: center;
  flex: 0 0 auto;
}
.wa-ic svg { width: 100%; height: 100%; fill: currentColor; }

/* ===== بطاقات التواصل (الهاتف/الإيميل) ===== */
.contact-meta { margin-top: 28px; }
.contact-or {
  display: block;
  position: relative;
  margin: 0 auto 20px;
  max-width: 420px;
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 800;
}
.contact-or::before,
.contact-or::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 68, 68, 0.2));
}
.contact-or::before { right: 0; }
.contact-or::after { left: 0; transform: scaleX(-1); }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
  margin-inline: auto;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  text-align: right;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 68, 68, 0.1);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-300); }
.cc-ic {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: var(--grad-teal);
  box-shadow: var(--shadow-sm);
}
.cc-ic svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.cc-body { display: grid; gap: 3px; min-width: 0; }
.cc-body small { color: var(--gray-500); font-size: 0.8rem; font-weight: 800; }
.cc-body b { color: var(--teal-900); font-size: 1.05rem; direction: ltr; text-align: right; }

/* ===== تواصل الفوتر ===== */
.footer-contact { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; }
.footer-contact a { color: rgba(255, 255, 255, 0.7); font-weight: 800; transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--lime-300); }

/* ===== زر واتساب العائم ===== */
.float-wa {
  position: fixed;
  z-index: 95;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 62px;
  padding: 0;
  border-radius: 50px;
  color: var(--white);
  background: linear-gradient(135deg, #25d366 0%, #128c4b 100%);
  box-shadow: 0 16px 38px rgba(18, 140, 75, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.float-wa-icon {
  position: relative;
  z-index: 1;
  width: 62px; height: 62px;
  flex: 0 0 auto;
  display: grid; place-items: center;
}
.float-wa-icon svg { width: 30px; height: 30px; fill: currentColor; }
.float-wa-text {
  display: grid;
  line-height: 1.2;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 800;
  opacity: 0;
  transition: max-width 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
}
.float-wa-text b { font-size: 0.95rem; }
.float-wa:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(18, 140, 75, 0.5);
}
.float-wa:hover .float-wa-text {
  max-width: 200px;
  opacity: 1;
  padding-inline: 14px 20px;
}
.float-wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: #25d366;
  z-index: 0;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

/* ===== حركات الظهور ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .blob, .ring, .marquee-track, .grad-text, .eyebrow .dot, .float-wa-pulse { animation: none !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ===== استجابة الشاشات ===== */
@media (max-width: 1240px) {
  .orbit { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-inner { max-width: none; }
}

@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; margin-inline-start: auto; }
  .nav-links.is-open {
    position: fixed;
    inset: 78px 0 auto;
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 18px 24px 26px;
    background: rgba(246, 250, 249, 0.98);
    border-bottom: 1px solid rgba(15, 68, 68, 0.1);
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .nav-links.is-open .nav-cta-mobile { display: flex; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-inner { max-width: none; }
  .about-grid, .services-shell, .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bento { grid-template-columns: repeat(2, 1fr); }
  .stat.feature { grid-column: span 2; grid-row: auto; }
}

@media (max-width: 900px) {
  .hero-pillars { grid-template-columns: repeat(2, 1fr); }
  .service-panel { min-height: auto; padding: 28px; }
  .contact-inner { padding: 48px 28px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 1200px); }
  .section { padding: 76px 0; }
  .hero { padding: 128px 0 60px; }
  h1 { font-size: clamp(2.3rem, 10.6vw, 3.15rem); line-height: 1.18; max-width: 100%; }
  h2 { font-size: clamp(1.65rem, 7.4vw, 2.25rem); }
  .hero-lead { font-size: 1rem; line-height: 2; }
  .eyebrow { max-width: 100%; flex-wrap: wrap; }
  .hero-pillars { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .stats-bento { grid-template-columns: 1fr; }
  .stat.feature { grid-column: auto; }
  .contact-inner { padding: 44px 24px; }
  .contact-cards { grid-template-columns: 1fr; }
  .cc-body b { overflow-wrap: anywhere; }
  .btn { width: 100%; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .big-quote { font-size: 5rem; }
  .float-wa { height: 56px; left: 18px; bottom: 18px; }
  .float-wa-icon { width: 56px; height: 56px; }
  .float-wa-icon svg { width: 27px; height: 27px; }
}

@media (max-width: 480px) {
  .hero-pillars { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .shell { width: min(100% - 28px, 1200px); }
  .brand-image { width: 136px; }
  .menu-toggle { width: 46px; height: 46px; }
  .float-wa { left: 16px; bottom: 16px; }
}
