/* ==========================================================================
   CELESTRA STAYS - Luxury Multi-Page Travel Villa Rental Portal
   Custom Editorial Luxury Design System
   Bootstrap 5 Integration
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Italiana&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Luxury Palette */
  --primary: #1b3528;            /* Deep British Racing / Forest Green */
  --primary-dark: #0f1f18;
  --primary-light: #2c5440;
  --primary-rgb: 27, 53, 40;

  --terracotta: #be5927;         /* Logo Burnt Orange / Warm Terracotta */
  --terracotta-hover: #a5461a;
  --terracotta-rgb: 190, 89, 39;

  --burnt-orange: #be5927;       /* Signature Celestra Stays Logo Burnt Orange */
  --burnt-orange-dark: #a8471b;
  --burnt-orange-hover: #a5461a;
  --burnt-orange-rgb: 190, 89, 39;

  --gold: #d4af37;               /* Vintage Champagne Gold */
  --gold-light: #f5eed6;

  --sand-cream: #faf7f2;         /* Travel book parchment background */
  --sand-100: #f4eee3;
  --sand-200: #e8ddcc;
  --sand-300: #cfbe9f;

  --charcoal: #191b1a;
  --slate-text: #45524b;
  --slate-light: #6e7e76;
  --white: #ffffff;

  --border-soft: rgba(27, 53, 40, 0.12);
  --border-card: rgba(212, 195, 170, 0.6);
  --border-focus: rgba(200, 100, 50, 0.45);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 10px rgba(15, 31, 24, 0.05);
  --shadow-subtle: 0 6px 24px rgba(15, 31, 24, 0.06);
  --shadow-magazine: 0 16px 45px rgba(15, 31, 24, 0.09);
  --shadow-hover: 0 22px 55px rgba(15, 31, 24, 0.14);
  --shadow-glow: 0 10px 30px rgba(200, 100, 50, 0.28);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Italiana', 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.28s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--sand-cream);
  color: var(--charcoal);
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: rgba(190, 89, 39, 0.25) transparent;
}

/* Sleek subtle scrollbars globally */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(190, 89, 39, 0.25);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(190, 89, 39, 0.5);
}

html {
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  background-color: var(--sand-cream);
  color: var(--charcoal);
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

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

button {
  cursor: pointer;
}

.container-custom {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container-custom {
    padding: 0 32px;
  }
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

.font-display {
  font-family: var(--font-display);
}

.section-editorial-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.section-editorial-head.text-start {
  text-align: left;
  margin-left: 0;
}

.chapter-number {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
  position: relative;
}

.section-editorial-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-editorial-desc {
  font-size: 1.05rem;
  color: var(--slate-text);
  line-height: 1.7;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn-celestra {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-terracotta {
  background: var(--terracotta);
  color: var(--white) !important;
  border-color: var(--terracotta);
  box-shadow: 0 4px 14px rgba(200, 100, 50, 0.25);
}

.btn-terracotta:hover {
  background: var(--terracotta-hover);
  border-color: var(--terracotta-hover);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary-dark {
  background: var(--primary);
  color: var(--white) !important;
  border-color: var(--primary);
}

.btn-primary-dark:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.btn-outline-forest {
  background: transparent;
  color: var(--primary) !important;
  border-color: var(--primary);
}

.btn-outline-forest:hover {
  background: var(--primary);
  color: var(--white) !important;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white) !important;
  border-color: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
}

.btn-whatsapp:hover {
  background: #1ebc57;
  border-color: #1ebc57;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.badge-luxury {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-terracotta {
  background: rgba(200, 100, 50, 0.12);
  color: var(--terracotta);
  border: 1px solid rgba(200, 100, 50, 0.25);
}

.badge-forest {
  background: rgba(27, 53, 40, 0.1);
  color: var(--primary);
  border: 1px solid rgba(27, 53, 40, 0.2);
}

/* ==========================================================================
   TOP BAR & NAVIGATION (Luxury Multi-Page Header)
   ========================================================================== */
.top-notice-bar {
  background: var(--primary-dark);
  color: var(--sand-200);
  font-size: 0.8rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.travelbook-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  left: 0;
  width: 100%;
  background: rgba(250, 247, 242, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1040 !important;
  border-bottom: 1px solid rgba(190, 89, 39, 0.16);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.travelbook-header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 8px 26px -8px rgba(51, 36, 26, 0.16) !important;
  border-bottom-color: rgba(190, 89, 39, 0.26) !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 16px;
  transition: height 0.35s ease;
}

.travelbook-header.scrolled .header-inner {
  height: 70px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none !important;
}

.brand-logo-img {
  height: 58px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 6px rgba(190, 89, 39, 0.1));
}

.travelbook-header.scrolled .brand-logo-img {
  height: 48px;
  max-width: 195px;
}

@media (max-width: 576px) {
  .header-inner {
    height: 72px;
  }
  .brand-logo-img {
    height: 48px;
    max-width: 175px;
  }
  .travelbook-header.scrolled .brand-logo-img {
    height: 42px;
    max-width: 155px;
  }
}

.brand-editorial {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--primary);
  letter-spacing: -0.2px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-estate-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--terracotta);
  white-space: nowrap;
}

/* ==========================================================================
   ORIGINAL CELESTRA PILL NAVBAR (Clean, Short & High-End OG Look)
   Short 4-Item Menu: Home | Tariff | Dining | Contact
   Villa is the entire estate; Policies are in the footer
   ========================================================================== */
.header-nav,
.header-nav-limited {
  display: none;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(190, 89, 39, 0.2);
  border-radius: 100px;
  box-shadow: 0 4px 18px -4px rgba(51, 36, 26, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 992px) {
  .header-nav,
  .header-nav-limited {
    display: inline-flex;
  }
}

.nav-link-custom,
.header-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #33241A;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.nav-link-custom:hover,
.header-nav-link:hover {
  color: var(--terracotta);
  background: rgba(190, 89, 39, 0.09);
  transform: translateY(-1px);
}

.nav-link-custom.active,
.header-nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #BE5927 0%, #9E4720 100%); /* Burnt orange logo color */
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(190, 89, 39, 0.35);
}

.travelbook-header.scrolled .header-nav,
.travelbook-header.scrolled .header-nav-limited {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(190, 89, 39, 0.28);
  box-shadow: 0 6px 20px -4px rgba(51, 36, 26, 0.12);
}

@media (min-width: 992px) and (max-width: 1250px) {
  .header-nav,
  .header-nav-limited {
    padding: 3px 5px;
    gap: 2px;
  }
  .nav-link-custom,
  .header-nav-link {
    padding: 6px 10px;
    font-size: 0.77rem;
  }
  .nav-pill-ai,
  .nav-pill-concierge,
  .nav-pill-book {
    padding: 6px 12px;
    font-size: 0.76rem;
  }
}

/* Nav Pill Divider & Action Buttons Inside Main Menu */
.nav-pill-divider {
  display: inline-block;
  width: 1px;
  height: 22px;
  background: rgba(190, 89, 39, 0.22);
  margin: 0 4px;
  flex-shrink: 0;
}

.nav-pill-ai {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  background: #1F3D2B; /* Luxury forest green */
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(31, 61, 43, 0.32);
  transition: all 0.22s ease;
  border: none;
  cursor: pointer;
}

.nav-pill-ai:hover {
  background: #14281c;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(31, 61, 43, 0.48);
}

.nav-pill-concierge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  background: #25d366;
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.32);
  transition: all 0.22s ease;
  border: none;
}

.nav-pill-concierge:hover {
  background: #20ba5a;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(37, 211, 102, 0.45);
}

.nav-pill-book {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  background: linear-gradient(135deg, #BE5927 0%, #9E4720 100%);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(190, 89, 39, 0.35);
  transition: all 0.22s ease;
  border: none;
  cursor: pointer;
}

.nav-pill-book:hover {
  background: linear-gradient(135deg, #9E4720 0%, #7A3718 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(190, 89, 39, 0.48);
}

/* Header CTAs (Preserved aliases for compatibility) */
.header-actions {
  display: none !important;
}

.mobile-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 100px;
  background: #1F3D2B;
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 3px 10px rgba(31, 61, 43, 0.28);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mobile-ai-btn:hover,
.mobile-ai-btn:active {
  background: #14281c;
  transform: scale(1.02);
}

@media (min-width: 992px) {
  .mobile-header-right {
    display: none;
  }
}

.mobile-header-wa,
.mobile-header-book {
  display: none !important;
}

.mobile-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(190, 89, 39, 0.25);
  color: #33241A;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(51, 36, 26, 0.06);
  flex-shrink: 0;
}

.mobile-toggle-btn:hover {
  background: #ffffff;
  border-color: #BE5927;
  color: #BE5927;
}

/* Mobile Offcanvas Customization */
.offcanvas-custom {
  background-color: var(--sand-cream);
  color: var(--charcoal);
  border-left: 1px solid var(--border-soft);
  max-width: 330px;
  width: 85vw;
}

.offcanvas-custom .offcanvas-header {
  border-bottom: 1px solid var(--border-soft);
  padding: 18px 20px;
  background: var(--white);
}

.offcanvas-custom .offcanvas-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--primary);
  transition: var(--transition);
  background: transparent;
  border: 1px solid transparent;
}

.mobile-nav-link .nav-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(200, 100, 50, 0.08);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--white);
  color: var(--terracotta);
  border-color: var(--border-card);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.mobile-nav-link:hover .nav-icon-box,
.mobile-nav-link.active .nav-icon-box {
  background: var(--terracotta);
  color: var(--white);
}

.mobile-drawer-contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-subtle);
  margin-top: 20px;
}

/* ==========================================================================
   FLOATING ACTION & CONCIERGE WIDGETS (Only WhatsApp & Chat Bot)
   ========================================================================= */
.floating-social-widget {
  display: none !important; /* Included in main menu only */
}

.social-widget-pill {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(15, 31, 24, 0.22);
  border: 1px solid var(--border-soft);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  font-size: 1.5rem;
  text-decoration: none;
}

.social-widget-pill:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 31, 24, 0.3);
}

.social-widget-pill.whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #20ba5a;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
}

.social-widget-pill.whatsapp:hover {
  background: #20ba5a;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55);
}

@media (max-width: 991px) {
  .social-widget-pill {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
  }
}



/* Instagram Showcase Feed Cards */
.insta-post-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: block;
}

.insta-post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 31, 24, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  opacity: 0;
  transition: var(--transition);
  padding: 16px;
  text-align: center;
}

.insta-post-card:hover .insta-overlay {
  opacity: 1;
}

.insta-post-card:hover img {
  transform: scale(1.08);
}

/* Special Offers Banner Box */
.special-offer-ribbon {
  background: linear-gradient(135deg, #2c5440 0%, #1b3528 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-magazine);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.special-offer-ribbon::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.social-widget-pill:hover {
  transform: translateY(-3px) scale(1.06);
}

.social-tooltip {
  position: absolute;
  right: 60px;
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  box-shadow: var(--shadow-magazine);
}

.social-widget-pill:hover .social-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Sticky Bottom Booking Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-soft);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1010;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bottom-price {
  display: flex;
  flex-direction: column;
}

.mobile-price-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.mobile-price-sub {
  font-size: 0.72rem;
  color: var(--slate-light);
}

/* ==========================================================================
   HERO PORTAL BACKGROUND SLIDER & PRO BOOKING ENGINE
   ========================================================================== */
.hero-search-portal {
  position: relative;
  height: 94vh;
  min-height: 680px;
  max-height: none;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background-color: #f6f3ee;
  border-bottom: 1px solid var(--border-soft);
}

@media (max-width: 991px) {
  .hero-search-portal {
    height: 84vh;
    min-height: 520px;
  }
}

@media (max-width: 576px) {
  .hero-search-portal {
    height: 78vh;
    min-height: 460px;
  }
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), transform 7s ease-out;
  pointer-events: none;
  filter: brightness(1.05) contrast(1.03) saturate(1.04);
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.10) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-content-wrapper {
  position: relative;
  z-index: 5;
  text-align: center;
  width: 100%;
}

.badge-hero-gold {
  background: rgba(212, 175, 55, 0.22);
  color: #f7d070;
  border: 1px solid rgba(212, 175, 55, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-slide-live-tag {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.76rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.hero-editorial-wrap {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 32px;
}

.hero-search-portal .hero-main-title {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 12px 0 16px;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero-search-portal .hero-main-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: #f49d6e;
  font-weight: 400;
  text-shadow: 0 4px 18px rgba(244, 157, 110, 0.45);
}

.hero-search-portal .hero-deck {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* Glassmorphism Luxury Search Bar */
.stay-search-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  padding: 16px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
  max-width: 1080px;
  margin: 0 auto;
  transition: var(--transition);
}

.stay-search-card:hover {
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.search-inputs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .search-inputs-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1fr auto;
    align-items: center;
    gap: 14px;
  }
}

.search-input-unit {
  display: flex;
  flex-direction: column;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  background: #fbf9f5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
}

.search-input-unit:hover,
.search-input-unit:focus-within {
  background: var(--white);
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(200, 100, 50, 0.12);
}

.search-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate-light);
  margin-bottom: 4px;
}

.search-control {
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  width: 100%;
  outline: none;
}

.hero-search-btn {
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 20px rgba(200, 100, 50, 0.35);
}

/* Slider Controls & Navigation */
.hero-slider-footer {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 0;
  z-index: 6;
}

.hero-slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #33241A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.hero-slider-arrow:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(190, 89, 39, 0.38);
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active {
  width: 32px;
  background: var(--terracotta);
  border-color: var(--terracotta);
  box-shadow: 0 0 14px rgba(190, 89, 39, 0.65);
}

/* Large Stage Navigation Arrows (Misty Cascades Style) */
.hero-stage-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  color: #33241A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 7;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-stage-arrow:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 28px rgba(190, 89, 39, 0.4);
}

.hero-stage-arrow.prev {
  left: 28px;
}

.hero-stage-arrow.next {
  right: 28px;
}

@media (max-width: 768px) {
  .hero-stage-arrow {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
  .hero-stage-arrow.prev {
    left: 10px;
  }
  .hero-stage-arrow.next {
    right: 10px;
  }
}

@media (max-width: 576px) {
  .hero-stage-arrow {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }
  .hero-stage-arrow.prev {
    left: 6px;
  }
  .hero-stage-arrow.next {
    right: 6px;
  }
  .hero-slider-footer {
    bottom: 12px;
    gap: 6px;
  }
  .hero-dot {
    width: 7px;
    height: 7px;
  }
  .hero-dot.active {
    width: 20px;
  }
}

/* Photo caption tag removed per user request for pure high-end imagery */
.hero-photo-tag {
  display: none !important;
}

/* Dedicated Search Strip Below Hero Imagery */
.hero-search-bar-strip {
  background: #fdfaf6;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  z-index: 10;
}

.hero-search-bar-strip .stay-search-card {
  max-width: 1120px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(15, 31, 24, 0.06);
}

/* ==========================================================================
   FEATURED FLAGSHIP SHOWCASE (Morning Glory Villa)
   ========================================================================== */
.flagship-showcase-section {
  padding: 80px 0;
}

.flagship-card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 48px -12px rgba(51, 36, 26, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.flagship-card:hover {
  box-shadow: 0 24px 60px -12px rgba(51, 36, 26, 0.18);
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 992px) {
  .flagship-grid {
    grid-template-columns: 1.08fr 1fr;
    min-height: 560px;
  }
}

.flagship-media-wrapper {
  position: relative;
  min-height: 340px;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  background: #0f1f18;
  display: flex;
  align-items: stretch;
}

@media (max-width: 991px) {
  .flagship-media-wrapper {
    aspect-ratio: 16 / 10;
    min-height: 280px;
  }
}

.flagship-media-wrapper video,
.flagship-media-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.flagship-media-wrapper:hover video,
.flagship-media-wrapper:hover img {
  transform: scale(1.03);
}

.flagship-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 40%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

.flagship-badge-floating {
  position: absolute;
  top: 18px;
  left: 18px;
  background: linear-gradient(135deg, #BE5927 0%, #9E4720 100%);
  color: var(--white);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.flagship-estate-tag {
  display: none !important;
}

.flagship-gallery-btn {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  border: 1px solid var(--border-soft);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 2;
}

.flagship-gallery-btn:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.flagship-content-side {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

@media (min-width: 1200px) {
  .flagship-content-side {
    padding: 44px 42px;
  }
}

.flagship-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.3vw, 2.3rem);
  color: var(--primary);
  line-height: 1.2;
}

.flagship-excerpt {
  color: var(--slate-text);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* 2-Column Amenity Grid */
.flagship-amenity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

@media (max-width: 576px) {
  .flagship-amenity-grid {
    grid-template-columns: 1fr;
  }
}

.flagship-amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sand-100);
  border: 1px solid rgba(27, 53, 40, 0.08);
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

.flagship-amenity-item i {
  color: var(--terracotta);
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

/* Price & Booking CTA Strip */
.flagship-price-cta-strip {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--sand-200);
}

@media (min-width: 576px) {
  .flagship-price-cta-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.price-block-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.price-block-sub {
  font-size: 0.78rem;
  color: var(--slate-light);
  display: block;
  margin-top: 4px;
}

/* ==========================================================================
   PHOTO COLLAGE & GALLERY (Interactive Lightbox Ready)
   ========================================================================== */
.travelbook-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .travelbook-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 16px;
  }
}

.gallery-cell {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  height: 180px;
}

@media (min-width: 768px) {
  .gallery-cell {
    height: 100%;
  }

  .gallery-cell.featured {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-cell:hover img {
  transform: scale(1.06);
}

.gallery-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 31, 24, 0.75);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   VILLA & SUITE CARDS (Multi-Listings)
   ========================================================================== */
.villa-card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.villa-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--terracotta);
}

.villa-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: pointer;
}

.villa-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.villa-card:hover .villa-card-media img {
  transform: scale(1.05);
}

.villa-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.villa-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.villa-card-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  transition: var(--transition);
}

.villa-card:hover .villa-card-title {
  color: var(--terracotta);
}

.villa-card-desc {
  font-size: 0.9rem;
  color: var(--slate-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.villa-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--sand-100);
}

/* ==========================================================================
   STICKY BOOKING ENGINE & PRICE CALCULATOR (Airbnb / Vrbo Style)
   ========================================================================== */
.booking-widget-sticky-card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-magazine);
  position: sticky;
  top: 100px;
}

.booking-widget-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--sand-200);
  margin-bottom: 20px;
}

.booking-widget-title {
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.calc-form-group {
  margin-bottom: 14px;
}

.calc-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-light);
  margin-bottom: 6px;
}

.calc-input-box {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  background: var(--sand-cream);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.calc-input-box:focus {
  background: var(--white);
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(200, 100, 50, 0.15);
}

/* Calculation Line Summary */
.calc-summary-card {
  background: #faf8f5;
  border: 1px dashed var(--sand-300);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 20px 0;
}

.calc-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--slate-text);
  margin-bottom: 8px;
}

.calc-line.grand-total {
  border-top: 1.5px solid var(--sand-200);
  padding-top: 10px;
  margin-top: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.calc-security-badge {
  font-size: 0.75rem;
  color: var(--terracotta);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

/* ==========================================================================
   DINING MENU STYLES (Interactive Food Showcase)
   ========================================================================== */
.menu-travelbook-card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-magazine);
}

@media (min-width: 768px) {
  .menu-travelbook-card {
    padding: 44px;
  }
}

.menu-chef-banner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(135deg, var(--sand-100) 0%, var(--sand-200) 100%);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 30px;
}

@media (min-width: 992px) {
  .menu-chef-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.chef-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border-soft);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.chef-pill:hover {
  background: var(--primary);
  color: var(--white) !important;
}

/* Category Switcher Tabs */
.menu-tab-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 30px;
  scrollbar-width: thin;
}

.menu-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--sand-100);
  color: var(--slate-text);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: var(--transition);
}

.menu-tab-btn:hover {
  background: var(--sand-200);
  color: var(--primary);
}

.menu-tab-btn.active {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
  box-shadow: 0 4px 12px rgba(200, 100, 50, 0.25);
}

.menu-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.menu-panel.active {
  display: block;
}

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

.menu-items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .menu-items-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.menu-category-box {
  background: #fbfbf9;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
}

.menu-cat-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--primary);
  border-bottom: 1px solid var(--sand-200);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.menu-cat-title .badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--sand-200);
  color: var(--primary);
  font-weight: 700;
}

.dish-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dish-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dish-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.dish-desc {
  font-size: 0.83rem;
  color: var(--slate-light);
  line-height: 1.5;
}

/* ==========================================================================
   POLICIES & TIMELINE TIERS
   ========================================================================== */
.policy-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .policy-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.policy-block {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-subtle);
}

.policy-block-title {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  margin-bottom: 6px;
}

.policy-block-subtitle {
  font-size: 0.88rem;
  color: var(--slate-light);
  margin-bottom: 20px;
}

.timeline-tiers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
}

.tier-row.t100 { background: #ecfdf5; border-left: 4px solid #10b981; color: #065f46; }
.tier-row.t70  { background: #eff6ff; border-left: 4px solid #3b82f6; color: #1e40af; }
.tier-row.t60  { background: #fffbeb; border-left: 4px solid #f59e0b; color: #92400e; }
.tier-row.t20  { background: #fff7ed; border-left: 4px solid #f97316; color: #9a3412; }
.tier-row.t0   { background: #fef2f2; border-left: 4px solid #ef4444; color: #991b1b; }

.deposit-rules-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deposit-rule-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--slate-text);
  line-height: 1.6;
}

.rule-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sand-200);
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.82rem;
}

/* ==========================================================================
   AMENITIES GRID
   ========================================================================== */
.amenities-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .amenities-editorial-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.amenity-magazine-card {
  background: #fbfbf9;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}

.amenity-magazine-card:hover {
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-subtle);
  border-color: var(--terracotta);
}

.amenity-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sand-100);
  color: var(--terracotta);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  transition: var(--transition);
}

.amenity-magazine-card:hover .amenity-icon-circle {
  background: var(--terracotta);
  color: var(--white);
}

.amenity-magazine-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.amenity-magazine-card p {
  font-size: 0.8rem;
  color: var(--slate-light);
}

/* ==========================================================================
   FOOTER (Celestra Brandmark Burnt Orange Luxury Footer)
   ========================================================================== */
.travelbook-footer {
  background: linear-gradient(180deg, #be5927 0%, #ad4c1c 100%);
  color: #ffffff;
  padding: 70px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 45px;
}

@media (min-width: 768px) {
  .footer-main-grid {
    grid-template-columns: 1.4fr 1fr 1.15fr 1.15fr;
    gap: 30px;
  }
}

.footer-brand-col img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand-col p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}

.footer-social-link {
  color: #ffffff !important;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
}

.footer-nav-col h4 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: #ffffff;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.footer-links-list a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: #ffffff;
  padding-left: 6px;
  font-weight: 600;
}

.footer-concierge-card {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 14px;
}

.footer-concierge-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 6px;
}

.footer-concierge-card a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
}

.btn-footer-whatsapp {
  background: #ffffff !important;
  color: #be5927 !important;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: var(--transition);
  text-decoration: none !important;
}

.btn-footer-whatsapp:hover {
  background: #fbf5ef !important;
  color: #a5461a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
}

.btn-header-chat {
  background: #be5927 !important;
  border-color: #be5927 !important;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(190, 89, 39, 0.35);
  transition: var(--transition);
}

.btn-header-chat:hover {
  background: #a5461a !important;
  border-color: #a5461a !important;
  transform: translateY(-1px);
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

@media (min-width: 992px) {
  .footer-bottom-bar {
    flex-direction: row;
    text-align: left;
  }
}

.footer-legal-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal-inline a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal-inline a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-legal-inline .separator {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
}

/* ==========================================================================
   LIGHTBOX MODAL & IMAGE PREVIEW (Deluxe Responsive)
   ========================================================================== */
.lightbox-frame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 16, 12, 0.96);
  backdrop-filter: blur(16px);
  z-index: 1090;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-frame.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 12px;
  color: var(--white);
  z-index: 10;
}

.lightbox-badge-tag {
  background: rgba(200, 90, 52, 0.85);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.lightbox-counter-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-sans);
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: scale(1.08);
}

.lightbox-main-stage {
  flex: 1 1 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px 0;
}

.lightbox-holder {
  max-width: 100%;
  max-height: 72vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-holder img {
  max-height: 70vh;
  max-width: 100%;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.25s ease;
  user-select: none;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 31, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.lightbox-nav-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.prev {
  left: 12px;
}

.lightbox-nav-btn.next {
  right: 12px;
}

.lightbox-bottombar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(15, 31, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  backdrop-filter: blur(12px);
  z-index: 10;
}

@media (min-width: 768px) {
  .lightbox-bottombar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.lightbox-caption-text {
  flex: 1 1 auto;
}

.lightbox-caption-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.lightbox-caption-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

.lightbox-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .lightbox-frame {
    padding: 10px 8px;
  }
  .lightbox-holder img {
    max-height: 60vh;
  }
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .lightbox-bottombar {
    padding: 10px 14px;
  }
  .lightbox-caption-title {
    font-size: 0.95rem;
  }
  .lightbox-caption-desc {
    font-size: 0.75rem;
  }
  .lightbox-actions .btn-celestra {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   MODAL WINDOWS & RESERVATION POPUP
   ========================================================================== */
.modal-backdrop-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 31, 24, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-backdrop-custom.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window-custom {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 24px 28px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: var(--transition);
  scrollbar-width: none; /* Hide default scrollbar in Firefox */
  -ms-overflow-style: none; /* Hide in IE/Edge */
}

.modal-window-custom::-webkit-scrollbar {
  display: none; /* Hide in Chrome/Safari */
}

.modal-booking-wide {
  max-width: 860px;
  padding: 24px 28px;
}

.modal-backdrop-custom.active .modal-window-custom {
  transform: translateY(0);
}

.modal-close-custom {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sand-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: 1px solid var(--border-soft);
  transition: var(--transition);
  z-index: 10;
}

.modal-close-custom:hover {
  background: var(--terracotta);
  color: var(--white);
}

/* Menu Download Modal Specific Styles */
.menu-download-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.menu-diet-chips {
  gap: 8px;
}

.diet-chip-label {
  cursor: pointer;
  margin: 0;
}

.diet-chip-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--sand-100);
  border: 1px solid var(--border-soft);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: var(--transition);
  user-select: none;
}

.diet-chip-label input:checked + .diet-chip-btn {
  background: rgba(190, 89, 39, 0.12);
  border-color: var(--terracotta);
  color: var(--terracotta);
  font-weight: 600;
}

.diet-chip-label input:hover + .diet-chip-btn {
  border-color: var(--terracotta);
}

.btn-download-menu-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 100px;
  border: 1.5px solid #233e30;
  background: transparent;
  color: #1b3528 !important;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  text-decoration: none !important;
  cursor: pointer;
}

.btn-download-menu-pill:hover {
  background: #1b3528;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(27, 53, 40, 0.2);
}

/* Shimmer Loading placeholders */
.img-loading {
  background: linear-gradient(90deg, #f0e8dc 25%, #fdfbf7 50%, #f0e8dc 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   AI CONCIERGE CHATBOT & AUTO-POPUP ANSWER ENGINE
   ========================================================================== */
.ai-concierge-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1070;
  font-family: var(--font-sans);
}

/* Auto Popup Preview Bubble */
.ai-bubble-notification {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 310px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: 0 16px 40px -10px rgba(51, 36, 26, 0.35);
  border: 1px solid rgba(190, 89, 39, 0.25);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
}

.ai-bubble-notification.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ai-bubble-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(190, 89, 39, 0.25);
  overflow: hidden;
  border: 1.5px solid rgba(190, 89, 39, 0.2);
}

.ai-avatar-brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.ai-bubble-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.ai-bubble-text p {
  font-size: 0.78rem;
  color: var(--slate-light);
  line-height: 1.35;
  margin: 0;
}

.ai-bubble-close {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 1.1rem;
  color: var(--slate-light);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.ai-bubble-close:hover {
  color: var(--terracotta);
}

/* Floating Launcher Button */
.ai-launcher-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #BE5927 0%, #9E4720 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 12px 30px rgba(190, 89, 39, 0.45);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

.ai-launcher-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 16px 36px rgba(190, 89, 39, 0.55);
}

.ai-launcher-inner {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-launcher-brand-logo, .ai-icon-bot, .ai-icon-close {
  position: absolute;
  transition: all 0.3s ease;
}

.ai-launcher-brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.ai-icon-close {
  font-size: 1.45rem;
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

.ai-launcher-btn.open .ai-launcher-brand-logo,
.ai-launcher-btn.open .ai-icon-bot {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

.ai-launcher-btn.open .ai-icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.ai-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(190, 89, 39, 0.5);
  animation: aiPulse 2.4s infinite;
  pointer-events: none;
}

@keyframes aiPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

.ai-status-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  border: 2px solid var(--white);
  letter-spacing: 0.5px;
}

.ai-launcher-pill-tag {
  position: absolute;
  right: 68px;
  background: var(--white);
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(15, 31, 24, 0.16);
  border: 1px solid rgba(190, 89, 39, 0.28);
  white-space: nowrap;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.ai-launcher-pill-tag i {
  color: var(--terracotta);
}

.ai-launcher-btn.open .ai-launcher-pill-tag {
  opacity: 0;
  transform: translateX(10px);
}

@media (max-width: 576px) {
  .ai-launcher-pill-tag {
    display: none !important;
  }
}

/* Chat Panel Window */
.ai-chat-panel {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: min(390px, 92vw);
  height: min(580px, 82vh);
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 28px 70px -15px rgba(51, 36, 26, 0.42);
  border: 1px solid rgba(190, 89, 39, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1080;
}

.ai-chat-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ai-panel-header {
  background: linear-gradient(135deg, #BE5927 0%, #58280F 100%);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-panel-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-avatar-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.ai-header-brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.ai-online-status {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ai-dot {
  width: 7px;
  height: 7px;
  background: #25d366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #25d366;
}

.ai-header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-ctrl-btn {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
}

.ai-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Chat Body */
.ai-chat-body {
  flex: 1;
  padding: 18px 16px;
  overflow-y: auto;
  background: #faf7f2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ai-chat-body::-webkit-scrollbar {
  display: none;
}

.ai-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
  animation: aiMsgIn 0.3s ease-out;
}

@keyframes aiMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.ai-msg.bot {
  align-self: flex-start;
}

.ai-msg.user {
  align-self: flex-end;
}

.ai-msg-content {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.ai-msg.bot .ai-msg-content {
  background: var(--white);
  color: var(--primary);
  border: 1px solid rgba(190, 89, 39, 0.15);
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 15px rgba(51, 36, 26, 0.05);
}

.ai-msg.user .ai-msg-content {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: var(--white);
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 15px rgba(190, 89, 39, 0.25);
}

/* Quick Chips */
.ai-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.ai-chip {
  background: var(--white);
  color: var(--terracotta);
  border: 1px solid rgba(190, 89, 39, 0.3);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.ai-chip:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-1px);
}

/* Typing Indicator */
.ai-typing-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
  margin: 0 2px;
  animation: aiTyping 1.2s infinite ease-in-out;
}

.ai-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes aiTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Summary Card */
.ai-booking-summary-card {
  background: #fdfaf6;
  border: 1px solid rgba(190, 89, 39, 0.25);
  border-radius: 14px;
  padding: 14px;
}

/* Chat Footer */
.ai-chat-footer {
  padding: 12px 14px;
  background: var(--white);
  border-top: 1px solid rgba(190, 89, 39, 0.15);
}

.ai-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5efe6;
  border-radius: 100px;
  padding: 4px 6px 4px 16px;
  border: 1px solid rgba(190, 89, 39, 0.2);
  transition: border-color 0.2s, background 0.2s;
}

.ai-input-group:focus-within {
  border-color: var(--terracotta);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(190, 89, 39, 0.1);
}

.ai-input-field {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.86rem;
  color: var(--primary);
  outline: none;
}

.ai-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.ai-send-btn:hover {
  background: var(--terracotta-dark);
  transform: scale(1.06);
}

.ai-footer-note {
  text-align: center;
  font-size: 0.7rem;
  color: var(--slate-light);
  margin-top: 8px;
}

.ai-footer-note a {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 991px) {
  .ai-concierge-container {
    bottom: 82px;
    right: 16px;
  }
  .ai-chat-panel {
    bottom: 70px;
    right: -6px;
    width: calc(100vw - 20px);
    height: 75vh;
  }
  .ai-bubble-notification {
    width: calc(100vw - 32px);
    right: -6px;
  }
}

/* ==========================================================================
   FORM VALIDATION & ERROR FEEDBACK STYLES
   ========================================================================== */
.form-control.is-invalid,
.form-select.is-invalid,
.calc-input-box.is-invalid {
  border-color: #dc3545 !important;
  background-color: #fff8f8 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12) !important;
}

.form-control.is-valid,
.form-select.is-valid,
.calc-input-box.is-valid {
  border-color: #198754 !important;
  background-color: #fafffb !important;
  box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.1) !important;
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #dc3545;
}

.is-invalid ~ .invalid-feedback,
.input-group:has(.is-invalid) ~ .invalid-feedback {
  display: block;
  animation: fadeInDown 0.2s ease-out;
}

.booking-guest-fields-card {
  background: #fbfbf9;
  border: 1px dashed rgba(190, 89, 39, 0.28);
}

.calc-security-badge {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(30, 77, 43, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--forest);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   SCROLLBAR REFINEMENT & CLEANUP (Suppresses Clunky Scrollbars)
   ========================================================================== */
.modal-window-custom,
.menu-download-window,
.ai-chat-body,
.offcanvas-body,
.booking-widget-sticky-card {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.modal-window-custom::-webkit-scrollbar,
.menu-download-window::-webkit-scrollbar,
.ai-chat-body::-webkit-scrollbar,
.offcanvas-body::-webkit-scrollbar,
.booking-widget-sticky-card::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* ==========================================================================
   PEACEFUL EXPERIENCE & WHY VISIT VILLA (Soul-Recharge Luxury Grid)
   ========================================================================== */
.peace-experience-section {
  background: linear-gradient(180deg, #faf7f2 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.peace-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .peace-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .peace-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.peace-feature-card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.peace-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(51, 36, 26, 0.08);
  border-color: rgba(190, 89, 39, 0.35);
}

.peace-card-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(190, 89, 39, 0.1) 0%, rgba(35, 62, 48, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--terracotta);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.peace-feature-card:hover .peace-card-icon-wrap {
  background: var(--terracotta);
  color: var(--white);
  transform: scale(1.05);
}

.peace-feature-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.peace-feature-desc {
  font-size: 0.88rem;
  color: var(--slate-text);
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.peace-card-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--forest);
  background: rgba(35, 62, 48, 0.06);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

/* ==========================================================================
   NEARBY ATTRACTIONS & EXCURSIONS (Editorial Travelogue Grid)
   ========================================================================== */
.attractions-section {
  background: var(--sand-cream);
  position: relative;
}

.attractions-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .attractions-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 992px) {
  .attractions-editorial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.attraction-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.attraction-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-magazine);
  border-color: var(--terracotta);
}

.attraction-img-holder {
  height: 220px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
}

.attraction-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.attraction-card:hover .attraction-img-holder img {
  transform: scale(1.08);
}

.attraction-distance-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 31, 24, 0.88);
  color: #f7ede2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.attraction-tag-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--terracotta);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.attraction-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.attraction-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.attraction-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--slate-light);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sand-200);
}

.attraction-desc {
  font-size: 0.86rem;
  color: var(--slate-text);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1 1 auto;
}

.attraction-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--sand-300);
}

.attraction-activity-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 575px) {
  .attraction-img-holder {
    height: 195px;
  }
  .attraction-body {
    padding: 18px 16px;
  }
  .attraction-title {
    font-size: 1.15rem;
  }
  .attraction-distance-badge {
    font-size: 0.72rem;
    padding: 4px 10px;
    top: 10px;
    left: 10px;
  }
  .attraction-tag-badge {
    font-size: 0.68rem;
    padding: 3px 9px;
    bottom: 10px;
    right: 10px;
  }
}

/* ==========================================================================
   GRAND INTERACTIVE PHOTO GALLERY & FILTER SYSTEM
   ========================================================================== */
.celestra-gallery-section {
  padding: 60px 0;
  background: var(--sand-100);
}

.gallery-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

@media (max-width: 576px) {
  .gallery-header-actions {
    width: 100%;
    margin-top: 12px !important;
    gap: 8px;
  }
  .gallery-header-actions .btn-celestra {
    padding: 8px 16px;
    font-size: 0.84rem;
    white-space: nowrap;
    max-width: 100%;
  }
  .gallery-header-actions #galleryVisibleCount {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
  }
}

.gallery-filter-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.gallery-filter-chip {
  background: var(--white);
  border: 1px solid var(--border-soft);
  color: var(--slate-text);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.gallery-filter-chip:hover {
  background: var(--sand-200);
  border-color: var(--terracotta);
  color: var(--primary);
}

.gallery-filter-chip.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(200, 90, 52, 0.35);
}

.celestra-masonry-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}

@media (min-width: 576px) {
  .celestra-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .celestra-masonry-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1200px) {
  .celestra-masonry-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.gallery-item-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  height: 260px;
  display: flex;
  flex-direction: column;
}

.gallery-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--terracotta);
}

.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-card:hover .gallery-item-img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(15, 31, 24, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
  color: #fff;
  transition: opacity 0.3s ease;
}

.gallery-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-item-cat-badge {
  background: rgba(15, 31, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-zoom-icon {
  background: rgba(200, 90, 52, 0.85);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
}

.gallery-item-card:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.gallery-item-bottom {
  margin-top: auto;
}

.gallery-item-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.3;
}

.gallery-item-sub {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Featured Large Cell in Masonry */
@media (min-width: 992px) {
  .gallery-item-card.featured-wide {
    grid-column: span 2;
  }
}

/* ==========================================================================
   MULTI-PHOTO ROOM CARD THUMBNAIL STRIP
   ========================================================================== */
.room-photo-strip {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.room-photo-thumb {
  width: 54px;
  height: 42px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border-soft);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.room-photo-thumb:hover, .room-photo-thumb.active {
  border-color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.room-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   ESTATE VIDEO SHOWCASE PLAYER
   ========================================================================== */
/* ==========================================================================
   DELUXE RESPONSIVE LIGHTBOX MODAL & SLIDER ENGINE
   ========================================================================== */
.lightbox-frame {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(8, 16, 12, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 18px;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-frame.active {
  display: flex;
  opacity: 1;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.lightbox-badge-tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f7ede2;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.lightbox-counter-pill {
  background: var(--terracotta);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: rotate(90deg) scale(1.08);
}

.lightbox-main-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 8px 0;
  touch-action: pan-y;
}

.lightbox-holder {
  position: relative;
  max-width: 100%;
  max-height: calc(100vh - 215px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#lightboxImg {
  max-width: 100%;
  max-height: calc(100vh - 215px);
  object-fit: contain;
  border-radius: 14px;
  display: block;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.lightbox-nav-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(200, 90, 52, 0.4);
}

.lightbox-nav-btn.prev {
  left: 12px;
}

.lightbox-nav-btn.next {
  right: 12px;
}

.lightbox-bottombar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .lightbox-bottombar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.lightbox-caption-text {
  flex: 1;
}

.lightbox-caption-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.lightbox-caption-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

/* Lightbox Thumbnails Preview Bar */
.lightbox-thumb-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.lightbox-thumb-strip::-webkit-scrollbar {
  display: none;
}

.lightbox-thumb-item {
  width: 54px;
  height: 38px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: #000;
}

.lightbox-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb-item.active,
.lightbox-thumb-item:hover {
  opacity: 1;
  border-color: var(--terracotta);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(200, 90, 52, 0.4);
}

@media (max-width: 576px) {
  .lightbox-frame {
    padding: 10px 12px;
  }
  .lightbox-holder {
    max-height: calc(100vh - 240px);
  }
  #lightboxImg {
    max-height: calc(100vh - 240px);
  }
  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .lightbox-nav-btn.prev {
    left: 6px;
  }
  .lightbox-nav-btn.next {
    right: 6px;
  }
  .lightbox-caption-title {
    font-size: 0.98rem;
  }
  .lightbox-caption-desc {
    font-size: 0.76rem;
  }
}

/* ==========================================================================
   IN-CARD FLAGSHIP MULTI-PHOTO SLIDER & SWIPE CAROUSEL
   ========================================================================== */
.flagship-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  background: #0d1a14;
}

@media (max-width: 991px) {
  .flagship-carousel {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    min-height: 290px;
  }
}

.flagship-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.flagship-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.flagship-slide img,
.flagship-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.flagship-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 31, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  font-size: 0.95rem;
}

.flagship-carousel-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-50%) scale(1.1);
}

.flagship-carousel-btn.prev {
  left: 14px;
}

.flagship-carousel-btn.next {
  right: 14px;
}

.flagship-carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 10;
  padding: 5px 12px;
  background: rgba(10, 20, 15, 0.6);
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

.flagship-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
}

.flagship-carousel-dot.active {
  width: 22px;
  border-radius: 10px;
  background: var(--terracotta);
  box-shadow: 0 0 8px rgba(200, 90, 52, 0.6);
}

.flagship-slide-counter-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 31, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 700;
  z-index: 10;
  backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
  .flagship-badge-floating {
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 0.72rem;
    max-width: calc(100% - 90px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .flagship-slide-counter-badge {
    top: 12px;
    right: 12px;
    padding: 4px 9px;
    font-size: 0.7rem;
  }
}

/* Booking Modal Success Screen Transition */
#bookingSuccessScreen {
  animation: fadeInModal 0.35s ease-out;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   RIVER VIEW SHOWCASE & VIDEO PLAYER
   ========================================================================== */
.river-showcase-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-magazine);
  transition: var(--transition);
}

.river-video-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f1f18;
  box-shadow: 0 10px 30px rgba(15, 31, 24, 0.15);
}

.river-video-wrapper video {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.river-video-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 31, 24, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.river-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(33, 85, 163, 0.08);
  color: #1a4d8c;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(33, 85, 163, 0.18);
}

/* ==========================================================================
   ROOM & ATTACHED BATHROOM DUAL PHOTO SHOWCASE
   ========================================================================== */
.suite-showcase-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.suite-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-magazine);
  border-color: rgba(190, 89, 39, 0.4);
}

.suite-dual-photos {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3px;
  background: #0f1f18;
  position: relative;
  height: 250px;
}

.suite-photo-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}

.suite-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.suite-photo-box:hover img {
  transform: scale(1.05);
}

.suite-photo-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(15, 31, 24, 0.82);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  z-index: 2;
}

.suite-photo-label.bath-label {
  background: rgba(190, 89, 39, 0.9);
}

.suite-badge-float {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
}

/* ==========================================================================
   NOVEMBER FESTIVE & TIERED MATRIX PRICING CARDS
   ========================================================================== */
.november-special-banner {
  background: linear-gradient(135deg, #1b3528 0%, #2a4e3b 60%, #be5927 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 14px 40px rgba(27, 53, 40, 0.25);
  position: relative;
  overflow: hidden;
}

.november-special-banner::after {
  content: "🌿";
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 110px;
  opacity: 0.12;
  pointer-events: none;
}

.nov-pill-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.tiered-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.tiered-matrix-table th {
  background: #f4eee3;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  padding: 12px 14px;
  border-bottom: 2px solid var(--border-card);
}

.tiered-matrix-table td {
  padding: 10px 14px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tiered-matrix-table tr:hover td {
  background-color: #faf7f2;
}

/* ==========================================================================
   HOST LEADS TRACKING DESK & MANAGEMENT PORTAL
   ========================================================================== */
.modal-leads-wide {
  max-width: 1120px;
  width: 95vw;
  padding: 24px;
}

.leads-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.leads-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.leads-metric-box {
  background: var(--sand-cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  position: relative;
}

.leads-metric-box .metric-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.leads-metric-box .metric-lbl {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-light);
}

.leads-table-container {
  max-height: 480px;
  overflow-y: auto;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.leads-table {
  width: 100%;
  margin-bottom: 0;
  font-size: 0.84rem;
}

.leads-table thead th {
  position: sticky;
  top: 0;
  background: #f0e8d9;
  color: var(--primary);
  font-weight: 700;
  z-index: 10;
  border-bottom: 2px solid var(--border-card);
}

.leads-status-select {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
}

.leads-status-select.new-lead {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}

.leads-status-select.contacted {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #38bdf8;
}

.leads-status-select.confirmed {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #4ade80;
}

.leads-status-select.cancelled {
  background-color: #f3f4f6;
  color: #4b5563;
  border: 1px solid #d1d5db;
}

.host-leads-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta);
  color: #ffffff;
  border-radius: 100px;
  padding: 1px 7px;
  font-size: 0.72rem;
  font-weight: 800;
  margin-left: 4px;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS & TOUCH OPTIMIZATION ENGINE
   ========================================================================== */

/* Prevent horizontal scroll jitter across all mobile viewports */
@media (max-width: 991px) {
  body {
    /* Safe padding so fixed mobile-bottom-bar never covers page content/footer */
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .container-custom {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Reposition Floating AI Concierge Chatbot so it never overlaps the Mobile Bottom Bar */
  .ai-concierge-container {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
    z-index: 1060 !important;
  }

  .ai-launcher-btn {
    width: 52px !important;
    height: 52px !important;
    box-shadow: 0 8px 24px rgba(190, 89, 39, 0.45) !important;
  }

  .ai-launcher-inner {
    width: 28px !important;
    height: 28px !important;
  }

  .ai-launcher-brand-logo {
    width: 28px !important;
    height: 28px !important;
  }

  .ai-bubble-notification {
    bottom: 64px !important;
    right: 0 !important;
    width: min(320px, calc(100vw - 28px)) !important;
    padding: 12px 14px !important;
  }

  .ai-chat-panel {
    bottom: 66px !important;
    right: 0 !important;
    width: min(380px, calc(100vw - 24px)) !important;
    height: min(520px, 72vh) !important;
    border-radius: 18px !important;
  }

  /* Sticky Villa Widget converts to clean in-page card on mobile */
  .booking-widget-sticky-card {
    position: static !important;
    top: auto !important;
    margin-top: 24px !important;
    padding: 22px 18px !important;
  }

  /* Mobile Bottom Bar refinement */
  .mobile-bottom-bar {
    padding: 10px 14px !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 8px !important;
  }

  .mobile-bottom-bar .btn-celestra {
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }
}

/* Screen widths under 768px (Tablets & Large Phones) */
@media (max-width: 768px) {
  /* Header & Navigation */
  .header-inner {
    height: 64px !important;
    gap: 10px !important;
  }

  .brand-logo-img {
    height: 42px !important;
    max-width: 165px !important;
  }

  .mobile-toggle-btn {
    padding: 6px 12px !important;
    font-size: 0.82rem !important;
    border-radius: 100px !important;
  }

  /* Hero Search Bar Strip */
  .hero-search-bar-strip {
    padding: 16px 0 !important;
  }

  .stay-search-card {
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .search-input-unit {
    padding: 7px 12px !important;
  }

  .search-inputs-grid button.btn-celestra {
    width: 100% !important;
    min-height: 46px !important;
    font-size: 0.92rem !important;
    justify-content: center !important;
  }

  /* Hero Section Title & Badges */
  .hero-title {
    font-size: 1.95rem !important;
    line-height: 1.25 !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
  }

  .hero-photo-tag {
    display: none !important;
  }

  /* November Special Banner */
  .november-special-banner {
    padding: 22px 18px !important;
  }

  .november-special-banner::after {
    display: none !important; /* Prevents decorative emoji from causing overflow */
  }

  /* Tiered Matrix Table Responsive Scroll */
  .table-responsive {
    -webkit-overflow-scrolling: touch !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-soft) !important;
  }

  .tiered-matrix-table th,
  .tiered-matrix-table td {
    padding: 9px 12px !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  /* River View Video Card */
  .river-showcase-card .row > div {
    padding: 20px 16px !important;
  }

  .river-video-wrapper video {
    max-height: 280px !important;
  }
}

/* Screen widths under 576px (Standard Smartphones & iPhone) */
@media (max-width: 576px) {
  /* Centralized Booking Modal Mobile Bottom Sheet Mode */
  .modal-backdrop-custom {
    padding: 6px !important;
    align-items: flex-end !important;
  }

  .modal-window-custom,
  .modal-booking-wide {
    padding: 18px 14px !important;
    max-height: 94vh !important;
    max-height: calc(100dvh - 12px) !important;
    border-radius: 20px 20px 14px 14px !important;
  }

  .modal-close-custom {
    top: 12px !important;
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 1.1rem !important;
  }

  #modalPropertyName {
    font-size: 1.18rem !important;
    padding-right: 36px !important;
  }

  /* Stack columns in Booking Modal for large thumb-friendly tap targets */
  #bookingModalFormGrid .row.g-2 > .col-6 {
    width: 100% !important;
    margin-bottom: 6px !important;
  }

  #bookingModalFormGrid select,
  #bookingModalFormGrid input {
    font-size: 0.88rem !important;
    min-height: 42px !important;
  }

  /* Live Price Estimate Card in Modal */
  .calc-summary-card {
    padding: 10px 12px !important;
    margin-bottom: 10px !important;
  }

  .calc-line {
    font-size: 0.8rem !important;
  }

  .calc-line.grand-total span.fs-5 {
    font-size: 1.15rem !important;
  }

  #btnSubmitBooking {
    min-height: 48px !important;
    font-size: 0.94rem !important;
  }

  /* Suite Showcase Cards & Dual Photo Grid */
  .suite-dual-photos {
    height: 195px !important;
  }

  .suite-photo-label {
    font-size: 0.64rem !important;
    padding: 2px 7px !important;
    bottom: 6px !important;
    left: 6px !important;
  }

  .suite-badge-float {
    top: 6px !important;
    left: 6px !important;
  }

  .suite-badge-float .badge {
    font-size: 0.65rem !important;
    padding: 3px 8px !important;
  }

  .suite-showcase-card .p-4 {
    padding: 16px 14px !important;
  }

  /* Filter chips smooth horizontal scroll on touch */
  .gallery-filter-chips-wrap,
  .villa-filter-chips-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 8px !important;
    gap: 8px !important;
  }

  .gallery-filter-chips-wrap::-webkit-scrollbar,
  .villa-filter-chips-wrap::-webkit-scrollbar {
    display: none !important;
  }

  /* Lightbox on mobile */
  .lightbox-topbar {
    padding: 12px 14px !important;
  }

  .lightbox-bottombar {
    padding: 12px 14px !important;
  }

  .lightbox-caption-title {
    font-size: 0.95rem !important;
  }

  .lightbox-caption-desc {
    display: none !important;
  }

  .lightbox-holder img {
    max-height: 58vh !important;
  }

  /* Host Leads Desk on mobile */
  .modal-leads-wide {
    padding: 14px 10px !important;
    width: 98vw !important;
  }

  .leads-metric-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .leads-metric-box {
    padding: 10px 12px !important;
  }

  .leads-metric-box .metric-val {
    font-size: 1.25rem !important;
  }
}



/* ==========================================================================
   MOBILE LAYOUT FIXES (Nov 2026)
   ========================================================================== */
/* Stop the flagship estate card (photos + details) growing wider than the screen on phones/tablets */
@media (max-width: 991px) {
  .flagship-grid { grid-template-columns: minmax(0, 1fr); }
  .flagship-grid > * { min-width: 0; }
  .flagship-title, .flagship-excerpt, .price-block-sub { overflow-wrap: anywhere; }
  .flagship-price-cta-strip .d-flex, .flagship-price-cta-strip .badge { flex-wrap: wrap; white-space: normal; }
}

@media (max-width: 767px) {
  /* Gallery filter chips: wrap onto multiple lines so none is cut off */
  .gallery-filter-chips-wrap,
  .villa-filter-chips-wrap {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 8px !important;
  }
  .gallery-filter-chip {
    font-size: 0.8rem;
    padding: 7px 14px;
  }
  /* Large Bootstrap gutters were pushing rows 8px past the screen edge */
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .flagship-content-side { padding: 24px 18px; }
  .flagship-price-cta-strip .btn-celestra { white-space: normal; }
}
@media (max-width: 767px) {
  .flagship-price-cta-strip .d-flex.gap-2 { flex-wrap: wrap; }
  .flagship-price-cta-strip .d-flex.gap-2 > .btn-celestra { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 767px) {
  .gallery-filter-chips-wrap { gap: 6px !important; }
  .gallery-filter-chips-wrap .gallery-filter-chip {
    font-size: 0.74rem !important;
    padding: 6px 11px !important;
    gap: 5px !important;
  }
}
@media (max-width: 991px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* Gallery filter chips – tidy 2-column grid on phones (replaces the wrapped look) */
@media (max-width: 767px) {
  .gallery-filter-chips-wrap {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
  }
  .gallery-filter-chips-wrap .gallery-filter-chip {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    text-align: left;
    white-space: normal !important;
    line-height: 1.2;
    font-size: 0.74rem !important;
    padding: 8px 12px !important;
    border-radius: 14px;
  }
  .gallery-filter-chips-wrap .gallery-filter-chip i {
    flex: 0 0 16px;
    text-align: center;
  }
}
.gallery-filter-chip .chip-count::before { content: "("; }
.gallery-filter-chip .chip-count::after { content: ")"; }
@media (max-width: 767px) {
  .gallery-filter-chips-wrap .gallery-filter-chip {
    min-height: 52px;
    gap: 8px !important;
  }
  .gallery-filter-chips-wrap .chip-label { flex: 1 1 auto; }
  .gallery-filter-chip .chip-count::before,
  .gallery-filter-chip .chip-count::after { content: none; }
  .gallery-filter-chips-wrap .chip-count {
    flex: 0 0 auto;
    min-width: 22px; height: 22px; padding: 0 6px;
    border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.68rem; font-weight: 700;
    background: var(--sand-200, #f1e6d8); color: var(--primary, #1f3a2c);
  }
  .gallery-filter-chips-wrap .gallery-filter-chip.active .chip-count {
    background: rgba(255,255,255,0.25); color: #fff;
  }
}
