/* ============================================================
   FEZ MEDINA HUB — Main Stylesheet
   Boutique Hostel | Fès, Morocco
   ============================================================ */

/* ============================================================
   0. PAGE LOADER
   ============================================================ */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #080e1c;
  display: flex;
  align-items: center;
  justify-content: center;
  /* exit: curtain lifts upward */
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1),
              opacity   0.5s ease 0.4s;
}

#page-loader.ld-exit {
  transform: translateY(-100%);
  opacity: 0;
}

/* ── Inner container ── */
.ld-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  user-select: none;
}

/* ── Logo ── */
.ld-logo-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 1.75rem;
  animation: ldLogoIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes ldLogoIn {
  from { opacity: 0; transform: scale(0.75); }
  to   { opacity: 1; transform: scale(1); }
}

.ld-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(201, 161, 92, 0.35);
}

/* Rotating outer ring */
.ld-logo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: #C9A15C;
  border-right-color: rgba(201, 161, 92, 0.25);
  animation: ldRingSpin 2.2s linear infinite;
}

@keyframes ldRingSpin {
  to { transform: rotate(360deg); }
}

/* ── Wordmark ── */
.ld-wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 600;
  color: #F5F2EC;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  animation: ldWordIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

@keyframes ldWordIn {
  from { opacity: 0; letter-spacing: 0.42em; }
  to   { opacity: 1; letter-spacing: 0.18em; }
}

/* ── Subtitle with flanking lines ── */
.ld-sub {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C9A15C;
  margin-top: 0.45rem;
  margin-bottom: 2.5rem;
  animation: ldFadeUp 0.7s ease 1s both;
}

.ld-sub span {
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(201, 161, 92, 0.45);
}

@keyframes ldFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Progress bar ── */
.ld-bar-track {
  width: 140px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  animation: ldFadeUp 0.5s ease 1.1s both;
}

.ld-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(201,161,92,0.4) 0%, #C9A15C 100%);
  border-radius: 2px;
  animation: ldBarFill 2.6s cubic-bezier(0.4, 0, 0.2, 1) 1.2s both;
}

@keyframes ldBarFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  #page-loader { transition: opacity 0.4s ease; }
  #page-loader.ld-exit { transform: none; opacity: 0; }
  .ld-logo-ring { animation: none; }
  .ld-wordmark  { animation: ldFadeUp 0.4s ease 0.1s both; }
}

/* ============================================================
   1. DESIGN TOKENS & CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --navy:       #1B2A4A;
  --gold:       #C9A15C;
  --off-white:  #F5F2EC;
  --dark-navy:  #121E38;
  --slate-blue: #2E4066;
  --sand:       #E4D3AE;
  --charcoal:   #2B2B2B;

  /* Functional color roles */
  --bg-light:   var(--off-white);
  --bg-dark:    var(--navy);
  --bg-darker:  var(--dark-navy);
  --text-light: var(--off-white);
  --text-dark:  var(--charcoal);
  --accent:     var(--gold);
  --accent-soft: var(--sand);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing scale (8pt base) */
  --sp-1: 0.25rem;   /* 4px  */
  --sp-2: 0.5rem;    /* 8px  */
  --sp-3: 0.75rem;   /* 12px */
  --sp-4: 1rem;      /* 16px */
  --sp-5: 1.25rem;   /* 20px */
  --sp-6: 1.5rem;    /* 24px */
  --sp-8: 2rem;      /* 32px */
  --sp-10: 2.5rem;   /* 40px */
  --sp-12: 3rem;     /* 48px */
  --sp-16: 4rem;     /* 64px */
  --sp-20: 5rem;     /* 80px */
  --sp-24: 6rem;     /* 96px */
  --sp-32: 8rem;     /* 128px */

  /* Border radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.7, 0, 0.84, 0);
  --t-fast:   150ms;
  --t-mid:    280ms;
  --t-slow:   500ms;

  /* Z-index scale */
  --z-base:    0;
  --z-card:    10;
  --z-sticky:  100;
  --z-overlay: 200;
  --z-modal:   1000;

  /* Layout */
  --max-w:        1280px;
  --max-w-narrow: 820px;
  --section-pad:  7rem;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden; /* iOS Safari requires overflow-x on html, not just body */
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--off-white);
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

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

/* ============================================================
   3. TYPOGRAPHY SCALE
   ============================================================ */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw, 2.625rem);
  font-weight: 600;
  line-height: 1.2;
}

.display-sm {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
}

.label-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-8);
}

.container-narrow {
  width: 100%;
  max-width: var(--max-w-narrow);
  margin-inline: auto;
  padding-inline: var(--sp-8);
}

.section-pad {
  padding-block: var(--section-pad);
}

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

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-mid) var(--ease-out);
  white-space: nowrap;
  min-height: 48px; /* accessibility touch target */
}

.btn-primary {
  background: var(--gold);
  color: var(--dark-navy);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--sand);
  border-color: var(--sand);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 161, 92, 0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline-light {
  background: transparent;
  color: var(--off-white);
  border: 2px solid rgba(201, 161, 92, 0.6);
}
.btn-outline-light:hover {
  background: var(--gold);
  color: var(--dark-navy);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--off-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.65rem 1.5rem;
  font-size: 0.75rem;
  min-height: 40px;
}

/* ============================================================
   6. DECORATIVE ELEMENTS
   ============================================================ */

/* Section label */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-4);
}

/* Gold star separator */
.gold-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  margin-block: var(--sp-6);
}

.gold-sep-line {
  height: 1px;
  width: 60px;
  background: linear-gradient(to right, transparent, var(--gold));
  opacity: 0.5;
}
.gold-sep-line.rev {
  background: linear-gradient(to left, transparent, var(--gold));
}

.gold-sep-icon {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  opacity: 0.6;
}

/* Thin gold horizontal rule */
.gold-rule {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.3;
  margin-block: var(--sp-16);
}

/* Arch shape divider (top of section) */
.arch-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  line-height: 0;
}

.arch-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  line-height: 0;
  transform: rotate(180deg);
}

/* Subtle geometric pattern overlay */
.pattern-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(201,161,92,0.025) 0px,
      rgba(201,161,92,0.025) 1px,
      transparent 1px,
      transparent 16px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(201,161,92,0.025) 0px,
      rgba(201,161,92,0.025) 1px,
      transparent 1px,
      transparent 16px
    );
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   7. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding-block: var(--sp-5);
  transition: background var(--t-slow) ease, padding var(--t-mid) ease,
              box-shadow var(--t-mid) ease;
}

.navbar.scrolled {
  background: var(--dark-navy);
  padding-block: var(--sp-4);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.navbar-logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--gold);
  transition: border-color var(--t-fast);
}

.navbar-logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.15;
}

.navbar-logo-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1px;
}

/* Desktop nav links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.85);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--t-mid) var(--ease-out);
}

.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  cursor: pointer;
  padding: var(--sp-2);
  flex-shrink: 0;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--off-white);
  border-radius: 1px;
  transition: transform var(--t-mid) var(--ease-out), opacity var(--t-fast);
}

.hamburger.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark-navy);
  z-index: calc(var(--z-sticky) - 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-slow) var(--ease-out),
              visibility var(--t-slow) var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--off-white);
  text-align: center;
  transition: color var(--t-fast);
  transform: translateY(20px);
  opacity: 0;
  transition: color var(--t-fast), transform var(--t-mid) var(--ease-out),
              opacity var(--t-mid) var(--ease-out);
}

.mobile-menu.open .mobile-nav-link {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu.open .mobile-nav-link:nth-child(1) { transition-delay: 50ms; }
.mobile-menu.open .mobile-nav-link:nth-child(2) { transition-delay: 100ms; }
.mobile-menu.open .mobile-nav-link:nth-child(3) { transition-delay: 150ms; }
.mobile-menu.open .mobile-nav-link:nth-child(4) { transition-delay: 200ms; }
.mobile-menu.open .mobile-nav-link:nth-child(5) { transition-delay: 250ms; }
.mobile-menu.open .mobile-nav-link:nth-child(6) { transition-delay: 300ms; }

.mobile-nav-link:hover { color: var(--gold); }

.mobile-menu-cta {
  margin-top: var(--sp-4);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--t-mid) var(--ease-out) 350ms,
              transform var(--t-mid) var(--ease-out) 350ms;
}
.mobile-menu.open .mobile-menu-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/home-bg.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(18, 30, 56, 0.6) 0%,
    rgba(18, 30, 56, 0.7) 35%,
    rgba(18, 30, 56, 0.88) 100%
  );
}

/* Rotating background star */
.hero-star-bg {
  position: absolute;
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  top: 50%;
  left: 50%;
  fill: var(--gold);
  opacity: 0.045;
  z-index: 1;
  pointer-events: none;
  animation: heroStarSpin 80s linear infinite;
  transform-origin: center;
  transform: translate(-50%, -50%);
}

@keyframes heroStarSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Particle canvas */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-inline: var(--sp-8);
  max-width: 900px;
  /* offset for fixed navbar height */
  padding-top: 5rem;
  /* keep buttons clear of the absolute scroll cue at the bottom */
  padding-bottom: 6rem;
}

.hero-logo-wrap {
  margin-bottom: var(--sp-8);
  animation: fadeSlideUp 0.8s 0.2s both;
}

.hero-logo-img {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2.5px solid var(--gold);
  margin-inline: auto;
  box-shadow: 0 0 0 6px rgba(201,161,92,0.12), 0 12px 48px rgba(0,0,0,0.35);
  animation: fadeSlideUp 0.8s 0.2s both, logoGlow 3.5s 2s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(201,161,92,0.12), 0 12px 48px rgba(0,0,0,0.35);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(201,161,92,0.22), 0 0 64px rgba(201,161,92,0.3), 0 12px 48px rgba(0,0,0,0.35);
  }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-5);
  animation: fadeSlideUp 0.8s 0.4s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--off-white);
  margin-bottom: var(--sp-5);
  animation: fadeSlideUp 0.8s 0.6s both;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-style: italic;
  font-weight: 300;
  color: var(--sand);
  line-height: 1.6;
  margin-bottom: var(--sp-10);
  animation: fadeSlideUp 0.8s 0.8s both;
}

.hero-ctas {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s 1s both;
}

.hero-scroll-cue {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  z-index: 3;
  animation: fadeIn 1s 1.8s both;
}

.hero-scroll-text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(228, 211, 174, 0.6);
}

.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s infinite;
}

/* ============================================================
   9. ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--off-white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-20);
  align-items: center;
}

.about-image-col {
  position: relative;
}

.about-image-frame {
  position: relative;
}

.about-image-frame img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  display: block;
}

.about-image-border {
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-xs);
  opacity: 0.35;
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--navy);
  border-left: 3px solid var(--gold);
  padding: var(--sp-5) var(--sp-6);
  min-width: 160px;
}

.about-badge-year {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.about-badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
}

.about-content-col h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: var(--sp-6);
}

.about-content-col p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: var(--sp-5);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(27,42,74,0.1);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.feature-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(201,161,92,0.1);
  border: 1px solid rgba(201,161,92,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-wrap svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.feature-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
  padding-top: var(--sp-2);
}

/* ============================================================
   10. DORMS SECTION
   ============================================================ */
.dorms-section {
  background: var(--navy);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
}

/* Subtle pattern on navy sections */
.dorms-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(201,161,92,0.03) 0px, rgba(201,161,92,0.03) 1px,
      transparent 1px, transparent 18px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(201,161,92,0.03) 0px, rgba(201,161,92,0.03) 1px,
      transparent 1px, transparent 18px
    );
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-16);
  position: relative;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: var(--sp-5);
}

.section-header p {
  font-size: 1.0625rem;
  line-height: 1.75;
  opacity: 0.75;
  max-width: 580px;
  margin-inline: auto;
}

.dorms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  position: relative;
}

/* Pod amenities strip */
.pod-amenities-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-12);
  position: relative;
}

.pod-amenity {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  color: var(--sand);
  opacity: 0.8;
}

.pod-amenity svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
}

/* Dorm card */
.dorm-card {
  background: var(--slate-blue);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out);
  border: 1px solid rgba(201,161,92,0.08);
}

.dorm-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.45);
}

.dorm-card-img {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.dorm-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}

.dorm-card:hover .dorm-card-img img {
  transform: scale(1.07);
}

.dorm-badge {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  background: var(--gold);
  color: var(--dark-navy);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-xs);
}

.dorm-card-body {
  padding: var(--sp-6) var(--sp-6) var(--sp-6);
}

.dorm-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: var(--sp-3);
}

.dorm-card-body p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--sand);
  opacity: 0.85;
  margin-bottom: var(--sp-5);
}

.dorm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.dorm-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--sand);
  background: rgba(201,161,92,0.1);
  border: 1px solid rgba(201,161,92,0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-xs);
}

/* ============================================================
   11. PRIVATE ROOMS SECTION
   ============================================================ */
.rooms-section {
  background: var(--off-white);
  position: relative;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
  max-width: 880px;
  margin-inline: auto;
}

.room-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(27,42,74,0.08);
  transition: transform var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out),
              border-color var(--t-mid);
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(27,42,74,0.1);
  border-color: var(--gold);
}

.room-card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}

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

.room-card-body {
  padding: var(--sp-6);
}

.room-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-3);
}

.room-card-body p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: var(--sp-5);
}

/* ============================================================
   12. COURTYARD SECTION
   ============================================================ */
.courtyard-section {
  position: relative;
  overflow: hidden;
}

.courtyard-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/Courtyard-img.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Disable parallax on touch devices (iOS Safari) */
@media (hover: none) {
  .courtyard-bg { background-attachment: scroll; }
}

.courtyard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 30, 56, 0.92) 0%,
    rgba(27, 42, 74, 0.87) 50%,
    rgba(18, 30, 56, 0.92) 100%
  );
}

.courtyard-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--off-white);
  max-width: 700px;
  margin-inline: auto;
}

.courtyard-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--off-white);
  margin-bottom: var(--sp-6);
}

.courtyard-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--sand);
  margin-bottom: var(--sp-10);
}

.courtyard-icons {
  display: flex;
  justify-content: center;
  gap: var(--sp-12);
  flex-wrap: wrap;
}

.courtyard-icon-item {
  text-align: center;
}

.courtyard-icon-item svg {
  width: 30px;
  height: 30px;
  fill: var(--gold);
  margin-inline: auto;
  margin-bottom: var(--sp-2);
}

.courtyard-icon-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.7;
}

/* ============================================================
   13. GALLERY — Asymmetric editorial grid
   ============================================================ */
.gallery-section {
  background: #0b1120;
  padding: var(--section-pad) 0 calc(var(--section-pad) + 2rem);
}

.gallery-section .section-header h2 { color: var(--off-white); }
.gallery-section .section-sub { color: var(--sand); max-width: 500px; margin: 0 auto; }

/* ── Asymmetric 3-col, 4-row grid — all 7 shown ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 300px 230px 280px 210px;
  gap: 8px;
  margin-top: 3.5rem;
}

/*
  Layout map:
  row 1:  [  1 (c1-2)  ] [ 2 (c3, r1-2) ]
  row 2:  [ 3 (c1) ] [ 4 (c2) ] [  tall  ]
  row 3:  [  5 (c1-2)  ] [ 6 (c3, r3-4) ]
  row 4:  [  7 (c1-2)  ] [    tall       ]
*/
.gl-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.gl-item:nth-child(2) { grid-column: 3;     grid-row: 1 / 3; }
.gl-item:nth-child(3) { grid-column: 1;     grid-row: 2; }
.gl-item:nth-child(4) { grid-column: 2;     grid-row: 2; }
.gl-item:nth-child(5) { grid-column: 1 / 3; grid-row: 3; }
.gl-item:nth-child(6) { grid-column: 3;     grid-row: 3 / 5; }
.gl-item:nth-child(7) { grid-column: 1 / 3; grid-row: 4; }

/* ── Each tile ── */
.gl-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: #0b1120;
}

/* Large ghost number — decorative, rendered via ::before using data-num */
.gl-item::before {
  content: attr(data-num);
  position: absolute;
  top: 0.5rem;
  left: 0.875rem;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  letter-spacing: -0.03em;
  mix-blend-mode: overlay;
}

.gl-item:hover::before {
  opacity: 0.55;
  transform: translateY(0);
}

/* ── Image ── */
.gl-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) brightness(0.94);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease;
  will-change: transform, filter;
}

.gl-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) brightness(1);
}

/* Sibling dimming when any tile is hovered */
.gallery-grid:has(.gl-item:hover) .gl-item:not(:hover) img {
  filter: saturate(0.6) brightness(0.7);
}

/* ── Overlay ── */
.gl-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

/* Gold inset border that fades in on hover */
.gl-item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 1.5px solid rgba(201,161,92,0);
  border-radius: 4px;
  transition: border-color 0.35s ease;
  pointer-events: none;
}

.gl-item:hover::after { border-color: rgba(201,161,92,0.55); }

/* ── Bottom text block ── */
.gl-bottom {
  width: 100%;
  padding: 1.125rem 1rem 0.875rem;
  background: linear-gradient(to top, rgba(11,17,32,0.92) 0%, transparent 100%);
  transform: translateY(6px);
  opacity: 0;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.gl-item:hover .gl-bottom,
.gl-item:focus-visible .gl-bottom {
  opacity: 1;
  transform: translateY(0);
}

.gl-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.2;
  margin-bottom: 4px;
}

.gl-tag-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Focus ring ── */
.gl-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── Responsive: tablet ── */
@media (max-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 280px 220px 220px 260px;
    gap: 6px;
  }

  .gl-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .gl-item:nth-child(2) { grid-column: 1;     grid-row: 2; }
  .gl-item:nth-child(3) { grid-column: 2;     grid-row: 2; }
  .gl-item:nth-child(4) { grid-column: 1;     grid-row: 3; }
  .gl-item:nth-child(5) { grid-column: 2;     grid-row: 3; }
  .gl-item:nth-child(6) { grid-column: 1;     grid-row: 4; }
  .gl-item:nth-child(7) { grid-column: 2;     grid-row: 4; }

  .gl-item::before { font-size: 4rem; }
}

/* ── Responsive: mobile ── */
@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 150px 150px 150px;
    gap: 5px;
  }

  .gl-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .gl-item:nth-child(2) { grid-column: 1;     grid-row: 2; }
  .gl-item:nth-child(3) { grid-column: 2;     grid-row: 2; }
  .gl-item:nth-child(4) { grid-column: 1;     grid-row: 3; }
  .gl-item:nth-child(5) { grid-column: 2;     grid-row: 3; }
  .gl-item:nth-child(6) { grid-column: 1;     grid-row: 4; }
  .gl-item:nth-child(7) { grid-column: 2;     grid-row: 4; }

  .gl-bottom { opacity: 1; transform: none; }
  .gl-item::before { display: none; }
  .gallery-grid:has(.gl-item:hover) .gl-item:not(:hover) img { filter: saturate(0.82) brightness(0.94); }
}

/* ============================================================
   14. EXPLORE FÈS SECTION
   ============================================================ */
.explore-fes-section {
  background: var(--off-white);
}

.explore-fes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-20);
  align-items: center;
}

.explore-fes-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.875rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: var(--sp-5);
}

.explore-fes-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: var(--sp-8);
}

.explore-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(27,42,74,0.1);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.stat-lbl {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.6;
}

.explore-fes-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xs);
}

/* ============================================================
   15. EXPLORE THE AREA SECTION
   ============================================================ */
.explore-area-section {
  background: var(--navy);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
}

.explore-area-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(201,161,92,0.03) 0px, rgba(201,161,92,0.03) 1px,
      transparent 1px, transparent 18px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(201,161,92,0.03) 0px, rgba(201,161,92,0.03) 1px,
      transparent 1px, transparent 18px
    );
  pointer-events: none;
}

.area-places-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-12);
  position: relative;
}

.place-card {
  background: var(--slate-blue);
  border-radius: var(--radius-md);
  padding: var(--sp-5) var(--sp-5);
  border: 1px solid rgba(201,161,92,0.06);
  transition: transform var(--t-mid) var(--ease-out),
              border-color var(--t-mid),
              background var(--t-mid);
}

.place-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,161,92,0.3);
  background: rgba(46,64,102,0.9);
}

.place-card-icon {
  width: 32px;
  height: 32px;
  fill: var(--gold);
  margin-bottom: var(--sp-3);
}

.place-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: var(--sp-2);
}

.place-desc {
  font-size: 0.84375rem;
  line-height: 1.6;
  color: var(--sand);
  opacity: 0.8;
}

/* ============================================================
   16. TOURS & EXCURSIONS SECTION
   ============================================================ */
.tours-section {
  background: var(--off-white);
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-12);
}

.tour-card {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  border: 1px solid rgba(27,42,74,0.06);
  box-shadow: 0 2px 16px rgba(27,42,74,0.03);
  transition: transform var(--t-mid) var(--ease-out),
              border-color var(--t-mid),
              box-shadow var(--t-mid);
}

.tour-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,161,92,0.4);
  box-shadow: 0 16px 48px rgba(27,42,74,0.08);
}

.tour-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: rgba(201,161,92,0.08);
  border: 1px solid rgba(201,161,92,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
  transition: background var(--t-mid), border-color var(--t-mid);
}

.tour-card:hover .tour-icon-wrap {
  background: var(--gold);
  border-color: var(--gold);
}

.tour-icon-wrap svg {
  width: 26px;
  height: 26px;
  fill: var(--gold);
  transition: fill var(--t-mid);
}

.tour-card:hover .tour-icon-wrap svg { fill: var(--dark-navy); }

.tour-name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.tour-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--charcoal);
  opacity: 0.7;
}

/* ============================================================
   17. GROUPS SECTION
   ============================================================ */
.groups-section {
  background: var(--slate-blue);
  text-align: center;
  color: var(--off-white);
  position: relative;
  overflow: hidden;
}

.groups-inner {
  max-width: 680px;
  margin-inline: auto;
  position: relative;
}

.groups-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: var(--sp-5);
}

.groups-inner p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--sand);
  margin-bottom: var(--sp-8);
}

.group-type-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
}

.group-chip {
  background: rgba(201,161,92,0.12);
  border: 1px solid rgba(201,161,92,0.25);
  color: var(--sand);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
}

/* ============================================================
   18. DIRECT BOOKING SECTION
   ============================================================ */
.booking-section {
  background: var(--navy);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
}

.booking-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(201,161,92,0.03) 0px, rgba(201,161,92,0.03) 1px,
      transparent 1px, transparent 18px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(201,161,92,0.03) 0px, rgba(201,161,92,0.03) 1px,
      transparent 1px, transparent 18px
    );
  pointer-events: none;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-12);
  position: relative;
}

.booking-card {
  background: var(--slate-blue);
  border-radius: var(--radius-md);
  padding: var(--sp-8) var(--sp-5);
  text-align: center;
  border: 1px solid rgba(201,161,92,0.08);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease-out),
              border-color var(--t-mid),
              box-shadow var(--t-mid);
}

.booking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease-out);
}

.booking-card:hover::before { transform: scaleX(1); }

.booking-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,161,92,0.25);
  box-shadow: 0 20px 48px rgba(0,0,0,0.25);
}

.booking-pct {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.booking-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: var(--sp-1);
}

.booking-sub {
  font-size: 0.8125rem;
  color: var(--sand);
  opacity: 0.75;
}

.booking-note {
  text-align: center;
  margin-top: var(--sp-8);
  font-size: 0.875rem;
  color: var(--sand);
  opacity: 0.55;
  font-style: italic;
  position: relative;
}

.booking-direct-cta {
  text-align: center;
  margin-top: var(--sp-10);
  position: relative;
}

/* ============================================================
   19. REVIEWS SECTION
   ============================================================ */
.reviews-section {
  background: var(--off-white);
}

.reviews-intro {
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--sp-16);
}

.reviews-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.875rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}

.reviews-intro p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--charcoal);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.review-card {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  border: 1px solid rgba(27,42,74,0.05);
  box-shadow: 0 2px 20px rgba(27,42,74,0.04);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(27,42,74,0.08);
}

.review-quote {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 0.7;
  font-weight: 700;
  margin-bottom: var(--sp-4);
  user-select: none;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--sp-4);
}

.star-icon {
  width: 14px;
  height: 14px;
  fill: var(--gold);
}

.review-text {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: var(--sp-5);
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(27,42,74,0.07);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}

.reviewer-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.reviewer-origin {
  font-size: 0.8125rem;
  color: var(--charcoal);
  opacity: 0.55;
}

/* ============================================================
   20. CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--dark-navy);
  color: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-16);
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: var(--sp-4);
}

.contact-info > p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--sand);
  margin-bottom: var(--sp-10);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(201,161,92,0.1);
  border: 1px solid rgba(201,161,92,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.contact-method-lbl {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-1);
}

.contact-method-val {
  font-size: 0.9375rem;
  color: var(--sand);
}

/* Contact Form */
.contact-form-card {
  background: var(--slate-blue);
  border-radius: var(--radius-md);
  padding: var(--sp-8);
  border: 1px solid rgba(201,161,92,0.08);
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: var(--sp-6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.85;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(18,30,56,0.5);
  border: 1px solid rgba(201,161,92,0.18);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: var(--off-white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
  min-height: 48px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245,242,236,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,161,92,0.12);
}

.form-group select option { background: var(--slate-blue); color: var(--off-white); }

.form-group textarea { resize: vertical; min-height: 110px; }

/* ============================================================
   21. CLOSING QUOTE SECTION
   ============================================================ */
.closing-quote-section {
  background: var(--navy);
  padding-block: 9rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(201,161,92,0.03) 0px, rgba(201,161,92,0.03) 1px,
      transparent 1px, transparent 18px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(201,161,92,0.03) 0px, rgba(201,161,92,0.03) 1px,
      transparent 1px, transparent 18px
    );
  pointer-events: none;
}

.closing-quote-inner {
  position: relative;
  max-width: 700px;
  margin-inline: auto;
  padding-inline: var(--sp-8);
}

.closing-quote-inner blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 300;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.5;
}

.closing-quote-inner blockquote em {
  color: var(--gold);
  font-style: italic;
}

/* ============================================================
   22. FOOTER
   ============================================================ */
.footer {
  background: var(--dark-navy);
  color: var(--off-white);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-8);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(245,242,236,0.07);
  margin-bottom: var(--sp-6);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.footer-brand-logo img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--gold);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.15;
}

.footer-brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--sand);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: var(--sp-6);
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: var(--sp-3);
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(201,161,92,0.08);
  border: 1px solid rgba(201,161,92,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast);
}

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

.social-btn svg {
  width: 15px;
  height: 15px;
  fill: var(--sand);
  transition: fill var(--t-fast);
}

.social-btn:hover svg { fill: var(--dark-navy); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-link {
  font-size: 0.9rem;
  color: var(--sand);
  opacity: 0.7;
  transition: color var(--t-fast), opacity var(--t-fast), padding-left var(--t-fast);
}

.footer-link:hover {
  color: var(--gold);
  opacity: 1;
  padding-left: var(--sp-2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  fill: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item span {
  font-size: 0.875rem;
  color: var(--sand);
  opacity: 0.75;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--sand);
  opacity: 0.4;
}

/* ============================================================
   23. KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.9); }
  50%       { opacity: 0.8;  transform: scaleY(1.1); }
}

@keyframes spinCW {
  to { transform: rotate(360deg); }
}

/* Loading spinner for form submit */
.spin { animation: spinCW 0.8s linear infinite; }

/* ============================================================
   24. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Large tablet / small desktop */
@media (max-width: 1200px) {
  :root { --section-pad: 6rem; }
  .booking-grid { grid-template-columns: repeat(3, 1fr); }
  .area-places-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-pad: 5rem; }

  .about-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .about-image-frame img { height: 420px; }
  .about-badge { display: none; }

  .explore-fes-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .explore-fes-img img { height: 360px; }

  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-10); }

  .dorms-grid { grid-template-columns: repeat(2, 1fr); }
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }

}

/* Mobile / large phone */
@media (max-width: 768px) {
  :root { --section-pad: 4rem; }

  .container { padding-inline: var(--sp-5); }

  /* Hide desktop nav, show hamburger */
  .navbar-links, .navbar-cta-desk { display: none; }
  .hamburger { display: flex; }

  .dorms-grid { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .tours-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: repeat(2, 1fr); }
  .area-places-grid { grid-template-columns: repeat(2, 1fr); }

  .explore-stats { grid-template-columns: repeat(3, 1fr); }

  .about-features { grid-template-columns: 1fr; }
  .about-image-border { display: none; }

  .hero-ctas { flex-direction: column; align-items: center; }

  .courtyard-icons { gap: var(--sp-8); }

  .footer-top { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .form-row { grid-template-columns: 1fr; }
}

/* Small phone */
@media (max-width: 480px) {
  .booking-grid { grid-template-columns: 1fr; }
  .area-places-grid { grid-template-columns: 1fr; }
  .explore-stats { grid-template-columns: 1fr; gap: var(--sp-4); }
}

/* ============================================================
   25. SVG ICON SYSTEM
   All feather-icon-style SVGs use stroke; decorative shapes use fill.
   ============================================================ */

/* Stroke-based utility icons (feather icon style) */
.feature-icon-wrap svg,
.pod-amenity svg,
.place-card-icon,
.courtyard-icon-item svg,
.tour-icon-wrap svg,
.contact-method-icon svg,
.footer-contact-item svg,
.dorm-card-body .btn svg,
.form-group svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Feature icons: gold stroke */
.feature-icon-wrap svg { stroke: var(--gold); }

/* Pod amenity icons */
.pod-amenity svg { stroke: var(--gold); width: 16px; height: 16px; }

/* Place card icons */
.place-card-icon {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Courtyard icons */
.courtyard-icon-item svg { stroke: var(--gold); }

/* Tour icons */
.tour-icon-wrap svg { stroke: var(--gold); }
.tour-card:hover .tour-icon-wrap svg { stroke: var(--dark-navy); }

/* Contact method icons */
.contact-method-icon svg { stroke: var(--gold); }

/* Footer contact icons */
.footer-contact-item svg { stroke: var(--gold); fill: none; }

/* Social button icons — stroke */
.social-btn svg {
  fill: none;
  stroke: var(--sand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-btn:hover svg { stroke: var(--dark-navy); }


/* About badge — ensure inline SVG in buttons are fine */
.btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Filled shapes — Moroccan star & review stars stay filled */
.gold-sep-icon {
  fill: var(--gold);
  stroke: none;
}

.star-icon {
  fill: var(--gold);
  stroke: var(--gold);
  stroke-width: 1;
}

/* Hamburger bars are not SVG, but ensure no accidental fill */
.hamburger svg { fill: none; }

/* Cursor pointer for all interactive cards */
.dorm-card,
.room-card,
.tour-card,
.place-card,
.booking-card {
  cursor: pointer;
}

/* Ensure content appears above ::before pattern overlays */
.dorms-section > .container,
.explore-area-section > .container,
.booking-section > .container {
  position: relative;
  z-index: 1;
}

.closing-quote-inner { z-index: 1; }

/* Groups inner content */
.groups-inner { position: relative; z-index: 1; }

/* ============================================================
   26. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  /* Stop infinite / looping animations only — do NOT kill fade-ins or slide-ins */
  *[style*="animation"],
  .ld-logo-ring,
  .hero-bg,
  .sc-bg-slide { animation-iteration-count: 1 !important; }

  /* Spinning ring: stop it */
  .ld-logo-ring { animation: none !important; }

  /* Hero parallax: skip transform */
  .hero-bg { transform: none !important; transition: none !important; }

  /* Gallery image parallax: skip */
  .gl-item img { transition: filter 0.3s ease !important; }

  /* Booking modal: simpler panel entrance */
  .bk-panel { animation: none !important; }

  /* Page-loader exit: simple fade instead of curtain */
  #page-loader { transition: opacity 0.5s ease !important; }
  #page-loader.ld-exit { transform: none !important; opacity: 0 !important; }
}

/* ============================================================
   27. BOOKING MODAL
   ============================================================ */

/* Overlay backdrop */
.bk-overlay {
  display: none; /* hidden by default; JS removes [hidden] to show */
}

.bk-overlay:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 16, 30, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: bkOverlayIn 0.22s ease-out both;
}

@keyframes bkOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Panel */
.bk-panel {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 760px;
  max-height: 92dvh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.28), 0 0 0 1px rgba(0,0,0,0.06);
  animation: bkPanelIn 0.3s cubic-bezier(0.16,1,0.3,1) both;
  overscroll-behavior: contain;
}

@keyframes bkPanelIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Close button */
.bk-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.bk-close:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: scale(1.08);
}

/* Header strip */
.bk-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid #f0f0f0;
  padding-right: 3.5rem;
}

.bk-room-thumb {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.bk-room-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,161,92,0.1);
  border: 1px solid rgba(201,161,92,0.3);
  border-radius: 20px;
  padding: 2px 10px;
  margin-bottom: 0.35rem;
}

.bk-room-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.bk-ppn-line {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #6b7280;
}

.bk-ppn-line strong {
  font-size: 1.0625rem;
  color: var(--charcoal);
  font-weight: 700;
}

/* Step indicators */
.bk-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.bk-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 60px;
}

.bk-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9ca3af;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.bk-step-lbl {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: #9ca3af;
  letter-spacing: 0.04em;
  transition: color 0.25s;
}

.bk-step-line {
  flex: 1;
  height: 1.5px;
  background: #e5e7eb;
  margin-bottom: 18px;
  max-width: 80px;
  transition: background 0.25s;
}

/* Active step */
.bk-step-item.active .bk-step-circle {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.bk-step-item.active .bk-step-lbl { color: var(--navy); font-weight: 600; }

/* Completed step */
.bk-step-item.done .bk-step-circle {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

.bk-step-item.done .bk-step-lbl { color: var(--gold); }
.bk-step-item.done ~ .bk-step-line { background: var(--gold); }

/* Step body wrapper */
.bk-body {
  padding: 1.5rem;
}

/* Step transition animations */
.bk-body.bk-leaving {
  animation: bkLeave 0.18s ease-in both;
}

.bk-body.bk-entering {
  animation: bkEnter 0.25s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes bkLeave {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-24px); }
}

@keyframes bkEnter {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Date chips ── */
.bk-date-chips {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.bk-chip {
  flex: 1;
  min-width: 120px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.6rem 0.875rem;
  cursor: default;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.bk-chip.active {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,42,74,0.08);
}

.bk-chip-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #6b7280;
  margin-bottom: 3px;
}

.bk-chip-val {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}

.bk-chip-arrow { color: #9ca3af; flex-shrink: 0; }

.bk-clear {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 4px 10px;
  background: #fff;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.bk-clear:hover { color: #374151; border-color: #9ca3af; }

/* ── Calendar ── */
.bk-cal {
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.bk-cal-topbar {
  display: flex;
  align-items: center;
  background: #fafafa;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.625rem 0.75rem;
  gap: 0.5rem;
}

.bk-cal-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

.bk-cal-nav-btn:hover { background: #f3f4f6; border-color: #d1d5db; }

.bk-cal-titles {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  gap: 0;
}

.bk-cal-month-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--charcoal);
}

.bk-cal-grids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Divider between the two month grids */
.bk-month:first-child {
  border-right: 1px solid #f0f0f0;
}

.bk-month {
  padding: 0.875rem 0.75rem 1rem;
}

/* Day-of-week headers */
.bk-day-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 4px;
}

.bk-day-headers span {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: #9ca3af;
  padding: 4px 0;
}

/* Day grid */
.bk-day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

/* Day button */
.bk-day {
  position: relative;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--charcoal);
  -webkit-tap-highlight-color: transparent;
}

/* Day number circle (inner span) */
.bk-day > span {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s, color 0.12s;
}

/* Range strip (via ::after) */
.bk-day::after {
  content: '';
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 0;
  pointer-events: none;
}

/* Past / disabled */
.bk-day.bk-past { opacity: 0.3; cursor: not-allowed; pointer-events: none; }

/* Today */
.bk-day.bk-today > span { border: 1.5px solid var(--charcoal); }

/* Hover (non-selected) */
.bk-day:not(:disabled):not(.bk-checkin):not(.bk-checkout):hover > span {
  background: #f3f4f6;
}

/* Check-in / check-out circles */
.bk-day.bk-checkin > span,
.bk-day.bk-checkout > span {
  background: var(--navy);
  color: #fff;
}

/* Hover end preview */
.bk-day.bk-hover-end > span { background: rgba(27,42,74,0.12); }

/* In-range full strip */
.bk-day.bk-inrange::after { background: rgba(201,161,92,0.16); border-radius: 0; }
.bk-day.bk-hover-range::after { background: rgba(201,161,92,0.1); border-radius: 0; }

/* Range start: right half of strip */
.bk-day.bk-range-start::after {
  left: 50%;
  background: rgba(201,161,92,0.16);
  border-radius: 0;
}

/* Range end: left half of strip */
.bk-day.bk-range-end::after {
  right: 50%;
  background: rgba(201,161,92,0.16);
  border-radius: 0;
}

/* Hover range start: right half preview */
.bk-day.bk-range-start-hover::after {
  left: 50%;
  background: rgba(201,161,92,0.1);
  border-radius: 0;
}

/* ── Guests counter ── */
.bk-guests-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
}

.bk-g-title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.bk-g-sub {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #6b7280;
}

.bk-counter {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.bk-cnt {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  background: #fff;
  font-size: 1.125rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--charcoal);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.bk-cnt:disabled { opacity: 0.35; cursor: not-allowed; }
.bk-cnt:not(:disabled):hover { border-color: var(--navy); color: var(--navy); background: rgba(27,42,74,0.05); }

.bk-cnt-val {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  min-width: 1.5ch;
  text-align: center;
}

/* ── Hint text ── */
.bk-hint {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* ── Buttons ── */
.bk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s, opacity 0.18s;
  border: 2px solid transparent;
  min-height: 48px;
}

.bk-btn:active { transform: scale(0.97); }

.bk-primary {
  background: var(--navy);
  color: #fff;
  width: 100%;
  border-color: var(--navy);
}

.bk-primary:hover:not(:disabled) { background: var(--dark-navy); border-color: var(--dark-navy); }
.bk-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.bk-gold {
  background: var(--gold);
  color: var(--dark-navy);
  font-weight: 700;
  border-color: var(--gold);
  flex: 1;
}

.bk-gold:hover { background: #b8903f; border-color: #b8903f; }

.bk-ghost {
  background: transparent;
  color: #6b7280;
  border-color: #e5e7eb;
}

.bk-ghost:hover { background: #f9fafb; border-color: #d1d5db; color: var(--charcoal); }

/* Row of two action buttons */
.bk-row-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.bk-row-actions .bk-ghost { flex: 0 0 auto; }
.bk-row-actions .bk-primary,
.bk-row-actions .bk-gold { flex: 1; }

/* ── Step 2: Form ── */
.bk-fields-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.bk-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 0.875rem;
}

.bk-field label {
  font-family: var(--font-body);
  font-size: 0.84375rem;
  font-weight: 600;
  color: #374151;
}

.bk-req { color: #ef4444; }
.bk-opt { font-style: normal; font-weight: 400; font-size: 0.8rem; color: #9ca3af; }

.bk-field input,
.bk-field textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 9px;
  padding: 0.65rem 0.875rem;
  min-height: 48px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
}

.bk-field input:focus,
.bk-field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,42,74,0.1);
}

.bk-field input.bk-invalid,
.bk-field textarea.bk-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}

.bk-ferr {
  font-family: var(--font-body);
  font-size: 0.775rem;
  color: #ef4444;
  min-height: 1.2em;
}

/* ── Step 3: Review card ── */
.bk-review-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.bk-rev-thumb {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.bk-rev-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-body);
}

.bk-rev-text strong { font-size: 0.9375rem; color: var(--charcoal); font-weight: 700; }
.bk-rev-text span { font-size: 0.84375rem; color: #6b7280; }

/* Price breakdown */
.bk-price-box {
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem 1.125rem;
  margin-bottom: 1rem;
}

.bk-pr-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--charcoal);
  padding: 0.4rem 0;
}

.bk-pr-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0.5rem 0;
}

.bk-pr-total {
  font-weight: 700;
  font-size: 1rem;
}

/* Info note */
.bk-info-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(201,161,92,0.07);
  border: 1px solid rgba(201,161,92,0.25);
  border-radius: 10px;
  padding: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.55;
  margin-bottom: 0.25rem;
}

.bk-info-note svg { flex-shrink: 0; color: var(--gold); margin-top: 1px; }

/* ── Success ── */
.bk-success-body {
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
}

.bk-check-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
}

.bk-checkmark {
  width: 100%;
  height: 100%;
}

.bk-check-circle {
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-linecap: round;
  animation: bkCircleDraw 0.6s ease-in-out 0.1s forwards;
}

.bk-check-path {
  stroke: var(--navy);
  stroke-width: 3;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: bkCheckDraw 0.35s ease-out 0.55s forwards;
}

@keyframes bkCircleDraw { to { stroke-dashoffset: 0; } }
@keyframes bkCheckDraw  { to { stroke-dashoffset: 0; } }

.bk-success-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.bk-success-msg {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto 1.25rem;
}

.bk-suc-summary {
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  text-align: left;
}

.bk-suc-done { max-width: 220px; margin: 0 auto; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .bk-overlay { padding: 0; align-items: flex-end; }

  .bk-panel {
    max-height: 95dvh;
    border-radius: 20px 20px 0 0;
    animation: bkPanelInMobile 0.32s cubic-bezier(0.16,1,0.3,1) both;
  }

  @keyframes bkPanelInMobile {
    from { opacity: 0; transform: translateY(60px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .bk-cal-grids { grid-template-columns: 1fr; }
  .bk-cal-titles { grid-template-columns: 1fr; }
  .bk-month:first-child { border-right: none; border-bottom: 1px solid #f0f0f0; }
  .bk-cal-month-title:last-child { display: none; }

  .bk-fields-2col { grid-template-columns: 1fr; }
  .bk-header { padding-right: 3.5rem; }
  .bk-date-chips { flex-wrap: wrap; }
  .bk-chip { min-width: 100%; }
  .bk-chip-arrow { display: none; }
}

@media (max-width: 400px) {
  .bk-body { padding: 1.125rem; }
  .bk-day > span { width: 30px; height: 30px; }
  .bk-day { height: 34px; }
}
