/* ==========================================================================
   HOTEL BETHANIA COPÁN — QUIET LUXURY & EDITORIAL RESORT STYLESHEET
   Architecture: GPU-Accelerated CSS3 + Custom Properties + Responsive Design
   ========================================================================== */

:root {
  /* Tema Día — Piedra Alabastro & Carbón */
  --bg-day: #F7F5F0;
  --surface-day: #EFECE6;
  --surface-day-elevated: #FFFFFF;
  --text-day-primary: #16181A;
  --text-day-secondary: #5A5D60;
  --border-day: rgba(22, 24, 26, 0.1);

  /* Tema Noche — Obsidiana Profundo & Grafito Cristal */
  --bg-night: #0E1012;
  --surface-night: #181B1F;
  --surface-night-elevated: #20242A;
  --text-night-primary: #F4F1EA;
  --text-night-secondary: #A6A39B;
  --border-night: rgba(197, 160, 89, 0.22);

  /* Acentos de Marca & Naturaleza Copán */
  --gold-primary: #C5A059;
  --gold-light: #DFBD78;
  --gold-dark: #9B7938;
  --forest-copan: #1E3329;
  --lux-wine: #2C1016;

  /* Transiciones Editoriales */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-luxury: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Base Reset & Smooth Typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto; /* Gestionado por Lenis Smooth Scroll */
  overflow-x: hidden;
  max-width: 100vw;
  background-color: var(--bg-day);
  color: var(--text-day-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--bg-day);
  color: var(--text-day-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: background-color 0.8s var(--ease-out-expo), color 0.8s var(--ease-out-expo);
}

/* Transición de Atmósfera Global (Scroll / Lux Lounge / Suite) */
body.atmosphere-night {
  background-color: var(--bg-night);
  color: var(--text-night-primary);
}

/* Selección de texto personalizada */
::selection {
  background-color: var(--gold-primary);
  color: var(--bg-night);
}

/* Tipografía Editorial */
.font-editorial {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-ui {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ==========================================================================
   1. FILM GRAIN OVERLAY (Textura de Revista de Lujo)
   ========================================================================== */
.film-grain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  will-change: opacity;
}

/* ==========================================================================
   2. NAVBAR GLASSMORPHISM & MICRO-INTERACCIONES
   ========================================================================== */
.navbar-shell {
  transition: background-color 0.45s var(--ease-out-expo),
              backdrop-filter 0.45s var(--ease-out-expo),
              border-color 0.45s var(--ease-out-expo),
              padding 0.45s var(--ease-out-expo),
              box-shadow 0.45s var(--ease-out-expo);
}

.navbar-shell.is-scrolled {
  background-color: rgba(14, 16, 18, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.24);
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  box-shadow: 0 18px 40px -15px rgba(0, 0, 0, 0.55);
}

/* Subrayado Dorado Animado en Enlaces de Navegación */
.nav-link-luxury {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 4px;
}

.nav-link-luxury::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--ease-out-expo);
}

.nav-link-luxury:hover::after,
.nav-link-luxury.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ==========================================================================
   3. HERO SLIDER CON EFECTO KEN BURNS (Acelerado por GPU + Enfoque Móvil)
   ========================================================================== */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.6s var(--ease-in-out-luxury), visibility 1.6s var(--ease-in-out-luxury);
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transform: scale(1.0);
  transition: transform 9s linear;
  will-change: transform;
}

/* Encuadre vertical preciso en móvil para destacar camas y arquitectura central */
@media (max-width: 1023px) {
  .hero-slide img.hero-focus-bed {
    object-position: 50% 65%;
  }
  .hero-slide img.hero-focus-center {
    object-position: 50% 50%;
  }
}

.hero-slide.is-active img {
  transform: scale(1.09);
}

.hero-gradient-overlay {
  background: linear-gradient(
    180deg,
    rgba(14, 16, 18, 0.68) 0%,
    rgba(14, 16, 18, 0.25) 38%,
    rgba(14, 16, 18, 0.48) 70%,
    rgba(14, 16, 18, 0.92) 100%
  );
}

/* ==========================================================================
   4. CORTINA REVELADORA (IMAGE MASK REVEAL CON INTERSECTION OBSERVER)
   ========================================================================== */
.reveal-mask {
  position: relative;
  overflow: hidden;
  clip-path: inset(12% 4% 12% 4% round 0.75rem);
  opacity: 0;
  transition: clip-path 1.2s var(--ease-out-expo), opacity 0.9s var(--ease-out-expo);
  will-change: clip-path, opacity;
}

.reveal-mask img {
  transform: scale(1.08);
  transition: transform 1.2s var(--ease-out-expo);
  will-change: transform;
}

.reveal-mask.is-revealed {
  clip-path: inset(0% 0% 0% 0% round 0.75rem);
  opacity: 1;
}

.reveal-mask.is-revealed img {
  transform: scale(1.0);
}

/* Reveal suave de bloques de texto y tarjetas */
.reveal-up {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 0.95s var(--ease-out-expo), transform 0.95s var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal-up.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* ==========================================================================
   5. BOTONES Y ELEMENTOS DE LUJO DORADO + PILLS DE RESERVA SIN OVERFLOW
   ========================================================================== */
.btn-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #C5A059 0%, #DFBD78 50%, #B68F46 100%);
  background-size: 200% 200%;
  color: #0E1012;
  font-weight: 600;
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo),
              background-position 0.5s var(--ease-out-expo);
}

.btn-gold:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 12px 28px -6px rgba(197, 160, 89, 0.48);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline-gold {
  border: 1px solid rgba(197, 160, 89, 0.55);
  color: var(--gold-light);
  transition: all 0.35s var(--ease-out-expo);
}

.btn-outline-gold:hover {
  background-color: rgba(197, 160, 89, 0.14);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

/* Pills interactivos para el Modal y Barra de Reserva (Cero Overflow en Móvil) */
.booking-pill-btn {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(24, 27, 31, 0.9);
  color: rgba(244, 241, 234, 0.8);
  transition: all 0.25s var(--ease-out-expo);
}

.booking-pill-btn:hover {
  border-color: rgba(197, 160, 89, 0.5);
  color: #F4F1EA;
}

.booking-pill-btn.is-selected {
  background-color: rgba(197, 160, 89, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.35);
}

/* Custom Dropdown Trigger en Barra Desktop */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.custom-select-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  background-color: #14171A;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 0.875rem;
  padding: 0.375rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
}

.custom-select-wrapper.is-open .custom-select-menu {
  display: block;
}

.custom-select-option {
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  color: #F4F1EA;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.custom-select-option:hover,
.custom-select-option.is-selected {
  background-color: rgba(197, 160, 89, 0.2);
  color: var(--gold-light);
}

/* ==========================================================================
   6. BENTO GRID & TARJETAS EDITORIALES + LIGHTBOX TRIGGER BADGE
   ========================================================================== */
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(22, 24, 26, 0.08);
  background-color: var(--surface-day-elevated);
  transition: transform 0.5s var(--ease-out-expo),
              box-shadow 0.5s var(--ease-out-expo),
              border-color 0.5s var(--ease-out-expo);
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 160, 89, 0.55);
  box-shadow: 0 24px 48px -16px rgba(22, 24, 26, 0.12);
}

.bento-card-dark {
  background: linear-gradient(145deg, #181B1F 0%, #0E1012 100%);
  color: var(--text-night-primary);
  border: 1px solid rgba(197, 160, 89, 0.24);
}

.bento-card-dark:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.65);
}

/* Sombras de Contraste para Logotipos Libres (Sin Cajas Encerradas) */
.logo-on-light-shadow {
  filter:
    drop-shadow(0 2px 3px rgba(18, 13, 9, 0.94))
    drop-shadow(0 6px 14px rgba(18, 13, 9, 0.78))
    drop-shadow(0 0 2px rgba(18, 13, 9, 0.92));
}

.logo-lux-glow {
  filter:
    drop-shadow(0 0 1px rgba(255, 248, 235, 0.85))
    drop-shadow(0 0 14px rgba(244, 241, 234, 0.35))
    drop-shadow(0 6px 16px rgba(0, 0, 0, 0.8));
}

/* ==========================================================================
   6B. LOS 6 PILARES DE EXCLUSIVIDAD: INTERCALADO DE TONOS DE LUJO Y TEXTURAS
   ========================================================================== */
/* Pilar 01: Carbón Obsidiana (#111315) + Líneas Diagonales Doradas al 4% */
.pilar-card-01 {
  background-color: #111315;
  background-image:
    radial-gradient(circle at 12% 15%, rgba(197, 160, 89, 0.14) 0%, transparent 55%),
    repeating-linear-gradient(
      -45deg,
      rgba(197, 160, 89, 0.04) 0px,
      rgba(197, 160, 89, 0.04) 1px,
      transparent 1px,
      transparent 14px
    );
  color: #F4F1EA;
  border: 1px solid rgba(197, 160, 89, 0.38);
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.55);
}

.pilar-card-01:hover {
  border-color: #C5A059;
  box-shadow: 0 26px 54px -14px rgba(0, 0, 0, 0.72);
}

/* Pilar 02: Café Espresso / Bronce Oscuro (#241C15) + Resplandor Radial Cálido Superior Derecha */
.pilar-card-02 {
  background-color: #241C15;
  background-image:
    radial-gradient(circle at 92% 10%, rgba(212, 163, 89, 0.24) 0%, rgba(197, 160, 89, 0.08) 38%, rgba(36, 28, 21, 0) 68%),
    linear-gradient(155deg, #241C15 0%, #1B140E 100%);
  color: #F4F1EA;
  border: 1px solid rgba(197, 160, 89, 0.36);
  box-shadow: 0 20px 44px -16px rgba(24, 17, 11, 0.52);
}

.pilar-card-02:hover {
  border-color: #DFBD78;
  box-shadow: 0 26px 54px -14px rgba(24, 17, 11, 0.72);
}

/* Pilar 03: Piedra Alabastro Cálido (#F4EFE6) + Textura Arquitectónica de Cuadrícula Fina (20x20) */
.pilar-card-03 {
  background-color: #F4EFE6;
  background-image: radial-gradient(rgba(197, 160, 89, 0.34) 0.75px, transparent 0.75px);
  background-size: 20px 20px;
  color: #16181A;
  border: 1px solid rgba(197, 160, 89, 0.32);
  box-shadow: 0 18px 38px -16px rgba(22, 24, 26, 0.1);
}

.pilar-card-03:hover {
  border-color: rgba(197, 160, 89, 0.68);
  box-shadow: 0 24px 48px -14px rgba(197, 160, 89, 0.22);
}

/* Pilar 04: Verde Bosque Profundo de Copán (#16261E) + Textos Crema Cálido & Acentos Dorados */
.pilar-card-04 {
  background-color: #16261E;
  background-image:
    radial-gradient(circle at 85% 18%, rgba(197, 160, 89, 0.18) 0%, transparent 58%),
    radial-gradient(circle at 10% 90%, rgba(36, 68, 52, 0.55) 0%, transparent 60%),
    linear-gradient(145deg, #16261E 0%, #101C16 100%);
  color: #FAF6F0;
  border: 1px solid rgba(197, 160, 89, 0.38);
  box-shadow: 0 20px 44px -16px rgba(12, 24, 18, 0.55);
}

.pilar-card-04:hover {
  border-color: #DFBD78;
  box-shadow: 0 26px 54px -14px rgba(12, 24, 18, 0.75);
}

/* Pilar 05: Terracota/Arena Cálido Profundo (#EFE6D5 -> #E5D7BF) + Marco Doble Editorial */
.pilar-card-05 {
  background: linear-gradient(145deg, #EFE6D5 0%, #E5D7BF 100%);
  color: #1C1612;
  border: 1px solid rgba(154, 114, 48, 0.42);
  box-shadow:
    inset 0 0 0 6px #EFE6D5,
    inset 0 0 0 7px rgba(154, 114, 48, 0.34),
    0 18px 38px -16px rgba(36, 26, 16, 0.14);
}

.pilar-card-05:hover {
  border-color: rgba(154, 114, 48, 0.78);
  box-shadow:
    inset 0 0 0 6px #EFE6D5,
    inset 0 0 0 7px rgba(154, 114, 48, 0.55),
    0 24px 48px -14px rgba(154, 114, 48, 0.25);
}

/* Pilar 06: Carbón Grafito con Acento Verde Bosque y Dorado */
.pilar-card-06 {
  background:
    radial-gradient(circle at 88% 20%, rgba(197, 160, 89, 0.18) 0%, transparent 55%),
    linear-gradient(135deg, #141817 0%, #1E2E26 100%);
  color: #F4F1EA;
  border: 1px solid rgba(197, 160, 89, 0.38);
  box-shadow: 0 20px 44px -16px rgba(10, 16, 14, 0.6);
}

.pilar-card-06:hover {
  border-color: #DFBD78;
  box-shadow: 0 26px 54px -14px rgba(10, 16, 14, 0.78);
}

/* Indicador de Ampliar Fotografía (Lightbox Trigger) */
[data-lightbox-trigger] {
  cursor: pointer;
}

.lightbox-zoom-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: rgba(14, 16, 18, 0.78);
  border: 1px solid rgba(197, 160, 89, 0.45);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease-out-expo),
              background-color 0.3s var(--ease-out-expo),
              color 0.3s var(--ease-out-expo);
  pointer-events: none;
}

[data-lightbox-trigger]:hover .lightbox-zoom-badge {
  transform: scale(1.1);
  background-color: var(--gold-primary);
  color: #0E1012;
}

/* ==========================================================================
   7. ATMÓSFERAS DE ALTO CONTRASTE Y MOTION GRAPHICS AMBIENTALES EN GASTRONOMÍA
   ========================================================================== */
.gastro-section-shell {
  position: relative;
  background-color: #1F1916;
  color: #F4F1EA;
  transition: background 0.85s var(--ease-out-expo),
              background-color 0.85s var(--ease-out-expo),
              color 0.85s var(--ease-out-expo);
}

/* 1. Atmósfera Bethania Restaurante: Brasa & Tierra de Lujo (#1F1916 + Ámbar/Fuego) */
.gastro-section-shell.is-atmo-restaurante {
  background:
    radial-gradient(circle at 14% 18%, rgba(212, 135, 55, 0.22) 0%, rgba(168, 72, 28, 0.12) 38%, transparent 66%),
    radial-gradient(circle at 86% 76%, rgba(212, 135, 55, 0.16) 0%, rgba(197, 160, 89, 0.10) 42%, transparent 70%),
    radial-gradient(circle at 50% 48%, rgba(212, 135, 55, 0.08) 0%, transparent 62%),
    linear-gradient(165deg, #1F1916 0%, #291E18 50%, #181310 100%);
  color: #F4F1EA;
}

.gastro-section-shell.is-atmo-restaurante .gastro-subtext {
  color: rgba(244, 241, 234, 0.82);
}

/* 2. Atmósfera Antonia's Coffee & Bakery: Espresso & Caramel Latte (#2A1B12 -> #3D271A) */
.gastro-section-shell.is-atmo-antonias {
  background:
    radial-gradient(circle at 18% 20%, rgba(212, 175, 55, 0.20) 0%, rgba(181, 118, 58, 0.16) 42%, transparent 68%),
    radial-gradient(circle at 84% 62%, rgba(218, 158, 92, 0.22) 0%, rgba(139, 90, 43, 0.14) 46%, transparent 72%),
    radial-gradient(circle at 50% 92%, rgba(251, 247, 240, 0.08) 0%, transparent 58%),
    linear-gradient(165deg, #2A1B12 0%, #3D271A 52%, #24160E 100%);
  color: #FBF7F0;
}

.gastro-section-shell.is-atmo-antonias .gastro-subtext {
  color: rgba(251, 247, 240, 0.85);
}

/* 3. Atmósfera Lux Lounge Bar: Nocturna Obsidiana & Vino (#0B0A0E + Carmesí & Oro) */
.gastro-section-shell.is-lux-night {
  background:
    radial-gradient(circle at 82% 16%, rgba(140, 29, 64, 0.28) 0%, rgba(92, 16, 40, 0.14) 42%, transparent 66%),
    radial-gradient(circle at 16% 80%, rgba(197, 160, 89, 0.18) 0%, rgba(140, 29, 64, 0.10) 45%, transparent 68%),
    radial-gradient(circle at 50% 45%, rgba(140, 29, 64, 0.12) 0%, transparent 60%),
    linear-gradient(165deg, #0B0A0E 0%, #150D13 52%, #09080C 100%);
  color: var(--text-night-primary);
}

.gastro-section-shell.is-lux-night .gastro-subtext {
  color: #C9C3B8;
}

/* ==========================================================================
   7B. MOTION GRAPHICS AMBIENTALES EN VIVO (60 FPS GPU-ACCELERATED)
   ========================================================================== */
.gastro-ambient-canvas {
  contain: strict;
}

/* Barrido Luminoso (Light Sweep) al alternar de marca gastronómica */
.gastro-light-sweep {
  position: absolute;
  inset: -20% -30%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(223, 189, 120, 0.03) 42%,
    rgba(255, 244, 214, 0.18) 50%,
    rgba(223, 189, 120, 0.04) 58%,
    transparent 80%
  );
  opacity: 0;
  translate: -75% 0;
  pointer-events: none;
  will-change: translate, opacity;
}

.gastro-light-sweep.is-sweeping {
  animation: gastroLightSweep 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes gastroLightSweep {
  0% {
    opacity: 0;
    translate: -70% 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    translate: 75% 0;
  }
}

/* Ondas Arquitectónicas Curvas en SVG */
.gastro-wave-svg {
  position: absolute;
  left: -8%;
  width: 116%;
  height: 360px;
  opacity: 0.42;
  will-change: translate;
  animation: gastroWaveDrift 18s ease-in-out infinite alternate;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

.gastro-wave-top {
  top: 2%;
}

.gastro-wave-bottom {
  bottom: 3%;
  animation-duration: 22s;
  animation-direction: alternate-reverse;
}

.gastro-wave-path-1,
.gastro-wave-path-2,
.gastro-wave-path-3 {
  transition: stroke 0.85s var(--ease-out-expo);
}

/* Color de ondas según marca activa */
.gastro-section-shell.is-atmo-restaurante .gastro-wave-path-1 {
  stroke: rgba(212, 135, 55, 0.24);
}
.gastro-section-shell.is-atmo-restaurante .gastro-wave-path-2 {
  stroke: rgba(197, 160, 89, 0.16);
}
.gastro-section-shell.is-atmo-restaurante .gastro-wave-path-3 {
  stroke: rgba(235, 110, 45, 0.14);
}

.gastro-section-shell.is-atmo-antonias .gastro-wave-path-1 {
  stroke: rgba(223, 189, 120, 0.28);
}
.gastro-section-shell.is-atmo-antonias .gastro-wave-path-2 {
  stroke: rgba(251, 247, 240, 0.16);
}
.gastro-section-shell.is-atmo-antonias .gastro-wave-path-3 {
  stroke: rgba(210, 150, 88, 0.20);
}

.gastro-section-shell.is-lux-night .gastro-wave-path-1 {
  stroke: rgba(197, 160, 89, 0.24);
}
.gastro-section-shell.is-lux-night .gastro-wave-path-2 {
  stroke: rgba(178, 38, 82, 0.28);
}
.gastro-section-shell.is-lux-night .gastro-wave-path-3 {
  stroke: rgba(223, 189, 120, 0.15);
}

@keyframes gastroWaveDrift {
  0% {
    translate: -2.5% -6px;
    scale: 1 0.97;
  }
  50% {
    translate: 1.5% 8px;
    scale: 1.02 1.03;
  }
  100% {
    translate: 3% -4px;
    scale: 1 0.98;
  }
}

/* 16 Partículas Flotantes de Luz Desenfocada (Bokeh / Brasa / Aroma) */
.gastro-particle {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  opacity: 0;
  will-change: translate, scale, opacity;
  animation: gastroParticleFloat var(--gp-dur, 14s) ease-in-out var(--gp-delay, 0s) infinite;
  transition: background 0.85s var(--ease-out-expo), box-shadow 0.85s var(--ease-out-expo);
  @media (prefers-reduced-motion: reduce) {
    animation: none;
    opacity: 0.22;
  }
}

/* Variaciones de color de partículas según la atmósfera activa */
.gastro-section-shell.is-atmo-restaurante .gastro-particle:nth-of-type(odd) {
  background: radial-gradient(circle, rgba(242, 158, 68, 0.65) 0%, rgba(212, 135, 55, 0.18) 55%, transparent 75%);
  box-shadow: 0 0 24px rgba(212, 135, 55, 0.35);
}
.gastro-section-shell.is-atmo-restaurante .gastro-particle:nth-of-type(even) {
  background: radial-gradient(circle, rgba(223, 189, 120, 0.55) 0%, rgba(186, 85, 36, 0.16) 55%, transparent 75%);
  box-shadow: 0 0 28px rgba(197, 160, 89, 0.28);
}

.gastro-section-shell.is-atmo-antonias .gastro-particle:nth-of-type(odd) {
  background: radial-gradient(circle, rgba(251, 247, 240, 0.58) 0%, rgba(212, 175, 55, 0.22) 55%, transparent 75%);
  box-shadow: 0 0 26px rgba(251, 247, 240, 0.3);
}
.gastro-section-shell.is-atmo-antonias .gastro-particle:nth-of-type(even) {
  background: radial-gradient(circle, rgba(223, 189, 120, 0.65) 0%, rgba(196, 132, 72, 0.22) 55%, transparent 75%);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.34);
}

.gastro-section-shell.is-lux-night .gastro-particle:nth-of-type(odd) {
  background: radial-gradient(circle, rgba(223, 189, 120, 0.62) 0%, rgba(197, 160, 89, 0.18) 55%, transparent 75%);
  box-shadow: 0 0 26px rgba(223, 189, 120, 0.35);
}
.gastro-section-shell.is-lux-night .gastro-particle:nth-of-type(even) {
  background: radial-gradient(circle, rgba(194, 42, 90, 0.62) 0%, rgba(140, 29, 64, 0.22) 55%, transparent 75%);
  box-shadow: 0 0 30px rgba(140, 29, 64, 0.42);
}

/* Distribución espacial y tiempos orgánicos de las 16 partículas */
.gp-1  { width: 64px;  height: 64px;  left: 6%;  top: 82%; --gp-dur: 14s; --gp-delay: 0s; }
.gp-2  { width: 96px;  height: 96px;  left: 14%; top: 45%; --gp-dur: 18s; --gp-delay: -3s; }
.gp-3  { width: 48px;  height: 48px;  left: 23%; top: 88%; --gp-dur: 13s; --gp-delay: -6s; }
.gp-4  { width: 110px; height: 110px; left: 31%; top: 28%; --gp-dur: 20s; --gp-delay: -2s; }
.gp-5  { width: 56px;  height: 56px;  left: 39%; top: 74%; --gp-dur: 15s; --gp-delay: -8s; }
.gp-6  { width: 84px;  height: 84px;  left: 48%; top: 60%; --gp-dur: 17s; --gp-delay: -4s; }
.gp-7  { width: 52px;  height: 52px;  left: 56%; top: 86%; --gp-dur: 12s; --gp-delay: -9s; }
.gp-8  { width: 120px; height: 120px; left: 64%; top: 34%; --gp-dur: 21s; --gp-delay: -5s; }
.gp-9  { width: 60px;  height: 60px;  left: 72%; top: 78%; --gp-dur: 16s; --gp-delay: -1s; }
.gp-10 { width: 90px;  height: 90px;  left: 81%; top: 52%; --gp-dur: 19s; --gp-delay: -7s; }
.gp-11 { width: 46px;  height: 46px;  left: 89%; top: 84%; --gp-dur: 13s; --gp-delay: -11s; }
.gp-12 { width: 76px;  height: 76px;  left: 93%; top: 26%; --gp-dur: 17s; --gp-delay: -3.5s; }
.gp-13 { width: 68px;  height: 68px;  left: 11%; top: 18%; --gp-dur: 16s; --gp-delay: -10s; }
.gp-14 { width: 72px;  height: 72px;  left: 44%; top: 16%; --gp-dur: 18s; --gp-delay: -6.5s; }
.gp-15 { width: 54px;  height: 54px;  left: 68%; top: 14%; --gp-dur: 14s; --gp-delay: -2.5s; }
.gp-16 { width: 88px;  height: 88px;  left: 27%; top: 62%; --gp-dur: 19s; --gp-delay: -12s; }

@keyframes gastroParticleFloat {
  0% {
    opacity: 0;
    translate: 0 28px;
    scale: 0.82;
  }
  25% {
    opacity: 0.55;
  }
  65% {
    opacity: 0.42;
    translate: 14px -48px;
    scale: 1.12;
  }
  100% {
    opacity: 0;
    translate: -10px -96px;
    scale: 0.9;
  }
}

/* Tarjetas Selectoras de las 3 Marcas Gastronómicas (Alto Contraste Oscuro) */
.gastro-brand-tab {
  background-color: #141619;
  color: #F4F1EA;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.45s var(--ease-out-expo),
              box-shadow 0.45s var(--ease-out-expo),
              border-color 0.45s var(--ease-out-expo),
              background 0.45s var(--ease-out-expo);
}

.gastro-brand-tab:hover {
  border-color: rgba(197, 160, 89, 0.65);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.65);
}

.gastro-brand-tab.is-active {
  background: linear-gradient(145deg, #241A14 0%, #141619 100%);
  color: #F4F1EA;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.55), 0 20px 42px -12px rgba(0, 0, 0, 0.75);
}

.gastro-section-shell.is-atmo-antonias .gastro-brand-tab.is-active {
  background: linear-gradient(145deg, #231710 0%, #3A2518 100%);
  border-color: #D4AF37;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.6), 0 20px 42px -12px rgba(18, 11, 7, 0.78);
}

.gastro-section-shell.is-lux-night .gastro-brand-tab.is-active {
  background: linear-gradient(145deg, #281118 0%, #141619 100%);
  border-color: var(--gold-light);
  box-shadow: 0 0 0 1px rgba(223, 189, 120, 0.55), 0 20px 42px -10px rgba(140, 29, 64, 0.42);
}

/* Paneles de Pestañas (Suite y Gastronomía) */
.tab-panel-luxury {
  display: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.tab-panel-luxury.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   8. GALERÍA MASONRY EDITORIAL & FILTROS
   ========================================================================== */
.masonry-grid {
  column-count: 1;
  column-gap: 1.25rem;
}

@media (min-width: 640px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .masonry-grid {
    column-count: 4;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  transform: translateZ(0);
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

@media (min-width: 1024px) {
  .masonry-item {
    margin-bottom: 1.5rem;
  }
}

.masonry-item.is-filtered-out {
  display: none;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.75s var(--ease-out-expo);
}

.masonry-item:hover img {
  transform: scale(1.06);
}

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 16, 18, 0) 35%, rgba(14, 16, 18, 0.86) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.masonry-item:hover .masonry-overlay,
.masonry-item:focus-visible .masonry-overlay {
  opacity: 1;
}

/* ==========================================================================
   9. NATIVE DIALOG LIGHTBOX & BOOKING MODAL (light-dismiss-a-dialog + scroll)
   ========================================================================== */
dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
}

#lightboxDialog,
#bookingModal,
#bookingModalDialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100dvh;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: contain;
}

#lightboxDialog::backdrop,
#bookingModal::backdrop,
#bookingModalDialog::backdrop {
  background-color: rgba(10, 12, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  overscroll-behavior: contain;
}

/* Cuerpo scrollable del formulario dentro de #bookingModal */
#bookingModal .modal-body {
  --scrollbar-thumb: rgba(197, 160, 89, 0.52);
  --scrollbar-track: rgba(14, 16, 18, 0.5);
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

#bookingModal ::-webkit-scrollbar {
  width: 6px;
}
#bookingModal ::-webkit-scrollbar-track {
  background: rgba(14, 16, 18, 0.5);
}
#bookingModal ::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.35);
  border-radius: 9999px;
}
#bookingModal ::-webkit-scrollbar-thumb:hover {
  background: rgba(197, 160, 89, 0.65);
}

/* Botón Copiar Cuenta Bancaria (Estado "¡Copiado!" con Realce Dorado) */
.copy-bank-btn.is-copied {
  background: linear-gradient(135deg, #C5A059 0%, #DFBD78 100%) !important;
  color: #0E1012 !important;
  border-color: #DFBD78 !important;
  box-shadow: 0 0 18px rgba(197, 160, 89, 0.55);
}

/* Validación Accesible de Campos Obligatorios (:user-invalid + Fallback) */
.booking-field:is(:user-invalid, .user-invalid-fallback) {
  border-color: #f28b82 !important;
  background-color: rgba(217, 48, 37, 0.08);
}

.booking-field:is(:user-invalid, .user-invalid-fallback) + .error-msg,
div:has(> .booking-field:is(:user-invalid, .user-invalid-fallback)) + .error-msg {
  display: flex;
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   10. INFINITE MARQUEE DE RESEÑAS DE GOOGLE MAPS
   ========================================================================== */
.marquee-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  animation: marqueeScroll 58s linear infinite;
  will-change: transform;
}

.marquee-viewport:hover .marquee-track,
.marquee-viewport:focus-within .marquee-track,
.marquee-track.is-paused {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ==========================================================================
   11. DEFERRED RENDERING (Cumpliendo guía defer-rendering-heavy-content)
   ========================================================================== */
.deferred-section {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 950px;
}

/* ==========================================================================
   12. PERSONALIZACIÓN DE SWIPER CARRUSELES
   ========================================================================== */
.swiper-button-luxury {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(197, 160, 89, 0.45);
  background-color: rgba(14, 16, 18, 0.75);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
  backdrop-filter: blur(8px);
}

.swiper-button-luxury:hover {
  background-color: var(--gold-primary);
  color: #0E1012;
  border-color: var(--gold-primary);
  transform: scale(1.06);
}

.swiper-pagination-bullet {
  background: rgba(197, 160, 89, 0.45) !important;
  opacity: 1 !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--gold-primary) !important;
  width: 24px !important;
  border-radius: 999px !important;
}

/* ==========================================================================
   13. SUB-SECCIÓN ESTRELLA: EXPLORE COPÁN & RUTA TURÍSTICA (SECCIÓN 7)
   ========================================================================== */
.explore-copan-shell {
  background:
    radial-gradient(circle at 12% 18%, rgba(46, 111, 101, 0.24) 0%, transparent 52%),
    radial-gradient(circle at 88% 82%, rgba(197, 160, 89, 0.16) 0%, transparent 55%),
    linear-gradient(135deg, #0E1512 0%, #14181C 60%, #1A1612 100%);
  box-shadow: 0 28px 60px -18px rgba(0, 0, 0, 0.72);
}

.explore-route-path {
  stroke-dasharray: 10 10;
  animation: exploreRouteFlow 16s linear infinite, exploreRouteGlow 4s ease-in-out infinite alternate;
}

@keyframes exploreRouteFlow {
  0% {
    stroke-dashoffset: 240;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes exploreRouteGlow {
  0% {
    opacity: 0.72;
    filter: drop-shadow(0 0 3px rgba(197, 160, 89, 0.35));
  }
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(46, 111, 101, 0.75));
  }
}

.explore-node-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: exploreNodePulse 2.8s ease-in-out infinite;
}

@keyframes exploreNodePulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.38);
    opacity: 0.85;
  }
}

.explore-dest-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(46, 111, 101, 0.18) 0%, transparent 58%),
    linear-gradient(155deg, rgba(22, 30, 28, 0.92) 0%, rgba(15, 20, 22, 0.96) 100%);
  border: 1px solid rgba(197, 160, 89, 0.28);
  box-shadow: 0 18px 38px -14px rgba(0, 0, 0, 0.55);
  transition: transform 0.45s var(--ease-out-expo),
              border-color 0.45s var(--ease-out-expo),
              box-shadow 0.45s var(--ease-out-expo);
}

.explore-dest-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 160, 89, 0.72);
  box-shadow:
    0 24px 48px -14px rgba(0, 0, 0, 0.78),
    0 0 24px -6px rgba(46, 111, 101, 0.38);
}

.explore-time-chip {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.2) 0%, rgba(46, 111, 101, 0.28) 100%);
  border: 1px solid rgba(197, 160, 89, 0.5);
  box-shadow: 0 0 16px -4px rgba(197, 160, 89, 0.35);
}

/* ==========================================================================
   14. BOTÓN FLOTANTE DE CONCIERGE 24/7 (PULSO DORADO)
   ========================================================================== */
@keyframes conciergePulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  70% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.concierge-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 2px solid var(--gold-primary);
  animation: conciergePulse 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

/* ==========================================================================
   14. ACCESIBILIDAD Y REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-mask {
    clip-path: none !important;
    opacity: 1 !important;
  }
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
