/* ==========================================================================
   VARQ HOSPITALITY — MASTER DESIGN SYSTEM & VISUAL FIDELITY SPECIFICATION
   ========================================================================== */

:root {
  /* Dynamic Typography Engine */
  --font-scale: 1rem;
  --font-family-base: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-editorial: 'Cinzel', 'Playfair Display', serif;

  /* Theme Tokens: Midnight Luxury Hospitality (Dark Mode - Default) */
  --bg-primary: #0a0806;
  --bg-secondary: #120e0b;
  --bg-surface: #191410;
  --bg-card: rgba(26, 20, 15, 0.75);
  --bg-card-hover: rgba(40, 30, 22, 0.9);
  --bg-glass: rgba(10, 8, 6, 0.45);
  --bg-glass-elevated: rgba(22, 16, 12, 0.92);

  /* Hotels Section Contrast Marble */
  --bg-hotels-section: #f4f1eb;
  --text-hotels-title: #18120c;
  --text-hotels-sub: #5c4e43;
  --border-hotels: rgba(24, 18, 12, 0.12);

  /* Primary Palette */
  --text-primary: #f8f5ef;
  --text-secondary: #cfc2b2;
  --text-muted: #9c8a78;
  --text-inverse: #140d08;

  /* Royal Champagne Gold */
  --accent-gold: #c59b4e;
  --accent-gold-light: #dfbe7d;
  --accent-gold-hover: #b5893a;
  --accent-gold-soft: rgba(197, 155, 78, 0.15);
  --accent-gold-border: rgba(197, 155, 78, 0.35);

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(197, 155, 78, 0.22);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-luxury: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 8px 30px rgba(197, 155, 78, 0.25);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Expansive Container Scale */
  --container-max: 1560px;
}

/* Light Mode: Warm Sand, Ivory & Champagne Gold */
[data-theme="light"] {
  --bg-primary: #fcfaf7;
  --bg-secondary: #f4ede4;
  --bg-surface: #ebe3d7;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(252, 250, 247, 0.8);
  --bg-glass-elevated: rgba(255, 255, 255, 0.95);

  --bg-hotels-section: #f9f7f2;
  --text-hotels-title: #18120c;
  --text-hotels-sub: #5c4e43;
  --border-hotels: rgba(40, 25, 15, 0.1);

  --text-primary: #1c140e;
  --text-secondary: #4a3c30;
  --text-muted: #736456;
  --text-inverse: #ffffff;

  --accent-gold: #a67c33;
  --accent-gold-light: #8c6422;
  --accent-gold-hover: #7b561c;
  --accent-gold-soft: rgba(166, 124, 51, 0.12);
  --accent-gold-border: rgba(166, 124, 51, 0.3);

  --border-subtle: rgba(40, 25, 15, 0.09);
  --border-card: rgba(166, 124, 51, 0.22);
  --shadow-subtle: 0 4px 20px rgba(40, 25, 15, 0.06);
  --shadow-luxury: 0 16px 40px rgba(40, 25, 15, 0.12);
  --shadow-gold: 0 8px 24px rgba(166, 124, 51, 0.15);
}

/* High Contrast Mode */
[data-contrast="high"] {
  --border-subtle: rgba(255, 255, 255, 0.35) !important;
  --text-muted: #e0d5c8 !important;
  --text-secondary: #ffffff !important;
}

[data-theme="light"][data-contrast="high"] {
  --border-subtle: rgba(0, 0, 0, 0.45) !important;
  --text-muted: #2a1b12 !important;
  --text-secondary: #000000 !important;
}

/* Reduced Motion */
[data-motion="reduced"] *,
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Reset & Semantic Foundations */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-scale);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility: Skip Link & Focus */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent-gold);
  color: var(--text-inverse);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid #ffffff;
}

:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

/* Layout Utilities */
.header-container,
.section-container,
.hero-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 56px);
  width: 100%;
}

/* ==========================================================================
   FLOATING LUXURY HEADER & NAVIGATION (EXACT VISUAL MATCH)
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 90px;
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

/* Match master reference: Logo on Left, Nav in Center, Actions on Right */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  direction: ltr; /* Keeps Logo on the Left and Actions on the Right */
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.02);
}

/* Desktop Nav Menu: RTL text order inside LTR container */
.main-nav {
  display: flex;
  align-items: center;
  direction: rtl;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(14px, 2vw, 28px);
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

[data-theme="light"] .nav-link {
  color: var(--text-secondary);
}

.nav-link:hover {
  color: #ffffff;
}

[data-theme="light"] .nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: #ffffff;
}

[data-theme="light"] .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

/* Header Actions Group (Right Side) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  direction: rtl;
}

.action-pill-btn,
.action-icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

[data-theme="light"] .action-pill-btn,
[data-theme="light"] .action-icon-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

.action-icon-btn {
  padding: 8px;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  justify-content: center;
  font-size: 1rem;
}

.action-pill-btn:hover,
.action-icon-btn:hover {
  background: var(--accent-gold-soft);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Dropdown Menus */
.lang-dropdown-wrapper,
.a11y-dropdown-wrapper {
  position: relative;
}

.lang-menu,
.a11y-popover {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  background: var(--bg-glass-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-luxury);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  z-index: 1100;
  min-width: 170px;
}

.lang-menu.open,
.a11y-popover.open {
  display: flex;
}

.lang-item {
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 8px 12px;
  text-align: start;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lang-item:hover,
.lang-item.active {
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
}

.a11y-popover {
  min-width: 250px;
  padding: 16px;
  gap: 12px;
}

.a11y-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.a11y-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.a11y-badge {
  font-size: 0.78rem;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.font-scale-group {
  display: flex;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.font-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border-inline-end: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.font-btn:last-child {
  border-inline-end: none;
}

.font-btn:hover {
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
}

.a11y-divider {
  height: 1px;
  background: var(--border-subtle);
}

.a11y-toggles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.a11y-toggle-row {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.a11y-toggle-row:hover,
.a11y-toggle-row.active {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: var(--accent-gold-soft);
}

/* Book Stay CTA Pill */
.btn-book {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(12px);
}

[data-theme="light"] .btn-book {
  background: #1c140e;
  color: #ffffff;
  border-color: #1c140e;
}

.btn-book:hover {
  background: var(--accent-gold);
  color: var(--text-inverse);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   1. HERO SECTION (EXPANSIVE CINEMATIC ARCHITECTURE)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 50px;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.2) 0%, rgba(10, 8, 6, 0.45) 55%, rgba(10, 8, 6, 0.95) 100%),
              url('../images/home/hero-bg.jpg?v=2.2') center center / cover no-repeat;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

[data-theme="light"] .hero-section {
  background: linear-gradient(180deg, rgba(252, 250, 247, 0.35) 0%, rgba(252, 250, 247, 0.65) 55%, rgba(252, 250, 247, 0.95) 100%),
              url('../images/home/hero-bg.jpg?v=2.2') center center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
  position: relative;
  z-index: 2;
}

/* RTL: Order 1 is on the Right (content), Order 2 is on the Left (visual) */
.hero-content {
  order: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-visual {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-inline-end: clamp(10px, 3vw, 30px);
}

.hero-brand-emblem {
  margin-bottom: 16px;
}

.hero-logo-large {
  max-width: 220px;
  height: auto;
  object-fit: contain;
}

.hero-title {
  font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 620px;
  font-weight: 400;
}

/* Dual Access Cards */
.hero-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 580px;
}

.access-card {
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.access-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.access-icon {
  width: 32px;
  height: 32px;
  stroke: currentColor;
}

.access-card-guest {
  background: #fbf7ee;
  color: #1a130e;
  border: 1px solid #ebd9bf;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.access-card-guest:hover {
  transform: translateY(-4px);
  background: #ffffff;
  box-shadow: var(--shadow-luxury);
}

.access-card-hotel {
  background: rgba(22, 17, 13, 0.82);
  color: #fbf7ee;
  border: 1px solid rgba(197, 155, 78, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.access-card-hotel:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  background: rgba(35, 26, 20, 0.95);
  box-shadow: var(--shadow-gold);
}

.access-title {
  font-size: 1.1rem;
  font-weight: 800;
}

.access-desc {
  font-size: 0.85rem;
  opacity: 0.85;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.circle-arrow-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

[dir="rtl"] .circle-arrow-icon svg {
  transform: scaleX(-1);
}

.btn-hero-link:hover .circle-arrow-icon {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
}

.btn-hero-link:hover {
  color: var(--accent-gold);
}

/* Hero Floating Editorial Quote Block */
.hero-quote-block {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 360px;
}

.quote-vertical-accent {
  width: 2px;
  min-height: 105px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 4px;
}

.quote-line-ar {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 12px;
}

[data-theme="light"] .quote-line-ar {
  color: #1a130e;
}

.quote-line-en {
  font-family: var(--font-family-editorial);
  font-size: 0.74rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-transform: uppercase;
}

[data-theme="light"] .quote-line-en {
  color: var(--accent-gold);
}

/* ==========================================================================
   2. HOTELS SECTION ("فنادق VARQ") — WARM MARBLE EDITORIAL
   ========================================================================== */
.hotels-section {
  padding: 85px 0 95px;
  background: var(--bg-hotels-section);
  border-bottom: 1px solid var(--border-hotels);
}

.hotels-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 48px;
}

.hotels-title-group {
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: var(--text-hotels-title);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-hotels-sub);
  font-weight: 500;
}

.section-top-link {
  position: absolute;
  inset-inline-end: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-hotels-title);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  background: #ffffff;
  border: 1px solid var(--border-hotels);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

.section-top-link .circle-arrow-icon {
  border-color: rgba(24, 18, 12, 0.25);
}

.section-top-link:hover {
  background: #18120c;
  color: #ffffff;
  border-color: #18120c;
}

.section-top-link:hover .circle-arrow-icon {
  border-color: #ffffff;
}

.hotels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.hotel-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 440px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  transition: all var(--transition-smooth);
  text-decoration: none;
  display: flex;
}

.hotel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.hotel-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotel-card:hover .hotel-card-bg {
  transform: scale(1.06);
}

.hotel-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 10, 7, 0.94) 0%, rgba(14, 10, 7, 0.4) 45%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #ffffff;
  z-index: 2;
}

.hotel-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.hotel-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
  font-weight: 400;
}

.hotel-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hotel-card-footer .circle-arrow-icon {
  width: 34px;
  height: 34px;
  border-color: rgba(255, 255, 255, 0.5);
}

.hotel-card:hover .circle-arrow-icon {
  background: #ffffff;
  color: #140d08;
  border-color: #ffffff;
}

/* ==========================================================================
   3. PLATFORM SECTION ("منصة VARQ لإدارة الفنادق")
   ========================================================================== */
.platform-section {
  padding: 100px 0;
  position: relative;
  background: #110e0b;
  border-bottom: 1px solid var(--border-subtle);
  color: #ffffff;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.05fr 0.8fr;
  align-items: center;
  gap: clamp(24px, 3.5vw, 50px);
}

/* RTL Ordering:
   Order 1: Pills (Right column in RTL)
   Order 2: Info (Center in RTL)
   Order 3: Tablet (Left column in RTL)
*/
.platform-pills-col {
  order: 1;
}

.platform-info-col {
  order: 2;
}

.platform-tablet-col {
  order: 3;
}

.platform-tablet-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(197, 155, 78, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.platform-tablet-img {
  width: 100%;
  height: auto;
  display: block;
}

.platform-badge {
  display: inline-block;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.platform-title {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.platform-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #c7bbb0;
  margin-bottom: 28px;
}

.platform-cta-btn {
  background: #fbf7ee;
  color: #1a130e;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.98rem;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-smooth);
}

.platform-cta-btn .circle-arrow-icon {
  width: 28px;
  height: 28px;
  border-color: rgba(26, 19, 14, 0.35);
}

.platform-cta-btn:hover {
  background: var(--accent-gold);
  color: #ffffff;
  box-shadow: var(--shadow-gold);
}

.platform-cta-btn:hover .circle-arrow-icon {
  border-color: #ffffff;
}

.platform-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.platform-pill-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.platform-pill-item:hover {
  background: rgba(197, 155, 78, 0.16);
  border-color: var(--accent-gold);
  transform: translateX(-4px);
}

/* ==========================================================================
   4. DUAL SPLIT BANNER ("الشريط الثنائي") — FULL BLEED 50/50
   ========================================================================== */
.split-banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.split-banner-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 330px;
  position: relative;
}

/* RTL Layout:
   In master reference:
   LEFT side = Luxury Hotel Bedroom (split-pane-luxury)
   RIGHT side = Smart Operations Manager (split-pane-ops)
   In RTL, Order 2 goes to the LEFT, Order 1 goes to the RIGHT!
*/
.split-pane-luxury {
  order: 2;
}

.split-pane-ops {
  order: 1;
}

.split-pane {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 40px clamp(32px, 5vw, 75px);
  color: #ffffff;
  text-decoration: none;
}

.split-pane-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-pane:hover .split-pane-bg {
  transform: scale(1.05);
}

.split-pane-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 10, 7, 0.72);
  transition: background 0.3s ease;
}

.split-pane:hover .split-pane-overlay {
  background: rgba(14, 10, 7, 0.62);
}

.split-pane-content {
  position: relative;
  z-index: 2;
  max-width: 420px;
}

.split-pane-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}

.split-pane-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  font-weight: 400;
}

.split-pane-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.9rem;
}

.split-pane-link .circle-arrow-icon {
  width: 24px;
  height: 24px;
  border-color: rgba(197, 155, 78, 0.5);
}

.split-pane:hover .split-pane-link .circle-arrow-icon {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
}

/* Center VARQ Emblem Badge */
.split-center-emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}

.split-emblem-inner {
  background: rgba(14, 10, 7, 0.94);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-pill);
  padding: 10px 26px;
  text-align: center;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
}

.split-badge-title {
  font-family: var(--font-family-editorial);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 2px;
  display: block;
}

.split-badge-sub {
  font-size: 0.72rem;
  color: #d1c5b8;
  font-weight: 700;
  display: block;
  margin-top: 1px;
}

/* Far Right Editorial Vertical Badge */
.split-editorial-badge {
  position: absolute;
  top: 50%;
  inset-inline-end: 28px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center end;
  font-family: var(--font-family-editorial);
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

/* ==========================================================================
   5. FINAL CTA SECTION ("كن جزءاً من مستقبل الضيافة")
   ========================================================================== */
.final-cta-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 100px 0;
  background: url('../images/home/cta-future-hospitality.jpg?v=2.2') center center / cover no-repeat;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.cta-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 10, 7, 0.65) 0%, rgba(14, 10, 7, 0.88) 100%);
  z-index: 1;
}

.cta-container-layout {
  display: grid;
  grid-template-columns: 0.2fr 1.3fr 0.7fr;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.cta-left-spacer {
  display: block;
}

.cta-box {
  text-align: center;
}

.cta-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.cta-desc {
  font-size: 1.15rem;
  color: #ddd2c6;
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 680px;
  margin-inline: auto;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary-cta {
  background: #fbf7ee;
  color: #1a130e;
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1.02rem;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-primary-cta:hover {
  background: var(--accent-gold);
  color: #ffffff;
  box-shadow: var(--shadow-gold);
}

.btn-secondary-cta {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1.02rem;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
}

.btn-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
}

.arrow-diagonal {
  font-size: 1.1rem;
}

.cta-right-editorial {
  padding-inline-start: 16px;
  text-align: start;
}

.cta-slogan-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 16px;
}

.cta-brand-tag {
  display: flex;
  flex-direction: column;
}

.cta-brand-name {
  font-family: var(--font-family-editorial);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 2px;
}

.cta-slogan-sub {
  font-family: var(--font-family-editorial);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

/* ==========================================================================
   6. SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #090705;
  padding: 38px 0;
  font-size: 0.88rem;
  color: #8e8073;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-brand-sub {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.footer-link {
  color: #bfb0a1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-gold);
}

.footer-sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
}

.footer-end {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b6a8;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
}

.footer-copyright {
  font-size: 0.82rem;
  color: #7a6e63;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1440px) {
  .hero-title {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
  }
}

@media (max-width: 1200px) {
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }
  .platform-pills-col {
    grid-column: 1 / -1;
    order: 3;
  }
  .platform-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .site-header {
    height: 80px;
  }
  .header-inner {
    direction: rtl;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    order: 1;
  }
  .hero-visual {
    order: 2;
    justify-content: center;
    padding-inline-start: 0;
  }
  .hotels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .platform-grid {
    grid-template-columns: 1fr;
  }
  .platform-tablet-col {
    order: 1;
  }
  .platform-info-col {
    order: 2;
  }
  .platform-pills-col {
    order: 3;
  }
  .platform-pills {
    grid-template-columns: 1fr;
  }
  .split-banner-track {
    grid-template-columns: 1fr;
  }
  .split-center-emblem {
    position: static;
    transform: none;
    margin: 16px auto;
  }
  .split-editorial-badge {
    display: none;
  }
  .cta-container-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-left-spacer {
    display: none;
  }
  .cta-right-editorial {
    border-inline-start: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-inline-start: 0;
    padding-top: 24px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-actions .btn-book {
    display: none;
  }
  .hero-cards-row {
    grid-template-columns: 1fr;
  }
  .hotels-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-end {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==========================================================================
   MULTI-PAGE EXTENSIONS: SUBPAGES, ROOM SPECS, MODALS, LIGHTBOX & FORMS
   ========================================================================== */

/* Subpage Hero Banner */
.subpage-hero {
  position: relative;
  padding: 140px 0 60px;
  background: radial-gradient(circle at 50% 20%, rgba(197, 155, 78, 0.12) 0%, rgba(10, 8, 6, 0.95) 75%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

[data-theme="light"] .subpage-hero {
  background: radial-gradient(circle at 50% 20%, rgba(197, 155, 78, 0.18) 0%, rgba(244, 241, 235, 0.95) 75%);
  border-bottom: 1px solid rgba(24, 18, 12, 0.08);
}

.subpage-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.subpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-gold-soft);
  border: 1px solid var(--accent-gold-border);
  border-radius: 999px;
  color: var(--accent-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.subpage-title {
  font-family: var(--font-family-base);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.subpage-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 750px;
  margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumb-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb-nav a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  opacity: 0.5;
}

/* Filter Controls Bar (Hotels Listing) */
.filter-bar-wrapper {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: -30px auto 40px;
  max-width: 1100px;
  box-shadow: var(--shadow-luxury);
  position: relative;
  z-index: 10;
}

.filter-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-input-wrap {
  position: relative;
  width: 100%;
}

.search-input-wrap svg {
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 14px 20px;
  padding-inline-start: 48px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s;
}

[data-theme="light"] .search-input {
  background: #ffffff;
  border-color: rgba(24, 18, 12, 0.15);
}

.search-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-soft);
}

.filter-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill:hover, .filter-pill.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #140d08;
  font-weight: 700;
}

/* Luxury Hotel Card (Directory) */
.hotels-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.hotel-dir-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.hotel-dir-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold-border);
  box-shadow: var(--shadow-luxury);
}

.hotel-dir-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.hotel-dir-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotel-dir-card:hover .hotel-dir-img {
  transform: scale(1.05);
}

.hotel-dir-badge {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  background: rgba(14, 10, 7, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent-gold-border);
}

.hotel-dir-rating {
  position: absolute;
  bottom: 16px;
  inset-inline-end: 16px;
  background: rgba(14, 10, 7, 0.85);
  backdrop-filter: blur(8px);
  color: #f8f5ef;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hotel-dir-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hotel-dir-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.hotel-dir-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.hotel-dir-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.hotel-dir-price-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hotel-dir-price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.btn-hotel-card {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent-gold);
  color: #140d08;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-hotel-card:hover {
  background: var(--accent-gold-light);
  transform: translateY(-2px);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-secondary);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--accent-gold);
}

/* ==========================================================================
   ROOM SPECIFICATIONS & LUXURY ROOM CARDS
   ========================================================================== */

.rooms-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.rooms-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.room-card-luxury {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-luxury);
  display: grid;
  grid-template-columns: 420px 1fr;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-card-luxury:hover {
  border-color: var(--accent-gold-border);
}

.room-card-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.room-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-card-luxury:hover .room-card-img {
  transform: scale(1.04);
}

.room-card-ar-badge {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  background: rgba(197, 155, 78, 0.92);
  color: #140d08;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-subtle);
}

.room-card-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.room-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 20px;
}

.room-card-title-group h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.room-card-code {
  font-size: 0.8rem;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  font-family: monospace;
}

.room-card-price-box {
  text-align: end;
  white-space: nowrap;
}

.room-card-price-amount {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-gold);
}

.room-card-price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.room-card-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Quick specs bar */
.room-specs-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

[data-theme="light"] .room-specs-row {
  background: rgba(24, 18, 12, 0.04);
}

.room-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.room-spec-icon {
  color: var(--accent-gold);
  display: flex;
  flex-shrink: 0;
}

/* Room Action Buttons Quad */
.room-actions-quad {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.btn-action-spec {
  flex: 1;
  min-width: 130px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.btn-action-spec:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-gold-border);
}

.btn-action-book {
  background: var(--accent-gold) !important;
  color: #140d08 !important;
  border-color: var(--accent-gold) !important;
  font-weight: 800;
}

.btn-action-book:hover {
  background: var(--accent-gold-light) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-action-ar {
  background: rgba(197, 155, 78, 0.18) !important;
  border-color: var(--accent-gold) !important;
  color: var(--accent-gold-light) !important;
}

.btn-action-ar:hover {
  background: var(--accent-gold) !important;
  color: #140d08 !important;
}

/* ==========================================================================
   MODALS, DRAWERS, LIGHTBOX SYSTEM
   ========================================================================== */

.varq-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 3, 2, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.varq-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.varq-modal-panel {
  background: var(--bg-surface);
  border: 1px solid var(--accent-gold-border);
  border-radius: var(--radius-xl);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  padding: 36px;
}

.varq-modal-overlay.open .varq-modal-panel {
  transform: scale(1);
}

.varq-modal-close-btn {
  position: absolute;
  top: 24px;
  inset-inline-end: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.varq-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--accent-gold);
}

.varq-modal-header {
  margin-bottom: 28px;
  padding-inline-end: 40px;
}

.varq-modal-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.varq-modal-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Form Styles inside Modals & Pages */
.varq-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.varq-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.varq-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.varq-form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.varq-input, .varq-select, .varq-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s;
}

[data-theme="light"] .varq-input,
[data-theme="light"] .varq-select,
[data-theme="light"] .varq-textarea {
  background: #ffffff;
  border-color: rgba(24, 18, 12, 0.15);
}

.varq-input:focus, .varq-select:focus, .varq-textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-soft);
}

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

.btn-form-submit {
  padding: 16px 28px;
  border-radius: var(--radius-md);
  background: var(--accent-gold);
  border: none;
  color: #140d08;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-form-submit:hover {
  background: var(--accent-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Success Confirmation State */
.booking-success-box {
  text-align: center;
  padding: 30px 20px;
}

.booking-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-gold-soft);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-gold);
}

.booking-ref-badge {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(197, 155, 78, 0.15);
  border: 1px dashed var(--accent-gold);
  border-radius: var(--radius-md);
  color: var(--accent-gold-light);
  font-family: monospace;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 16px 0;
}

.booking-erp-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #55b685;
  background: rgba(85, 182, 133, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(85, 182, 133, 0.3);
  margin-top: 10px;
}

/* Lightbox Fullscreen */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 80vh;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 16px;
  color: var(--text-primary);
  font-size: 1rem;
  text-align: center;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.lightbox-nav-btn:hover {
  background: var(--accent-gold);
  color: #140d08;
}

.lightbox-prev { inset-inline-start: 30px; }
.lightbox-next { inset-inline-end: 30px; }

/* 3D AR Model Viewer inside Modal */
.ar-modal-container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}

.ar-viewport {
  width: 100%;
  height: 420px;
  background: #000;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.ar-qr-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ar-qr-code-img {
  width: 160px;
  height: 160px;
  margin: 16px 0;
  background: #fff;
  padding: 10px;
  border-radius: var(--radius-md);
}

/* Accordion (Policies Page) */
.policies-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.policy-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
}

.policy-item:hover, .policy-item.open {
  border-color: var(--accent-gold-border);
}

.policy-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: start;
  cursor: pointer;
}

.policy-trigger-icon {
  color: var(--accent-gold);
  transition: transform 0.3s;
}

.policy-item.open .policy-trigger-icon {
  transform: rotate(180deg);
}

.policy-content {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.98rem;
  display: none;
}

.policy-item.open .policy-content {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .room-card-luxury {
    grid-template-columns: 1fr;
  }
  .room-card-media {
    min-height: 240px;
  }
  .ar-modal-container {
    grid-template-columns: 1fr;
  }
  .varq-form-row {
    grid-template-columns: 1fr;
  }
}

/* Mobile Polish for Subpages & Hero Titles */
@media (max-width: 768px) {
  .subpage-hero {
    padding: 110px 16px 40px;
  }
  .subpage-title {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }
  .hotel-hero-container {
    padding: 110px 16px 40px !important;
  }
  .hotel-hero-title {
    font-size: 1.85rem !important;
  }
  .room-card-info {
    padding: 20px;
  }
  .room-card-title-group h3 {
    font-size: 1.35rem;
  }
  .room-card-top {
    flex-direction: column;
    gap: 8px;
  }
  .room-card-price-box {
    text-align: start;
  }
  .room-specs-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Hotel Hero Mobile Layout Fix */
.hotel-hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 100px 0 60px;
}

@media (max-width: 768px) {
  .hotel-hero-section {
    min-height: 440px !important;
    padding: 100px 16px 36px !important;
  }
  .hotel-hero-title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
  }
  .hotel-hero-section .section-container > div {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* Responsive Grid Utility Classes & Overflow Prevention */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

.responsive-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.responsive-grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.responsive-grid-3-2 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
}

.responsive-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .responsive-grid-2,
  .responsive-grid-2-1,
  .responsive-grid-3-2,
  .responsive-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}
