/* ==========================================================================
   شهاب موسكو | Shehab Moscow — style.css
   نظام التصميم (Design Tokens) — نسخة Editorial / Cinematic
   ========================================================================== */

:root {
  --color-white:      #FFFFFF;
  --color-cream:      #FAF7F4;
  --color-ink:        #1B1613;
  --color-ink-soft:   #5C5450;
  --color-line:       #E9E2DC;
  --color-red:        #C21730;
  --color-red-dark:   #8C0F23;
  --color-red-tint:   #FBEAEC;

  --font-display: 'El Messiri', 'Tajawal', sans-serif;
  --font-body: 'Tajawal', 'El Messiri', sans-serif;

  --container-width: 1220px;
  --section-pad-y: clamp(80px, 11vw, 160px);
  --radius-sm: 4px;
  --radius-md: 10px;

  --ease-cinematic: cubic-bezier(.22, .8, .28, 1);
}

/* ==========================================================================
   إعادة ضبط أساسية
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* شبكة حماية إضافية ضد أي Horizontal Scroll غير مقصود */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* تعويض ارتفاع الـNavbar الثابت عند القفز لأي قسم عبر روابط التنقل الداخلي */
section[id] { scroll-margin-top: 100px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Typography — نظام أكبر وأكثر حضورًا
   ========================================================================== */

.section-head { margin-bottom: 56px; max-width: 640px; }

.intro-tag {
  display: inline-block;
  color: var(--color-red);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 14px;
  position: relative;
  padding-inline-start: 20px;
}
.intro-tag::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 2px;
  background: var(--color-red);
}

.section-title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); color: var(--color-ink); }

/* عنوان Editorial أكبر يُستخدم في معظم الأقسام الرئيسية */
.section-title--display {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -.5px;
}

.section-note { color: var(--color-ink-soft); font-size: 0.95rem; margin-top: 12px; }
.intro-text { color: var(--color-ink-soft); font-size: 1.05rem; max-width: 62ch; }
.section-cta { margin-top: 48px; text-align: center; }

/* أزرار */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: transform .25s var(--ease-cinematic), background-color .25s ease, color .25s ease, border-color .25s ease;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--color-red); outline-offset: 3px; }
.btn-primary { background: var(--color-red); color: var(--color-white); }
.btn-primary:hover { background: var(--color-red-dark); }
.btn-ghost { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: var(--color-white); background: rgba(255,255,255,.08); }
.btn-outline { background: transparent; color: var(--color-red); border-color: var(--color-red); }
.btn-outline:hover { background: var(--color-red); color: var(--color-white); }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }

/* Reveal utilities — تُفعَّل عبر JS بإضافة class is-visible */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  animation: revealUp .8s var(--ease-cinematic) backwards;
  animation-delay: var(--d, 0ms);
}
@keyframes revealUp { from { opacity: 0; transform: translateY(24px); } }

/* -----------------------------------------------------------------------
   كشف الصور الكبيرة (الجاليري، لوحات النقل، المشهد الأخير)
   مهم: الصورة تبقى ظاهرة بالكامل (opacity:1) دائمًا — الأنيميشن هنا Transform فقط
   (Scale خفيف)، وليس إخفاءً حقيقيًا. لو توقف JavaScript عن العمل لأي سبب،
   تبقى الصورة كما هي بحجمها الطبيعي ومرئية 100%، فقط بدون حركة الدخول الإضافية.
   ----------------------------------------------------------------------- */
.media-reveal {
  transform: scale(1.08);
  transition: transform 1.1s var(--ease-cinematic);
}
.media-reveal.is-visible { transform: scale(1); }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding: 22px 0; transition: background-color .4s ease, padding .4s ease, box-shadow .4s ease;
}
.navbar.is-scrolled {
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  padding: 13px 0; box-shadow: 0 1px 0 var(--color-line);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navbar-logo { display: flex; align-items: center; gap: 10px; }

/* تبديل الشعار: أبيض فوق الـHero الداكن، أحمر بعد الخروج منه.
   مهم: الشعارين بنسبتين مختلفتين تمامًا (الأبيض مربّع 1:1، الأحمر عريض ~1.96:1
   لأنه يتضمن كلمة "Shehab Moscow" أسفل الرمز). لذلك الحاوية بارتفاع ثابت فقط،
   وكل صورة تأخذ height:100% وwidth:auto لتحافظ على نسبتها الأصلية دون أي
   تمديد أو ضغط أو قص — لا object-fit:cover ولا border-radius يقصّ الشعار. */
.navbar-logo-swap {
  position: relative; display: block;
  height: 52px;
  width: 102px; /* ≈ 52 × 1.96 (نسبة الشعار الأحمر) */
}
.navbar-logo-img {
  position: absolute;
  inset-inline-start: 0; top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: opacity .4s ease;
}
.navbar-logo-img--white { opacity: 1; }
.navbar-logo-img--red { opacity: 0; }
.navbar.is-scrolled .navbar-logo-img--white { opacity: 0; }
.navbar.is-scrolled .navbar-logo-img--red { opacity: 1; }

.navbar-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 0.96rem; font-weight: 500; color: var(--color-white);
  position: relative; padding-bottom: 4px; transition: color .4s ease;
}
.navbar.is-scrolled .nav-link { color: var(--color-ink); }
.nav-link::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
  background: var(--color-red); transform: scaleX(0); transform-origin: center;
  transition: transform .3s var(--ease-cinematic);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.navbar-actions { display: flex; align-items: center; gap: 16px; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 0;
}
.hamburger span {
  display: block; height: 2px; width: 100%; background: var(--color-white);
  transition: transform .35s var(--ease-cinematic), opacity .35s ease, background-color .4s ease;
}
.navbar.is-scrolled .hamburger span { background: var(--color-ink); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,7,.5) 0%, rgba(10,8,7,.3) 40%, rgba(10,8,7,.78) 100%);
}

.hero-content {
  position: relative; z-index: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}

.hero-title {
  color: var(--color-white);
  font-size: clamp(2.5rem, 8vw, 6.4rem);
  letter-spacing: -1px;
}
.hero-title span { color: var(--color-red); }

.hero-subtitle {
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  max-width: 48ch;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

.hero-scroll-hint { position: absolute; bottom: 30px; inset-inline: 0; z-index: 1; display: flex; justify-content: center; }
.hero-scroll-hint span {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,0));
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ==========================================================================
   ABOUT — من نحن
   ========================================================================== */
.about { padding: var(--section-pad-y) 0; background: var(--color-white); }

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.about-lead { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 18px; }
.about-tagline {
  font-family: var(--font-display);
  color: var(--color-red);
  font-weight: 600;
  font-size: 1.05rem;
}

.about-details { display: flex; flex-direction: column; gap: 32px; }
.about-block { display: flex; flex-direction: column; gap: 14px; }
.about-block-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-ink);
}

.about-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.about-tags li {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  background: var(--color-cream);
}

.about-quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--color-ink);
  border-inline-start: 2px solid var(--color-red);
  padding-inline-start: 20px;
}

/* ==========================================================================
   SERVICES — Editorial: عنوان جانبي ثابت + قائمة صفوف
   ========================================================================== */
.services { padding: var(--section-pad-y) 0; background: var(--color-cream); }

.services-layout {
  display: grid;
  grid-template-columns: .85fr 1.3fr;
  gap: 70px;
  align-items: start;
}

.services-heading { position: sticky; top: 130px; }

.services-rows { display: flex; flex-direction: column; }

.service-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 30px 6px;
  border-top: 1px solid var(--color-line);
  transition: padding-inline-start .35s var(--ease-cinematic);
}
.services-rows li:last-child.service-row,
.service-row:last-child { border-bottom: 1px solid var(--color-line); }

.service-row::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--color-red);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .4s var(--ease-cinematic);
}
.service-row:hover::before { transform: scaleY(1); }
.service-row:hover { padding-inline-start: 20px; }

.service-row-icon {
  width: 34px; height: 34px; flex-shrink: 0; margin-top: 4px;
  color: var(--color-ink-soft);
  transition: color .3s ease, transform .3s var(--ease-cinematic);
}
.service-row-icon svg { width: 100%; height: 100%; }
.service-row:hover .service-row-icon { color: var(--color-red); transform: translateY(-2px); }

.service-row-text { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.service-row-title { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; }
.service-row-desc { color: var(--color-ink-soft); font-size: 0.94rem; max-width: 54ch; }

.service-row-arrow {
  width: 22px; height: 22px; margin-top: 6px; color: var(--color-red);
  opacity: 0; transform: translateX(-8px);
  transition: opacity .3s var(--ease-cinematic), transform .3s var(--ease-cinematic);
}
.service-row-arrow svg { width: 100%; height: 100%; }
.service-row:hover .service-row-arrow { opacity: 1; transform: translateX(0); }

/* ==========================================================================
   DESTINATIONS — بطاقات قابلة للتوسّع (أضف بطاقة جديدة فقط لإضافة مدينة)
   ========================================================================== */
.destinations { padding: var(--section-pad-y) 0; background: var(--color-white); }

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.destination-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 4;
  background: var(--color-cream);
}
.destination-card > img,
.destination-card > .scene {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-cinematic);
}
@media (hover: hover) {
  .destination-card:hover > img,
  .destination-card:hover > .scene { transform: scale(1.05); }
}
.destination-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(10,8,7,.8) 100%);
  pointer-events: none;
}
.destination-card-info {
  position: absolute; z-index: 1;
  right: 20px; bottom: 18px; left: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.destination-card-city {
  font-family: var(--font-display);
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.35rem;
}
.destination-card-desc { color: rgba(255,255,255,.88); font-size: 0.88rem; line-height: 1.5; }

/* ==========================================================================
   ACTIVITIES — Slider / Carousel سينمائي
   الأساس: Flex + scroll-snap عادي (يعمل بالسحب/اللمس بدون أي JavaScript).
   JavaScript يضيف فقط: Autoplay، الأسهم، تكبير الصورة النشطة، والمؤشر الرقمي.
   ========================================================================== */
.activities { padding: var(--section-pad-y) 0 0; background: var(--color-white); overflow: hidden; }
.activities .section-head { margin-bottom: 44px; }

.activities-slider {
  position: relative;
  padding: 0 0 8px;
}

.activities-track {
  display: flex;
  direction: ltr; /* تحكم متوقع بالتمرير الأفقي، النص داخل كل شريحة RTL بشكل منفصل */
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-block: 4px;
  padding-inline: calc(50% - 31%);
  scrollbar-width: none;
}
.activities-track::-webkit-scrollbar { display: none; }

.activity-slide {
  position: relative;
  flex: 0 0 62%;
  aspect-ratio: 16 / 10;
  scroll-snap-align: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .5s var(--ease-cinematic), opacity .5s var(--ease-cinematic);
}
/* حالة "غير نشطة" تُضاف فقط عبر JS كتحسين — بدون JS تبقى كل الصور بحجمها
   ووضوحها الطبيعي بالكامل، وهذا هو الوضع الافتراضي الآمن. */
.activity-slide.is-idle { opacity: .55; transform: scale(.93); }

.activity-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  object-position: center 25%;
  box-sizing: border-box;
  border: 1.5px solid var(--color-red);
  border-radius: var(--radius-md);
}

.activity-slide::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(10,8,7,.72) 100%);
  pointer-events: none;
}
.activity-slide-caption {
  position: absolute; z-index: 1;
  right: 20px; bottom: 16px; left: 20px;
  direction: rtl; text-align: right;
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  pointer-events: none;
}

/* أسهم التحكم */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--color-red);
  background: rgba(255,255,255,.92);
  color: var(--color-red);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.slider-arrow:hover { background: var(--color-red); color: var(--color-white); }
.slider-arrow svg { width: 18px; height: 18px; }
.slider-arrow--prev { left: 18px; }
.slider-arrow--next { right: 18px; }

.slider-counter {
  text-align: center;
  margin-bottom: 28px;
  color: var(--color-ink-soft);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: .5px;
}
.slider-counter #sliderCurrent { color: var(--color-red); font-weight: 600; }

/* ==========================================================================
   HOTELS — تُبنى البطاقات ديناميكيًا من مصفوفة hotels في script.js
   ========================================================================== */
.hotels { padding: var(--section-pad-y) 0; background: var(--color-white); }

.hotels-filter {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.hotels-filter-btn {
  border: 1.5px solid var(--color-line);
  background: var(--color-white);
  color: var(--color-ink-soft);
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}
.hotels-filter-btn:hover { border-color: var(--color-red); color: var(--color-red); }
.hotels-filter-btn.is-active { background: var(--color-red); border-color: var(--color-red); color: var(--color-white); }

.hotels-city-group { margin-bottom: 20px; }
.hotels-city-group.is-hidden { display: none; }
.hotels-city-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 36px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-line);
}
.hotels-city-group:first-child .hotels-city-heading { margin-top: 0; }

/* الحاوية الخارجية (#hotelsGrid) مجرد غلاف؛ الشبكة الفعلية للبطاقات هنا: */
.hotels-city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.hotel-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  transition: border-color .3s ease, transform .3s var(--ease-cinematic);
}
@media (hover: hover) {
  .hotel-card:hover { border-color: var(--color-red); transform: translateY(-4px); }
}

.hotel-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-cream);
  overflow: hidden;
}
.hotel-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  border: 1.5px solid var(--color-red);
  box-sizing: border-box;
  display: block;
}
.hotel-card-media .scene { position: absolute; inset: 0; }
.hotel-card-caption {
  position: absolute; z-index: 1; inset-inline: 0; bottom: 0;
  padding: 18px 12px 8px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(10,8,7,.55));
  color: rgba(255,255,255,.9); font-size: 0.7rem;
}

.hotel-card-city-badge {
  position: absolute; top: 12px; inset-inline-start: 12px;
  background: rgba(255,255,255,.92);
  color: var(--color-ink);
  font-size: 0.75rem; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}

.hotel-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hotel-card-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; line-height: 1.35; }
.hotel-card-formerly { font-size: 0.78rem; color: var(--color-ink-soft); font-style: italic; }
.hotel-card-type {
  align-self: flex-start;
  font-size: 0.74rem; font-weight: 600;
  color: var(--color-ink-soft);
  border: 1px solid var(--color-line); border-radius: 999px;
  padding: 3px 12px;
}
.hotel-card-category { font-size: 0.82rem; color: var(--color-red); font-weight: 600; }
.hotel-card-desc { font-size: 0.9rem; color: var(--color-ink-soft); flex: 1; }
.hotel-card-cta {
  margin-top: 6px;
  color: var(--color-red); font-weight: 600; font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 6px;
}

.hotels-noscript {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-ink-soft);
  border: 1.5px dashed var(--color-line);
  border-radius: var(--radius-md);
  padding: 40px;
}

.hotels-more { margin-top: 24px; text-align: center; }
.hotels-city-group.is-collapsed .hotel-card:nth-child(n+7) { display: none; }
.hotels-city-group:not(.has-more) .hotels-more { display: none; }
.hotel-card-cta svg { width: 16px; height: 16px; }

/* مشاهد توضيحية (SVG مدمجة بدون ملفات خارجية) — تُستخدم بدل الصور الفعلية حين لا تتوفر صورة مؤكدة للفندق/الوجهة */
.scene { background-size: cover; background-position: center; background-repeat: no-repeat; }
.scene--moscow { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23F6E9DF'/%3E%3Cstop offset='1' stop-color='%23E7C4B8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='300' fill='url(%23g)'/%3E%3Ccircle cx='318' cy='84' r='30' fill='%23C21730' opacity='.85'/%3E%3Crect x='0' y='250' width='400' height='50' fill='%233A2A2A'/%3E%3Crect x='128' y='178' width='40' height='74' fill='%233A2A2A'/%3E%3Cpath d='M118 178 Q148 112 178 178Z' fill='%23C21730'/%3E%3Crect x='176' y='150' width='50' height='102' fill='%234A3636'/%3E%3Cpath d='M170 150 Q201 76 232 150Z' fill='%233A2A2A'/%3E%3Cpath d='M201 78 V54' stroke='%233A2A2A' stroke-width='3'/%3E%3Ccircle cx='201' cy='52' r='4' fill='%233A2A2A'/%3E%3Crect x='234' y='190' width='36' height='62' fill='%233A2A2A'/%3E%3Cpath d='M228 190 Q252 140 276 190Z' fill='%23C21730'/%3E%3Crect x='84' y='208' width='30' height='44' fill='%234A3636'/%3E%3Cpath d='M80 208 Q99 170 118 208Z' fill='%233A2A2A'/%3E%3Crect x='282' y='214' width='60' height='38' fill='%234A3636'/%3E%3Crect x='0' y='226' width='84' height='26' fill='%234A3636'/%3E%3C/svg%3E"); }
.scene--spb { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23EAF0F4'/%3E%3Cstop offset='1' stop-color='%23C5D3DC'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='300' fill='url(%23g)'/%3E%3Ccircle cx='86' cy='80' r='26' fill='%23C21730' opacity='.8'/%3E%3Crect x='50' y='196' width='300' height='36' fill='%232E3A46'/%3E%3Crect x='186' y='140' width='28' height='58' fill='%232E3A46'/%3E%3Cpath d='M180 140 L200 100 L220 140Z' fill='%232E3A46'/%3E%3Cpath d='M200 102 V58' stroke='%232E3A46' stroke-width='3'/%3E%3Cpath d='M200 58 l14 5 l-14 5z' fill='%23C21730'/%3E%3Crect x='84' y='178' width='22' height='20' fill='%232E3A46'/%3E%3Crect x='294' y='178' width='22' height='20' fill='%232E3A46'/%3E%3Crect x='0' y='232' width='400' height='68' fill='%238FA5B5'/%3E%3Cpath d='M0 250 Q25 244 50 250 T100 250 T150 250 T200 250 T250 250 T300 250 T350 250 T400 250' fill='none' stroke='%23B4C5D1' stroke-width='3'/%3E%3Cpath d='M0 274 Q25 268 50 274 T100 274 T150 274 T200 274 T250 274 T300 274 T350 274 T400 274' fill='none' stroke='%23B4C5D1' stroke-width='3'/%3E%3C/svg%3E"); }
.scene--coast { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FCEBD9'/%3E%3Cstop offset='1' stop-color='%23BFD9E4'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='300' fill='url(%23g)'/%3E%3Ccircle cx='280' cy='132' r='38' fill='%23C21730' opacity='.88'/%3E%3Crect x='0' y='170' width='400' height='130' fill='%236FA3BA'/%3E%3Cpath d='M0 200 Q50 190 100 200 T200 200 T300 200 T400 200 V300 H0Z' fill='%234C8AA5'/%3E%3Cpath d='M0 238 Q50 228 100 238 T200 238 T300 238 T400 238 V300 H0Z' fill='%232F6C88'/%3E%3Crect x='252' y='178' width='56' height='4' rx='2' fill='%23C21730' opacity='.5'/%3E%3Crect x='262' y='190' width='36' height='4' rx='2' fill='%23C21730' opacity='.4'/%3E%3Crect x='270' y='202' width='20' height='4' rx='2' fill='%23C21730' opacity='.3'/%3E%3C/svg%3E"); }
.scene--mountain { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23DCE7EE'/%3E%3Cstop offset='1' stop-color='%23F7F9FA'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='300' fill='url(%23g)'/%3E%3Ccircle cx='84' cy='70' r='24' fill='%23C21730' opacity='.8'/%3E%3Cpath d='M0 230 L96 112 L150 176 L232 90 L336 196 L400 144 V300 H0Z' fill='%23A9B8C5'/%3E%3Cpath d='M96 112 L72 142 L88 136 L100 148 L112 134 L124 142Z' fill='%23FFFFFF'/%3E%3Cpath d='M232 90 L202 128 L220 122 L234 138 L248 120 L264 130Z' fill='%23FFFFFF'/%3E%3Cpath d='M0 262 L84 184 L172 252 L262 172 L400 262 V300 H0Z' fill='%233E5265'/%3E%3Cpath d='M262 172 L240 196 L254 192 L264 202 L276 190 L288 198Z' fill='%23FFFFFF'/%3E%3Cpath d='M40 276 l10 -26 l10 26z M64 280 l8 -20 l8 20z M330 278 l10 -26 l10 26z M354 282 l8 -20 l8 20z' fill='%2322333F'/%3E%3C/svg%3E"); }
.scene--north { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%230C1828'/%3E%3Cstop offset='1' stop-color='%231B3647'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='300' fill='url(%23g)'/%3E%3Cpath d='M0 120 Q80 40 160 100 T320 70 T400 90 V140 Q320 110 240 150 T90 150 T0 160Z' fill='%235EE0B0' opacity='.28'/%3E%3Cpath d='M0 150 Q100 80 200 130 T400 110 V150 Q300 150 200 170 T0 190Z' fill='%237AF0D0' opacity='.16'/%3E%3Cg fill='%23FFFFFF' opacity='.85'%3E%3Ccircle cx='40' cy='30' r='1.6'/%3E%3Ccircle cx='110' cy='54' r='1.2'/%3E%3Ccircle cx='190' cy='24' r='1.6'/%3E%3Ccircle cx='260' cy='46' r='1.2'/%3E%3Ccircle cx='340' cy='26' r='1.6'/%3E%3Ccircle cx='372' cy='62' r='1.2'/%3E%3Ccircle cx='70' cy='86' r='1'/%3E%3Ccircle cx='300' cy='84' r='1'/%3E%3C/g%3E%3Cpath d='M0 236 Q70 206 150 232 T300 226 T400 222 V300 H0Z' fill='%23B7C6D0'/%3E%3Cpath d='M0 266 Q90 244 180 262 T400 252 V300 H0Z' fill='%23DCE6EC'/%3E%3Crect x='282' y='222' width='34' height='22' fill='%2322333F'/%3E%3Cpath d='M278 222 L299 204 L320 222Z' fill='%2322333F'/%3E%3Crect x='292' y='230' width='7' height='7' fill='%23C21730'/%3E%3C/svg%3E"); }

/* ==========================================================================
   TRANSPORT — لوحات كبيرة أفقية
   ========================================================================== */
.transport { padding: var(--section-pad-y) 0; background: var(--color-cream); }

.transport-panels { display: flex; flex-direction: column; }

.transport-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 52px 0;
  border-top: 1px solid var(--color-line);
}
.transport-panels .transport-panel:last-child { border-bottom: 1px solid var(--color-line); }

.transport-panel--reverse { grid-template-columns: 1fr 1.3fr; }
.transport-panel--reverse .transport-panel-media { order: 2; }
.transport-panel--reverse .transport-panel-info { order: 1; }

.transport-panel-media {
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
}
.transport-panel-media img {
  width: 100%; height: 100%; object-fit: cover;
  box-sizing: border-box;
  border: 1.5px solid var(--color-red);
  border-radius: var(--radius-sm);
  transition: transform .9s var(--ease-cinematic);
}
.transport-panel:hover .transport-panel-media img { transform: scale(1.04); }

.transport-panel-info { display: flex; flex-direction: column; gap: 12px; }
.transport-panel-index { font-family: var(--font-display); color: var(--color-red); font-size: 0.95rem; font-weight: 600; }
.transport-panel-info h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

/* ==========================================================================
   PACKAGES
   ========================================================================== */
.packages { padding: var(--section-pad-y) 0; background: var(--color-white); }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
}

.package-card {
  background: var(--color-white);
  padding: 40px 30px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background-color .3s ease;
}
.package-card:hover { background: var(--color-cream); }
.package-index { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--color-line); }
.package-card h3 { font-size: 1.2rem; }
.package-card p { color: var(--color-ink-soft); font-size: 0.94rem; flex-grow: 1; }
.package-link {
  color: var(--color-red); font-weight: 600; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ==========================================================================
   WHY
   ========================================================================== */
.why { padding: var(--section-pad-y) 0; background: var(--color-cream); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.why-list { display: flex; flex-direction: column; gap: 18px; }
.why-list li { position: relative; padding-inline-start: 26px; color: var(--color-ink); font-size: 1rem; line-height: 1.6; }
.why-list li::before {
  content: ""; position: absolute; inline-size: 8px; block-size: 8px; border-radius: 50%;
  background: var(--color-red); inset-inline-start: 0; top: 8px;
}

/* ==========================================================================
   STEPS — أنيميشن وتفاعل محسّن
   ========================================================================== */
.steps { padding: var(--section-pad-y) 0; background: var(--color-white); }
.steps-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px; }

.step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 2px solid var(--color-line);
  transition: transform 0.35s var(--ease-cinematic);
  cursor: default;
}

/* خط أحمر تفاعلي يتمدد فوق الخط الرمادي عند تمرير الماوس */
.step-item::before {
  content: "";
  position: absolute;
  top: -2px;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width 0.4s var(--ease-cinematic);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-red);
  display: inline-block;
  transition: transform 0.35s var(--ease-cinematic), color 0.35s ease;
}

.step-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.step-item p {
  color: var(--color-ink-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* حركة التفاعل عند مرور الماوس (Hover) */
@media (hover: hover) {
  .step-item:hover {
    transform: translateY(-6px);
  }
  .step-item:hover::before {
    width: 100%;
  }
  .step-item:hover .step-num {
    transform: scale(1.15) translateY(-2px);
  }
  .step-item:hover h3 {
    color: var(--color-red);
  }
}

/* تأخير زمني في ظهور كل خطوة (Stagger Animation) عند التمرير */
.step-item:nth-child(1) { transition-delay: 0.05s; }
.step-item:nth-child(2) { transition-delay: 0.15s; }
.step-item:nth-child(3) { transition-delay: 0.25s; }
.step-item:nth-child(4) { transition-delay: 0.35s; }
/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { padding: var(--section-pad-y) 0; background: var(--color-cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.testimonials-placeholder {
  color: var(--color-ink-soft); border: 1.5px dashed var(--color-line); border-radius: var(--radius-md);
  padding: 44px; text-align: center; grid-column: 1 / -1;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: var(--section-pad-y) 0; background: var(--color-white); }
.faq-container { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 6px 24px; }
.faq-item summary {
  cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.04rem;
  list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--color-red);
  transition: transform .3s ease; flex-shrink: 0; margin-inline-start: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--color-ink-soft); padding-bottom: 22px; font-size: 0.96rem; }

/* ==========================================================================
   FINAL SCENE — المشهد الأخير قبل الفوتر
   ========================================================================== */
.final-scene {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.final-scene-media { position: absolute; inset: 0; }
.final-scene-media img { width: 100%; height: 100%; object-fit: cover; }
.final-scene-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,7,.5) 0%, rgba(10,8,7,.6) 55%, rgba(10,8,7,.9) 100%);
}
.final-scene-content {
  position: relative; z-index: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.final-scene-title {
  color: var(--color-white);
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  line-height: 1.2;
}
.final-scene-text { color: rgba(255,255,255,.85); font-size: clamp(1rem, 1.4vw, 1.15rem); }

/* تسلسل الظهور: الصورة أولاً، ثم العنوان، ثم النص، ثم الزر.
   نفس مبدأ الإصلاح أعلاه: transform فقط بدون opacity:0، حتى لا يختفي زر
   "ابدأ رحلتك" (وهو زر تواصل واتساب مهم تجاريًا) في حال تعطّل JavaScript. */
.final-scene-title,
.final-scene-text,
.final-scene-content .btn {
  transform: translateY(18px);
  transition: transform .8s var(--ease-cinematic);
}
.final-scene-title.is-visible,
.final-scene-text.is-visible,
.final-scene-content .btn.is-visible {
  transform: translateY(0);
}

/* ==========================================================================
   FOOTER — بسيط وفخم
   ========================================================================== */
.footer { background: var(--color-ink); padding: 60px 0 30px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand { display: flex; align-items: center; }
/* قصّ بصري للحواف الشفافة فقط (الملف الأصلي لا يتغير): يُظهر منطقة الرمز بنسبتها 2216:1270 */
.logo-trim { display: block; position: relative; overflow: hidden; aspect-ratio: 2216 / 1270; }
.logo-trim img { position: absolute; max-width: none; width: 188.04%; left: -44%; top: -112.76%; }
.navbar-logo-img.logo-trim { position: absolute; height: 100%; width: auto; }
.footer-logo { width: 110px; }

.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.8); font-size: 0.94rem; transition: color .25s ease; }
.footer-links a:hover { color: var(--color-white); }

.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85);
  transition: border-color .25s ease, color .25s ease;
}
.footer-social a:hover { border-color: var(--color-red); color: var(--color-red); }
.footer-social svg { width: 18px; height: 18px; }

.footer-copy { grid-column: 1 / -1; color: rgba(255,255,255,.5); font-size: 0.85rem; text-align: center; padding-top: 24px; }
  .footer-credit {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
  text-align: center;
  padding-top: 0;
  margin: -22px 0 0;
  direction: rtl;
}

.footer-credit-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

.footer-credit-link:hover {
  color: var(--color-white);
}

/* ==========================================================================
   استجابة الهاتف والأجهزة اللوحية
   ========================================================================== */
@media (max-width: 1000px) {
  .services-layout { grid-template-columns: 1fr; gap: 30px; }
  .services-heading { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-lead { position: static; }
}

@media (max-width: 900px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .why-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-links { justify-content: center; }

  .activity-slide { flex-basis: 72%; }
  .activities-track { padding-inline: calc(50% - 36%); }

  .hotels-city-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .destination-card { aspect-ratio: 4 / 3; }

  .transport-panel, .transport-panel--reverse {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 36px 0;
  }
  .transport-panel--reverse .transport-panel-media,
  .transport-panel--reverse .transport-panel-info { order: initial; }
}

@media (max-width: 760px) {
  .navbar-logo-swap { height: 40px; width: 79px; }

  .hero-actions { flex-direction: column; width: 100%; max-width: 280px; }
  .hero-actions .btn { width: 100%; }

  .activity-slide { flex-basis: 84%; }
  .activities-track { padding-inline: calc(50% - 42%); gap: 14px; }
  .slider-arrow { width: 38px; height: 38px; }
  .slider-arrow svg { width: 16px; height: 16px; }

  .destinations-grid { grid-template-columns: 1fr; gap: 14px; }
  .destination-card { aspect-ratio: 16 / 10; }
  .hotels-city-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --section-pad-y: 64px; }
  .final-scene { min-height: 70vh; }
  .footer-links { flex-direction: column; gap: 14px; }
  .packages-grid { grid-template-columns: 1fr; }
  .hotel-card-body { padding: 18px; }
  .btn-lg { padding: 16px 32px; }
}

/* ==========================================================================
   DRAWER — قائمة الهاتف (عنصر مستقل خارج <header>)
   السبب الحقيقي للمشكلة السابقة: القائمة كانت داخل .navbar الذي يحصل على
   backdrop-filter عند التمرير، وأي backdrop-filter/transform على الأب يجعل
   position:fixed للأبناء نسبةً إلى الأب (ارتفاع ~70px) لا إلى الشاشة، فتُقصّ
   القائمة. الحل البنيوي: القائمة عنصر مستقل على مستوى <body>.
   ========================================================================== */
html.no-scroll, html.no-scroll body { overflow: hidden; }

.drawer-overlay {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(10,8,7,.5);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }

.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 120;
  width: min(86vw, 360px);
  background: #FFFFFF;
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .38s var(--ease-cinematic), visibility 0s linear .38s;
}
.drawer.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }

.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--color-line); }
.drawer-logo { height: 44px; width: auto; object-fit: contain; }
.drawer-close {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--color-line); background: #fff; color: var(--color-ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.drawer-close svg { width: 20px; height: 20px; }
.drawer-links { display: flex; flex-direction: column; padding: 14px 0; flex: 1; }
.drawer-links a {
  display: block; padding: 15px 4px;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-line);
}
.drawer-links a:active { color: var(--color-red); }
.drawer-cta { width: 100%; margin-top: 8px; }

@media (min-width: 901px) {
  .drawer, .drawer-overlay { display: none; }
}

/* تحسينات تباعد (مراجعة نهائية) */
.section-head .intro-text { margin-top: 16px; }
.hotel-card-name { margin: 0; }
.hotel-card-desc { margin: 0; }
