/* الزمر — موقع تسويقيّ ساكن. خطٌّ مستضافٌ ذاتياً؛ لا طلبات خارجية، لا تتبّع، لا كوكيز. */
@import url('fonts.css');

:root {
  --ink: #0b1f1b;
  --ink-2: #44605a;
  --ink-3: #6b8580;
  --teal: #0e9488;
  --teal-deep: #0b6e66;
  --teal-soft: #e4f4f1;
  --mint: #37d0a7;
  --gold: #e3b04e;
  --paper: #ffffff;
  --paper-2: #f4f8f7;
  --line: #dfe9e7;
  --dark: #062019;
  --dark-2: #0a2b22;
  --dark-line: rgba(255, 255, 255, .09);
  --dark-txt: #b9cfc9;
  --amber: #92400e;
  --amber-soft: #fdf3e3;
  --r: 16px;
  --shadow: 0 1px 2px rgba(6, 32, 25, .05), 0 10px 30px rgba(6, 32, 25, .08);
  --shadow-lg: 0 2px 6px rgba(6, 32, 25, .08), 0 24px 60px rgba(6, 32, 25, .16);
  --grad: linear-gradient(120deg, var(--teal) 0%, var(--mint) 100%);
  --maxw: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }   /* يغلب display الصنفيّ (.btn inline-flex) — عقد «مخفيّ حتى يُضبط الرقم» يعتمد عليه */
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, -apple-system, sans-serif;
  color: var(--ink); background: var(--paper);
  line-height: 1.95; font-size: 16.5px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
a { color: var(--teal-deep); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 8px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }

/* زر قائمة الجوال */
.nav-toggle { display: none; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 9px; padding: 8px 10px; cursor: pointer; margin-inline-start: auto; }

/* ─── إظهارٌ تدريجيّ عند التمرير (fail-safe) ─── */
/* عقد المتانة: المحتوى ظاهرٌ افتراضياً؛ الإخفاء لا يُفعَّل إلا بعد أن يُسلِّح JS المرصد بنجاح (html.reveal-armed).
   فشلُ JS / غيابُ IntersectionObserver / الطباعة ⇒ يبقى كلُّ شيءٍ ظاهراً — لا إخفاءَ صامت. */
.reveal { transition: opacity .4s ease, transform .42s cubic-bezier(.16, 1, .3, 1); }
html.reveal-armed .reveal { opacity: 0; transform: translateY(16px); }
html.reveal-armed .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, html.reveal-armed .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .sk-shimmer::after, .hero-glow { animation: none !important; }
}
@media print {
  .reveal, html.reveal-armed .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─── ترويسة زجاجية ─── */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(6, 32, 25, .78); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--dark-line); }
.hdr .wrap { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 20px; color: #fff; text-decoration: none; letter-spacing: -.2px; white-space: nowrap; flex: none; }
.hdr .nav a, .hdr .btn { white-space: nowrap; }   /* هيدر مزدحم (8 روابط + زرّان): لا التفاف داخل العناصر — يُطوى إلى القائمة عند ≤900px */
.brand .mark { width: 36px; height: 36px; border-radius: 10px; background: #fff; padding: 3px; object-fit: contain; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 4px 14px rgba(20, 184, 150, .35); }   /* الرمز المؤسسي على بلاطة بيضاء — تباينٌ ثابت على الهيدر الداكن */
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--dark-txt); padding: 8px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s; }
.nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border-radius: 12px; padding: 12px 24px; font-weight: 700; font-size: 15.5px; border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s; font-family: inherit; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #052b23; box-shadow: 0 6px 20px rgba(20, 184, 150, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(20, 184, 150, .45); }
.btn-ghost-dark { border-color: rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.hdr .login-btn { padding: 9px 18px; font-size: 14px; }
.hdr .hdr-cta { padding: 9px 18px; font-size: 14px; box-shadow: 0 4px 14px rgba(20, 184, 150, .3); }

/* ─── hero داكن فاخر ─── */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #0e4d40 0%, transparent 55%), radial-gradient(900px 500px at 10% 110%, #0b3a30 0%, transparent 55%), var(--dark); color: #fff; padding: 64px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 100%); pointer-events: none; }
.hero-glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(110px); opacity: .5; pointer-events: none; }
.hero-glow.g1 { background: #10a892; top: -220px; inset-inline-start: -120px; animation: drift 14s ease-in-out infinite alternate; }
.hero-glow.g2 { background: #0d5c7a; bottom: -260px; inset-inline-end: -140px; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.08); } }
.hero .wrap { position: relative; display: grid; gap: 56px; grid-template-columns: 1.05fr .95fr; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--gold); font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 99px; margin-bottom: 26px; letter-spacing: .2px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.5; font-weight: 700; letter-spacing: -.5px; }
h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: #a7c4bd; font-size: 18px; margin: 22px 0 34px; max-width: 32em; line-height: 2.05; }
.lede b { color: #e8f5f1; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: #7fa39b; margin-top: 26px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 15px; height: 15px; color: var(--mint); flex: none; }
.hero-assure { font-size: 13.5px; color: #b9cfc9; margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.14); max-width: 32em; }

/* ─── إطار المتصفح لخانات الوسائط ─── */
.frame { border-radius: 18px; overflow: hidden; background: #0d2c24; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(20,184,150,.12), 0 0 60px rgba(20,184,150,.10); }
.frame-bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.08); }
.frame-bar .dots { display: flex; gap: 6px; }
.frame-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.frame-bar .dots i:first-child { background: #ff5f57; } .frame-bar .dots i:nth-child(2) { background: #febc2e; } .frame-bar .dots i:nth-child(3) { background: #28c840; }
.frame-bar .url { margin-inline: auto; direction: ltr; font-size: 12px; color: #8fb3ab; background: rgba(0,0,0,.25); border-radius: 7px; padding: 3px 18px; }
.light-frames .frame { background: #fff; border-color: var(--line); box-shadow: var(--shadow-lg); }
.light-frames .frame-bar { background: var(--paper-2); border-color: var(--line); }
.light-frames .frame-bar .url { color: var(--ink-2); background: #fff; border: 1px solid var(--line); }   /* ink-2 ⇒ AA؛ كان ink-3 دون الحدّ */
.media img { display: block; width: 100%; height: auto; }
.media figcaption { font-size: 13px; color: #8fb3ab; padding: 11px 16px; border-top: 1px solid rgba(255,255,255,.07); }
.light-frames .media figcaption { color: var(--ink-2); border-color: var(--line); }

/* هيكلٌ سلكيّ صريح (skeleton) — واضحٌ أنه ليس شاشةً حقيقية */
.sk { aspect-ratio: 16 / 9.4; display: grid; grid-template-columns: 26% 1fr; gap: 12px; padding: 14px; background: #0a251e; }
.light-frames .sk { background: var(--paper-2); }
.sk-box { border-radius: 9px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; }
.light-frames .sk-box { background: #e6efec; }
.sk-side { display: flex; flex-direction: column; gap: 8px; padding: 10px; }
.sk-side .sk-box { height: 13px; } .sk-side .sk-box:first-child { height: 26px; margin-bottom: 6px; }
.sk-main { display: grid; grid-template-rows: 30px 64px 1fr; gap: 12px; }
.sk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sk-chart { display: flex; align-items: flex-end; gap: 7%; padding: 12px 8%; }
.sk-chart .sk-box { width: 100%; }
.sk-shimmer::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent); animation: shimmer 2.4s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.sk-note { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.sk-note b { background: rgba(6, 32, 25, .8); color: #cfe8e1; font-size: 12.5px; font-weight: 500; padding: 7px 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(4px); }
.light-frames .sk-note b { background: rgba(255,255,255,.85); color: var(--ink-2); border-color: var(--line); }

/* ─── شريط أرقام الهندسة ─── */
.stats { background: var(--dark-2); color: #fff; border-block: 1px solid var(--dark-line); padding: 34px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; background: linear-gradient(120deg, #3fe0b5, #8ff0d8); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 4px; }
.stat span { font-size: 13.5px; color: #c2d9d3; }
.stats-cap { text-align: center; color: #9dbcb4; font-size: 12.5px; margin-top: 18px; }

/* ─── أقسام ─── */
section { padding: 88px 0; }
.sec-alt { background: linear-gradient(180deg, var(--paper-2), #fff); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: #8a6520; background: var(--amber-soft); border: 1px solid #f0dcba; padding: 5px 14px; border-radius: 99px; margin-bottom: 14px; }
h2 { font-size: clamp(25px, 3.2vw, 36px); font-weight: 700; letter-spacing: -.4px; margin-bottom: 10px; }
.sub { color: var(--ink-2); margin-bottom: 44px; max-width: 44em; font-size: 17px; }
h3 { font-size: 19px; font-weight: 700; }

/* ─── ركائز الحوكمة ─── */
.pillars { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pillar { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity .25s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c4dcd7; }
.pillar:hover::before { opacity: 1; }
.pillar .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; margin-bottom: 16px; }
.pillar .ico svg { width: 23px; height: 23px; }
.pillar p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; line-height: 1.9; }

/* ─── الوحدات ─── */
.mods { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mod { display: flex; gap: 13px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 16px 17px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.mod:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c4dcd7; }
.mod .mi { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; }
.mod .mi svg { width: 18px; height: 18px; }
.mod b { display: block; font-size: 15px; }
/* قسم «العمل لا يتوقف عند المعاملة» — ثلاث بطاقات ثابتة */
.trio { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.trio-card { display: flex; flex-direction: column; gap: 14px; }
.trio-card > h3 { margin: 0; font-size: 19px; color: var(--ink); }
.trio-card .media { align-self: stretch; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }
.mod span { color: var(--ink-2); font-size: 12.5px; line-height: 1.7; display: block; }   /* ink-2 ⇒ تباين ~7:1 (AA)؛ كان ink-3 ~3.9:1 دون الحدّ */

/* ─── التدفقات ─── */
.flow { display: grid; gap: 44px; grid-template-columns: .9fr 1.1fr; align-items: center; padding: 34px 0; }
.flow + .flow { border-top: 1px dashed var(--line); }
.flow.alt .flow-txt { order: 2; }
.flow-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(130deg, var(--gold), #f0cd7e); color: #4a3308; font-weight: 700; font-size: 15px; margin-bottom: 12px; box-shadow: 0 4px 12px rgba(227, 176, 78, .35); }
.steps { list-style: none; margin-top: 16px; position: relative; }
.steps li { position: relative; padding-inline-start: 34px; padding-bottom: 16px; color: var(--ink-2); font-size: 15px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; inset-inline-start: 9px; top: 22px; bottom: -2px; width: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps li::after { content: ""; position: absolute; inset-inline-start: 3px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.steps b { color: var(--ink); }

/* ─── تواصل ─── */
.contact-band { position: relative; overflow: hidden; background: radial-gradient(800px 400px at 80% 0%, #0e4d40, transparent 60%), var(--dark); border-radius: 22px; color: #fff; padding: 56px; display: grid; gap: 34px; grid-template-columns: 1fr 1.1fr; align-items: start; box-shadow: var(--shadow-lg); }
.contact-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 38px 38px; pointer-events: none; }
.contact-band h2 { color: #fff; }
.contact-band p { color: #a7c4bd; max-width: 34em; position: relative; }
.contact-band .btn-primary { font-size: 17px; padding: 15px 32px; position: relative; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; position: relative; }
.contact-actions .wa-inline { font-size: 15px; }
.contact-actions .wa-inline svg { width: 18px; height: 18px; color: #25d366; }
/* ─── نموذج طلب العرض ─── */
.lead-form { position: relative; display: grid; gap: 14px; }
.lead-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.lead-form label { display: grid; gap: 6px; font-size: 13.5px; color: #a7c4bd; }
.lead-form label b { color: var(--mint); font-weight: 700; }
.lead-form input[type=text], .lead-form input[type=tel], .lead-form input[type=number] { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 11px 13px; color: #fff; font: inherit; font-size: 15px; transition: border-color .2s, background .2s; }
.lead-form input:focus { outline: none; border-color: var(--mint); background: rgba(255,255,255,.09); }
.lead-form input::placeholder { color: #6f948c; }
.lead-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* مصيدة: خارج الشاشة لا display:none (بعض الروبوتات تتخطى المخفي) */
.lead-consent { display: flex !important; flex-direction: row; align-items: flex-start; gap: 10px; line-height: 1.7; }
.lead-consent input { margin-top: 5px; accent-color: var(--teal); flex: none; }
.lead-consent a { color: var(--mint); }
.lead-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lead-actions .btn-primary { font-size: 16px; padding: 13px 28px; }
.lead-actions .wa-inline { font-size: 14.5px; padding: 11px 18px; }
.lead-actions .wa-inline svg { width: 17px; height: 17px; color: #25d366; }
.lead-mail { color: #a7c4bd; font-size: 13.5px; text-decoration: none; }
.lead-mail:hover { color: #fff; }
.lead-status { padding: 12px 14px; border-radius: 10px; font-size: 14.5px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.lead-status[data-kind=ok] { border-color: rgba(55,208,167,.6); color: #dffbf2; }
.lead-status[data-kind=err] { border-color: rgba(255,140,120,.6); color: #ffe3dc; }

/* ─── الأمان والثقة ─── */
.trust-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.trust-cap { color: var(--ink-2); font-size: 13.5px; margin-top: 26px; text-align: center; }

/* ─── واتساب عائم — مخفيٌّ حتى يُضبط الرقم ─── */
.wa-float { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 1px rgba(0,0,0,.06); transition: transform .18s ease, box-shadow .18s ease; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(37, 211, 102, .55); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float[hidden] { display: none; }

/* ─── فيديو العرض + مزايا يومية ─── */
.demo-video { display: grid; gap: 34px; grid-template-columns: .8fr 1.2fr; align-items: center; margin-bottom: 64px; }
.demo-video-txt h3 { font-size: 24px; margin-bottom: 10px; }
.demo-video-txt > p { color: var(--ink-2); margin-bottom: 14px; }
.demo-video-note { font-size: 13.5px; color: var(--ink-2); margin-top: 16px; }
.demo-video video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 800; background: #0b1512; }
.feats-h { font-size: 20px; margin: 44px 0 16px; }
.feats { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 18px 18px 20px; box-shadow: var(--shadow); }
.feat b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.feat span { color: var(--ink-2); font-size: 14px; line-height: 1.8; }
@media (max-width: 1100px) { .feats { grid-template-columns: repeat(2, 1fr); } }

/* ─── الأسعار ─── */
.price-factors { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.price-factor { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 18px 20px; box-shadow: var(--shadow); }
.price-factor b { display: block; font-size: 16px; margin-bottom: 4px; }
.price-factor span { color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.price-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; color: var(--ink-2); font-size: 14.5px; }

/* ─── الأسئلة الشائعة ─── */
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 0 20px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #c4dcd7; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 16px; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; font-weight: 700; transition: transform .2s; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-2); font-size: 15px; padding: 0 0 18px; line-height: 1.9; }

/* ─── تذييل ─── */
footer { background: var(--dark); color: #7fa39b; padding: 40px 0 30px; font-size: 13.5px; border-top: 1px solid var(--dark-line); }
.foot-grid { display: grid; gap: 22px 32px; grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
.foot-brand .brand { font-size: 17px; }
.foot-logo { display: block; width: 96px; max-width: 100%; height: auto; background: #fff; border-radius: 12px; padding: 8px 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }   /* الشعار الكامل كحلته الأصلية (كحلي على أبيض) — لا نلوّنه */
.foot-legal { color: #a7c4bd; }
.foot-brand p { margin-top: 10px; max-width: 30em; color: #7fa39b; line-height: 1.8; }
/* align-items:flex-start: العناصر تنكمش على محتواها وتصطف على حافة البداية (يمين RTL/يسار LTR) — بلا ذلك يمتد الرابط بعرض العمود
   والرقم (LTR) يبدأ من الحافة المعاكسة فتتبعثر الأسطر. الاتجاه LTR محصور في span النص لا الرابط، فتبقى الأيقونة على حافة البداية. */
.foot-contact { font-style: normal; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 8px; }
.foot-contact svg { width: 16px; height: 16px; flex: none; color: #7fa39b; }
.foot-contact .foot-wa svg { color: #25d366; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-copy { grid-column: 1 / -1; border-top: 1px solid var(--dark-line); padding-top: 16px; margin-top: 6px; }
footer a { color: #a7c4bd; text-decoration: none; }
footer a:hover { color: #fff; }
.nav .lang { font-weight: 700; color: var(--mint); }

/* ─── صفحات قانونية ─── */
.legal { max-width: 780px; padding-block: 56px; }
.legal h1 { font-size: 32px; margin-bottom: 6px; letter-spacing: -.4px; }
.legal .meta { color: var(--ink-3); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 20px; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; }
.legal ul { padding-inline-start: 22px; }
.notice { background: var(--amber-soft); color: var(--amber); border: 1px solid #f0dcba; border-radius: 12px; padding: 14px 18px; font-size: 14px; margin-bottom: 28px; }
.legal-page .hdr { background: rgba(6, 32, 25, .96); }

/* ─── استجابة ─── */
/* هيدر مضغوط بين 901 و1140px: النسخة الإنجليزية (8 روابط + زرّان) تفيض عند 1024 بلا هذا */
@media (max-width: 1140px) and (min-width: 901px) {
  .hdr .wrap { gap: 12px; }
  .nav a { padding: 8px 9px; font-size: 13.5px; }
  .hdr .login-btn, .hdr .hdr-cta { padding: 8px 13px; font-size: 13.5px; }
  .brand { font-size: 18px; gap: 9px; }
}

@media (max-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero .wrap, .flow, .flow.alt { grid-template-columns: 1fr; }
  .flow { gap: 26px; }
  .flow.alt .flow-txt { order: 0; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .contact-band { grid-template-columns: 1fr; padding: 36px 26px; }
  .lead-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 66px; inset-inline: 12px; background: #0a2b22; border: 1px solid var(--dark-line); border-radius: 14px; padding: 10px; box-shadow: var(--shadow-lg); }
  .nav.open a { padding: 12px 16px; font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .hdr .login-btn { margin-inline-start: 10px; }
  .hdr .hdr-cta { display: none; }   /* الجوال: CTA الهيدر يُزاحم الشعار؛ زرّا الـhero والشريط السفلي يكفيان */
  .wa-float { bottom: 16px; inset-inline-start: 16px; width: 52px; height: 52px; }
  .price-factors, .foot-grid { grid-template-columns: 1fr; }
  .demo-video, .feats { grid-template-columns: 1fr; }
  .demo-video { gap: 22px; margin-bottom: 44px; }
  section { padding: 60px 0; }
}
