/* =====================================================================
   بو مطر · TEMAI — تصميم الموقع العام (الإصدار 4)
   "مطر الليل": أسود جرافيتي + ذهبي منصهر + خطوط مطر مضيئة.
   مصمَّم للجوال أولًا، ويعمل بالعربية (RTL) والإنجليزية (LTR) من نفس الملف
   باستخدام الخصائص المنطقية (inline-start / inline-end).
   ===================================================================== */

/* ---------- 1. المتغيّرات | tokens ---------- */
:root {
  --bg: #07090d;
  --bg-2: #0b0e13;
  --surface: #10141b;
  --surface-2: #161b24;
  --surface-3: #1d2430;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f3f5f8;
  --muted: #a3acba;
  --faint: #6b7483;

  --gold: #f9b93a;
  --gold-2: #ffd98a;
  --amber: #ec7a1c;
  --gold-ink: #1a1204;
  --gold-soft: rgba(249, 185, 58, 0.12);
  --grad-gold: linear-gradient(135deg, #ffe7a6 0%, #f9b93a 45%, #ec7a1c 100%);

  --byd: #f9b93a;
  --rox: #ff8a4c;
  --sim: #2bd99f;
  --acc: #a78bfa;

  --ok: #2bd99f;
  --danger: #ff6b6b;
  --info: #5cc8ff;
  --wa: #25d366;
  --snap: #fffc00;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --font-d: "Changa", "Readex Pro", "Segoe UI", Tahoma, system-ui, sans-serif;
  --font-b: "Readex Pro", "Changa", "Segoe UI", Tahoma, system-ui, sans-serif;

  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.75);
  --glow: 0 10px 36px -10px rgba(249, 185, 58, 0.55);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --nav-h: 60px;
  --dock-h: 66px;
  --pad: 18px;
  --intro: 2.25s;              /* مدة المقدمة — عناصر الواجهة تنتظرها قبل الظهور */
  --c: var(--gold);            /* لون الخدمة الحالي — يتغيّر حسب المسار */
  --c-rgb: 249, 185, 58;       /* نفس اللون بصيغة RGB للشفافية (يعمل على كل المتصفحات) */
}
html.no-intro, html.intro-skip { --intro: 0s; }

/* ---------- 2. أساسيات | base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 14px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}
html[lang="en"] body { line-height: 1.6; }
html.i18n-pending body { visibility: hidden; animation: i18nShow 0s 1.5s forwards; }
@keyframes i18nShow { to { visibility: visible; } }

h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 800; line-height: 1.2; margin: 0; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input, textarea, select { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
bdi { unicode-bidi: isolate; }
[hidden] { display: none !important; }
::selection { background: rgba(249, 185, 58, 0.35); color: #fff; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { stroke: none; fill: currentColor; }
[dir="rtl"] .ic--dir { transform: scaleX(-1); }
[dir="ltr"] .ic--back { transform: scaleX(-1); }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--pad); }
.container--narrow { max-width: 820px; }

.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 2000; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 12px; font-weight: 600; transition: top 0.2s; }
.skip:focus { top: 12px; }

.gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; display: inline-block; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--ok); opacity: 0; animation: pulse 2.2s var(--ease) infinite; }
.pulse.is-off { background: var(--faint); }
.pulse.is-off::after { display: none; }
@keyframes pulse { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- 3. الأزرار | buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: 14px;
  font-family: var(--font-d); font-weight: 700; font-size: 16px; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent; transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s, opacity 0.2s;
  user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn[disabled], .btn.is-disabled { opacity: 0.45; pointer-events: none; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 17px; border-radius: 16px; }
.btn--gold { background: var(--grad-gold); color: var(--gold-ink); box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--text); }
.btn--wa { background: var(--wa); color: #04210f; }
.btn--snap { background: var(--snap); color: #111; }
@media (hover: hover) {
  .btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(249, 185, 58, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
  .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
  .btn--wa:hover, .btn--snap:hover { transform: translateY(-2px); filter: brightness(1.06); }
}

/* ---------- 4. المقدمة | intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 60%, #121824 0%, #07090d 55%, #040507 100%);
  animation: introOut 0.7s var(--ease) 2.1s forwards;
}
html.no-intro .intro { display: none; }
.intro.is-out { animation: introOut 0.45s var(--ease) forwards; }
@keyframes introOut {
  0% { opacity: 1; transform: none; visibility: visible; }
  99% { opacity: 0; transform: translateY(-4%) scale(1.04); visibility: visible; }
  100% { opacity: 0; transform: translateY(-4%) scale(1.04); visibility: hidden; pointer-events: none; }
}
.intro__rain { position: absolute; inset: 0; }
.intro__rain i, .rain i {
  position: absolute; top: -20%; width: 1.5px; height: var(--h, 90px); border-radius: 2px;
  background: linear-gradient(to bottom, transparent, var(--k, rgba(249, 185, 58, 0.85)));
  opacity: var(--o, 0.5); transform: translate3d(0, -30vh, 0) rotate(8deg);
  animation: fall var(--t, 1.4s) linear var(--dl, 0s) infinite;
  will-change: transform;
}
@keyframes fall { to { transform: translate3d(-12vh, 150vh, 0) rotate(8deg); } }
.intro__stage { position: relative; display: grid; justify-items: center; gap: 14px; text-align: center; padding: 24px; }
.intro__mark { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.intro__drop { width: 132px; height: 132px; filter: drop-shadow(0 12px 34px rgba(249, 185, 58, 0.55)); animation: introDrop 0.95s var(--ease) both; }
@keyframes introDrop {
  0% { transform: translateY(-70vh) scale(0.5, 1.5); opacity: 0; }
  55% { transform: translateY(0) scale(1.12, 0.86); opacity: 1; }
  75% { transform: translateY(-10px) scale(0.96, 1.05); }
  100% { transform: none; opacity: 1; }
}
.intro__ring { position: absolute; inset: 14px; border-radius: 50%; border: 1.5px solid rgba(249, 185, 58, 0.7); opacity: 0; animation: introRing 1.3s var(--ease) 0.5s both; }
.intro__ring--2 { animation-delay: 0.72s; }
@keyframes introRing { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(3.4); opacity: 0; } }
.intro__word { overflow: hidden; padding: 2px 6px; }
.intro__word span { display: block; font-family: var(--font-d); font-weight: 800; font-size: clamp(44px, 12vw, 72px); line-height: 1.25; animation: introUp 0.7s var(--ease) 0.85s both; }
@keyframes introUp { from { transform: translateY(110%); } to { transform: none; } }
.intro__shop { display: flex; align-items: center; gap: 12px; font-family: var(--font-d); font-weight: 600; font-size: 15px; letter-spacing: 0.5em; padding-inline-start: 0.5em; color: var(--gold-2); direction: ltr; animation: introFade 0.6s ease 1.15s both; }
.intro__shop i { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.intro__shop i:last-child { transform: scaleX(-1); }
@keyframes introFade { from { opacity: 0; letter-spacing: 0.9em; } to { opacity: 1; } }
.intro__bar { width: 150px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; margin-top: 8px; animation: introFade 0.4s ease 0.3s both; }
.intro__bar span { display: block; height: 100%; width: 100%; background: var(--grad-gold); transform-origin: left; animation: introLoad 1.75s cubic-bezier(0.65, 0, 0.35, 1) 0.35s both; }
@keyframes introLoad { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- 5. الشريط العلوي + الإعلان | strip + announcement ---------- */
.announce { background: var(--grad-gold); color: var(--gold-ink); text-align: center; font-family: var(--font-d); font-weight: 700; font-size: 14px; padding: 8px var(--pad); line-height: 1.5; }
.strip { background: #05070a; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.strip__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.strip__item { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; white-space: nowrap; }
.strip__phone { color: var(--text); font-family: var(--font-d); font-weight: 700; font-size: 14.5px; letter-spacing: 0.02em; }
.strip__phone .ic { color: var(--gold); width: 15px; height: 15px; }
.strip__snap { color: var(--text); font-weight: 500; }
.strip__snap .ic { color: var(--snap); width: 16px; height: 16px; }
.strip__status { font-size: 12.5px; }
.strip__more { display: none; }
@media (min-width: 600px) { .strip__more { display: inline; } }

/* ---------- 6. الترويسة | header ---------- */
.nav { position: sticky; top: 0; z-index: 500; background: rgba(7, 9, 13, 0.78); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px); border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s; }
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(7, 9, 13, 0.9); }
.nav__in { display: flex; align-items: center; gap: 12px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.brand__text { display: grid; line-height: 1.1; }
.brand__text strong { font-family: var(--font-d); font-weight: 800; font-size: 19px; white-space: nowrap; }
.brand__text small { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-d); font-weight: 600; font-size: 10.5px; letter-spacing: 0.32em; color: var(--gold-2); direction: ltr; justify-self: start; }
[dir="rtl"] .brand__text small { justify-self: end; }
.brand__text small i { width: 10px; height: 2px; border-radius: 2px; background: #eb3e3f; }
.nav__links { display: none; margin-inline-start: 18px; gap: 4px; }
.nav__links a { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav__links a:hover, .nav__links a.is-here { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.langbtn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); font-family: var(--font-d); font-weight: 700; font-size: 14px; transition: background 0.2s, border-color 0.2s; }
.langbtn .ic { width: 16px; height: 16px; color: var(--muted); }
.langbtn:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); }
.nav__call { display: inline-flex; align-items: center; gap: 8px; height: 40px; min-width: 40px; justify-content: center; padding: 0 11px; border-radius: 12px; background: var(--gold-soft); border: 1px solid rgba(249, 185, 58, 0.35); color: var(--gold-2); font-family: var(--font-d); font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: background 0.2s; }
.nav__call bdi { display: none; }
.nav__call:hover { background: rgba(249, 185, 58, 0.2); }
.nav__book { display: none; min-height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 12px; }
@media (min-width: 440px) { .nav__call bdi { display: inline; } }
@media (min-width: 760px) { .nav__book { display: inline-flex; } }
@media (min-width: 1020px) { .nav__links { display: flex; } :root { --nav-h: 68px; } }

/* ---------- 7. الواجهة | hero ---------- */
.hero { position: relative; padding-block: 34px 40px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow { position: absolute; inset: 0;
  background:
    radial-gradient(60% 46% at 86% 0%, rgba(249, 185, 58, 0.2), transparent 70%),
    radial-gradient(50% 40% at 6% 34%, rgba(92, 200, 255, 0.1), transparent 70%),
    radial-gradient(70% 50% at 50% 110%, rgba(236, 122, 28, 0.1), transparent 70%);
}
[dir="ltr"] .hero__glow { transform: scaleX(-1); }
.hero__grid-lines { position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 80%); mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 80%);
}
.rain { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 96%); mask-image: linear-gradient(to bottom, #000 40%, transparent 96%); }
.rain i { --o: 0.28; }
.rain.is-paused i { animation-play-state: paused; }
.hero__in { display: grid; gap: 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.hero__title { font-size: clamp(44px, 12.5vw, 88px); line-height: 1.12; font-weight: 800; }
html[lang="en"] .hero__title { font-size: clamp(38px, 10.5vw, 78px); line-height: 1.05; }
.hero__title .gold { display: block; padding-bottom: 0.08em; }
.hero__sub { margin-top: 16px; color: var(--muted); font-size: clamp(16px, 4.2vw, 19px); max-width: 34em; }
.hero__cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__cta .btn { flex: 1 1 200px; }
.trust { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .ic { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.4; }

.picker { background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 14px 14px; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.picker__title { font-size: 19px; font-weight: 700; margin-bottom: 14px; padding-inline: 4px; }
.picker__hint { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--faint); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile {
  --c: var(--gold); --c-rgb: 249, 185, 58;
  position: relative; display: flex; flex-direction: column; gap: 3px; min-height: 148px; padding: 14px 13px 13px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, rgba(var(--c-rgb), 0.13) 0%, rgba(var(--c-rgb), 0) 62%), var(--surface);
  border: 1px solid rgba(var(--c-rgb), 0.26);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.3s;
}
.tile--byd { --c: var(--byd); --c-rgb: 249, 185, 58; } .tile--rox { --c: var(--rox); --c-rgb: 255, 138, 76; } .tile--sim { --c: var(--sim); --c-rgb: 43, 217, 159; } .tile--acc { --c: var(--acc); --c-rgb: 167, 139, 250; }
.tile__ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--c-rgb), 0.18); color: var(--c); margin-bottom: 8px; }
.tile__ic .ic { width: 20px; height: 20px; }
.tile__name { font-family: var(--font-d); font-weight: 700; font-size: 16.5px; line-height: 1.25; }
.tile__sub { font-size: 12px; color: var(--muted); line-height: 1.45; }
.tile__price { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; font-family: var(--font-d); font-weight: 800; font-size: 22px; line-height: 1.1; color: var(--c); }
.tile__price small { font-size: 12px; font-weight: 600; color: var(--muted); }
.tile__price s { font-size: 13px; font-weight: 500; color: var(--faint); }
.tile__price.is-quote { font-size: 16px; }
.tile__go { position: absolute; inset-inline-end: 11px; top: 13px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); color: var(--muted); transition: background 0.25s, color 0.25s, transform 0.25s var(--ease); }
.tile__go .ic { width: 14px; height: 14px; stroke-width: 2.2; }
.tile:active { transform: scale(0.97); }
@media (hover: hover) {
  .tile:hover { transform: translateY(-4px); border-color: rgba(var(--c-rgb), 0.7); box-shadow: 0 18px 40px -18px rgba(var(--c-rgb), 0.7); }
  .tile:hover .tile__go { background: var(--c); color: #0a0c10; }
}

.stats { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--bg-2); padding: 16px 12px; text-align: center; }
.stat__v { font-family: var(--font-d); font-weight: 800; font-size: 30px; line-height: 1.1; display: inline-flex; align-items: center; gap: 6px; direction: ltr; }
.stat__v .ic { width: 20px; height: 20px; color: var(--gold); }
.stat__l { margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* دخول عناصر الواجهة بعد المقدمة */
.rise { opacity: 0; animation: rise 0.8s var(--ease) calc(var(--intro) + var(--d, 0s)) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (min-width: 700px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .picker { padding: 22px 20px 16px; }
  .tile { min-height: 160px; padding: 16px; }
}
@media (min-width: 1020px) {
  .hero { padding-block: 64px 56px; }
  .hero__in { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 54px; align-items: center; }
  .hero__cta .btn { flex: 0 1 auto; }
  .stats { margin-top: 56px; }
  .stat { padding: 22px 16px; }
  .stat__v { font-size: 38px; }
  .stat__l { font-size: 14px; }
}

/* ---------- 8. الأقسام | sections ---------- */
.section { padding-block: 64px; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.head--start { text-align: start; margin-inline: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-d); font-weight: 700; font-size: 13.5px; color: var(--gold); margin-bottom: 10px; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-gold); }
.head h2, .visit h2 { font-size: clamp(27px, 6.6vw, 44px); }
.head > p:not(.kicker) { margin-top: 12px; color: var(--muted); font-size: clamp(15px, 3.9vw, 17.5px); }
@media (min-width: 1020px) { .section { padding-block: 96px; } .head { margin-bottom: 44px; } }

/* ظهور عند التمرير (يُفعَّل بالجافاسكربت فقط: بدون JS يبقى كل شيء ظاهرًا) */
.js-rv .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease) var(--rd, 0s), transform 0.7s var(--ease) var(--rd, 0s); }
.js-rv .rv.in { opacity: 1; transform: none; }

/* ---------- 9. الخدمات | services ---------- */
.svc { display: grid; gap: 14px; }
.svc__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.svc__tab { --c: var(--gold); --c-rgb: 249, 185, 58; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 68px; padding: 8px 4px; border-radius: 15px; color: var(--muted); font-family: var(--font-d); font-weight: 600; font-size: 12.5px; line-height: 1.25; text-align: center; transition: background 0.25s, color 0.25s; }
.svc__tab .ic { width: 20px; height: 20px; }
.svc__tab .svc__tab-price, .svc__tab .svc__tab-sub { display: none; }
.svc__tab[aria-selected="true"] { background: linear-gradient(rgba(var(--c-rgb), 0.16), rgba(var(--c-rgb), 0.16)), var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px rgba(var(--c-rgb), 0.55); }
.svc__tab[aria-selected="true"] .ic { color: var(--c); }
.svc__panel { --c: var(--gold); --c-rgb: 249, 185, 58; position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(var(--c-rgb), 0.07) 0%, rgba(var(--c-rgb), 0) 240px), var(--surface); padding: 22px 18px; overflow: hidden; }
.svc__panel::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--c), transparent); opacity: 0.9; }
.svc__panel.is-swap > * { animation: swap 0.45s var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.sp__badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: rgba(var(--c-rgb), 0.16); color: var(--c); font-family: var(--font-d); font-weight: 700; font-size: 12.5px; margin-bottom: 10px; }
.sp__title { font-size: clamp(23px, 5.6vw, 32px); }
.sp__lead { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.sp__price { margin-top: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.sp__now { font-family: var(--font-d); font-weight: 800; font-size: 46px; line-height: 1; color: var(--c); }
.sp__now small { font-size: 17px; font-weight: 600; color: var(--text); margin-inline-start: 6px; }
.sp__now.is-quote { font-size: 30px; }
.sp__was { color: var(--faint); font-size: 16px; text-decoration: line-through; }
.sp__save { padding: 4px 10px; border-radius: 999px; background: rgba(43, 217, 159, 0.14); color: var(--ok); font-family: var(--font-d); font-weight: 700; font-size: 13px; }
.sp__quote { margin-top: 6px; color: var(--muted); font-size: 14px; }
.sp__meta { margin-top: 18px; display: grid; gap: 8px; }
.sp__meta li { display: flex; align-items: flex-start; gap: 11px; padding: 11px 13px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); font-size: 14.5px; }
.sp__meta .ic { width: 18px; height: 18px; color: var(--c); margin-top: 4px; }
.sp__meta span { display: grid; line-height: 1.5; }
.sp__meta small { color: var(--faint); font-size: 12px; }
.sp__meta b { font-weight: 500; }
.sp__cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.sp__cta .btn { flex: 1 1 180px; }
.sp__cta .btn--gold { background: var(--c); box-shadow: 0 12px 34px -12px var(--c), inset 0 1px 0 rgba(255, 255, 255, 0.4); color: #0a0c10; }
.sp__h { margin: 26px 0 12px; font-family: var(--font-d); font-weight: 700; font-size: 16px; color: var(--text); display: flex; align-items: center; gap: 9px; }
.sp__h .ic { color: var(--c); width: 18px; height: 18px; }
.sp__feats { display: grid; gap: 10px; }
.sp__feat { display: flex; gap: 13px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.sp__feat-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--c-rgb), 0.15); color: var(--c); }
.sp__feat h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 3px; }
.sp__feat p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.sp__list { display: grid; gap: 9px; }
.sp__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; }
.sp__list .ic { width: 17px; height: 17px; color: var(--ok); margin-top: 5px; stroke-width: 2.4; }
.sp__gifts { display: grid; gap: 8px; }
.sp__gift { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 14px; border: 1px dashed rgba(var(--c-rgb), 0.45); background: rgba(var(--c-rgb), 0.06); }
.sp__gift .ic { color: var(--c); width: 20px; height: 20px; }
.sp__gift div { display: grid; line-height: 1.45; flex: 1; min-width: 0; }
.sp__gift strong { font-size: 14.5px; font-weight: 600; }
.sp__gift span { font-size: 12.5px; color: var(--muted); }
.sp__gift em { font-style: normal; font-family: var(--font-d); font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(var(--c-rgb), 0.18); color: var(--c); white-space: nowrap; }
.sp__note { margin-top: 12px; font-size: 13px; color: var(--faint); display: flex; gap: 8px; align-items: flex-start; }
.sp__note .ic { width: 15px; height: 15px; margin-top: 4px; flex: none; }
.sp__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.sp__chips span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sp__more { margin-top: 16px; }
.sp__more > summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 1px dashed rgba(var(--c-rgb), 0.45); color: var(--text); font-family: var(--font-d); font-weight: 600; font-size: 15px; cursor: pointer; }
.sp__more > summary::-webkit-details-marker { display: none; }
.sp__more > summary .ic:first-child { color: var(--c); width: 18px; height: 18px; }
.sp__more > summary .ic:last-child { margin-inline-start: auto; width: 16px; height: 16px; transform: rotate(90deg); transition: transform 0.25s; }
.sp__more[open] > summary .ic:last-child { transform: rotate(-90deg); }
.sp__more[open] > summary { margin-bottom: 14px; }

@media (min-width: 900px) {
  .svc { grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
  .svc__tabs { grid-template-columns: 1fr; gap: 8px; padding: 8px; position: sticky; top: calc(var(--nav-h) + 20px); }
  .svc__tab { flex-direction: row; justify-content: flex-start; text-align: start; gap: 13px; min-height: 76px; padding: 12px 14px; font-size: 16px; }
  .svc__tab .ic { width: 22px; height: 22px; }
  .svc__tab > span { display: grid; gap: 1px; flex: 1; min-width: 0; }
  .svc__tab .svc__tab-sub { display: block; font-family: var(--font-b); font-weight: 400; font-size: 12.5px; color: var(--faint); }
  .svc__tab .svc__tab-price { display: block; font-size: 16px; font-weight: 800; color: var(--c); white-space: nowrap; flex: none; text-align: end; }
  .svc__tab .svc__tab-price small { font-size: 11px; font-weight: 600; color: var(--muted); }
  .svc__tab .svc__tab-price s { display: none; }
  .svc__tab .svc__tab-price.is-quote { font-size: 13px; }
  .svc__tab b { white-space: nowrap; }
  .svc__panel { padding: 34px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0 38px; align-items: start; }
  .sp__col > .sp__h:first-child { margin-top: 0; }
  .sp__more { margin-top: 0; }
  .sp__more > summary { display: none; }
}

/* ---------- 10. معالج الحجز | booking wizard ---------- */
.section--booking { background: radial-gradient(70% 40% at 50% 0%, rgba(249, 185, 58, 0.09), transparent 70%), var(--bg); }
.wizard { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); }
.wizard__top { padding: 16px 14px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.steps button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 6px 8px; border-radius: 12px; color: var(--faint); font-family: var(--font-d); font-weight: 600; font-size: 14px; transition: color 0.25s, background 0.25s; }
.steps b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--surface-3); color: var(--muted); transition: background 0.25s, color 0.25s; flex: none; }
.steps li.is-active button { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.steps li.is-active b { background: var(--grad-gold); color: var(--gold-ink); }
.steps li.is-done button { color: var(--muted); }
.steps li.is-done b { background: rgba(43, 217, 159, 0.18); color: var(--ok); font-size: 0; }
.steps li.is-done b::after { content: ""; width: 9px; height: 5px; border-inline-start: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-1px); }
[dir="rtl"] .steps li.is-done b::after { transform: rotate(45deg) translateY(-1px); }
.steps li:not(.is-done):not(.is-active) button { cursor: default; }
.steps__bar { margin-top: 12px; height: 3px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.steps__bar span { display: block; height: 100%; width: 33.34%; border-radius: 3px; background: var(--grad-gold); transition: width 0.5s var(--ease); }
.wizard.is-done .wizard__top, .wizard.is-done .wizard__bar, .wizard.is-done .wizard__side { display: none; }

.wizard__body { display: grid; }
.wizard__main { padding: 22px 14px 18px; min-width: 0; }
.wz-panel { animation: panelIn 0.4s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wz-title { font-size: clamp(20px, 5.2vw, 26px); font-weight: 700; margin-bottom: 14px; }
.wz-hint { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.wz-err { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 107, 107, 0.1); border: 1px solid rgba(255, 107, 107, 0.4); color: #ffb3b3; font-size: 14.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.wz-err .linkbtn { color: #fff; }

/* نوع السيارة */
.cars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.car { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 78px; padding: 10px 6px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--surface-2); font-family: var(--font-d); font-weight: 700; font-size: 15.5px; line-height: 1.2; text-align: center; transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease); }
.car .ic { width: 22px; height: 22px; color: var(--muted); transition: color 0.2s; }
.car[aria-checked="true"] { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 3px rgba(249, 185, 58, 0.14); }
.car[aria-checked="true"] .ic { color: var(--gold); }
.car:active { transform: scale(0.97); }

/* الخدمات */
.opts { display: grid; gap: 10px; }
.opts__empty { padding: 26px 16px; border-radius: 16px; border: 1px dashed var(--line-2); color: var(--muted); text-align: center; font-size: 15px; }
.opt { --c: var(--gold); --c-rgb: 249, 185, 58; position: relative; display: block; border-radius: 18px; border: 1.5px solid var(--line-2); background: var(--surface-2); transition: border-color 0.2s, background 0.25s, box-shadow 0.25s; cursor: pointer; }
.opt--byd { --c: var(--byd); --c-rgb: 249, 185, 58; } .opt--rox { --c: var(--rox); --c-rgb: 255, 138, 76; } .opt--sim { --c: var(--sim); --c-rgb: 43, 217, 159; } .opt--acc { --c: var(--acc); --c-rgb: 167, 139, 250; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__row { display: flex; align-items: flex-start; gap: 12px; padding: 14px; }
.opt__check { width: 24px; height: 24px; flex: none; margin-top: 2px; border-radius: 8px; border: 2px solid var(--line-2); display: grid; place-items: center; transition: background 0.2s, border-color 0.2s; }
.opt__check .ic { width: 14px; height: 14px; stroke-width: 3; color: #0a0c10; opacity: 0; transform: scale(0.4); transition: opacity 0.2s, transform 0.25s var(--ease); }
.opt__body { flex: 1; min-width: 0; display: grid; justify-items: start; }
.opt__name { font-family: var(--font-d); font-weight: 700; font-size: 16.5px; line-height: 1.3; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.opt__badge { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(var(--c-rgb), 0.18); color: var(--c); white-space: nowrap; }
.opt__short { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.opt__when { margin-top: 7px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--faint); }
.opt__when .ic { width: 13px; height: 13px; }
.opt__price { flex: none; text-align: end; font-family: var(--font-d); font-weight: 800; font-size: 20px; line-height: 1.15; color: var(--c); display: grid; }
.opt__price b { font-weight: 800; white-space: nowrap; }
.opt__price small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.opt__price s { font-family: var(--font-b); font-size: 12px; font-weight: 400; line-height: 1.5; color: var(--faint); white-space: nowrap; }
.opt__price.is-quote { font-size: 13px; font-weight: 600; color: var(--muted); max-width: 84px; }
.opt.is-on { border-color: var(--c); background: linear-gradient(rgba(var(--c-rgb), 0.09), rgba(var(--c-rgb), 0.09)), var(--surface-2); box-shadow: 0 0 0 3px rgba(var(--c-rgb), 0.16); }
.opt.is-on .opt__check { background: var(--c); border-color: var(--c); }
.opt.is-on .opt__check .ic { opacity: 1; transform: none; }
.opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.opt__more { border-top: 1px solid var(--line); }
.opt__more summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 9px 14px; font-size: 13px; color: var(--muted); cursor: pointer; }
.opt__more summary::-webkit-details-marker { display: none; }
.opt__more summary .ic { width: 14px; height: 14px; transition: transform 0.25s; transform: rotate(90deg); }
.opt__more[open] summary .ic { transform: rotate(-90deg); }
.opt__more ul { padding: 0 14px 14px; display: grid; gap: 6px; }
.opt__more li { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.opt__more li .ic { width: 14px; height: 14px; margin-top: 5px; color: var(--ok); stroke-width: 2.4; flex: none; }
.single { margin-top: 2px; border-radius: 16px; border: 1px dashed var(--line-2); }
.single > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; cursor: pointer; font-size: 14.5px; color: var(--muted); }
.single > summary::-webkit-details-marker { display: none; }
.single > summary small { color: var(--faint); font-size: 12.5px; }
.single > summary .ic { width: 16px; height: 16px; transition: transform 0.25s; transform: rotate(90deg); flex: none; }
.single[open] > summary .ic { transform: rotate(-90deg); }
.single__list { display: grid; gap: 8px; padding: 0 10px 10px; }
.single .opt__row { padding: 11px 12px; }
.single .opt__name { font-size: 15px; }

/* الموعد */
.note { display: flex; align-items: flex-start; gap: 9px; padding: 11px 13px; border-radius: 14px; background: rgba(92, 200, 255, 0.07); border: 1px solid rgba(92, 200, 255, 0.22); color: #cfeeff; font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.note .ic { width: 16px; height: 16px; margin-top: 4px; color: var(--info); flex: none; }
.note.is-warn { background: rgba(255, 107, 107, 0.08); border-color: rgba(255, 107, 107, 0.35); color: #ffc9c9; }
.note.is-warn .ic { color: var(--danger); }
.soonest { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; margin-bottom: 14px; border-radius: 14px; background: var(--gold-soft); border: 1px solid rgba(249, 185, 58, 0.4); color: var(--gold-2); font-family: var(--font-d); font-weight: 700; font-size: 15px; text-align: start; transition: background 0.2s, transform 0.2s var(--ease); }
.soonest .ic { width: 18px; height: 18px; color: var(--gold); }
.soonest .ic--dir { margin-inline-start: auto; width: 16px; height: 16px; }
.soonest:hover { background: rgba(249, 185, 58, 0.2); }
.soonest:active { transform: scale(0.985); }
.cal { border-radius: 18px; border: 1px solid var(--line); background: var(--surface-2); padding: 12px 10px 10px; }
.cal__head, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__head span { text-align: center; font-size: 11.5px; color: var(--faint); padding-bottom: 6px; white-space: nowrap; overflow: hidden; }
.day { position: relative; aspect-ratio: 1 / 1.04; min-height: 42px; border-radius: 12px; display: grid; place-content: center; justify-items: center; gap: 0; font-family: var(--font-d); font-weight: 700; font-size: 16px; line-height: 1; color: var(--text); border: 1.5px solid transparent; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease); }
.day small { position: absolute; top: 3px; inset-inline: 0; text-align: center; font-family: var(--font-b); font-weight: 500; font-size: 9px; line-height: 1; color: var(--gold); letter-spacing: 0; white-space: nowrap; overflow: hidden; }
.day i { position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--ok); }
.day.is-few i { background: var(--gold); }
.day.is-open { background: rgba(255, 255, 255, 0.05); }
.day.is-open:hover { border-color: var(--line-2); }
.day.is-today { border-color: rgba(249, 185, 58, 0.5); }
.day.is-off { color: #49515e; cursor: not-allowed; }
.day.is-off i { display: none; }
.day.is-full { text-decoration: line-through; }
.day.is-pad { visibility: hidden; }
.day.is-on { background: var(--grad-gold); color: var(--gold-ink); border-color: transparent; box-shadow: var(--glow); transform: scale(1.04); }
.day.is-on small { color: rgba(26, 18, 4, 0.75); }
.day.is-on i { background: var(--gold-ink); }
.cal__legend { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 12px; color: var(--faint); }
.cal__legend > span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 8px; height: 8px; border-radius: 50%; }
.lg--open { background: var(--ok); } .lg--few { background: var(--gold); } .lg--off { background: #49515e; }
.slotbox { margin-top: 16px; }
.slotbox__day { font-size: 16.5px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.slotbox__day .ic { width: 17px; height: 17px; color: var(--gold); }
.slots { display: grid; gap: 14px; min-height: 60px; }
.slots__group h5 { margin: 0 0 8px; font-family: var(--font-b); font-weight: 500; font-size: 12.5px; color: var(--faint); }
.slots__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { position: relative; min-height: 50px; padding: 6px 4px; border-radius: 13px; border: 1.5px solid var(--line-2); background: var(--surface-2); display: grid; place-content: center; justify-items: center; font-family: var(--font-d); font-weight: 700; font-size: 15.5px; line-height: 1.2; transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease), color 0.2s; direction: ltr; }
[dir="rtl"] .slot { direction: rtl; }
.slot small { font-family: var(--font-b); font-weight: 500; font-size: 10.5px; color: var(--gold); }
.slot:hover { border-color: rgba(255, 255, 255, 0.32); }
.slot.is-full { color: #49515e; border-style: dashed; cursor: not-allowed; }
.slot.is-full small { color: #49515e; }
.slot.is-on { background: var(--grad-gold); color: var(--gold-ink); border-color: transparent; box-shadow: var(--glow); transform: scale(1.03); }
.slot.is-on small { color: rgba(26, 18, 4, 0.75); }
.slots__msg { padding: 18px 14px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--muted); text-align: center; font-size: 14.5px; display: grid; gap: 10px; justify-items: center; }
.skel { height: 50px; border-radius: 13px; background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
@media (min-width: 420px) { .slots__row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* النموذج */
.form { display: grid; gap: 16px; }
.hp { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.field { display: grid; gap: 7px; min-width: 0; }
.field__label { font-size: 14px; font-weight: 500; color: var(--text); }
.field__label b { color: var(--gold); font-weight: 700; }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--surface-2); font-size: 16px; line-height: 1.5; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); opacity: 1; }
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(249, 185, 58, 0.16); background: #131822; outline: none; }
.field input[dir="ltr"] { text-align: left; font-family: var(--font-d); font-weight: 600; letter-spacing: 0.03em; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field__help { font-size: 12.5px; color: var(--faint); line-height: 1.6; }
.field__err { display: none; font-size: 13px; color: #ff9c9c; }
.field.is-bad input, .field.is-bad textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.13); }
.field.is-bad .field__err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips:empty { display: none; }
.chip { min-height: 36px; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); font-size: 13.5px; color: var(--muted); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.chip:hover { border-color: rgba(255, 255, 255, 0.3); color: var(--text); }
.chip.is-on { background: var(--gold-soft); border-color: rgba(249, 185, 58, 0.55); color: var(--gold-2); }
.linkbtn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; color: var(--gold-2); font-size: 14.5px; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(249, 185, 58, 0.4); text-underline-offset: 4px; }
.linkbtn .ic { width: 16px; height: 16px; }
#vinBox { display: grid; gap: 7px; }
.vinrow { position: relative; }
.vinrow input { padding-inline-end: 62px; text-transform: uppercase; }
.vinrow__count { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); font-family: var(--font-d); font-weight: 600; font-size: 13px; color: var(--faint); direction: ltr; }
.vinrow__count.is-ok { color: var(--ok); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--muted); cursor: pointer; line-height: 1.6; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--gold); }
.welcome { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 11px 13px; margin-bottom: 14px; border-radius: 14px; background: rgba(43, 217, 159, 0.08); border: 1px solid rgba(43, 217, 159, 0.28); color: #c9f5e6; font-size: 14px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field--full, .check.field--full { grid-column: 1 / -1; } }

/* الملخص */
.wizard__side { padding: 0 14px 16px; display: grid; gap: 12px; align-content: start; }
.sum { border-radius: 18px; border: 1px solid var(--line); background: var(--surface-2); padding: 16px; }
.sum__title { font-family: var(--font-d); font-weight: 700; font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sum__title small { font-family: var(--font-b); font-weight: 400; font-size: 12.5px; color: var(--faint); }
.sum__empty { color: var(--faint); font-size: 14px; padding: 6px 0; }
.sum__rows { display: grid; gap: 10px; }
.sum__row { display: grid; gap: 2px; }
.sum__row > small { font-size: 12px; color: var(--faint); }
.sum__row > span, .sum__row > b { font-size: 14.5px; font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; }
.sum__svc { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; line-height: 1.5; }
.sum__svc i { font-style: normal; color: var(--muted); white-space: nowrap; font-family: var(--font-d); font-weight: 600; }
.sum__total { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.sum__total small { font-size: 12.5px; color: var(--muted); }
.sum__total strong { font-family: var(--font-d); font-weight: 800; font-size: 28px; line-height: 1; color: var(--gold); }
.sum__total strong small { font-size: 13px; font-weight: 600; color: var(--text); margin-inline-start: 5px; }
.sum__total strong.is-quote { font-size: 16px; }
.sum__extra { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.sum__pill { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); color: var(--muted); }
.sum__pill--ok { background: rgba(43, 217, 159, 0.13); color: var(--ok); font-weight: 600; }
.sum__note { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sum__note .ic { width: 16px; height: 16px; color: var(--ok); }
.help { border-radius: 18px; border: 1px solid var(--line); padding: 14px 16px; display: grid; gap: 10px; }
.help p { font-size: 13.5px; color: var(--muted); }
.help__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.help__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-2); font-family: var(--font-d); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.help__btn--wa { background: rgba(37, 211, 102, 0.14); color: #6ff0a3; }

/* شريط الإجراءات (ثابت أسفل الشاشة داخل المعالج على الجوال) */
.wizard__bar { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(16, 20, 27, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.wizard__back { min-height: 50px; padding: 0 14px; }
.wizard__total { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.wizard__total small { font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wizard__total strong { font-family: var(--font-d); font-weight: 800; font-size: 19px; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wizard__total strong.is-quote { font-size: 14px; color: var(--muted); font-weight: 600; }
.wizard__next { min-height: 50px; padding: 0 20px; flex: none; }
.wizard__next .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.wizard__next.is-loading { pointer-events: none; opacity: 0.85; }
.wizard__next.is-loading .ic { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wizard.shake .wizard__next { animation: shake 0.4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

@media (max-width: 979px) {
  .wizard[data-step="1"] .wizard__side, .wizard[data-step="2"] .wizard__side { display: none; }
}
@media (max-width: 519px) {
  /* على الجوال: زر الرجوع أيقونة فقط ليبقى الإجمالي واضحًا */
  .wizard__back { width: 50px; padding: 0; flex: none; }
  .wizard__back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wizard__next { padding: 0 16px; }
}
@media (min-width: 980px) {
  .wizard__top { padding: 22px 28px 0; }
  .steps { max-width: 560px; }
  .wizard__body { grid-template-columns: minmax(0, 1fr) 350px; }
  .wizard__main { padding: 28px; }
  .wizard__side { padding: 28px 28px 28px 0; position: sticky; top: calc(var(--nav-h) + 16px); align-self: start; }
  [dir="rtl"] .wizard__side { padding: 28px 0 28px 28px; }
  .wizard__bar { position: static; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-top: 1px solid var(--line); padding: 18px 28px; }
  .wizard__total { visibility: hidden; }
  .slots__row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .day { min-height: 52px; aspect-ratio: auto; }
  .cal { padding: 16px; }
}

/* ---------- 11. نجاح الحجز | success ---------- */
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 900; pointer-events: none; }
.done { display: grid; justify-items: center; text-align: center; padding: 14px 0 8px; }
.done__burst { position: relative; width: 112px; height: 112px; margin-bottom: 14px; }
.done__burst::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; background: radial-gradient(circle, rgba(43, 217, 159, 0.3), transparent 68%); animation: glowIn 0.9s ease 0.2s both; }
@keyframes glowIn { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
.done__burst svg { position: relative; width: 112px; height: 112px; overflow: visible; }
.done__ring { fill: none; stroke: var(--ok); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transform: rotate(-90deg); transform-origin: 50% 50%; animation: draw 0.7s var(--ease) 0.1s forwards; }
.done__fill { fill: var(--ok); transform: scale(0); transform-origin: 50% 50%; animation: pop 0.5s var(--ease) 0.62s forwards; }
.done__tick { fill: none; stroke: #04130d; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.4s ease 0.95s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.done__title { font-size: clamp(27px, 7vw, 38px); animation: rise 0.6s var(--ease) 1.05s both; }
.done__sub { margin-top: 6px; color: var(--muted); font-size: 16px; animation: rise 0.6s var(--ease) 1.15s both; }
.ticket { position: relative; width: 100%; max-width: 480px; margin-top: 22px; border-radius: 22px; background: linear-gradient(180deg, #171d27, #11161e); border: 1px solid var(--line-2); text-align: start; box-shadow: var(--shadow); animation: ticketIn 0.8s var(--ease) 1.25s both; }
@keyframes ticketIn { from { opacity: 0; transform: translateY(40px) rotate(-2.5deg) scale(0.94); } to { opacity: 1; transform: none; } }
.ticket__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.ticket__brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-d); font-weight: 700; font-size: 14.5px; }
.ticket__brand img { width: 28px; height: 28px; border-radius: 8px; }
.ticket__status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-2); white-space: nowrap; }
.ticket__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.ticket__ref { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.ticket__ref small { display: block; font-size: 12px; color: var(--faint); }
.ticket__ref strong { font-family: var(--font-d); font-weight: 800; font-size: 26px; letter-spacing: 0.06em; color: var(--gold); direction: ltr; display: block; line-height: 1.2; }
.ticket__copy { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); transition: background 0.2s, color 0.2s; }
.ticket__copy:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.ticket__copy .ic { width: 15px; height: 15px; }
.ticket__cut { position: relative; height: 1px; margin-inline: 18px; border-top: 2px dashed var(--line-2); }
.ticket__cut::before, .ticket__cut::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); }
.ticket__cut::before { inset-inline-start: -30px; clip-path: inset(0 0 0 50%); }
.ticket__cut::after { inset-inline-end: -30px; clip-path: inset(0 50% 0 0); }
[dir="rtl"] .ticket__cut::before { clip-path: inset(0 50% 0 0); }
[dir="rtl"] .ticket__cut::after { clip-path: inset(0 0 0 50%); }
.ticket__rows { padding: 16px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.ticket__rows > div { display: grid; gap: 1px; min-width: 0; }
.ticket__rows > div.is-wide { grid-column: 1 / -1; }
.ticket__rows small { font-size: 12px; color: var(--faint); }
.ticket__rows span { font-size: 14.5px; font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; }
.ticket__rows span.is-big { font-family: var(--font-d); font-weight: 700; font-size: 17px; }
.ticket__rows span.is-gold { font-family: var(--font-d); font-weight: 800; font-size: 20px; color: var(--gold); }
.done__actions { width: 100%; max-width: 480px; margin-top: 18px; display: grid; gap: 10px; animation: rise 0.6s var(--ease) 1.5s both; }
.done__hint { font-size: 13px; color: var(--muted); }
.done__two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.done__next { width: 100%; max-width: 480px; margin-top: 22px; text-align: start; border-radius: 18px; border: 1px solid var(--line); padding: 16px 18px; animation: rise 0.6s var(--ease) 1.6s both; }
.done__next h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.done__next ol { display: grid; gap: 10px; counter-reset: n; }
.done__next li { counter-increment: n; display: flex; gap: 11px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.done__next li::before { content: counter(n); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-family: var(--font-d); font-weight: 700; font-size: 13px; }
.done__again { margin-top: 18px; animation: rise 0.6s var(--ease) 1.7s both; }
/* إعادة الرسم بعد تغيير اللغة: بدون إعادة تشغيل الحركة */
.done--static, .done--static * { animation: none !important; }
.done--static .done__ring, .done--static .done__tick { stroke-dashoffset: 0; }
.done--static .done__fill { transform: scale(1); }
.done--static .done__burst::before { opacity: 1; }

/* ---------- 12. بعد الحجز | flow ---------- */
.flow { display: grid; gap: 12px; counter-reset: f; }
.flow__step { position: relative; padding: 22px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.flow__n { position: absolute; top: 16px; inset-inline-end: 18px; font-family: var(--font-d); font-weight: 800; font-size: 44px; line-height: 1; color: rgba(255, 255, 255, 0.06); }
.flow__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); margin-bottom: 14px; }
.flow__ic .ic { width: 22px; height: 22px; }
.flow__step h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.flow__step p { color: var(--muted); font-size: 15px; }
.nodeposit { margin: 18px auto 0; max-width: 760px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(43, 217, 159, 0.07); border: 1px solid rgba(43, 217, 159, 0.25); color: #d6f7ec; font-size: 15px; }
.nodeposit .ic { width: 20px; height: 20px; color: var(--ok); margin-top: 4px; flex: none; }
.nodeposit strong { color: #fff; font-weight: 600; }
@media (min-width: 820px) { .flow { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* ---------- 13. لماذا + المواعيد | why + hours ---------- */
.why { display: grid; gap: 22px; }
.why__list { display: grid; gap: 12px; }
.why__list li { display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.why__ic { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.why__ic .ic { width: 21px; height: 21px; }
.why__list h3 { font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.why__list p { color: var(--muted); font-size: 14.5px; }
.hours { border-radius: var(--r-lg); padding: 20px 18px; background: linear-gradient(180deg, rgba(249, 185, 58, 0.09), var(--surface) 55%); border: 1px solid rgba(249, 185, 58, 0.28); align-self: start; }
.hours h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.hours h3 .ic { color: var(--gold); }
.hours__list { display: grid; gap: 2px; }
.hours__list li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours__list li:last-child { border-bottom: 0; }
.hours__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); grid-row: span 2; align-self: start; margin-top: 9px; }
.hours__list strong { font-family: var(--font-d); font-weight: 700; font-size: 15.5px; }
.hours__list span { font-size: 14px; color: var(--muted); }
.hours__closed { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 14px; color: #ff9c9c; }
@media (min-width: 920px) { .why { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 34px; align-items: start; } .hours { position: sticky; top: calc(var(--nav-h) + 20px); padding: 26px; } }

/* ---------- 14. الآراء | reviews ---------- */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: center; display: flex; flex-direction: column; gap: 14px; padding: 22px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.review__stars { display: flex; gap: 3px; color: var(--gold); direction: ltr; }
[dir="rtl"] .review__stars { justify-content: flex-end; }
.review__stars .ic { width: 16px; height: 16px; }
.review p { font-size: 15.5px; line-height: 1.85; flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); color: var(--gold-ink); font-family: var(--font-d); font-weight: 800; font-size: 18px; flex: none; }
.review__who strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; }
.review__who span { font-size: 13px; color: var(--faint); }
@media (min-width: 820px) { .reviews { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; gap: 16px; } }

/* ---------- 15. الأسئلة | faq ---------- */
.faq { display: grid; gap: 8px; }
.faq__item { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color 0.25s, background 0.25s; }
.faq__item[open] { border-color: rgba(249, 185, 58, 0.35); background: var(--surface-2); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; cursor: pointer; font-family: var(--font-d); font-weight: 600; font-size: 16.5px; line-height: 1.45; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; width: 12px; height: 12px; flex: none; background: linear-gradient(var(--gold), var(--gold)) center / 12px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 2px 12px no-repeat; transition: transform 0.3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__a { padding: 0 18px 18px; color: var(--muted); font-size: 15px; line-height: 1.85; }

/* ---------- 16. تواصل معنا | visit ---------- */
.visit__in { display: grid; gap: 24px; }
.visit h2 { margin-bottom: 4px; }
.bigphone { display: inline-flex; align-items: center; gap: 14px; margin-top: 14px; font-family: var(--font-d); font-weight: 800; font-size: clamp(30px, 8.6vw, 56px); line-height: 1.15; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; white-space: nowrap; }
.bigphone .ic { width: 0.72em; height: 0.72em; color: var(--gold); -webkit-text-fill-color: initial; stroke-width: 2; }
.visit__btns { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.visit__btns .btn { flex: 1 1 150px; }
.mapcard { display: grid; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); transition: transform 0.3s var(--ease), border-color 0.3s; }
.mapcard:hover { transform: translateY(-3px); border-color: rgba(249, 185, 58, 0.5); }
.mapcard__art { position: relative; height: 170px; background:
  linear-gradient(115deg, transparent 46%, rgba(249, 185, 58, 0.16) 46% 50%, transparent 50%),
  linear-gradient(20deg, transparent 58%, rgba(255, 255, 255, 0.07) 58% 61%, transparent 61%),
  linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 100% 34px,
  linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 44px 100%,
  #0d1118; }
.mapcard__pin { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -34px 0 0 -26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad-gold); display: grid; place-items: center; box-shadow: var(--glow); animation: pin 2.4s var(--ease) infinite; }
.mapcard__pin .ic { transform: rotate(45deg); color: var(--gold-ink); width: 22px; height: 22px; stroke-width: 2.2; }
@keyframes pin { 0%, 100% { transform: rotate(-45deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(5px, -5px); } }
.mapcard__body { padding: 16px 18px; display: grid; gap: 2px; }
.mapcard__body strong { font-family: var(--font-d); font-weight: 700; font-size: 17px; }
.mapcard__body > span { color: var(--muted); font-size: 14.5px; }
.mapcard__body em { margin-top: 8px; font-style: normal; display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-size: 14.5px; font-weight: 500; }
.mapcard__body em .ic { width: 16px; height: 16px; }
@media (min-width: 900px) { .visit__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 44px; align-items: center; } .visit__btns .btn { flex: 0 1 auto; } .mapcard__art { height: 220px; } }

/* ---------- 17. التذييل | footer ---------- */
.footer { background: #05070a; border-top: 1px solid var(--line); padding-top: 44px; font-size: 14.5px; }
.footer__in { display: grid; gap: 28px; }
.footer__brand p { margin-top: 14px; color: var(--muted); max-width: 34em; }
.footer__col { display: grid; gap: 4px; align-content: start; justify-items: start; }
.footer__col h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.footer__col a { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; color: var(--muted); transition: color 0.2s; }
.footer__col a:hover { color: var(--gold-2); }
.footer__col .ic { width: 16px; height: 16px; }
.footer__bar { margin-top: 30px; padding-block: 18px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; text-align: center; }
@media (min-width: 820px) { .footer__in { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; } }

/* ---------- 18. شريط الجوال السفلي | dock ---------- */
.dock { position: fixed; z-index: 600; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: stretch; gap: 4px; padding: 6px; border-radius: 22px; background: rgba(16, 20, 27, 0.9); -webkit-backdrop-filter: saturate(150%) blur(18px); backdrop-filter: saturate(150%) blur(18px); border: 1px solid var(--line-2); box-shadow: 0 18px 44px -12px rgba(0, 0, 0, 0.85); transition: transform 0.4s var(--ease), opacity 0.3s; }
.dock.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.dock__item { flex: 1 1 0; min-width: 0; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 52px; border-radius: 16px; font-size: 11.5px; color: var(--muted); transition: background 0.2s, color 0.2s; }
.dock__item .ic { width: 21px; height: 21px; color: var(--gold); }
.dock__item--wa .ic { color: var(--wa); }
.dock__item--snap .ic { color: var(--snap); }
.dock__item:active { background: rgba(255, 255, 255, 0.07); }
.dock__book { flex: 1.7 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 16px; background: var(--grad-gold); color: var(--gold-ink); font-family: var(--font-d); font-weight: 800; font-size: 15.5px; white-space: nowrap; box-shadow: var(--glow); }
.dock__book .ic { width: 18px; height: 18px; stroke-width: 2.1; }
.dock__book:active { transform: scale(0.97); }
@media (max-width: 899px) { body { padding-bottom: calc(var(--dock-h) + 24px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- 19. إشعار صغير | toast ---------- */
.toast { position: fixed; z-index: 950; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 999px; background: #fff; color: #0a0c10; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease); white-space: nowrap; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.noscript { margin-top: 16px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); text-align: center; color: var(--muted); }

/* ---------- 20. تقليل الحركة | reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .rain, .intro { display: none !important; }
  .js-rv .rv { opacity: 1; transform: none; }
  .rise { opacity: 1; }
}

/* ---------- 21. الطباعة | print ---------- */
@media print {
  .strip, .nav, .dock, .intro, .hero__bg, .confetti, .wizard__bar, .toast { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
}
