/* ==========================================================
   من طنطا للعالم — صفحة الكتاب
   ========================================================== */

:root {
  --paper: #f6f1e7;
  --paper-2: #efe5d3;
  --paper-3: #e7dac2;
  --card: #fffdf8;
  --ink: #1e1b18;
  --ink-2: #5b544c;
  --ink-3: #8a8177;
  --night: #1c1a17;
  --night-2: #282521;
  --night-3: #35312c;
  --orange: #e8762b;
  --orange-2: #f39a55;
  --orange-deep: #c25a13;
  --orange-soft: #fbe2cc;
  --teal: #2f7a6a;
  --blue: #2d4f86;
  --red: #c23a2b;
  --line: rgba(30, 27, 24, .12);
  --line-light: rgba(255, 255, 255, .12);

  --f-head: 'Alexandria', 'Readex Pro', system-ui, sans-serif;
  --f-body: 'Readex Pro', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --f-hand: 'Aref Ruqaa', 'Alexandria', serif;

  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(48, 30, 10, .35);
  --shadow-sm: 0 10px 30px -14px rgba(48, 30, 10, .3);
  --gutter: 16px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.85;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.3; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
b, strong { font-weight: 600; }
::selection { background: var(--orange); color: #fff; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* حالة الإطلاق: قبل / بعد */
body.is-pre [data-live] { display: none !important; }
body.is-live [data-pre] { display: none !important; }

/* ---------- عناصر عامة ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 700; font-size: 14px;
  color: var(--orange-deep); margin: 0 0 14px; letter-spacing: 0;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-head { margin-bottom: 44px; max-width: 760px; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2, .quiz-intro h2, .kit-copy h2, .dms-copy h2, .about-copy h2, .sample-copy h2 {
  font-size: clamp(28px, 5.2vw, 48px); font-weight: 800;
}
.lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-2); margin-top: 14px; }
.hl { color: var(--orange); }

section { position: relative; }
.distance, .for, .stamps, .inside, .quiz, .peek, .kit, .dms, .about, .sample, .pricing, .faq { padding-block: clamp(72px, 11vw, 130px); }

.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 1.2;
  padding: 14px 24px; border-radius: 14px; border: 2px solid transparent;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
  position: relative; isolation: isolate;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-orange { --bg: var(--orange); box-shadow: 0 12px 28px -10px rgba(232, 118, 43, .75), inset 0 -3px 0 rgba(0,0,0,.12); }
.btn-orange:hover { --bg: #f0802f; box-shadow: 0 18px 34px -12px rgba(232, 118, 43, .85), inset 0 -3px 0 rgba(0,0,0,.12); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 17px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-price { opacity: .85; font-weight: 500; font-size: .92em; }
.btn-price:not(:empty)::before { content: '· '; }

.polaroid {
  margin: 0; background: #fff; padding: 8px 8px 0; border-radius: 4px;
  box-shadow: var(--shadow-sm); position: relative;
}
.polaroid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; }
.polaroid figcaption { font-family: var(--f-head); font-size: 12px; font-weight: 600; text-align: center; padding: 8px 4px 10px; color: var(--ink-2); line-height: 1.4; }
.polaroid::before {
  content: ''; position: absolute; top: -10px; left: 50%; translate: -50% 0; rotate: -3deg;
  width: 64px; height: 20px; background: rgba(232, 214, 180, .85);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

.checks, .crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li, .crosses li { position: relative; padding-inline-start: 34px; }
.checks li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.crosses li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/12px no-repeat;
}

.barcode {
  height: 46px; width: 100%;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px);
  opacity: .85; border-radius: 2px;
}

/* ---------- الهيدر ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  background: rgba(246, 241, 231, .78);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-color: var(--line); background: rgba(246, 241, 231, .92); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-head); font-weight: 800; font-size: 17px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--ink); color: var(--orange); font-family: var(--f-hand); font-size: 22px; line-height: 1; padding-bottom: 4px;
}
.nav-links { display: none; gap: 26px; font-family: var(--f-head); font-weight: 600; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--ink-2); position: relative; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content: ''; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .25s; transform-origin: right; }
.nav-links a:hover::after { transform: scaleX(1); }
.route-progress { position: absolute; inset: auto 0 -1px 0; height: 3px; }
.rp-track { position: relative; height: 100%; }
.rp-fill { position: absolute; inset-block: 0; right: 0; width: calc(var(--p, 0) * 100%); background: linear-gradient(270deg, var(--orange), var(--orange-2)); }
.rp-plane { position: absolute; top: 50%; right: calc(var(--p, 0) * 100%); width: 18px; height: 18px; translate: 50% -50%; fill: var(--orange-deep); opacity: 0; transition: opacity .3s; }
.nav.is-scrolled .rp-plane { opacity: 1; }
/* الطيارة بتبص لليسار (اتجاه الرحلة) */
/* الطيارة في شريط الرحلة وفي التذكرة ماشية من اليمين للشمال، فبوزها للشمال زي الأيقونة الأصلية.
   تاج الواجهة (TNT → TRN) مكتوب من الشمال لليمين، فالطيارة هناك بس هي اللي بتتقلب. */
.hv-tag svg { transform: scaleX(-1); }

/* ---------- الواجهة ---------- */
.hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 80px; min-height: 100svh; overflow: hidden; }
.hero-map {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: url('../img/map-dots.svg') no-repeat 30% 60% / 1400px auto;
  -webkit-mask-image: radial-gradient(ellipse at 40% 50%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse at 40% 50%, #000 20%, transparent 70%);
}
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 16px; font-family: var(--f-head); font-weight: 600; font-size: 13px; color: var(--ink-2);
  box-shadow: 0 4px 14px -8px rgba(0,0,0,.2); margin-bottom: 22px;
}
.chip-sep { color: var(--ink-3); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(232,118,43,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(232,118,43,0); } 100% { box-shadow: 0 0 0 0 rgba(232,118,43,0); } }

.hero-title { font-size: clamp(58px, 15vw, 128px); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; margin-bottom: 18px; }
.ht-line { display: block; position: relative; }
.ht-line > span { display: inline-block; }
.ht-accent { color: var(--orange); }
.ht-route { position: absolute; width: min(64%, 330px); height: auto; inset-inline-start: calc(100% - 40px); top: 18%; overflow: visible; display: none; }
.ht-route-path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-dasharray: 7 8; stroke-linecap: round; }
.ht-route circle { fill: var(--ink); }
.ht-plane path { fill: var(--orange); }
.hero-sub { font-family: var(--f-head); font-weight: 500; font-size: clamp(18px, 2.8vw, 23px); line-height: 1.6; color: var(--ink); max-width: 560px; margin-bottom: 26px; }
.hero-sub strong { font-weight: 800; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-ctas.center { justify-content: center; }
.hero-note { font-size: 14px; color: var(--ink-2); margin-top: 16px; }
.hero-scroll {
  position: absolute; bottom: 22px; left: 50%; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--f-head); font-size: 12.5px; font-weight: 600; color: var(--ink-3); text-decoration: none;
}
.hero-scroll i { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.hero-scroll i::after { content: ''; position: absolute; top: 6px; left: 50%; width: 3px; height: 7px; translate: -50% 0; border-radius: 2px; background: var(--orange); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* لوحة المغادرة */
.board {
  background: var(--night); color: #f3ece1; border-radius: 20px; padding: 16px 16px 18px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.05);
  max-width: 560px; position: relative; overflow: hidden;
}
.board::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.board-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-head); font-size: 12.5px; font-weight: 600; color: #b9ae9f; margin-bottom: 12px; }
.board-flight { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; color: var(--orange-2); letter-spacing: .1em; }
.board-route { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; background: var(--night-2); border-radius: 12px; margin-bottom: 14px; }
.br-city { font-family: var(--f-head); font-weight: 800; font-size: 19px; display: flex; flex-direction: column; line-height: 1.25; }
.br-city small { font-size: 11px; font-weight: 500; color: #9b9083; }
.br-line { flex: 1; min-width: 40px; height: 2px; background: repeating-linear-gradient(270deg, #6d655b 0 6px, transparent 6px 11px); position: relative; }
.br-line i { position: absolute; top: 50%; right: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); translate: 50% -50%; animation: travel 3.2s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes travel { 0% { right: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { right: 100%; opacity: 0; } }
.br-status { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-head); font-size: 12.5px; font-weight: 700; color: #9fd5a8; background: rgba(159,213,168,.1); padding: 4px 10px; border-radius: 999px; }
.br-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.2s steps(2) infinite; }
.br-status.is-open { color: var(--orange-2); background: rgba(243,154,85,.12); }
@keyframes blink { 50% { opacity: .2; } }

.flaps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.flap-unit { text-align: center; }
.flap-unit small { display: block; font-family: var(--f-head); font-size: 12px; color: #9b9083; margin-top: 6px; }
.flap-cells { display: flex; gap: 3px; justify-content: center; }
.flap {
  position: relative; width: 100%; max-width: 46px; height: clamp(50px, 11vw, 64px);
  display: grid; place-items: center; border-radius: 7px;
  background: linear-gradient(180deg, #2f2b27 0 50%, #26231f 50% 100%);
  font-family: var(--f-head); font-weight: 800; font-size: clamp(28px, 7vw, 40px); color: #fff6ea;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 3px 6px rgba(0,0,0,.4);
  perspective: 300px; overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.flap::after { content: ''; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: rgba(0,0,0,.55); }
.flap.is-flip { animation: flap .42s cubic-bezier(.3,.7,.4,1); }
@keyframes flap { 0% { transform: rotateX(-90deg); filter: brightness(1.8); } 100% { transform: rotateX(0); filter: none; } }
.flaps .flap-unit:first-child .flap { color: var(--orange-2); }
.board-live { font-family: var(--f-head); font-weight: 700; font-size: 18px; margin: 0; padding: 4px 4px 0; }
.board-live a { color: var(--orange-2); }

/* الكتاب ثلاثي الأبعاد */
.hero-visual { position: relative; height: clamp(440px, 118vw, 600px); max-width: 520px; margin-inline: auto; width: 100%; }
.hv-sun { position: absolute; inset: 8% 8% 6%; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; background: radial-gradient(circle at 60% 40%, var(--orange-2), var(--orange) 60%, var(--orange-deep)); rotate: -8deg; opacity: .95; }
.hv-sun::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: url('../img/map-dots.svg') center/220% auto; mix-blend-mode: soft-light; opacity: .6; }
.book3d { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: clamp(190px, 50vw, 270px); aspect-ratio: 1064/1889; perspective: 1400px; z-index: 3; }
.book { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(6deg); transition: transform .15s linear; }
.book-front, .book-back, .book-pages { position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; }
.book-front { transform: translateZ(14px); overflow: hidden; box-shadow: inset 4px 0 6px -2px rgba(0,0,0,.25); }
.book-front img { width: 100%; height: 100%; object-fit: cover; }
.book-front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,.28) 0%, transparent 24%, transparent 70%, rgba(255,255,255,.08) 100%); }
.book-back { transform: translateZ(-14px) rotateY(180deg); background: var(--night); }
.book-pages {
  /* حافة الصفحات */
  width: 28px; inset: 4px auto 4px 100%; left: auto; right: 0; border-radius: 2px;
  transform: translateX(14px) rotateY(90deg) translateX(-14px); transform-origin: right center;
  right: 0; left: auto; width: 28px;
  background: repeating-linear-gradient(90deg, #fbf6ec 0 1px, #e6dcca 1px 2px);
}
.book-shadow { position: absolute; inset: auto 6% -7% 6%; height: 30px; background: radial-gradient(ellipse, rgba(60,30,0,.45), transparent 70%); filter: blur(6px); transform: translateZ(-30px); }
.hv-pol { position: absolute; width: clamp(130px, 34vw, 180px); z-index: 2; }
.hv-pol img { aspect-ratio: 1; }
.hv-pol-1 { top: 2%; inset-inline-start: -2%; rotate: 8deg; }
.hv-pol-2 { bottom: 3%; inset-inline-end: -2%; rotate: -7deg; z-index: 4; }
.hv-tag {
  position: absolute; z-index: 5; bottom: 18%; inset-inline-start: 0; rotate: 6deg;
  display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px;
  background: var(--card); box-shadow: var(--shadow-sm); font-family: ui-monospace, Menlo, monospace; font-weight: 700; letter-spacing: .08em; font-size: 14px;
}
.hv-tag svg { width: 18px; height: 18px; fill: var(--orange); }

/* ---------- المشكلة ---------- */
.noise { background: var(--night); color: #f3ece1; }
.noise-pin { min-height: 100svh; padding-block: calc(var(--nav-h) + 40px) 60px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.noise .eyebrow { color: var(--orange-2); }
.noise-head h2 { font-size: clamp(30px, 5.6vw, 52px); font-weight: 800; max-width: 780px; }
.noise-head .lead { color: #bdb2a4; max-width: 620px; }
.noise-field { position: relative; flex: 1; min-height: 560px; margin-top: 24px; }
.nz {
  position: absolute; left: var(--x); top: var(--y); rotate: var(--r);
  width: min(78%, 300px); padding: 14px 16px; border-radius: 16px;
  background: var(--night-2); border: 1px solid var(--line-light); color: #efe6d9;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); font-size: 14.5px; line-height: 1.7;
}
.nz p { margin: 0; }
.nz-user { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #a89d8f; margin-bottom: 8px; font-family: var(--f-head); }
.nz-user i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #4b6cb7, #182848); }
.nz-meta { font-size: 12px; color: #a89d8f; margin-top: 8px; }
.nz-who { display: block; font-size: 11.5px; color: #a89d8f; font-family: var(--f-head); margin-bottom: 4px; }
.nz-comment { border-radius: 4px 16px 16px 16px; background: #2d2a26; }
.nz-dm { background: linear-gradient(135deg, #3a2a52, #2a2340); border-color: rgba(190,160,255,.2); }
.nz-bubble { background: #dcf8c6; color: #1e2a17; border: 0; border-radius: 16px 4px 16px 16px; width: min(70%, 250px); }
.nz-bubble .nz-stamp { color: var(--red); border-color: var(--red); }
.nz-voice { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 10px; background: #263329; border-color: rgba(120,200,140,.2); }
.nz-voice p { grid-column: 1 / -1; font-size: 13px; color: #b9cdbd; }
.nz-play { width: 30px; height: 30px; border-radius: 50%; background: #4caf6e; position: relative; }
.nz-play::after { content: ''; position: absolute; top: 50%; left: 54%; translate: -50% -50%; border: 6px solid transparent; border-left: 9px solid #fff; border-right: 0; }
.nz-wave { display: flex; gap: 3px; align-items: center; height: 26px; }
.nz-wave i { width: 3px; border-radius: 3px; background: #8fd1a2; height: 30%; animation: wave 1.1s ease-in-out infinite; }
.nz-wave i:nth-child(3n) { height: 80%; animation-delay: -.3s; }
.nz-wave i:nth-child(3n+1) { height: 50%; animation-delay: -.6s; }
@keyframes wave { 50% { transform: scaleY(.4); } }
.nz-search { display: flex; align-items: center; gap: 10px; border-radius: 999px; background: #f4f1ec; color: #2a2622; border: 0; padding: 12px 18px; }
.nz-glass { width: 16px; height: 16px; border: 2.5px solid #777; border-radius: 50%; position: relative; flex: none; }
.nz-glass::after { content: ''; position: absolute; width: 7px; height: 2.5px; background: #777; bottom: -4px; right: -5px; rotate: 45deg; }
.nz-doc { background: #f4efe4; color: #3a342c; border: 0; border-radius: 6px; font-family: Georgia, serif; font-size: 13px; }
.nz-q { position: absolute; top: -14px; inset-inline-end: -10px; background: var(--orange); color: #fff; font-family: var(--f-head); font-weight: 900; border-radius: 10px; padding: 2px 10px; rotate: 8deg; }
.nz-stamp {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; rotate: -12deg;
  font-family: var(--f-head); font-weight: 900; font-size: 22px; color: var(--orange-2);
  border: 3px solid currentColor; border-radius: 10px; padding: 0 14px; white-space: nowrap;
  background: rgba(28,26,23,.25); backdrop-filter: blur(1px);
  opacity: 0; scale: 2.2; pointer-events: none;
}
.nz-stamp-red { color: #ff6b57; }
.noise-answer { position: absolute; inset: auto var(--gutter) 12% var(--gutter); text-align: center; max-width: 820px; margin-inline: auto; opacity: 0; pointer-events: none; }
.na-1 { font-family: var(--f-head); font-size: clamp(20px, 3.2vw, 28px); color: #bdb2a4; font-weight: 600; margin-bottom: 8px; }
.na-2 { font-family: var(--f-head); font-size: clamp(30px, 6vw, 58px); font-weight: 900; line-height: 1.25; margin-bottom: 18px; }
.na-3 { color: #bdb2a4; font-size: clamp(16px, 2.2vw, 19px); max-width: 620px; margin-inline: auto; }

/* ---------- الرحلة ---------- */
.journey { background: var(--paper); }
.journey-pin { min-height: 100svh; padding-block: calc(var(--nav-h) + 26px) 30px; display: flex; flex-direction: column; overflow: hidden; }
.journey-head h2 { font-size: clamp(24px, 4.4vw, 44px); font-weight: 800; }
.journey-stage { display: grid; gap: 14px; flex: 1; margin-top: 16px; align-items: center; }
.jmap { position: relative; }
.jmap svg { width: 100%; height: auto; overflow: visible; display: block; }
.jmap-note { position: absolute; bottom: 0; inset-inline-start: 0; font-size: 11px; color: var(--ink-3); margin: 0; }
.jroute-bg { fill: none; stroke: var(--paper-3); stroke-width: 4; stroke-dasharray: 2 12; stroke-linecap: round; }
.jroute { fill: none; stroke: var(--orange); stroke-width: 4.5; stroke-linecap: round; }
.jpin text { font-family: var(--f-head); font-weight: 800; font-size: 30px; fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: var(--paper); stroke-width: 7px; stroke-linejoin: round; }
.jpin-dot { fill: var(--card); stroke: var(--ink); stroke-width: 4; transition: fill .3s; }
.jpin-halo { fill: var(--orange); opacity: 0; transform-box: fill-box; transform-origin: center; }
.jpin.is-on .jpin-dot { fill: var(--orange); stroke: var(--orange-deep); }
.jpin.is-on .jpin-halo { animation: halo 2s ease-out infinite; }
@keyframes halo { 0% { opacity: .5; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
.jplane circle { fill: var(--ink); }
.jplane path { fill: #fff; }
.jw { opacity: 0; }
.jw circle { fill: var(--orange); stroke: var(--card); stroke-width: 3; }
.jw text { font-family: var(--f-head); font-weight: 700; font-size: 22px; fill: var(--ink-2); text-anchor: middle; paint-order: stroke; stroke: var(--paper); stroke-width: 6px; }

.jcards { position: relative; min-height: 330px; }
.jcard {
  position: absolute; inset: 0; background: var(--card); border-radius: var(--r); padding: 18px 18px 16px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1), visibility .5s;
  display: flex; flex-direction: column; overflow: hidden;
}
.jcard.is-active { opacity: 1; visibility: visible; transform: none; }
.jcard h3 { font-size: clamp(20px, 3.4vw, 28px); font-weight: 800; margin-bottom: 8px; }
.jcard p { font-size: 15px; color: var(--ink-2); margin-bottom: 8px; line-height: 1.75; }
.jcard p b { color: var(--ink); }
.jk { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--ink) !important; margin-bottom: 8px !important; }
.jk-n { background: var(--orange); color: #fff; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.jphotos { display: none; gap: 16px; margin-top: auto; padding-top: 14px; }
.jphotos .polaroid { flex: 1; max-width: 190px; }
.jphotos .polaroid:nth-child(1) { rotate: -3deg; }
.jphotos .polaroid:nth-child(2) { rotate: 4deg; }
.jphotos img { aspect-ratio: 4/3; }
.jstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 14px; }
.jstats > div { background: var(--paper); border-radius: 12px; padding: 10px 8px; text-align: center; }
.jstats b { font-family: var(--f-head); font-weight: 900; font-size: clamp(20px, 4vw, 30px); color: var(--orange); line-height: 1.2; }
.jstats span { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.4; margin-top: 4px; }
.jstats > div:last-child b { direction: ltr; unicode-bidi: isolate; }
.jstats > div:last-child { direction: ltr; }
.jstats > div:last-child span { direction: rtl; }
.jnext { font-family: var(--f-head); font-size: 18px !important; color: var(--ink) !important; margin-top: auto; }
.jnext b { color: var(--orange); }
.jsteps { list-style: none; padding: 0; margin: 14px auto 0; display: flex; gap: 8px; }
.jsteps li { width: 26px; height: 5px; border-radius: 5px; background: var(--paper-3); transition: background .3s, width .3s; }
.jsteps li.is-on { background: var(--orange); width: 40px; }

/* ---------- قبل ← بعد ---------- */
.distance { background: var(--paper-2); }
.ba-grid { display: grid; gap: 22px; }
.ba { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; background: var(--ink); box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { filter: grayscale(.85) sepia(.25) contrast(.95); }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; translate: -50% 0; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.4); }
.ba-handle i { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.ba-handle i::before, .ba-handle i::after { content: ''; position: absolute; top: 50%; border: 6px solid transparent; translate: 0 -50%; }
.ba-handle i::before { left: 4px; border-right-color: #fff; }
.ba-handle i::after { right: 4px; border-left-color: #fff; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; direction: ltr; }
.ba figcaption { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; gap: 8px; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(0,0,0,.65)); pointer-events: none; direction: ltr; }
.ba figcaption span { font-family: var(--f-head); font-weight: 700; font-size: 13.5px; color: #fff; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); direction: rtl; }
.ba figcaption .ba-r { background: var(--orange); }
.ba-quote { text-align: center; font-family: var(--f-head); font-size: clamp(18px, 2.6vw, 23px); font-weight: 500; max-width: 720px; margin: 48px auto 0; line-height: 1.7; }
.ba-quote b { color: var(--orange-deep); font-weight: 800; }

/* ---------- الكتاب ده ليك؟ ---------- */
.passes { display: grid; gap: 26px; }
.pass { position: relative; display: grid; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.pass::before, .pass::after { content: ''; position: absolute; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); }
.pass-main { padding: 26px 22px; }
.pass-top { display: flex; justify-content: space-between; font-family: var(--f-head); font-weight: 600; font-size: 12.5px; color: var(--ink-3); border-bottom: 1px dashed var(--line); padding-bottom: 12px; margin-bottom: 18px; }
.pass h3 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.pass-yes h3 { color: var(--orange-deep); }
.pass-stub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 22px 22px; border-top: 2px dashed var(--line); background: var(--orange-soft); }
.pass-stub small { display: block; font-size: 11px; color: var(--ink-3); font-family: var(--f-head); }
.pass-stub b { font-family: var(--f-head); font-size: 16px; }
.pass-stub .barcode { grid-column: 1 / -1; height: 36px; }
.pass-yes::before, .pass-yes::after { top: auto; bottom: calc(var(--stub-h, 120px) - 14px); }
.pass-yes::before { left: -14px; }
.pass-yes::after { right: -14px; }
.pass-no { background: var(--paper-2); box-shadow: none; border: 2px dashed var(--paper-3); }
.pass-no::before, .pass-no::after { display: none; }
.pass-no .pass-top { color: var(--red); }
.pass-stamp {
  position: absolute; top: 18px; inset-inline-end: 18px; rotate: -14deg;
  font-family: var(--f-head); font-weight: 900; font-size: 22px; letter-spacing: .02em;
  border: 3px double currentColor; padding: 2px 14px; border-radius: 8px; opacity: .85;
}
.pass-stamp-ok { color: var(--teal); }
.pass-stamp-no { color: var(--red); rotate: 10deg; }

/* ---------- الأختام ---------- */
.stamps { background: var(--paper-2); overflow: hidden; }
.passport { display: grid; gap: 0; background: #f9f3e6; border-radius: 22px; box-shadow: var(--shadow), inset 0 0 0 1px rgba(0,0,0,.04); overflow: hidden; position: relative; }
.passport-page {
  position: relative; display: grid; gap: 26px; padding: 34px 22px;
  background-color: #faf4e7;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0 14px, rgba(194,90,19,.05) 14px 15px),
    repeating-radial-gradient(circle at 100% 100%, transparent 0 14px, rgba(45,79,134,.05) 14px 15px);
}
.passport-page + .passport-page { border-top: 2px solid rgba(0,0,0,.06); }
.stamp { --c: var(--orange-deep); justify-self: center; color: var(--c); opacity: 0; }
.st-in {
  border: 3px solid currentColor; padding: 16px 20px; text-align: center; position: relative; min-width: 230px; max-width: 300px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0.9 1.12'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0.9 1.12'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
.st-in::before { content: ''; position: absolute; inset: 4px; border: 1.5px solid currentColor; border-radius: inherit; }
.st-n { font-family: var(--f-head); font-weight: 900; font-size: 30px; line-height: 1; }
.st-in b { font-family: var(--f-head); font-weight: 900; font-size: 19px; }
.st-in small { font-size: 12.5px; font-weight: 500; line-height: 1.5; max-width: 230px; }
.st-1 { rotate: -6deg; }
.st-1 .st-in { border-radius: 50%; padding: 34px 26px; aspect-ratio: 1; max-width: 250px; justify-content: center; }
.st-2 { --c: var(--blue); rotate: 4deg; }
.st-2 .st-in { border-radius: 14px; }
.st-3 { --c: var(--teal); rotate: -3deg; }
.st-3 .st-in { border-radius: 999px; padding-inline: 34px; }
.st-4 { --c: var(--red); rotate: 5deg; }
.st-4 .st-in { border-radius: 4px; }
.st-5 { --c: var(--orange-deep); rotate: -5deg; }
.st-5 .st-in { clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%); padding-inline: 40px; border-width: 0; background: transparent; }
.st-5 .st-in::before { inset: 0; border: 0; background: currentColor; clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%, 2.6% 50%, 11.6% 96%, 88.4% 96%, 97.4% 50%, 88.4% 4%, 11.6% 4%, 2.6% 50%, 0 50%); }
.st-6 { --c: var(--blue); rotate: 3deg; }
.st-6 .st-in { border-radius: 50%; padding: 34px 26px; aspect-ratio: 1; max-width: 250px; justify-content: center; border-style: dashed; }
.tags { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 44px; }
.tag { position: relative; background: var(--card); border-radius: 12px 12px 12px 12px; padding: 18px 18px 16px 18px; box-shadow: 0 8px 24px -16px rgba(0,0,0,.3); border-top: 3px solid var(--orange); }
.tag b { display: block; font-family: var(--f-head); font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.tag span { font-size: 14px; color: var(--ink-2); line-height: 1.65; display: block; }

/* ---------- خط المترو ---------- */
.inside { background: var(--paper); }
.metro { position: relative; display: grid; gap: 14px; padding-inline-start: 58px; }
.metro-line { position: absolute; top: 18px; bottom: 30px; inset-inline-start: 21px; width: 6px; border-radius: 6px; background: var(--paper-3); }
.metro-fill { position: absolute; inset: 0 0 auto 0; height: calc(var(--mp, 0) * 100%); border-radius: inherit; background: linear-gradient(180deg, var(--orange) 0 22%, var(--teal) 22% 50%, var(--blue) 50% 80%, var(--ink) 80%); background-size: 100% var(--mh, 1000px); }
.metro-train { position: absolute; top: calc(var(--mp, 0) * 100%); left: 50%; width: 22px; height: 40px; translate: -50% -50%; border-radius: 11px; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.metro-train::before { content: ''; position: absolute; top: 5px; left: 50%; translate: -50% 0; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-2); box-shadow: 0 0 10px var(--orange-2); }
.metro-phase { margin-inline-start: -58px; padding-block: 18px 4px; }
.metro-phase span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 900; font-size: 15px; color: #fff; background: var(--c); padding: 6px 16px; border-radius: 999px; }
.station { position: relative; }
.st-dot {
  position: absolute; inset-inline-start: -58px; top: 16px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--card); border: 5px solid var(--c);
  font-family: var(--f-head); font-weight: 900; font-size: 15px; color: var(--c); z-index: 1; transition: background .3s, color .3s, transform .3s;
}
.station.is-passed .st-dot { background: var(--c); color: #fff; transform: scale(1.05); }
.st-card { background: var(--card); border-radius: var(--r-sm); padding: 16px 18px; box-shadow: 0 10px 28px -18px rgba(0,0,0,.35); border-inline-start: 4px solid var(--c); transition: transform .35s; }
.station:hover .st-card { transform: translateX(-6px); }
.st-card small { float: left; font-family: var(--f-head); font-weight: 600; font-size: 12px; color: var(--ink-3); background: var(--paper); border-radius: 999px; padding: 2px 10px; margin-inline-start: 10px; }
.st-card h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 4px; }
.st-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.metro-end { position: relative; display: flex; gap: 12px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--night); color: #efe6d9; margin-top: 8px; }
.metro-end b { font-family: var(--f-head); color: var(--orange-2); }
.metro-end p { margin: 4px 0 0; font-size: 15px; color: #c9bfb2; }
.st-dot-end { inset-inline-start: -58px; top: 50%; translate: 0 -50%; --c: var(--ink); background: var(--ink); width: 48px; height: 48px; border-color: var(--orange); }
.st-dot-end::after { content: ''; width: 14px; height: 14px; background: var(--orange); border-radius: 3px; }

/* ---------- الاختبار ---------- */
.quiz { background: var(--night); color: #f3ece1; overflow: hidden; }
.quiz::before { content: ''; position: absolute; inset: 0; background: url('../img/map-dots.svg') center/1600px auto no-repeat; opacity: .08; filter: invert(1); pointer-events: none; }
.quiz .eyebrow { color: var(--orange-2); }
.quiz .lead { color: #bdb2a4; }
.quiz-wrap { display: grid; gap: 36px; align-items: center; position: relative; }
.quiz-card { background: var(--night-2); border: 1px solid var(--line-light); border-radius: 24px; padding: 26px 20px; min-height: 420px; position: relative; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: stepIn .5s cubic-bezier(.2,.8,.2,1); }
@keyframes stepIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.q-num { font-family: var(--f-head); font-size: 13px; color: var(--orange-2); margin-bottom: 6px; }
.quiz-step h3 { font-size: clamp(22px, 3.6vw, 30px); font-weight: 800; margin-bottom: 22px; }
.q-opts { display: grid; gap: 10px; }
.q-opt {
  display: flex; align-items: center; gap: 14px; text-align: start; width: 100%;
  background: var(--night-3); border: 2px solid transparent; border-radius: 14px; padding: 14px 16px;
  font-family: var(--f-head); font-weight: 600; font-size: 16px; color: #f3ece1;
  transition: border-color .2s, background .2s, transform .2s;
}
.q-opt:hover { border-color: var(--orange); background: #3e3832; transform: translateX(-4px); }
.q-opt[hidden] { display: none; }
.q-ic { font-size: 22px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.06); flex: none; }
.q-back { background: none; border: 0; color: #a89d8f; font-family: var(--f-head); font-size: 14px; margin-top: 16px; padding: 6px 0; }
.qr-ticket { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 22px 20px; position: relative; }
.qr-ticket::after { content: ''; position: absolute; inset: auto 18px -1px 18px; height: 10px; background: radial-gradient(circle at 8px -2px, var(--night-2) 7px, transparent 7.5px) 0 0/18px 10px repeat-x; }
.qr-top { display: flex; justify-content: space-between; font-family: var(--f-head); font-size: 13px; color: var(--ink-3); border-bottom: 1px dashed var(--line); padding-bottom: 10px; margin-bottom: 14px; }
.qr-code { font-family: ui-monospace, Menlo, monospace; letter-spacing: .08em; }
.qr-code b { color: var(--orange-deep); }
.qr-ticket h3 { font-size: 24px; margin-bottom: 8px; }
.qr-ticket p { color: var(--ink-2); font-size: 15.5px; }
.qr-label { font-family: var(--f-head); font-weight: 700; color: var(--ink) !important; font-size: 14px !important; margin-bottom: 8px; }
.qr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qr-chips span { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 14px; font-family: var(--f-head); font-weight: 600; font-size: 13.5px; animation: chipIn .4s backwards; }
.qr-chips span b { color: var(--orange); font-weight: 900; }
@keyframes chipIn { from { opacity: 0; transform: translateY(8px) scale(.9); } }
.qr-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.qr-ctas .btn-ghost { --fg: #f3ece1; border-color: #6d655b; }

/* ---------- قلّب في الكتاب ---------- */
.peek { background: var(--paper-2); overflow: hidden; }
.flipbook { --pw: min(44vw, 330px); position: relative; width: calc(var(--pw) * 2); aspect-ratio: 2 * 798 / 1417; aspect-ratio: 1596/1417; margin-inline: auto; perspective: 2400px; }
.flipbook::before { content: ''; position: absolute; inset: 4% -2% -5%; background: radial-gradient(ellipse at center, rgba(60,30,0,.35), transparent 70%); filter: blur(18px); z-index: -1; }
.fb-base, .leaf { position: absolute; top: 0; width: 50%; height: 100%; }
.fb-base { right: 0; }
.fb-base img, .leaf img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leaf { left: 0; transform-origin: right center; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.45,.05,.25,1); cursor: pointer; }
.leaf.is-flipped { transform: rotateY(-180deg); }
.leaf-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: #fff; }
.leaf-face::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.leaf-front { border-radius: 8px 0 0 8px; }
.leaf-front::after { background: linear-gradient(270deg, rgba(0,0,0,.18), transparent 8%); }
.leaf-back { transform: rotateY(180deg); border-radius: 0 8px 8px 0; }
.leaf-back::after { background: linear-gradient(90deg, rgba(0,0,0,.18), transparent 8%); }
.fb-base { border-radius: 0 8px 8px 0; overflow: hidden; box-shadow: 0 2px 0 #ddd, 0 4px 0 #eee; }
.fb-base::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.18), transparent 8%); pointer-events: none; }
.fb-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.fb-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; font-size: 22px; font-weight: 700; transition: background .2s, color .2s; }
.fb-btn:hover { background: var(--ink); color: #fff; }
.fb-btn:disabled { opacity: .3; pointer-events: none; }
.fb-count { font-family: var(--f-head); font-weight: 700; min-width: 64px; text-align: center; direction: ltr; }

/* ---------- عدة البداية ---------- */
.kit { background: var(--orange); color: #fff; overflow: hidden; }
.kit::before { content: ''; position: absolute; inset: 0; background: url('../img/map-dots.svg') 10% 50%/1300px auto no-repeat; opacity: .14; filter: brightness(10); pointer-events: none; }
.kit .eyebrow { color: #fff; }
.kit .lead { color: rgba(255,255,255,.9); }
.kit-wrap { display: grid; gap: 30px; align-items: center; position: relative; }
.kit-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.kit-list li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; padding: 14px 16px; font-size: 15.5px; line-height: 1.7; }
.kit-list b { font-family: var(--f-head); font-weight: 800; }
.kit-stage { position: relative; height: 420px; max-width: 520px; width: 100%; margin-inline: auto; }
.env-back, .env-front { position: absolute; inset-inline: 6%; bottom: 0; height: 52%; border-radius: 14px; }
.env-back { background: #7d3a0b; }
.env-back::before { content: ''; position: absolute; inset: -40% 0 auto 0; height: 60%; background: #6a3109; clip-path: polygon(0 100%, 50% 0, 100% 100%); transform-origin: bottom; }
.env-front { background: linear-gradient(170deg, #2b2622, #1c1a17); z-index: 5; clip-path: polygon(0 0, 50% 38%, 100% 0, 100% 100%, 0 100%); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 24px; }
.env-front span { font-family: var(--f-head); font-weight: 900; font-size: 24px; color: var(--orange-2); }
.kit-item { position: absolute; z-index: 3; left: 50%; bottom: 14%; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.55); padding: 12px; }
.ki-sheet { width: 74%; translate: -50% 0; }
.ki-cv { width: 40%; aspect-ratio: 3/4; translate: -50% 0; }
.ki-letter { width: 42%; aspect-ratio: 3/4; translate: -50% 0; }
.mock-bar { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; font-family: var(--f-head); font-size: 12px; font-weight: 700; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e46a5a; }
.mock-bar i:nth-child(2) { background: #e9b949; }
.mock-bar i:nth-child(3) { background: #5ab36b; }
.mock-bar span { margin-inline-start: auto; background: #1f7a45; color: #fff; padding: 2px 10px; border-radius: 6px; }
.sheet { display: grid; font-size: 12px; border: 1px solid #e6e1d8; border-radius: 8px; overflow: hidden; }
.sh-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center; gap: 6px; padding: 7px 10px; border-top: 1px solid #eee8de; }
.sh-head { border: 0; background: #f4efe6; font-family: var(--f-head); font-weight: 700; color: var(--ink-2); }
.pill { justify-self: start; padding: 1px 9px; border-radius: 999px; font-family: var(--f-head); font-weight: 700; font-size: 11px; }
.p-ok { background: #d9f2e1; color: #1f7a45; }
.p-wait { background: #fdeccf; color: #a5650c; }
.p-todo { background: #e5ecf8; color: #2d4f86; }
.cv-head { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.cv-av { width: 30px; height: 30px; border-radius: 50%; background: var(--orange-soft); flex: none; }
.cv-head b, .cv-head span { display: block; height: 7px; border-radius: 4px; background: var(--ink); width: 70px; }
.cv-head span { width: 46px; background: var(--paper-3); margin-top: 5px; }
.cv-lines { display: grid; gap: 6px; }
.cv-lines i { display: block; height: 5px; border-radius: 3px; background: #e9e2d6; }
.cv-lines em { display: block; height: 7px; width: 40%; border-radius: 3px; background: var(--orange); margin-top: 6px; }
.ki-label { position: absolute; bottom: 10px; inset-inline-start: 10px; font-family: var(--f-head); font-size: 12px; font-weight: 800; background: var(--ink); color: #fff; padding: 2px 10px; border-radius: 6px; }
.kl-title { font-family: Georgia, serif; font-weight: 700; font-size: 13px; margin: 0 0 8px; }
.kl-note { position: absolute; bottom: 12px; inset-inline: 10px; background: #fff3b8; border-radius: 4px; padding: 6px 8px; font-family: var(--f-head); font-weight: 700; font-size: 12px; rotate: -3deg; box-shadow: 0 4px 8px rgba(0,0,0,.12); }

/* ---------- الرسايل ---------- */
.dms { background: var(--paper); }
.dms-wrap { display: grid; gap: 40px; align-items: center; }
.dms-copy .btn { margin-top: 20px; }
.phone { width: min(100%, 380px); margin-inline: auto; background: #0e0d0c; border-radius: 44px; padding: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px; background: #fff; border-radius: 34px 34px 0 0; border-bottom: 1px solid #eee; }
.phone-top img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; outline: 2px solid var(--orange); outline-offset: 2px; }
.phone-top b { display: block; font-size: 14px; font-family: var(--f-head); }
.phone-top small { font-size: 11.5px; color: #3aa35c; }
.chat { background: #fff; border-radius: 0 0 34px 34px; padding: 16px 14px 22px; height: 520px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; scrollbar-width: none; }
.chat::-webkit-scrollbar { display: none; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 20px; font-size: 14.5px; line-height: 1.65; }
.msg.in { align-self: flex-start; background: #efefef; color: #111; border-end-start-radius: 6px; }
.msg.out { align-self: flex-end; background: linear-gradient(135deg, #e8762b, #d4561a); color: #fff; border-end-end-radius: 6px; }
.msg.out b { font-weight: 800; }
.msg.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #999; animation: typing 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .5; } }
.js .chat .msg:not(.is-shown) { display: none; }
.testimonials { margin-top: 90px; }
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.t-card { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); }
.t-card p { font-size: 15.5px; }
.t-card footer { font-family: var(--f-head); font-weight: 700; font-size: 14px; }
.t-card footer span { color: var(--ink-3); font-weight: 500; }

/* ---------- مين عمير ---------- */
.about { background: var(--paper-2); overflow: hidden; padding-bottom: 0; }
.about-grid { display: grid; gap: 50px; align-items: center; }
.about-photo { position: relative; max-width: 420px; width: 100%; margin-inline: auto; padding: 0 40px 60px 0; }
.about-pol { rotate: -4deg; }
.about-pol img { aspect-ratio: 4/5; }
.about-pol-2 { position: absolute; width: 46%; bottom: 0; right: 0; rotate: 7deg; }
.about-pol-2 img { aspect-ratio: 1; }
.about-roles { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; letter-spacing: .18em; color: var(--orange-deep); margin: 10px 0 18px; text-align: right; }
.about-copy > p { color: var(--ink-2); }
.about-copy > p b { color: var(--ink); }
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; margin: 26px 0; }
.about-stats > div { background: var(--card); border-radius: 14px; padding: 14px 10px; text-align: center; }
.about-stats b { display: block; font-family: var(--f-head); font-size: 30px; font-weight: 900; color: var(--orange); line-height: 1.1; }
.about-stats span { font-size: 12.5px; color: var(--ink-2); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--ink); transition: background .2s, color .2s; }
.socials a:hover { background: var(--ink); color: #fff; }
.signature { font-family: var(--f-hand); font-size: clamp(40px, 7vw, 60px); color: var(--orange-deep); margin: 26px 0 0; line-height: 1.3; rotate: -3deg; transform-origin: right; display: inline-block; }
.js .signature { clip-path: inset(0 0 0 100%); transition: clip-path 1.6s cubic-bezier(.6,0,.2,1); }
.js .signature.is-in { clip-path: inset(0 0 0 0); }
.reel { margin-top: 80px; padding-block: 30px 90px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.reel-track { display: flex; gap: 26px; width: max-content; animation: reel 60s linear infinite; direction: ltr; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel .polaroid { width: 190px; flex: none; }
.reel .polaroid:nth-child(odd) { rotate: -3deg; }
.reel .polaroid:nth-child(even) { rotate: 3deg; translate: 0 16px; }
.reel .polaroid img { aspect-ratio: 1; }
@keyframes reel { to { transform: translateX(-50%); } }

/* ---------- الفصل المجاني ---------- */
.sample { background: var(--night); color: #f3ece1; overflow: hidden; }
.sample .eyebrow { color: var(--orange-2); }
.sample .lead { color: #bdb2a4; }
.sample-grid { display: grid; gap: 40px; align-items: center; }
.checks-light { margin-top: 22px; }
.checks-light li { color: #e7ddd0; }
.sample-pages { display: none; position: relative; height: 230px; margin-top: 30px; }
.sample-pages img { position: absolute; width: 150px; border-radius: 6px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.7); }
.sample-pages img:first-child { right: 0; rotate: 6deg; z-index: 2; }
.sample-pages img:last-child { right: 120px; rotate: -5deg; top: 20px; }
.ticket-form { position: relative; background: var(--paper); color: var(--ink); border-radius: 22px; padding: 26px 22px 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.tf-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-head); font-weight: 800; font-size: 15px; border-bottom: 2px dashed var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.tf-free { background: var(--orange); color: #fff; padding: 2px 12px; border-radius: 999px; font-size: 13px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-family: var(--f-head); font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px; border: 1.5px solid #dcd2c2; background: var(--card); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input[dir="ltr"] { text-align: left; }
.field input::placeholder { color: #b0a698; }
.field input:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232,118,43,.18); }
.field input.is-bad { border-color: var(--red); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.6; margin: 4px 0 16px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); flex: none; }
.form-err { color: var(--red); font-size: 14px; font-weight: 500; margin: -6px 0 12px; }
.tf-foot { font-size: 12.5px; color: var(--ink-3); text-align: center; margin: 12px 0 0; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.ticket-form button[disabled] { opacity: .7; pointer-events: none; }

/* ---------- السعر ---------- */
.pricing { background: var(--paper); }
.region { display: flex; justify-content: center; gap: 6px; margin: -18px auto 30px; background: var(--paper-2); width: max-content; padding: 5px; border-radius: 999px; }
.rg-btn { border: 0; background: transparent; font-family: var(--f-head); font-weight: 700; font-size: 14px; padding: 8px 18px; border-radius: 999px; color: var(--ink-2); transition: background .25s, color .25s; }
.rg-btn[aria-checked="true"] { background: var(--ink); color: #fff; }
.bp { position: relative; display: grid; max-width: 900px; margin-inline: auto; background: var(--card); border-radius: 26px; box-shadow: 0 40px 90px -40px rgba(60,30,0,.5); overflow: hidden; }
.bp::before, .bp::after { content: ''; position: absolute; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); z-index: 2; }
.bp-main { padding: 26px 22px; }
.bp-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--ink-3); padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.bp-class { color: var(--orange-deep); }
.bp-route { display: flex; align-items: center; gap: 14px; margin: 22px 0; }
.bp-route > div:not(.bp-path) { display: flex; flex-direction: column; line-height: 1.2; }
.bp-route small { font-size: 12px; color: var(--ink-3); font-family: var(--f-head); }
.bp-route b { font-family: var(--f-head); font-weight: 900; font-size: clamp(26px, 6vw, 40px); }
.bp-route span { font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: .14em; color: var(--ink-3); margin-top: 4px; }
.bp-path { flex: 1; position: relative; height: 2px; background: repeating-linear-gradient(270deg, var(--ink-3) 0 6px, transparent 6px 12px); }
.bp-path svg { position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; translate: -50% -50%; fill: var(--orange); background: var(--card); padding: 2px; }
.bp-list { gap: 10px; }
.bp-stub { padding: 26px 22px; background: var(--orange-soft); border-top: 2px dashed rgba(194,90,19,.3); display: flex; flex-direction: column; gap: 16px; }
.bp::before { top: auto; bottom: var(--stub-h, 300px); left: -17px; translate: 0 50%; }
.bp::after { top: auto; bottom: var(--stub-h, 300px); right: -17px; translate: 0 50%; }
.bp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.bp-amount { font-family: var(--f-head); font-weight: 900; font-size: clamp(46px, 10vw, 62px); line-height: 1; color: var(--ink); }
.bp-amount small { font-size: .45em; font-weight: 700; margin-inline-start: 6px; }
.bp-compare { font-family: var(--f-head); font-size: 18px; color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; order: 2; }
.bp-off { order: 3; font-family: var(--f-head); font-weight: 800; font-size: 13px; color: #fff; background: var(--red); padding: 3px 10px; border-radius: 999px; }
.bp-off:empty, .bp-compare:empty { display: none; }
.bp-pre p { font-family: var(--f-head); font-size: 15px; color: var(--ink-2); line-height: 1.5; margin-bottom: 12px; }
.bp-pre b { font-size: 21px; color: var(--ink); }
.bp-secure { font-size: 13px; color: var(--ink-2); text-align: center; margin: 10px 0 0; }
.bp-stub .barcode { height: 40px; margin-top: auto; }
.bp-legal { text-align: center; font-size: 13.5px; color: var(--ink-3); margin-top: 22px; }

/* ---------- الأسئلة ---------- */
.faq { background: var(--paper-2); }
.faq-wrap { display: grid; gap: 20px; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 14px; box-shadow: 0 6px 20px -16px rgba(0,0,0,.4); transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 16px 34px -20px rgba(0,0,0,.4); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-family: var(--f-head); font-weight: 700; font-size: 16.5px; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c25a13' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .3s, background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--orange-soft); }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); }
.faq details > div p { margin: 0; }
.faq a { color: var(--orange-deep); }

/* ---------- الختام ---------- */
.final { background: var(--night); color: #f3ece1; padding: 110px 0 100px; overflow: hidden; text-align: center; }
.final-kicker { font-family: var(--f-head); font-size: clamp(17px, 2.6vw, 22px); color: #bdb2a4; max-width: 640px; margin: 0 auto 10px; }
.final-sig { font-family: var(--f-hand); font-size: clamp(64px, 15vw, 150px); color: var(--orange); line-height: 1.2; margin: 0 0 30px; }
.track { position: absolute; top: 40px; inset-inline: 0; height: 30px; border-bottom: 3px solid #3a352f; }
.track::after { content: ''; position: absolute; inset: auto 0 -9px 0; height: 6px; background: repeating-linear-gradient(90deg, #3a352f 0 4px, transparent 4px 22px); }
/* القطر ماشي ناحية الشمال، فالجرار (أول عربية) لازم يبقى على الشمال */
.train { position: absolute; bottom: 2px; right: -260px; display: flex; gap: 4px; animation: train 9s linear infinite; direction: ltr; }
.train i { width: 56px; height: 24px; background: var(--orange); border-radius: 6px 6px 3px 3px; position: relative; }
.train i::before { content: ''; position: absolute; top: 5px; inset-inline: 7px; height: 7px; background: repeating-linear-gradient(90deg, #fff3e3 0 9px, transparent 9px 14px); border-radius: 2px; opacity: .8; }
.train i:first-child { border-radius: 14px 6px 3px 3px; background: var(--orange-2); }
@keyframes train { to { right: 110%; } }

/* ---------- الفوتر ---------- */
.footer { background: #141210; color: #a89d8f; padding: 50px 0 calc(30px + env(safe-area-inset-bottom)); font-size: 14px; }
.footer-in { display: grid; gap: 24px; }
.f-brand { display: flex; gap: 12px; align-items: center; }
.f-brand b { display: block; color: #f3ece1; font-family: var(--f-head); }
.f-brand span { font-size: 13px; }
.f-policy p { margin-bottom: 8px; line-height: 1.8; }
.f-policy b { color: #e7ddd0; }
.f-policy a, .f-links a { color: #e7ddd0; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; font-size: 13px; }

/* ---------- زرار الموبايل الثابت ---------- */
.sticky-cta {
  position: fixed; z-index: 40; inset: auto 10px calc(10px + env(safe-area-inset-bottom)) 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(28,26,23,.94); color: #fff; border-radius: 18px; padding: 10px 10px 10px 10px; padding-inline-start: 18px;
  backdrop-filter: blur(10px); box-shadow: 0 20px 40px -12px rgba(0,0,0,.5);
  transform: translateY(140%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.sticky-cta.is-on { transform: none; }
.sc-info { display: flex; flex-direction: column; line-height: 1.35; }
.sc-info b { font-family: var(--f-head); font-size: 15px; }
.sc-info span { font-size: 12.5px; color: #bdb2a4; }

/* ---------- عارض الصور ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15,13,11,.92); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; max-width: 100%; width: auto; border-radius: 8px; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.lb-close { position: absolute; top: 14px; left: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; font-size: 28px; line-height: 1; }

.lb-pages { display: flex; gap: 12px; max-width: 100%; max-height: 92vh; overflow: auto; direction: rtl; }
.lb-pages img { max-height: 90vh; width: auto; max-width: min(100%, 520px); border-radius: 8px; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.fb-zoom { border: 0; background: none; font-family: var(--f-head); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; color: var(--ink-2); }
.fb-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; text-align: center; background: var(--night); color: #f3ece1; }
.fb-end p { font-family: var(--f-head); font-size: clamp(14px, 2.6vw, 22px); margin: 0; color: #bdb2a4; }
.fb-end b { font-family: var(--f-head); font-size: clamp(15px, 3vw, 26px); font-weight: 900; line-height: 1.4; margin-bottom: 10px; }
.fb-end .btn { font-size: clamp(11px, 1.8vw, 15px); padding: 10px 14px; white-space: normal; }

/* ---------- ظهور العناصر ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* الأختام */
.stamp.is-stamped { animation: stampIn .5s cubic-bezier(.3,1.5,.5,1) forwards; }
@keyframes stampIn {
  0% { opacity: 0; transform: scale(2.1); filter: blur(2px); }
  60% { opacity: .95; transform: scale(.94); filter: none; }
  100% { opacity: .92; transform: scale(1); }
}
.no-js .stamp, body.no-motion .stamp { opacity: .92; }

/* الظرف */
.kit-item { transition: translate 1s cubic-bezier(.2,.9,.25,1.15), rotate 1s cubic-bezier(.2,.9,.25,1.15); }
.env-back::before { transition: transform .6s ease; }
.kit-stage.is-open .env-back::before { transform: scaleY(-1); }
.kit-stage.is-open .ki-sheet { translate: -50% -118%; rotate: -2deg; transition-delay: .15s; }
.kit-stage.is-open .ki-cv { translate: -132% -52%; rotate: -11deg; transition-delay: .35s; }
.kit-stage.is-open .ki-letter { translate: 34% -48%; rotate: 10deg; transition-delay: .5s; }

/* الدوشة: إجابة في النص */
.noise-answer { inset: calc(var(--nav-h) + 20px) var(--gutter) 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
body.noise-static .noise-answer, body.no-motion .noise-answer { position: relative; inset: auto; opacity: 1; margin-top: 30px; }
body.no-motion .nz-stamp, body.noise-static .nz-stamp { opacity: 1; scale: 1; }
body.no-motion .noise-field, body.noise-static .noise-field { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); min-height: 0; }
body.no-motion .nz, body.noise-static .nz { position: relative; left: auto; top: auto; width: auto; }

/* الرحلة من غير حركة */
body.no-motion .jcards { display: grid; gap: 16px; min-height: 0; }
body.no-motion .jcard { position: relative; inset: auto; }
body.no-motion .jw { opacity: 1; }
body.no-motion .jsteps { display: none; }

/* عنوان الواجهة */
.ht-2 { display: inline-block; }
.ht-route { inset-inline-start: calc(100% + 6px); top: 28%; width: clamp(140px, 18vw, 230px); }

/* ==========================================================
   شاشات أكبر
   ========================================================== */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .ba-grid { grid-template-columns: repeat(3, 1fr); }
  .ba { aspect-ratio: 3/4; }
  .passport { grid-template-columns: 1fr 1fr; }
  .passport-page + .passport-page { border-top: 0; border-inline-start: 2px solid rgba(0,0,0,.06); }
  .passport::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 40px; translate: -50% 0; background: linear-gradient(90deg, transparent, rgba(0,0,0,.07), transparent); pointer-events: none; }
  .jphotos { display: flex; }
  .jcards { min-height: 440px; }
  .sample-pages { display: block; }
  .pass { grid-template-columns: 1fr auto; }
  .pass-stub { grid-template-columns: 1fr; border-top: 0; border-inline-start: 2px dashed var(--line); width: 190px; align-content: start; }
  .pass-yes::before, .pass-yes::after { bottom: auto; left: auto; right: auto; inset-inline-end: 176px; }
  .pass-yes::before { top: -14px; }
  .pass-yes::after { bottom: -14px; top: auto; }
}

@media (min-width: 900px) {
  :root { --nav-h: 72px; }
  body { font-size: 17px; }
  .nav-links { display: flex; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 30px; }
  .hero-visual { height: 620px; }
  .ht-route { display: block; }
  .noise-field { min-height: 520px; }
  .nz { width: 300px; }
  .journey-stage { grid-template-columns: 1.25fr 1fr; gap: 40px; }
  .jmap { order: 2; }
  .jcards { min-height: 480px; }
  .jcard { padding: 26px 26px 22px; }
  .jcard p { font-size: 16px; }
  .passes { grid-template-columns: 1.35fr 1fr; align-items: stretch; }
  .metro { padding-inline-start: 0; grid-template-columns: 1fr 1fr; column-gap: 120px; row-gap: 22px; }
  .metro-line { inset-inline-start: 50%; translate: 50% 0; }
  .metro-phase { grid-column: 1 / -1; margin: 0; text-align: center; padding-block: 26px 4px; position: relative; z-index: 1; }
  .station:nth-of-type(odd) { grid-column: 1; }
  .station:nth-of-type(even) { grid-column: 2; margin-top: 60px; }
  .st-dot { inset-inline-start: auto; }
  .station:nth-of-type(odd) .st-dot { inset-inline-end: -84px; }
  .station:nth-of-type(even) .st-dot { inset-inline-start: -84px; }
  .station:nth-of-type(odd) .st-card { border-inline-start: 0; border-inline-end: 4px solid var(--c); }
  .metro-end { grid-column: 1 / -1; max-width: 640px; margin: 40px auto 0; }
  .st-dot-end { display: none; }
  .quiz-wrap { grid-template-columns: .9fr 1.1fr; gap: 60px; }
  .quiz-card { padding: 34px 32px; }
  .kit-wrap { grid-template-columns: 1fr 1fr; gap: 60px; }
  .kit-stage { height: 480px; }
  .dms-wrap { grid-template-columns: 1fr 1fr; gap: 60px; }
  .about-grid { grid-template-columns: .85fr 1.15fr; gap: 70px; }
  .sample-grid { grid-template-columns: 1.1fr .9fr; gap: 70px; }
  .ticket-form { padding: 32px 30px 28px; }
  .bp { grid-template-columns: 1fr 320px; }
  .bp-main { padding: 34px 34px 30px; }
  .bp-stub { border-top: 0; border-inline-start: 2px dashed rgba(194,90,19,.3); padding: 34px 28px; }
  .bp::before, .bp::after { bottom: auto; left: auto; right: auto; inset-inline-end: 303px; translate: 0 0; }
  .bp::before { top: -17px; }
  .bp::after { bottom: -17px; top: auto; }
  .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
  .faq .sec-head { position: sticky; top: calc(var(--nav-h) + 30px); }
  .footer-in { grid-template-columns: auto 1fr; column-gap: 60px; }
  .f-bottom { grid-column: 1 / -1; }
  .sticky-cta { display: none; }
}

@media (min-width: 1200px) {
  .flipbook { --pw: 360px; }
}

/* موبايل صغير */
@media (max-width: 380px) {
  .flap { max-width: 38px; }
  .br-city { font-size: 17px; }
  .hero-title { font-size: 54px; }
}

/* لو المستخدم مقلل الحركة */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reel-track { animation: none; }
  .js [data-reveal], .stamp, .noise-answer { opacity: 1 !important; transform: none !important; }
  .js .signature { clip-path: none; }
}

/* تصليحات بعد المعاينة */
.flap-cells, .hv-tag { direction: ltr; }
.ht-1 { white-space: nowrap; }
@media (min-width: 900px) {
  .hero-title { font-size: clamp(72px, 8.4vw, 118px); }
  .hero { padding-top: calc(var(--nav-h) + 22px); }
  .chip { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 20px; }
  .hero-ctas { margin-top: 20px; }
}
.nz-stamp { backdrop-filter: none; background: rgba(28,26,23,.55); }
.nz-bubble .nz-stamp, .nz-search .nz-stamp { background: rgba(255,255,255,.75); }
@media (min-width: 900px) {
  .journey-stage { grid-template-columns: .9fr 1.25fr; gap: 30px; }
  .jmap svg { margin-block: -20px; }
}
.jw { opacity: 1; }
.jw-in { opacity: 0; }
body.no-motion .jw-in { opacity: 1; }
.jphotos-3 .polaroid { max-width: 150px; }
.jphotos-3 .polaroid:nth-child(3) { rotate: -2deg; }
.jcard[data-stop="4"] .jnext { margin-top: 14px; }
.stamp.is-stamped { animation-name: stampIn; }
@keyframes stampIn {
  0% { opacity: 0; transform: scale(2.1); filter: blur(2px); }
  60% { opacity: 1; transform: scale(.94); filter: none; }
  100% { opacity: 1; transform: scale(1); }
}
.about-stats > div > span { font-size: 12.5px; color: var(--ink-2); }
.about-stats b span { font: inherit; color: inherit; }
.reel { direction: ltr; }
.ki-sheet { z-index: 4; }
.kit-stage.is-open .ki-sheet { translate: -50% -100%; }
.kit-stage.is-open .ki-cv { translate: -128% -36%; }
.kit-stage.is-open .ki-letter { translate: 28% -32%; }
@media (min-width: 900px) {
  .metro { row-gap: 34px; }
  .station:nth-of-type(even) { margin-top: 80px; }
}
@media (max-width: 899px) {
  .journey-pin { padding-top: calc(var(--nav-h) + 16px); padding-bottom: 14px; }
  .journey-head .eyebrow { margin-bottom: 6px; }
  .journey-head h2 { font-size: 21px; }
  .journey-stage { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 6px; }
  .jmap svg { max-height: 33svh; }
  .jmap-note { display: none; }
  .jcards { flex: 1; min-height: 290px; }
  .jcard { padding: 14px 16px; }
  .jcard h3 { font-size: 19px; margin-bottom: 6px; }
  .jcard p { font-size: 14px; line-height: 1.7; margin-bottom: 6px; }
  .jsteps { margin-top: 8px; }
  .metro-phase { margin-inline-start: -46px; }
  .kit-stage { height: 400px; margin-top: 10px; }
  .kit-stage.is-open .ki-sheet { translate: -50% -78%; }
  .kit-stage.is-open .ki-cv { translate: -118% -30%; }
  .kit-stage.is-open .ki-letter { translate: 18% -26%; }
  .chip-opt { display: none; }
}

/* ==========================================================
   صفحة الشكر + الصفحات القانونية
   ========================================================== */
.th-nav-note { font-family: var(--f-head); font-size: 14px; color: var(--ink-2); }
.th-nav-note b { color: var(--orange); }
.th-hero { padding: calc(var(--nav-h) + 50px) 0 70px; }
.th-grid { display: grid; gap: 40px; align-items: center; }
.th-ok { color: var(--teal); background: #e3f2ec; border-color: transparent; }
.th-title { font-size: clamp(34px, 6.4vw, 62px); font-weight: 900; line-height: 1.25; }
.th-pass { display: grid; background: var(--card); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; max-width: 460px; width: 100%; margin-inline: auto; rotate: -2deg; animation: passIn 1s cubic-bezier(.2,.9,.3,1.2) both .2s; }
@keyframes passIn { from { opacity: 0; transform: translateY(40px) rotate(6deg) scale(.9); } }
.th-pass-main { padding: 22px; }
.th-row small, .th-route small, .th-meta small { display: block; font-size: 11.5px; color: var(--ink-3); font-family: var(--f-head); }
.th-row b { font-family: var(--f-head); font-size: 24px; font-weight: 900; }
.th-route { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.th-route b { font-family: var(--f-head); font-size: 22px; font-weight: 800; }
.th-route .br-line { background: repeating-linear-gradient(270deg, var(--ink-3) 0 6px, transparent 6px 11px); }
.th-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px dashed var(--line); padding-top: 14px; }
.th-meta b { font-family: var(--f-head); font-size: 15px; }
.th-status { color: var(--teal); }
.th-pass-stub { background: var(--orange-soft); padding: 16px 22px; border-top: 2px dashed rgba(194,90,19,.3); }
.th-reader { background: var(--night); color: #f3ece1; padding: 90px 0; }
.th-reader .eyebrow { color: var(--orange-2); }
.th-reader .lead { color: #bdb2a4; }
.reader { display: grid; gap: 18px; max-width: 560px; margin-inline: auto; }
.reader img { width: 100%; border-radius: 10px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.8); background: #2a2622; }
.th-final { padding-top: 90px; }
.th-q { font-size: clamp(30px, 5vw, 46px); font-weight: 900; margin-bottom: 14px; }
.th-ghost { --fg: #f3ece1; border-color: #6d655b; }
.th-final .final-sig { font-size: clamp(48px, 9vw, 90px); margin: 40px 0 0; }
.page-thanks .footer { padding-top: 24px; }
@media (min-width: 900px) {
  .th-grid { grid-template-columns: 1.2fr .8fr; gap: 60px; }
  .reader { grid-template-columns: 1fr 1fr; max-width: 980px; }
}

.legal { padding: calc(var(--nav-h) + 50px) 0 90px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 900; margin-bottom: 8px; }
.legal h2 { font-size: 21px; font-weight: 800; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-inline-start: 22px; }
.legal .updated { color: var(--ink-3); font-size: 14px; }
.legal a { color: var(--orange-deep); }
