@charset "UTF-8";
/* ============================================================
   تكامل الأعمال المتطورة — نظام التصميم
   مبني على دليل الهوية البصرية الرسمي للشركة
   الألوان: #001559 · #23346d · #3d82c3 · #f7a722
   الخطوط: Somar (عناوين) · IBM Plex Sans Arabic (نصوص) · General Sans (لاتيني)
   ============================================================ */

/* ─────────────────────────── الخطوط ─────────────────────────── */
@font-face {
  font-family: 'Somar';
  src: url('/assets/fonts/Somar-VF.woff') format('woff');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('/assets/fonts/IBMPlexSansArabic-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('/assets/fonts/GeneralSans-Regular.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('/assets/fonts/GeneralSans-Medium.woff') format('woff');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('/assets/fonts/GeneralSans-Light.woff') format('woff');
  font-weight: 300; font-style: normal; font-display: swap;
}

/* ─────────────────────────── المتغيرات ─────────────────────────── */
:root {
  /* ألوان الهوية */
  --navy-900: #001559;
  --navy-850: #0a1f5f;
  --navy-800: #16265f;
  --navy-700: #23346d;
  --navy-600: #2d4585;
  --blue-700: #2a5f9e; /* نهاية التدرّج — تحافظ على تباين AA للنص فوقه */
  --blue-600: #2b6cad;
  --blue-500: #3d82c3;
  --blue-400: #5c9bd6;
  --blue-300: #8fbde6;
  --blue-100: #dceafa;
  --blue-50:  #eff6fe;
  --amber:    #f7a722;
  --amber-600:#dd8f0d;
  --amber-text:#a76c05; /* 4.1:1 على الأبيض — نسخة الأمبر الصالحة للنص */
  --amber-100:#fdf0d8;
  --amber-50: #fff8ec;
  --on-dark:  #d3e1f6; /* نص ثانوي على الأسطح الداكنة — ‏4.9:1 على نهاية التدرّج */
  --amber-dark-bg:#ffc766; /* نسخة الأمبر الصالحة للنص على الأسطح الداكنة */

  /* محايدة */
  --ink:      #0c1631;
  --ink-2:    #34405c;
  --muted:    #5d6a86; /* 5.9:1 على الأبيض */
  --muted-2:  #64708c; /* 4.9:1 على الأبيض و4.6:1 على الخلفية الفاتحة — WCAG AA */
  --line:     #e4e9f2;
  --line-2:   #eef2f8;
  --bg:       #ffffff;
  --bg-soft:  #f6f8fc;
  --bg-tint:  #f0f5fc;

  /* تدرّجات */
  --grad-brand: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 45%, var(--blue-700) 100%);
  --grad-blue:  linear-gradient(135deg, var(--navy-700) 0%, var(--blue-700) 100%);
  --grad-amber: linear-gradient(135deg, #ffcb5c 0%, var(--amber) 100%);
  --grad-soft:  linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);

  /* ظلال */
  --sh-xs: 0 1px 2px rgba(12, 22, 49, .06);
  --sh-sm: 0 2px 8px rgba(12, 22, 49, .06), 0 1px 2px rgba(12, 22, 49, .04);
  --sh-md: 0 8px 24px rgba(12, 22, 49, .08), 0 2px 6px rgba(12, 22, 49, .04);
  --sh-lg: 0 20px 48px rgba(12, 22, 49, .12), 0 4px 12px rgba(12, 22, 49, .06);
  --sh-blue: 0 12px 30px rgba(45, 69, 133, .22);
  --sh-amber: 0 10px 26px rgba(247, 167, 34, .3);

  /* قياسات */
  --r-sm: 8px; --r: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 999px;
  --wrap: 1200px;
  --wrap-narrow: 820px;
  --head-h: 80px;

  /* خطوط */
  --f-display: 'Somar', 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans Arabic', 'Somar', 'Segoe UI', system-ui, sans-serif;
  --f-latin: 'General Sans', 'Somar', system-ui, sans-serif;

  --mark-a: #1c3a7a;
  --mark-b: #3d82c3;
}

/* ─────────────────────────── إعادة الضبط ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* منع أي سحب أفقي على الجوال.
   clip أفضل من hidden هنا لأنه لا يحوّل الصفحة إلى حاوية تمرير،
   فيبقى الهيدر اللاصق (sticky) يعمل بشكل صحيح. hidden احتياطي للمتصفحات الأقدم. */
html, body { overflow-x: hidden; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
/* يجب أن تتغلّب على قواعد display في المكوّنات */
[hidden] { display: none !important; }
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}
strong, b { font-weight: 600; color: var(--ink); }
:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--amber); color: #fff; }
[dir='ltr'] { direction: ltr; unicode-bidi: isolate; }
.num, time, .ltr { font-family: var(--f-latin); font-variant-numeric: tabular-nums; }

/* ─────────────────────────── تخطيط ─────────────────────────── */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 40px, var(--wrap-narrow)); }
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec.tight { padding: clamp(40px, 5vw, 64px) 0; }
.sec.soft { background: var(--bg-soft); }
.sec.tint { background: var(--bg-tint); }
.sec.dark { background: var(--navy-900); color: var(--on-dark); }
.sec.dark h2, .sec.dark h3, .sec.dark h4 { color: #fff; }
/* النص العريض يرث لونًا داكنًا افتراضيًا — يجب قلبه داخل الأقسام الداكنة */
.sec.dark strong, .sec.dark b,
.cta-band strong, .cta-band b,
.site-foot strong, .site-foot b,
.hero strong, .hero b,
.check-list.light strong, .check-list.light b { color: #fff; }
/* رابط التخطي: مثبّت داخل حدود الشاشة حتى لا يضيف بكسلًا واحدًا من التمدد الأفقي في اتجاه RTL */
.skip {
  position: fixed; inset-inline-start: 0; top: 0; z-index: 999;
  width: 1px; height: 1px; padding: 0; margin: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  inset-inline-start: 12px; top: 12px;
  width: auto; height: auto; padding: 12px 22px; overflow: visible;
  clip-path: none; background: var(--navy-900); color: #fff; border-radius: var(--r);
  box-shadow: var(--sh-lg); font-family: var(--f-display); font-weight: 600;
}
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.mark { width: 100%; height: auto; }
/* عناصر الشبكة تأخذ min-width:auto افتراضيًا فتمنع انكماش المحتوى العريض (الجداول مثلًا) */
.grid > *, .split > *, .steps > *, .plans > *, .work-grid > *, .post-grid > *,
.feat-grid > *, .stats > *, .contact-cards > *, .mega-in > *, .row2 > *,
.opt-grid > *, .card, .plan, .work, .post-card, .feat { min-width: 0; }
.table-wrap, .prose { min-width: 0; max-width: 100%; }
/* حجم افتراضي لكل أيقونة مضمّنة — تتجاوزه القواعد الأكثر تحديدًا أدناه */
.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.18em; }

/* ─────────────────────────── الأزرار ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--r-full);
  font-family: var(--f-display); font-weight: 600; font-size: 15.5px; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn .i { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 19px; font-size: 14.5px; }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: var(--sh-blue); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(45, 69, 133, .32); }
.btn-amber { background: var(--amber); color: #40270a; box-shadow: var(--sh-amber); }
.btn-amber:hover { background: #ffb43a; box-shadow: 0 14px 32px rgba(247, 167, 34, .42); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--navy-700); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); box-shadow: var(--sh-sm); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; background: rgba(255,255,255,.06); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn-ghost { background: var(--blue-50); color: var(--navy-700); }
.btn-ghost:hover { background: var(--blue-100); }
.btn-link { padding: 0; background: none; color: var(--blue-600); font-weight: 600; gap: 6px; }
.btn-link .i { width: 17px; height: 17px; transition: transform .2s; }
.btn-link:hover { transform: none; color: var(--navy-700); }
.btn-link:hover .i { transform: translateX(-4px); }

/* ─────────────────────────── الشريط العلوي ─────────────────────────── */
.topbar {
  background: var(--navy-900); color: #a9bde0; font-size: 13.5px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-msg { display: flex; align-items: center; gap: 9px; margin: 0; }
.topbar-msg .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 rgba(247,167,34,.6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(247,167,34,0); }
  100% { box-shadow: 0 0 0 0 rgba(247,167,34,0); }
}
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 7px; transition: color .18s; }
.topbar-links a:hover { color: var(--amber); }
.topbar-links .i { width: 16px; height: 16px; opacity: .8; }
.topbar-links a span { font-family: var(--f-latin); direction: ltr; }
.lang-switch { font-family: var(--f-display); font-weight: 600; letter-spacing: .2px; }
.lang-switch span { font-family: inherit !important; direction: initial !important; }
[dir="ltr"] .topbar-links a span,
[dir="ltr"] .foot-bottom .num,
[dir="ltr"] .reg-cr-v { direction: ltr; }
[dir="ltr"] body { font-family: var(--f-latin); }
[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3, [dir="ltr"] .sec-title, [dir="ltr"] .foot-h { font-family: var(--f-latin); font-weight: 500; }
[dir="ltr"] .hero-badge, [dir="ltr"] .eyebrow { letter-spacing: .3px; }

/* ─────────────────────────── الهيدر ─────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2); transition: box-shadow .25s, border-color .25s;
}
.site-head.is-stuck { box-shadow: 0 6px 24px rgba(12,22,49,.07); border-color: transparent; }
.head-in { display: flex; align-items: center; gap: 18px; min-height: var(--head-h); position: relative; }
.brand { flex: 0 1 auto; min-width: 0; }
.brand .logo-svg { height: 50px; width: auto; }
.main-nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: var(--r-sm);
  font-family: var(--f-display); font-weight: 500; font-size: 15.5px; color: var(--ink-2);
  transition: color .18s, background .18s;
}
.nav-link:hover { color: var(--navy-700); background: var(--blue-50); }
.nav-link.is-active { color: var(--navy-900); font-weight: 600; }
.nav-link.is-active::after {
  content: ''; position: absolute; inset-inline-start: 50%; transform: translateX(50%);
  bottom: -2px; width: 18px; height: 3px; border-radius: 2px; background: var(--amber);
}
.caret {
  width: 7px; height: 7px; border-inline-end: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg); margin-top: -4px; opacity: .55; transition: transform .2s;
}
.has-sub { position: static; }
.has-sub:hover .caret { transform: rotate(225deg); margin-top: 2px; }
.head-actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* القائمة الكبيرة */
.mega {
  position: absolute; top: calc(100% + 14px); inset-inline-start: 0; inset-inline-end: auto;
  width: min(calc(100vw - 40px), 780px); max-width: calc(100vw - 40px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .mega, .has-sub:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega::before { content: ''; position: absolute; inset-inline: 0; top: -16px; height: 16px; }
.mega-in { display: grid; grid-template-columns: 1fr 236px; gap: 10px; }
.mega-side { display: grid; gap: 10px; align-content: start; }
.mega-links { display: grid; gap: 1px; padding: 4px; background: var(--bg-soft); border-radius: var(--r); }
.mega-links a {
  display: block; padding: 9px 14px; border-radius: var(--r-sm); font-family: var(--f-display);
  font-weight: 500; font-size: 14.4px; color: var(--ink-2); transition: background .16s, color .16s;
}
.mega-links a:hover { background: #fff; color: var(--blue-600); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-grid a { display: flex; gap: 12px; padding: 11px 12px; border-radius: var(--r); transition: background .18s; }
.mega-grid a:hover { background: var(--blue-50); }
.mega-ic {
  flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad-blue); color: #fff;
}
.mega-ic .i { width: 20px; height: 20px; }
.mega-tx { display: block; min-width: 0; }
.mega-tx strong { display: block; font-family: var(--f-display); font-size: 14.8px; color: var(--ink); line-height: 1.5; }
.mega-tx em {
  display: block; font-style: normal; font-size: 12.6px; color: var(--muted); line-height: 1.6;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.mega-cta {
  background: var(--grad-brand); color: #fff; border-radius: var(--r); padding: 20px 18px;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.mega-cta-t { font-family: var(--f-display); font-weight: 600; font-size: 15px; margin: 0; }
.mega-cta-d { font-size: 12.8px; line-height: 1.7; color: var(--on-dark); margin: 0 0 6px; }

/* البرغر + قائمة الجوال */
.burger { display: none; width: 44px; height: 44px; border-radius: 11px; position: relative; }
.burger span {
  display: block; height: 2px; width: 21px; background: var(--navy-900); border-radius: 2px;
  margin: 4.5px auto; transition: transform .28s, opacity .2s;
}
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: calc(var(--head-h) + 40px) 0 0; z-index: 99; background: #fff;
  overflow-y: auto; padding: 20px; border-top: 1px solid var(--line-2);
  animation: slideDown .28s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } }
.mobile-nav ul { display: grid; gap: 2px; }
.mobile-nav > nav > ul > li > a, .m-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 14px; border-radius: var(--r); font-family: var(--f-display); font-weight: 500;
  font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line-2);
}
.mobile-nav a.is-active { color: var(--blue-600); }
.m-toggle .caret { transition: transform .22s; }
.m-toggle[aria-expanded='true'] .caret { transform: rotate(225deg); }
.m-sub { padding: 4px 16px 10px; }
.m-sub a { display: block; padding: 10px 12px; font-size: 15.5px; color: var(--muted); border-radius: var(--r-sm); }
.m-sub a:hover { background: var(--blue-50); color: var(--navy-700); }
.m-actions { display: grid; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.m-tel {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px;
  color: var(--navy-700); font-family: var(--f-latin); direction: ltr;
}
body.nav-open { overflow: hidden; }

/* ─────────────────────────── مسار التنقل ─────────────────────────── */
.crumbs { background: var(--bg-soft); border-bottom: 1px solid var(--line-2); font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 0; color: var(--muted); }
.crumbs li + li::before { content: '‹'; margin-inline-end: 6px; opacity: .5; }
.crumbs a:hover { color: var(--blue-600); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ─────────────────────────── عناوين الأقسام ─────────────────────────── */
.sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head.center { text-align: center; margin-inline: auto; max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  padding: 6px 15px 6px 12px; border-radius: var(--r-full);
  background: var(--blue-50); color: var(--blue-600);
  font-family: var(--f-display); font-weight: 600; font-size: 13.5px; letter-spacing: .01em;
}
.eyebrow-mark { width: 15px; height: 15px; flex: none; }
.sec.dark .eyebrow { background: rgba(255,255,255,.1); color: var(--amber); }
.sec-title { font-size: clamp(27px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.02em; }
.sec-title .hl { color: var(--blue-600); }
.sec-title .hl-amber { color: var(--amber-text); }
.sec-sub { margin-top: 16px; font-size: 17.5px; color: var(--muted); line-height: 1.9; }
.sec.dark .sec-sub { color: #a9bde0; }

/* ─────────────────────────── الهيرو ─────────────────────────── */
.hero {
  position: relative; overflow: hidden; background: var(--navy-900); color: #cddcf3;
  padding: clamp(56px, 8vw, 100px) 0 clamp(64px, 8vw, 110px);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(61,130,195,.34), transparent 62%),
    radial-gradient(700px 480px at 88% 22%, rgba(45,69,133,.5), transparent 60%),
    linear-gradient(160deg, #001559 0%, #0d2367 48%, #17408c 100%);
}
.hero-mark {
  position: absolute; inset-inline-start: -8%; top: -14%; width: 46%; max-width: 620px;
  color: #fff; opacity: .045; pointer-events: none; transform: rotate(-8deg);
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 75%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 13px;
  border-radius: var(--r-full); background: rgba(247,167,34,.14); border: 1px solid rgba(247,167,34,.3);
  color: var(--amber); font-family: var(--f-display); font-weight: 600; font-size: 13.5px; margin-bottom: 22px;
}
.hero-badge .mark { width: 15px; height: 15px; }
.hero h1 {
  color: #fff; font-size: clamp(33px, 5vw, 58px); line-height: 1.22; font-weight: 700;
  letter-spacing: -.028em; margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--amber) 10%, #ffd479 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(16.5px, 1.9vw, 19.5px); line-height: 1.92; color: var(--on-dark); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-trust li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: #a9bde0; }
.hero-trust .i { width: 18px; height: 18px; color: var(--amber); flex: none; }

/* لوحة المتصفح في الهيرو */
.hero-art { position: relative; }
.browser {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,8,35,.5), 0 0 0 1px rgba(255,255,255,.1);
  transform: perspective(1400px) rotateY(6deg) rotateX(2deg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.browser:hover { transform: perspective(1400px) rotateY(2deg) rotateX(0); }
.browser-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  background: #f2f5fa; border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 5px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d5dbe6; display: block; }
.browser-dots i:first-child { background: #ff6058; } .browser-dots i:nth-child(2) { background: #ffbd2e; } .browser-dots i:nth-child(3) { background: #28ca42; }
.browser-url {
  flex: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--r-full);
  padding: 5px 13px; font-family: var(--f-latin); font-size: 11.5px; color: var(--muted-2);
  direction: ltr; text-align: center;
}
.browser-body { padding: 22px; background: #fff; }
.sk { border-radius: 6px; background: linear-gradient(90deg, #eef2f8 25%, #f7f9fc 50%, #eef2f8 75%); background-size: 200% 100%; animation: shimmer 2.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-h { height: 13px; margin-bottom: 9px; }
.sk-title { height: 22px; width: 62%; background: var(--navy-700); animation: none; margin-bottom: 14px; border-radius: 5px; }
.sk-line { height: 9px; margin-bottom: 8px; }
.sk-btn { height: 32px; width: 118px; border-radius: var(--r-full); background: var(--amber); animation: none; margin-top: 16px; }
.sk-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 22px; }
.sk-card { height: 66px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line-2); position: relative; }
.sk-card::after { content: ''; position: absolute; inset-inline-start: 12px; top: 12px; width: 22px; height: 22px; border-radius: 7px; background: var(--blue-100); }

.hero-float {
  position: absolute; background: #fff; border-radius: var(--r); box-shadow: var(--sh-lg);
  padding: 13px 17px; display: flex; align-items: center; gap: 11px; animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-11px); } }
.hero-float .i { width: 21px; height: 21px; }
.hero-float b { display: block; font-family: var(--f-display); font-size: 15px; color: var(--ink); line-height: 1.4; }
.hero-float span { font-size: 12.2px; color: var(--muted); }
.hero-float.f1 { inset-inline-end: -22px; top: 16%; animation-delay: .4s; }
.hero-float.f1 .i { color: #22a06b; }
.hero-float.f2 { inset-inline-start: -26px; bottom: 12%; animation-delay: 1.6s; }
.hero-float.f2 .i { color: var(--amber-600); }

/* شريط الشعارات/الثقة */
.logos-band { padding: 30px 0; border-bottom: 1px solid var(--line-2); background: #fff; }
.logos-band p { text-align: center; font-size: 13.5px; color: var(--muted-2); margin-bottom: 18px; letter-spacing: .02em; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 40px; }
.logos-row li {
  display: flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 500;
  font-size: 14.5px; color: var(--muted); opacity: .85;
}
.logos-row .i { width: 19px; height: 19px; color: var(--blue-500); }

/* ─────────────────────────── الإحصاءات ─────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.stat { background: #fff; padding: 30px 24px; text-align: center; }
.stat-v { font-family: var(--f-display); font-size: clamp(30px, 4vw, 42px); font-weight: 700; color: var(--navy-700); line-height: 1.1; }
.stat-l { font-family: var(--f-display); font-weight: 600; font-size: 15.5px; color: var(--ink); margin-top: 6px; }
.stat-s { font-size: 13.3px; color: var(--muted); margin-top: 4px; line-height: 1.6; }

/* ─────────────────────────── البطاقات ─────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px;
  transition: transform .26s cubic-bezier(.2,.8,.2,1), box-shadow .26s, border-color .26s;
  position: relative; overflow: hidden; height: 100%;
}
.card::after {
  content: ''; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px;
  background: var(--grad-blue); transform: scaleX(0); transform-origin: right; transition: transform .35s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card-ic {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600); margin-bottom: 20px; transition: background .26s, color .26s;
}
.card-ic .i { width: 26px; height: 26px; }
.card:hover .card-ic { background: var(--grad-blue); color: #fff; }
.card h2, .card h3 { font-size: 20px; margin-bottom: 10px; }
.card h2 a, .card h3 a { color: inherit; }
.card p { font-size: 15.3px; color: var(--muted); line-height: 1.85; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-full);
  background: var(--bg-soft); border: 1px solid var(--line-2); font-size: 12.8px; color: var(--ink-2);
  font-family: var(--f-display); font-weight: 500;
}
.chip.amber { background: var(--amber-50); border-color: var(--amber-100); color: #8a5a05; }
.chip .i { width: 14px; height: 14px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--blue-600); font-family: var(--f-display); font-weight: 600; font-size: 14.8px; }
.card-link .i { width: 17px; height: 17px; transition: transform .22s; }
.card:hover .card-link .i { transform: translateX(-5px); }
.card-num {
  position: absolute; inset-inline-end: 20px; top: 14px; font-family: var(--f-latin); font-weight: 500;
  font-size: 54px; color: var(--bg-soft); line-height: 1; pointer-events: none;
}

/* بطاقة خدمة كبيرة */
.svc-card { display: flex; flex-direction: column; }
.svc-card .card-body { flex: 1; }
.svc-price { font-family: var(--f-display); font-weight: 600; color: var(--navy-700); font-size: 15px; }

/* ─────────────────────────── صندوق الإجابة (GEO) ─────────────────────────── */
.answer-box {
  background: linear-gradient(135deg, var(--blue-50), #fff 70%);
  border: 1px solid var(--blue-100); border-inline-start: 4px solid var(--blue-500);
  border-radius: var(--r); padding: 22px 26px; margin: 30px 0;
}
.answer-label {
  display: flex; align-items: center; gap: 8px; margin: 0 0 8px;
  font-family: var(--f-display); font-weight: 600; font-size: 13.5px; color: var(--blue-600);
  text-transform: none; letter-spacing: .02em;
}
.answer-label .i { width: 18px; height: 18px; }
.answer-tx { margin: 0; font-size: 17px; line-height: 1.9; color: var(--ink-2); }
.answer-tx strong { color: var(--navy-700); }

/* ─────────────────────────── المحتوى النصي ─────────────────────────── */
.prose { font-size: 17px; line-height: 1.95; color: var(--ink-2); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(23px, 2.8vw, 30px); margin-top: 46px; margin-bottom: 6px; scroll-margin-top: 110px; }
.prose h3 { font-size: clamp(19px, 2.2vw, 23px); margin-top: 34px; margin-bottom: 4px; scroll-margin-top: 110px; }
.prose h2 + p, .prose h3 + p { margin-top: 12px; }
.prose ul, .prose ol { display: grid; gap: 11px; padding-inline-start: 4px; }
.prose ul li { position: relative; padding-inline-start: 28px; }
.prose ul li::before {
  content: ''; position: absolute; inset-inline-start: 2px; top: 12px; width: 8px; height: 8px;
  border-radius: 2px; background: var(--amber); transform: rotate(45deg);
}
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-inline-start: 40px; counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; inset-inline-start: 0; top: 4px; width: 27px; height: 27px;
  border-radius: 8px; background: var(--blue-50); color: var(--blue-600);
  font-family: var(--f-latin); font-size: 13.5px; font-weight: 500; display: grid; place-items: center;
}
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--navy-700); }
.prose blockquote {
  border-inline-start: 4px solid var(--amber); background: var(--amber-50);
  padding: 20px 24px; border-radius: 0 var(--r) var(--r) 0; font-size: 17.5px; color: var(--ink);
}
.prose blockquote p { margin: 0; }
.prose figure { margin: 30px 0; }
.prose figcaption { font-size: 13.8px; color: var(--muted); text-align: center; margin-top: 10px; }
.prose code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .88em;
  background: var(--bg-soft); border: 1px solid var(--line-2); padding: 2px 7px; border-radius: 6px;
  direction: ltr; display: inline-block;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* الجداول */
.table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 15.3px; min-width: 520px; }
thead th {
  background: var(--navy-900); color: #fff; font-family: var(--f-display); font-weight: 600;
  text-align: start; padding: 15px 18px; font-size: 15px; white-space: nowrap;
}
tbody td { padding: 14px 18px; border-top: 1px solid var(--line-2); vertical-align: top; }
tbody tr:nth-child(even) { background: var(--bg-soft); }
tbody th { padding: 14px 18px; border-top: 1px solid var(--line-2); text-align: start; font-family: var(--f-display); font-weight: 600; color: var(--ink); white-space: nowrap; }
td .i, th .i { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; }
.ok { color: #16a06a; } .no { color: #cf4b4b; }

/* قوائم المزايا */
.check-list { display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.8px; }
.check-list .i {
  flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-600); stroke-width: 2.4;
}
.check-list.amber .i { background: var(--amber-50); color: var(--amber-600); }
.check-list.light .i { background: rgba(255,255,255,.14); color: var(--amber); }

.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feat {
  display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; transition: border-color .22s, box-shadow .22s, transform .22s;
}
.feat:hover { border-color: var(--blue-300); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.feat-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.feat-ic .i { width: 20px; height: 20px; }
.feat h3, .feat h4 { font-size: 16.5px; margin-bottom: 5px; }
.feat p { font-size: 14.3px; color: var(--muted); line-height: 1.8; margin: 0; }

/* ─────────────────────────── المنهجية ─────────────────────────── */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); position: relative; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px;
  position: relative; transition: transform .26s, box-shadow .26s, border-color .26s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--blue-300); }
.step-n {
  font-family: var(--f-latin); font-weight: 500; font-size: 14px; color: #fff;
  width: 42px; height: 42px; border-radius: 13px; background: var(--grad-blue);
  display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--sh-blue);
}
.step h2, .step h3 { font-size: 19px; margin-bottom: 9px; }
.step p { font-size: 14.8px; color: var(--muted); line-height: 1.82; }
.step-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }

/* ─────────────────────────── الباقات ─────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-xl); padding: 34px 28px;
  position: relative; transition: transform .26s, box-shadow .26s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.plan.featured { border-color: var(--navy-700); box-shadow: var(--sh-lg); }
.plan.featured::before {
  content: 'الأكثر طلبًا'; position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(50%);
  background: var(--amber); color: #40270a; font-family: var(--f-display); font-weight: 600; font-size: 13px;
  padding: 6px 18px; border-radius: var(--r-full); box-shadow: var(--sh-amber); white-space: nowrap;
}
.plan-name { font-family: var(--f-display); font-size: 21px; font-weight: 700; color: var(--ink); }
.plan-en { font-family: var(--f-latin); font-size: 13px; color: var(--muted-2); letter-spacing: .04em; }
.plan-for { font-size: 14.3px; color: var(--muted); margin-top: 10px; min-height: 44px; }
.plan-price { display: flex; align-items: baseline; gap: 7px; margin: 20px 0 4px; }
.plan-price b { font-family: var(--f-latin); font-size: 40px; font-weight: 500; color: var(--navy-900); line-height: 1; }
.plan-price span { font-family: var(--f-display); font-size: 17px; color: var(--navy-700); font-weight: 600; }
.plan-price b.plan-price-tx { font-family: var(--f-display); font-size: 21px; font-weight: 700; letter-spacing: -.2px; }
.plan-note { font-size: 13px; color: var(--muted-2); }
.plan ul { display: grid; gap: 11px; margin: 24px 0 26px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plan li .i { flex: none; width: 19px; height: 19px; color: var(--blue-500); stroke-width: 2.6; margin-top: 4px; }
.plan.featured li .i { color: var(--amber-600); }

/* ─────────────────────────── الأسئلة الشائعة ─────────────────────────── */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: border-color .22s, box-shadow .22s;
}
.faq-item[open] { border-color: var(--blue-300); box-shadow: var(--sh-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer;
  padding: 20px 24px; font-family: var(--f-display); font-weight: 600; font-size: 17px; color: var(--ink);
  list-style: none; line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50);
  position: relative; transition: background .22s, transform .28s;
}
.faq-item summary i::before, .faq-item summary i::after {
  content: ''; position: absolute; inset-inline-start: 50%; top: 50%; background: var(--blue-600);
  border-radius: 2px; transform: translate(50%, -50%); transition: opacity .22s;
}
.faq-item summary i::before { width: 11px; height: 2px; }
.faq-item summary i::after { width: 2px; height: 11px; }
.faq-item[open] summary i { background: var(--navy-700); transform: rotate(180deg); }
.faq-item[open] summary i::before { background: #fff; }
.faq-item[open] summary i::after { opacity: 0; }
.faq-a { padding: 0 24px 22px; }
.faq-a p { color: var(--muted); font-size: 16px; line-height: 1.92; margin: 0; }

/* ─────────────────────────── شريط الدعوة ─────────────────────────── */
.cta-band { position: relative; overflow: hidden; background: var(--grad-brand); color: #fff; padding: clamp(46px, 6vw, 76px) 0; }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-tx h2 { color: #fff; font-size: clamp(24px, 3.2vw, 36px); margin-bottom: 12px; }
.cta-tx p { color: var(--on-dark); font-size: 16.8px; line-height: 1.85; max-width: 620px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-deco { position: absolute; inset-inline-end: -60px; top: -70px; width: 340px; color: #fff; opacity: .07; pointer-events: none; }

/* ─────────────────────────── الأعمال ─────────────────────────── */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s;
}
.work:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.work-thumb { position: relative; aspect-ratio: 16/10; background: var(--grad-brand); overflow: hidden; display: grid; place-items: center; padding: 22px; }
.work-thumb .mark { position: absolute; inset-inline-end: -14%; bottom: -22%; width: 55%; color: #fff; opacity: .09; }
.work-mock {
  width: 100%; background: #fff; border-radius: 10px 10px 0 0;
  box-shadow: 0 20px 40px rgba(0,10,40,.34); overflow: hidden;
}
.work-mock-bar {
  height: 26px; background: #f2f5fa; display: flex; align-items: center; gap: 5px;
  padding: 0 10px; border-bottom: 1px solid var(--line);
}
.work-mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d5dbe6; display: block; flex: none; }
.work-mock-url {
  flex: 1; margin-inline-start: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-full); padding: 2px 10px; font-size: 10.5px; color: var(--muted-2);
  text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--f-display);
}
.work-shot { width: 100%; height: auto; display: block; }
.work:hover .work-shot { transform: none; }
.work-body { padding: 22px 24px 26px; }
.work-cat { font-family: var(--f-display); font-size: 12.8px; font-weight: 600; color: var(--blue-600); }
.work h2, .work h3 { font-size: 19px; margin: 7px 0 9px; }
.work p { font-size: 14.7px; color: var(--muted); line-height: 1.82; }
.work-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.work-tags span { font-size: 12.2px; padding: 4px 11px; border-radius: var(--r-full); background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line-2); }

/* ─────────────────────────── المدونة ─────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; transition: transform .26s, box-shadow .26s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.post-cover { aspect-ratio: 1200/630; background: var(--navy-900); position: relative; display: block; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.post-card:hover .post-cover img { transform: scale(1.04); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.8px; color: var(--muted-2); margin-bottom: 12px; }
.post-meta .cat { color: var(--blue-600); font-family: var(--f-display); font-weight: 600; }
.post-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.post-card h2, .post-card h3 { font-size: 19.5px; line-height: 1.55; margin-bottom: 10px; }
.post-card p { font-size: 14.8px; color: var(--muted); line-height: 1.82; flex: 1; }
.post-card .card-link { margin-top: 18px; }

.post-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line-2); padding: clamp(36px,5vw,64px) 0; }
.post-hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.32; margin: 16px 0 18px; }
.post-hero-img {
  width: 100%; height: auto; display: block; border-radius: var(--r-lg);
  margin-top: -14px; box-shadow: var(--sh-lg);
}
.post-toc {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px; margin: 30px 0;
}
.post-toc h2 { font-size: 17px !important; margin: 0 0 14px !important; }
.post-toc ol { display: grid; gap: 8px; counter-reset: t; }
.post-toc li { padding-inline-start: 0 !important; counter-increment: t; }
.post-toc li::before { display: none !important; }
.post-toc a { color: var(--ink-2); text-decoration: none; font-size: 15.5px; display: flex; gap: 10px; }
.post-toc a::before { content: counter(t) '.'; color: var(--blue-500); font-family: var(--f-latin); }
.post-toc a:hover { color: var(--blue-600); }

.share { display: flex; align-items: center; gap: 12px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share span { font-family: var(--f-display); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); transition: all .2s; }
.share a:hover { background: var(--navy-700); color: #fff; border-color: var(--navy-700); transform: translateY(-2px); }
.share .i { width: 18px; height: 18px; }

/* ─────────────────────────── النماذج ─────────────────────────── */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 42px); box-shadow: var(--sh-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--f-display); font-weight: 600; font-size: 14.6px; color: var(--ink); margin-bottom: 8px; }
.field .req { color: #c0392b; }
.field .hint { font-weight: 400; color: var(--muted-2); font-size: 13px; }
.input, .select, .textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r);
  background: #fff; font-size: 15.6px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
  font-family: var(--f-body);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(61,130,195,.14);
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.textarea { min-height: 130px; resize: vertical; line-height: 1.8; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%235d6a86' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 16px center; padding-inline-end: 16px; padding-inline-start: 44px;
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.opt {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; transition: all .2s; background: #fff;
}
.opt input { position: absolute; opacity: 0; }
.opt-box {
  flex: none; width: 20px; height: 20px; border: 2px solid var(--line); border-radius: 6px;
  display: grid; place-items: center; transition: all .2s;
}
.opt-box::after { content: ''; width: 9px; height: 9px; border-radius: 2px; background: #fff; transform: scale(0); transition: transform .18s; }
.opt:hover { border-color: var(--blue-300); }
.opt input:checked ~ .opt-box { background: var(--blue-500); border-color: var(--blue-500); }
.opt input:checked ~ .opt-box::after { transform: scale(1); }
.opt:has(input:checked) { border-color: var(--blue-500); background: var(--blue-50); }
.opt input:focus-visible ~ .opt-box { box-shadow: 0 0 0 4px rgba(61,130,195,.2); }
.opt span:last-child { font-size: 15px; font-family: var(--f-display); font-weight: 500; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 20px; }
.consent input { margin-top: 5px; accent-color: var(--blue-500); width: 17px; height: 17px; }
.form-msg { padding: 15px 18px; border-radius: var(--r); font-size: 15px; margin-bottom: 18px; display: none; }
.form-msg.ok { display: block; background: #e8f7f0; color: #146c48; border: 1px solid #b9e6d2; }
.form-msg.err { display: block; background: #fdecec; color: #a3312d; border: 1px solid #f6c9c7; }
.form-alt { text-align: center; margin-top: 20px; font-size: 14.5px; color: var(--muted); }

/* بطاقات التواصل */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.cc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px;
  transition: transform .24s, box-shadow .24s, border-color .24s; display: block;
}
.cc:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--blue-300); }
.cc-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 16px; }
.cc-ic .i { width: 22px; height: 22px; }
.cc h2, .cc h3 { font-size: 17.5px; margin-bottom: 6px; }
.cc p { font-size: 14.6px; color: var(--muted); }
.cc b { display: block; margin-top: 8px; font-family: var(--f-latin); font-size: 16px; color: var(--navy-700); direction: ltr; text-align: start; }

/* ─────────────────────────── الفوتر ─────────────────────────── */
.site-foot { position: relative; background: var(--navy-900); color: #93a9cf; padding: clamp(52px, 6vw, 78px) 0 0; overflow: hidden; }
.foot-mark { position: absolute; inset-inline-start: -6%; bottom: -18%; width: 330px; color: #fff; opacity: .035; pointer-events: none; }
.foot-top { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 40px; padding-bottom: 46px; }
.foot-brand .logo-svg { height: 54px; width: auto; margin-bottom: 20px; }
.foot-about { font-size: 14.8px; line-height: 1.9; color: #93a9cf; max-width: 380px; }
.social { display: flex; gap: 9px; margin-top: 22px; }
.social a {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #cddcf3; transition: all .22s;
}
.social a:hover { background: var(--amber); color: #40270a; transform: translateY(-3px); }
.social .i { width: 18px; height: 18px; }
.foot-h { font-family: var(--f-display); font-size: 16.5px; font-weight: 600; color: #fff; margin-bottom: 18px; }
.foot-col ul { display: grid; gap: 11px; }
.foot-col a { font-size: 14.8px; transition: color .2s, padding .2s; display: inline-block; }
.foot-col a:hover { color: var(--amber); padding-inline-start: 4px; }
.contact-list { display: grid; gap: 15px; margin-bottom: 22px; }
.contact-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.75; }
.contact-list .i { flex: none; width: 19px; height: 19px; color: var(--amber); margin-top: 3px; }
.contact-list a[href^='tel'] { font-family: var(--f-latin); direction: ltr; }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.8px;
}
.foot-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-legal a:hover { color: var(--amber); }


/* ─────────────────────────── قسم السجل التجاري في الفوتر ─────────────────────────── */
.foot-registry {
  position: relative; display: flex; gap: 26px; align-items: center; flex-wrap: wrap;
  padding: 26px 28px; margin-bottom: 26px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg);
}
.reg-qr {
  flex: none; width: 112px; height: 112px; padding: 8px; border-radius: var(--r);
  background: #fff; display: grid; place-items: center;
}
.reg-qr img { width: 100%; height: auto; display: block; }
.reg-tx { flex: 1; min-width: 240px; }
.foot-registry .foot-h { margin-bottom: 8px; }
/* سطران مرتبان: كل جملة في سطر مستقل، مع اتساع يكفي الجملة الأولى دون التفاف */
.reg-lead { font-size: 14.5px; line-height: 1.9; color: #93a9cf; margin-bottom: 16px; max-width: 100%; }
.reg-lead span { display: block; }
.reg-cr {
  display: inline-flex; align-items: center; gap: 14px; margin: 0;
  padding: 10px 18px; border-radius: var(--r-full);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
}
.reg-cr-l { font-size: 13.5px; color: #93a9cf; }
.reg-cr-v { font-size: 19px; color: #fff; letter-spacing: .06em; font-weight: 500; }
@media (max-width: 560px) {
  .foot-registry { padding: 22px 20px; gap: 20px; }
  .reg-qr { width: 96px; height: 96px; }
}

/* ─────────────────────────── الأزرار العائمة ─────────────────────────── */
.fab-wa {
  position: fixed; inset-inline-start: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px rgba(31,168,85,.42);
  transition: transform .24s, box-shadow .24s; animation: fabIn .5s .8s both;
}
@keyframes fabIn { from { opacity: 0; transform: scale(.6); } }
.fab-wa:hover { transform: scale(1.08); background: #25d366; box-shadow: 0 14px 34px rgba(37,211,102,.55); }
.fab-wa .i { width: 28px; height: 28px; }
.fab-tip {
  position: absolute; inset-inline-start: 68px; background: var(--navy-900); color: #fff;
  padding: 7px 14px; border-radius: var(--r-full); font-size: 13.5px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; transform: translateX(6px);
  font-family: var(--f-display); font-weight: 500;
}
.fab-wa:hover .fab-tip { opacity: 1; transform: translateX(0); }
.to-top {
  position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px;
  border-radius: 50%; background: #fff; color: var(--navy-700); border: 1px solid var(--line);
  box-shadow: var(--sh-md); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .28s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.to-top .i { width: 20px; height: 20px; }

/* ─────────────────────────── مساعدات ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.mt0 { margin-top: 0 !important; }
.mb0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: 40px; }
.hide-md { display: inline-flex; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split.wide-start { grid-template-columns: 1.15fr .85fr; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--line); font-size: 14px; font-family: var(--f-display); font-weight: 500;
}
.pill .i { width: 16px; height: 16px; color: var(--blue-500); }
.note {
  background: var(--amber-50); border: 1px solid var(--amber-100); border-radius: var(--r);
  padding: 18px 22px; font-size: 15.3px; color: #6b4708; display: flex; gap: 12px; align-items: flex-start;
}
.note .i { flex: none; width: 21px; height: 21px; color: var(--amber-600); margin-top: 2px; }

/* ─────────────────────────── 404 ─────────────────────────── */
.err-page { text-align: center; padding: clamp(60px, 10vw, 130px) 0; }
.err-code { font-family: var(--f-latin); font-size: clamp(90px, 18vw, 190px); font-weight: 500; line-height: 1; color: var(--blue-100); }
.err-page h1 { font-size: clamp(26px, 4vw, 38px); margin: 6px 0 16px; }
.err-page p { font-size: 17px; color: var(--muted); max-width: 520px; margin-inline: auto; }

/* ─────────────────────────── الاستجابة ─────────────────────────── */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 46px; }
  .hero-art { max-width: 620px; }
  .browser { transform: none; }
  .hero-float.f1 { inset-inline-end: -10px; }
  .hero-float.f2 { inset-inline-start: -10px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .g4, .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1120px) {
  .main-nav, .head-actions .hide-md { display: none; }
  .burger { display: block; }
  .head-in { gap: 12px; }
  .head-actions { margin-inline-start: auto; }
}
@media (max-width: 940px) {
  .g3, .work-grid, .post-grid, .plans, .steps, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .split, .split.wide-start { grid-template-columns: 1fr; }
  .plan.featured { order: -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar-links a span { display: none; }
  .topbar-msg { font-size: 12.6px; }
  .g2, .g3, .g4, .work-grid, .post-grid, .plans, .steps, .stats, .contact-cards, .feat-grid, .row2 { grid-template-columns: 1fr; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .hero-float { display: none; }
  .fab-wa { width: 52px; height: 52px; inset-inline-start: 16px; bottom: 16px; }
  .to-top { inset-inline-end: 16px; bottom: 16px; }
  .brand .logo-svg { height: 44px; }
  .sec { padding: 52px 0; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 28px); }
  .card, .plan { padding: 24px 20px; }
}
/* الهيدر يتقلّص تدريجيًا حتى لا يتجاوز عرض الشاشة على أي جهاز */
@media (max-width: 380px) {
  .head-in { gap: 10px; }
  .brand .logo-svg { height: 42px; }
  .head-actions { gap: 8px; }
  .cta-head { padding: 9px 14px; font-size: 14px; }
  .burger { width: 42px; height: 42px; }
  .topbar-msg { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 335px) {
  .cta-head .hide-xs { display: none; }
}
@media (max-width: 320px) {
  .brand .logo-svg { height: 38px; }
}}

/* الطباعة */
@media print {
  .topbar, .site-head, .mobile-nav, .fab-wa, .to-top, .cta-band, .site-foot { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
}

/* تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
