/* ===== الموديل ٣ — «الجولة» : مشهد ثلاثي الأبعاد بملء الشاشة يتحرك مع التمرير ===== */
:root {
  --bg: #08080a; --bg2: #101014; --ink: #f4f1ec; --dim: #a4a2ab; --acc: #ff4d2e; --acc2: #ff8a3c; --line: rgba(255, 255, 255, .12);
  --glass: rgba(12, 11, 14, .66); --body: 'Readex Pro', 'Tajawal', 'Segoe UI', Tahoma, sans-serif; --en: 'Anton', 'Impact', sans-serif;
  --r: 22px; --wrap: 1220px; --grad: linear-gradient(100deg, var(--acc), var(--acc2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-weight: 300; font-size: 16.5px; line-height: 1.9; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
::selection { background: var(--acc); color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font: 600 15px var(--body); text-decoration: none; cursor: pointer; border: 1px solid var(--line); background: transparent; color: var(--ink); transition: transform .25s, background .25s, border-color .25s, box-shadow .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -10px var(--acc); }
.btn-main:hover { box-shadow: 0 16px 40px -10px var(--acc); }
.btn-glass { background: rgba(255, 255, 255, .08); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
.btn.sm { padding: 9px 18px; font-size: 14px; }

/* المشهد */
.bg3d { position: fixed !important; inset: 0; z-index: 0; }
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 8, 10, .55), transparent 22%, transparent 70%, rgba(8, 8, 10, .6)); transition: opacity .5s; }
.explore .veil { opacity: 0; }
.mapui { --mu-accent: var(--acc); --mu-font: var(--body); --mu-radius: 16px; }
.bg3d .mapui-top { inset: 74px 16px auto 16px; }
.bg3d .mapui-hint { top: 132px; }
.bg3d .mapui-filters { top: 184px; }
.bg3d .mapui-top, .bg3d .mapui-filters, .bg3d .mapui-zones, .bg3d .mapui-hint { transition: opacity .45s, transform .45s; }
.story .bg3d .mapui-top, .story .bg3d .mapui-filters, .story .bg3d .mapui-zones, .story .bg3d .mapui-hint { opacity: 0; pointer-events: none; transform: translateY(-10px); }
.story .bg3d .mapui-zones { transform: translateY(10px); }
.bg3d .mapui-card { z-index: 30; }

/* الشريط العلوي */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(14px, 3vw, 34px); pointer-events: none; }
.bar > * { pointer-events: auto; }
.bar-logo img { height: 44px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .6)); }
.bar-chapter { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 8px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); font-size: 14px; position: absolute; left: 50%; transform: translateX(-50%); }
[dir=rtl] .bar-chapter { padding: 6px 8px 6px 18px; }
.bar-chapter span { font: 400 14px var(--en); letter-spacing: 1px; background: var(--grad); color: #fff; border-radius: 999px; padding: 1px 10px; }
.bar-chapter b { font-weight: 600; }
.bar-actions { display: flex; gap: 8px; }
.bar-actions .btn { padding: 9px 18px; font-size: 14px; }
.explore .bar-chapter, .explore #exploreBtn, .explore .bar [data-walk] { display: none; }
.exit { position: fixed; z-index: 41; top: 14px; left: 50%; transform: translateX(-50%); display: none; padding: 9px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink); color: #111; font: 600 14px var(--body); cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.explore .exit { display: block; }

/* شريط الفصول */
.rail { position: fixed; z-index: 35; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; }
[dir=rtl] .rail { inset-inline-end: auto; left: 18px; }
.rail button { position: relative; width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .3); cursor: pointer; transition: transform .3s, background .3s, border-color .3s; }
.rail button span { position: absolute; left: 22px; top: 50%; transform: translateY(-50%) translateX(-6px); white-space: nowrap; font: 500 12px var(--body); background: var(--glass); border: 1px solid var(--line); padding: 2px 12px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; backdrop-filter: blur(10px); }
.rail button:hover span { opacity: 1; transform: translateY(-50%); }
.rail button.on { background: var(--acc); border-color: var(--acc); transform: scale(1.35); box-shadow: 0 0 14px var(--acc); }
.explore .rail, .explore .chapters { opacity: 0; visibility: hidden; pointer-events: none; }

/* الفصول */
.chapters { position: relative; z-index: 5; pointer-events: none; transition: opacity .4s; }
.chap { min-height: 118vh; display: flex; align-items: center; justify-content: flex-start; padding: 110px clamp(18px, 6vw, 96px) 60px; }
.chap[data-side=end] { justify-content: flex-end; }
.chap-hero { min-height: 100vh; min-height: 100svh; align-items: flex-end; padding: 0; position: relative; }
.chap-end { justify-content: center; text-align: center; }
.card { pointer-events: auto; width: min(430px, 100%); padding: 26px 28px 28px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 30px 80px -30px #000; opacity: .0; transform: translateY(40px) scale(.97); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.card.wide { width: min(620px, 100%); }
.chap.on .card { opacity: 1; transform: none; }
.card-img { width: calc(100% + 30px); max-width: none; margin: -12px -15px 16px; aspect-ratio: 16/8; object-fit: cover; border-radius: 14px; }
.step { font: 500 13px var(--body); letter-spacing: 1px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-transform: uppercase; margin-bottom: 4px; }
h2 { font: 700 clamp(26px, 3vw, 38px)/1.3 var(--body); letter-spacing: -.3px; text-wrap: balance; }
.card h2 { font-size: clamp(24px, 2.3vw, 30px); margin-bottom: 8px; }
p { color: #cfcdd4; }
.card p { font-size: 15px; line-height: 1.8; }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.mini div { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; background: rgba(255, 255, 255, .04); }
.mini dt { font-size: 12px; color: var(--dim); }
.mini dd { font-weight: 600; font-size: 17px; }
.legend { margin-top: 14px; display: grid; gap: 4px; }
.legend li { display: grid; grid-template-columns: 14px 1fr auto 34px; gap: 10px; align-items: center; font-size: 14px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.legend li:last-child { border: 0; }
.legend i { width: 14px; height: 14px; border-radius: 4px; }
.legend b { font-weight: 500; } .legend span { color: var(--dim); font-size: 13px; }
.legend em { font: 400 17px var(--en); font-style: normal; text-align: end; }
.card .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.stat { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; background: rgba(255, 255, 255, .04); }
.stat b { display: block; font: 400 30px/1.15 var(--en); letter-spacing: .5px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; text-align: end; }
.stat > span { font-size: 13px; color: var(--dim); }
.prices { margin: 14px 0 16px; display: grid; gap: 8px; }
.prices li { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; background: rgba(255, 255, 255, .04); }
.prices span { font-size: 13px; color: var(--dim); line-height: 1.5; }
.prices b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.prices em { font: 400 24px var(--en); font-style: normal; white-space: nowrap; }
.prices small { font: 500 11px var(--body); color: var(--dim); }

/* HERO */
.hero-card { pointer-events: auto; width: 100%; display: grid; grid-template-columns: auto minmax(0, 560px); justify-content: space-between; align-items: end; gap: 40px; padding: 140px clamp(18px, 6vw, 96px) 64px; background: linear-gradient(180deg, transparent, rgba(8, 8, 10, .78) 52%, rgba(8, 8, 10, .96)); animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
.pill { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; padding: 5px 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 12px var(--acc); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero-card h1 img { width: min(300px, 52vw); margin: 0 0 6px; filter: drop-shadow(0 14px 40px rgba(0, 0, 0, .7)); }
.slogan { font: 400 clamp(18px, 2vw, 25px) var(--en); letter-spacing: 5px; direction: ltr; text-align: center; text-shadow: 0 4px 20px rgba(0, 0, 0, .7); }
.hero-lead { margin: 12px 0 0; font-size: 16.5px; text-shadow: 0 2px 14px rgba(0, 0, 0, .8); color: #ecebef; }
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.hero-count { display: inline-flex; gap: 6px; }
.cd { min-width: 62px; text-align: center; padding: 6px 8px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.cd b { display: block; font: 400 28px/1.1 var(--en); font-variant-numeric: tabular-nums; }
.cd span { font-size: 11px; color: var(--dim); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.card .hero-cta { justify-content: center; margin-top: 18px; }
.scroll-hint { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--dim); display: grid; justify-items: center; gap: 4px; }
.scroll-hint i { width: 1px; height: 26px; background: linear-gradient(var(--ink), transparent); animation: drip 1.8s infinite; }
@keyframes drip { from { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: top; } to { opacity: 0; } }

/* الأقسام المصمتة */
.solid { position: relative; z-index: 20; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -60px 120px rgba(0, 0, 0, .8); }
.solid::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 600px; background: radial-gradient(60% 100% at 50% 0, rgba(255, 77, 46, .16), transparent 70%); pointer-events: none; }
.explore .solid { visibility: hidden; }
.sec { padding: clamp(64px, 8vw, 116px) 0; position: relative; }
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 50px); }
.sec-head h2 { font-size: clamp(30px, 4vw, 52px); }
.lead { font-size: 18px; margin-top: 12px; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 60ms); }
[data-reveal].in { opacity: 1; transform: none; }

.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.exp { border-radius: var(--r); overflow: hidden; background: var(--bg2); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.exp:hover { transform: translateY(-5px); border-color: rgba(255, 138, 60, .6); }
.exp-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.exp-body { padding: 16px 18px 20px; }
.exp-n { font: 400 13px var(--en); letter-spacing: 2px; color: var(--acc2); }
.exp h3 { font: 600 19px/1.4 var(--body); }
.exp-en { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); direction: ltr; text-align: end; }
.exp p { font-size: 14px; line-height: 1.75; margin-top: 6px; color: var(--dim); }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pkg { display: flex; flex-direction: column; border-radius: var(--r); background: linear-gradient(180deg, #15151a, var(--bg2)); border: 1px solid var(--line); overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.pkg:hover { transform: translateY(-5px); border-color: rgba(255, 138, 60, .6); box-shadow: 0 30px 70px -40px var(--acc); }
.pkg-media { aspect-ratio: 16/9; overflow: hidden; margin: 10px 10px 0; border-radius: 14px; }
.pkg-media img { width: 100%; height: 100%; object-fit: cover; }
.pkg-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pkg-head { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; align-items: start; }
.pkg-tier { grid-column: 2; grid-row: 1 / span 2; font-size: 12px; font-weight: 500; padding: 2px 12px; border-radius: 999px; background: var(--grad); color: #fff; }
.pkg-title { font: 700 22px/1.35 var(--body); }
.pkg-en { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); direction: ltr; text-align: end; }
.pkg-lead { font-size: 14px; line-height: 1.8; margin-top: 8px; color: var(--dim); }
.pkg-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; font-size: 12.5px; font-weight: 500; }
.pkg-meta span { padding: 2px 12px; border-radius: 999px; border: 1px solid var(--line); }
.pkg-perks { flex: 1; display: grid; gap: 6px; font-size: 14px; line-height: 1.65; color: #d7d5dc; }
.pkg-perks li { padding-inline-start: 20px; position: relative; }
.pkg-perks li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.pkg-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pkg-price b { display: block; font: 400 34px/1 var(--en); letter-spacing: .5px; direction: ltr; text-align: end; }
.pkg-price span { font-size: 12px; color: var(--dim); }
.pkg-actions { display: flex; align-items: center; gap: 6px; }
.pkg-book { padding: 8px 16px; font-size: 13.5px; background: var(--grad); border-color: transparent; color: #fff; }
.pkg-map { background: none; border: 0; color: var(--dim); font: 500 13px var(--body); cursor: pointer; padding: 6px; }
.pkg-map:hover { color: var(--ink); }
.pkg[data-tier=PLAT] { grid-column: 1 / -1; flex-direction: row; border-color: rgba(255, 138, 60, .5); }
.pkg[data-tier=PLAT] .pkg-media { flex: 0 0 46%; aspect-ratio: auto; min-height: 360px; margin: 10px; }
.pkg[data-tier=PLAT] .pkg-title { font-size: 34px; }
.pkg[data-tier=PLAT] .pkg-perks { grid-template-columns: 1fr 1fr; column-gap: 22px; }
.pkg[data-tier=PLAT] .pkg-price b { font-size: 52px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why-grid li { padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg2); }
.why-n { font: 400 15px var(--en); letter-spacing: 2px; color: var(--acc2); }
.why-grid h4 { font: 600 19px/1.5 var(--body); margin: 6px 0 4px; }
.why-grid p { font-size: 14.5px; color: var(--dim); }
.gov { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg2); }
.gov h3 { font: 700 24px var(--body); margin-bottom: 6px; }
.gov p { font-size: 15px; color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips li { font-size: 13px; padding: 2px 12px; border-radius: 999px; border: 1px solid var(--line); }

.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.book-box { border: 1px solid var(--line); border-radius: 26px; padding: clamp(20px, 3vw, 34px); background: var(--bg2); }
.book { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 4px; } .f-wide, .book-foot, .book-done { grid-column: 1 / -1; }
.f span { font-size: 13px; font-weight: 500; color: var(--dim); }
.f input, .f select, .f textarea { width: 100%; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--ink); font: 400 15.5px var(--body); outline: none; transition: border-color .2s, box-shadow .2s; }
.f select option { background: #17171c; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--acc2); box-shadow: 0 0 0 4px rgba(255, 138, 60, .16); }
.f.bad input, .f.bad select { border-color: #ff6b5e; }
.book-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.book-note { font-size: 13px; color: var(--dim); }
.book-done { border: 1px solid rgba(120, 220, 140, .4); background: rgba(60, 160, 90, .1); border-radius: 16px; padding: 16px; }
.book-done h4 { font: 600 19px var(--body); color: #9be3ab; }
.book-done pre { white-space: pre-wrap; font: 400 14px/1.8 var(--body); margin: 8px 0 12px; }
.book-send { display: flex; gap: 8px; flex-wrap: wrap; } .book-send .btn { padding: 8px 16px; font-size: 13.5px; }

.foot { border-top: 1px solid var(--line); padding: 44px 0 22px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-logo { height: 70px; }
.foot-slogan { font: 400 22px var(--en); letter-spacing: 5px; direction: ltr; color: var(--ink); }
.foot-via { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--dim); }
.foot-via img { height: 24px; } .foot-via a { color: var(--ink); direction: ltr; text-decoration: none; }
.foot-copy { text-align: center; font-size: 13px; margin-top: 26px; color: var(--dim); }
.foot-copy a { color: var(--acc2); }

.no3d .bg3d { background: url(../assets/stage-sunset.jpg) center/cover; }
.no3d .bg3d { transition: background-image .7s; }
.no3d [data-walk] { display: none !important; }
.no3d:not(.desk-only) .chap-walk { display: none !important; }
.desk-only .walk-steps, .desk-only .walk-note { display: none; }
.desk-only .walk-card .desk3d-msg { margin: 16px 0 0; }
.hero-note { margin: 14px 0 0 !important; }
@media (max-width: 760px) { .hero-note { padding: 10px 12px !important; gap: 10px !important; } .hero-note span { display: none !important; } .hero-note b { font-size: 14px !important; } .hero-note svg { width: 34px !important; height: 34px !important; padding: 7px !important; } .desk-only .hero-card { padding-top: 90px; } }
.walk-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13px !important; color: var(--dim); }
.walk-note svg { width: 18px; height: 18px; flex: none; color: var(--acc2); }

/* الشريط العلوي فوق الأقسام المصمتة */
.bar { transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.past .bar { background: rgba(8, 8, 10, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.past .bar-logo img { height: 38px; }

/* زر التجوّل */
.btn-walk { background: rgba(255, 77, 46, .16); border-color: rgba(255, 138, 60, .75); color: #fff; position: relative; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-walk:hover { background: rgba(255, 77, 46, .3); }
.btn-walk::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--acc2); opacity: 0; animation: ring 2.4s ease-out infinite; pointer-events: none; }
@keyframes ring { 0% { opacity: .8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.18, 1.45); } }
.btn-walk .t-sm { display: none; }
.btn-lg { padding: 15px 30px; font-size: 16.5px; }
.btn-lg svg { width: 22px; height: 22px; }
.is-touch .only-mouse, .is-mouse .only-touch { display: none !important; }

/* فصل التجوّل */
.chap-walk { justify-content: center; text-align: center; }
.walk-card { border-color: rgba(255, 138, 60, .45); box-shadow: 0 30px 80px -30px #000, 0 0 0 1px rgba(255, 77, 46, .12) inset; }
.walk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 20px; counter-reset: s; }
.walk-steps li { display: grid; justify-items: center; gap: 2px; padding: 14px 10px 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .04); }
.walk-steps span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.walk-steps b { font-weight: 600; font-size: 14.5px; }
.walk-steps small { font-size: 12.5px; color: var(--dim); line-height: 1.6; }

/* وضع الاستكشاف: الأدوات فوق المشهد */
.bg3d .mapui-walk { position: relative; }
.story .bg3d .mapui-walk::after { display: none; }

/* وضع التجوّل: واجهة نظيفة — زر خروج واحد، عصا تحكم، خريطة مصغّرة، وشريط المناطق */
.walking .exit { display: none; }
.walking .bg3d .mapui-steps, .walking .bg3d .mapui-themes, .walking .bg3d .mapui-tools { display: none; }
.walking .bg3d .mapui-right { justify-content: center; flex: 1; }
.walking .bg3d .mapui-top { justify-content: center; }
.walking .bg3d .mapui-walk { min-height: 46px; padding: 0 22px; font-size: 15px !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.walking .bg3d .mapui-hint { top: 128px; inset-inline: 0; margin-inline: auto; width: fit-content; text-align: center; }
.walking.is-touch .bg3d .mapui-hint { display: none; }
.bg3d .f3d-mini { bottom: 76px; }
.bg3d .f3d-hud::after { content: 'اضغط على الخريطة للانتقال'; position: absolute; right: 14px; bottom: 206px; width: 210px; text-align: center; font: 600 11.5px var(--body); color: #fff; text-shadow: 0 1px 6px #000; direction: rtl; }
.bg3d .f3d-joy { bottom: 76px; }
.bg3d .f3d-joy::after { content: 'امشِ'; position: absolute; left: 0; right: 0; top: -24px; text-align: center; font: 600 12px var(--body); color: #fff; text-shadow: 0 1px 6px #000; }

/* شرح التحكم */
.coach { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(6, 6, 8, .55); opacity: 0; transition: opacity .35s; }
.coach.on { opacity: 1; }
.coach[hidden] { display: none; }
.is-mouse .coach { pointer-events: none; background: transparent; }
.coach-box { width: min(420px, 100%); padding: 24px 24px 22px; border-radius: var(--r); background: rgba(14, 13, 16, .9); border: 1px solid rgba(255, 138, 60, .45); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 80px -20px #000; text-align: center; transform: translateY(16px) scale(.97); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.coach.on .coach-box { transform: none; }
.coach h3 { font: 700 22px/1.4 var(--body); margin-bottom: 14px; }
.coach-list { display: grid; gap: 8px; text-align: start; margin-bottom: 18px; }
.coach-list li { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .04); }
.coach-list b { font-weight: 600; font-size: 15px; }
.coach-list span { grid-column: 2; font-size: 13px; color: var(--dim); line-height: 1.6; }
.ci { grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; gap: 2px; height: 44px; border-radius: 12px; background: rgba(255, 77, 46, .14); position: relative; font-style: normal; direction: ltr; }
.ci-joy::before { content: ''; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); }
.ci-joy::after { content: ''; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: #fff; transform: translate(5px, -4px); }
.ci-drag::before { content: '↔'; font-size: 22px; color: #fff; }
.ci-mouse::before { content: ''; width: 18px; height: 26px; border: 1.5px solid #fff; border-radius: 9px; }
.ci-map::before { content: ''; width: 32px; height: 22px; border-radius: 5px; border: 1.5px solid #fff; background: linear-gradient(90deg, transparent 45%, rgba(255, 255, 255, .5) 45% 55%, transparent 55%); }
.ci-map::after { content: ''; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); transform: translate(6px, 2px); }
.ci kbd { font: 600 10px var(--body); min-width: 15px; padding: 1px 3px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.coach-touch, .coach-mouse { display: none; }
.is-touch .coach-touch, .is-mouse .coach-mouse { display: grid; }
.is-mouse #coachGo { display: none; }
.is-mouse .coach-box::after { content: 'اضغط على المشهد للبدء'; display: block; font-size: 13px; color: var(--acc2); font-weight: 600; }

@media (max-width: 1000px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); } .pkg-grid { grid-template-columns: repeat(2, 1fr); } .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1240px) {
  .bar-chapter { display: none; }
}
@media (max-width: 760px) {
  .chap, .chap[data-side=end] { align-items: flex-end; justify-content: center; padding: 90px 14px 28px; min-height: 125vh; }
  .chap-hero { min-height: 100svh; padding: 0; }
  .hero-card { grid-template-columns: 1fr; gap: 14px; padding: 110px 16px 54px; text-align: center; } .hero-card h1 img { margin-inline: auto; width: min(220px, 56vw); } .hero-row { justify-content: center; } .hero-lead { font-size: 15px; }
  .card { padding: 18px 20px 20px; } .card-img { display: none; }
  .rail { display: none; }
  .bar-actions .btn span { display: none; } .bar-actions .btn-glass { padding: 9px 12px; }
  .pkg-grid, .why-grid, .gov, .book-grid, .book { grid-template-columns: 1fr; }
  .pkg[data-tier=PLAT] { flex-direction: column; } .pkg[data-tier=PLAT] .pkg-media { min-height: 0; aspect-ratio: 16/9; flex: none; } .pkg[data-tier=PLAT] .pkg-perks { grid-template-columns: 1fr; } .pkg[data-tier=PLAT] .pkg-title { font-size: 26px; }
  .cd { min-width: 60px; } .cd b { font-size: 22px; }
  .hero-card .hero-cta { justify-content: center; } .hero-card .hero-cta .btn-glass { display: none; }
  .bar-logo img { height: 38px; }
  .bar-actions .btn-walk .t-lg { display: none; } .bar-actions .btn-walk .t-sm { display: inline; } .bar-actions .btn-walk { padding: 9px 14px; }
  .walk-steps { grid-template-columns: 1fr; gap: 6px; margin: 14px 0 16px; }
  .walk-steps li { grid-template-columns: 30px 1fr; justify-items: start; column-gap: 10px; text-align: start; padding: 8px 12px; }
  .walk-steps span { grid-row: 1 / span 2; margin: 0; }
  .btn-lg { width: 100%; padding: 14px 20px; font-size: 15.5px; }
  .walk-card > p:not(.step) { display: none; }
  .card .hero-cta .btn { flex: 1 1 auto; }

  /* أدوات المخطط على الموبايل: صفّان ثابتان أعلى المشهد، والفلاتر والمناطق أسفله */
  .bg3d .mapui-top { inset: 62px 10px auto 10px; gap: 8px; }
  .bg3d .mapui-right { flex-wrap: nowrap; gap: 6px; }
  .bg3d .mapui-walk { flex: 1 1 0; min-width: 0; justify-content: center; padding: 0 10px; }
  .bg3d .mapui-theme { padding: 8px 7px; }
  .bg3d .mapui-tools .mapui-tool:nth-child(n+2) { display: none; }
  .bg3d .mapui-filters { top: auto; bottom: 64px; }
  .bg3d .mapui-card { bottom: 118px; }
  .walking .bg3d .mapui-walk { flex: 0 1 auto; }
  .bg3d .f3d-mini { width: 132px; right: 10px; bottom: 66px; }
  .bg3d .f3d-hud::after { right: 10px; width: 132px; bottom: 150px; font-size: 10.5px; }
  .bg3d .f3d-joy { left: 14px; bottom: 74px; width: 104px; height: 104px; }
  .coach { align-items: end; padding: 14px 12px 24px; }
  .coach-box { padding: 20px 18px 18px; }
  .coach h3 { font-size: 19px; margin-bottom: 10px; }
}
@media (max-width: 380px) {
  .bar-actions #exploreBtn { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } [data-reveal], .card { opacity: 1; transform: none; } }
