/* ============================================================
   كابتن ماجد — تصميم الموقع
   الفكرة: عالمين — البحر (أزرق) والسماء (برتقالي غروب) — على خلفية ليلية
   Mobile-first · RTL/LTR عبر الخصائص المنطقية (inline-start/end)
   ============================================================ */

/* ---------- الخطوط (محلية — سريعة وما تتقطّع) ---------- */
/* أربع ملفات خطوط فقط (أسرع على الجوال): الأوزان 500/600/900 تاخذ أقرب وزن موجود */
@font-face { font-family: 'Tajawal'; font-weight: 400; font-display: swap; src: url('/fonts/Tajawal-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Tajawal'; font-weight: 700; font-display: swap; src: url('/fonts/Tajawal-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Cairo'; font-weight: 700; font-display: swap; src: url('/fonts/Cairo-700.woff2') format('woff2'); }
@font-face { font-family: 'Cairo'; font-weight: 800; font-display: swap; src: url('/fonts/Cairo-800.woff2') format('woff2'); }

:root {
  --bg: #050d1a;
  --bg2: #081427;
  --bg3: #0b1b33;
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .16);
  --card: rgba(255, 255, 255, .035);
  --card2: rgba(255, 255, 255, .065);
  --tx: #f4f7fb;
  --tx2: #c3d0e2;
  --mut: #8b9cb6;
  --sea: #0ea5e9;
  --sea2: #22d3ee;
  --sea3: #7dd3fc;
  --sea-d: #0369a1;
  --sky: #f97316;
  --sky2: #fbbf24;
  --sky3: #fde68a;
  --mint: #2dd4bf;
  --gold: #f5c451;
  --wa: #25d366;
  --wa-d: #1da851;
  --r: 20px; /* زاوية وحدة لكل البطاقات في الموقع */
  --wrap: 1240px;
  --px: 20px;
  --bbar: 68px;
  --hdr: 64px;
  --f: 'Tajawal', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
  --fh: 'Cairo', 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
  margin: 0;
  font-family: var(--f);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tx);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fh); overflow-wrap: anywhere; text-wrap: balance; }
p { margin: 0 0 1em; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--px); }
.narrow { max-width: 840px; }
.center { text-align: center; }
.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; }
[dir="rtl"] .ic-flip { transform: scaleX(-1); }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--mint); color: #03111f; font-weight: 700;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* ---------- الإيموجي: يتوسط في مربعه ----------
   الخط العربي ارتفاعه كبير، فالإيموجي كان يطلع فوق المنتصف بـ ٤–١٠ بكسل.
   نخليه ياخذ مقاسات خط الإيموجي نفسه + ارتفاع سطر = حجمه بالضبط */
.ch-ic, .sec-ic, .step-ic, .ach-ic, .bb-e, .bk-opt b, .gc-mid {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-style: normal; font-weight: 400; line-height: 1;
}

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 11px 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--fh); font-weight: 700; font-size: 1rem; line-height: 1.3;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .2s ease, background-color .2s ease, filter .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--mint), var(--sea)); color: #03111f; box-shadow: 0 12px 30px -12px rgba(45, 212, 191, .7); }
.btn-sea { background: linear-gradient(135deg, #38bdf8, #0284c7); color: #fff; box-shadow: 0 12px 30px -12px rgba(14, 165, 233, .7); }
.btn-sky { background: linear-gradient(135deg, var(--sky2), var(--sky)); color: #1f0b00; box-shadow: 0 12px 30px -12px rgba(249, 115, 22, .7); }
.btn-gold { background: linear-gradient(135deg, var(--sky3), var(--gold) 50%, var(--sky2)); color: #1f1300; box-shadow: 0 12px 30px -12px rgba(245, 196, 81, .7); }
.btn-wa { background: var(--wa); color: #052e16; box-shadow: 0 12px 30px -12px rgba(37, 211, 102, .7); }
.btn-ghost { background: rgba(5, 13, 26, .5); border-color: var(--line2); color: var(--tx); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
@media (hover: hover) {
  .btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
  .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
}
.btn-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px;
  background: none; border: 0; color: var(--tx2); font-weight: 600; font-size: .92rem;
  text-decoration: none; cursor: pointer;
}
.btn-link .ic { color: var(--wa); }
.btn-link:hover { color: var(--tx); }

/* ---------- الهيدر ---------- */
.hdr { position: fixed; top: 0; inset-inline: 0; z-index: 50; transition: background-color .3s ease, box-shadow .3s ease; }
.hdr.is-solid { background: rgba(5, 13, 26, .96); box-shadow: 0 1px 0 var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--hdr); }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--fh); font-weight: 800; font-size: 1.3rem; color: var(--tx); text-decoration: none; white-space: nowrap; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.brand span { color: var(--mint); }
.nav { display: none; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: inline-block; color: var(--tx2); font-weight: 600; font-size: .95rem; text-decoration: none; padding: 12px 0; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--sea2), var(--mint)); transform: scaleX(0); transition: transform .25s ease; }
.nav a:hover, .nav a[aria-current] { color: var(--tx); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.hdr-act { display: flex; align-items: center; gap: 10px; }
.lang-sw {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; min-height: 40px;
  border: 1px solid var(--line2); border-radius: 999px; background: rgba(5, 13, 26, .6);
  color: var(--tx); font-size: .85rem; font-weight: 600; text-decoration: none;
}
.lang-sw:hover { border-color: var(--mint); }
.hdr-cta { display: none; }
.ann {
  display: block; width: 100%; padding: 8px 16px; border: 0;
  background: linear-gradient(90deg, var(--sea-d), var(--sea) 30%, var(--sky) 70%, var(--sky2));
  color: #fff; font-family: var(--fh); font-weight: 700; font-size: .88rem; text-align: center; text-decoration: none; cursor: pointer;
}

/* ---------- الواجهة ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--hdr) + 40px) 0 calc(var(--bbar) + 34px);
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; z-index: -2; }
/* صورة ما حمّلت أبداً: نخفيها ويبان لون خلفية مكانها (بدل أيقونة مكسورة ونص) */
img.is-broken { visibility: hidden; }
/* صور الخلفيات: لو صورة ما حمّلت، ما يطلع نص الوصف فوق التصميم */
.hero-bg img, .world-bg img, .cta-bg img { color: transparent; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 13, 26, .6) 0%, rgba(5, 13, 26, .1) 22%, rgba(5, 13, 26, .45) 50%, rgba(5, 13, 26, .93) 80%, var(--bg) 100%);
}
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 6px 14px;
  border: 1px solid var(--line2); border-radius: 999px; background: rgba(5, 13, 26, .68);
  color: var(--mint); font-family: var(--fh); font-weight: 700; font-size: .8rem; line-height: 1.5;
}
.hero-t { display: flex; flex-direction: column; margin: 0 0 12px; font-weight: 900; font-size: clamp(2.6rem, 12vw, 5rem); line-height: 1.3; }
html[lang="en"] .hero-t { line-height: 1.05; letter-spacing: -.02em; }
.t-sea, .t-sky { -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .35)); padding-block: .04em; }
.t-sea { background-image: linear-gradient(100deg, var(--sea3), var(--sea2) 45%, var(--sea)); }
.t-sky { background-image: linear-gradient(100deg, var(--sky3), var(--sky2) 45%, var(--sky)); }
.hero-kw { display: block; margin-top: 10px; font-family: var(--f); font-weight: 500; font-size: clamp(.95rem, 3.8vw, 1.2rem); line-height: 1.5; color: var(--tx); letter-spacing: 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.hero-sub { display: none; max-width: 600px; margin: 0 auto 20px; color: var(--tx2); font-size: 1.02rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.hero-svc .hero-sub { display: block; }
.hero-ch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 540px; margin-bottom: 16px; }
.ch {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 14px 16px 16px; border: 1px solid; border-radius: var(--r);
  color: var(--tx); text-decoration: none; text-align: start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ch:active { transform: scale(.97); }
.ch-sea { background: linear-gradient(160deg, rgba(14, 165, 233, .42), rgba(3, 105, 161, .26)), rgba(5, 13, 26, .55); border-color: rgba(125, 211, 252, .45); }
.ch-sky { background: linear-gradient(160deg, rgba(249, 115, 22, .42), rgba(251, 191, 36, .2)), rgba(5, 13, 26, .55); border-color: rgba(253, 230, 138, .45); }
.ch-ic { font-size: 1.7rem; line-height: 1; margin-bottom: 4px; }
.ch-t { font-family: var(--fh); font-weight: 800; font-size: 1.08rem; line-height: 1.4; }
.ch-p { margin-top: auto; font-size: .85rem; color: var(--tx2); }
.ch-ar { position: absolute; top: 14px; inset-inline-end: 14px; opacity: .75; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 4px 0 0; padding: 0; list-style: none; font-size: .84rem; color: var(--tx2); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .ic { color: var(--mint); }
.hero-wave { position: absolute; bottom: -1px; inset-inline: 0; width: 100%; height: 34px; fill: var(--bg); z-index: -1; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 440px; margin-bottom: 16px; }
.hero-cta .btn { flex: 1 1 auto; }
.crumbs { display: flex; gap: 8px; justify-content: center; margin-bottom: 10px; font-size: .85rem; color: var(--tx2); }
.crumbs a { margin: -10px -6px; padding: 10px 6px; color: var(--tx2); text-decoration: none; }
.crumbs a:hover { color: var(--tx); }
.hero-svc { min-height: 86vh; min-height: 86svh; }
.hero-t-svc { font-size: clamp(2.2rem, 9vw, 4rem); }

/* ---------- شريط الثقة ---------- */
.band { padding: 26px 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), var(--bg2)); }
.band-in { display: grid; gap: 22px; }
.creds { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.creds li { display: flex; }
.cred { display: flex; flex: 1; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--tx); text-align: start; text-decoration: none; transition: border-color .2s; }
/* جهتين اعتماد: مربعين متساويين بجنب بعض (نفس شبكة الأرقام تحتها) */
.creds-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.creds-2 .cred { flex-direction: column; justify-content: center; gap: 8px; padding: 14px 10px; text-align: center; }
a.cred:hover { border-color: var(--mint); }
.cred-lg { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; background: #fff; overflow: hidden; padding: 5px; }
.cred-lg img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.cred-t { display: grid; line-height: 1.35; }
.cred-t strong { font-family: var(--fh); font-size: .92rem; }
.cred-t small { font-size: .78rem; color: var(--mut); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; }
.stat { display: flex; flex-direction: column-reverse; align-items: center; padding: 12px 8px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-align: center; }
.stat dt { font-size: .78rem; color: var(--mut); }
.stat dd { margin: 0; font-family: var(--fh); font-weight: 900; font-size: 1.6rem; line-height: 1.3; background: linear-gradient(135deg, var(--mint), var(--sea2)); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; }

/* ---------- الأقسام ---------- */
.sec { position: relative; padding: 56px 0; }
.sec-h { margin-bottom: 26px; }
.sec-h-center { text-align: center; }
.sec-h-start { text-align: start; }
.sec-ic { display: block; font-size: 2.2rem; line-height: 1; margin-bottom: 8px; }
.sec-l { display: inline-block; margin: 0 0 6px; color: var(--mint); font-family: var(--fh); font-weight: 700; font-size: .85rem; }
html[lang="en"] .sec-l { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; }
.sec-t { margin: 0 0 10px; font-weight: 800; font-size: clamp(1.75rem, 6.4vw, 2.6rem); line-height: 1.35; }
html[lang="en"] .sec-t { line-height: 1.15; letter-spacing: -.01em; }
.sec-i { max-width: 640px; margin: 0 auto; color: var(--tx2); font-size: 1.02rem; }
.sec-h-start .sec-i { margin-inline: 0; }

/* ---------- عوالم الخدمات ---------- */
.world { isolation: isolate; overflow: hidden; }
.world-sea { background: radial-gradient(120% 55% at 50% 0%, rgba(14, 165, 233, .16), transparent 70%), var(--bg); }
.world-sky { background: radial-gradient(120% 55% at 50% 0%, rgba(249, 115, 22, .14), transparent 70%), var(--bg); }
.world-bg { position: absolute; inset: 0 0 auto; height: 460px; z-index: -1; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.world-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.world-sea .sec-t { background: linear-gradient(100deg, var(--sea3), var(--sea2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.world-sky .sec-t { background: linear-gradient(100deg, var(--sky3), var(--sky2), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.offers { display: grid; gap: 18px; }
.world-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin-top: 22px; color: var(--tx2); font-size: .93rem; text-align: center; }
.loc { display: inline-flex; align-items: flex-start; gap: 8px; margin: 0; }
.loc .ic { margin-top: .3em; color: var(--mint); }
.loc a { color: var(--mint); }
.world-foot .more { width: 100%; max-width: 420px; }

.offer {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease;
}
.offer-sea.is-popular { border-color: rgba(125, 211, 252, .5); box-shadow: 0 0 0 1px rgba(125, 211, 252, .2), var(--shadow); }
.offer-sky.is-popular { border-color: rgba(251, 191, 36, .5); box-shadow: 0 0 0 1px rgba(251, 191, 36, .2), var(--shadow); }
.offer-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg3); }
.offer-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .6s ease; }
.offer-tags { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.no-img .offer-tags { position: static; padding: 20px 20px 0; }
.tag { display: inline-flex; padding: 4px 12px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(5, 13, 26, .82); font-family: var(--fh); font-weight: 700; font-size: .75rem; line-height: 1.6; }
.tag-hot { background: linear-gradient(135deg, var(--sky2), var(--sky)); border-color: transparent; color: #1f0b00; }
.offer-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.offer-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.offer-top .offer-t { flex: 1 1 auto; min-width: 0; }
.offer-top .price { flex: none; }
.offer-t { margin: 0; font-weight: 800; font-size: 1.3rem; line-height: 1.45; }
.offer-meta { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; color: var(--tx2); font-size: .88rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0; }
.price strong { font-family: var(--fh); font-weight: 900; font-size: 1.55rem; line-height: 1.3; white-space: nowrap; }
.offer-compact .offer-media { aspect-ratio: 16 / 9; }
.offer-compact .offer-body { padding: 16px 18px 18px; }
.offer-compact .offer-d { margin-bottom: 16px; font-size: .94rem; }
.offer-sea .price strong { color: var(--sea3); }
.offer-sky .price strong { color: var(--sky2); }
.price small { color: var(--mut); font-size: .88rem; }
.offer-d { margin: 0 0 14px; color: var(--tx2); font-size: .96rem; }
.checks { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--tx2); font-size: .94rem; line-height: 1.6; }
.checks .ic { margin-top: .22em; color: var(--mint); }
.offer-act { display: grid; gap: 4px; justify-items: center; margin-top: auto; }
@media (hover: hover) {
  .offer:hover { transform: translateY(-4px); border-color: var(--line2); }
  .offer:hover .offer-media img { transform: scale(1.05); }
  .ch:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }
}

/* ---------- خطوات الحجز ---------- */
.steps { background: var(--bg2); }
.steps-l { display: grid; gap: 14px; margin: 0 0 30px; padding: 0; list-style: none; }
.step { position: relative; padding: 26px 22px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); text-align: center; }
.step-n { position: absolute; top: 12px; inset-inline-start: 16px; font-family: var(--fh); font-weight: 900; font-size: 1.1rem; color: var(--mut); }
.step-ic { display: block; font-size: 2.3rem; line-height: 1; margin-bottom: 10px; }
.step h3 { margin: 0 0 6px; font-weight: 800; font-size: 1.15rem; }
.step p { margin: 0; color: var(--tx2); font-size: .94rem; }
@media (max-width: 767px) {
  .steps-l { gap: 10px; margin-bottom: 24px; }
  .step { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 16px; text-align: start; }
  .step-ic { grid-row: 1 / 3; display: grid; place-items: center; width: 54px; height: 54px; margin: 0; border-radius: 16px; background: rgba(255, 255, 255, .05); font-size: 1.7rem; }
  .step h3, .step p { grid-column: 2; }
  .step h3 { margin: 0 0 2px; font-size: 1.05rem; }
  .step p { font-size: .9rem; line-height: 1.6; }
  .step-n { top: 8px; inset-inline-start: 8px; z-index: 1; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: #03111f; font-size: .75rem; }
}

/* ---------- بطاقة الهدية ---------- */
.gift { background: radial-gradient(70% 60% at 85% 25%, rgba(245, 196, 81, .13), transparent 65%), radial-gradient(60% 50% at 10% 90%, rgba(14, 165, 233, .1), transparent 60%), var(--bg); overflow: hidden; }
.gift-in { display: grid; gap: 40px; align-items: center; }
.gift .checks { margin-bottom: 22px; }
.gift-act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gift-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  width: 100%; max-width: 420px; aspect-ratio: 1.6 / 1; margin-inline: auto; padding: 22px 24px;
  border-radius: var(--r); color: #fff;
  background: linear-gradient(135deg, #38bdf8 0%, #0b3d6e 42%, #7c2d12 78%, #f97316 100%);
  box-shadow: 0 34px 80px -24px rgba(249, 115, 22, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
  transform: rotate(-4deg);
  animation: floaty 6s ease-in-out infinite;
}
[dir="ltr"] .gift-card { transform: rotate(4deg); }
.gift-card::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 65%); z-index: -1; }
.gift-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 14px); }
.gift-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; mix-blend-mode: overlay; z-index: -1; }
.gc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gc-brand { font-family: var(--fh); font-weight: 800; font-size: 1.2rem; }
.gc-brand span { color: var(--sky3); }
.gc-chip { padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; font-size: .75rem; font-weight: 700; }
.gc-mid { display: flex; gap: 12px; font-size: 2.2rem; line-height: 1; }
.gc-bot small { display: block; opacity: .8; font-size: .78rem; }
.gc-bot strong { font-family: var(--fh); font-weight: 800; font-size: 1.3rem; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- معرض الصور ---------- */
.g-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px;
  margin: 0; padding: 0 var(--px) 4px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.g-grid::-webkit-scrollbar { display: none; }
.g-grid { scroll-padding-inline: var(--px); }
.g-grid li { scroll-snap-align: start; }
.g-it { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--bg3); cursor: zoom-in; color: inherit; }
.g-it img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s ease; }
.g-cap { position: absolute; inset-inline: 0; bottom: 0; padding: 36px 16px 12px; background: linear-gradient(transparent, rgba(5, 13, 26, .88)); font-family: var(--fh); font-weight: 700; font-size: .92rem; text-align: start; }
.hint { margin: 10px 0 0; text-align: center; color: var(--mut); font-size: .8rem; }
@media (hover: hover) { .g-it:hover img { transform: scale(1.05); } }

/* ---------- من أنا ---------- */
.about { background: var(--bg2); }
.about-in { display: grid; gap: 30px; align-items: center; }
.about-ph { position: relative; width: min(240px, 66%); aspect-ratio: 1; margin-inline: auto; }
.about-ph::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; background: conic-gradient(from 200deg, var(--sea), var(--mint), var(--sky2), var(--sky), var(--sea)); opacity: .85; }
.about-ph img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 6px solid var(--bg2); }
.prose p { color: var(--tx2); font-size: 1.04rem; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { margin: 30px 0 8px; font-weight: 800; font-size: 1.2rem; line-height: 1.5; }
.prose .lead-p { color: var(--tx); font-size: 1.1rem; }
.legal { padding-top: calc(var(--hdr) + 36px); }
.legal .sec-t { margin-bottom: 18px; }
.crumbs-start { justify-content: flex-start; }

/* ---------- الشهادات ---------- */
.ach { isolation: isolate; overflow: hidden; }
.ach-g { display: grid; gap: 14px; }
.ach-c { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.ach-c.has-img { flex-direction: column; align-items: stretch; }
.ach-ic { display: grid; place-items: center; flex: 0 0 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, rgba(45, 212, 191, .16), rgba(14, 165, 233, .16)); font-size: 1.8rem; }
.ach-img { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg3); cursor: zoom-in; }
.ach-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.ach-b h3 { margin: 0 0 2px; font-weight: 800; font-size: 1.06rem; line-height: 1.5; }
.ach-b p { margin: 0; color: var(--tx2); font-size: .92rem; }
.ach-y { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(45, 212, 191, .12); color: var(--mint); font-family: var(--fh); font-weight: 700; font-size: .75rem; }

/* ---------- التقييمات ---------- */
.rv-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px;
  margin-inline: calc(var(--px) * -1); padding: 0 var(--px) 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--px); scrollbar-width: none;
}
.rv-row::-webkit-scrollbar { display: none; }
.rv { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); scroll-snap-align: start; }
.rv-stars { display: flex; gap: 2px; color: rgba(255, 255, 255, .18); }
.rv-stars .on { color: var(--gold); }
.rv-stars .ic { width: 18px; height: 18px; }
.rv blockquote { flex: 1; margin: 0; font-size: 1rem; line-height: 1.85; color: var(--tx); }
.rv figcaption strong { display: block; font-family: var(--fh); font-weight: 800; }
.rv figcaption span { display: block; color: var(--mut); font-size: .84rem; }
.reviews .center { margin-top: 24px; }

/* ---------- الأسئلة ---------- */
.faq-l { display: grid; gap: 10px; }
.faq-i { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; transition: border-color .2s, background-color .2s; }
.faq-i[open] { border-color: rgba(45, 212, 191, .35); background: var(--card2); }
.faq-i summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; list-style: none; cursor: pointer; font-family: var(--fh); font-weight: 700; font-size: 1rem; line-height: 1.55; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; flex: 0 0 24px; height: 24px; border-radius: 50%; background: rgba(45, 212, 191, .14); }
.faq-x::before, .faq-x::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; border-radius: 2px; background: var(--mint); transition: transform .25s ease, opacity .25s; }
.faq-x::after { transform: rotate(90deg); }
.faq-i[open] .faq-x::after { transform: rotate(0); opacity: 0; }
.faq-a { padding: 0 20px 16px; color: var(--tx2); }
.faq-a p { margin: 0 0 .6em; }

/* ---------- التواصل ---------- */
.cta { isolation: isolate; overflow: hidden; padding: 64px 0; text-align: center; }
.cta-bg, .cta-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(5, 13, 26, .6), rgba(5, 13, 26, .9)); }
.cta-main { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 18px; }
.cta-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 18px; }
.cta-info a { display: inline-flex; align-items: center; gap: 6px; color: var(--tx2); text-decoration: none; }
.cta-info a:hover { color: var(--tx); }
.socs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.soc { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line2); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; transition: border-color .2s, color .2s, transform .2s; }
.soc .ic { width: 20px; height: 20px; }
.soc:hover { border-color: var(--mint); color: var(--mint); transform: translateY(-2px); }

/* ---------- صفحات الخدمات ---------- */
.art-in { display: grid; gap: 28px; }
.art-txt p { font-size: 1.06rem; }
.prose .art-h { margin: 0 0 12px; font-size: 1.35rem; }
.art-side { display: grid; gap: 14px; align-self: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.art-side h2 { margin: 0; font-weight: 800; font-size: 1.15rem; }
@media (max-width: 899px) { .art-side { display: none; } }
.facts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.facts li { display: grid; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.facts strong { font-family: var(--fh); font-size: .98rem; }
.facts span { color: var(--mut); font-size: .88rem; }
.xsell { padding-top: 0; }
.xs-card { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 16px; min-height: 170px; padding: 26px; border: 1px solid var(--line2); border-radius: var(--r); color: #fff; text-decoration: none; }
.xs-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .6; transition: transform .6s ease; }
.xs-card::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.xs-sea::after { background: linear-gradient(90deg, rgba(5, 13, 26, .95) 20%, rgba(3, 105, 161, .35)); }
.xs-sky::after { background: linear-gradient(90deg, rgba(5, 13, 26, .95) 20%, rgba(124, 45, 18, .35)); }
[dir="rtl"] .xs-sea::after { background: linear-gradient(270deg, rgba(5, 13, 26, .95) 20%, rgba(3, 105, 161, .35)); }
[dir="rtl"] .xs-sky::after { background: linear-gradient(270deg, rgba(5, 13, 26, .95) 20%, rgba(124, 45, 18, .35)); }
.xs-txt { display: grid; gap: 4px; max-width: 560px; }
.xs-txt small { color: var(--mint); font-weight: 700; }
.xs-txt strong { font-family: var(--fh); font-weight: 900; font-size: 1.5rem; line-height: 1.35; }
.xs-txt span { color: var(--tx2); font-size: .95rem; }
.xs-ar { display: grid; place-items: center; flex: 0 0 48px; height: 48px; margin-inline-start: auto; border-radius: 50%; background: #fff; color: var(--bg); }
.xs-card:hover > img { transform: scale(1.05); }

/* ---------- الفوتر ---------- */
.ftr { padding: 40px 0 calc(var(--bbar) + 34px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg2); }
.ftr-in { display: grid; gap: 22px; }
.ftr p { margin: 6px 0 12px; color: var(--mut); font-size: .92rem; }
.ftr .socs { justify-content: flex-start; }
.ftr-n ul { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0; padding: 0; list-style: none; }
.ftr-n a { display: inline-block; padding: 11px 0; color: var(--tx2); text-decoration: none; }
.ftr-n a:hover { color: var(--tx); }
.copy { grid-column: 1 / -1; margin: 0 !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: .82rem !important; }

/* ---------- الشريط السفلي (جوال) ---------- */
.bbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 1.6fr 1fr; align-items: center; gap: 4px;
  height: calc(var(--bbar) + env(safe-area-inset-bottom, 0px)); padding: 6px 8px env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--line); background: rgba(5, 13, 26, .97);
  transition: transform .3s ease;
}
.bb { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 100%; border-radius: 14px; color: var(--mut); font-family: var(--fh); font-weight: 700; font-size: .76rem; line-height: 1.3; text-decoration: none; }
.bb.on { color: var(--mint); }
.bb-e { font-size: 1.3rem; line-height: 1; }
.bb .ic { width: 22px; height: 22px; }
.bb-cta { flex-direction: row; gap: 6px; height: 48px; background: linear-gradient(135deg, var(--mint), var(--sea)); color: #03111f; font-size: .92rem; box-shadow: 0 8px 22px -10px rgba(45, 212, 191, .8); }
.bb-cta .ic { width: 18px; height: 18px; }
.bb-wa { color: var(--tx2); }
.bb-wa .ic { color: var(--wa); }
html.is-modal, body.is-modal { overflow: hidden; }
body.is-modal .bbar { transform: translateY(110%); }

/* ---------- نموذج الحجز ---------- */
dialog { color: var(--tx); }
/* المتصفحات القديمة اللي ما تدعم <dialog>: مخفية لين تنفتح، وتنعرض كطبقة ثابتة فوق الصفحة */
dialog:not([open]) { display: none; }
dialog.is-fallback { position: fixed; z-index: 100; box-shadow: 0 0 0 100vmax rgba(2, 6, 14, .8); }
/* نافذة الحجز: تخطيط عادي (بدون flex) — سفاري في الآيفون كان يحسب ارتفاع النافذة صفر مع flex
   فتطلع خلفية شفافة بدون النموذج. النافذة نفسها تتمرّر، والعنوان فوق وزر الإرسال تحت ثابتين */
.bk {
  position: fixed; inset: 0; z-index: 100; margin: auto; padding: 0;
  width: min(560px, calc(100% - 24px)); max-width: none; height: fit-content; height: -webkit-fit-content;
  max-height: min(92vh, 880px); max-height: min(92svh, 880px);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line2); border-radius: 24px; background: #0a1729; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8);
}
.bk[open] { display: block; }
.bk::backdrop { background: rgba(2, 6, 14, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bk-h { position: sticky; top: 0; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); background: #0a1729; }
.bk-h h2 { margin: 0; font-weight: 800; font-size: 1.3rem; line-height: 1.4; }
.bk-h p { margin: 2px 0 0; color: var(--mut); font-size: .88rem; line-height: 1.5; }
.ic-btn { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line2); border-radius: 50%; background: var(--card2); color: var(--tx); cursor: pointer; }
.ic-btn:hover { border-color: var(--mint); }
.bk-body, .bk-done { display: grid; gap: 14px; padding: 16px 20px 20px; }
.bk-body { padding-bottom: 0; }
.bk-done[hidden], .bk-body[hidden] { display: none; }
.bk-f { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.bk-f > span, .bk-f legend { padding: 0; margin-bottom: 6px; font-family: var(--fh); font-weight: 700; font-size: .92rem; }
.bk-f small { color: var(--mut); font-size: .78rem; line-height: 1.5; }
.bk input:not([type="radio"]):not([type="checkbox"]), .bk textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line2); border-radius: 12px; background: rgba(255, 255, 255, .05);
  color: var(--tx); font: inherit; font-size: 1rem; line-height: 1.5;
}
.bk textarea { resize: vertical; min-height: 70px; }
.bk input:focus, .bk textarea:focus { outline: 2px solid rgba(45, 212, 191, .35); border-color: var(--mint); }
.bk input[aria-invalid="true"] { border-color: #fb7185; }
.bk ::placeholder { color: #61718b; }
.bk-svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.bk-opt { position: relative; cursor: pointer; }
.bk-opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
.bk-opt input { position: absolute; opacity: 0; pointer-events: none; }
.bk-opt > span { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; min-height: 60px; padding: 9px 12px; border: 1px solid var(--line2); border-radius: 12px; background: var(--card); transition: border-color .15s, background-color .15s; }
.bk-opt b { grid-row: 1 / 3; font-size: 1.35rem; font-weight: 400; line-height: 1; }
.bk-opt em { font-style: normal; font-family: var(--fh); font-weight: 700; font-size: .9rem; line-height: 1.4; }
.bk-opt small { color: var(--mut); font-size: .76rem; line-height: 1.3; }
.bk-opt input:checked + span { border-color: var(--mint); background: rgba(45, 212, 191, .12); box-shadow: inset 0 0 0 1px var(--mint); }
.bk-opt input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 2px; }
.bk-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.bk input[type="date"] { min-width: 0; max-width: 100%; color-scheme: dark; }
.bk input[type="date"]::-webkit-date-and-time-value { min-height: 1.5em; text-align: start; }
@supports (-webkit-touch-callout: none) { .bk input[type="date"] { -webkit-appearance: none; appearance: none; } }
@media (max-width: 360px) { .bk-row { grid-template-columns: minmax(0, 1fr); } }
.stepper { display: grid; grid-template-columns: 44px 1fr 44px; overflow: hidden; border: 1px solid var(--line2); border-radius: 12px; }
.stepper button { border: 0; background: var(--card2); color: var(--tx); font-size: 1.3rem; cursor: pointer; }
.stepper button:hover { background: rgba(45, 212, 191, .18); }
.bk .stepper input { border: 0 !important; border-radius: 0 !important; text-align: center; -moz-appearance: textfield; appearance: textfield; outline-offset: -2px; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bk-chk { display: flex; align-items: center; gap: 10px; color: var(--tx2); font-size: .92rem; cursor: pointer; }
.bk-chk input { width: 20px; height: 20px; accent-color: var(--mint); }
.hp { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; inset-inline-start: -9999px; }
.bk-err { margin: 0; color: #fda4af; font-size: .9rem; }
/* زر الإرسال يبقى ظاهر أسفل النافذة وأنت تعبّي (مهم في الجوالات القصيرة) */
.bk-actions { position: sticky; bottom: 0; z-index: 2; display: grid; gap: 10px; margin: 0 -20px; padding: 16px 20px 18px; background: linear-gradient(180deg, rgba(10, 23, 41, 0), #0a1729 20px); }
.bk-err:empty { display: none; }
.bk-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; color: var(--mut); font-size: .78rem; text-align: center; }
.bk-note .ic { color: var(--mint); }
.bk-note a { color: var(--mint); white-space: nowrap; }
.bk-done { justify-items: center; text-align: center; padding-block: 28px; }
.bk-done-ic { font-size: 3.2rem; line-height: 1; }
.bk-done h3 { margin: 0; font-weight: 800; font-size: 1.3rem; }
.bk-done p { margin: 0; color: var(--tx2); }

/* ---------- عارض الصور ---------- */
.lb { inset: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(2, 6, 14, .95); }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(2, 6, 14, .9); }
.lb figure { margin: 0; padding: 60px 14px 24px; text-align: center; }
.lb img { max-width: min(1200px, 94vw); max-height: 80vh; margin: 0 auto; border-radius: 14px; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb figcaption { margin-top: 12px; color: var(--tx2); font-family: var(--fh); font-weight: 700; }
.lb-x { position: fixed; top: max(16px, env(safe-area-inset-top, 0px)); inset-inline-end: 16px; z-index: 2; }

/* ---------- مقياس الارتفاع/العمق (توقيع بصري — كمبيوتر فقط) ---------- */
.gauge { display: none; }

/* ---------- ظهور تدريجي ---------- */
.rv-init { opacity: 0; transform: translateY(22px); }
.rv-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }

/* ============================================================
   الشاشات الأكبر
   ============================================================ */
@media (min-width: 640px) {
  .bk { width: min(560px, calc(100% - 40px)); }
}
@media (max-width: 999px) and (max-height: 700px) {
  .hero { padding-top: calc(var(--hdr) + 18px); padding-bottom: calc(var(--bbar) + 22px); }
  .eyebrow { margin-bottom: 8px; }
  .crumbs { margin-bottom: 6px; }
  .hero-t-svc { font-size: clamp(1.9rem, 8.4vw, 3rem); }
  .hero-svc .hero-sub { margin-bottom: 14px; font-size: .95rem; line-height: 1.6; }
  .hero .btn-lg { min-height: 48px; padding: 11px 22px; font-size: 1rem; }
  .hero-cta { margin-bottom: 12px; }
}
/* الجوال بالعرض: العنوان يتقاس على ارتفاع الشاشة بدل عرضها */
@media (max-width: 999px) and (max-height: 500px) {
  .hero-t { font-size: clamp(1.8rem, 12vh, 3rem); line-height: 1.25; }
  .hero-t-svc { font-size: clamp(1.6rem, 10vh, 2.6rem); }
  .hero-kw { margin-top: 4px; font-size: .95rem; }
  .hero-ch .ch { padding: 10px 14px; }
}
@media (max-width: 639px) {
  /* الجوال: النافذة تطلع من تحت (ملتصقة بأسفل الشاشة) */
  .bk { inset: auto 0 0 0; margin: 0; width: 100%; height: auto; border-radius: 24px 24px 0 0; border-bottom: 0; max-height: 94vh; max-height: 94svh; }
  .bk-actions { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 768px) {
  :root { --px: 32px; }
  .sec { padding: 100px 0; }
  .hero { padding-bottom: 70px; }
  .hero-sub { display: block; }
  .hero-t { font-size: clamp(3rem, 6.4vw, 4.6rem); }
  .hero-ch { max-width: 580px; gap: 16px; }
  .ch { padding: 18px 20px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .offers { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps-l { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .g-grid {
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 16px;
    max-width: var(--wrap); margin-inline: auto; padding-inline: var(--px); overflow: visible;
  }
  /* شبكة الصور تكمل صفوفها دائماً (بدون فراغات) أياً كان عدد الصور:
     عدد يقبل القسمة على ٣ → صفوف متساوية · باقي ٢ → أول صورة طويلة · باقي ١ → أول صورة طويلة + آخر صورة عريضة */
  .g-n1 li:first-child, .g-n2 li:first-child { grid-row: span 2; }
  .g-n1 li:last-child { grid-column: span 2; }
  .g-few { grid-auto-rows: 360px; }
  .g-few1 { grid-template-columns: minmax(0, 720px); justify-content: center; }
  .g-few2 { grid-template-columns: repeat(2, 1fr); }
  .g-it { height: 100%; aspect-ratio: auto; }
  .hint { display: none; }
  .ach-g { grid-template-columns: 1fr 1fr; }
  .rv-row { grid-auto-columns: 46%; }
  .ftr-in { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .band-in { gap: 16px; }
  /* الاعتمادات: بطاقات متساوية بعرض الصفحة — نفس زاوية باقي البطاقات */
  .creds, .creds-2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
  .cred, .creds-2 .cred { flex-direction: row; justify-content: center; gap: 12px; padding: 12px 16px; text-align: start; }
  .stats { gap: 16px; }
}

@media (min-width: 900px) {
  .gift-in { grid-template-columns: 1.1fr .9fr; }
  .about-in { grid-template-columns: 340px 1fr; gap: 64px; }
  .about-ph { width: 100%; }
  .art-in { grid-template-columns: 1fr 340px; gap: 56px; }
  .art-side { position: sticky; top: calc(var(--hdr) + 20px); }
}

@media (min-width: 1000px) {
  /* ٣ تقييمات بصف واحد بعرض الصفحة (الباقي يظهر بالسحب في الجوال) — بدون بطاقة يتيمة */
  .rv-row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-inline: 0; padding: 0; overflow: visible; }
  .rv-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-n1 { grid-template-columns: minmax(0, 640px); justify-content: center; }
  .rv-row > .rv:nth-child(n+4) { display: none; }
}

@media (min-width: 1000px) {
  .nav { display: block; }
  .hdr-cta { display: inline-flex; }
  .bbar { display: none; }
  .ftr { padding-bottom: 34px; }
  .hero { padding-bottom: 64px; }
}

/* مقياس العمق/الارتفاع يظهر بس لو فيه مكان جانبي كافي (ما يغطي المحتوى) */
@media (min-width: 1360px) {
  .gauge {
    position: fixed; top: 50%; inset-inline-end: 16px; z-index: 30;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    transform: translateY(-50%); pointer-events: none;
    font-family: var(--fh); font-weight: 700; font-size: .68rem; color: var(--mut);
    transition: opacity .3s;
  }
  .g-val { min-width: 64px; text-align: center; color: var(--tx); font-weight: 800; font-size: .78rem; direction: ltr; }
  .g-track { position: relative; width: 3px; height: 170px; border-radius: 3px; background: linear-gradient(180deg, var(--sky3), var(--sky) 44%, var(--sea2) 46%, var(--sea-d)); opacity: .8; }
  .g-track i { position: absolute; top: 0; left: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15), 0 0 14px rgba(255, 255, 255, .6); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv-init { opacity: 1; transform: none; }
}

/* صفحات الخدمات: المقال يجي مباشرة بعد الباقات */
.art { padding-top: 0; }
.hero-svc ~ .world { padding-bottom: 36px; }
