/* متجر The Lion — نمط متّسق مع استوديو المتاهات */
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("../fonts/Cairo-Variable.woff2") format("woff2"); }

:root {
  --font: "Cairo", "Segoe UI", "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
  --bg: #f5f6fb; --bg-grad-1: rgba(99,102,241,.12); --bg-grad-2: rgba(20,184,166,.09);
  --surface: rgba(255,255,255,.86); --surface-solid: #fff; --surface-2: #f0f1f9;
  --border: #e6e8f2; --border-strong: #d5d9e8;
  --text: #121533; --text-2: #3d4266; --muted: #6b7194;
  --primary: #5b5bf0; --primary-2: #8b5cf6; --primary-ink: #4338ca; --primary-soft: rgba(91,91,240,.10);
  --accent: #0fb5a2; --warn: #f59e0b; --orange: #f97316;
  --ring: rgba(91,91,240,.28);
  --shadow-sm: 0 1px 2px rgba(18,21,51,.05);
  --shadow: 0 1px 2px rgba(18,21,51,.04), 0 8px 24px -8px rgba(18,21,51,.12);
  --shadow-lg: 0 30px 70px -24px rgba(40,40,120,.35);
  --radius: 20px; --radius-sm: 12px; --ease: cubic-bezier(.2,.8,.2,1);
  --maze-line: rgba(91,91,240,.10);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #070b16; --bg-grad-1: rgba(99,102,241,.18); --bg-grad-2: rgba(20,184,166,.10);
  --surface: rgba(17,23,42,.80); --surface-solid: #111729; --surface-2: #182038;
  --border: #212b47; --border-strong: #2d3a5e;
  --text: #eef0fb; --text-2: #c3c8e4; --muted: #8b93b8;
  --primary: #8b8cff; --primary-2: #b18cff; --primary-ink: #c7c8ff; --primary-soft: rgba(139,140,255,.14);
  --ring: rgba(139,140,255,.35);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -10px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 80px -24px rgba(0,0,0,.8);
  --maze-line: rgba(139,140,255,.10);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.75;
  background-image: radial-gradient(1200px 600px at 100% -10%, var(--bg-grad-1), transparent 60%), radial-gradient(900px 500px at -10% 10%, var(--bg-grad-2), transparent 60%);
  background-attachment: fixed; min-height: 100vh; display: flex; flex-direction: column;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
html[lang="en"] body { line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--primary-ink); text-decoration: none; }
[data-theme="dark"] a { color: var(--primary); }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 8px; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
main { flex: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* محتوى ثنائي اللغة */
html[lang="ar"] [data-l="en"], html[lang="en"] [data-l="ar"] { display: none !important; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ----------------------------- الرأس ----------------------------- */
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--text) !important; text-decoration: none !important; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #5b5bf0, #9b5cf6); display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(91,91,240,.7); }
.brand-logo svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; margin-inline-start: 12px; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 10px; color: var(--text-2); font-weight: 600; text-decoration: none; }
.nav-links a:hover { background: var(--primary-soft); color: var(--primary-ink); }
[data-theme="dark"] .nav-links a:hover { color: var(--primary); }
.nav-links a[aria-current="page"] { color: var(--primary-ink); background: var(--primary-soft); }
[data-theme="dark"] .nav-links a[aria-current="page"] { color: var(--primary); }
.nav-tools { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn { height: 40px; min-width: 40px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font: 700 .85rem var(--font); transition: .2s var(--ease); }
.icon-btn:hover { border-color: var(--border-strong); color: var(--text); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }
.cur-select { appearance: none; -webkit-appearance: none; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font: 700 .85rem var(--font); padding: 0 12px; cursor: pointer; }
.menu-btn { display: none; }
svg.i { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[data-theme="dark"] .i-moon, [data-theme="light"] .i-sun { display: none; }

/* ----------------------------- الأزرار ----------------------------- */
.btn { --b: var(--primary); display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 14px; font: 800 1rem var(--font); border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: linear-gradient(135deg, #5b5bf0, #8b5cf6); color: #fff !important; box-shadow: 0 12px 28px -12px rgba(91,91,240,.8); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(91,91,240,.9); }
.btn-ghost { background: var(--surface); color: var(--text) !important; border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.btn-accent { background: linear-gradient(135deg, #10b981, #0ea5e9); color: #fff !important; box-shadow: 0 12px 28px -12px rgba(14,165,233,.7); }
.btn-soon { background: var(--surface-2); color: var(--muted) !important; border: 1px dashed var(--border-strong); cursor: default; }
.btn-sm { height: 42px; padding: 0 16px; font-size: .92rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* ----------------------------- البطل ----------------------------- */
.hero { position: relative; padding: 70px 0 60px; overflow: hidden; }
.hero-maze { position: absolute; inset: 0; z-index: -1; opacity: 1; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); }
.hero-maze svg { width: 100%; height: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-ink); font-weight: 700; font-size: .88rem; }
[data-theme="dark"] .eyebrow { color: var(--primary); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(15,181,162,.2); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.25; margin: 18px 0 16px; font-weight: 900; letter-spacing: -.01em; }
.grad { background: linear-gradient(135deg, #5b5bf0 10%, #a855f7 50%, #f97316 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; color: var(--text-2); max-width: 560px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 30px; color: var(--muted); font-weight: 600; font-size: .92rem; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--accent); }
.hero-visual { position: relative; height: 520px; }
.phone { position: absolute; width: 240px; aspect-ratio: 9/16; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #1e2140, #0b0e1d); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.08); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.phone.p1 { inset-inline-end: 40px; top: 10px; transform: rotate(-4deg); z-index: 2; animation: float 7s ease-in-out infinite; }
.phone.p2 { inset-inline-end: 230px; top: 70px; transform: rotate(6deg); width: 215px; opacity: .97; animation: float 8s ease-in-out infinite reverse; }
.float-card { position: absolute; z-index: 3; background: var(--surface-solid); border: 1px solid var(--border); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .92rem; }
.float-card img { width: 40px; height: 40px; border-radius: 10px; }
.float-card small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; }
.float-card.f1 { bottom: 40px; inset-inline-end: 0; }
.float-card.f2 { top: 8px; inset-inline-end: 260px; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ----------------------------- الأقسام ----------------------------- */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 0; font-weight: 900; line-height: 1.3; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 620px; }
.kicker { color: var(--primary); font-weight: 800; font-size: .9rem; letter-spacing: .02em; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }

/* بطاقة منتج */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pc-cover { position: relative; aspect-ratio: 1024/500; overflow: hidden; background: linear-gradient(135deg, #5b5bf0, #9b5cf6); }
.pc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .pc-cover img { transform: scale(1.04); }
.pc-badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; }
.pc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-title { display: flex; gap: 12px; align-items: center; }
.pc-title img { width: 52px; height: 52px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.pc-title h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.pc-title h3 a { color: var(--text); }
.pc-title p { margin: 0; color: var(--muted); font-size: .9rem; }
.pc-summary { color: var(--text-2); margin: 0; font-size: .96rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--surface-solid); color: var(--text-2); border: 1px solid var(--border); }
.chip svg { width: 14px; height: 14px; }
.chip-glass { background: rgba(255,255,255,.92); color: #1e1b4b; border-color: transparent; }
.chip-warn { background: rgba(245,158,11,.14); color: #b45309; border-color: rgba(245,158,11,.35); }
[data-theme="dark"] .chip-warn { color: #fbbf24; }
.price { font-weight: 900; font-size: 1.35rem; color: var(--text); line-height: 1.1; }
.price small { font-size: .78rem; color: var(--muted); font-weight: 700; display: block; margin-top: 4px; }
.price-placeholder { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 800; color: #b45309; background: rgba(245,158,11,.14); padding: 2px 8px; border-radius: 999px; margin-top: 6px; }
[data-theme="dark"] .price-placeholder { color: #fbbf24; }

/* المزايا */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature { padding: 24px; }
.feature .fi { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 14px; }
.feature:nth-child(2) .fi { background: rgba(15,181,162,.12); color: var(--accent); }
.feature:nth-child(3) .fi { background: rgba(249,115,22,.12); color: var(--orange); }
.feature:nth-child(4) .fi { background: rgba(236,72,153,.12); color: #ec4899; }
.feature .fi svg { width: 26px; height: 26px; }
.feature h3 { margin: 0 0 6px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* الأسئلة الشائعة */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { padding: 0; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--primary); line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--text-2); }

/* شريط الدعوة */
.cta-band { position: relative; overflow: hidden; padding: 44px; border-radius: 28px; background: linear-gradient(135deg, #4f46e5, #7c3aed 60%, #9333ea); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .btn-ghost { background: #fff; color: #3730a3 !important; border: 0; }
.cta-band svg.bgmaze { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .14; pointer-events: none; }

/* ----------------------------- صفحة المنتج ----------------------------- */
.crumbs { display: flex; gap: 8px; color: var(--muted); font-size: .9rem; padding-top: 24px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.product-hero { display: grid; grid-template-columns: 1fr 380px; gap: 36px; padding: 18px 0 30px; align-items: start; }
.ph-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.ph-head img { width: 96px; height: 96px; border-radius: 24px; box-shadow: var(--shadow); }
.ph-head h1 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.25; font-weight: 900; }
.ph-head p { margin: 4px 0 0; color: var(--text-2); font-size: 1.08rem; }
.platforms { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.platform { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; background: var(--surface-solid); border: 1px solid var(--border); font-weight: 700; font-size: .85rem; color: var(--text-2); }
.platform svg { width: 18px; height: 18px; }
.platform.android svg { color: #3ddc84; }
.platform.web svg { color: var(--primary); }
.gallery { position: relative; }
.gallery-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: thin; }
.gallery-track figure { margin: 0; flex: 0 0 auto; width: 220px; scroll-snap-align: start; }
.gallery-track button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 20px; display: block; width: 100%; }
.gallery-track img { width: 100%; height: auto; aspect-ratio: 9/16; object-fit: cover; border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.gallery-track button:hover img { transform: translateY(-4px); }
.gallery-track figcaption { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 8px; font-weight: 600; }
.gal-nav { position: absolute; top: calc(50% - 40px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-solid); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); z-index: 2; }
.gal-nav.prev { inset-inline-start: -14px; } .gal-nav.next { inset-inline-end: -14px; }
.buy-box { position: sticky; top: 90px; padding: 24px; }
.buy-box .price { font-size: 2.2rem; }
.buy-box .alt-price { color: var(--muted); font-weight: 700; font-size: .95rem; }
.buy-box .actions { display: grid; gap: 10px; margin: 18px 0; }
.buy-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--text-2); font-size: .93rem; }
.buy-box li { display: flex; gap: 10px; align-items: flex-start; }
.buy-box li svg { color: var(--accent); margin-top: 4px; }
.soon-note { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(245,158,11,.10); border: 1px solid rgba(245,158,11,.3); font-size: .9rem; color: var(--text-2); }
.pay-logos { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: .78rem; font-weight: 700; margin-top: 14px; flex-wrap: wrap; }
.pay-logos span { padding: 3px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-solid); }
.prose { font-size: 1.04rem; color: var(--text-2); }
.prose h2 { color: var(--text); font-size: 1.45rem; margin: 32px 0 10px; }
.prose h3 { color: var(--text); font-size: 1.12rem; margin: 22px 0 6px; }
.prose ul { padding-inline-start: 22px; }
.feat-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 16px 0; }
.feat-list div { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; color: var(--text); }
.feat-list svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.meta-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.meta-table td { padding: 10px 4px; border-bottom: 1px solid var(--border); font-size: .95rem; }
.meta-table td:first-child { color: var(--muted); font-weight: 700; width: 40%; }

/* صندوق التكبير */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,7,15,.88); display: none; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(6px); }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: min(92vw, 520px); border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox button svg { width: 24px; height: 24px; }
.lb-close { top: 20px; inset-inline-end: 20px; }
.lb-prev { inset-inline-start: 20px; } .lb-next { inset-inline-end: 20px; }

/* ----------------------------- الكتالوج ----------------------------- */
.page-head { padding: 50px 0 20px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 6px 0 8px; font-weight: 900; line-height: 1.25; }
.page-head p { color: var(--text-2); margin: 0; max-width: 680px; font-size: 1.08rem; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 10px 0 26px; }
.search { position: relative; flex: 1; min-width: 220px; max-width: 380px; }
.search input { width: 100%; height: 46px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 600 .95rem var(--font); padding-inline: 44px 14px; }
.search svg { position: absolute; inset-inline-start: 14px; top: 13px; width: 20px; height: 20px; color: var(--muted); }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 10px; font: 700 .9rem var(--font); color: var(--text-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: linear-gradient(135deg, #5b5bf0, #8b5cf6); color: #fff; box-shadow: 0 6px 16px -8px rgba(91,91,240,.8); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.coming-card { border: 2px dashed var(--border-strong); background: transparent; box-shadow: none; display: grid; place-items: center; text-align: center; padding: 30px; min-height: 300px; color: var(--muted); }
.coming-card .ci { width: 60px; height: 60px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin: 0 auto 12px; }

/* ----------------------------- صفحات المحتوى ----------------------------- */
.doc { max-width: 860px; padding: 30px 36px 40px; margin-bottom: 60px; }
.doc .updated { color: var(--muted); font-size: .9rem; }
.placeholder-note { display: flex; gap: 10px; padding: 12px 16px; border-radius: 12px; background: rgba(245,158,11,.10); border: 1px solid rgba(245,158,11,.3); color: var(--text-2); font-size: .92rem; margin: 10px 0 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 60px; }
.contact-card { padding: 26px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border: 0; }
.contact-item .fi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex-shrink: 0; }
.contact-item small { display: block; color: var(--muted); font-weight: 600; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--text-2); }
.form input, .form select, .form textarea { font: 600 .98rem var(--font); color: var(--text); background: var(--surface-solid); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; width: 100%; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--ring); }
.form .hint { color: var(--muted); font-size: .82rem; font-weight: 600; }

/* شكراً */
.thanks { max-width: 720px; margin: 50px auto 70px; text-align: center; padding: 44px 32px; }
.check-anim { width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, #10b981, #0ea5e9); display: grid; place-items: center; color: #fff; box-shadow: 0 18px 40px -14px rgba(16,185,129,.8); animation: pop .6s var(--ease); }
.check-anim svg { width: 46px; height: 46px; stroke-width: 3; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.steps { text-align: start; display: grid; gap: 12px; margin: 26px 0; counter-reset: s; }
.steps div { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); }
.steps div::before { counter-increment: s; content: counter(s); flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; }
.ref { display: inline-block; font-family: ui-monospace, monospace; background: var(--surface-2); padding: 4px 10px; border-radius: 8px; direction: ltr; }

/* ----------------------------- التذييل ----------------------------- */
.site-footer { border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface-solid) 55%, transparent); padding: 48px 0 26px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.footer-grid h4 { margin: 0 0 12px; font-size: .95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); font-weight: 600; font-size: .93rem; }
.footer-grid p { color: var(--muted); font-size: .93rem; margin: 10px 0 0; max-width: 340px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .86rem; flex-wrap: wrap; }

/* ظهور تدريجي */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ----------------------------- متجاوب ----------------------------- */
@media (max-width: 980px) {
  .hero-grid, .product-hero { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero-visual { height: 440px; max-width: 520px; margin-inline: auto; width: 100%; }
  .buy-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 70px; inset-inline: 12px; flex-direction: column; background: var(--surface-solid); border: 1px solid var(--border); border-radius: 18px; padding: 10px; box-shadow: var(--shadow-lg); margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .lang-label { display: none; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }
  .nav { gap: 8px; }
  .brand span.bname { font-size: 1rem; }
  .nav-tools { gap: 6px; }
  .icon-btn, .cur-select { height: 38px; min-width: 38px; padding: 0 8px; }
  .hero h1 { font-size: 2rem; }
  .hero-visual { height: 380px; }
  .phone { width: 180px; border-radius: 26px; padding: 7px; }
  .phone img { border-radius: 20px; }
  .phone.p1 { inset-inline-end: 12px; }
  .phone.p2 { width: 165px; inset-inline-end: 150px; top: 50px; }
  .float-card.f2 { display: none; }
  .float-card.f1 { bottom: 10px; inset-inline-end: auto; inset-inline-start: 0; }
  .section { padding: 44px 0; }
  .cta-band { padding: 28px; }
  .doc { padding: 22px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-track figure { width: 170px; }
  .gal-nav { display: none; }
  .ph-head img { width: 72px; height: 72px; border-radius: 18px; }
  .btn { height: 50px; padding: 0 20px; }
}

/* اتجاه الأيقونات حسب اللغة */
.rot { transform: scaleX(-1); }
html[dir="rtl"] .flip, html[dir="rtl"] .gal-nav .i, html[dir="rtl"] .lightbox .lb-prev .i, html[dir="rtl"] .lightbox .lb-next .i { transform: scaleX(-1); }
html[dir="rtl"] .gal-nav .rot, html[dir="rtl"] .lightbox .rot { transform: none; }
.product-hero > * { min-width: 0; }

.product-hero { grid-template-areas: "top buy" "prose buy"; }
.ph-top { grid-area: top; } .ph-prose { grid-area: prose; } .buy-box { grid-area: buy; align-self: start; }
@media (max-width: 980px) { .product-hero { grid-template-areas: "top" "buy" "prose"; } }
[hidden] { display: none !important; }
