/* ═══════════════════════════════════════════════════════════════════
   GLAMOUR PALACE v2 — Design System
   Aesthetic: Sacred Luxury — ancient pilgrimage meets modern hospitality
   Typography: Cormorant Garamond (display) + DM Sans (body)
   Palette: Deep maroon, Bodhi gold, warm cream, midnight ink
   Motion: Reverent, slow, intentional — like temple bells
   ═══════════════════════════════════════════════════════════════════ */

/* ── SELF-HOSTED FONTS ─────────────────────────────────────────── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/CormorantGaramond-Variable.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/DMSans-Variable.woff2') format('woff2');
}

/* ── DESIGN TOKENS ──────────────────────────────────────────────── */
:root {
  /* Core palette */
  --maroon:       #6d1a24;
  --maroon-deep:  #4a1019;
  --maroon-light: #8b2535;
  --gold:         #b5863a;
  --gold-lt:      #cfa052;
  --gold-pale:    #e8c97a;
  --gold-dim:     rgba(181,134,58,.35);
  --cream:        #faf7f2;
  --sand:         #f2ede4;
  --linen:        #e8e0d4;
  --ink:          #1a1410;
  --ink-80:       rgba(26,20,16,.8);
  --ink-60:       rgba(26,20,16,.6);
  --ink-40:       rgba(26,20,16,.4);
  --ink-20:       rgba(26,20,16,.2);
  --ink-08:       rgba(26,20,16,.08);
  --white:        #ffffff;

  /* Semantic */
  --bg:           var(--cream);
  --surface:      var(--white);
  --text:         var(--ink);
  --text-muted:   var(--ink-60);
  --border:       var(--ink-08);
  --rule:         1px solid var(--ink-08);
  --rule-gold:    1px solid var(--gold-dim);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Sizing */
  --max-w:        1200px;
  --max-w-text:   780px;
  --nav-h:        72px;
  --section-pad:  clamp(60px, 8vw, 120px);

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(26,20,16,.06);
  --shadow-md:    0 8px 32px rgba(26,20,16,.10);
  --shadow-lg:    0 24px 64px rgba(26,20,16,.14);
  --shadow-gold:  0 8px 32px rgba(181,134,58,.25);

  /* Radius */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full: 9999px;

  /* Transitions */
  --ease:         cubic-bezier(.4, 0, .2, 1);
  --ease-out:     cubic-bezier(0, 0, .2, 1);
  --ease-spring:  cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast:     150ms;
  --dur-base:     300ms;
  --dur-slow:     600ms;
  --dur-enter:    900ms;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

/* ── CUSTOM CURSOR ──────────────────────────────────────────────── */
@media (pointer: fine) { * { cursor: none !important; } }
#cursor-dot {
  position: fixed; width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast);
  mix-blend-mode: multiply;
}
#cursor-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width var(--dur-base) var(--ease-spring),
              height var(--dur-base) var(--ease-spring),
              border-color var(--dur-base),
              opacity var(--dur-base);
  opacity: .6;
}
body:hover #cursor-dot, body:hover #cursor-ring { opacity: 1; }
a:hover ~ #cursor-ring, button:hover ~ #cursor-ring {
  width: 56px; height: 56px; border-color: var(--maroon); opacity: .8;
}

/* ── PROGRESS BAR ───────────────────────────────────────────────── */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--gold-pale));
  z-index: 99997; width: 0%; transition: width var(--dur-fast);
}

/* ── NOISE TEXTURE OVERLAY ──────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: .4;
}

/* ── TYPOGRAPHY SCALE ───────────────────────────────────────────── */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -.02em;
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.01em;
}
h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 400;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-60);
}
em { font-style: italic; color: var(--gold-lt); }
strong { font-weight: 500; }

/* ── LAYOUT ─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}
.container--narrow { max-width: var(--max-w-text); }
.section { padding: var(--section-pad) 0; }
.section--dark { background: var(--ink); color: var(--cream); }
.section--warm { background: var(--sand); }
.section--linen { background: var(--linen); }

/* ── NAVIGATION ─────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              backdrop-filter var(--dur-base);
}
#nav.scrolled {
  background: rgba(250,247,242,.92);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: 0 1px 0 var(--ink-08), var(--shadow-sm);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--gold-dim);
  flex-shrink: 0;
}
.nav-logo-mark svg { width: 20px; height: 20px; }
.nav-logo-text { line-height: 1.1; }
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--ink);
  transition: color var(--dur-base);
}
.nav-logo-sub {
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.nav-links {
  display: flex; gap: 36px; align-items: center;
}
.nav-links a {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-60);
  transition: color var(--dur-base);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-book {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px;
  background: var(--maroon);
  color: var(--white) !important;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: background var(--dur-base), box-shadow var(--dur-base), transform var(--dur-fast);
  border: 1px solid transparent;
}
.nav-book::after { display: none !important; }
.nav-book:hover {
  background: var(--maroon-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh; min-height: 600px;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 2s var(--ease);
  will-change: opacity;
}
.hero-slide.active { opacity: 1; z-index: 1; }

/* Slide backgrounds — each a rich atmospheric gradient */
.hero-slide:nth-child(1) { background: linear-gradient(135deg, #2d1245 0%, #5c2e0a 50%, #1a0a2e 100%); }
.hero-slide:nth-child(2) { background: linear-gradient(135deg, #0f3020 0%, #1e5010 50%, #0a2818 100%); }
.hero-slide:nth-child(3) { background: linear-gradient(135deg, #1c1548 0%, #3d1a08 50%, #1a0a2e 100%); }
.hero-slide:nth-child(4) { background: linear-gradient(135deg, #2e1c08 0%, #5a3810 50%, #1a0810 100%); }
.hero-slide:nth-child(5) { background: linear-gradient(135deg, #163016 0%, #2e4a10 50%, #101a10 100%); }
.hero-slide:nth-child(6) { background: linear-gradient(135deg, #12123a 0%, #2a4a10 50%, #0a1210 100%); }
.hero-slide:nth-child(7) { background: linear-gradient(135deg, #1a0a2e 0%, #3d1a00 50%, #1a0a2e 100%); }
.hero-slide:nth-child(8) { background: linear-gradient(135deg, #0a1a2e 0%, #0d2e1a 50%, #0a1a2e 100%); }

/* Atmospheric overlay */
.hero-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,0,0,.5) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(0,0,0,.3) 0%, transparent 40%, rgba(0,0,0,.2) 100%);
}

/* Particles layer */
.hero-particles {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
}
.hero-particle {
  position: absolute; border-radius: 50%;
  background: var(--gold-pale);
  animation: particle-drift linear infinite;
  opacity: 0;
}
@keyframes particle-drift {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .5; }
  100% { transform: translateY(-100vh) translateX(var(--pdx, 0)); opacity: 0; }
}

/* Footsteps layer */
.hero-steps {
  position: absolute; bottom: 64px; left: 0; right: 0;
  height: 30px; z-index: 3; pointer-events: none; overflow: hidden;
}
.hero-step {
  position: absolute; font-size: 13px;
  opacity: 0; animation: step-walk 7s linear infinite;
}
.hero-step:nth-child(odd)  { bottom: 10px; transform: rotate(-14deg); }
.hero-step:nth-child(even) { bottom: 0;    transform: rotate(14deg);  }
.hero-step:nth-child(1)  { animation-delay: 0s;    }
.hero-step:nth-child(2)  { animation-delay: .65s;  }
.hero-step:nth-child(3)  { animation-delay: 1.3s;  }
.hero-step:nth-child(4)  { animation-delay: 1.95s; }
.hero-step:nth-child(5)  { animation-delay: 2.6s;  }
.hero-step:nth-child(6)  { animation-delay: 3.25s; }
.hero-step:nth-child(7)  { animation-delay: 3.9s;  }
.hero-step:nth-child(8)  { animation-delay: 4.55s; }
.hero-step:nth-child(9)  { animation-delay: 5.2s;  }
.hero-step:nth-child(10) { animation-delay: 5.85s; }
@keyframes step-walk {
  0%   { left: -4%;  opacity: 0; }
  5%   { opacity: .45; }
  90%  { opacity: .45; }
  100% { left: 104%; opacity: 0; }
}

/* Hero quote */
.hero-quote {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 20px) clamp(20px, 6vw, 100px) 80px;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  gap: 8px;
}
.hero-slide.active .hero-quote { opacity: 1; transition-delay: .4s; }

.hero-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,.95);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.hero-quote-text em {
  color: var(--gold-pale);
  font-style: normal;
  font-weight: 400;
}
.hero-quote-attr {
  font-family: var(--font-body);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
}
.hero-quote-rule {
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin: 0 auto 14px;
}
.hero-quote-native {
  font-family: var(--font-display);
  font-size: clamp(.9rem, 1.8vw, 1.3rem);
  color: var(--gold-lt);
  opacity: .8;
  margin-bottom: 4px;
}
.hero-quote-translit {
  font-size: .68rem;
  letter-spacing: .1em;
  font-style: italic;
  color: rgba(255,255,255,.4);
  margin-bottom: 10px;
}
.hero-quote-sub {
  display: none;
}

/* Corner ornaments */
.hero-corner {
  position: absolute; width: 100px; height: 100px; z-index: 3;
}
.hero-corner--tl { top: 32px; left: 32px; border-top: 1px solid var(--gold-dim); border-left: 1px solid var(--gold-dim); }
.hero-corner--br { bottom: 80px; right: 32px; border-bottom: 1px solid var(--gold-dim); border-right: 1px solid var(--gold-dim); }

/* Navigation dots */
.hero-dots {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 4;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: background var(--dur-base), width var(--dur-base) var(--ease-spring);
  cursor: pointer;
}
.hero-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: var(--r-sm);
}

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 30px; right: 40px;
  display: flex; align-items: center; gap: 10px; z-index: 4;
  opacity: .5;
}
.hero-scroll-line {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6));
}
.hero-scroll-text {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ── BOOKING BAR ─────────────────────────────────────────────────── */
.book-bar {
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: sticky; top: var(--nav-h); z-index: 900;
}
.book-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}
.bb-field {
  display: flex; flex-direction: column; justify-content: center;
  padding: 12px 20px;
  border-right: 1px solid rgba(255,255,255,.06);
  min-height: 60px;
}
.bb-label {
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.bb-input {
  background: transparent;
  border: none; outline: none;
  color: var(--white);
  font-size: .88rem;
  font-weight: 300;
  width: 100%;
}
.bb-input::placeholder { color: rgba(255,255,255,.3); }
.bb-input::-webkit-calendar-picker-indicator { filter: invert(1) opacity(.4); }
.bb-select {
  background: transparent;
  border: none; outline: none;
  color: var(--white);
  font-size: .88rem;
  font-weight: 300;
  width: 100%;
  -webkit-appearance: none;
}
.bb-select option { background: var(--ink); color: var(--white); }
.bb-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 0 28px;
  background: var(--maroon);
  color: var(--white);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background var(--dur-base);
  white-space: nowrap;
}
.bb-btn:hover { background: var(--maroon-light); }
.bb-notice {
  text-align: center;
  padding: 8px;
  font-size: .62rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
  background: var(--ink);
}

/* ── SECTIONS — ABOUT ────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-md);
}
.about-image-placeholder {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-gold);
  animation: rotate-slow 20s linear infinite;
}
@keyframes rotate-slow { to { transform: rotate(360deg); } }
.about-badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.about-badge-text {
  font-size: .52rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

/* ── STATS BAR ───────────────────────────────────────────────────── */
.stats-bar {
  background: var(--maroon);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* ── ROOMS ───────────────────────────────────────────────────────── */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.room-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  border: var(--rule);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base);
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.room-card-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.room-card:hover .room-card-img { transform: scale(1.04); }
.room-card-img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 60%, var(--maroon-light) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.room-card-img-placeholder svg { width: 48px; height: 48px; opacity: .3; }
.room-card-body { padding: 24px; }
.room-card-tag {
  display: inline-block;
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(181,134,58,.08);
  padding: 4px 10px;
  border-radius: var(--r-full);
  border: 1px solid var(--gold-dim);
  margin-bottom: 12px;
}
.room-card-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}
.room-card-desc {
  font-size: .84rem;
  color: var(--ink-60);
  line-height: 1.6;
  margin-bottom: 16px;
}
.room-card-amenities {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 20px;
}
.room-amenity {
  font-size: .65rem;
  color: var(--ink-60);
  background: var(--sand);
  padding: 3px 8px;
  border-radius: var(--r-full);
}
.room-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px;
  border-top: var(--rule);
}
.room-price {
  display: flex; flex-direction: column;
}
.room-price-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--maroon);
  line-height: 1;
}
.room-price-per {
  font-size: .62rem;
  letter-spacing: .1em;
  color: var(--ink-40);
  text-transform: uppercase;
}
.room-card-btn {
  padding: 10px 20px;
  background: var(--maroon);
  color: var(--white);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: none; cursor: pointer;
  border-radius: var(--r-sm);
  transition: background var(--dur-base), box-shadow var(--dur-base), transform var(--dur-fast);
}
.room-card-btn:hover {
  background: var(--maroon-light);
  box-shadow: 0 4px 16px rgba(109,26,36,.3);
  transform: translateY(-1px);
}

/* ── GALLERY ─────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 8px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--linen);
}
.gallery-item:first-child {
  grid-row: span 2;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,20,16,.5), transparent 50%);
  opacity: 0;
  transition: opacity var(--dur-base);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* ── AMENITIES LIST ──────────────────────────────────────────────── */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}
.amenity-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-right: var(--rule);
  border-bottom: var(--rule);
  background: var(--surface);
  transition: background var(--dur-base);
}
.amenity-item:hover { background: var(--sand); }
.amenity-item:nth-child(4n) { border-right: none; }
.amenity-item:nth-last-child(-n+4) { border-bottom: none; }
.amenity-icon { font-size: 1.2rem; flex-shrink: 0; }
.amenity-label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink);
}

/* ── PLACES CAROUSEL ─────────────────────────────────────────────── */
.places-section { overflow: hidden; }
.places-tabs {
  display: flex; gap: 0;
  border: var(--rule);
  border-radius: var(--r-sm);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 28px;
}
.ptab {
  padding: 10px 24px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--surface);
  color: var(--ink-60);
  border: none; cursor: pointer;
  transition: background var(--dur-base), color var(--dur-base);
}
.ptab.active, .ptab:hover {
  background: var(--ink);
  color: var(--white);
}
.carousel-wrap {
  position: relative;
  margin: 0 -clamp(20px, 5vw, 72px);
}
.carousel-track {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-behavior: smooth;
  padding: 4px clamp(20px, 5vw, 72px) 20px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card {
  flex: 0 0 260px;
  height: 320px;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  display: block;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base);
}
.carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.carousel-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow);
}
.carousel-card:hover img { transform: scale(1.06); }
.carousel-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,20,16,.85) 0%, transparent 60%);
}
.carousel-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px;
}
.carousel-card-dist {
  font-size: .62rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
  margin-bottom: 4px;
}
.carousel-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 400;
}
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: var(--surface);
  border: var(--rule);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--ink);
  cursor: pointer; z-index: 2;
  box-shadow: var(--shadow-md);
  transition: background var(--dur-base), transform var(--dur-fast);
}
.carousel-arrow:hover { background: var(--gold); color: var(--white); transform: translateY(-50%) scale(1.05); }
.carousel-arrow.left { left: clamp(4px, 1vw, 12px); }
.carousel-arrow.right { right: clamp(4px, 1vw, 12px); }

/* ── REVIEWS ─────────────────────────────────────────────────────── */
.reviews-carousel { position: relative; }
.rev-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rev-card {
  background: var(--surface);
  border: var(--rule);
  border-radius: var(--r-md);
  padding: 24px;
  cursor: pointer;
  transition: box-shadow var(--dur-base), transform var(--dur-fast);
}
.rev-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.rev-stars { color: var(--gold); font-size: .82rem; margin-bottom: 10px; }
.rev-preview {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .9rem;
  color: var(--ink-60);
  line-height: 1.65;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rev-author {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.rev-read-more {
  font-size: .62rem;
  color: var(--ink-40);
  margin-top: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.rev-dots {
  display: flex; gap: 7px;
  justify-content: center;
  margin-top: 24px;
}
.rev-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-08);
  cursor: pointer;
  transition: all var(--dur-base);
}
.rev-dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: var(--r-sm);
}

/* Review modal */
.rev-modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(26,20,16,.65);
  z-index: 9000;
  align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.rev-modal.open { display: flex; }
.rev-modal-box {
  background: var(--surface);
  border-radius: var(--r-lg);
  max-width: 540px; width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,.3);
  animation: modal-in .35s var(--ease-spring);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.rev-modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none;
  font-size: 1.3rem; color: var(--ink-40); cursor: pointer;
  transition: color var(--dur-fast);
}
.rev-modal-close:hover { color: var(--ink); }

/* ── DIRECT BOOKING SECTION ──────────────────────────────────────── */
.book-cta {
  background: var(--ink);
  padding: var(--section-pad) 0;
}
.book-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.price-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--gold-dim);
  border-radius: var(--r-md);
  padding: 24px;
  text-align: center;
  transition: background var(--dur-base), border-color var(--dur-base);
}
.price-card:hover {
  background: rgba(255,255,255,.07);
  border-color: var(--gold);
}
.price-card-room {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 8px;
}
.price-card-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold-pale);
  line-height: 1;
}
.price-card-per {
  font-size: .62rem;
  color: rgba(255,255,255,.3);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ── BOOKING ENGINE ──────────────────────────────────────────────── */
.booking-wrap {
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--bg);
}
.booking-header {
  background: var(--ink);
  padding: 20px clamp(20px, 5vw, 60px);
  display: flex; align-items: center; gap: 20px;
}
.booking-steps {
  display: flex; align-items: center; gap: 0;
  margin: 0 auto;
}
.booking-step {
  display: flex; align-items: center; gap: 10px;
}
.booking-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.4);
  font-size: .72rem; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-base), color var(--dur-base);
}
.booking-step.active .booking-step-num {
  background: var(--gold); color: var(--ink);
}
.booking-step.done .booking-step-num {
  background: var(--maroon); color: var(--white);
}
.booking-step-label {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  transition: color var(--dur-base);
}
.booking-step.active .booking-step-label { color: var(--white); }
.booking-step-divider {
  width: 40px; height: 1px;
  background: rgba(255,255,255,.1);
  margin: 0 12px;
}
.booking-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
  flex: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 40px clamp(20px, 5vw, 60px);
  align-items: start;
}
.booking-main { padding-right: 40px; }
.booking-sidebar {
  position: sticky; top: 100px;
  background: var(--sand);
  border-radius: var(--r-md);
  padding: 28px;
  border: var(--rule);
}

/* Form elements */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ink-20);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: .9rem;
  color: var(--ink);
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181,134,58,.12);
}
.form-input.error { border-color: #e53e3e; }

/* Room selection cards in booking */
.room-select-card {
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: border-color var(--dur-base), background var(--dur-base), transform var(--dur-fast);
  display: flex; gap: 16px; align-items: start;
}
.room-select-card:hover {
  border-color: var(--gold-dim);
  background: var(--sand);
  transform: translateX(4px);
}
.room-select-card.selected {
  border-color: var(--gold);
  background: rgba(181,134,58,.04);
}
.room-select-card.unavailable {
  opacity: .4; cursor: not-allowed;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  border: none; cursor: pointer;
  transition: all var(--dur-base) var(--ease);
}
.btn-primary {
  background: var(--maroon);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--maroon-light);
  box-shadow: 0 8px 24px rgba(109,26,36,.3);
  transform: translateY(-2px);
}
.btn-primary:disabled {
  background: var(--ink-20);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-20);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--sand);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-lt);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.btn-pay {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 100%);
  color: var(--white);
  padding: 16px 32px;
  font-size: .78rem;
  box-shadow: 0 4px 16px rgba(109,26,36,.25);
}
.btn-pay:hover {
  box-shadow: 0 8px 32px rgba(109,26,36,.4);
  transform: translateY(-2px);
}

/* ── JINI CHAT WIDGET ────────────────────────────────────────────── */
#jfab {
  position: fixed; bottom: 28px; right: 28px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  border: 2.5px solid var(--gold);
  box-shadow: 0 8px 32px rgba(109,26,36,.5), 0 0 0 0 rgba(181,134,58,.4);
  color: var(--white); font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 9990;
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base);
  animation: fab-pulse 3s ease-in-out infinite;
}
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(109,26,36,.5), 0 0 0 0 rgba(181,134,58,.4); }
  50%       { box-shadow: 0 8px 32px rgba(109,26,36,.5), 0 0 0 12px rgba(181,134,58,0); }
}
#jfab:hover { transform: scale(1.1); }

#jbox {
  display: none;
  position: fixed; bottom: 108px; right: 28px;
  width: 360px; max-width: calc(100vw - 40px);
  background: #0c0a18;
  border: 1px solid rgba(181,134,58,.3);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.8);
  z-index: 9989;
  animation: jbox-in .3s var(--ease-spring);
}
@keyframes jbox-in {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
#jhead {
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
#jhead-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-pale));
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
}
#jhead-info { flex: 1; }
#jhead-info b { color: var(--white); font-size: .88rem; display: block; }
#jhead-info span { color: rgba(255,255,255,.45); font-size: .65rem; }
#jxbtn {
  background: none; border: none;
  color: rgba(255,255,255,.4); font-size: 1.2rem; cursor: pointer;
  transition: color var(--dur-fast);
}
#jxbtn:hover { color: var(--white); }
#jmsgs {
  height: 320px; overflow-y: auto;
  padding: 16px; display: flex;
  flex-direction: column; gap: 10px;
  scroll-behavior: smooth;
}
#jmsgs::-webkit-scrollbar { width: 3px; }
#jmsgs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }
.jm {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .81rem; line-height: 1.6;
  max-width: 86%; word-break: break-word;
}
.jmb {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  border: 1px solid rgba(255,255,255,.05);
}
.jmb a { color: var(--gold-pale); text-decoration: underline; }
.jmu {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}
#jchips {
  padding: 4px 12px 10px;
  display: flex; flex-wrap: wrap; gap: 5px;
}
.jc {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--gold-dim);
  color: var(--gold-lt);
  padding: 5px 11px;
  border-radius: var(--r-full);
  font-size: .67rem; cursor: pointer;
  transition: background var(--dur-fast);
}
.jc:hover { background: rgba(181,134,58,.15); }
#jbar {
  display: flex; gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,.05);
}
#jin {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
  padding: 9px 14px;
  border-radius: var(--r-full);
  font-size: .81rem; outline: none;
}
#jin:focus { border-color: var(--gold-dim); }
#jgo {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-pale));
  border: none; border-radius: 50%;
  color: var(--ink); font-size: 1rem;
  cursor: pointer;
  transition: opacity var(--dur-fast), transform var(--dur-fast);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
#jgo:hover { opacity: .85; transform: scale(1.05); }
.jdots span {
  animation: jdot 1.2s infinite;
  display: inline-block; font-size: 1.1rem; line-height: .5;
}
.jdots span:nth-child(2) { animation-delay: .2s; }
.jdots span:nth-child(3) { animation-delay: .4s; }
@keyframes jdot {
  0%,60%,100% { opacity: .2; transform: translateY(0);    }
  30%          { opacity: 1;  transform: translateY(-4px); }
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
footer {
  background: #211a12;
  border-top: 1px solid rgba(255,255,255,.06);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 80px clamp(20px, 5vw, 72px);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-logo span { color: var(--gold-lt); }
.footer-tagline {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-contact a {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 8px;
  transition: color var(--dur-fast);
}
.footer-contact a:hover { color: var(--gold-lt); }
.footer-col h4 {
  font-size: .58rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 10px;
  transition: color var(--dur-fast), transform var(--dur-fast);
}
.footer-col a:hover { color: var(--gold-lt); transform: translateX(3px); }
.footer-bottom {
  background: #19130d;
  text-align: center;
  padding: 18px clamp(20px, 5vw, 72px);
  font-size: .62rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,.25);
  border-top: 1px solid rgba(255,255,255,.03);
}
.footer-disclaimer {
  background: #141009;
  padding: 24px clamp(20px, 5vw, 72px);
  font-size: .6rem;
  color: rgba(255,255,255,.35);
  line-height: 1.9;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.03);
}
.footer-disclaimer a { color: rgba(255,255,255,.5); }
.footer-disclaimer a:hover { color: var(--gold-lt); }

/* ── REVEAL ANIMATIONS ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── SECTION HEADERS ─────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-header .eyebrow { margin-bottom: 12px; }
.section-header h2 em {
  font-style: italic;
  color: var(--gold);
}
.section-divider {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 16px auto 0;
}

/* ── TURNSTILE ────────────────────────────────────────────────────── */
.cf-turnstile { margin: 12px 0; }

/* ── TOASTS ───────────────────────────────────────────────────────── */
#toast-container {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 99995; display: flex;
  flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-size: .82rem;
  font-weight: 500;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  animation: toast-in .3s var(--ease-spring), toast-out .3s var(--ease) 3s forwards;
  pointer-events: auto;
  max-width: 360px;
  text-align: center;
}
.toast-success { background: #276749; }
.toast-error   { background: var(--maroon); }
.toast-info    { background: var(--ink); border: 1px solid var(--gold-dim); }
@keyframes toast-in  { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes toast-out { from { opacity:1; } to { opacity:0; transform:translateY(-8px); } }

/* ── WELCOME GUIDE ────────────────────────────────────────────────── */
.guide-hero {
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  padding: 80px 0 60px;
  color: var(--white);
  text-align: center;
}
.guide-section {
  background: var(--surface);
  border: var(--rule);
  border-radius: var(--r-lg);
  padding: 36px;
  margin-bottom: 24px;
}
.guide-section h3 {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: var(--rule);
}
.guide-map-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: var(--maroon);
  color: var(--white);
  border-radius: var(--r-sm);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background var(--dur-base);
}
.guide-map-link:hover { background: var(--maroon-light); }

/* ── ADMIN PANEL ─────────────────────────────────────────────────── */
.admin-wrap {
  min-height: 100vh;
  background: #f8f7f5;
  font-family: var(--font-body);
}
.admin-sidebar {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: 240px;
  background: var(--ink);
  display: flex; flex-direction: column;
  z-index: 100;
}
.admin-logo {
  padding: 28px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.admin-nav { flex: 1; padding: 16px 0; overflow-y: auto; }
.admin-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.admin-nav a:hover, .admin-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.05);
}
.admin-nav a.active { border-left: 2px solid var(--gold); }
.admin-nav a span { font-size: 1rem; }
.admin-main {
  margin-left: 240px;
  padding: 32px clamp(20px, 3vw, 40px);
}
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.admin-stat-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 24px;
  border: var(--rule);
}
.admin-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--maroon);
}
.admin-stat-label {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-top: 4px;
}
.admin-table {
  width: 100%; border-collapse: collapse;
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: var(--rule);
  font-size: .84rem;
}
.admin-table th {
  background: var(--sand);
  padding: 12px 16px;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-60);
  text-align: left;
  border-bottom: var(--rule);
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: var(--rule);
  color: var(--ink-80);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--sand); }

/* Status badges */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge-green  { background: #e6f4ea; color: #276749; }
.badge-red    { background: #fce8e8; color: #c0392b; }
.badge-gold   { background: rgba(181,134,58,.1); color: var(--maroon); }
.badge-gray   { background: var(--sand); color: var(--ink-60); }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 1fr 1fr; gap: 32px; }
  .book-cta-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .booking-body { grid-template-columns: 1fr; }
  .booking-sidebar { position: static; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-main { margin-left: 0; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  .rooms-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-rows: auto; }
  .gallery-item:first-child { grid-row: span 1; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .rev-track { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: 1fr; gap: 10px; }
  footer { grid-template-columns: 1fr; }
  .book-bar-inner { grid-template-columns: 1fr; }
  .bb-btn { padding: 16px; justify-content: center; }
  .booking-steps { display: none; }
  #jbox { bottom: 100px; right: 16px; left: 16px; width: auto; }
}

@media (max-width: 480px) {
  .amenities-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-corner { display: none; }
  .about-badge { display: none; }
}

/* ── PRINT ───────────────────────────────────────────────────────── */
@media print {
  #nav, #jfab, #jbox, .hero, .book-bar { display: none; }
  body { background: white; color: black; }
}

/* ── ACCESSIBILITY ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
