/* ==========================================================================
   الشيخة المغربية الروحانية أم أشرف – Master Unified Stylesheet (site.css)
   Mobile-First, Responsive, WCAG AA Compliant, Overflow-Proof & Ultra-Fast.
   ========================================================================== */

/* Design Tokens & Theme Variables — KSA premium Gulf */
:root {
  --color-bg: #0b090f;
  --color-bg-soft: #120e18;
  --color-surface: #1a1322;
  --color-surface-light: #241a2e;
  --color-surface-elevated: #2e2138;

  --color-burgundy: #6e1836;
  --color-burgundy-dark: #3d0f22;
  --color-plum: #3a1c45;
  --color-purple: #532866;

  /* Saudi gold stack */
  --color-gold: #d4af37;
  --color-gold-light: #f3e2a0;
  --color-gold-mid: #e0c35c;
  --color-gold-dark: #9a7420;
  --gold-gradient: linear-gradient(135deg, #f7e9b0 0%, #d4af37 48%, #a37c28 100%);
  --gold-gradient-soft: linear-gradient(145deg, rgba(243, 226, 160, 0.18), rgba(212, 175, 55, 0.06));

  --color-ivory: #fdf8ef;
  --color-text: #f7f2fa;
  --color-text-muted: #e0d2e6;

  --color-ruby: #b82d5c;
  --color-emerald: #1f8a70;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #128c7e;

  --border-soft: rgba(212, 175, 55, 0.26);
  --border-medium: rgba(212, 175, 55, 0.5);
  --border-strong: rgba(243, 226, 160, 0.65);
  --shadow-premium: 0 28px 80px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 12px 40px rgba(212, 175, 55, 0.22);
  --shadow-wa: 0 10px 28px rgba(37, 211, 102, 0.38);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;

  --font-kufi: 'Noto Kufi Arabic', 'Reem Kufi', sans-serif;
  --font-display: 'Noto Kufi Arabic', 'Amiri', serif;
  --font-body: 'Tajawal', sans-serif;

  --header-h: 68px;
  --mobile-contact-height: 64px;
}

/* Global Reset & Strict Overflow Rules */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 100% -10%, rgba(212, 175, 55, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 20%, rgba(110, 24, 54, 0.18), transparent 50%);
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: clamp(17px, 4.2vw, 18px);
  line-height: 1.85;
  direction: rtl;
  text-align: right;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--mobile-contact-height) + 16px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

body.drawer-open,
body.sheet-open,
body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Responsive Media Constraint */
img, video, svg, canvas, iframe {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  right: 1rem;
  background: var(--color-gold);
  color: #000;
  padding: 0.75rem 1.25rem;
  font-weight: bold;
  z-index: 9999;
  transition: top 0.2s ease;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

/* Focus Visible Accessibility Ring */
:focus-visible {
  outline: 2px solid var(--color-gold) !important;
  outline-offset: 3px !important;
  border-radius: 6px;
}

/* Fluid Layout Container */
.container {
  width: min(100% - 24px, 1240px);
  margin-inline: auto;
  padding-inline: clamp(12px, 3.5vw, 32px);
}

/* Typography Scale */
h1, h2, h3, h4, .font-kufi, .font-serif, .brand-text-title {
  font-family: var(--font-kufi);
  font-weight: 800;
  text-wrap: balance;
}

h1 {
  font-size: clamp(26px, 7.5vw, 46px);
  line-height: 1.35;
  color: var(--color-ivory);
}

h2 {
  font-size: clamp(22px, 6vw, 36px);
  line-height: 1.4;
  color: var(--color-ivory);
}

h3 {
  font-size: clamp(18px, 4.5vw, 25px);
  line-height: 1.5;
  color: var(--color-ivory);
}

p {
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}

/* High-Converting Promo & Discount Banner Bar */
.promo-bar {
  background: linear-gradient(90deg, #3a0c20 0%, #651631 50%, #32183e 100%);
  border-bottom: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  font-family: var(--font-kufi);
  font-size: 0.8125rem;
  padding-block: 0.45rem;
  position: relative;
  z-index: 101;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.promo-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(229, 190, 101, 0.2);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.75rem;
  white-space: nowrap;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px #25d366;
  animation: pulseGlow 1.5s infinite ease-in-out;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}
.promo-text {
  font-size: clamp(0.8rem, 3.2vw, 0.9rem);
  color: var(--color-ivory);
}
.promo-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-promo {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
  color: #09070d;
  border: none;
  border-radius: 20px;
  padding: 0.35rem 0.95rem;
  font-family: var(--font-kufi);
  font-size: 0.78125rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 12px rgba(229, 190, 101, 0.3);
  white-space: nowrap;
  text-decoration: none;
}
.btn-promo:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 16px rgba(229, 190, 101, 0.5);
}

/* Buttons Base — KSA thumb-friendly */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-kufi);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  min-height: 48px;
  touch-action: manipulation;
  user-select: none;
  line-height: 1.25;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.btn:hover::after {
  transform: translateX(-120%);
}
.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn-whatsapp {
  background: linear-gradient(145deg, #2fe075 0%, var(--color-whatsapp) 42%, var(--color-whatsapp-dark) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-wa);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.48);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #120c08;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
  border: 1.5px solid var(--border-medium);
  color: var(--color-gold-light);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: none;
}
.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--border-strong);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Badges — capsule Saudi luxury */
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--border-medium);
  color: var(--color-gold-light);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 800;
  max-width: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Utility Top Bar */
.top-bar {
  background: var(--color-burgundy-dark);
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding-block: 0.5rem;
  display: none;
}
@media (min-width: 768px) {
  .top-bar {
    display: block;
  }
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 9, 15, 0.86);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 1px 0 rgba(243, 226, 160, 0.12), 0 12px 40px rgba(0, 0, 0, 0.35);
  padding-block: 0.7rem;
  min-height: var(--header-h);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-mid), transparent);
  opacity: 0.55;
  pointer-events: none;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background:
    var(--gold-gradient-soft),
    linear-gradient(145deg, var(--color-burgundy) 0%, var(--color-plum) 100%);
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: bold;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-text-title {
  font-size: clamp(0.95rem, 3.2vw, 1.15rem);
  font-weight: 800;
  color: var(--color-ivory);
  line-height: 1.25;
}
.brand-text-sub {
  font-size: 0.72rem;
  color: var(--color-gold-light);
  line-height: 1.3;
  opacity: 0.95;
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 0.35rem 1rem;
}
@media (min-width: 1100px) {
  .nav-links {
    display: flex;
  }
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
}
.nav-link:hover {
  color: var(--color-gold-light);
  background: rgba(212, 175, 55, 0.08);
}
.nav-link.active {
  color: var(--color-gold-light);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: inset 0 -2px 0 var(--color-gold);
}
/* Default icon size — prevents SVG blow-up */
.icon-svg {
  width: 1.15em;
  height: 1.15em;
  max-width: 22px;
  max-height: 22px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-wa {
  display: none !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 160px !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0.4rem 0.85rem !important;
  font-size: 0.8rem !important;
  border-radius: 10px !important;
  gap: 0.35rem !important;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28) !important;
}
.header-wa .icon-svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}
.header-wa::after {
  display: none !important;
}
@media (min-width: 768px) {
  .header-wa {
    display: inline-flex !important;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .header-wa span {
    display: none;
  }
  .header-wa {
    width: 40px !important;
    max-width: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border-radius: 11px !important;
  }
  .header-wa .icon-svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
  }
}

.nav-container {
  flex-wrap: nowrap;
  gap: 0.5rem;
}
.nav-links {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  flex-wrap: nowrap;
}
.brand-logo {
  flex-shrink: 0;
  max-width: min(280px, 34vw);
}
.brand-logo > div:last-child {
  min-width: 0;
  overflow: visible;
}
.brand-text-title {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.brand-text-sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border-medium);
  color: var(--color-gold);
  background: rgba(26, 19, 34, 0.9);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
@media (min-width: 1100px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(9, 7, 13, 0.98);
  backdrop-filter: blur(20px);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.mobile-drawer.open {
  transform: translateX(0);
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 1.25rem;
}
.drawer-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface-light);
  border: 1px solid var(--border-soft);
  color: var(--color-gold);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.drawer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.drawer-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-ivory);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(26, 19, 34, 0.75);
  border: 1px solid var(--border-soft);
  min-height: 52px;
  display: flex;
  align-items: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.drawer-link:hover,
.drawer-link:active {
  border-color: var(--border-medium);
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-gold-light);
}

/* Hero Section */
.hero-section {
  padding-block: clamp(1.75rem, 5vw, 3.75rem);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 5vw, 3rem);
  align-items: center;
}
@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.hero-content h1 {
  margin-block: 0.85rem 0.75rem;
}
.hero-content h1 span {
  display: block;
  color: var(--color-gold-light);
  font-size: clamp(1.1rem, 4.5vw, 1.7rem);
  font-weight: 500;
  margin-top: 0.4rem;
}
.hero-desc {
  font-size: clamp(0.95rem, 3.8vw, 1.1rem);
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 640px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero-actions .btn {
  flex: 1 1 210px;
}
@media (max-width: 767px) {
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    width: 100%;
  }
  .hero-actions .btn-whatsapp {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
    font-size: 0.95rem;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 44px;
    font-size: 0.84375rem;
    padding: 0.55rem 0.65rem;
    justify-content: center;
    text-align: center;
  }
  .hero-actions .hero-loc-btn {
    display: none !important; /* Hide duplicate location button on mobile */
  }
}
@media (max-width: 389px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }
}

.hero-artwork {
  background:
    linear-gradient(160deg, rgba(46, 33, 56, 0.95) 0%, rgba(18, 14, 24, 0.98) 100%);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 1.55rem);
  text-align: center;
  box-shadow:
    var(--shadow-premium),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(212, 175, 55, 0.08),
    0 0 40px rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}
.hero-artwork::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(243, 226, 160, 0.12);
  pointer-events: none;
  z-index: 0;
}
.hero-artwork > * {
  position: relative;
  z-index: 1;
}

.hero-media-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-medium);
  margin-bottom: 1rem;
  background: #0b090f;
  aspect-ratio: 16 / 10;
  box-shadow:
    inset 0 0 36px rgba(0, 0, 0, 0.75),
    0 14px 32px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(212, 175, 55, 0.08);
}
@media (max-width: 767px) {
  .hero-media-wrapper {
    aspect-ratio: 16 / 9;
    min-height: 210px;
    max-height: 380px;
  }
}

.hero-poster-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  display: block;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
  display: block;
  opacity: 0;
  animation: heroVideoIn 1.1s ease 0.35s forwards;
}
@keyframes heroVideoIn {
  to { opacity: 1; }
}

.hero-media-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 3;
  background: rgba(9, 7, 13, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-soft);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--color-gold-light);
  font-family: var(--font-kufi);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* Trust Feature Strip */
.trust-strip {
  background: var(--color-bg-soft);
  border-block: 1px solid var(--border-soft);
  padding-block: 2rem;
  margin-bottom: 2.5rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 540px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: linear-gradient(145deg, var(--color-surface-light), var(--color-surface));
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.trust-item:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}
.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold-gradient-soft);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.trust-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-ivory);
}
.trust-text {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.section-header .section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 0.85rem auto 0;
  border-radius: var(--radius-pill);
  background: var(--gold-gradient);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
}
.section-title span {
  color: var(--color-gold-light);
}
.section-desc {
  color: var(--color-text-muted);
  font-size: clamp(0.95rem, 3.5vw, 1.08rem);
}

/* Services Section */
#services {
  padding-block: 2rem 2.75rem;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.service-card {
  background: linear-gradient(155deg, var(--color-surface-light) 0%, var(--color-surface) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 3.5vw, 1.65rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.12);
}
.service-media-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--border-soft);
  background: #0b090f;
  position: relative;
}
.service-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 9, 15, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}
.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.service-card:hover .service-img {
  transform: scale(1.04);
}
.service-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--color-burgundy-dark);
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.service-title {
  font-size: clamp(1.15rem, 3.8vw, 1.35rem);
  color: var(--color-ivory);
  margin-bottom: 0.5rem;
}
.service-desc {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.card-action {
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
}

/* Agadir Headquarters Section */
#agadir-headquarters {
  padding-block: 2rem;
}
.agadir-card {
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(145deg, #3a1c45 0%, #170b1e 100%);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-premium), 0 0 50px rgba(212, 175, 55, 0.08);
  position: relative;
  overflow: hidden;
}
.agadir-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 992px) {
  .agadir-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
.agadir-image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-medium);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(212, 175, 55, 0.08);
}
.agadir-img {
  width: 100%;
  height: clamp(260px, 50vw, 360px);
  object-fit: cover;
  display: block;
}
.agadir-img-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(9, 7, 13, 0.9);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  font-size: 0.8125rem;
  font-weight: 800;
}
.agadir-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.agadir-btn {
  flex: 1 1 180px;
}

/* Locations Grid */
#locations {
  padding-block: 2rem;
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .locations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.location-card {
  background: linear-gradient(160deg, var(--color-surface-light), var(--color-surface));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.2rem 0.9rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.location-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
}
.location-card.highlight {
  border-color: var(--border-strong);
  background:
    radial-gradient(ellipse 90% 80% at 50% 0%, rgba(212, 175, 55, 0.16), transparent 60%),
    linear-gradient(160deg, var(--color-surface-elevated), var(--color-surface));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.15), var(--shadow-gold);
  position: relative;
}
.location-card.highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--gold-gradient);
}
.location-flag {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}
.location-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-ivory);
}
.location-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* VIP Featured Plan Banner */
.vip-featured-box {
  background: linear-gradient(135deg, #32183e 0%, #58162e 100%);
  border: 2px solid var(--color-gold);
  border-radius: 20px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  margin-bottom: 2.5rem;
}

/* 30 Packages Directory & Chips */
#cases {
  padding-block: 2rem;
}
.case-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.search-box {
  position: relative;
  width: 100%;
}
.search-input {
  width: 100%;
  height: 52px;
  padding-inline: 3rem 1.25rem;
  border-radius: 14px;
  background: var(--color-surface);
  border: 1px solid var(--border-soft);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
}
.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gold);
  pointer-events: none;
}

.filter-chips {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  gap: 0.5rem;
  max-width: 100%;
  scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar {
  display: none;
}
.chip {
  scroll-snap-align: start;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  background: var(--color-surface);
  border: 1px solid var(--border-soft);
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 0.875rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.chip:hover, .chip.active {
  background: var(--color-gold);
  color: #09070d;
  border-color: var(--color-gold);
}

.result-count-bar {
  font-size: 0.9rem;
  color: var(--color-gold-light);
  font-weight: 700;
  margin-bottom: 1rem;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .case-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  background: var(--color-surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.case-card.vip-card {
  border: 2px solid var(--color-gold);
  background: linear-gradient(145deg, #32183e 0%, #21172b 100%);
}
.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.case-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-surface-light);
  border: 1px solid var(--border-soft);
  color: var(--color-gold);
  font-size: 0.875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-title {
  font-size: 1.1rem;
  color: var(--color-ivory);
  margin-bottom: 0.35rem;
}
.case-city {
  font-size: 0.8125rem;
  color: var(--color-gold-light);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.case-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.case-features li {
  position: relative;
  padding-right: 1.2rem;
}
.case-features li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--color-gold);
  font-weight: bold;
}
.case-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-soft);
  padding-top: 0.75rem;
}

/* Consultation Form & Mobile Bottom Sheet */
#consultation-form-section {
  padding-block: 2.5rem;
}
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-premium);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-ivory);
}
.form-control {
  width: 100%;
  height: 52px;
  padding-inline: 1rem;
  border-radius: 12px;
  background: var(--color-bg-soft);
  border: 1px solid var(--border-soft);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
}
textarea.form-control {
  height: 110px;
  padding-block: 0.75rem;
  resize: vertical;
}

/* Consultation Sheet (Mobile Bottom Sheet Modal) */
.consultation-sheet {
  position: fixed;
  inset: 0;
  z-index: 350;
  background: rgba(9, 7, 13, 0.88);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.consultation-sheet.open {
  opacity: 1;
  pointer-events: auto;
}
.sheet-content {
  background: var(--color-surface);
  border: 1px solid var(--border-medium);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 640px;
  max-height: 92dvh;
  overflow-y: auto;
  padding: 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  box-shadow: var(--shadow-premium);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.consultation-sheet.open .sheet-content {
  transform: translateY(0);
}
.sheet-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface-light);
  border: 1px solid var(--border-soft);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Footer & Social */
.site-footer {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--border-soft);
  padding-block: 3rem 2rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  font-size: 1.1rem;
  color: var(--color-ivory);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9375rem;
}
.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--color-gold-light);
}

.social-links-grid {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-surface);
  border: 1px solid var(--border-soft);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-soft);
  padding-top: 1.75rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Floating WhatsApp & Back-To-Top Buttons */
.floating-wa {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}
@media (max-width: 767px) {
  .floating-wa {
    display: none !important; /* Mobile sticky bar replaces floating WA button */
  }
}
.floating-wa svg {
  width: 30px;
  height: 30px;
}

.back-top {
  position: fixed;
  bottom: 82px;
  right: 16px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--border-soft);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}
@media (min-width: 768px) {
  .back-top {
    bottom: 28px;
    right: 28px;
  }
}
.back-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Fixed Mobile Bottom Bar & Sticky Lead Gen Bar */
:root {
  --mobile-contact-height: 60px;
}

.mobile-bar, .mobile-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: var(--mobile-contact-height);
  z-index: 999;
  background: rgba(11, 9, 15, 0.94);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-top: 1px solid var(--border-medium);
  padding: 0.55rem 0.85rem;
  padding-bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: 0.65rem;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5), 0 -1px 0 rgba(243, 226, 160, 0.12);
}
@media (min-width: 768px) {
  .mobile-bar, .mobile-contact-bar {
    display: none !important;
  }
}

body.drawer-open .mobile-bar,
body.sheet-open .mobile-bar,
body.modal-open .mobile-bar,
body.drawer-open .mobile-contact-bar,
body.sheet-open .mobile-contact-bar,
body.modal-open .mobile-contact-bar {
  display: none !important;
}

.mobile-bar .btn, .mobile-contact-bar .btn {
  flex: 1;
  padding: 0.7rem 0.5rem;
  font-size: 0.9rem;
  min-height: 50px;
  font-weight: 800;
  border-radius: 14px;
}
.mobile-bar .btn-whatsapp {
  flex: 1.35;
}

/* Floating WhatsApp & Back-To-Top Buttons */
.floating-wa {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}
@media (max-width: 767px) {
  .floating-wa {
    display: none !important; /* Sticky CTA replaces floating WA on mobile to eliminate clutter */
  }
}
.floating-wa svg {
  width: 30px;
  height: 30px;
}

.back-top {
  position: fixed;
  bottom: 82px;
  right: 16px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--border-soft);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}
@media (min-width: 768px) {
  .back-top {
    bottom: 28px;
    right: 28px;
  }
}
.back-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Ambient Animated Star Background Canvas */
#ambient-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
#spiritual-star-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ambient-aurora {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 20%, rgba(101, 22, 49, 0.25) 0%, rgba(50, 24, 62, 0.15) 50%, transparent 80%);
}

/* ==========================================================================
   AUTHORITATIVE MOBILE RESPONSIVE OVERRIDES (@media max-width: 767px & 389px)
   ========================================================================== */
@media (max-width: 767px) {
  /* 1. Page Foundation & Strict Layout Containment */
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow-x: clip !important;
  }

  .container {
    width: min(100% - 28px, 1240px) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  *, *::before, *::after {
    min-width: 0;
  }

  img, video, svg, canvas, iframe {
    max-width: 100% !important;
  }

  /* 2. Hero Layout & Exact Visual Hierarchy Order */
  .hero-section {
    padding-block: 1rem 1.5rem;
  }

  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    width: 100% !important;
  }

  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    direction: rtl !important;
    text-align: right !important;
    width: 100% !important;
  }

  .hero-content .badge-gold {
    order: 1;
    align-self: flex-start;
    margin-bottom: 0.75rem;
  }

  .hero-content h1 {
    order: 2;
    font-size: clamp(21px, 6.2vw, 27px);
    line-height: 1.35;
    margin-bottom: 0.65rem;
  }

  .hero-content .hero-sub {
    order: 3;
    margin-bottom: 0.6rem;
    font-size: 0.825rem;
  }

  .hero-content .hero-desc {
    order: 4;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
  }

  .hero-actions {
    order: 5;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .hero-actions .hero-cta-btn,
  .hero-actions .btn-whatsapp {
    width: 100% !important;
    min-height: 46px !important;
    font-size: 0.95rem !important;
    font-weight: 700;
  }

  .hero-actions .hero-form-btn,
  .hero-actions .btn-outline-gold {
    width: 100% !important;
    min-height: 44px !important;
    font-size: 0.875rem !important;
  }

  .hero-actions .hero-loc-btn {
    display: none !important; /* Hide duplicate location button in hero actions */
  }

  .hero-artwork {
    order: 6;
    width: 100% !important;
    margin-top: 0 !important;
  }

  /* 3. Modern 3D Dynamic Depth & Tactile Micro-Interactions */
  .hero-artwork,
  .service-card,
  .package-card,
  .agadir-card,
  .consultation-sheet .sheet-content {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 20px rgba(229, 190, 101, 0.12) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  .btn, button, .cta-button, .social-btn {
    transition: all 0.3s ease !important;
  }

  .btn:active, button:active, .cta-button:active,
  .btn:hover, button:hover, .cta-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(229, 190, 101, 0.25) !important;
  }

  /* 4. Optimized Utility & Standard Mobile Icons */
  .top-bar .icon-svg,
  .hero-sub .icon-svg,
  .agadir-loc-row .icon-svg,
  .location-card .icon-svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex-shrink: 0 !important;
  }

  .service-icon, .trust-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
  }

  .service-icon .icon-svg, .trust-icon .icon-svg {
    width: 22px !important;
    height: 22px !important;
  }

  /* 5. Mobile Media Frames & Image Fallbacks */
  .media-frame, .service-media-frame, .agadir-image-frame {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #17111d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%23e5be65' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") center center no-repeat !important;
    background-size: 40px 40px !important;
  }

  .media-frame img, .service-media-frame img, .agadir-image-frame img, .service-img, .agadir-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* 6. Mobile Portrait Video Container */
  .hero-media-wrapper, .hero-video-frame {
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    min-height: 340px !important;
    max-height: 560px !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    position: relative !important;
    background: #17111d !important;
  }

  .hero-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  /* 7. Full-Width Single Card Grids */
  .services-grid, .packages-grid, .trust-grid, .agadir-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
  }

  .service-card, .package-card, .agadir-card {
    width: 100% !important;
    min-width: 0 !important;
    padding: 18px !important;
    border-radius: 18px !important;
  }

  /* 8. Location & Agadir Section */
  .locations-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* 9. Touch-Optimized Buttons */
  .btn, button, .cta-button {
    min-height: 44px !important;
    padding: 9px 14px !important;
    font-size: 14.5px !important;
    border-radius: 11px !important;
    gap: 7px !important;
  }

  /* 10. Consultation Form 1-Column Layout */
  .form-grid, .consultation-form-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  input, select, textarea {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
    border-radius: 10px !important;
    background: rgba(33, 23, 43, 0.85) !important;
    border: 1px solid var(--border-medium) !important;
    color: var(--color-ivory) !important;
  }

  /* 11. Mobile Footer */
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    text-align: right !important;
  }
}

@media (max-width: 389px) {
  .container {
    width: min(100% - 22px, 1240px) !important;
  }

  .locations-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Reduced Motion Override */
@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;
  }
  .hero-video {
    opacity: 1 !important;
    animation: none !important;
  }
  .btn::after {
    display: none !important;
  }
  .service-card:hover,
  .trust-item:hover,
  .location-card:hover {
    transform: none !important;
  }
}

/* KSA layer: Saudi card first, footer gold bars, WA float RTL */
.location-ksa {
  order: -1;
}
.locations-grid {
  display: grid;
}
.floating-wa {
  inset-inline-start: 20px;
  inset-inline-end: auto;
  left: auto;
  bottom: 28px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-wa:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5);
}
.site-footer {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212, 175, 55, 0.06), transparent 55%),
    var(--color-bg-soft);
}
.footer-col h4::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 0.45rem;
  background: var(--gold-gradient);
  border-radius: 999px;
}
.card-action {
  width: 100%;
  justify-content: center;
}
@media (min-width: 768px) {
  .card-action {
    width: fit-content;
  }
}
.hero-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-gold-light);
  font-weight: 700;
  font-size: clamp(0.9rem, 3.2vw, 1rem);
  margin-bottom: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-soft);
}

