/* الموقع العام بهوية inWinch: الأسود والمسطردة، Cairo للعناوين، والشبكة الهندسية.
   منفصل عن theme.css عن قصد: ده ملف اللوحة المجمّد. الأصل غامق، والفاتح اختيار الزائر. */

:root {
    color-scheme: dark;
    --gold: #E8B12C;
    --gold-soft: #F5C84A;
    --gold-deep: #B8861F;
    --gold-text: #F5C84A;
    --ink: #0A0A0A;
    --on-gold: #0A0A0A;
    --bg: #0A0A0A;
    --bg-2: #0E0E13;
    --tint: #101015;
    --surface: #16161D;
    --surface-2: #1C1C24;
    --text: #FFFFFF;
    --muted: #A9ACB4;
    --line: #2A2A33;
    --grid: rgba(232, 177, 44, .055);
    --header: rgba(10, 10, 10, .93);
    --shadow: 0 24px 60px rgba(0, 0, 0, .45);
    --no: #F07171;
    --yes: #34D399;
    --font-display: Cairo, Inter, "Segoe UI", Tahoma, sans-serif;
    --font-body: Tajawal, Inter, "Segoe UI", Tahoma, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

:root[data-theme="light"] {
    color-scheme: light;
    --gold-text: #7A5A0B;
    --bg: #FBF8F0;
    --bg-2: #F6F1E4;
    --tint: #F4EFE1;
    --surface: #FFFFFF;
    --surface-2: #FBF8F0;
    --text: #14141A;
    --muted: #565A63;
    --line: #E5DFCD;
    --grid: rgba(122, 90, 11, .08);
    --header: rgba(251, 248, 240, .94);
    --shadow: 0 24px 50px rgba(60, 45, 10, .13);
    --no: #C43D3D;
    --yes: #0F8A5F;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.75 var(--font-body); }
/* ⚠️ على main مش body: الشريط المايل بيعدّي حدود الصفحة، وفي RTL ده بيزق الصفحة كلها لليمين. */
main { overflow-x: clip; }
html[lang="en"] body { font-family: Inter, "Segoe UI", sans-serif; font-size: 17px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-family: Inter, "Segoe UI", sans-serif; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
body.menu-open { overflow: hidden; }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: 20px; }
.narrow { width: min(860px, 100%); }
.text-block { white-space: pre-line; }
.gold { color: var(--gold); }
:root[data-theme="light"] .gold { color: var(--gold-deep); }

.skip { position: absolute; inset-inline-start: 12px; top: -80px; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: 8px; z-index: 60; }
.skip:focus { top: 8px; }
.preview-bar { background: var(--gold); color: var(--on-gold); text-align: center; padding: 8px 16px; font-weight: 700; font-size: 15px; }
.preview-bar a { margin-inline-start: 8px; }

/* ── الظهور ── الحالة المخفية بس لما الجافاسكربت شغال، عشان المحتوى مايضيعش من غيره. */
.js .r { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease) var(--d, 0ms), transform .75s var(--ease) var(--d, 0ms); }
.js .r.in { opacity: 1; transform: none; }

/* ── الأزرار ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--font-display); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
html[lang="en"] .btn { font-family: Inter, "Segoe UI", sans-serif; font-size: 15px; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 10px 30px rgba(232, 177, 44, .28); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 14px 38px rgba(232, 177, 44, .42); }
.btn-line { border-color: var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--text); }
.btn-line:hover { border-color: var(--gold); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink-line { border-color: var(--ink); color: var(--ink); }

/* ── الشريط العلوي ── */
.top { position: sticky; top: 0; z-index: 40; background: transparent; border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s; }
.top.scrolled { background: var(--header); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 76px; transition: min-height .25s; }
.top.scrolled .top-row { min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { display: block; width: 42px; height: 42px; flex: none; }
.brand-name { font: 800 22px/1 Inter, "Segoe UI", sans-serif; letter-spacing: -.03em; }
/* اللينكات جنب اللوجو، وزرار التواصل والأدوات في الطرف التاني: نفس الترتيب في الاتجاهين. */
.nav { display: flex; flex: 1; min-width: 0; align-items: center; gap: 2px; margin-inline-start: 6px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; white-space: nowrap; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 16px; text-decoration: none; transition: color .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link.is-active { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-group { position: relative; }
.nav-drop { position: absolute; inset-inline-start: 0; top: 100%; min-width: 250px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--muted); font-size: 16px; }
.nav-drop a:hover { background: var(--surface-2); color: var(--text); }
.nav-cta { margin-inline-start: auto; }
.top-tools { display: flex; align-items: center; gap: 2px; }
.tool { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 8px; background: none; border: 0; border-radius: 10px; color: var(--text); font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.tool:hover { background: var(--surface); }
.theme-sun { display: none; }
:root[data-theme="light"] .theme-sun { display: block; }
:root[data-theme="light"] .theme-moon { display: none; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ── الواجهة ── */
.hero, .page-hero { position: relative; isolation: isolate; margin-top: -76px; padding-top: 76px; overflow: clip; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 44px 44px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; width: 760px; height: 760px; top: -220px; inset-inline-end: -120px; background: radial-gradient(circle, rgba(232, 177, 44, .22), transparent 62%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
.hero-bg i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); opacity: .5; animation: drift 11s linear infinite; }
.hero-bg i:nth-of-type(1) { top: 72%; inset-inline-start: 8%; }
.hero-bg i:nth-of-type(2) { top: 40%; inset-inline-start: 21%; animation-delay: -3s; }
.hero-bg i:nth-of-type(3) { top: 84%; inset-inline-start: 38%; animation-delay: -6s; }
.hero-bg i:nth-of-type(4) { top: 22%; inset-inline-start: 47%; animation-delay: -8s; }
.hero-bg i:nth-of-type(5) { top: 62%; inset-inline-start: 60%; animation-delay: -2s; }
.hero-bg i:nth-of-type(6) { top: 30%; inset-inline-start: 72%; animation-delay: -5s; }
.hero-bg i:nth-of-type(7) { top: 80%; inset-inline-start: 84%; animation-delay: -9s; }
.hero-bg i:nth-of-type(8) { top: 14%; inset-inline-start: 92%; animation-delay: -1s; }
@keyframes drift { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .6; } 85% { opacity: .35; } 100% { transform: translateY(-150px); opacity: 0; } }
@keyframes breathe { 50% { transform: scale(1.1); opacity: .75; } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px; min-height: min(860px, calc(100svh - 76px)); padding-block: 40px 90px; }
.kicker { font: 700 13px/1.4 Inter, "Segoe UI", sans-serif; letter-spacing: .14em; color: var(--gold-text); margin-bottom: 18px; }
html[lang="ar"] .kicker { font-family: var(--font-display); font-size: 15px; letter-spacing: .02em; }
.hero .hero-title { font-size: clamp(42px, 5.6vw, 78px); font-weight: 900; line-height: 1.16; }
.hero-title span { display: block; }
.lead { margin-top: 24px; font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 54ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 560px; }
.hero-map { position: absolute; inset: 50% auto auto 50%; width: min(640px, 112%); transform: translate(-50%, -50%); overflow: visible; }
[dir="rtl"] .hero-map { transform: translate(-50%, -50%); inset-inline-start: auto; left: 50%; }
.ring { fill: none; stroke: var(--gold); stroke-opacity: .13; stroke-dasharray: 3 9; transform-origin: 320px 320px; animation: spin 70s linear infinite; }
.ring:nth-child(2) { animation-direction: reverse; animation-duration: 100s; }
@keyframes spin { to { transform: rotate(360deg); } }
.route-base { fill: none; stroke: var(--line); stroke-width: 5; stroke-linecap: round; }
.route-live { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 3 12; animation: flow 2.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -30; } }
.route-truck { offset-path: path("M40 560C150 500 110 380 230 340S420 330 470 220 560 90 610 60"); offset-rotate: 0deg; animation: travel 13s var(--ease) infinite; }
.route-truck circle:first-child { fill: var(--gold); filter: drop-shadow(0 0 10px rgba(232, 177, 44, .7)); }
.route-truck .wheel { fill: #0A0A0A; }
@keyframes travel { 0% { offset-distance: 0%; } 85%, 100% { offset-distance: 100%; } }
.route-pin circle { fill: var(--gold); }
.route-pin .pulse { fill: none; stroke: var(--gold); stroke-width: 2; transform-origin: center; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(3.4); opacity: 0; } }

.device { position: relative; z-index: 2; border-radius: 40px; transition: transform .35s var(--ease); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); }
.device img { width: 100%; height: auto; border-radius: 40px; }
.device-hero { width: min(330px, 74%); animation: float 7s ease-in-out infinite; }
.device-page { width: min(290px, 100%); margin-inline: auto; animation: float 8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 15px; box-shadow: var(--shadow); white-space: nowrap; animation: float 6s ease-in-out infinite; }
html[lang="en"] .chip { font-family: Inter, "Segoe UI", sans-serif; font-size: 14px; }
.chip b { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(232, 177, 44, .22); }
.chip-1 { top: 12%; inset-inline-start: -2%; animation-delay: -1s; }
.chip-2 { top: 50%; inset-inline-end: -4%; animation-delay: -3s; }
.chip-3 { bottom: 9%; inset-inline-start: 2%; animation-delay: -5s; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line); border-radius: 14px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(13px); opacity: 0; } 100% { opacity: 0; } }

.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 40px; padding-block: 56px 72px; }
.page-hero .hero-title, .page-hero h1 { font-size: clamp(36px, 5.2vw, 66px); font-weight: 900; }
.page-hero .device-page { margin-bottom: -150px; }
.page-hero { padding-bottom: 0; }
/* الموبايل بيخرج من حدود الرأس، فالقص بيبقى تدرّج مش خط حاد. */
.page-hero:not(.page-hero-center)::after { content: ""; position: absolute; inset: auto 0 0; z-index: 3; height: 90px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.page-hero-center { text-align: center; padding-bottom: 72px; }
.page-hero-center .hero-copy { padding-top: 56px; }
.page-hero-center .lead { margin-inline: auto; }
.page-hero-center .glow { inset: -220px auto auto 50%; margin-left: -380px; }

/* ── الشريط المتحرك ── */
.marquee { overflow: hidden; background: var(--gold); color: var(--on-gold); padding-block: 15px; transform: rotate(-1deg) scale(1.02); margin-block: -6px; position: relative; z-index: 3; }
[dir="rtl"] .marquee { transform: rotate(1deg) scale(1.02); }
.marquee-track { display: flex; width: max-content; animation: slide 42s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: slide-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: flex; align-items: center; font-family: var(--font-display); font-weight: 900; font-size: 19px; white-space: nowrap; }
.marquee li::after { content: "◆"; font-size: 10px; margin-inline: 26px; }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes slide-rtl { to { transform: translateX(50%); } }

/* ── الأقسام ── */
.band { padding-block: clamp(70px, 8vw, 112px); }
.band-tint { background: var(--tint); }
.head { max-width: 760px; margin-bottom: 46px; }
.band h2, .form-card h2, .text-section h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; }
.section-lead { margin-top: 18px; color: var(--muted); font-size: clamp(18px, 1.5vw, 20px); max-width: 66ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 18px; }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards-3 { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; display: block; overflow: hidden; padding: 30px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; text-decoration: none; transition: transform .3s var(--ease), border-color .3s, opacity .75s var(--ease) var(--d, 0ms); }
.js .card.r:not(.in) { transform: translateY(26px); }
.card::before, .value::before, .contact-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 177, 44, .13), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover::before, .value:hover::before, .contact-card:hover::before { opacity: 1; }
.card:hover { border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); transform: translateY(-5px); }
.card h3 { font-size: 22px; font-weight: 700; margin-top: 20px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--gold-text); font-family: var(--font-display); font-weight: 700; font-size: 15px; }
[dir="rtl"] .card-more svg { transform: scaleX(-1); }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex: none; border-radius: 15px; background: var(--gold); color: var(--on-gold); }
.icon-sm { width: 36px; height: 36px; border-radius: 10px; }
.icon-sm svg { width: 19px; height: 19px; }

.steps { --cols: 4; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 26px; counter-reset: step; position: relative; }
.steps-3 { --cols: 3; } .steps-5 { --cols: 5; }
.steps::before { content: ""; position: absolute; top: 28px; inset-inline: 28px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); transform-origin: 100% 50%; transform: scaleX(0); transition: transform 1.4s var(--ease) .25s; }
[dir="ltr"] .steps::before { transform-origin: 0 50%; }
.steps.in::before, html:not(.js) .steps::before { transform: scaleX(1); }
.steps li { counter-increment: step; position: relative; }
.steps li::before { content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font: 900 22px/1 Inter, "Segoe UI", sans-serif; box-shadow: 0 0 0 8px var(--tint); margin-bottom: 22px; }
.steps h3 { font-size: 21px; font-weight: 700; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 17px; }

.split-band:nth-of-type(even) { background-color: var(--tint); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 44px 44px; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(36px, 7vw, 100px); }
.split-flip .split-copy { order: 2; }
.ticks { display: grid; gap: 12px; margin-top: 28px; }
.ticks li { display: flex; align-items: center; gap: 13px; font-weight: 500; }
.split-art { position: relative; display: grid; place-items: center; }
.art-glow { position: absolute; width: 130%; aspect-ratio: 1; background: radial-gradient(circle, rgba(232, 177, 44, .2), transparent 62%); animation: breathe 7s ease-in-out infinite; }
.split-art .device { width: min(310px, 82%); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-col { padding: 34px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.compare-new { border-color: var(--gold); box-shadow: 0 0 60px rgba(232, 177, 44, .12); }
.compare-col h3 { font-size: 23px; font-weight: 900; margin-bottom: 24px; }
.compare-new h3 { color: var(--gold-text); }
.compare-col ul { display: grid; gap: 18px; }
.compare-col li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.compare-old li { color: var(--muted); }
.mark { font-weight: 900; line-height: 1.6; text-align: center; }
.mark-no { color: var(--no); } .mark-yes { color: var(--yes); }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.value { position: relative; overflow: hidden; padding: 26px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.value h3 { font-size: 20px; font-weight: 700; margin-top: 16px; }
.value p { margin-top: 6px; color: var(--muted); font-size: 16px; }

.faq { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin-bottom: 12px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; }
html[lang="en"] .faq summary { font-family: Inter, "Segoe UI", sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 8px; inset-inline: 0; height: 2px; background: var(--gold); transition: transform .25s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq[open] .faq-icon::after { transform: rotate(0); }
.faq p { padding: 0 24px 22px; color: var(--muted); }

/* ── الجملة المميزة ── */
.highlight-band { position: relative; isolation: isolate; overflow: clip; text-align: center; border-block: 1px solid var(--line); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 44px 44px; }
.highlight-band .glow { z-index: -1; inset: 50% auto auto 50%; margin: -380px 0 0 -380px; }
.highlight { display: grid; justify-items: center; }
.highlight-band h2 { max-width: 20ch; font-size: clamp(32px, 5.2vw, 64px); line-height: 1.22; }
.highlight-band h2::after { content: ""; display: block; width: 84px; height: 5px; margin: 26px auto 0; border-radius: 3px; background: var(--gold); }
.highlight .section-lead { margin-inline: auto; }

/* ── الحقايق ── الرقم هو الوصف بصريًا، بس في الترميز العنوان قبل القيمة زي ما dl محتاجة. */
.facts-band { padding-block: clamp(50px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 0; margin: 0; }
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 8px 26px; border-inline-start: 1px solid var(--line); }
.fact:first-child { border-inline-start: 0; }
.fact dd { margin: 0; font: 900 clamp(50px, 6.4vw, 84px)/1.05 Inter, "Segoe UI", sans-serif; letter-spacing: -.03em; color: var(--gold); text-align: start; }
:root[data-theme="light"] .fact dd { color: var(--gold-deep); }
.fact dt { margin-top: 10px; color: var(--muted); font-size: 17px; }

/* ── النقط ── */
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.checklist-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checklist li { display: flex; align-items: flex-start; gap: 13px; padding: 17px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; font-weight: 500; }
.checklist li span { display: grid; place-items: center; flex: none; width: 27px; height: 27px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-size: 15px; font-weight: 900; line-height: 1; }

/* ── معرض الشاشات ── الهامش بيحسب حافة المحتوى، فأول شاشة بتبدأ على نفس خط العنوان. */
.screens-band { overflow: clip; }
.screens { --edge: max(20px, calc((100vw - 1160px) / 2)); display: flex; gap: 26px; overflow-x: auto; padding: 14px var(--edge) 26px; scroll-padding-inline: var(--edge); scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.screens figure { flex: none; width: clamp(190px, 21vw, 245px); margin: 0; scroll-snap-align: start; }
.screens .device { transition: transform .3s var(--ease); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .4)); border-radius: 30px; }
.screens .device img { border-radius: 30px; }
.screens figure:hover .device { transform: translateY(-8px); }
.screens figcaption { margin-top: 16px; text-align: center; font-family: var(--font-display); font-weight: 700; }
html[lang="en"] .screens figcaption { font-family: Inter, "Segoe UI", sans-serif; }
.screens-note { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* ── الدعوة ── */
.cta-wrap { padding-block: 10px 90px; }
.cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(36px, 5vw, 64px); background: linear-gradient(120deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep)); color: var(--on-gold); border-radius: 30px; }
.cta h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; }
.cta p { margin-top: 10px; font-size: 19px; font-weight: 500; }
.cta .actions { margin-top: 0; position: relative; }
.cta-copy { position: relative; max-width: 620px; }
.cta-mark { position: absolute; width: 380px; inset-inline-end: -70px; top: -90px; opacity: .1; animation: spin 90s linear infinite; }

/* ── التواصل ── */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
.contact-info { display: grid; gap: 12px; }
.contact-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; }
.contact-card .icon { grid-row: span 2; }
.contact-card small { color: var(--muted); font-size: 15px; }
.contact-card strong { font-weight: 700; overflow-wrap: anywhere; }
[dir="rtl"] .contact-card strong[dir="ltr"] { text-align: right; }
a.contact-card:hover { border-color: var(--gold); }
.form-card { padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.form-card h2 { font-size: 30px; }
.site-form { display: grid; gap: 16px; margin-top: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.site-form label { display: grid; gap: 7px; font-weight: 500; font-size: 16px; }
.site-form input:not([type=radio]), .site-form textarea { width: 100%; padding: 13px 15px; background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px; color: var(--text); font: inherit; }
.site-form input:focus, .site-form textarea:focus { outline: 0; border-color: var(--gold); }
[dir="rtl"] .site-form input[dir="ltr"] { text-align: right; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.topics { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { padding: 0; margin-bottom: 8px; font-weight: 500; font-size: 16px; }
.topics label { display: block; position: relative; cursor: pointer; }
.topics input { position: absolute; opacity: 0; width: 0; height: 0; }
.topics span { display: block; padding: 8px 15px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--muted); }
.topics input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 700; }
.topics input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-errors { margin-top: 18px; padding: 12px 16px; border: 1px solid var(--no); border-radius: 12px; color: var(--no); }
.form-errors ul { list-style: disc; padding-inline-start: 18px; }
.form-sent { display: grid; justify-items: start; gap: 14px; }
.form-sent p { color: var(--muted); }

/* ── المستندات ── */
.doc { padding-block: 60px 90px; }
.doc h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; }
.doc-note { margin-bottom: 18px; padding: 10px 14px; background: var(--surface); border-radius: 10px; color: var(--muted); font-size: 15px; }
.doc-title { font-size: clamp(30px, 4vw, 46px); font-weight: 900; }
.doc-date { margin-top: 10px; color: var(--muted); font-size: 15px; }
.doc-body a { color: var(--gold-text); }
.doc-body { margin-top: 30px; color: color-mix(in srgb, var(--text) 86%, transparent); }
.doc-body h1, .doc-body h2, .doc-body h3 { font-size: 23px; margin: 30px 0 10px; color: var(--text); }
.doc-body p, .doc-body ul, .doc-body ol { margin: 0 0 14px; }
.doc-body ul, .doc-body ol { padding-inline-start: 22px; list-style: revert; }

/* ── الأسفل ── */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-reach-band { border-bottom: 1px solid var(--line); }
.foot-reach { display: flex; flex-wrap: wrap; gap: 12px; padding-block: 26px; }
.foot-card { flex: 1 1 205px; display: flex; align-items: center; gap: 13px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .2s; }
a.foot-card:hover { border-color: var(--gold); }
.foot-card-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--gold); color: var(--on-gold); }
.foot-card-icon svg { width: 20px; height: 20px; }
.foot-card-text { display: grid; min-width: 0; line-height: 1.45; }
.foot-card small { color: var(--muted); font-size: 13px; }
.foot-card b { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
[dir="rtl"] .foot-card b[dir="ltr"] { text-align: right; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.45fr) minmax(0, 1.6fr); gap: 36px; padding-block: 52px; }
.foot-about p { margin-top: 16px; color: var(--muted); max-width: 36ch; font-size: 16px; }
.foot-stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.foot h2 { position: relative; padding-bottom: 12px; margin-bottom: 14px; font: 700 16px/1.4 var(--font-display); }
html[lang="en"] .foot h2 { font-family: Inter, "Segoe UI", sans-serif; letter-spacing: 0; }
.foot h2::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 30px; height: 3px; border-radius: 2px; background: var(--gold); }
.foot-links a { display: block; padding-block: 6px; color: var(--muted); text-decoration: none; font-size: 15.5px; line-height: 1.5; transition: color .15s; }
.foot-links a:hover { color: var(--gold-text); }
/* القوايم الطويلة على عمودين، عشان ارتفاع الأعمدة يبقى متقارب ومايفضلش عمود نازل لوحده. */
.foot-links-two > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.foot-social { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.foot-social:empty { display: none; }
.foot-social a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); }
.foot-social a:hover { border-color: var(--gold); color: var(--gold-text); }
.foot-base-band { border-top: 1px solid var(--line); }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-block: 18px; color: var(--muted); }
.foot-base small { font-size: 14px; }

.float-whatsapp { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 30; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--on-gold); box-shadow: 0 12px 30px rgba(0, 0, 0, .4); transition: transform .2s var(--ease); }
.float-whatsapp:hover { transform: scale(1.08); }

@media (max-width: 1160px) {
    .foot-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.1fr) minmax(0, 1.3fr); gap: 32px; }
    .foot-about { grid-column: 1 / -1; }
    .foot-about p { max-width: 60ch; }
}

@media (max-width: 1180px) {
    .menu-toggle { display: inline-flex; }
    .top-tools { margin-inline-start: auto; }
    .nav { position: fixed; inset: 64px 0 0; z-index: 35; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 20px 40px; background: var(--bg); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
    .nav.open { opacity: 1; visibility: visible; transform: none; }
    .nav-link { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 18px; border-radius: 0; }
    .nav-link.is-active { box-shadow: none; color: var(--gold-text); }
    .nav-link svg { display: none; }
    .nav-drop { position: static; min-width: 0; padding: 0 14px 8px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .nav-drop a { padding: 10px 4px; }
    .nav-cta { margin: 18px 0 0; min-height: 52px; }
    .top { background: var(--header); backdrop-filter: blur(14px); }
    .top-row, .top.scrolled .top-row { min-height: 64px; }
    .hero, .page-hero { margin-top: -64px; padding-top: 64px; }
}

@media (max-width: 860px) {
    body { font-size: 17px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 30px 70px; gap: 22px; }
    .hero-art { min-height: 480px; }
    .chip { font-size: 13px; padding: 9px 13px; }
    .chip-1 { inset-inline-start: 0; }
    .chip-2 { inset-inline-end: 0; }
    .page-hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 36px 40px; }
    .page-hero .device-page { width: 230px; margin-bottom: -90px; }
    .page-hero + .band { padding-top: 130px; }
    .scroll-cue { display: none; }
    .split, .compare, .contact-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
    .split-flip .split-copy { order: 0; }
    .steps, .steps-3, .steps-5 { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .steps::before { top: 0; bottom: 0; inset-inline: 27px auto; width: 2px; height: auto; transform-origin: 50% 0; transform: scaleY(0); }
    [dir="ltr"] .steps::before { transform-origin: 50% 0; }
    .steps.in::before, html:not(.js) .steps::before { transform: scaleY(1); }
    .steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; padding-bottom: 28px; }
    .steps li::before { grid-row: span 2; margin-bottom: 0; }
    .steps h3 { align-self: end; }
    .foot-grid { grid-template-columns: minmax(0, 1fr); padding-block: 38px; }
    .foot-links:not(.foot-links-two) > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
    .checklist, .checklist-3 { grid-template-columns: minmax(0, 1fr); }
    .fact { padding-inline: 16px; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
    .fact:nth-child(odd) { border-inline-start: 0; }
    .screens { gap: 16px; }
    .screens figure { width: 62vw; max-width: 240px; }
    .cta-wrap { padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .r { opacity: 1; transform: none; }
    .steps::before { transform: none; }
    .route-truck { offset-distance: 60%; }
}
