/**
 * Caravanserai (كرفان سراي للتحف والأنتيك وتجهيز المتاحف)
 * Master Museum & High-Auction Design System
 * 
 * Aesthetic Direction:
 * - Palette: Deep Midnight Navy Blue transitioning to Inky Blue-Black with Warm Museum Ivory
 * - Accents: Muted Antique Brass Gold (#C5A059), Fine Eastern Arches & Subtle Hairlines
 * - Ambiance: Museum Vitrine Spotlighting, Directional Illumination, Deep Shadows
 * - Typography: Classical Serifs (Amiri, Aref Ruqaa, Cinzel, Playfair Display)
 */

/* ==========================================================================
   Design Tokens & CSS Variables
   ========================================================================== */
:root {
  /* Midnight Blue & Obsidian Palette */
  --bg-void: #03060f;
  --bg-midnight: #060d1f;
  --bg-surface: #0a1530;
  --bg-surface-elevated: #0f1f44;
  --bg-glass: rgba(6, 13, 31, 0.88);
  --bg-card: rgba(10, 21, 48, 0.65);
  --bg-card-hover: rgba(15, 31, 68, 0.85);

  /* Antique Brass & Imperial Gold */
  --gold-primary: #C5A059;
  --gold-light: #E5C78A;
  --gold-dark: #916E2E;
  --gold-glow: rgba(197, 160, 89, 0.22);
  --gold-glow-intense: rgba(197, 160, 89, 0.45);
  --gold-gradient: linear-gradient(135deg, #F3E2B8 0%, #C5A059 50%, #916E2E 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(229, 199, 138, 0.12) 0%, rgba(197, 160, 89, 0.04) 100%);

  /* Museum Lighting Vignettes */
  --spotlight-gradient: radial-gradient(circle at 50% 25%, rgba(197, 160, 89, 0.12) 0%, rgba(6, 13, 31, 0) 70%);
  --spotlight-intense: radial-gradient(circle at 50% 30%, rgba(229, 199, 138, 0.18) 0%, rgba(6, 13, 31, 0) 65%);

  /* Typography Colors */
  --text-ivory: #F7F3EB;
  --text-ivory-dim: #EDE4D3;
  --text-secondary: #B8C3D4;
  --text-muted: #748399;
  --text-gold: #C5A059;

  /* Hairlines & Borders */
  --border-subtle: rgba(197, 160, 89, 0.18);
  --border-gold: rgba(197, 160, 89, 0.45);
  --border-gold-glow: rgba(229, 199, 138, 0.85);

  /* Shadows */
  --shadow-vitrine: 0 30px 90px -20px rgba(0, 0, 0, 0.85), 0 0 40px rgba(197, 160, 89, 0.08);
  --shadow-spotlight: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-floating: 0 10px 40px rgba(0, 0, 0, 0.9);

  /* Typography Families */
  --font-arabic-title: 'Amiri', 'Aref Ruqaa', Georgia, serif;
  --font-arabic-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-latin-serif: 'Cinzel', 'Playfair Display', Georgia, serif;

  /* Transitions & Animation Physics */
  --ease-museum: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: 0.25s var(--ease-soft);
  --transition-smooth: 0.65s var(--ease-museum);
  --transition-long: 1.1s var(--ease-museum);

  /* Border Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

/* ==========================================================================
   CSS Reset & Base Rules
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-void);
  color: var(--text-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-arabic-body);
  background: var(--bg-void);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(15, 31, 68, 0.45) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(10, 21, 48, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(10, 21, 48, 0.35) 0%, transparent 50%);
  color: var(--text-ivory);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body.ltr {
  direction: ltr;
  text-align: left;
}

body.ltr .font-serif-title {
  font-family: var(--font-latin-serif);
  letter-spacing: 0.04em;
}

/* Custom Selection */
::selection {
  background: var(--gold-primary);
  color: #03060f;
}

/* ==========================================================================
   Custom Museum Cursor (Desktop Only)
   ========================================================================== */
.custom-cursor-dot,
.custom-cursor-ring {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: transform;
}

.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-light);
  box-shadow: 0 0 10px var(--gold-light);
}

.custom-cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(229, 199, 138, 0.55);
  transition: width 0.3s var(--ease-soft), height 0.3s var(--ease-soft), background 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-cursor-ring.hover-active {
  width: 64px;
  height: 64px;
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--gold-light);
  backdrop-filter: blur(2px);
}

.cursor-text {
  font-size: 0.65rem;
  color: var(--gold-light);
  font-family: var(--font-arabic-title);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  white-space: nowrap;
}

.custom-cursor-ring.hover-active .cursor-text {
  opacity: 1;
  transform: scale(1);
}

@media (pointer: coarse), (max-width: 992px) {
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   Curtain Opening Screen (شاشة الافتتاح)
   ========================================================================== */
.curtain-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #03060f;
  overflow: hidden;
  transition: opacity 0.8s var(--ease-museum), visibility 0.8s var(--ease-museum);
}

.curtain-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background: linear-gradient(to bottom, #050b1a 0%, #03060f 100%);
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.95);
}

.curtain-left {
  left: 0;
  border-right: 1px solid rgba(197, 160, 89, 0.3);
}

.curtain-right {
  right: 0;
  border-left: 1px solid rgba(197, 160, 89, 0.3);
}

.curtain-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  transition: opacity 0.6s ease, transform 0.6s var(--ease-museum);
}

.curtain-crest-wrap {
  position: relative;
  width: 140px;
  height: 105px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 25px rgba(197, 160, 89, 0.65));
  animation: crestPulse 3s infinite alternate ease-in-out;
}

.curtain-crest-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes crestPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.45)); }
  100% { transform: scale(1.04); filter: drop-shadow(0 0 35px rgba(229, 199, 138, 0.8)); }
}

.curtain-title {
  font-family: var(--font-arabic-title);
  font-size: 2.2rem;
  color: var(--text-ivory);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.curtain-subtitle {
  font-size: 0.95rem;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-family: var(--font-latin-serif);
}

.curtain-progress-bar {
  width: 180px;
  height: 2px;
  background: rgba(197, 160, 89, 0.15);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.curtain-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  animation: loadFill 1.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes loadFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

.curtain-skip-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.5rem 1rem;
}

.curtain-skip-btn:hover {
  color: var(--gold-light);
}

/* Curtain Opened State */
.curtain-intro.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.curtain-intro.opened .curtain-left {
  transform: translateX(-100%);
}

.curtain-intro.opened .curtain-right {
  transform: translateX(100%);
}

.curtain-intro.opened .curtain-content {
  opacity: 0;
  transform: scale(0.92);
}

/* ==========================================================================
   Header & 4-Pillar Navbar (العناوين الأربعة الرئيسية فقط)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(4, 8, 20, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 0.45s var(--ease-museum), background 0.35s ease, border-color 0.35s ease;
}

.site-header.nav-hidden {
  transform: translateY(-100%);
}

.site-header.scrolled {
  background: rgba(3, 6, 15, 0.94);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.85rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Link with Crest */
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.nav-brand-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  filter: drop-shadow(0 2px 10px rgba(197, 160, 89, 0.45));
  transition: transform var(--transition-smooth), filter var(--transition-fast);
}

.nav-brand:hover .nav-brand-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 18px rgba(229, 199, 138, 0.7));
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-title {
  font-family: var(--font-arabic-title);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-ivory);
  line-height: 1.1;
  white-space: nowrap;
}

.nav-brand-subtitle {
  font-size: 0.72rem;
  color: var(--gold-primary);
  letter-spacing: 0.08em;
  font-family: var(--font-latin-serif);
}

/* Exactly 4 Primary Navigation Links (العناوين الأربعة الرئيسية) */
.nav-pillars {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-pillar-link {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.45rem 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-pillar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-gradient);
  transition: width 0.35s var(--ease-museum);
}

body.ltr .nav-pillar-link::after {
  right: auto;
  left: 0;
}

.nav-pillar-link:hover,
.nav-pillar-link.active {
  color: var(--text-ivory);
}

.nav-pillar-link:hover::after,
.nav-pillar-link.active::after {
  width: 100%;
}

/* Header CTAs */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-vip-header {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.4rem;
  background: var(--gold-gradient);
  color: #060d1f;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.btn-vip-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(229, 199, 138, 0.55);
}

.lang-switch-btn {
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-switch-btn:hover {
  background: rgba(197, 160, 89, 0.2);
  border-color: var(--gold-primary);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   Eastern Arch Divider (أقواس أندلسية وشرقية رقيقة كفواصل)
   ========================================================================== */
.arch-separator {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0;
  pointer-events: none;
  overflow: hidden;
}

.arch-separator svg {
  width: 320px;
  height: 24px;
  stroke: var(--gold-primary);
  stroke-width: 1;
  fill: none;
  opacity: 0.55;
}

.arch-separator::before,
.arch-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.25) 50%, transparent 100%);
}

/* ==========================================================================
   Section 2: Cinematic Hero (الواجهة السينمائية)
   ========================================================================== */
.hero-cinema {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 5rem;
  overflow: hidden;
}

/* Fullscreen Background Media with Slow Ambient Motion */
.hero-media-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-media-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroKenBurns 28s alternate infinite ease-in-out;
  filter: brightness(0.65) contrast(1.1);
}

@keyframes heroKenBurns {
  0% { transform: scale(1.08) translate(0, 0); }
  50% { transform: scale(1.15) translate(-1.5%, 1%); }
  100% { transform: scale(1.08) translate(1.5%, -1%); }
}

.hero-vignette-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    radial-gradient(circle at 50% 45%, rgba(6, 13, 31, 0.25) 0%, rgba(3, 6, 15, 0.92) 80%),
    linear-gradient(to top, var(--bg-void) 0%, transparent 40%),
    linear-gradient(to bottom, var(--bg-void) 0%, transparent 25%);
}

/* Wireframe Rotating Globe Vector Background (خريطة العالم والكرة الأرضية الخافتة) */
.hero-globe-svg-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  height: 720px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.12;
  animation: slowGlobeRotate 90s linear infinite;
}

@keyframes slowGlobeRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-globe-svg-wrap svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold-light);
  fill: none;
}

/* Hero Content Area */
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-crest-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.4rem;
  background: rgba(10, 21, 48, 0.7);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title-main {
  font-family: var(--font-arabic-title);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-ivory);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

.hero-title-main .gold-shimmer {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc-lead {
  font-size: 1.35rem;
  color: var(--text-secondary);
  max-width: 820px;
  line-height: 1.85;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.4rem;
  background: var(--gold-gradient);
  color: #060d1f;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(197, 160, 89, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 45px rgba(229, 199, 138, 0.55);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.2rem;
  background: rgba(10, 21, 48, 0.5);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: background var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
}

.btn-hero-secondary:hover {
  background: var(--gold-primary);
  color: #040814;
  transform: translateY(-3px);
}

/* Hero Stats Indicator */
.hero-curators-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 860px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-latin-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section 3: The 4 Core Departments (الأقسام الأربعة الرئيسية)
   ========================================================================== */
.departments-section {
  position: relative;
  padding: 7rem 0 5rem;
  background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-midnight) 50%, var(--bg-void) 100%);
  overflow: hidden;
}

.section-head-wrap {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.section-tag-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-primary);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  font-family: var(--font-latin-serif);
}

.section-title-museum {
  font-family: var(--font-arabic-title);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-ivory);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.section-subtitle-museum {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
}

/* 4 Departments Horizontal / Grid Layout */
.departments-grid-large {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.dept-card {
  position: relative;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 1.8rem;
}

.dept-card-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.dept-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-museum), filter 0.8s ease;
  filter: brightness(0.6) contrast(1.1);
}

.dept-card:hover .dept-card-media img {
  transform: scale(1.12);
  filter: brightness(0.8) contrast(1.15);
}

.dept-card-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(3, 6, 15, 0.98) 0%, rgba(6, 13, 31, 0.45) 55%, transparent 100%);
  transition: background 0.5s ease;
}

.dept-card:hover .dept-card-vignette {
  background: linear-gradient(to top, rgba(3, 6, 15, 0.94) 0%, rgba(6, 13, 31, 0.25) 60%, transparent 100%);
}

.dept-card-content {
  position: relative;
  z-index: 3;
}

.dept-index-num {
  font-family: var(--font-latin-serif);
  font-size: 0.9rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  display: block;
}

.dept-card-title {
  font-family: var(--font-arabic-title);
  font-size: 1.85rem;
  color: var(--text-ivory);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.dept-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.dept-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.dept-items-count {
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-weight: 500;
}

.dept-explore-link {
  font-size: 0.85rem;
  color: var(--text-ivory);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.dept-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(197, 160, 89, 0.2);
}

.dept-card:hover .dept-explore-link {
  color: var(--gold-light);
  transform: translateX(-4px);
}

body.ltr .dept-card:hover .dept-explore-link {
  transform: translateX(4px);
}

/* ==========================================================================
   Section 4: Curated Masterpieces (القطع المختارة - شبكة غير متماثلة)
   ========================================================================== */
.curated-section {
  position: relative;
  padding: 6rem 0;
  background: var(--bg-void);
}

.museum-filters-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.filter-pill-museum {
  background: rgba(10, 21, 48, 0.5);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill-museum:hover,
.filter-pill-museum.active {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #03060f;
  box-shadow: 0 4px 18px rgba(197, 160, 89, 0.35);
}

/* Asymmetric Museum Grid (ليست بطاقات متساوية - شبكة متحفية غير متماثلة) */
.asymmetric-museum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 290px;
  gap: 1.75rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.museum-piece-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.8rem;
}

/* Grid Spanning Classes for Asymmetric Mosaic */
.museum-piece-card.span-tall {
  grid-row: span 2;
}

.museum-piece-card.span-wide {
  grid-column: span 2;
}

.museum-piece-card.span-standard {
  grid-row: span 1;
}

/* Vitrine Spotlight Background */
.piece-media-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.piece-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-museum), filter 0.6s ease;
  filter: brightness(0.68) contrast(1.1);
}

.museum-piece-card:hover .piece-media-wrap img {
  transform: scale(1.08);
  filter: brightness(0.85) contrast(1.15);
}

.piece-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    radial-gradient(circle at 50% 30%, rgba(197, 160, 89, 0.08) 0%, transparent 60%),
    linear-gradient(to top, rgba(3, 6, 15, 0.95) 0%, rgba(6, 13, 31, 0.35) 60%, transparent 100%);
}

.piece-content-area {
  position: relative;
  z-index: 3;
}

.piece-era-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--gold-light);
  background: rgba(10, 21, 48, 0.8);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.75rem;
}

.piece-title {
  font-family: var(--font-arabic-title);
  font-size: 1.6rem;
  color: var(--text-ivory);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.piece-provenance-brief {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.piece-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.piece-price-tag {
  font-family: var(--font-latin-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
}

.btn-inspect-piece {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-ivory);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.museum-piece-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-vitrine);
}

.museum-piece-card:hover .btn-inspect-piece {
  background: var(--gold-primary);
  color: #03060f;
  border-color: var(--gold-primary);
}

/* ==========================================================================
   Section 5: Interactive Piece Modal / Provenance Passport (صفحة القطعة)
   ========================================================================== */
.modal-museum-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: rgba(3, 6, 15, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-museum-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-museum-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  max-width: 1180px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.95), 0 0 60px rgba(197, 160, 89, 0.25);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.45s var(--ease-museum);
}

.modal-museum-overlay.active .modal-museum-box {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 21, 48, 0.8);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

body.ltr .modal-close-btn {
  right: auto;
  left: 1.5rem;
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #03060f;
  transform: rotate(90deg);
}

.modal-split-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 600px;
}

/* Gallery & Zoom Showcase */
.modal-gallery-side {
  background: #03060f;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border-left: 1px solid var(--border-subtle);
}

body.ltr .modal-gallery-side {
  border-left: none;
  border-right: 1px solid var(--border-subtle);
}

.modal-main-stage {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.12) 0%, #03060f 75%);
  cursor: crosshair;
}

.modal-main-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease-out;
}

.modal-thumbs-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.modal-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--transition-fast), border-color var(--transition-fast);
}

.modal-thumb.active,
.modal-thumb:hover {
  opacity: 1;
  border-color: var(--gold-primary);
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Passport & Provenance Data */
.modal-passport-side {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
}

.passport-seal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-primary);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-family: var(--font-latin-serif);
}

.passport-piece-title {
  font-family: var(--font-arabic-title);
  font-size: 2.2rem;
  color: var(--text-ivory);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.passport-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.passport-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.12);
}

.passport-table .label-cell {
  color: var(--gold-light);
  width: 38%;
  font-weight: 500;
}

.passport-table .val-cell {
  color: var(--text-ivory-dim);
}

.passport-desc-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.passport-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-ask-whatsapp {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.8rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-ask-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   Section 6: Interactive 3D Coin Flip Experience (قسم العملات التفاعلي)
   ========================================================================== */
.coins-section {
  position: relative;
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-midnight) 50%, var(--bg-void) 100%);
}

.coin-showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* 3D Coin Flipping Element */
.coin-3d-wrap {
  perspective: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.coin-card-3d {
  width: 360px;
  height: 360px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.coin-card-3d.flipped {
  transform: rotateY(180deg);
}

.coin-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(229, 199, 138, 0.4);
  border: 4px solid var(--gold-dark);
  overflow: hidden;
  background: #03060f;
}

.coin-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coin-face.reverse-face {
  transform: rotateY(180deg);
}

.coin-flip-hint {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold-light);
  font-size: 0.85rem;
  background: rgba(10, 21, 48, 0.6);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.coin-flip-hint:hover {
  background: rgba(197, 160, 89, 0.2);
}

/* Coin Data & Specs */
.coin-details-pane {
  display: flex;
  flex-direction: column;
}

.coin-era-badge {
  color: var(--gold-primary);
  font-family: var(--font-latin-serif);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.coin-name-heading {
  font-family: var(--font-arabic-title);
  font-size: 2.5rem;
  color: var(--text-ivory);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.coin-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.spec-cell {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.spec-cell-label {
  font-size: 0.78rem;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
  display: block;
}

.spec-cell-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-ivory);
}

.coin-inscription-box {
  background: rgba(6, 13, 31, 0.7);
  border-right: 3px solid var(--gold-primary);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-ivory-dim);
  line-height: 1.7;
}

body.ltr .coin-inscription-box {
  border-right: none;
  border-left: 3px solid var(--gold-primary);
}

/* ==========================================================================
   Section 7: Restoration Atelier & Before/After Slider (الترميم المتخصص)
   ========================================================================== */
.restoration-section {
  position: relative;
  padding: 7rem 0;
  background: var(--bg-void);
}

.restoration-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

.slider-comparison-box {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 540px;
  margin: 0 auto 3rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 40px rgba(197, 160, 89, 0.15);
  border: 1.5px solid var(--border-gold);
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}

.slider-layer-after,
.slider-layer-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider-layer-after img,
.slider-layer-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.slider-layer-before {
  width: 50%;
  border-left: 2px solid var(--gold-light);
  z-index: 2;
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.6);
}

body.ltr .slider-layer-before {
  border-left: none;
  border-right: 2px solid var(--gold-light);
}

.layer-tag {
  position: absolute;
  top: 1.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(3, 6, 15, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  z-index: 5;
}

.layer-tag.before-tag {
  right: 1.5rem;
}

.layer-tag.after-tag {
  left: 1.5rem;
}

body.ltr .layer-tag.before-tag {
  right: auto;
  left: 1.5rem;
}

body.ltr .layer-tag.after-tag {
  left: auto;
  right: 1.5rem;
}

/* Slider Draggable Divider Handle */
.slider-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gold-gradient);
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: none;
}

.slider-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  box-shadow: 0 0 25px rgba(229, 199, 138, 0.8), 0 4px 15px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #03060f;
  font-size: 1.1rem;
}

/* Restoration Narrative Details */
.restoration-story-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.resto-col h4 {
  font-family: var(--font-arabic-title);
  font-size: 1.35rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resto-col p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Section 8: Museum & Gallery Outfitting (تجهيز المتاحف والمعارض)
   ========================================================================== */
.museums-section {
  position: relative;
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-midnight) 50%, var(--bg-void) 100%);
}

.museums-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.museum-specs-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.spec-feature-card {
  display: flex;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.spec-feature-card:hover {
  transform: translateX(-6px);
  border-color: var(--gold-primary);
}

body.ltr .spec-feature-card:hover {
  transform: translateX(6px);
}

.spec-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.spec-text-area h4 {
  font-family: var(--font-arabic-title);
  font-size: 1.35rem;
  color: var(--text-ivory);
  margin-bottom: 0.4rem;
}

.spec-text-area p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* RFQ Form for Institutions */
.rfq-form-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-vitrine);
}

.rfq-form-card h3 {
  font-family: var(--font-arabic-title);
  font-size: 2rem;
  color: var(--text-ivory);
  margin-bottom: 0.5rem;
}

.rfq-form-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.rfq-input-group {
  margin-bottom: 1.25rem;
}

.rfq-label {
  display: block;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.rfq-input,
.rfq-select,
.rfq-textarea {
  width: 100%;
  background: rgba(4, 8, 20, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  color: var(--text-ivory);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.rfq-input:focus,
.rfq-select:focus,
.rfq-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.25);
}

.rfq-textarea {
  min-height: 100px;
  resize: vertical;
}

/* ==========================================================================
   Section 9: The Caravanserai Story & Trade Routes Map (قصة كرفان سراي وخريطة القوافل)
   ========================================================================== */
.caravan-story-section {
  position: relative;
  padding: 7rem 0;
  background: var(--bg-void);
  overflow: hidden;
}

.caravan-map-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

.caravan-svg-stage {
  position: relative;
  width: 100%;
  height: 520px;
  background: radial-gradient(circle at 50% 50%, #0a1530 0%, #03060f 80%);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-gold);
  overflow: hidden;
  box-shadow: var(--shadow-vitrine);
  margin-top: 3rem;
}

.caravan-svg-stage svg {
  width: 100%;
  height: 100%;
}

.trade-route-path {
  stroke: var(--gold-primary);
  stroke-width: 2;
  stroke-dasharray: 8 6;
  fill: none;
  animation: dashMarch 30s linear infinite;
  opacity: 0.75;
}

@keyframes dashMarch {
  to { stroke-dashoffset: -1000; }
}

.map-station-node {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.map-station-node:hover {
  transform: scale(1.3);
}

.station-pulse-circle {
  fill: rgba(197, 160, 89, 0.25);
  animation: stationPulse 2s infinite ease-out;
}

@keyframes stationPulse {
  0% { r: 6; opacity: 1; }
  100% { r: 24; opacity: 0; }
}

/* Active Station Info Box */
.station-info-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 520px;
  background: rgba(4, 8, 20, 0.92);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

body.ltr .station-info-overlay {
  left: auto;
  right: 2rem;
}

.station-info-name {
  font-family: var(--font-arabic-title);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.station-info-role {
  font-size: 0.9rem;
  color: var(--text-ivory);
  margin-bottom: 0.5rem;
}

.station-info-goods {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section 10: Provenance & Trust, VIP Testimonials, FAQs (التوثيق والأصالة)
   ========================================================================== */
.trust-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-midnight) 50%, var(--bg-void) 100%);
}

.trust-pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
}

.trust-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.trust-pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
}

.trust-icon-aura {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.25) 0%, transparent 70%);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.trust-pillar-card h3 {
  font-family: var(--font-arabic-title);
  font-size: 1.6rem;
  color: var(--text-ivory);
  margin-bottom: 0.75rem;
}

.trust-pillar-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* VIP Reviews Grid */
.testimonials-museum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
}

.review-card-museum {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars-gold {
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.review-quote-text {
  font-size: 0.95rem;
  color: var(--text-ivory-dim);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
}

.review-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-primary);
}

.author-name-title h4 {
  font-size: 0.95rem;
  color: var(--text-ivory);
  margin-bottom: 0.2rem;
}

.author-name-title span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-museum-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq-museum-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-museum-item.open {
  border-color: var(--gold-primary);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-ivory);
  font-family: var(--font-arabic-title);
  font-size: 1.3rem;
  text-align: inherit;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question-btn:hover {
  color: var(--gold-light);
}

.faq-icon-arrow {
  color: var(--gold-primary);
  font-size: 1rem;
  transition: transform var(--transition-fast);
}

.faq-museum-item.open .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer-pane {
  padding: 0 1.75rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  display: none;
}

.faq-museum-item.open .faq-answer-pane {
  display: block;
}

/* ==========================================================================
   Section 11: Visit & Concierge Closing (زيارة صالة التشريفات والتواصل)
   ========================================================================== */
.visit-closing-section {
  position: relative;
  padding: 7rem 0 5rem;
  background: #03060f;
  border-top: 1px solid var(--border-subtle);
}

.visit-closing-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.visit-info-column h2 {
  font-family: var(--font-arabic-title);
  font-size: 2.8rem;
  color: var(--text-ivory);
  margin-bottom: 1.25rem;
}

.visit-info-column p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.visit-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.visit-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.visit-text-block h4 {
  font-size: 1rem;
  color: var(--text-ivory);
  margin-bottom: 0.25rem;
}

.visit-text-block span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.visit-map-column {
  height: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-vitrine);
}

.visit-map-column iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(1.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer-museum {
  background: #02040a;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2.5rem;
}

.footer-top-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand-pane img {
  height: 60px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 2px 10px rgba(197, 160, 89, 0.5));
}

.footer-brand-pane p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer-social-strip {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 21, 48, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--gold-primary);
  color: #03060f;
  border-color: var(--gold-primary);
  transform: translateY(-3px);
}

.footer-links-col h5 {
  font-family: var(--font-arabic-title);
  font-size: 1.25rem;
  color: var(--text-ivory);
  margin-bottom: 1.25rem;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col li {
  margin-bottom: 0.65rem;
}

.footer-links-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links-col a:hover {
  color: var(--gold-light);
}

.footer-bottom-bar {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
  border-top: 1px solid rgba(197, 160, 89, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Floating Discrete WhatsApp Concierge */
.floating-concierge-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(4, 8, 20, 0.9);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  text-decoration: none;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(197, 160, 89, 0.3);
  transition: all var(--transition-fast);
}

body.ltr .floating-concierge-btn {
  right: auto;
  left: 2rem;
}

.floating-concierge-btn:hover {
  background: var(--gold-primary);
  color: #03060f;
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(197, 160, 89, 0.5);
}

.floating-concierge-btn i {
  font-size: 1.3rem;
  color: #25D366;
}

.floating-concierge-btn:hover i {
  color: #03060f;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .departments-grid-large {
    grid-template-columns: repeat(2, 1fr);
  }
  .dept-card {
    height: 460px;
  }
  .asymmetric-museum-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .museum-piece-card.span-wide {
    grid-column: span 1;
  }
  .coin-showcase-container,
  .museums-layout,
  .visit-closing-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-top-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-pillars {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title-main {
    font-size: 3rem;
  }
  .hero-curators-stats {
    gap: 1.5rem;
  }
  .modal-split-layout {
    grid-template-columns: 1fr;
  }
  .modal-main-stage {
    height: 320px;
  }
  .trust-pillars-row,
  .testimonials-museum-grid {
    grid-template-columns: 1fr;
  }
  .restoration-story-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0.75rem 1.25rem;
  }
  .nav-brand-img {
    height: 38px;
  }
  .nav-brand-title {
    font-size: 1.2rem;
  }
  .nav-brand-subtitle {
    display: none;
  }
  .btn-vip-header span {
    display: none;
  }
  .hero-cinema {
    padding: 6.5rem 1.25rem 3.5rem;
  }
  .hero-title-main {
    font-size: 2.3rem;
  }
  .hero-desc-lead {
    font-size: 1.05rem;
  }
  .hero-curators-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .departments-grid-large {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  .dept-card {
    height: 400px;
  }
  .asymmetric-museum-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    padding: 0 1rem;
  }
  .museum-piece-card.span-tall,
  .museum-piece-card.span-wide,
  .museum-piece-card.span-standard {
    grid-column: span 1;
    grid-row: span 1;
    height: 420px;
  }
  .coin-card-3d {
    width: 270px;
    height: 270px;
  }
  .slider-comparison-box {
    height: 340px;
  }
  .caravan-svg-stage {
    height: 400px;
  }
  .footer-top-container {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .floating-concierge-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

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