/* ========================================================================
   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: 'Poppins', 'Arial', sans-serif;
  --font-decorative: 'Playfair Display', 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;
}

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;
  position: relative;
}

/* VIDEO DE FONDO */
#video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none; /* Permite clics a través del video */
}

#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;
  /* Optimizaciones para móviles */
  will-change: transform;
  -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: all var(--transition-base);
  opacity: 0;
  transform: translateY(-100%);
}

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

#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;
  align-items: center;
  gap: var(--spacing-sm);
}

#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: 80vh;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(30px);
  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-wrapper::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 30px;
  background: none(
    90deg,
    var(--color-accent) 0px,
    var(--color-accent) 10px,
    var(--color-yellow) 10px,
    var(--color-yellow) 20px,
    var(--color-pink) 20px,
    var(--color-pink) 30px,
    var(--color-blue) 30px,
    var(--color-blue) 40px
  );
  clip-path: polygon(
    0 0, 5% 100%, 10% 0, 15% 100%, 20% 0, 25% 100%, 
    30% 0, 35% 100%, 40% 0, 45% 100%, 50% 0, 55% 100%,
    60% 0, 65% 100%, 70% 0, 75% 100%, 80% 0, 85% 100%,
    90% 0, 95% 100%, 100% 0
  );
}

#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: 60vh;
    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: 50vh;
  }
  
  #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: 250px;
  flex-shrink: 1;
}

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

#logo img#logo-titulo {
  max-width: 150px;
  height: auto;
  max-height: 100px;
}

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

/* Tablets (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #header-wrapper {
    min-height: 55px;
  }
  
  #header {
    padding: 0.75rem 0;
    min-height: 55px;
  }
  
  #logo {
    gap: 10px;
    max-width: 220px;
  }
  
  #logo img:first-child {
    max-height: 38px;
  }
  
  #logo img#logo-titulo {
    max-height: 32px;
    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: 52px;
  }
  
  #header {
    padding: 0.5rem 0;
    min-height: 52px;
  }
  
  #logo {
    gap: 8px;
    max-width: 180px;
  }
  
  #logo img:first-child {
    max-height: 32px;
  }
  
  #logo img#logo-titulo {
    max-height: 28px;
    max-width: 110px;
  }

  #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: 48px;
  }
  
  #header {
    padding: 0.4rem 0;
    min-height: 48px;
  }
  
  #logo {
    gap: 5px;
    max-width: 150px;
  }
  
  #logo img:first-child {
    max-height: 70px;
  }
  
  #logo img#logo-titulo {
    max-height: 74px;
    max-width: 90px;
  }

  #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: 45px;
  }
  
  #header {
    padding: 0.3rem 0;
    min-height: 45px;
  }
  
  #logo {
    gap: 4px;
    max-width: 130px;
  }
  
  #logo img:first-child {
    max-height: 65px;
  }
  
  #logo img#logo-titulo {
    max-height: 100px;
    max-width: 80px;
  }

  #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;
}

/* 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;
}