/* ==========================================================================
   AIMA INTERNATIONAL (aimaintl.com) — ENTERPRISE CORPORATE DESIGN SYSTEM
   Strict Visual System: Zero AI Slop, Large Editorial & Canvas Typography,
   Guaranteed Line-Height Separation, Full-Bleed Harmain Background Video
   ========================================================================== */

:root {
  --bg-obsidian: #0c0d0e;
  --bg-surface: #141618;
  --bg-card: #1b1d20;
  --bg-raised: #23262a;
  --bg-stone: #f6f3ec;
  --bg-white: #ffffff;
  --bg-stone-alt: #ece7dc;

  --text-primary: #f4f1ea;
  --text-secondary: #b5afa4;
  --text-muted: #847e74;

  --ink-primary: #151719;
  --ink-secondary: #4a4843;
  --ink-muted: #736f68;

  --gold-primary: #c59b43;
  --gold-light: #dfb968;
  --gold-dark: #967226;
  --emerald-deep: #143628;
  --emerald-accent: #1f5a3d;

  --border-dark: rgba(244, 241, 234, 0.11);
  --border-gold: rgba(197, 155, 67, 0.36);
  --border-light: #dcd5c7;

  --font-sans: 'Manrope', 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Geist Mono', monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* BRIGHTNESS TOGGLE: DAYLIGHT CORPORATE ALABASTER THEME */
html[data-theme="light"] {
  --bg-obsidian: #f8f5ee;
  --bg-surface: #efeae0;
  --bg-card: #ffffff;
  --bg-raised: #e5dfd2;
  --bg-stone: #f3efe6;
  --bg-white: #ffffff;

  --text-primary: #141618;
  --text-secondary: #494640;
  --text-muted: #706c64;

  --border-dark: rgba(20, 22, 24, 0.14);
  --border-gold: rgba(150, 114, 38, 0.45);
}

html[data-theme="light"] .top-bar {
  background-color: #141618;
  color: #d8d3c8;
}
html[data-theme="light"] .top-bar-links a {
  color: #ffffff;
}
html[data-theme="light"] .site-header {
  background-color: rgba(248, 245, 238, 0.95);
  border-bottom-color: rgba(20, 22, 24, 0.12);
}
html[data-theme="light"] .brand-name {
  color: #141618;
}
html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active {
  color: #141618;
  background-color: #e5dfd2;
}
html[data-theme="light"] .hero-scrim {
  background-color: rgba(12, 14, 16, 0.56);
}
html[data-theme="light"] .panel-card h3,
html[data-theme="light"] .panel-card h2,
html[data-theme="light"] .panel-card p,
html[data-theme="light"] .quote-price-display,
html[data-theme="light"] .faq-trigger {
  color: #141618 !important;
}
html[data-theme="light"] .form-control {
  background-color: #f8f5ee;
  color: #141618;
  border-color: rgba(20, 22, 24, 0.22);
}
html[data-theme="light"] .tagline-word {
  color: #9e988c;
}
html[data-theme="light"] .tagline-word.active {
  color: #141618;
}
html[data-theme="light"] .tagline-word.active.gold-word {
  color: #967226;
}
html[data-theme="light"] .btn-secondary {
  background-color: #ffffff;
  color: #141618 !important;
  border-color: rgba(20, 22, 24, 0.28);
}
html[data-theme="light"] .hero-Stage .btn-secondary,
html[data-theme="light"] .hero-cta-row .btn-secondary {
  background-color: rgba(255, 255, 255, 0.94);
  color: #141618 !important;
}

/* RTL ARABIC TYPOGRAPHY SAFEGUARDS */
html[dir="rtl"] body {
  font-family: 'IBM Plex Sans Arabic', 'Manrope', sans-serif;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .kicker-label,
html[dir="rtl"] .brand-name {
  letter-spacing: 0 !important;
}

/* Header Toggle Buttons (Arabic & Brightness) */
.toggle-control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.toggle-control-btn:hover {
  background-color: var(--gold-primary);
  color: #0c0d0e;
}

/* Punchy Hero Commercial Form Callout Box */
.hero-premier-callout {
  margin-top: 22px;
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 14px;
  background-color: rgba(20, 22, 24, 0.88);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-premier-callout strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 2px;
}
.hero-premier-callout span {
  display: block;
  font-size: 0.84rem;
  color: #d8d3c8;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: clip;
  overflow-wrap: break-word;
}

img, video, canvas, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Focus Ring Accessibility (B9) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

/* Skip Link (B10) */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  clip-path: none;
  z-index: 9999;
  padding: 12px 20px;
  background-color: var(--gold-primary);
  color: #0c0d0e;
  font-weight: 600;
  border-radius: 8px;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   LARGE CORPORATE TYPOGRAPHY SYSTEM (Guaranteed Zero Vertical Overlap)
   ========================================================================== */

h1, h2, h3, h4 {
  text-wrap: balance;
  font-weight: 600;
}

p, li {
  text-wrap: pretty;
}

.display-hero {
  font-size: clamp(2.65rem, 5.2vw, 4.65rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: #ffffff;
  max-width: 680px;
}

.display-subpage {
  font-size: clamp(2.35rem, 4.4vw, 3.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #ffffff;
  max-width: 680px;
}

.section-heading {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 16px;
}

.tagline-large {
  font-size: clamp(2rem, 3.9vw, 3.35rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 960px;
  margin: 0 auto;
}

.kicker-label {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.hero-lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.65;
  color: #d8d3c8;
  max-width: 640px;
}

.tabular-num {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   TOP CORPORATE TELEMETRY BAR & FLOATING NAVIGATION
   ========================================================================== */

.top-bar {
  background-color: #08090a;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.78rem;
  color: var(--text-secondary);
  padding: 7px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: var(--text-primary);
  font-weight: 500;
}

.top-bar-links a:hover {
  color: var(--gold-light);
}

.top-bar-meta {
  color: var(--text-secondary);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(12, 13, 14, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 12px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
}

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

.brand-title-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}

.brand-arabic {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-primary);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.2;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background-color: var(--bg-raised);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
}

/* Buttons (B2 & B9) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.2s var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-gold {
  background-color: var(--gold-primary);
  color: #0c0d0e;
  border-color: var(--gold-primary);
}

.btn-gold:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: #ffffff;
  border-color: var(--border-dark);
}

.btn-secondary:hover {
  background-color: var(--bg-raised);
  border-color: var(--border-gold);
}

.btn-whatsapp {
  background-color: #1f6f43;
  color: #ffffff;
  border-color: #288a54;
}

.btn-whatsapp:hover {
  background-color: #258550;
}

/* ==========================================================================
   FULL-BLEED ARCHITECTURAL HERO WITH HARMAIN BACKGROUND VIDEO + CANVAS
   ========================================================================== */

.hero-stage {
  position: relative;
  min-height: 760px;
  padding: 88px 0 80px;
  background-color: var(--bg-obsidian);
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-dark);
}

.subpage-hero-stage {
  position: relative;
  min-height: 460px;
  padding: 72px 0 64px;
  background-color: var(--bg-obsidian);
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-dark);
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
  z-index: 0;
}

.hero-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background-color: rgba(12, 13, 14, 0.52);
  z-index: 2;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 40px;
  align-items: center;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 36px;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.metric-box {
  background-color: rgba(20, 22, 24, 0.84);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 16px;
}

.metric-box strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.metric-box span {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* Interactive Haram Spatial Canvas Card inside Hero */
.telemetry-card {
  background-color: rgba(20, 22, 24, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 20px;
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-dark);
}

.telemetry-canvas-wrap {
  position: relative;
  width: 100%;
  height: 290px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0c0d0e;
  border: 1px solid var(--border-dark);
}

#haram-radar-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.telemetry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

/* ==========================================================================
   SECTIONS, CARDS & PHOTOGRAPHY GRIDS (Nested Radius Formula Compliant)
   ========================================================================== */

.section-dark {
  padding: 88px 0;
  background-color: var(--bg-obsidian);
  border-bottom: 1px solid var(--border-dark);
}

.section-surface {
  padding: 88px 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-dark);
}

.section-stone {
  padding: 88px 0;
  background-color: var(--bg-stone);
  color: var(--ink-primary);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.section-stone .section-sub {
  color: var(--ink-secondary);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* Photo Media Cards (Outer radius 16px, internal padding 12px -> inner photo radius 6px) */
.media-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.media-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.section-stone .media-card {
  background-color: var(--bg-white);
  border-color: var(--border-light);
}

.section-stone .media-card:hover {
  border-color: var(--gold-dark);
}

.media-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background-color: #0c0d0e;
  margin-bottom: 16px;
}

.media-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.media-card:hover .media-photo-frame img {
  transform: scale(1.03);
}

.photo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: rgba(12, 13, 14, 0.88);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
}

.photo-city-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: rgba(12, 13, 14, 0.88);
  border: 1px solid var(--border-dark);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
}

.media-body {
  padding: 4px 8px 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.media-title {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 8px;
}

.media-desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}

.section-stone .media-desc {
  color: var(--ink-secondary);
}

.media-meta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-dark);
  font-size: 0.8125rem;
}

.section-stone .media-meta-footer {
  border-top-color: var(--border-light);
}

/* Filter Tabs */
.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 8px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.section-stone .filter-btn {
  background-color: var(--bg-white);
  border-color: var(--border-light);
  color: var(--ink-secondary);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #0c0d0e;
}

/* ==========================================================================
   TAGLINE REVEAL SECTION (Mandatory B11)
   ========================================================================== */

.tagline-word {
  display: inline-block;
  margin-right: 0.28em;
  color: #7d786e;
  opacity: 0.42;
  transition: color 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}

.tagline-word.active {
  color: #ffffff;
  opacity: 1;
}

.tagline-word.active.gold-word {
  color: var(--gold-light);
  opacity: 1;
}

/* ==========================================================================
   INTERACTIVE QUOTE & ITINERARY CONFIGURATOR
   ========================================================================== */

.calculator-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.panel-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 28px;
}

.panel-card.gold-outline {
  border-color: var(--border-gold);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background-color: var(--bg-obsidian);
  border: 1px solid var(--border-dark);
  color: #ffffff;
  font-size: 0.9375rem;
  transition: border-color 0.2s var(--ease-out);
}

.form-control:focus {
  border-color: var(--gold-primary);
}

.quote-price-display {
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  margin: 8px 0 4px;
}

/* ==========================================================================
   VIDEO CINEMA SHOWCASE CARD
   ========================================================================== */

.cinema-showcase-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 12px;
  overflow: hidden;
}

.cinema-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background-color: #08090a;
}

.cinema-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-body {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.faq-card.open .faq-body {
  display: block;
}

.faq-card.open {
  border-color: var(--border-gold);
}

/* ==========================================================================
   CORPORATE FOOTER — AIMA INTERNATIONAL EXCLUSIVE
   ========================================================================== */

.site-footer {
  background-color: #08090a;
  border-top: 1px solid var(--border-dark);
  padding: 64px 0 92px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-col h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
}

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

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.875rem;
}

.official-architect-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 10px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-gold);
  font-size: 0.8125rem;
  color: var(--text-primary);
}

.official-architect-credit a {
  color: var(--gold-light);
  font-weight: 600;
}

.official-architect-credit a:hover {
  text-decoration: underline;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(12, 13, 14, 0.98);
  backdrop-filter: blur(16px);
  padding: 24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer.open {
  display: flex;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Verified Down to 390px)
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-grid,
  .calculator-grid,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .top-bar-meta {
    display: none;
  }
  .top-bar-inner {
    justify-content: space-between;
  }
  .top-bar-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.74rem;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle-btn {
    display: inline-flex;
  }
  .nav-bar {
    min-height: 62px;
    gap: 8px;
  }
  .nav-actions {
    gap: 6px;
  }
  .toggle-control-btn {
    height: 34px;
    padding: 0 9px;
    font-size: 0.75rem;
    border-radius: 8px;
  }
  .nav-actions .btn {
    padding: 8px 11px;
    font-size: 0.75rem;
    border-radius: 8px;
  }
  .mobile-toggle-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  #theme-toggle-label {
    display: none;
  }
  .brand-subtitle {
    display: none;
  }
  .brand-logo-img {
    width: 30px;
    height: 30px;
  }
  .brand-name {
    font-size: 0.82rem;
  }
  .brand-arabic {
    font-size: 0.85rem;
  }
  .brand-link {
    gap: 6px;
  }
  .nav-bar {
    gap: 4px;
  }
  .nav-actions {
    gap: 4px;
  }
  .toggle-control-btn {
    height: 30px;
    padding: 0 6px;
    font-size: 0.68rem;
    border-radius: 6px;
  }
  .nav-actions .btn {
    padding: 6px 7px;
    font-size: 0.68rem;
    border-radius: 6px;
  }
  .mobile-toggle-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }
}

/* ==========================================================================
   INTERACTIVE DRAGGING RANGE SLIDER CALCULATOR & WHOLESALE BADGES
   ========================================================================== */
.toggle-control-btn.active-lang {
  background-color: var(--gold-primary);
  color: #0c0d0e !important;
  border-color: var(--gold-light);
  font-weight: 700;
}

.slider-control-box {
  background-color: var(--bg-obsidian);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.slider-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.slider-val-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background-color: rgba(197, 155, 56, 0.16);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

html[data-theme="light"] .slider-val-pill {
  color: #7c5c16;
  background-color: rgba(197, 155, 56, 0.2);
}

.aima-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-primary) 0%, rgba(197, 155, 56, 0.35) 100%);
  outline: none;
  cursor: pointer;
}

.aima-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 2px solid #0c0d0e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  cursor: grab;
  transition: transform 0.15s ease;
}

.aima-range-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.12);
}

.aima-range-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 2px solid #0c0d0e;
  cursor: grab;
}

.slider-scale-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.wholesale-lure-banner {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.16) 0%, rgba(197, 155, 56, 0.16) 100%);
  border: 1.5px solid rgba(34, 197, 94, 0.5);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

/* ==========================================================================
   FLOATING WHATSAPP CUSTOMER CARE BUTTON
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 165;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background-color: #15803d;
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 28px rgba(21, 128, 61, 0.45);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  max-width: calc(100vw - 28px);
}

.whatsapp-float-btn:hover {
  background-color: #16a34a;
  transform: translateY(-2px);
}

.wa-float-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #86efac;
  box-shadow: 0 0 0 4px rgba(134, 239, 172, 0.25);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .whatsapp-float-btn {
    bottom: 14px;
    right: 14px;
    padding: 10px 14px;
    font-size: 0.78rem;
    gap: 7px;
  }
}

/* ==========================================================================
   UNIVERSAL PRE-FILLED DISPATCH CHOICE MODAL (WHATSAPP OR ENQUIRY FORM)
   ========================================================================== */
.aima-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background-color: rgba(8, 9, 10, 0.84);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.aima-modal-backdrop.open {
  display: flex;
}

.aima-modal-card {
  width: 100%;
  max-width: 520px;
  background-color: var(--bg-card);
  border: 1.5px solid var(--gold-primary);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  max-height: 92vh;
  overflow-y: auto;
}

/* ==========================================================================
   TOP HEADER COOKIE & PRIVACY CONSENT BANNER (TBO STYLE AMBER BAR)
   ========================================================================== */
.cookie-consent-bar {
  background: linear-gradient(90deg, #eab338 0%, #f5c451 50%, #e5a92c 100%);
  color: #121417;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 120;
}

.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.cookie-consent-inner a {
  color: #1e2952;
  font-weight: 800;
  text-decoration: underline;
}

.cookie-accept-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #14355b;
  color: #ffffff !important;
  border: none;
  border-radius: 5px;
  padding: 4px 13px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.cookie-accept-btn:hover {
  background-color: #0d2542;
}

@media (max-width: 640px) {
  .cookie-consent-bar {
    font-size: 0.72rem;
    padding: 6px 0;
  }
  .cookie-consent-inner {
    gap: 6px;
  }
  .cookie-accept-btn {
    padding: 3px 10px;
    font-size: 0.72rem;
  }
}

.aima-modal-summary {
  background-color: var(--bg-obsidian);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0 16px;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .calculator-grid,
  .hero-metrics-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stage {
    padding: 40px 0 48px;
    min-height: auto;
  }
  .subpage-hero-stage {
    padding: 40px 0 48px;
    min-height: auto;
  }
  .section-dark,
  .section-surface,
  .section-stone {
    padding: 52px 0;
  }
  .container {
    padding: 0 16px;
  }
}
