/* ==========================================================
   SURENTRADAS - SISTEMA DE DISEÑO DINÁMICO
   Modo Claro / Modo Oscuro (Switch en Header)
   Dominio: www.surentradas.com.ar | Patagonia Argentina
   ========================================================== */

:root,
[data-theme="light"] {
  /* Paleta Corporativa Oficial SURENTRADAS (Modo Claro) */
  --brand-blue: #004b93;
  --brand-blue-dark: #00366b;
  --brand-cyan: #00a896;
  --brand-cyan-light: #00c49f;
  --brand-teal-azure: #0077b6;
  
  /* Gradientes Oficiales */
  --brand-gradient: linear-gradient(135deg, #004b93 0%, #0077b6 50%, #00a896 100%);
  --brand-gradient-hover: linear-gradient(135deg, #003875 0%, #006094 50%, #008e7f 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(0, 75, 147, 0.06) 0%, rgba(0, 168, 150, 0.08) 100%);
  
  /* Acentos Secundarios */
  --accent-orange: #ff6b35;
  --accent-orange-gradient: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  --accent-green: #10b981;

  /* Fondos - Tema Claro */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-section-alt: #f0f6fa;
  --bg-header: rgba(255, 255, 255, 0.94);
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-input: #f8fafc;

  /* Textos */
  --text-title: #0a2540;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --text-inverse: #ffffff;

  /* Bordes & Sombras */
  --border-light: #e2e8f0;
  --border-subtle: rgba(0, 75, 147, 0.12);
  --border-focus: #0077b6;
  --shadow-sm: 0 2px 8px rgba(0, 40, 80, 0.05);
  --shadow-md: 0 6px 20px rgba(0, 40, 80, 0.08);
  --shadow-lg: 0 14px 35px rgba(0, 40, 80, 0.12);
  --shadow-glow: 0 0 25px rgba(0, 168, 150, 0.25);
  --hero-gradient: linear-gradient(180deg, #edf5fa 0%, #f8fafc 100%);
  --radial-glow: radial-gradient(ellipse at center, rgba(0, 168, 150, 0.1) 0%, rgba(0, 75, 147, 0.03) 50%, transparent 70%);

  /* Tipografías */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radios & Transición */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  /* Paleta Corporativa Oficial SURENTRADAS (Modo Oscuro / Deep Night) */
  --brand-blue: #00a8ff;
  --brand-blue-dark: #0077b6;
  --brand-cyan: #00f2fe;
  --brand-cyan-light: #4facfe;
  --brand-teal-azure: #00b4d8;
  
  /* Gradientes Modo Oscuro */
  --brand-gradient: linear-gradient(135deg, #0077b6 0%, #00b4d8 50%, #00f2fe 100%);
  --brand-gradient-hover: linear-gradient(135deg, #005f94 0%, #0096c7 50%, #00d9e5 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(0, 119, 182, 0.1) 100%);
  
  /* Acentos */
  --accent-orange: #ff7e40;
  --accent-orange-gradient: linear-gradient(135deg, #ff7e40 0%, #ffaa40 100%);
  --accent-green: #10b981;

  /* Fondos - Modo Oscuro */
  --bg-body: #070d18;
  --bg-surface: #0e192d;
  --bg-surface-subtle: #13223d;
  --bg-section-alt: #0a1322;
  --bg-header: rgba(7, 13, 24, 0.94);
  --bg-card: #0e192d;
  --bg-card-hover: #13223d;
  --bg-input: #13223d;

  /* Textos */
  --text-title: #ffffff;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #070d18;

  /* Bordes & Sombras */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(0, 242, 254, 0.18);
  --border-focus: #00f2fe;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(0, 242, 254, 0.3);
  --hero-gradient: linear-gradient(180deg, #0a1322 0%, #070d18 100%);
  --radial-glow: radial-gradient(ellipse at center, rgba(0, 242, 254, 0.12) 0%, rgba(0, 75, 147, 0.08) 50%, transparent 70%);
}

/* Reset General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Scrollbar Personalizado */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-surface-subtle);
}
::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-blue);
}

/* Contenedores y Utilidades */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--brand-blue);
}

.w-100 {
  width: 100%;
}

.bg-darker {
  background-color: var(--bg-section-alt);
}

/* ==========================================================
   HEADER PRINCIPAL
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo Oficial Animado (Super Vivaz & Dinámico) */
@keyframes logoPulseGlow {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    filter: drop-shadow(0 2px 8px rgba(0, 75, 147, 0.25));
  }
  35% {
    transform: translateY(-4px) scale(1.06) rotate(2deg);
    filter: drop-shadow(0 0 16px rgba(0, 168, 150, 0.65)) drop-shadow(0 4px 10px rgba(0, 75, 147, 0.35));
  }
  70% {
    transform: translateY(1px) scale(0.98) rotate(-1.5deg);
    filter: drop-shadow(0 2px 8px rgba(0, 119, 182, 0.4));
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    filter: drop-shadow(0 2px 8px rgba(0, 75, 147, 0.25));
  }
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-title);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.brand-link:hover {
  transform: translateY(-2px) scale(1.02);
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  animation: logoPulseGlow 4s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
  transform-origin: center;
}

.brand-link:hover .brand-logo-img {
  animation-play-state: paused;
  transform: scale(1.22) rotate(-8deg);
  filter: drop-shadow(0 0 24px rgba(0, 168, 150, 0.9)) drop-shadow(0 8px 18px rgba(0, 75, 147, 0.5));
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: brandGradientShift 5s ease infinite;
  line-height: 1.1;
  transition: all 0.3s ease;
}

@keyframes brandGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.brand-link:hover .brand-title {
  filter: brightness(1.2);
  letter-spacing: 0.05em;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  margin-top: 1px;
  transition: all 0.3s ease;
}

.brand-link:hover .brand-subtitle {
  color: var(--brand-cyan-light);
  transform: translateX(2px);
}

/* Menú de Navegación */
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-body);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  line-height: 1;
  vertical-align: middle;
}

.nav-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
  vertical-align: middle;
}

/* Renglón Animado Bajo Cada Link del Header */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--brand-gradient);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
  box-shadow: 0 0 10px rgba(0, 168, 150, 0.4);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-blue);
  background: var(--bg-surface-subtle);
}

.nav-link:hover i,
.nav-link.active i {
  color: var(--brand-cyan);
  transform: translateY(-1px);
}

/* Acciones del Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================
   SWITCH TEMA CLARO / OSCURO (THEME TOGGLE)
   ========================================================== */
.theme-toggle-btn {
  position: relative;
  width: 62px;
  height: 32px;
  background: var(--bg-surface-subtle);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  outline: none;
}

.theme-toggle-btn:hover {
  border-color: var(--brand-cyan);
  transform: scale(1.05);
}

.theme-toggle-btn .icon-sun {
  font-size: 0.85rem;
  color: #f59e0b;
  z-index: 1;
  transition: var(--transition);
}

.theme-toggle-btn .icon-moon {
  font-size: 0.85rem;
  color: #00f2fe;
  z-index: 1;
  transition: var(--transition);
}

.theme-toggle-ball {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 22px;
  height: 22px;
  background: var(--brand-gradient);
  border-radius: var(--radius-full);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .theme-toggle-ball {
  transform: translateX(30px);
}

/* Botones Generales con Efecto Brillo (Sheen Ray) & Micro-animación */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.68rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.95);
}

.btn-primary,
.btn-search,
.btn-buy-card,
.btn-cta-publicite {
  position: relative;
  overflow: hidden;
}

.btn-primary::before,
.btn-search::before,
.btn-buy-card::before,
.btn-cta-publicite::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  transition: none;
}

.btn-primary:hover::before,
.btn-search:hover::before,
.btn-buy-card:hover::before,
.btn-cta-publicite:hover::before {
  left: 180%;
  transition: left 0.85s ease-in-out;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 75, 147, 0.28);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  box-shadow: 0 8px 25px rgba(0, 75, 147, 0.45);
  transform: translateY(-3px) scale(1.02);
  color: #ffffff;
}

/* Forzar visualización de botones dentro de modales y formularios en TODOS los dispositivos */
.modal-content .btn,
.modal-content .btn-primary,
.modal-content .btn-secondary,
.modal-content .btn-outline,
.modal-content button[type="submit"],
.auth-form .btn-primary,
.ticket-selection-body .btn-primary,
.btn-add-cart-confirm,
#btnSubmitLogin,
#btnSubmitRegister,
#btnConfirmPayment,
#btnAddToCartConfirm {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-sizing: border-box !important;
}

/* ==========================================================
   ANIMACIÓN DE CAMBIO DE COLOR DINÁMICO CADA 15 SEGUNDOS
   (Botón Cargar Evento en Header y Menú Móvil)
   ========================================================== */
@keyframes colorCycle15s {
  0% {
    background: linear-gradient(135deg, #004b93 0%, #00a896 100%);
    box-shadow: 0 4px 16px rgba(0, 75, 147, 0.4);
    border-color: rgba(0, 168, 150, 0.5);
  }
  20% {
    background: linear-gradient(135deg, #00a896 0%, #10b981 100%);
    box-shadow: 0 4px 16px rgba(0, 168, 150, 0.45);
    border-color: rgba(16, 185, 129, 0.5);
  }
  40% {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.45);
    border-color: rgba(124, 58, 237, 0.5);
  }
  60% {
    background: linear-gradient(135deg, #ff6b35 0%, #f59e0b 100%);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.45);
    border-color: rgba(245, 158, 11, 0.5);
  }
  80% {
    background: linear-gradient(135deg, #0284c7 0%, #3b82f6 100%);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.45);
    border-color: rgba(2, 132, 199, 0.5);
  }
  100% {
    background: linear-gradient(135deg, #004b93 0%, #00a896 100%);
    box-shadow: 0 4px 16px rgba(0, 75, 147, 0.4);
    border-color: rgba(0, 168, 150, 0.5);
  }
}

#btnOpenCreateEvent,
#btnMobileCreateEvent,
.btn-cycle-15s {
  animation: colorCycle15s 15s ease-in-out infinite !important;
  color: #ffffff !important;
  font-weight: 800;
  border: 1.5px solid transparent;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, filter 0.3s ease;
}

#btnOpenCreateEvent:hover,
#btnMobileCreateEvent:hover,
.btn-cycle-15s:hover {
  transform: translateY(-3px) scale(1.06);
  filter: brightness(1.12);
  box-shadow: 0 8px 25px rgba(0, 168, 150, 0.6);
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--brand-blue);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0, 75, 147, 0.18);
}

/* ==========================================================
   CARRITO DE COMPRAS TRIGGER CON EFECTO IDÉNTICO AL LOGO
   (Animación de flotación continua, gradiente vivo y glow en hover)
   ========================================================== */
@keyframes cartPulseGlow {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    box-shadow: 0 2px 10px rgba(0, 75, 147, 0.25);
    filter: drop-shadow(0 2px 6px rgba(0, 75, 147, 0.2));
  }
  35% {
    transform: translateY(-4px) scale(1.06) rotate(2deg);
    box-shadow: 0 0 18px rgba(0, 168, 150, 0.65), 0 4px 12px rgba(0, 75, 147, 0.35);
    filter: drop-shadow(0 0 14px rgba(0, 168, 150, 0.65)) drop-shadow(0 4px 8px rgba(0, 75, 147, 0.3));
  }
  70% {
    transform: translateY(1px) scale(0.98) rotate(-1.5deg);
    box-shadow: 0 2px 10px rgba(0, 119, 182, 0.4);
    filter: drop-shadow(0 2px 6px rgba(0, 119, 182, 0.35));
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    box-shadow: 0 2px 10px rgba(0, 75, 147, 0.25);
    filter: drop-shadow(0 2px 6px rgba(0, 75, 147, 0.2));
  }
}

.cart-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-surface);
  border: 1.8px solid var(--border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  animation: cartPulseGlow 4s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  padding: 0;
  transform-origin: center;
}

.cart-trigger-btn .cart-icon-wrapper i {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: brandGradientShift 5s ease infinite;
  font-size: 1.35rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
  display: inline-block;
}

.cart-trigger-btn:hover {
  animation-play-state: paused;
  transform: scale(1.22) rotate(-8deg);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 24px rgba(0, 168, 150, 0.9), 0 8px 18px rgba(0, 75, 147, 0.5);
  filter: drop-shadow(0 0 20px rgba(0, 168, 150, 0.85)) drop-shadow(0 6px 14px rgba(0, 75, 147, 0.45));
}

.cart-trigger-btn:hover .cart-icon-wrapper i {
  transform: scale(1.12) rotate(4deg);
  filter: drop-shadow(0 0 10px rgba(0, 168, 150, 0.85));
}

.cart-trigger-btn:hover .cart-badge {
  transform: scale(1.3) rotate(-12deg);
  box-shadow: 0 0 14px rgba(255, 107, 53, 0.85);
}

.cart-trigger-btn:active {
  transform: scale(0.92);
}

.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent-orange-gradient);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.5);
  border: 1.5px solid var(--bg-surface);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 9px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--brand-blue);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav-drawer {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.mobile-nav-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

/* ==========================================================
   HERO & BARRA DE BÚSQUEDA
   ========================================================== */
.hero-section {
  position: relative;
  padding: 4rem 0 3.5rem 0;
  overflow: hidden;
  background: var(--hero-gradient);
  border-bottom: 1px solid var(--border-light);
}

.hero-bg-overlay {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 380px;
  background: var(--radial-glow);
  pointer-events: none;
  filter: blur(50px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1.5px solid rgba(0, 168, 150, 0.35);
  color: var(--brand-blue);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero-tag i {
  color: var(--brand-cyan);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 1rem;
  color: var(--text-title);
  letter-spacing: -0.02em;
}

.hero-desc {
  max-width: 740px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Tarjeta de Búsqueda Flotante */
.search-bar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-subtle);
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}

.search-form {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.3fr auto;
  gap: 1rem;
  align-items: flex-end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.search-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-title);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.search-label i {
  color: var(--brand-cyan);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input,
.search-select,
.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1.5px solid var(--border-light);
  color: var(--text-title);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  outline: none;
}

.search-input:focus,
.search-select:focus,
.form-control:focus {
  border-color: var(--brand-blue);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3.5px var(--border-subtle);
}

.clear-input-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.clear-input-btn:hover {
  color: var(--text-title);
}

.btn-search {
  background: var(--brand-gradient);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  height: 48px;
  box-shadow: 0 4px 14px rgba(0, 75, 147, 0.25);
}

.btn-search:hover {
  background: var(--brand-gradient-hover);
  box-shadow: 0 6px 20px rgba(0, 75, 147, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Filtros Rápidos por Categoría */
.quick-category-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.quick-filter-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-right: 0.5rem;
}

.category-pill {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.category-pill:hover,
.category-pill.active {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 75, 147, 0.2);
}

/* ==========================================================
   SECCIONES COMUNES
   ========================================================== */
.section-container {
  padding: 4.5rem 0;
  position: relative;
}

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 900;
  color: var(--text-title);
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 650px;
  margin-top: 0.35rem;
}

.events-results-count {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

.events-results-count strong {
  color: var(--brand-blue);
}

/* ==========================================================
   GRID DE EVENTOS & CARDS
   ========================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 1.75rem;
}

.event-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.event-card-media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background-color: var(--bg-surface-subtle);
}

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

.event-card:hover .event-card-img {
  transform: scale(1.06);
}

.event-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-badge-tag.highlight {
  background: var(--accent-orange-gradient);
  border: none;
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.45);
}

.event-media-pills-row {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.event-time-pill,
.event-date-pill {
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 0.35rem 0.68rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.event-time-pill {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.45);
}

.event-date-pill {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.45);
  letter-spacing: 0.03em;
}

.event-card-content {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-location-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--brand-cyan);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.event-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: var(--text-title);
}

.event-venue {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.event-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.event-price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 800;
}

.price-value {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--text-title);
  line-height: 1.2;
}

/* ==========================================================
   SECCIÓN PUBLICIDAD - SHOWCASE DE COMERCIOS Y BENEFICIOS
   ========================================================== */
.advertising-showcase-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 400px) !important;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.ad-partner-card {
  width: 400px;
  max-width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.ad-partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 75, 147, 0.12);
  border-color: rgba(0, 168, 150, 0.4);
}

[data-theme="dark"] .ad-partner-card:hover {
  box-shadow: 0 12px 28px rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.4);
}

.ad-partner-media {
  position: relative;
  width: 100%;
  height: 280px;
  background: #080f1d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.ad-partner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #080f1d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.ad-partner-card:hover .ad-partner-img {
  transform: scale(1.04);
}

.ad-discount-floating-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.4px;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(255, 107, 53, 0.4);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
  animation: pulseDiscount 2.5s infinite;
}

@keyframes pulseDiscount {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.ad-partner-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 0.75rem;
}

.ad-partner-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ad-partner-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-title);
  margin: 0;
  letter-spacing: -0.2px;
}

.ad-partner-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-teal-azure);
  background: rgba(0, 119, 182, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

[data-theme="dark"] .ad-partner-tag {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

.ad-partner-desc {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
  min-height: 2.8rem;
}

.ad-partner-action-box {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-light);
}

.ad-discount-highlight {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(0, 168, 150, 0.08) 100%);
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-title);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.ad-discount-highlight i {
  color: var(--accent-orange);
  font-size: 0.9rem;
}

.btn-whatsapp-ad {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.2px;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  border: none;
  cursor: pointer;
  width: 100%;
}

.btn-whatsapp-ad:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  filter: brightness(1.05);
  color: #ffffff !important;
}

.btn-whatsapp-ad i {
  font-size: 1.1rem;
}

@media (max-width: 860px) {
  .advertising-showcase-grid {
    grid-template-columns: 1fr !important;
    max-width: 400px;
    gap: 20px;
  }
  .ad-partner-card {
    width: 100%;
    max-width: 400px;
  }
  .ad-partner-media {
    height: 240px;
  }
}

/* ==========================================================
   SECCIÓN PUBLICITE AQUÍ (LIMPIA & DIRECTA)
   ========================================================== */
.advertising-promo-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border-left: 6px solid var(--brand-blue);
}

.advertising-promo-content {
  flex: 1;
  max-width: 700px;
}

.advertising-promo-content .section-title {
  margin-bottom: 0.5rem;
}

.advertising-promo-content .section-desc {
  font-size: 1.05rem;
  line-height: 1.6;
}

.advertising-promo-cta {
  flex-shrink: 0;
}

@media (max-width: 868px) {
  .advertising-promo-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
  }
  .advertising-promo-cta {
    width: 100%;
    margin-top: 1rem;
  }
  .advertising-promo-cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================
   CUENTA REGRESIVA / COUNTDOWN CIERRE DE VENTAS
   ========================================================== */
.event-card-countdown {
  background: linear-gradient(135deg, rgba(0, 75, 147, 0.06) 0%, rgba(255, 107, 53, 0.08) 100%);
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  margin: 0.85rem 0 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: var(--transition);
}

.event-card:hover .event-card-countdown {
  border-color: rgba(255, 107, 53, 0.45);
  background: linear-gradient(135deg, rgba(0, 75, 147, 0.1) 0%, rgba(255, 107, 53, 0.14) 100%);
}

.countdown-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-orange);
}

.countdown-label-row i {
  animation: pulseIcon 1.5s infinite;
}

@keyframes pulseIcon {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; color: #ef4444; }
  100% { transform: scale(1); opacity: 0.8; }
}

.countdown-units-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}

.countdown-unit-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 0.25rem 0.35rem;
  flex: 1;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.countdown-unit-box .unit-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--text-title);
  line-height: 1.1;
}

.countdown-unit-box .unit-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
}

.countdown-separator {
  font-weight: 900;
  color: var(--accent-orange);
  font-size: 0.9rem;
  user-select: none;
}

.countdown-closed-badge {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Countdown en Modal de Compra */
.buy-modal-countdown-card {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(239, 68, 68, 0.08) 100%);
  border: 1.5px solid rgba(255, 107, 53, 0.35);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.buy-modal-countdown-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #c2410c;
  text-transform: uppercase;
}

.buy-modal-countdown-timer {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.buy-modal-countdown-timer .modal-cd-box {
  background: #ffffff;
  border: 1px solid rgba(255, 107, 53, 0.3);
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  text-align: center;
  min-width: 42px;
  box-shadow: 0 2px 6px rgba(255, 107, 53, 0.15);
}

.modal-cd-box .m-val {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.05rem;
  color: #9a3412;
  line-height: 1;
}

.modal-cd-box .m-lbl {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  color: #78350f;
  text-transform: uppercase;
}

.btn-buy-card {
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 10px rgba(0, 75, 147, 0.2);
}

.btn-buy-card:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 75, 147, 0.35);
  color: #ffffff;
}

/* ==========================================================
   BOTONES Y MODAL DE COMPARTIR EVENTO
   ========================================================== */
.event-card-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-card-share {
  background: var(--bg-surface-subtle);
  border: 1.5px solid var(--border-light);
  color: var(--text-title);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-card-share:hover {
  background: rgba(0, 75, 147, 0.12);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
}

.event-card-floating-share {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(7, 13, 24, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
  z-index: 4;
}

.event-card-floating-share:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 75, 147, 0.5);
  color: #ffffff;
}

.share-modal-body {
  margin-top: 1.25rem;
}

.share-event-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.share-event-preview-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.share-event-preview-info h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-title);
  margin: 0 0 0.25rem 0;
}

.share-event-preview-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.share-input-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.share-url-input {
  font-family: monospace;
  font-size: 0.85rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  flex: 1;
  color: var(--text-title);
}

.btn-copy-share {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  padding: 0.65rem 1.25rem !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  border-radius: var(--radius-md) !important;
  white-space: nowrap;
  width: auto !important;
  cursor: pointer;
}

.share-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.share-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff !important;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff !important;
}

.share-social-btn.whatsapp {
  background: #25d366;
}
.share-social-btn.facebook {
  background: #1877f2;
}
.share-social-btn.twitter {
  background: #0f1419;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.share-social-btn.telegram {
  background: #229ed9;
}

/* Botón compartir en header de modal de compra */
.btn-share-in-buy-modal {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-title);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.btn-share-in-buy-modal:hover {
  background: rgba(0, 75, 147, 0.12);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

/* No Results Card */
.no-results-card {
  background: var(--bg-surface);
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: var(--shadow-sm);
}

.no-results-icon {
  font-size: 3rem;
  color: var(--brand-blue);
  opacity: 0.4;
  margin-bottom: 1rem;
}

.no-results-card h3 {
  font-family: var(--font-heading);
  color: var(--text-title);
  margin-bottom: 0.5rem;
}

.no-results-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ==========================================================
   SECCIÓN 2: QUIENES SOMOS
   ========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.about-highlight {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 1rem 0;
  line-height: 1.5;
}

.about-text {
  color: var(--text-body);
  margin-bottom: 2rem;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.2rem;
}

.feature-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-visual-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stats-card-floating {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--brand-blue);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.about-interactive-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.banner-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-cyan);
  margin-bottom: 1rem;
}

.patagonia-cities-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.patagonia-cities-badges span {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-title);
}

.trust-footer-stamp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

/* ==========================================================
   SECCIÓN 3: PUBLICITA AQUI & SPONSORS DE COMODORO RIVADAVIA
   ========================================================== */
.btn-cta-publicite {
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  box-shadow: 0 4px 18px rgba(0, 75, 147, 0.3);
  animation: pulseCta 2.5s infinite;
}

@keyframes pulseCta {
  0% { box-shadow: 0 0 0 0 rgba(0, 75, 147, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(0, 75, 147, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 75, 147, 0); }
}

/* Banner de Marcas y Comercios de Comodoro Rivadavia */
.comodoro-sponsors-banner {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.comodoro-sponsors-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-gradient);
}

.comodoro-banner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
}

.comodoro-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comodoro-header-title h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  margin-top: 0.2rem;
}

.sponsors-counter-badge {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--brand-blue);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* Grid de Tarjetas de Sponsors */
.comodoro-sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.35rem;
  margin-bottom: 2rem;
}

.sponsor-brand-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.sponsor-brand-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
}

.sponsor-brand-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.brand-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.brand-avatar.hotel { background: linear-gradient(135deg, #004b93, #0077b6); }
.brand-avatar.beer { background: linear-gradient(135deg, #f59e0b, #d97706); }
.brand-avatar.market { background: linear-gradient(135deg, #10b981, #059669); }
.brand-avatar.nightlife { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.brand-avatar.chocolate { background: linear-gradient(135deg, #78350f, #b45309); }
.brand-avatar.media { background: linear-gradient(135deg, #ef4444, #f97316); }

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

.brand-category {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-cyan);
  letter-spacing: 0.04em;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.25;
  margin: 0.15rem 0;
}

.brand-city {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.brand-promo-text {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.brand-perk-badge {
  background: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  color: var(--text-title);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-perk-badge i {
  color: var(--accent-orange);
  font-size: 0.9rem;
}

.brand-perk-badge strong {
  color: var(--brand-blue);
}

/* Call to action del Banner de Comodoro */
.comodoro-banner-cta {
  background: var(--brand-gradient-subtle);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.cta-text-side {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 700px;
}

.cta-text-side i {
  font-size: 2.2rem;
  color: var(--brand-blue);
}

.cta-text-side strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-title);
}

.cta-text-side p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0.15rem 0 0 0;
}

/* ==========================================================
   SECCIÓN 4: COMUNIDAD Y REDES SOCIALES OFICIALES
   ========================================================== */
.social-networks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.social-card-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text-body);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.social-card-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: var(--transition);
}

.social-card-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-subtle);
}

.social-card-box.instagram:hover { border-color: rgba(225, 48, 108, 0.4); }
.social-card-box.instagram::before { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }

.social-card-box.whatsapp:hover { border-color: rgba(37, 211, 102, 0.4); }
.social-card-box.whatsapp::before { background: #25d366; }

.social-card-box.facebook:hover { border-color: rgba(24, 119, 242, 0.4); }
.social-card-box.facebook::before { background: #1877f2; }

.social-card-box.tiktok:hover { border-color: rgba(0, 168, 150, 0.4); }
.social-card-box.tiktok::before { background: linear-gradient(135deg, #004b93, #fe2c55); }

.social-card-box.youtube:hover { border-color: rgba(255, 0, 0, 0.4); }
.social-card-box.youtube::before { background: #ff0000; }

.social-card-box.spotify:hover { border-color: rgba(30, 215, 96, 0.4); }
.social-card-box.spotify::before { background: #1ed760; }

.social-card-box.email:hover { border-color: rgba(0, 75, 147, 0.4); }
.social-card-box.email::before { background: linear-gradient(135deg, #004b93, #0077b6); }

.social-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-title);
  box-shadow: var(--shadow-sm);
}

.social-card-box.instagram .social-card-icon { color: #e1306c; }
.social-card-box.whatsapp .social-card-icon { color: #25d366; }
.social-card-box.facebook .social-card-icon { color: #1877f2; }
.social-card-box.tiktok .social-card-icon { color: var(--brand-cyan); }
.social-card-box.youtube .social-card-icon { color: #ff0000; }
.social-card-box.spotify .social-card-icon { color: #1ed760; }
.social-card-box.email .social-card-icon { color: var(--brand-blue); }

.social-platform {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.social-handle {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0.2rem 0 0.5rem 0;
  color: var(--text-title);
}

.social-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.social-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-top: auto;
  transition: var(--transition);
}

.social-card-box:hover .social-action-btn {
  transform: translateX(4px);
  color: var(--brand-cyan);
}

/* ==========================================================
   FOOTER & NEWSLETTER
   ========================================================== */
.site-footer {
  background: #061930;
  color: #f8fafc;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4rem;
}

.footer-newsletter-section {
  padding: 3.5rem 0 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.newsletter-card {
  background: linear-gradient(135deg, rgba(14, 25, 45, 0.95) 0%, rgba(7, 13, 24, 0.95) 100%);
  border: 1.5px solid rgba(0, 168, 150, 0.28);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 2.5rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 168, 150, 0.12);
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-gradient);
}

.newsletter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  margin-bottom: 0.4rem;
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.newsletter-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.35rem 0.35rem 1.1rem;
  transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
  border-color: var(--brand-cyan);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.25);
}

.newsletter-mail-icon {
  color: var(--brand-cyan);
  font-size: 1.1rem;
  margin-right: 0.6rem;
}

.newsletter-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.5rem 0;
}

.newsletter-input::placeholder {
  color: #94a3b8;
}

.btn-newsletter {
  padding: 0.65rem 1.4rem;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.newsletter-privacy-text {
  font-size: 0.75rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 0.5rem;
}

.footer-top {
  padding: 3.5rem 0 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
}

.brand-col .brand-title {
  color: #ffffff;
  font-size: 1.25rem;
}

.brand-col .brand-subtitle {
  color: #00c49f;
}

.footer-about-text {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 1rem 0 1.5rem 0;
  line-height: 1.5;
}

.footer-social-links {
  display: flex;
  gap: 0.6rem;
}

.footer-social-links a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social-links a:hover {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: #00c49f;
  transform: translateX(3px);
}

.footer-subtext {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.payment-methods-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.payment-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.payment-badge:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.payment-badge .pay-logo-svg {
  display: block;
}

.payment-badge.visa-badge {
  background: rgba(26, 31, 113, 0.4);
  border-color: rgba(26, 31, 113, 0.7);
}

.payment-badge.mastercard-badge {
  background: rgba(235, 0, 27, 0.15);
  border-color: rgba(235, 0, 27, 0.35);
}

.badge-amex-box {
  background: #006FCF;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.68rem;
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.payment-badge.naranjax-badge {
  background: rgba(255, 96, 0, 0.18);
  border-color: rgba(255, 96, 0, 0.45);
  color: #ff9d63;
}

.naranjax-tag strong {
  color: #ff6000;
  background: #ffffff;
  padding: 0 0.25rem;
  border-radius: 2px;
  font-weight: 900;
}

.payment-badge.mp-badge {
  background: rgba(0, 158, 227, 0.15);
  border-color: rgba(0, 158, 227, 0.4);
}

.payment-badge.modo-badge {
  background: rgba(0, 212, 126, 0.15);
  border-color: rgba(0, 212, 126, 0.4);
}

.arrepentimiento-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}

.btn-arrepentimiento {
  color: #ff8c42;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.btn-arrepentimiento:hover {
  text-decoration: underline;
}

.arrepentimiento-box small {
  font-size: 0.68rem;
  color: #64748b;
  display: block;
  line-height: 1.3;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: #64748b;
}

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

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}

.footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal-links a:hover {
  color: #00c49f;
}

/* ==========================================================
   MODALES (VENTANAS EMERGENTES)
   ========================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(7, 13, 24, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.show {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: auto;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-dialog.modal-lg {
  max-width: 760px;
}

.modal-dialog.modal-md {
  max-width: 600px;
}

.modal-backdrop.show .modal-dialog {
  transform: translateY(0);
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-subtle);
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--border-light);
  color: var(--text-title);
}

/* User Authentication State in Header */
.user-auth-container {
  display: flex;
  align-items: center;
}

.user-logged-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-surface-subtle);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.5rem 0.35rem 0.85rem;
  transition: var(--transition);
}

.user-logged-pill:hover {
  border-color: var(--brand-cyan);
}

.user-avatar-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.user-name-display {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-title);
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-logout-icon {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 50%;
  transition: var(--transition);
}

.btn-logout-icon:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* User Mobile Auth */
.user-logged-pill-mobile {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  text-align: center;
}

.user-mobile-name {
  display: block;
  font-weight: 800;
  color: var(--brand-blue);
  font-size: 0.9rem;
}

/* Restricted Action Notice in Modal */
.auth-restricted-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-left: 4px solid #ff6b35;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.84rem;
  color: var(--text-title);
  line-height: 1.4;
}

.auth-restricted-notice i {
  font-size: 1.2rem;
  color: #ff6b35;
  flex-shrink: 0;
}

/* Modal Welcome Email */
.welcome-email-icon-box {
  width: 76px;
  height: 76px;
  margin: 0.5rem auto 1.25rem auto;
  border-radius: 50%;
  background: rgba(0, 168, 150, 0.14);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  animation: pulseGlowCyan 2.5s infinite;
}

.welcome-email-subtitle {
  color: var(--text-body);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.welcome-email-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.email-sender-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 75, 147, 0.1);
  color: var(--brand-blue);
  border: 1px solid rgba(0, 75, 147, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.welcome-account-details {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
}

.welcome-account-item {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--text-muted);
}

.welcome-account-item strong {
  color: var(--text-title);
  text-align: right;
}

.welcome-email-hint {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.35;
  margin: 0;
  text-align: center;
}

/* Tabs de Autenticación */
.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 1.75rem;
}

.auth-tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 0.85rem 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.auth-tab-btn.active {
  color: var(--brand-blue);
}

.auth-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-gradient);
}

.input-lead-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.input-with-icon .form-control {
  padding-left: 2.6rem;
}

.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--text-body);
  font-size: 0.85rem;
}

.forgot-pass-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.forgot-pass-link:hover {
  text-decoration: underline;
}

/* Resaltado especial en color para Recuperar Contraseña al no coincidir clave */
.forgot-pass-link.highlight-recovery {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  color: #e11d48 !important;
  border: 1.5px solid #f43f5e;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.25), 0 4px 12px rgba(225, 29, 72, 0.2);
  animation: forgotPulseAttention 1.4s infinite alternate ease-in-out;
  text-decoration: none !important;
}

.forgot-pass-link.highlight-recovery:hover {
  background: #f43f5e;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.35), 0 6px 16px rgba(225, 29, 72, 0.35);
}

@keyframes forgotPulseAttention {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.2), 0 2px 8px rgba(225, 29, 72, 0.15);
  }
  100% {
    transform: scale(1.04);
    box-shadow: 0 0 0 6px rgba(244, 63, 94, 0.45), 0 6px 18px rgba(225, 29, 72, 0.35);
  }
}

/* Banner de Alerta de Contraseña Incorrecta */
.login-pass-alert-box {
  background: #fff1f2;
  border: 1.5px solid #fecdd3;
  border-left: 4px solid #e11d48;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 12px 0 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #9f1239;
  font-size: 0.85rem;
  line-height: 1.4;
  animation: fadeIn 0.3s ease;
}

.login-pass-alert-box i {
  font-size: 1.1rem;
  color: #e11d48;
  flex-shrink: 0;
  margin-top: 2px;
}

.login-pass-alert-box strong {
  display: block;
  font-size: 0.9rem;
  color: #881337;
  margin-bottom: 2px;
}

.login-pass-alert-box a.alert-forgot-trigger {
  color: #be123c;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.login-pass-alert-box a.alert-forgot-trigger:hover {
  color: #9f1239;
}

[data-theme="dark"] .forgot-pass-link.highlight-recovery {
  background: rgba(225, 29, 72, 0.2);
  color: #fda4af !important;
  border-color: #f43f5e;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.3), 0 4px 14px rgba(225, 29, 72, 0.35);
}

[data-theme="dark"] .forgot-pass-link.highlight-recovery:hover {
  background: #e11d48;
  color: #ffffff !important;
}

[data-theme="dark"] .login-pass-alert-box {
  background: rgba(225, 29, 72, 0.15);
  border-color: rgba(244, 63, 94, 0.3);
  border-left-color: #f43f5e;
  color: #fecdd3;
}

[data-theme="dark"] .login-pass-alert-box strong {
  color: #fff;
}

[data-theme="dark"] .login-pass-alert-box a.alert-forgot-trigger {
  color: #fda4af;
}

.auth-divider,
.social-login-grid {
  display: none !important;
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border-light);
}

.auth-divider span {
  position: relative;
  background: var(--bg-surface);
  padding: 0 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.social-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn-social-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--bg-surface-subtle);
  border: 1.5px solid var(--border-light);
  color: var(--text-title);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-social-login i {
  font-size: 1.1rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-social-login.google i {
  color: #ea4335;
}

.btn-social-login.facebook i {
  color: #1877f2;
}

.btn-social-login:hover {
  transform: translateY(-3px);
  background: var(--bg-surface);
}

.btn-social-login.google:hover {
  border-color: #ea4335;
  box-shadow: 0 6px 20px rgba(234, 67, 53, 0.22);
}

.btn-social-login.google:hover i {
  transform: scale(1.25) rotate(10deg);
}

.btn-social-login.facebook:hover {
  border-color: #1877f2;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.22);
}

.btn-social-login.facebook:hover i {
  transform: scale(1.25) rotate(-10deg);
}

.btn-social-login:active {
  transform: scale(0.96);
}

/* Modal Cargar Evento & Formularios */
.modal-header-box {
  margin-bottom: 1.5rem;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-title);
  margin-bottom: 0.25rem;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-title);
}

.form-row {
  display: flex;
  gap: 1rem;
}

.col-half {
  flex: 1;
}

.col-full {
  flex: 1 1 100%;
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.form-section-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1.5px solid var(--border-light);
}

.col-third {
  flex: 1 1 calc(33.333% - 0.7rem);
  min-width: 130px;
}

.form-hint-info {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Tandas de Entradas: PREVENTA, 1RA, 2DA, 3RA, VIP */
.tiers-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.tiers-subtitle-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(0, 168, 150, 0.12);
  color: var(--brand-cyan);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.tiers-grid-table {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tier-grid-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  transition: var(--transition);
}

.tier-grid-row:hover {
  border-color: var(--brand-cyan);
}

.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-pill.preventa {
  background: rgba(255, 107, 53, 0.14);
  color: #ff6b35;
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.tier-pill.tanda1 {
  background: rgba(0, 168, 150, 0.14);
  color: #00a896;
  border: 1px solid rgba(0, 168, 150, 0.3);
}

.tier-pill.tanda2 {
  background: rgba(0, 75, 147, 0.14);
  color: #004b93;
  border: 1px solid rgba(0, 75, 147, 0.3);
}

[data-theme="dark"] .tier-pill.tanda2 {
  color: #38bdf8;
}

.tier-pill.tanda3 {
  background: rgba(147, 51, 234, 0.14);
  color: #9333ea;
  border: 1px solid rgba(147, 51, 234, 0.3);
}

.tier-pill.vip {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(245, 158, 11, 0.3));
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

[data-theme="dark"] .tier-pill.vip {
  color: #fbbf24;
}

.tier-fields-col {
  display: flex;
  gap: 0.75rem;
}

.tier-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tier-field label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
}

.tier-field .form-control {
  padding: 0.45rem 0.65rem;
  font-size: 0.85rem;
}

/* Image Upload Dropzone (600x600 px) */
.image-upload-dropzone {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  background: var(--bg-surface-subtle);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.image-upload-dropzone:hover {
  border-color: var(--brand-cyan);
  background: rgba(0, 168, 150, 0.04);
}

.file-input-hidden {
  display: none;
}

.dropzone-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-body);
}

.dropzone-placeholder i {
  font-size: 2rem;
  color: var(--brand-cyan);
}

.dropzone-placeholder span {
  font-weight: 700;
  font-size: 0.88rem;
}

.dropzone-placeholder small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.image-preview-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.event-image-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-remove-image {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: none;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Event Fees Notice Box */
.event-fees-notice-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: rgba(0, 75, 147, 0.07);
  border: 1px solid rgba(0, 75, 147, 0.18);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin: 1.25rem 0 0.5rem 0;
}

.fee-notice-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-title);
}

.fee-notice-item i {
  color: var(--brand-cyan);
}

.fee-notice-item strong {
  color: var(--brand-blue);
}

/* Checkout Breakdown Card */
.checkout-breakdown-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkout-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-body);
}

.checkout-breakdown-row.highlight-card-fee {
  color: #ff6b35;
  font-weight: 700;
  background: rgba(255, 107, 53, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-xs);
}

@media (max-width: 600px) {
  .tier-grid-row {
    grid-template-columns: 1fr;
  }
}

/* Review SLA Notice in Modal */
.review-sla-notice {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(0, 168, 150, 0.08);
  border: 1px solid rgba(0, 168, 150, 0.25);
  border-left: 4px solid var(--brand-cyan);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.45;
}

.review-sla-notice i {
  font-size: 1.4rem;
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.review-sla-notice strong {
  color: var(--text-title);
}

/* Modal Event Pending Review (24hs) */
.pending-review-icon-box {
  width: 72px;
  height: 72px;
  margin: 0.5rem auto 1.25rem auto;
  border-radius: 50%;
  background: rgba(0, 168, 150, 0.14);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: pulseGlowCyan 2.5s infinite;
}

@keyframes pulseGlowCyan {
  0% { box-shadow: 0 0 0 0 rgba(0, 168, 150, 0.4); }
  70% { box-shadow: 0 0 0 16px rgba(0, 168, 150, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 168, 150, 0); }
}

.pending-review-subtitle {
  color: var(--text-body);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.pending-review-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.review-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 107, 53, 0.14);
  color: #ff6b35;
  border: 1px solid rgba(255, 107, 53, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.review-time-box {
  display: flex;
  gap: 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
}

.review-time-box i {
  font-size: 1.3rem;
  color: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.review-time-box strong {
  display: block;
  color: var(--text-title);
  margin-bottom: 0.2rem;
}

.review-time-box p {
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.review-meta-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-top: 1px solid var(--border-light);
  padding-top: 0.85rem;
  font-size: 0.82rem;
}

.review-meta-item {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--text-muted);
}

.review-meta-item strong {
  color: var(--text-title);
  text-align: right;
}

/* Review Channels Box */
.review-channels-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .review-channels-box {
    grid-template-columns: 1fr;
  }
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
}

.channel-item i {
  font-size: 1.25rem;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.channel-item.whatsapp i {
  color: #25d366;
}

.channel-item small {
  display: block;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.channel-item strong {
  color: var(--text-title);
  font-size: 0.78rem;
  word-break: break-all;
}

/* Moderator Actions Box (2 Buttons: Approve / Reject) */
.moderator-actions-box {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 2px dashed var(--border-light);
  background: rgba(0, 75, 147, 0.03);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.moderator-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.moderator-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .moderator-buttons-grid {
    grid-template-columns: 1fr;
  }
}

.btn-mod-approve {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-mod-approve:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.btn-mod-reject {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-mod-reject:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

.moderator-hint {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.35;
  margin-top: 0.5rem;
  text-align: center;
}

.badge-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.ticket-tiers-section {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.modal-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

/* Modal Comprar Entradas */
.buy-modal-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.buy-modal-event-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-title);
}

.buy-modal-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-top: 0.35rem;
}

.selection-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 1rem;
}

.ticket-sector-item {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sector-info h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-title);
}

.sector-info .sector-price {
  color: var(--brand-blue);
  font-weight: 900;
  font-size: 0.95rem;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-surface);
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-subtle);
  border: none;
  color: var(--text-title);
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--brand-blue);
  color: #ffffff;
}

.qty-number {
  min-width: 22px;
  text-align: center;
  font-weight: 900;
  color: var(--text-title);
}

.order-summary-box {
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin: 1.25rem 0;
  border: 1px solid var(--border-light);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--text-body);
}

.summary-line.total-line {
  border-top: 1.5px solid var(--border-light);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-title);
}

/* ==========================================================
   DRAWER CARRITO DE COMPRAS
   ========================================================== */
.cart-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 13, 24, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2500;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-drawer-backdrop.show {
  display: block;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-light);
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2501;
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-subtle);
}

.cart-header-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brand-blue);
}

.cart-header-title h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-title);
}

.cart-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
}

.cart-close-btn:hover {
  color: var(--text-title);
}

.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.cart-item-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 0.85rem;
  position: relative;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-title);
  padding-right: 1.5rem;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0.6rem 0;
}

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

.cart-item-price {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
  color: var(--brand-blue);
}

.cart-item-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}

.cart-item-remove-btn:hover {
  color: #ef4444;
}

.cart-empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}

.cart-empty-state i {
  font-size: 3rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-surface-subtle);
}

.cart-breakdown {
  margin-bottom: 1rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 0.35rem;
}

.cart-summary-row.total {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--brand-blue);
  border-top: 1.5px solid var(--border-light);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

.btn-checkout {
  margin-bottom: 0.6rem;
  padding: 0.85rem;
  font-size: 0.95rem;
}

.btn-clear-cart {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  text-align: center;
  padding: 0.3rem;
}

.btn-clear-cart:hover {
  color: #ef4444;
}

/* ==========================================================
   MODAL CHECKOUT & SUCCESS
   ========================================================== */
.checkout-header {
  margin-bottom: 1.5rem;
}

.checkout-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-title);
  margin: 0.3rem 0;
}

.checkout-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.payment-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.payment-radio-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--bg-surface-subtle);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.payment-radio-card:hover,
.payment-radio-card.active {
  border-color: var(--brand-blue);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--border-subtle);
}

.payment-radio-content {
  display: flex;
  flex-direction: column;
}

.payment-radio-content strong {
  font-size: 0.9rem;
  color: var(--text-title);
}

.payment-radio-content small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.checkout-total-banner {
  background: var(--brand-gradient-subtle);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.checkout-price-amount {
  font-size: 1.4rem;
  color: var(--brand-blue);
}

/* Success Modal */
.success-icon-animation {
  font-size: 4rem;
  color: var(--accent-green);
  margin-bottom: 1rem;
  animation: pulseSuccess 1.5s infinite;
}

@keyframes pulseSuccess {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-title);
  margin-bottom: 0.5rem;
}

.success-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.qr-ticket-preview {
  background: var(--bg-surface-subtle);
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.ticket-preview-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 1rem;
}

.qr-box {
  background: #ffffff;
  display: inline-block;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.qr-image {
  width: 140px;
  height: 140px;
  display: block;
}

.ticket-preview-details p {
  font-size: 0.85rem;
  color: var(--text-body);
  margin: 0.2rem 0;
}

/* ==========================================================
   BOTÓN FLOTANTE WHATSAPP & TOASTS
   ========================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1500;
  transition: var(--transition);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-title);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(-5px);
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--brand-blue);
  color: var(--text-title);
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: slideToast 0.3s ease;
}

@keyframes slideToast {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.success { border-left-color: var(--accent-green); }
.toast.error { border-left-color: #ef4444; }

/* ==========================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================== */
@media (max-width: 1080px) {
  .search-form {
    grid-template-columns: 1fr 1fr;
  }
  .search-action-field {
    grid-column: span 2;
  }
  .btn-search {
    width: 100%;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .main-navigation,
  .site-header .header-actions .btn-outline,
  .site-header .header-actions .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-nav-drawer.open {
    display: block;
  }
  .modal-backdrop {
    padding: 0.75rem 0.5rem;
    align-items: flex-start;
  }
  .modal-dialog {
    max-height: 92dvh;
    max-height: 92vh;
    margin: 0.5rem auto 1.5rem auto;
  }
  .modal-content {
    padding: 1.4rem 1.1rem;
    border-radius: var(--radius-md);
  }
  .buy-modal-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .buy-modal-header .event-title {
    font-size: 1.35rem;
  }
  .order-summary-box {
    padding: 0.85rem;
    margin: 0.85rem 0;
  }
  .btn-add-cart-confirm {
    padding: 0.95rem 1.25rem !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 75, 147, 0.4);
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.25rem 0;
  }
  .mobile-nav-link {
    color: var(--text-title);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
  }
  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
  }
}

@media (max-width: 600px) {
  .search-form {
    grid-template-columns: 1fr;
  }
  .search-action-field {
    grid-column: span 1;
  }
  .form-row {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-card-floating {
    grid-template-columns: 1fr;
  }
  .social-login-grid {
    grid-template-columns: 1fr;
  }
  .comodoro-banner-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================
   BANNER DE SEGMENTACIÓN REGIONAL DE PREVENTAS
   ========================================================== */
.regional-preventas-banner {
  background: linear-gradient(135deg, rgba(0, 75, 147, 0.08) 0%, rgba(0, 168, 150, 0.12) 100%);
  border: 1.5px solid rgba(0, 168, 150, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 75, 147, 0.06);
}

.regional-banner-content {
  flex: 1;
}

.regional-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-blue);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.regional-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.25rem;
}

.regional-desc {
  font-size: 0.84rem;
  color: var(--text-body);
  margin: 0;
}

.regional-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.regional-city-select {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue);
  min-width: 210px;
}

@media (max-width: 860px) {
  .regional-preventas-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .regional-banner-actions {
    width: 100%;
    flex-direction: column;
  }
  .regional-city-select {
    width: 100%;
  }
  .regional-banner-actions .btn {
    width: 100%;
  }
}

/* ==========================================================
   PORTAL B2B PARA PRODUCTORES (DASHBOARD & LIQUIDACIÓN)
   ========================================================== */
.modal-xl {
  max-width: 900px;
}

.producer-tabs {
  display: flex;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  gap: 0.5rem;
}

.producer-tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: var(--transition);
}

.producer-tab-btn.active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-cyan);
}

.metrics-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
}

.metric-card .m-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.metric-card .m-val {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
}

.metric-card .m-trend {
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

.metric-card .m-trend.positive { color: #10b981; }
.metric-card .m-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.35rem; }

.producer-subheading {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tandas-progress-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.tanda-progress-row {
  display: grid;
  grid-template-columns: 220px 1fr 110px;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.progress-bar-bg {
  width: 100%;
  height: 9px;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

.tanda-money {
  font-weight: 800;
  text-align: right;
  color: var(--brand-blue);
}

/* Liquidación Breakdown */
.settlement-breakdown-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.settlement-lines {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

.settlement-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-body);
}

.settlement-line.deduction {
  color: #dc2626;
}

.settlement-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 2px dashed var(--border-light);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-title);
}

.settlement-total-line .net-amount {
  font-size: 1.5rem;
  color: #10b981;
}

.settlement-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.cbu-info-pill {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-body);
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.dashboard-table th {
  background: var(--bg-surface-subtle);
  color: var(--text-title);
  font-weight: 800;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 2px solid var(--border-light);
}

.dashboard-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

/* ==========================================================
   APP DE CONTROL DE ACCESOS OFFLINE (STAFF)
   ========================================================== */
.scanner-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.offline-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #065f46;
  background: #d1fae5;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulseDotAnim 1.5s infinite;
}

@keyframes pulseDotAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.live-aforo-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.aforo-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.4rem;
}

.aforo-progress-track {
  width: 100%;
  height: 10px;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.aforo-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00a896, #004b93);
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

.scanner-input-container {
  margin-bottom: 1.25rem;
}

.scanner-input-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.quick-test-tokens {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.btn-token-test {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
}

.btn-token-test:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* Panel de Resultado del Escaneo */
.scan-result-card {
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.scan-result-card.idle {
  background: var(--bg-surface-subtle);
  border: 2px dashed var(--border-dark);
}

.scan-result-card.success {
  background: #ecfdf5;
  border: 2px solid #10b981;
  color: #065f46;
}

.scan-result-card.warning {
  background: #fffbeb;
  border: 2px solid #f59e0b;
  color: #92400e;
}

.scan-result-card.error {
  background: #fef2f2;
  border: 2px solid #ef4444;
  color: #991b1b;
}

.scan-icon-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto 0.75rem auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: var(--bg-surface);
}

.scan-result-card.success .scan-icon-circle { background: #10b981; color: #ffffff; }
.scan-result-card.warning .scan-icon-circle { background: #f59e0b; color: #ffffff; }
.scan-result-card.error .scan-icon-circle { background: #ef4444; color: #ffffff; }

.scan-result-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.scan-result-desc {
  font-size: 0.88rem;
  margin: 0;
}

.scan-result-meta {
  margin-top: 0.85rem;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
}

.scanned-history-box {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.history-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.5rem;
}

.scanned-history-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  background: var(--bg-surface);
  border-left: 3px solid #10b981;
}

.history-item.warning {
  border-left-color: #f59e0b;
}

.history-item.error {
  border-left-color: #ef4444;
}

/* Visor de Cámara QR Html5Qrcode */
#qrReader {
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  background: #0f172a !important;
  border: 2px solid #004b93 !important;
  min-height: 270px;
}

#qrReader video {
  width: 100% !important;
  height: auto !important;
  max-height: 380px !important;
  object-fit: cover !important;
  border-radius: var(--radius-md) !important;
}

#qrReader img[alt="Info icon"],
#qrReader a {
  display: none !important;
}

/* ==========================================================
   EMAIL DE APROBACIÓN DE PRODUCTOR & COMPUERTA DE ACCESO
   ========================================================== */
.approval-email-body-box {
  padding: 1.25rem;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-top: 0.85rem;
}

.approval-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: #065f46;
  background: #d1fae5;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.approval-event-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.4rem;
}

.dashboard-access-credentials-card {
  background: linear-gradient(135deg, rgba(0, 75, 147, 0.05) 0%, rgba(0, 168, 150, 0.08) 100%);
  border: 1.5px solid rgba(0, 168, 150, 0.4);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 0.85rem;
}

.cred-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}

.cred-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  margin-bottom: 0.4rem;
  color: var(--text-body);
}

.cred-row strong {
  color: var(--brand-blue);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.cred-row code {
  font-size: 0.75rem;
  background: var(--bg-surface);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.cred-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.6rem;
  margin-bottom: 0;
}

.auth-gate-info-box {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 1rem;
}

.gate-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.quick-token-hints {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ==========================================================
   CONSOLA MASTER NOMADE & GENERADOR DE INFORMES
   ========================================================== */
.badge-master {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.btn-master-nomade {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #f59e0b, #b45309);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1.5px solid #fde68a;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  transition: var(--transition);
}

.btn-master-nomade:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
}

.btn-master-quick-login {
  width: 100%;
  margin-top: 0.65rem;
  background: linear-gradient(135deg, #004b93 0%, #00a896 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-master-quick-login:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 12px rgba(0, 75, 147, 0.3);
}

.master-kpis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.master-kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.master-kpi-card.highlight-gold { border-left: 4px solid #f59e0b; }
.master-kpi-card.highlight-blue { border-left: 4px solid #004b93; }
.master-kpi-card.highlight-cyan { border-left: 4px solid #00a896; }
.master-kpi-card.highlight-green { border-left: 4px solid #10b981; }

.kpi-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--bg-surface-subtle);
  flex-shrink: 0;
}

.highlight-gold .kpi-icon-badge { background: #fef3c7; color: #b45309; }
.highlight-blue .kpi-icon-badge { background: #dbeafe; color: #004b93; }
.highlight-cyan .kpi-icon-badge { background: #ccfbf1; color: #0f766e; }
.highlight-green .kpi-icon-badge { background: #d1fae5; color: #047857; }

.kpi-body {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
}

.kpi-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Generador de Informes de Ventas */
.report-generator-container {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.report-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.report-scope-selector {
  flex: 1;
  min-width: 280px;
}

.report-select {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-blue);
  margin-top: 0.35rem;
}

.report-action-buttons {
  display: flex;
  gap: 0.6rem;
}

/* Hoja de Documento del Informe */
.report-document-sheet {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.report-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.report-brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 0.05em;
  margin: 0;
}

.report-brand-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.2rem 0 0 0;
}

.report-stamp-box {
  background: var(--bg-surface-subtle);
  border: 1px dashed var(--brand-blue);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  text-align: right;
}

.report-stamp-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-blue);
  text-transform: uppercase;
}

.report-stamp-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.report-divider-line {
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  margin: 1rem 0;
}

.report-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.65rem;
  font-size: 0.82rem;
  background: var(--bg-surface-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.report-table-heading {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
}

.report-table th {
  background: var(--brand-blue);
  color: #ffffff;
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-weight: 700;
}

.report-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.report-table tr:nth-child(even) {
  background-color: var(--bg-surface-subtle);
}

.report-financial-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.financial-block {
  display: flex;
  flex-direction: column;
}

.fin-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.fin-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-title);
  margin-top: 0.2rem;
}

.report-sheet-footer {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-light);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================
   REDES SOCIALES CENTRADAS (SOLO LOGOS CON SHIMMER & GLOW)
   ========================================================== */
.social-logos-centered-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2.5rem auto 1rem auto;
  max-width: 800px;
}

.social-logo-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--brand-blue);
  font-size: 1.85rem;
  text-decoration: none;
  border: 2px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.social-logo-circle i {
  position: relative;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.35s ease;
}

.social-logo-circle:hover {
  transform: translateY(-6px) scale(1.18) rotate(-6deg);
  border-color: transparent;
}

.social-logo-circle:hover i {
  transform: scale(1.15);
  color: #ffffff;
}

/* WhatsApp */
.social-logo-circle.whatsapp:hover {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45), 0 0 18px rgba(37, 211, 102, 0.35);
}

/* Instagram */
.social-logo-circle.instagram:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  box-shadow: 0 10px 25px rgba(253, 29, 29, 0.45), 0 0 18px rgba(131, 58, 180, 0.35);
}

/* Facebook */
.social-logo-circle.facebook:hover {
  background: linear-gradient(135deg, #1877f2, #0d5bbd);
  box-shadow: 0 10px 25px rgba(24, 119, 242, 0.45), 0 0 18px rgba(24, 119, 242, 0.35);
}

/* TikTok */
.social-logo-circle.tiktok:hover {
  background: #000000;
  box-shadow: 0 10px 25px rgba(0, 242, 234, 0.45), 0 0 18px rgba(255, 0, 79, 0.45);
}

/* YouTube */
.social-logo-circle.youtube:hover {
  background: linear-gradient(135deg, #ff0000, #c40000);
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.45), 0 0 18px rgba(255, 0, 0, 0.35);
}

/* Email */
.social-logo-circle.email:hover {
  background: linear-gradient(135deg, #004b93, #00a896);
  box-shadow: 0 10px 25px rgba(0, 75, 147, 0.45), 0 0 18px rgba(0, 168, 150, 0.35);
}
