/* ===========================================================
   أخدمني — Akhdemni landing page
   Design system: deep teal brand + warm gold accent,
   warm-paper neutrals, Readex Pro bilingual type.
   =========================================================== */

:root {
  /* Brand teal scale */
  --teal-900: #07332D;
  --teal-800: #0A4A41;
  --teal-700: #0A6B5E;
  --teal-600: #0E8C7B;   /* primary brand */
  --teal-500: #15A892;
  --teal-100: #CFE9E3;
  --teal-50:  #E9F4F1;

  /* Warm accent (craft / trust) */
  --gold-600: #C77F2A;
  --gold-500: #E0A23C;
  --gold-100: #F6E6C9;
  --gold-50:  #FAF1DE;

  /* Neutrals — warm paper */
  --ink:      #16221F;
  --ink-soft: #2C3A36;
  --muted:    #5E6E69;
  --muted-2:  #8A968F;
  --line:     #E7E2D8;
  --line-2:   #EFEBE2;
  --paper:    #FBF9F4;
  --paper-2:  #F4F1E9;
  --surface:  #FFFFFF;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(16,40,36,.06), 0 1px 3px rgba(16,40,36,.05);
  --shadow:    0 6px 24px -8px rgba(12,40,35,.18), 0 2px 8px -4px rgba(12,40,35,.10);
  --shadow-lg: 0 30px 60px -22px rgba(8,42,36,.40), 0 12px 28px -16px rgba(8,42,36,.22);

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Cairo", var(--font);
}

/* ── الوضع الليلي (كحلي هوية أخدمني) — يعيد تعريف المحايدات فقط ── */
html[data-theme="dark"] {
  --ink:      #EAF0F0;
  --ink-soft: #C8D2CE;
  --muted:    #8B97A0;
  --muted-2:  #6E7A74;
  --line:     #28323F;
  --line-2:   #222C38;
  --paper:    #0C141C;
  --paper-2:  #11202B;
  --surface:  #161F2A;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.45);
  --shadow:    0 8px 28px -10px rgba(0,0,0,.55);
  --shadow-lg: 0 30px 60px -22px rgba(0,0,0,.70);
}

body { transition: background-color .25s var(--ease), color .25s var(--ease); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  line-height: 1.5;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Bilingual text handling ---------- */
.bi { display: flex; flex-direction: column; }
.bi .en { color: var(--muted); font-weight: 400; }
/* inline bilingual: ar then en side by side (nav, chips) */
.bi-inline { display: inline-flex; flex-direction: column; line-height: 1.15; }
.bi-inline .en { font-size: .72em; color: var(--muted-2); }

body.lang-ar  .en { display: none !important; }
body.lang-en  .ar { display: none !important; }
body.lang-en  { direction: ltr; }
body.lang-en  .bi, body.lang-en .bi-inline { text-align: left; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
section { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  padding: 7px 14px; border-radius: 100px;
}
.eyebrow .en { color: var(--teal-600); opacity: .75; }
.eyebrow svg { width: 15px; height: 15px; }

h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.h-section { font-size: clamp(30px, 4vw, 46px); }
.h-section .en { font-size: .5em; font-weight: 500; margin-top: 10px; letter-spacing: 0; }
.sub { color: var(--muted); font-size: 18px; max-width: 58ch; text-wrap: pretty; }
.sub .en { display: block; font-size: 15px; color: var(--muted-2); margin-top: 4px; }

.accent { color: var(--teal-600); }
em.accent, .accent { font-style: normal; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 100px; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(14,140,123,.6); }
.btn-primary:hover { background: var(--teal-700); box-shadow: 0 14px 28px -10px rgba(14,140,123,.7); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--teal-200, #BfE0D8); }
.btn-gold { background: var(--gold-500); color: #3a2a0c; box-shadow: 0 8px 20px -8px rgba(224,162,60,.6); }
.btn-gold:hover { background: var(--gold-600); color:#fff; }

/* Store badges */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 11px;
  /* خلفية غامقة ثابتة — var(--ink) تنقلب فاتحة بالوضع الليلي فيختفي النص الأبيض */
  background: #16221F; color: #fff;
  padding: 11px 20px 11px 18px; border-radius: 14px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: var(--shadow-sm);
}
.store:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store svg { width: 26px; height: 26px; flex: none; }
.store .tx { display: flex; flex-direction: column; line-height: 1.1; }
.store .tx small { font-size: 10.5px; opacity: .75; font-weight: 500; }
.store .tx b { font-size: 16px; font-weight: 600; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,244,.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -16px rgba(0,0,0,.3); }
html[data-theme="dark"] header { background: rgba(12,20,28,.85); } /* هيدر كحلي شفاف بالوضع الليلي */
html[data-theme="dark"] .store { border: 1px solid rgba(255,255,255,.16); } /* حد خفيف كي لا يذوب الزر الغامق بالخلفية */
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 21px; color: var(--ink); }
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  overflow: hidden; background: #fff;
  box-shadow: 0 6px 14px -6px rgba(14,140,123,.35), inset 0 0 0 1px rgba(0,0,0,.05);
}
.brand .mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand .mark svg { width: 21px; height: 21px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 13px; border-radius: 9px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--paper-2); color: var(--teal-700); }
.nav-links a .en { display: none; }
body.lang-en .nav-links a .en { display: inline; }
.nav-right { display: flex; align-items: center; gap: 12px; }

.theme-toggle { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); display: inline-grid; place-items: center; cursor: pointer; flex: none; transition: background .2s, color .2s; }
.theme-toggle:hover { color: var(--teal-600); border-color: var(--teal-100); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .ic-sun { display: none; }
html[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
html[data-theme="dark"] .theme-toggle .ic-sun { display: block; }

.lang-toggle { display: inline-flex; background: var(--paper-2); border: 1px solid var(--line); border-radius: 100px; padding: 3px; }
.lang-toggle button {
  border: none; background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 100px; transition: all .18s;
}
.lang-toggle button.on { background: var(--surface); color: var(--teal-700); box-shadow: var(--shadow-sm); }

.menu-btn { display: none; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; width: 42px; height: 42px; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.06; }
/* العربي يحتاج تباعد أسطر أكبر (الحروف العلوية/التشكيل) وإلا تتراكب السطور */
body.lang-ar .hero h1 { line-height: 1.32; }
.hero h1 .en { font-size: .46em; font-weight: 500; color: var(--muted); margin-top: 14px; letter-spacing: 0; }
.hero h1 .accent { position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .26em;
  background: var(--gold-100); border-radius: 4px; z-index: -1;
}
.hero .sub { margin-top: 22px; font-size: 19px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.trust-row .item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.trust-row .item .en { color: var(--muted-2); font-size: 12px; }
.trust-row .check { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; flex: none; }
.trust-row .check svg { width: 13px; height: 13px; }

/* phone */
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .glow { position: absolute; width: 115%; height: 115%; background: radial-gradient(circle at 50% 40%, rgba(14,140,123,.18), transparent 62%); filter: blur(8px); z-index: 0; }
.phone {
  position: relative; z-index: 1;
  width: 300px; aspect-ratio: 1284/2778;
  background: #0c1513; border-radius: 46px; padding: 10px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone::before { content:""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 96px; height: 24px; background: #0c1513; border-radius: 0 0 16px 16px; z-index: 3; }
.phone img.screen, .phone image-slot, .phone .screen { display:block; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; object-fit: cover; object-position: top center; background: #0c1513; }
.float-card {
  position: absolute; z-index: 4; background: var(--surface);
  border: 1px solid var(--line); border-radius: 15px; padding: 12px 15px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 11px;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card .tx { line-height: 1.25; }
.float-card .tx b { font-size: 14px; }
.float-card .tx small { display: block; font-size: 11.5px; color: var(--muted); }
.float-card.fc1 { top: 12%; inset-inline-start: -6%; }
.float-card.fc2 { bottom: 14%; inset-inline-end: -8%; animation-delay: -2.5s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }

/* ---------- Logo strip / quick stats ---------- */
.stat-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-grid .cell { padding: 30px 24px; text-align: center; border-inline-start: 1px solid var(--line-2); }
.stat-grid .cell:first-child { border-inline-start: none; }
.stat-grid .num { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: var(--teal-700); letter-spacing: -.02em; }
.stat-grid .lbl { font-size: 14px; color: var(--muted); margin-top: 4px; }
.stat-grid .lbl .en { display: block; font-size: 12px; color: var(--muted-2); }

/* ---------- Section scaffolding ---------- */
.band { padding: 96px 0; }
.band-paper { background: var(--paper-2); }
.band-ink { background: var(--teal-900); color: #EAF3F0; }
.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .h-section { margin-top: 16px; }
.sec-head .sub { margin-top: 16px; }
.sec-head.center .sub { margin-inline: auto; }

/* specialty chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 100px;
  padding: 10px 18px 10px 14px; font-weight: 500; font-size: 15px;
  box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), border-color .18s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--teal-100); }
.chip .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--teal-700); background: var(--teal-50); flex: none; }
.chip .ic svg { width: 17px; height: 17px; }
.chip .en { color: var(--muted-2); font-size: 13px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 56px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.step .n { width: 46px; height: 46px; border-radius: 13px; background: var(--teal-600); color: #fff; font-family: var(--font-head); font-size: 22px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 8px 16px -8px rgba(14,140,123,.7); }
.step h3 { font-size: 21px; margin-top: 20px; }
.step h3 .en { display:block; font-size: 13px; font-weight: 500; color: var(--muted-2); margin-top: 2px; }
.step p { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.step p .en { display: block; color: var(--muted-2); font-size: 13.5px; margin-top: 4px; }
.step .arrow { position: absolute; top: 50px; inset-inline-start: -16px; color: var(--teal-100); display: grid; place-items: center; }

/* ---------- Features grid ---------- */
.features { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 52px; }
.feature { display: flex; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ic { width: 50px; height: 50px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; }
.feature h3 .en { display:block; font-size: 12.5px; font-weight: 500; color: var(--muted-2); margin-top: 2px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 9px 0 0; }
.feature p .en { display: block; color: var(--muted-2); font-size: 13px; margin-top: 3px; }

/* ---------- Providers section (key) ---------- */
.providers { background: var(--teal-900); color: #E6F1EE; overflow: hidden; }
.providers .wrap { position: relative; z-index: 1; }
.providers::before { content:""; position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 85% 0%, rgba(21,168,146,.22), transparent 60%),
  radial-gradient(50% 40% at 5% 100%, rgba(224,162,60,.12), transparent 60%); }
.prov-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.providers .eyebrow { background: rgba(224,162,60,.14); border-color: rgba(224,162,60,.3); color: var(--gold-500); }
.providers .eyebrow .en { color: var(--gold-500); }
.providers h2 { color: #fff; font-size: clamp(30px,3.8vw,44px); }
.providers h2 .accent { color: var(--gold-500); }
.providers h2 .en { display:block; font-size: .5em; font-weight: 500; color: rgba(230,241,238,.6); margin-top: 10px; letter-spacing: 0; }
.providers .lead { color: rgba(230,241,238,.78); font-size: 18px; max-width: 56ch; margin-top: 18px; }
.providers .lead .en { display: block; font-size: 15px; color: rgba(230,241,238,.55); margin-top: 6px; }
.providers .lead b { color: var(--gold-500); font-weight: 600; }
.prov-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 50px; }
.prov-card { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 24px; transition: background .2s, transform .2s var(--ease); }
.prov-card:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); }
.prov-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(21,168,146,.18); color: var(--teal-500); margin-bottom: 16px; }
.prov-card .ic svg { width: 23px; height: 23px; }
.prov-card h3 { color: #fff; font-size: 17.5px; }
.prov-card h3 .en { display:block; font-size: 12px; font-weight: 500; color: rgba(230,241,238,.5); margin-top: 2px; }
.prov-card p { color: rgba(230,241,238,.66); font-size: 14px; margin: 9px 0 0; }
.prov-card p .en { display: block; color: rgba(230,241,238,.45); font-size: 12.5px; margin-top: 3px; }
.prov-cta { margin-top: 44px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 30px 34px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); }
.prov-cta .txt { flex: 1; min-width: 260px; }
.prov-cta .txt b { font-size: 20px; color: #fff; }
.prov-cta .txt span { display: block; color: rgba(230,241,238,.6); font-size: 14.5px; margin-top: 5px; }
.prov-cta .txt span .en { display:block; font-size:13px; color: rgba(230,241,238,.45); }

/* ---------- App preview gallery ---------- */
.gallery-band { background: var(--teal-900); color: #EAF3F0; overflow: hidden; }
.gallery-band .sec-head .h-section, .gallery-band h2 { color: #fff; }
.gallery-band .eyebrow { background: rgba(21,168,146,.16); border-color: rgba(21,168,146,.32); color: var(--teal-500); }
.gallery-band .eyebrow .en { color: var(--teal-500); }
.gallery-band .sub, .gallery-band .sub .en { color: rgba(230,241,238,.6); }
.gallery-viewport { position: relative; }
.gallery-scroll {
  display: flex; gap: 22px; margin-top: 48px; padding: 8px 28px 28px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  margin-inline: calc(50% - 50vw); justify-content: flex-start;
  cursor: grab; scroll-behavior: smooth;
}
.gallery-scroll.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.gallery-scroll.dragging img { pointer-events: none; }
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll .pad { flex: 0 0 max(28px, calc(50vw - var(--maxw)/2 - 22px)); }
.gallery-card {
  flex: 0 0 auto; width: 264px; border-radius: 28px; overflow: hidden;
  scroll-snap-align: center; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08); background: #0b1f1d;
  transition: transform .25s var(--ease);
}
.gallery-card:hover { transform: translateY(-6px); }
.gallery-card img { width: 100%; display: block; }
.gallery-hint { text-align: center; margin-top: 6px; font-size: 13px; color: rgba(230,241,238,.45); display: inline-flex; gap: 8px; align-items: center; justify-content: center; width: 100%; }
.gallery-hint .en { color: rgba(230,241,238,.35); }

.gallery-arrow {
  position: absolute; top: calc(50% + 12px); transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.6);
  color: var(--teal-800); display: grid; place-items: center;
  box-shadow: var(--shadow-lg); transition: transform .18s var(--ease), background .18s;
}
.gallery-arrow svg { width: 24px; height: 24px; }
.gallery-arrow:hover { transform: translateY(-50%) scale(1.08); background: #fff; }
.gallery-arrow:active { transform: translateY(-50%) scale(.96); }
.gallery-arrow.prev { inset-inline-start: 18px; }
.gallery-arrow.next { inset-inline-end: 18px; }
/* arrows point in scroll direction; flip horizontally for RTL handled via logical props on position only, icons stay as drawn */
@media (max-width: 760px) { .gallery-arrow { display: none; } }

/* ---------- Provider art (two phones) ---------- */
.prov-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; margin-top: 50px; }
.prov-phones { display: flex; justify-content: center; gap: 18px; position: relative; }
.prov-phones .phone { width: 220px; }
.prov-phones .phone:first-child { transform: translateY(18px) rotate(-3deg); }
.prov-phones .phone:last-child { transform: translateY(-18px) rotate(3deg); }

/* ---------- Vision ---------- */
.vision-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.vtag { display: inline-flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; font-weight: 500; box-shadow: var(--shadow-sm); }
.vtag .en { color: var(--muted-2); font-size: 13px; }
.vtag .ic { color: var(--teal-600); display: grid; place-items: center; }
.vtag .ic svg { width: 19px; height: 19px; }

/* ---------- Download CTA ---------- */
.download { padding: 0 0 96px; }
.dl-card { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--teal-700), var(--teal-900)); border-radius: var(--radius-xl); padding: 64px 56px; color: #fff; box-shadow: var(--shadow-lg); }
.dl-card::before { content:""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 90% 10%, rgba(224,162,60,.18), transparent 55%); }
.dl-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.dl-card h2 { color: #fff; font-size: clamp(28px,3.4vw,42px); }
.dl-card h2 .en { display:block; font-size: .5em; font-weight: 500; color: rgba(255,255,255,.65); margin-top: 10px; }
.dl-card p { color: rgba(255,255,255,.82); font-size: 17px; margin: 16px 0 28px; max-width: 48ch; }
.dl-card p .en { display: block; font-size: 14.5px; color: rgba(255,255,255,.6); margin-top: 5px; }
.dl-card .store { background: #fff; color: #16221F; } /* خلفية بيضاء دائماً — نص غامق ثابت (لا يتأثر بالوضع الليلي) */
.dl-card .store .tx small { opacity: .65; }
.dl-phones { display: flex; justify-content: center; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 50px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--teal-100); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; gap: 16px; font-weight: 600; font-size: 16.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q { flex: 1; }
.faq-item summary .q .en { display: block; font-size: 13px; font-weight: 400; color: var(--muted-2); margin-top: 2px; }
.faq-item summary .plus { width: 30px; height: 30px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; flex: none; transition: transform .25s var(--ease), background .2s; }
.faq-item summary .plus svg { width: 16px; height: 16px; }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--teal-600); color: #fff; }
.faq-item .a { padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.faq-item .a .en { display: block; color: var(--muted-2); font-size: 13.5px; margin-top: 8px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 46px; }
.cc { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.cc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cc .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.cc .ic svg { width: 26px; height: 26px; }
.cc b { font-size: 16px; }
.cc small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; }

/* ---------- Footer ---------- */
footer { background: var(--teal-900); color: rgba(230,241,238,.7); padding: 70px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
footer .brand { color: #fff; }
footer .brand .mark { box-shadow: none; }
.foot-about { color: rgba(230,241,238,.6); font-size: 14.5px; margin: 16px 0 20px; max-width: 38ch; }
.foot-about .en { display: block; color: rgba(230,241,238,.4); font-size: 13px; margin-top: 4px; }
.foot-col h4 { color: #fff; font-size: 15px; margin: 0 0 16px; font-weight: 600; }
.foot-col a { display: block; color: rgba(230,241,238,.65); font-size: 14px; padding: 6px 0; transition: color .15s; }
.foot-col a:hover { color: var(--gold-500); }
.foot-col a .en { color: rgba(230,241,238,.4); font-size: 12px; margin-inline-start: 6px; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: rgba(230,241,238,.8); transition: background .2s, color .2s, transform .2s; }
.foot-social a:hover { background: var(--gold-500); color: #3a2a0c; transform: translateY(-2px); }
.foot-social svg { width: 20px; height: 20px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: rgba(230,241,238,.5); }
.foot-bottom .ver { display: inline-flex; align-items: center; gap: 8px; }
.foot-bottom .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 3px rgba(21,168,146,.25); }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .prov-grid { grid-template-columns: repeat(2,1fr); }
  .prov-showcase { grid-template-columns: 1fr; gap: 40px; }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-phones { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 20px; }
  .band { padding: 68px 0; }
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav-right > .btn-primary { display: none; } /* "سجّل كحرفي" موجود بالقائمة المنسدلة */
  .nav-right { gap: 8px; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .prov-grid { grid-template-columns: 1fr; }
  .prov-phones .phone { width: 165px; }
  .gallery-card { width: 220px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid .cell:nth-child(3) { border-inline-start: none; }
  .stat-grid .cell:nth-child(odd) { border-inline-start: none; }
  .contact-cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .step .arrow { display: none; }
  .dl-card { padding: 44px 28px; }
  .prov-head { grid-template-columns: 1fr; }
  .hero h1 .accent::after { bottom: 0; }
}

/* mobile drawer */
body.menu-open { overflow: hidden; }
.mobile-menu {
  /* display:block يلغي display:none الأعلى — الإخفاء يتم عبر opacity/pointer-events */
  display: block;
  position: fixed; inset: 0; z-index: 100; background: rgba(7,51,45,.5);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.mobile-menu.show { opacity: 1; pointer-events: auto; }
.mobile-menu .panel {
  position: absolute; top: 0; inset-inline-end: 0; height: 100%; width: min(320px, 84vw);
  background: var(--paper); padding: 24px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg);
}
body.lang-en .mobile-menu .panel { inset-inline-end: auto; inset-inline-start: 0; transform: translateX(-100%); }
.mobile-menu.show .panel { transform: translateX(0); }
.mobile-menu .panel a { padding: 14px 12px; border-radius: 10px; font-weight: 500; font-size: 16px; }
.mobile-menu .panel a:hover { background: var(--paper-2); }
.mobile-menu .panel a .en { display: block; font-size: 12.5px; color: var(--muted-2); }
.mobile-menu .panel .close { align-self: flex-end; background: none; border: none; color: var(--muted); width: 40px; height: 40px; }
.mobile-menu .panel .close svg { width: 24px; height: 24px; }
