:root {
  color-scheme: dark;
  /* Deep, warm dark mode base */
  --bg-dark: #2A1B18; /* Dark brown-gray */
  --bg-darker: #1F120F; /* Darker coffee */

  /* Modern Gradient Background */
  --bg-accent: linear-gradient(135deg, rgba(224, 122, 95, 0.15), rgba(31, 18, 15, 0.9));

  --bg-card: rgba(45, 24, 16, 0.7); /* Glassy dark accent */

  --text-light: #F4F1DE; /* Warm Eggshell */
  --text-muted: rgba(244, 241, 222, 0.7);

  /* Terracotta Palette */
  --accent: #E07A5F; /* Vibrant Terracotta */
  --accent-strong: #C8553D; /* Deep Burnt Sienna */
  --accent-soft: rgba(224, 122, 95, 0.2);

  --logo-primary: #F4F1DE;

  /* Borders & Shadows */
  --border: rgba(224, 122, 95, 0.2);
  --border-strong: rgba(224, 122, 95, 0.4);
  --surface-strong: rgba(45, 24, 16, 0.9);

  --shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
  --shadow-strong: 0 25px 50px -12px rgba(200, 85, 61, 0.25);
  --glow: 0 0 20px rgba(224, 122, 95, 0.4);

  /* Component Specifics */
  --header-background: rgba(31, 18, 15, 0.85);
  --header-border: rgba(224, 122, 95, 0.15);

  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;

  /* Layout */
  --layout-header-offset: 5rem;

  /* Calendar specific overrides for existing JS */
  --calendar-surface: #2A1B18;
  --calendar-border: #5D4037;
  --calendar-day-text: #F4F1DE;
  --calendar-day-bg: rgba(255,255,255,0.05);
}

body[data-theme='light'] {
  color-scheme: light;
  /* Warm, sandy light mode */
  --bg-dark: #FFFFFF; /* Pure White */
  --bg-darker: #F4F1DE; /* Sand */

  --bg-accent: linear-gradient(135deg, rgba(224, 122, 95, 0.08), rgba(244, 241, 222, 0.4));

  --bg-card: rgba(255, 255, 255, 0.85);

  --text-light: #2D1810; /* Dark Coffee Text */
  --text-muted: rgba(45, 24, 16, 0.65);

  /* Terracotta Palette - Saturated for light mode */
  --accent: #E07A5F;
  --accent-strong: #BF4B31;
  --accent-soft: rgba(224, 122, 95, 0.15);

  --logo-primary: #2D1810;

  --border: rgba(45, 24, 16, 0.1);
  --border-strong: rgba(45, 24, 16, 0.2);
  --surface-strong: #FFFFFF;

  --shadow: 0 15px 30px -5px rgba(45, 24, 16, 0.1);
  --shadow-strong: 0 20px 40px -5px rgba(224, 122, 95, 0.2);

  --header-background: rgba(253, 252, 245, 0.9);
  --header-border: rgba(45, 24, 16, 0.08);

  --calendar-surface: #FFFFFF;
  --calendar-border: #E0E0E0;
  --calendar-day-text: #2D1810;
  --calendar-day-bg: #F9F9F9;
}

/* Base Resets & Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

/* Button Styles - Shared */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 9999px; /* Pill shape */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white;
}

.btn.primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-light);
}

.btn.secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: var(--text-light);
  box-shadow: none;
}

.btn.ghost:hover {
  color: var(--accent);
  background: rgba(255,255,255,0.05);
}

/* Utility / Helpers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Keeping necessary existing classes for JS compatibility (modals, calendars, etc) */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 24, 16, 0.7);
  backdrop-filter: blur(10px);
}

.auth-modal {
  position: relative;
  width: min(92vw, 980px);
  background: #1f120f;
  border: 1px solid rgba(224, 122, 95, 0.28);
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  color: #fff;
}

.auth-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.auth-modal__close:hover {
  transform: translateY(-1px);
  background: #f8fafc;
}

.auth-modal__side {
  background: #1b0f0c;
  color: #fff;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.auth-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.auth-modal__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 0;
  color: #fff;
}

.auth-modal__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.auth-modal__content {
  padding: 2.5rem;
  background: #221511;
  color: #fff;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.auth-field label {
  font-weight: 600;
  color: #fff;
}

.auth-field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: #fff;
}

.auth-field input:focus {
  outline: none;
  border-color: #f4f1de;
  box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.35);
}

.auth-form__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.auth-form__footer button {
  background: none;
  border: none;
  color: #f4f1de;
  font-weight: 600;
  cursor: pointer;
}

.auth-form__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.auth-form__message {
  color: #b91c1c;
  font-size: 0.9rem;
  min-height: 1.25rem;
}

.auth-submit {
  width: 100%;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #2d1810, #c8553d, #e07a5f);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

@media (max-width: 960px) {
  .auth-modal {
    grid-template-columns: 1fr;
  }

  .auth-modal__content,
  .auth-modal__side {
    padding: 1.75rem;
  }

  .auth-form__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Toast Notifications */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-strong);
  z-index: 3000;
  animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Maintain compatibility for page-specific styles from existing site */
.room-main, .contact-main, .reset-main {
  padding-top: var(--layout-header-offset);
}

/* Cookie Banner Support */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
}
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-banner__inner {
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  padding: 2rem;
  border-radius: 1.5rem;
  max-width: 600px;
  text-align: center;
  box-shadow: var(--shadow-strong);
}
.cookie-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: linear-gradient(135deg, #2a1b18 0%, #3a2521 45%, #2a1b18 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.site-header__shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #f8fafc;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #ffe6d8, #e07a5f);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.logo__image {
  height: 48px;
  width: auto;
}

@media (max-width: 640px) {
  .logo__image {
    height: auto;
    max-height: 44px;
  }
}

.site-header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-header__links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.site-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: #f8eade;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.site-link svg {
  width: 18px;
  height: 18px;
}

.site-link:hover,
.site-link[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.site-link--muted {
  color: #f4f1de;
  font-weight: 600;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ghost-button,
.primary-button {
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-weight: 600;
  border: 1px solid transparent;
  background: transparent;
  color: #0f172a;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ghost-button:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.primary-button {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.primary-button:hover {
  background: #0b1222;
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  color: #f8eade;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-dropdown > button svg {
  width: 18px;
  height: 18px;
}

.nav-dropdown .dropdown-arrow {
  width: 12px;
  height: 12px;
}

.nav-dropdown > button:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.nav-dropdown ul {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: rgba(18, 12, 11, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  padding: 0.5rem;
  display: grid;
  gap: 0.35rem;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 15;
}

.nav-dropdown[data-open="true"] ul {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  color: #f8fafc;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-dropdown__item svg {
  width: 18px;
  height: 18px;
}

.nav-dropdown__item:hover,
.nav-dropdown__item[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(2px);
}

.reserve-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e07a5f, #c8553d);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.reserve-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.reserve-button svg {
  width: 18px;
  height: 18px;
  color: inherit;
}

.user-menu {
  position: relative;
}

.user-menu__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #c8553d, #e07a5f);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.user-menu__toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
}

.user-menu__list {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  padding: 0.5rem;
  background: rgba(18, 12, 11, 0.95);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: grid;
  gap: 0.35rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

[data-member-menu][data-open="true"] .user-menu__list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.user-menu__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  color: #f8fafc;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.user-menu__item svg {
  width: 18px;
  height: 18px;
}

.user-menu__item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
}

.notification:empty {
  opacity: 0 !important;
  transform: translateY(8px) !important;
  pointer-events: none;
}

.notification:not(:empty) {
  opacity: 1;
  transform: translateY(0);
}

.availability-search__list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.availability-search__item {
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 0.25rem;
}

.availability-search__item[data-state="available"] {
  border-color: rgba(66, 180, 119, 0.35);
  background: linear-gradient(135deg, rgba(66, 180, 119, 0.12), rgba(66, 180, 119, 0.06));
}

.availability-search__item[data-state="unavailable"] {
  border-color: rgba(239, 68, 68, 0.35);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(239, 68, 68, 0.05));
}

.availability-search__room {
  font-size: 1rem;
  color: #f8fafc;
}

.availability-search__message {
  color: #e2e8f0;
  line-height: 1.5;
}

[data-availability-status] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  min-width: 240px;
  margin: 0 auto;
  font-weight: 700;
}

[data-availability-status][data-state="info"] {
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
}

[data-availability-status][data-state="loading"] {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

[data-availability-status][data-state="success"] {
  background: rgba(66, 180, 119, 0.18);
  color: #bbf7d0;
}

[data-availability-status][data-state="warning"] {
  background: rgba(251, 191, 36, 0.16);
  color: #fef3c7;
}

[data-availability-status][data-state="error"] {
  background: rgba(239, 68, 68, 0.18);
  color: #fecdd3;
}

.flatpickr-calendar {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.flatpickr-months .flatpickr-month,
.flatpickr-weekdays {
  background: linear-gradient(135deg, #f8fafc, #e5e7eb);
  color: #1f2937;
}

.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange {
  background: linear-gradient(135deg, rgba(224, 122, 95, 0.22), rgba(200, 85, 61, 0.18));
  border-color: transparent;
  color: #1f2937;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange {
  background: linear-gradient(135deg, #e07a5f, #c8553d);
  color: #fff;
  border-color: transparent;
}

.flatpickr-day.today:not(.selected) {
  border-color: #c8553d;
  color: #c8553d;
}

.flatpickr-day:hover {
  background: rgba(224, 122, 95, 0.15);
}

.scroll-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #c8553d;
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 40;
}

.scroll-top svg {
  width: 18px;
  height: 18px;
}

.scroll-top:hover {
  transform: translateY(-3px);
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.site-header__mobile-actions {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

body[data-nav-open="true"] {
  overflow: hidden;
}

body[data-theme='dark'] .site-link,
body[data-theme='dark'] .ghost-button {
  color: #f8fafc;
}

@media (max-width: 960px) {
  .site-header__shell {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'brand actions'
      'menu menu';
    gap: 0.75rem;
  }

  .site-header__brand {
    grid-area: brand;
  }

  .site-header__actions {
    grid-area: actions;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header__menu {
    grid-area: menu;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    background: #2d1810;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease, padding 0.25s ease;
    max-height: 0;
    overflow: hidden;
  }

  .site-header__menu[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding: 1rem;
    max-height: 900px;
  }

  .site-header__links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header__mobile-actions {
    display: flex;
  }

  .ghost-button {
    display: none;
  }
}

@media (min-width: 961px) {
  .site-header__menu {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
  }

  .site-header__mobile-actions {
    display: none;
  }
}

/* Availability Bar */
.availability-card {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(224, 122, 95, 0.2), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(244, 241, 222, 0.12), transparent 40%),
    #1f120f;
  border: 1px solid rgba(224, 122, 95, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  border-radius: 24px;
  overflow: hidden;
}

.availability-card--hero {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.availability-card__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.availability-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(224, 122, 95, 0.16);
  color: #f4f1de;
  border: 1px solid rgba(224, 122, 95, 0.4);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.availability-form {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

.availability-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.availability-form label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f4f1de;
  font-weight: 700;
}

.availability-form input,
.availability-form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(224, 122, 95, 0.4);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.availability-form input:focus,
.availability-form select:focus {
  outline: none;
  border-color: #e07a5f;
  box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.35);
}

.availability-form button {
  width: 100%;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #e07a5f, #c8553d);
  border: 1px solid rgba(224, 122, 95, 0.5);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.availability-feedback {
  grid-column: 1 / -1;
}

.availability-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.3);
}

.availability-status {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #f4f1de;
}

.availability-status strong {
  color: #e07a5f;
}

.availability-results {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #f4f1de;
}

@media (min-width: 768px) {
  .availability-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Flatpickr brand theme */
.flatpickr-calendar {
  background: #1f120f !important;
  border: 1px solid rgba(224, 122, 95, 0.4) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35) !important;
}

.flatpickr-calendar .flatpickr-months,
.flatpickr-calendar .flatpickr-weekdays {
  background: rgba(224, 122, 95, 0.15) !important;
  color: #f4f1de !important;
}

.flatpickr-day {
  color: #f4f1de !important;
}

.flatpickr-day.today {
  border-color: #e07a5f !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: linear-gradient(135deg, #e07a5f, #c8553d) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.flatpickr-day.inRange {
  background: rgba(224, 122, 95, 0.22) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.flatpickr-day.disabled,
.flatpickr-day.notAllowed {
  color: rgba(244, 241, 222, 0.35) !important;
}

/* Room pages */
.room-page {
  padding: clamp(6rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
}

.room-layout {
  width: min(1144px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4vw, 3.75rem);
}

.room-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(circle at 10% 10%, rgba(224, 122, 95, 0.08), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(244, 241, 222, 0.08), transparent 28%),
    linear-gradient(135deg, #2d1810, #1a0e0b);
  border: 1px solid rgba(224, 122, 95, 0.2);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.38);
}

.room-hero::before {
  display: none;
}

.room-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: stretch;
  padding: clamp(1.75rem, 4vw, 3rem);
}

@media (max-width: 960px) {
  .room-hero__content {
    grid-template-columns: 1fr;
  }
}

.room-hero__media-stack {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.room-hero__media {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #120806;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}

.room-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(1);
}

.room-hero__main {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  text-align: left;
}

.room-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.room-hero__badge,
.room-hero__price,
.room-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(224, 122, 95, 0.15);
  color: #f4f1de;
  border: 1px solid rgba(224, 122, 95, 0.25);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.room-hero__price {
  background: rgba(224, 122, 95, 0.25);
  border-color: rgba(224, 122, 95, 0.35);
}

.room-hero__eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.room-hero__title {
  font-size: clamp(2.8rem, 4vw, 4rem);
  color: #fff;
  margin: 0;
}

.room-hero__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.room-hero__description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  display: grid;
  gap: 0.75rem;
}

.room-hero__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.room-hero__highlights li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(224, 122, 95, 0.3);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  color: #f4f1de;
}

.room-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.room-hero__panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  gap: 1rem;
  align-content: start;
}

.room-hero__panel-label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 222, 0.7);
}

.room-hero__panel-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #fff;
}

.room-hero__panel-note {
  color: rgba(244, 241, 222, 0.7);
  font-size: 0.95rem;
}

.room-hero__panel-details {
  display: grid;
  gap: 0.6rem;
  color: #f4f1de;
  font-size: 0.95rem;
}

.room-hero__panel-details span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.room-hero__panel-details i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e07a5f;
  box-shadow: 0 0 0 6px rgba(224, 122, 95, 0.18);
}

.room-section {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(224, 122, 95, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: clamp(1.5rem, 2vw, 2.25rem);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  width: 100%;
}

.room-section__header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.room-section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: rgba(244, 241, 222, 0.7);
  margin: 0 0 0.1rem 0;
}

.room-section__title {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.2rem);
  color: #fff;
}

.room-section__lede {
  margin: 0;
  color: rgba(244, 241, 222, 0.75);
  max-width: 520px;
  line-height: 1.6;
}

.room-section__footnote {
  color: rgba(244, 241, 222, 0.7);
  margin: 0;
}

.room-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

.room-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32);
  display: grid;
  gap: 1rem;
}

.room-card__content {
  color: rgba(244, 241, 222, 0.9);
  line-height: 1.8;
  display: grid;
  gap: 0.65rem;
}

.room-stats {
  background: rgba(224, 122, 95, 0.08);
  border: 1px solid rgba(224, 122, 95, 0.2);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 0.5rem;
}

.room-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

.room-gallery__item,
.room-gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #120806;
}

.room-gallery__item img,
.room-gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.room-gallery__item:hover img,
.room-gallery figure:hover img {
  transform: scale(1.05);
}

.room-experiences__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.room-experiences__item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1rem;
  color: #f4f1de;
}

.room-amenities__list,
.room-overview__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.room-amenities__list li,
.room-overview__highlights li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(224, 122, 95, 0.25);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  color: #f4f1de;
}

.room-calendar {
  display: grid;
  gap: 1.5rem;
}

.room-calendar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.room-calendar__legend {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: #f4f1de;
}

.room-calendar__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.room-calendar__legend i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 6px;
}

.room-calendar__legend .is-available {
  background: rgba(224, 122, 95, 0.75);
}

.room-calendar__legend .is-booked {
  background: rgba(255, 255, 255, 0.2);
}

.room-calendar__status {
  color: #f4f1de;
}

.room-calendar__placeholder {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(224, 122, 95, 0.4);
  border-radius: 16px;
  padding: 1rem;
  color: #f4f1de;
  text-align: center;
}

.calendar-month {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem;
  color: #f4f1de;
}

.calendar-month__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.calendar-month__title {
  margin: 0;
  font-size: 1.05rem;
  color: #f4f1de;
  text-transform: capitalize;
}

.calendar-month__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.calendar-month__day-name {
  text-align: center;
  color: rgba(244, 241, 222, 0.7);
  font-weight: 700;
  font-size: 0.8rem;
}

.calendar-month__day {
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid transparent;
  color: #f4f1de;
  font-weight: 600;
}

.calendar-month__day.is-booked {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(244, 241, 222, 0.6);
}

.calendar-month__day.is-today {
  border-color: rgba(224, 122, 95, 0.7);
}

.room-calendar__stat {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(224, 122, 95, 0.1);
  border: 1px solid rgba(224, 122, 95, 0.35);
  color: #f4f1de;
}

.room-calendar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #e07a5f, #c8553d);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.room-calendar__cta:hover {
  transform: translateY(-1px);
}

/* Hero slider dots */
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.hero-dot[aria-pressed='true'] {
  width: 28px;
  background: #e07a5f;
  border-color: #fff;
}

/* Feature grid */
.feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, rgba(224, 122, 95, 0.12), rgba(31, 18, 15, 0.85));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

.feature-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(244, 241, 222, 0.08);
  color: #e07a5f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-card__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.feature-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: #fdfbf7;
}

.feature-card__description {
  margin: 0;
  color: #c9c5bf;
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials__stars {
  display: inline-flex;
  gap: 0.25rem;
  color: #fbbf24;
}

.testimonials__star,
.testimonial__star {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: inherit;
}

.testimonials__star::before,
.testimonial__star::before {
  content: '★';
  font-size: 18px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
}

.testimonials__star--full::before,
.testimonial__star--full::before {
  color: #fbbf24;
}

.testimonials__star--half::before,
.testimonial__star--half::before {
  background: linear-gradient(90deg, #fbbf24 50%, rgba(255, 255, 255, 0.35) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.testimonial {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testimonial__rating {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 0.15em;
}

.testimonial__content {
  margin: 0;
  color: #eae7df;
  line-height: 1.6;
}

.testimonial__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  color: #c9c5bf;
}

.testimonial__author {
  font-weight: 700;
  color: #fff;
}

.testimonial__source {
  color: #e07a5f;
  text-decoration: none;
}

.testimonial__source:hover {
  color: #f4f1de;
}
