/* ========================================================================
   1.0 - VARIABLES GLOBALES PARA TRAJINERAS XOCHIMILCO
   Paleta de colores inspirada en la cultura mexicana y Xochimilco
   ======================================================================== */

:root {
  /* Colores principales - Inspirados en Xochimilco */
  --color-primary: #1a3a2e;        /* Verde oscuro Xochimilco */
  --color-secondary: #2d7a5f;      /* Verde medio agua */
  --color-tertiary: #4a9b7f;       /* Verde claro canales */
  --color-accent: #ff6b35;         /* Naranja mexicano vibrante */
  --color-accent-light: #ffa652;   /* Naranja claro floral */
  --color-accent-dark: #e84a1f;    /* Naranja oscuro intenso */
  
  /* Colores adicionales mexicanos */
  --color-pink: #ff1493;           /* Rosa mexicano */
  --color-yellow: #ffd700;         /* Amarillo girasol */
  --color-blue: #0066cc;           /* Azul tradicional */
  --color-purple: #8b4789;         /* Morado bugambilia */
  
  /* Colores de texto optimizados */
  --text-primary: #ffffff;         /* Blanco puro */
  --text-secondary: #f0f0f0;       /* Blanco suave */
  --text-muted: #b0b0b0;          /* Gris claro */
  --text-dark: #2c2c2c;           /* Gris oscuro para fondos claros */
  
  /* Colores de fondo con gradientes */
  --bg-primary: linear-gradient(135deg, #0f1f1a 0%, #1a3a2e 100%);
  --bg-secondary: #1a3a2e;
  --bg-tertiary: #2d5f4f;
  --bg-overlay: rgba(26, 58, 46, 0.9);
  
  /* Colores de estado */
  --color-success: #4caf50;
  --color-warning: #ff9800;
  --color-error: #f44336;
  --color-info: #2196f3;
  
  /* Espaciados consistentes */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Tipografia mexicana moderna */
  --font-primary: 'Montserrat', 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
  --font-decorative: 'Montserrat', serif;
  
  /* Tamanos de fuente responsive */
  --text-xs: clamp(0.7rem, 1.5vw, 0.75rem);
  --text-sm: clamp(0.8rem, 2vw, 0.875rem);
  --text-base: clamp(0.9rem, 2.5vw, 1rem);
  --text-lg: clamp(1rem, 3vw, 1.125rem);
  --text-xl: clamp(1.15rem, 3.5vw, 1.25rem);
  --text-2xl: clamp(1.3rem, 4vw, 1.5rem);
  --text-3xl: clamp(1.75rem, 5vw, 2rem);
  --text-4xl: clamp(2rem, 6vw, 2.5rem);
  --text-5xl: clamp(2.5rem, 7vw, 3rem);
  
  /* Bordes y radios */
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-width: 2px;
  --border-color: rgba(255, 255, 255, 0.2);
  
  /* Sombras mejoradas */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.5);
  
  /* Transiciones */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Z-index layers */
  --z-video: 0;
  --z-content: 2;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ========================================================================
   2.0 - RESET Y ESTILOS BASE
   Reset completo para consistencia cross-browser
   ======================================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  max-width: 100vw;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  background: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  max-width: 100vw;
  touch-action: pan-y pinch-zoom;
  position: relative;
}

/* VIDEO DE FONDO — Inmune a cambios de barra del navegador */
#video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--vh-lock, 100vh);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  -webkit-transform: translate(-50%, -50%);
}

#video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

#page-wrapper {
  position: relative;
  z-index: var(--z-content);
}

.section {
  background: transparent;
}

/* ========================================================================
   3.0 - TIPOGRAFIA
   Estilos de texto adaptados para el negocio
   ======================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #ff6b35;
  margin: 0 0 var(--spacing-md) 0;
  text-transform: none;
  letter-spacing: 0.02em;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

h1 {
  font-size: var(--text-5xl);
  background: linear-gradient(135deg, #000000 0%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: var(--text-4xl);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-yellow), var(--color-accent));
}

h3 {
  font-size: var(--text-3xl);
  color: var(--color-accent-light);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: all var(--transition-base);
}

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

p {
  margin: 0 0 var(--spacing-lg) 0;
  line-height: 1.8;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

/* ========================================================================
   4.0 - NAVEGACION PRINCIPAL
   Menu superior fijo con diseno responsive mejorado
   ======================================================================== */

#header-wrapper {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--color-accent);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(-100%);
}

#header-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header visible inmediatamente en móvil — GPU-locked in place */
@media screen and (max-width: 1024px) {
  #header-wrapper {
    opacity: 1;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
}

#header-wrapper.scrolled {
  background: rgba(0, 0, 0, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

#logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-sm);
}

#logo a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

#logo img {
  display: inline-block;
  vertical-align: middle;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ========================================================================
   NAVEGACION DESKTOP - VERSIÓN CORREGIDA Y ROBUSTA
   Reemplaza toda la sección de navegación desktop en tu CSS
   ======================================================================== */

#nav {
  display: flex;
  align-items: center;
}

#nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--spacing-sm);
}

#nav li {
  position: relative;
}

/* --------------------
   Base de enlaces
   -------------------- */
#nav a {
  display: block;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 150ms ease-out;
  position: relative;
}

/* --------------------
   Underline animado (base)
   -------------------- */
#nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-yellow));
  transition: width 150ms ease-out, opacity 100ms ease-out;
  opacity: 0;
  pointer-events: none;
}

/* --------------------
   RESET COMPLETO: Neutralizar TODAS las clases .active
   (de dropotron, del JS inline, del HTML hardcodeado)
   -------------------- */
#nav a.active,
#nav a.active:link,
#nav a.active:visited {
  color: var(--text-secondary);
}

#nav a.active::before {
  width: 0;
  opacity: 0;
}

/* --------------------
   Estados HOVER - Máxima prioridad
   -------------------- */
#nav > ul > li > a:hover,
#nav > ul > li > a:focus,
#nav > ul > li > a:focus-visible {
  color: var(--color-accent) !important;
}

#nav > ul > li > a:hover::before,
#nav > ul > li > a:focus::before,
#nav > ul > li > a:focus-visible::before {
  width: 80% !important;
  opacity: 1 !important;
}

/* --------------------
   Selección manual del usuario (.user-active)
   Esta es la ÚNICA clase que debe mostrar estado activo permanente
   -------------------- */
#nav a.user-active,
#nav a.user-active:link,
#nav a.user-active:visited {
  color: var(--color-accent) !important;
}

#nav a.user-active::before {
  width: 80% !important;
  opacity: 1 !important;
}

/* --------------------
   Botón de reserva - Sin underline
   -------------------- */
#nav .btn-reserve {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  border-radius: var(--border-radius);
  color: white !important;
  font-weight: 700;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out;
}

#nav .btn-reserve:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  color: white !important;
}

#nav .btn-reserve::before {
  display: none !important;
}

/* --------------------
   Fix para elementos con clase .opener (dropotron)
   -------------------- */
#nav li.opener > a:hover {
  color: var(--color-accent) !important;
}

#nav li.opener > a:hover::before {
  width: 80% !important;
  opacity: 1 !important;
}

#nav li.opener > a.openerActive:not(.user-active) {
  color: var(--text-secondary);
}

#nav li.opener > a.openerActive:not(.user-active)::before {
  width: 0;
  opacity: 0;
}

/* --------------------
   Clase .nav-hover - Forzar hover via JavaScript
   Esto garantiza que el hover SIEMPRE funcione
   -------------------- */
#nav a.nav-hover {
  color: var(--color-accent) !important;
}

#nav a.nav-hover::before {
  width: 80% !important;
  opacity: 1 !important;
}













/* ========================================================================
   NAVEGACION MOVIL - Menu hamburguesa y panel lateral
   ======================================================================== */

#mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  z-index: var(--z-tooltip);
}

#mobile-menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--color-accent);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: all var(--transition-base);
}

#mobile-menu-toggle span:nth-child(1) {
  top: 8px;
}

#mobile-menu-toggle span:nth-child(2) {
  top: 18px;
}

#mobile-menu-toggle span:nth-child(3) {
  top: 28px;
}

#mobile-menu-toggle.active span:nth-child(1) {
  top: 18px;
  transform: rotate(135deg);
}

#mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#mobile-menu-toggle.active span:nth-child(3) {
  top: 18px;
  transform: rotate(-135deg);
}

#mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 350px;
  height: 100vh;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  transition: right var(--transition-base);
  z-index: var(--z-modal);
  overflow-y: auto;
  padding-top: 80px;
}

#mobile-nav.active {
  right: 0;
}

#mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mobile-nav a {
  display: block;
  padding: var(--spacing-lg);
  color: var(--text-primary);
  font-size: var(--text-lg);
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
  position: relative;
}

#mobile-nav a:hover {
  background: rgba(255, 107, 53, 0.1);
  padding-left: var(--spacing-xl);
}

#mobile-nav a.active {
  background: rgba(255, 107, 53, 0.2);
  color: var(--color-accent);
}

#mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: calc(var(--z-modal) - 1);
}

#mobile-nav-overlay.active {
  display: block;
}

/* ========================================================================
   5.0 - SECCION HERO/BANNER
   Banner principal con informacion destacada
   ======================================================================== */

#banner {
  background: transparent;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: visible;
  padding: var(--spacing-3xl) var(--spacing-xl);
}

#banner .container {
  width: 100%;
  max-width: 1000px;
}

#banner h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0;
  animation: fadeInUp 1s ease;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-family: 'Great Vibes', cursive;
  transform: translateY(20vh);
}

#logo-title {
  max-width: 80%;
  width: auto;
  height: auto;
  max-height: 600px;
  margin: 15px auto 0;
  display: block;
  animation: fadeInUp 1s ease forwards;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.9));
  object-fit: contain;
}

/* Botón de scroll hacia abajo */
#scroll-down-btn {
  display: block;
  margin: 30px auto 0;
  padding: 20px 70px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

#scroll-down-btn:hover {
  background: rgba(0, 0, 0, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

#scroll-down-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#banner .subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--color-yellow);
  font-family: var(--font-decorative);
  font-weight: 400;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  font-style: italic;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

#banner .subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-banner {
  background: rgba(0, 0, 0, 0.85);
  border: 3px solid var(--color-accent);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-2xl);
  margin-top: 10vh;
  backdrop-filter: blur(10px);
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.info-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-banner .subtitle {
  margin-top: 0;
  opacity: 1;
  transform: none;
}

#banner p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 100%;
  margin: 0 auto var(--spacing-xl);
  font-weight: 300;
  line-height: 1.8;
}

#banner .actions {
  margin-top: var(--spacing-lg);
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(-4vh);
  }
}

/* ========================================================================
   6.0 - BOTONES
   Estilos de botones con diseno mexicano
   ======================================================================== */

.button {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: white;
  border: none;
  border-radius: var(--border-radius-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-size: var(--text-base);
  transition: all var(--transition-base);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.button:hover::before {
  width: 300px;
  height: 300px;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.button.large {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--text-lg);
}

.button.secondary {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-tertiary));
}

.button i {
  margin-right: var(--spacing-sm);
}

/* ========================================================================
   7.0 - LAYOUT Y GRID SYSTEM
   Sistema de grid responsive de 12 columnas
   ======================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.section {
  padding: var(--spacing-3xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: calc(var(--spacing-lg) * -1);
}

.row > * {
  padding: var(--spacing-lg);
}

.col-1 { flex: 0 0 8.333%; max-width: 8.333%; }
.col-2 { flex: 0 0 16.666%; max-width: 16.666%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-5 { flex: 0 0 41.666%; max-width: 41.666%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333%; max-width: 58.333%; }
.col-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.col-11 { flex: 0 0 91.666%; max-width: 91.666%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* ========================================================================
   8.0 - CARDS DE SERVICIOS
   Tarjetas para mostrar servicios y paquetes
   ======================================================================== */

.card {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(88, 57, 0, 0.95));
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  height: 100%;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
  border-color: var(--color-accent);
}

.card .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: var(--shadow-md);
}

.card h3 {
  text-align: center;
  margin-bottom: var(--spacing-sm);
  font-size: var(--text-2xl);
}

.card .price {
  text-align: center;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-yellow);
  margin: var(--spacing-md) 0;
}

.card .price span {
  font-size: var(--text-base);
  color: var(--text-secondary);
}

.card ul {
  list-style: none;
  padding: 0;
  margin: var(--spacing-lg) 0;
}

.card ul li {
  padding: var(--spacing-sm) 0;
  padding-left: var(--spacing-xl);
  position: relative;
}

.card ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1.2em;
}

/* ========================================================================
   9.0 - GALERIA DE IMAGENES
   Grid de imagenes con efecto hover
   ======================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

a.gallery-item {
  display: block;
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  color: white;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  z-index: 2;
}

.gallery-item:hover .caption {
  transform: translateY(0);
}

/* ========================================================================
   10.0 - FOOTER
   Pie de pagina con informacion de contacto
   ======================================================================== */

#footer-wrapper {
  background: linear-gradient(135deg, rgba(26, 58, 46, 0.95), rgba(26, 58, 46, 0.98));
  border-top: 3px solid var(--color-accent);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
  margin-top: var(--spacing-3xl);
  position: relative;
  backdrop-filter: blur(10px);
}

#footer h3 {
  margin-bottom: var(--spacing-lg);
  color: var(--color-accent);
}

#footer ul {
  list-style: none;
  padding: 0;
}

#footer ul li {
  margin-bottom: var(--spacing-sm);
}

#footer a {
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

#footer a:hover {
  color: var(--color-accent);
  padding-left: var(--spacing-sm);
}

.social-icons {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all var(--transition-base);
}

.social-icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

#copyright {
  background: var(--bg-secondary);
  padding: var(--spacing-lg) 0;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
}

/* ========================================================================
   11.0 - COMPONENTES ADICIONALES
   Badges, alertas y otros elementos
   ======================================================================== */

.badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--color-accent);
  color: white;
  border-radius: var(--border-radius);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.badge.new {
  background: var(--color-pink);
}

.badge.popular {
  background: var(--color-yellow);
  color: var(--text-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================================
   12.0 - MEDIA QUERIES - RESPONSIVE DESIGN
   Adaptacion para todos los dispositivos
   ======================================================================== */

@media screen and (max-width: 1024px) {
  /* Forzar versión móvil para cualquier pantalla menor a 1024px */
  #nav {
    display: none !important;
  }
  
  #mobile-menu-toggle {
    display: block !important;
  }
  
  .col-3 { flex: 0 0 100%; max-width: 100%; }
  .col-4 { flex: 0 0 100%; max-width: 100%; }
  .col-6 { flex: 0 0 100%; max-width: 100%; }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  #banner {
    min-height: 100vh;
    padding: calc(var(--spacing-2xl) + 60px) var(--spacing-md) var(--spacing-2xl);
  }
  
  #logo-title {
    max-width: 85%;
    max-height: 450px;
  }
  
  #scroll-down-btn {
    padding: 10px 35px;
    font-size: 0.85rem;
    margin-top: 25px;
  }
  
  .info-banner {
    margin-top: 5vh;
    padding: var(--spacing-lg);
  }
  
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  #footer .row > * {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: var(--spacing-xl);
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  #banner .actions {
    flex-direction: column;
    width: 100%;
  }
  
  #banner .actions .button {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  /* Ajustes adicionales para tablets y móviles */
  #banner h1 {
    transform: translateY(22vh);
  }
}

@media screen and (max-width: 480px) {
  /* Ajustes específicos para móviles pequeños */
  :root {
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
    --text-2xl: 1.25rem;
    --text-xl: 1.1rem;
  }
  
  #logo {
    font-size: var(--text-xl);
  }
  
  .info-banner {
    border-width: 2px;
    margin-top: 3vh;
  }
  
  #banner h1 {
    transform: translateY(25vh);
  }
  
  #logo-title {
    max-width: 90%;
    max-height: 520px;
    transform: translateY(5vh);
  }
  
  #scroll-down-btn {
    padding: 10px 30px;
    font-size: 0.8rem;
    margin-top: 20px;
    transform: translateY(15vh);
  }
  
  .section {
    padding: var(--spacing-2xl) 0;
  }
}

@media screen and (max-width: 360px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  #banner h1 {
    font-size: 1.75rem;
  }
}

@media print {
  #header-wrapper,
  #mobile-menu-toggle,
  #mobile-nav,
  .button,
  .social-icons {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .card {
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
  }
}

/* ========================================================================
   13.0 - UTILIDADES
   Clases de utilidad para uso rapido
   ======================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-accent { color: var(--color-accent) !important; }
.text-uppercase { text-transform: uppercase; }
.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--spacing-sm) !important; }
.mb-2 { margin-bottom: var(--spacing-md) !important; }
.mb-3 { margin-bottom: var(--spacing-lg) !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--spacing-sm) !important; }
.mt-2 { margin-top: var(--spacing-md) !important; }
.mt-3 { margin-top: var(--spacing-lg) !important; }
.p-0 { padding: 0 !important; }
.p-1 { padding: var(--spacing-sm) !important; }
.p-2 { padding: var(--spacing-md) !important; }
.p-3 { padding: var(--spacing-lg) !important; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.gap-1 { gap: var(--spacing-sm) !important; }
.gap-2 { gap: var(--spacing-md) !important; }
.gap-3 { gap: var(--spacing-lg) !important; }














/* ========================================================================
   AJUSTES RESPONSIVOS PARA HEADER MÓVIL
   Mejoras para el menú superior en dispositivos móviles
   ======================================================================== */

/* Ajustes base del header */
#header-wrapper {
  min-height: 60px;
  height: auto;
}

#header {
  min-height: 60px;
  height: auto;
}

#logo {
  max-width: 300px;
  flex-shrink: 1;
}

#logo img {
  height: auto;
  max-height: 90px;
  width: auto;
}

#logo img#logo-titulo {
  max-width: 160px;
  height: auto;
  max-height: 90px;
}

/* ========================================================================
   MEDIA QUERIES PARA TABLETS Y MÓVILES
   ======================================================================== */

/* Tablets (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #header-wrapper {
    min-height: 85px;
  }
  
  #header {
    padding: 0.5rem 0;
    min-height: 85px;
  }
  
  #logo {
    gap: 10px;
    max-width: 250px;
  }
  
  #logo img:first-child {
    max-height: 74px;
  }
  
  #logo img#logo-titulo {
    max-height: 74px;
    max-width: 130px;
  }

  #mobile-menu-toggle {
    width: 35px;
    height: 35px;
  }
}

/* Móviles medianos (480px - 768px) */
@media screen and (max-width: 768px) and (min-width: 480px) {
  #header-wrapper {
    min-height: 85px;
  }
  
  #header {
    padding: 0.5rem 0;
    min-height: 85px;
  }
  
  #logo {
    gap: 10px;
    max-width: 240px;
  }
  
  #logo img:first-child {
    max-height: 74px;
  }
  
  #logo img#logo-titulo {
    max-height: 74px;
    max-width: 120px;
  }

  #mobile-menu-toggle {
    width: 32px;
    height: 32px;
  }
  
  #mobile-menu-toggle span {
    height: 2px;
  }
  
  #mobile-menu-toggle span:nth-child(1) {
    top: 7px;
  }
  
  #mobile-menu-toggle span:nth-child(2) {
    top: 15px;
  }
  
  #mobile-menu-toggle span:nth-child(3) {
    top: 23px;
  }
}

/* Móviles pequeños (menos de 480px) */
@media screen and (max-width: 480px) {
  #header-wrapper {
    min-height: 85px;
  }
  
  #header {
    padding: 0.5rem 0;
    min-height: 85px;
  }
  
  #logo {
    gap: 8px;
    max-width: 220px;
  }
  
  #logo img:first-child {
    max-height: 74px;
  }
  
  #logo img#logo-titulo {
    max-height: 74px;
    max-width: 110px;
  }

  #mobile-menu-toggle {
    width: 30px;
    height: 30px;
  }
  
  #mobile-menu-toggle span {
    height: 2px;
    width: 90%;
  }
  
  #mobile-menu-toggle span:nth-child(1) {
    top: 6px;
  }
  
  #mobile-menu-toggle span:nth-child(2) {
    top: 14px;
  }
  
  #mobile-menu-toggle span:nth-child(3) {
    top: 22px;
  }
  
  /* Ajustar padding del contenedor en móvil */
  .container {
    padding: 0 0.75rem;
  }
}

/* Móviles muy pequeños (menos de 360px) */
@media screen and (max-width: 360px) {
  #header-wrapper {
    min-height: 85px;
  }
  
  #header {
    padding: 0.5rem 0;
    min-height: 85px;
  }
  
  #logo {
    gap: 6px;
    max-width: 200px;
  }
  
  #logo img:first-child {
    max-height: 74px;
  }
  
  #logo img#logo-titulo {
    max-height: 74px;
    max-width: 95px;
  }

  #mobile-menu-toggle {
    width: 28px;
    height: 28px;
  }
  
  .container {
    padding: 0 0.5rem;
  }
}

/* ========================================================================
   AJUSTES ADICIONALES PARA MANTENER SIMETRÍA
   ======================================================================== */

/* Asegurar que el menú hamburguesa siempre esté bien alineado */
#mobile-menu-toggle {
  flex-shrink: 0;
  margin-left: auto;
}

/* ========================================================================
   BOTÓN RESERVAR MÓVIL - Entre el título y el menú hamburguesa
   ======================================================================== */

.btn-reservar-mobile {
  display: none; /* Oculto en desktop */
  padding: 8px 16px;
  background: #5b0913; /* Rojo vino */
  color: white !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-left: auto;
  margin-right: 12px;
}

.btn-reservar-mobile:hover {
  background: #5a252c; /* Rojo vino más oscuro */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(114, 47, 55, 0.4);
  color: white !important;
}

/* Mostrar solo en móvil */
@media screen and (max-width: 1024px) {
  .btn-reservar-mobile {
    display: inline-block;
    order: 2; /* Después del logo, antes del hamburguesa */
  }
  
  #mobile-menu-toggle {
    order: 3; /* Último elemento */
    margin-left: 0;
  }
  
  #logo {
    order: 1; /* Primero */
  }
}

/* Mantener el header fijo sin deformaciones */
#header {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* Prevenir que las imágenes crezcan más de lo necesario */
#logo img {
  object-fit: contain;
  flex-shrink: 0;
}

/* Asegurar transiciones suaves */
#logo,
#logo img,
#mobile-menu-toggle {
  transition: all 0.3s ease;
}

/* ========================================================================
   BARRA LATERAL MÓVIL - Tab con flecha deslizable
   Solo visible en móvil, reemplaza el menú hamburguesa
   ======================================================================== */

#mobile-sidebar-tab {
  display: none; /* Oculto en desktop */
  position: fixed;
  left: 0;
  top: 140px; /* Separado del header */
  width: 28px;
  height: 70px;
  background: linear-gradient(135deg, #722F37, #5b0913);
  border-radius: 0 12px 12px 0;
  z-index: 130;
  cursor: pointer;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: pan-x;
}

#mobile-sidebar-tab:hover {
  width: 34px;
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.4);
}

#mobile-sidebar-tab.active {
  left: 240px; /* Se mueve cuando el menú está abierto */
}

.sidebar-arrow {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

#mobile-sidebar-tab.active .sidebar-arrow {
  transform: rotate(180deg); /* Flecha gira cuando está abierto */
}

/* Animación de pulso sutil para llamar la atención */
@keyframes sidebarPulse {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

#mobile-sidebar-tab:not(.active) {
  animation: sidebarPulse 2s ease-in-out infinite;
}

#mobile-sidebar-tab:hover:not(.active) {
  animation: none;
}

/* Mostrar barra lateral solo en móvil */
@media screen and (max-width: 1024px) {
  #mobile-sidebar-tab {
    display: flex;
  }
  
  /* Ocultar el botón hamburguesa viejo */
  #mobile-menu-toggle {
    display: none !important;
  }
  
  /* Ajustar el menú móvil para que venga desde la izquierda */
  #mobile-nav {
    left: -100%;
    right: auto;
    width: 240px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  #mobile-nav.active {
    left: 0;
    right: auto;
  }
}

/* Ajustes responsive para la barra lateral */
@media screen and (max-width: 768px) {
  #mobile-sidebar-tab {
    top: 130px;
    height: 65px;
    width: 26px;
  }
}

@media screen and (max-width: 480px) {
  #mobile-sidebar-tab {
    top: 120px;
    height: 60px;
    width: 24px;
  }
  
  .sidebar-arrow {
    font-size: 0.9rem;
  }
}

/* ========================================================================
   BOTÓN FLOTANTE RESERVAR - Siempre visible
   CTA fijo que garantiza acceso a reservación
   ======================================================================== */

.floating-cta {
  display: none; /* Solo visible en móvil */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1060;
  padding: 14px 24px;
  background: linear-gradient(135deg, #5b0913, #9c0f48);
  color: white !important;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(156, 15, 72, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  animation: floatingPulse 2.5s ease-in-out infinite;
}

.floating-cta:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(156, 15, 72, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);
  color: white !important;
}

.floating-cta i {
  margin-right: 6px;
}

@keyframes floatingPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(156, 15, 72, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 4px 30px rgba(156, 15, 72, 0.7), 0 2px 12px rgba(0, 0, 0, 0.4);
  }
}

@media screen and (max-width: 1024px) {
  .floating-cta {
    display: flex;
    align-items: center;
  }
}

@media screen and (max-width: 480px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* ========================================================================
   BARRA LATERAL MEJORADA - Con texto MENÚ visible
   ======================================================================== */

#mobile-sidebar-tab .sidebar-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}

#mobile-sidebar-tab {
  display: none;
  position: fixed;
  left: 0;
  top: 140px;
  width: 30px;
  height: auto;
  min-height: 80px;
  padding: 10px 4px;
  background: linear-gradient(135deg, #722F37, #5b0913);
  border-radius: 0 12px 12px 0;
  z-index: 130;
  cursor: pointer;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: pan-x;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* Reducir logo en banner para móvil */
@media screen and (max-width: 1024px) {
  #logo-title {
    max-width: 65%;
    max-height: 280px;
  }
  
  #banner {
    min-height: auto;
    padding-top: 100px;
  }
}

@media screen and (max-width: 480px) {
  #logo-title {
    max-width: 70%;
    max-height: 220px;
    transform: none;
  }
  
  #scroll-down-btn {
    transform: none;
    margin-top: 15px;
  }
  
  #banner h1 {
    transform: none;
  }
}

/* ========================================================================
   MAPA DE UBICACIÓN - Google Maps embed
   ======================================================================== */

.map-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  background: rgba(0, 0, 0, 0.4);
}

.map-container:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.2);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.map-caption-text {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
}

.map-caption-text i {
  color: var(--color-accent);
  font-size: 1.1rem;
}

.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #4285F4, #1a73e8);
  color: white !important;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.map-directions-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(66, 133, 244, 0.4);
  color: white !important;
}

@media screen and (max-width: 768px) {
  .map-container iframe { height: 280px; }
  .map-caption { flex-direction: column; text-align: center; gap: var(--spacing-sm); padding: var(--spacing-sm) var(--spacing-md); }
  .map-directions-link { width: 100%; justify-content: center; padding: 10px 18px; }
}

/* BOTÓN FLOTANTE UBICACIÓN */
.floating-location {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1059;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4285F4, #1a73e8);
  color: white !important;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(66, 133, 244, 0.45);
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-location:hover { transform: translateY(-3px) scale(1.1); color: white !important; }

@media screen and (max-width: 1024px) { .floating-location { display: flex; } }
@media screen and (max-width: 480px) { .floating-location { bottom: 72px; right: 16px; width: 44px; height: 44px; font-size: 1.1rem; } }


/* ========================================================================
   CARRUSEL HORIZONTAL DE SERVICIOS - Solo móvil (≤1024px)
   ======================================================================== */
@media screen and (max-width: 1024px) {
  #servicios.carousel-active > .container > .row { display: none !important; }
  .servicios-carousel { overflow: hidden; position: relative; margin: 0 calc(var(--spacing-md) * -1); padding: 1.5rem 0 1rem; -webkit-user-select: none; user-select: none; touch-action: pan-y; border-radius: 14px; background: linear-gradient(135deg, rgb(0,0,0) 0%, rgba(0,0,0,0.45) 100%); border-top: 1px solid rgba(255,107,53,0.15); border-bottom: 1px solid rgba(255,107,53,0.15); }
  .servicios-track { display: flex; gap: 16px; will-change: transform; transform: translate3d(0,0,0); backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 0 8px; }
  .servicios-slide { flex: 0 0 280px; width: 280px; min-height: 0; contain: layout style paint; }
  .servicios-slide .card { height: 100%; cursor: pointer; opacity: 1 !important; transform: none !important; transition: box-shadow 0.15s ease-out, border-color 0.15s ease-out; margin: 0; padding: var(--spacing-lg); min-height: 320px; display: flex; flex-direction: column; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(88,57,0,0.95)) !important; }
  .servicios-slide .card::before { position: absolute; }
  .servicios-slide .card:active { box-shadow: 0 0 18px rgba(255,107,53,0.4); border-color: var(--color-accent); }
  .servicios-slide .card:hover { transform: none !important; box-shadow: none; }
  .servicios-slide .card .icon { width: 60px; height: 60px; font-size: 1.5rem; margin-bottom: var(--spacing-md); }
  .servicios-slide .card h3 { font-size: var(--text-xl); margin-bottom: var(--spacing-xs); }
  .servicios-slide .card p { font-size: var(--text-sm); line-height: 1.5; margin-bottom: var(--spacing-sm); }
  .servicios-slide .card .price { font-size: var(--text-2xl); margin: auto 0 0; padding-top: var(--spacing-sm); }
  .servicios-slide .card .price span { font-size: var(--text-xs); }
  .servicios-carousel::before, .servicios-carousel::after { content: ''; position: absolute; top: 0; bottom: 0; width: 25px; z-index: 3; pointer-events: none; }
  .servicios-carousel::before { left: 0; background: linear-gradient(to right, rgba(0,0,0,0.5), transparent); }
  .servicios-carousel::after { right: 0; background: linear-gradient(to left, rgba(0,0,0,0.5), transparent); }
  .carousel-hint { text-align: center; margin-top: 0.75rem; color: var(--text-muted); font-size: 0.8rem; letter-spacing: 0.03em; opacity: 0.8; transition: opacity 0.5s ease; }
  .carousel-hint.hidden { opacity: 0; pointer-events: none; }
  .carousel-hint i { margin-right: 6px; display: inline-block; animation: swipeHint 2s ease-in-out infinite; }
  @keyframes swipeHint { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
  .servicios-slide .card .card-tap-badge { position: absolute; top: 12px; right: 12px; background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark)); color: white; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 50px; box-shadow: 0 2px 8px rgba(255,107,53,0.3); z-index: 2; }
  .servicios-slide .card .card-tap-badge.badge-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); box-shadow: 0 2px 8px rgba(37,211,102,0.35); }
  .servicios-slide .card .card-tap-badge.badge-whatsapp i { margin-right: 4px; font-size: 0.7rem; }
}
@media screen and (max-width: 400px) {
  .servicios-slide { flex: 0 0 260px; width: 260px; }
  .servicios-slide .card { min-height: 300px; }
}

/* ========================================================================
   CARRUSEL HORIZONTAL DE PAQUETES - Solo móvil (≤1024px)
   ======================================================================== */
@media screen and (max-width: 1024px) {
  #paquetes.carousel-active > .container > .row { display: none !important; }
  .paquetes-carousel { overflow: hidden; position: relative; margin: 0 calc(var(--spacing-md) * -1); padding: 1.5rem 0 1rem; -webkit-user-select: none; user-select: none; touch-action: pan-y; border-radius: 14px; background: linear-gradient(135deg, rgb(0,0,0) 0%, rgba(0,0,0,0.45) 100%); border-top: 1px solid rgba(156,15,72,0.2); border-bottom: 1px solid rgba(156,15,72,0.2); }
  .paquetes-track { display: flex; gap: 16px; will-change: transform; transform: translate3d(0,0,0); backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 0 8px; }
  .paquetes-slide { flex: 0 0 300px; width: 300px; min-height: 0; contain: layout style paint; }
  .paquetes-slide .card { height: 100%; cursor: pointer; opacity: 1 !important; transform: none !important; transition: box-shadow 0.15s ease-out, border-color 0.15s ease-out; margin: 0; padding: var(--spacing-lg); min-height: 380px; display: flex; flex-direction: column; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(88,57,0,0.95)) !important; }
  .paquetes-slide .card:hover { transform: none !important; box-shadow: none; }
  .paquetes-slide .card:active { box-shadow: 0 0 18px rgba(156,15,72,0.4); border-color: #9c0f48; }
  .paquetes-slide .card .text-center.mt-3 { display: none; }
  .paquetes-slide .card h3 { font-size: var(--text-xl); margin-bottom: var(--spacing-xs); }
  .paquetes-slide .card .price { font-size: var(--text-2xl); }
  .paquetes-slide .card .price span { font-size: var(--text-xs); }
  .paquetes-slide .card ul { font-size: var(--text-sm); line-height: 1.6; }
  .paquetes-slide .card p { font-size: var(--text-sm); }
  .paquetes-slide .card .card-tap-badge { position: absolute; top: 12px; right: 12px; background: linear-gradient(135deg, #9c0f48, #5b0913); color: white; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 50px; box-shadow: 0 2px 8px rgba(156,15,72,0.3); z-index: 2; }
  .paquetes-slide .card .card-tap-badge.badge-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); box-shadow: 0 2px 8px rgba(37,211,102,0.35); }
  .paquetes-slide .card .card-tap-badge.badge-whatsapp i { margin-right: 4px; font-size: 0.7rem; }
  .paquetes-carousel::before, .paquetes-carousel::after { content: ''; position: absolute; top: 0; bottom: 0; width: 25px; z-index: 3; pointer-events: none; }
  .paquetes-carousel::before { left: 0; background: linear-gradient(to right, rgba(0,0,0,0.5), transparent); }
  .paquetes-carousel::after { right: 0; background: linear-gradient(to left, rgba(0,0,0,0.5), transparent); }
}
@media screen and (max-width: 400px) {
  .paquetes-slide { flex: 0 0 280px; width: 280px; }
  .paquetes-slide .card { min-height: 340px; }
}

/* ========================================================================
   CARRUSEL HORIZONTAL DE GALERÍA - Solo móvil (≤1024px)
   ======================================================================== */
@media screen and (max-width: 1024px) {
  #galeria.carousel-active .gallery { display: none !important; }
  #galeria.carousel-active .section-header p:last-child { display: none !important; }
  .galeria-carousel { overflow: hidden; position: relative; margin: 0 calc(var(--spacing-md) * -1); padding: 1rem 0; -webkit-user-select: none; user-select: none; touch-action: pan-y; border-radius: 14px; background: linear-gradient(135deg, rgb(0,0,0) 0%, rgba(0,0,0,0.45) 100%); border-top: 1px solid rgba(255,215,0,0.15); border-bottom: 1px solid rgba(255,215,0,0.15); }
  .galeria-track { display: flex; gap: 16px; will-change: transform; transform: translate3d(0,0,0); backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 0 8px; }
  .galeria-slide { flex: 0 0 300px; width: 300px; min-height: 0; contain: layout style paint; }
  .galeria-slide-inner { position: relative; width: 100%; height: 220px; border-radius: 12px; overflow: hidden; cursor: pointer; border: 2px solid rgba(255,255,255,0.1); transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out; }
  .galeria-slide-inner:active { border-color: #ffd700; box-shadow: 0 0 18px rgba(255,215,0,0.4); }
  .galeria-slide-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .galeria-slide-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 2.5rem 1rem 1rem; background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 55%, transparent 100%); color: white; pointer-events: none; }
  .galeria-slide-caption h4 { font-size: 1.1rem; font-weight: 700; margin: 0 0 4px; color: #ffd700; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
  .galeria-slide-caption p { font-size: 0.85rem; margin: 0; color: rgba(255,255,255,0.9); text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
  .galeria-slide .card-tap-badge { position: absolute; top: 10px; right: 10px; background: linear-gradient(135deg, #ffd700, #e6ac00); color: #1a1a1a; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 50px; box-shadow: 0 2px 8px rgba(0,0,0,0.4); z-index: 2; }
  .galeria-carousel::before, .galeria-carousel::after { content: ''; position: absolute; top: 0; bottom: 0; width: 25px; z-index: 3; pointer-events: none; }
  .galeria-carousel::before { left: 0; background: linear-gradient(to right, rgba(0,0,0,0.5), transparent); }
  .galeria-carousel::after { right: 0; background: linear-gradient(to left, rgba(0,0,0,0.5), transparent); }
}
@media screen and (max-width: 400px) {
  .galeria-slide { flex: 0 0 270px; width: 270px; }
  .galeria-slide-inner { height: 200px; }
}
