/* ============================================================
   styles.css — Díscolo Club · Landing Template
   Sistema de marca: negro + cromo. No hay color de marca.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Custom Properties ── */
:root {
  /* Fondos */
  --bg-black:      #000000;
  --bg-deep:       #050507;
  --bg-surface:    #0E0E11;
  --bg-elevated:   #1A1A1E;
  --bg-highlight:  #28282C;

  /* Cromo */
  --chrome-white:  #FFFFFF;
  --chrome-100:    #F0F0F0;
  --chrome-200:    #D0D0D0;
  --chrome-300:    #B0B0B0;
  --chrome-400:    #909090;
  --chrome-500:    #707070;
  --chrome-600:    #505050;
  --chrome-700:    #303030;
  --chrome-800:    #202020;

  /* Texto */
  --text-primary:   #FFFFFF;
  --text-secondary: #E0E0E4;   /* Más claro, antes #B4B4B8 */
  --text-tertiary:  #C4C4C8;   /* Más claro, antes #9A9AA2 */
  --text-muted:     #A0A0A8;   /* Más claro, antes #808088 */

  /* Utilidad */
  --ok:      #22C55E;
  --alert:   #F59E0B;
  --error:   #EF4444;

  /* Gradientes */
  --gradient-chrome: linear-gradient(
    180deg,
    #FFFFFF 0%, #E8E8E8 16%, #9C9C9C 34%,
    #FFFFFF 50%,
    #6E6E6E 64%, #C8C8C8 82%, #FFFFFF 100%
  );
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--bg-black);
  background-image: url('images/fondo.jpg?v=a0ccbf83');
  background-image: -webkit-image-set(url('images/fondo.webp?v=ce36ecba') type('image/webp'), url('images/fondo.jpg?v=a0ccbf83') type('image/jpeg'));
  background-image: image-set(url('images/fondo.webp?v=ce36ecba') type('image/webp'), url('images/fondo.jpg?v=a0ccbf83') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
  body {
    background-attachment: fixed;
  }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Typography ── */
.font-display {
  font-family: 'Archivo Black', 'Arial Black', sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

h1, .h1 {
  font-family: 'Archivo Black', 'Arial Black', sans-serif;
  font-size: clamp(44px, 10vw, 96px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
}

h2, .h2 {
  font-family: 'Archivo Black', 'Arial Black', sans-serif;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-primary);
}

h3, .h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.price-display {
  font-family: 'Archivo Black', 'Arial Black', sans-serif;
  font-size: clamp(38px, 7vw, 64px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-tertiary);
}

/* ── Chrome Text Effect ── */
.chrome-text {
  background: var(--gradient-chrome);
  background-size: 100% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chrome-sweep 1.2s cubic-bezier(.16,1,.3,1) forwards;
}

@supports not (background-clip: text) {
  .chrome-text { color: #fff; }
}

@keyframes chrome-sweep {
  from { background-position: 0 -100%; }
  to   { background-position: 0 0; }
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section {
  position: relative;
  padding: 80px 0;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 0;
}

.section > * {
  position: relative;
  z-index: 1;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  height: 40px;
  width: auto;
}

@media (min-width: 768px) {
  .navbar-logo { height: 48px; }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 18px;
}

@media (min-width: 768px) {
  .nav-links {
    gap: 32px;
  }
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;          /* área táctil mínima */
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  transition: color 0.3s;
}

@media (min-width: 768px) {
  .nav-links a { font-size: 13px; letter-spacing: 0.1em; }
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #000;
    background: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s;
  }
  .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255,255,255,0.2);
  }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
  overflow: hidden;
}



.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

/* <picture> es solo un envoltorio: la <img> sigue siendo el hijo directo del layout */
picture {
  display: contents;
}

.hero-flyer {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  margin-bottom: 32px;

  /* Por encima de scanlines (1), viñeta (2) y spotlight (20).
     Queda debajo del navbar (100) y del FAB (200), que deben seguir accesibles. */
  position: relative;
  z-index: 30;

  /* Luz blanca en los bordes: filo + halo cercano + bloom.
     El halo superior es más fuerte porque la luz cae del spotlight de arriba. */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.60),
    0 -2px 20px rgba(255,255,255,0.30),
    0 0 24px 2px rgba(255,255,255,0.28),
    0 0 70px 10px rgba(255,255,255,0.13),
    0 32px 64px rgba(0,0,0,0.6);
  transition: box-shadow 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Cuando se enciende el spotlight, el borde del flyer se enciende con él */
.hero.lamp-active .hero-flyer {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.92),
    0 -3px 28px rgba(255,255,255,0.45),
    0 0 34px 4px rgba(255,255,255,0.42),
    0 0 100px 16px rgba(255,255,255,0.20),
    0 32px 64px rgba(0,0,0,0.6);
}

@media (min-width: 768px) {
  .hero-flyer {
    max-width: 420px;
  }
}

.hero-title {
  font-size: clamp(40px, 12vw, 56px);
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: clamp(44px, 10vw, 96px);
  }
}

.hero-subtitle {
  font-size: clamp(18px, 3vw, 22px);
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-pricing {
  margin-bottom: 32px;
}

.hero-price-main {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 900;
  color: var(--text-primary);
  font-family: 'Archivo Black', sans-serif;
  font-variant-numeric: tabular-nums;
}

.hero-price-main .chrome-text {
  font-size: inherit;
}

.hero-price-label {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.hero-price-door {
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-top: 8px;
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* ── Countdown ── */
.countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}

.countdown-number {
  font-family: 'Archivo Black', sans-serif;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  line-height: 1;
}

.countdown-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-tertiary);
  margin-top: 6px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #D8D8D8 50%, #FFFFFF 100%);
  color: #000;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
  padding: 18px 36px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.35), 0 8px 32px rgba(255,255,255,0.14);
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px #fff, 0 12px 44px rgba(255,255,255,0.28);
}

.btn-primary:disabled {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--text-tertiary);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.form-hint {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-tertiary);
}

#form-submit:not(:disabled) + .form-hint {
  visibility: hidden;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 17px 35px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

/* ── Cards ── */
.card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
}

.card:hover {
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.card-palco {
  border-color: rgba(255,255,255,0.20);
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}

.card-palco:hover {
  border-color: rgba(255,255,255,0.45);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.18), 0 0 60px -20px rgba(255,255,255,0.1);
}

/* ── Tickets Grid ── */
.tickets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .tickets-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.ticket-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ticket-card .label {
  margin-bottom: -8px;
}

.ticket-card .price-display {
  color: var(--text-primary);
}

.ticket-card .price-display .chrome-text {
  font-size: inherit;
}

.ticket-description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

.ticket-door-price {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ── Form ── */
.form-section {
  max-width: 560px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h2 {
  margin-bottom: 8px;
}

.form-header p {
  color: var(--text-tertiary);
  font-size: 15px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-input:focus {
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Toggle VIP / Palco */
.toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.toggle-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: transparent;
  color: var(--text-tertiary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s;
}

.toggle-option:hover {
  border-color: rgba(255,255,255,0.25);
  color: var(--text-secondary);
}

.toggle-option.active {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
}

/* Checkbox */
.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin-top: 0;
  accent-color: var(--chrome-white);
}

/* El <label for> ya es táctil; le damos altura para llegar a 44px */
.checkbox-group {
  min-height: 44px;
}

.checkbox-label {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.checkbox-label a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Form confirmation */
.form-confirmation {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-confirmation.visible {
  display: block;
}

.form-confirmation .icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.form-confirmation h3 {
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-confirmation p {
  color: var(--text-secondary);
  font-size: 15px;
}

.form-confirmation a {
  color: var(--text-primary);
  text-decoration: underline;
}

/* ── FAQ Accordion ── */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--chrome-100);
}

.faq-icon {
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), padding 0.4s;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer-inner {
  padding-bottom: 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.faq-answer-inner a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Upcoming Events ── */
.upcoming-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

.upcoming-card {
  overflow: hidden;
  border-radius: 18px;
}

.upcoming-card .card {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.upcoming-flyer {
  width: 100%;
  /* Caja uniforme 4:5 con el flyer COMPLETO dentro (sin recortar).
     Los flyers 4:5 la llenan exacta; uno vertical 9:16 deja franjas finas. */
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #07070a;
  border-radius: 18px 18px 0 0;
}

.upcoming-flyer-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 20px;
  border-radius: 18px 18px 0 0;
}

.upcoming-info {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.upcoming-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.upcoming-date {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.upcoming-info .btn-secondary {
  font-size: 13px;
  padding: 12px 20px;
  margin-top: auto;
  text-align: center;
}

/* ── Footer ── */


/* ── Sticky Mobile CTA ── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.10);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.sticky-cta.visible {
  transform: translateY(0);
}

@media (max-width: 767px) {
  .sticky-cta {
    display: flex;
  }
}

.sticky-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sticky-price {
  font-family: 'Archivo Black', sans-serif;
  font-size: 20px;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.sticky-date {
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sticky-cta .btn-primary {
  font-size: 13px;
  padding: 14px 24px;
  white-space: nowrap;
}

/* ── Animations ── */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.fade-in-up:nth-child(1) { transition-delay: 0ms; }
.fade-in-up:nth-child(2) { transition-delay: 100ms; }
.fade-in-up:nth-child(3) { transition-delay: 200ms; }
.fade-in-up:nth-child(4) { transition-delay: 300ms; }
.fade-in-up:nth-child(5) { transition-delay: 400ms; }
.fade-in-up:nth-child(6) { transition-delay: 500ms; }
.fade-in-up:nth-child(7) { transition-delay: 600ms; }
.fade-in-up:nth-child(8) { transition-delay: 700ms; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.6s cubic-bezier(.16,1,.3,1);
}

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

/* Stagger for reveal groups */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in-up, .reveal {
    transform: none;
    transition: opacity 0.3s;
  }
  .chrome-text {
    animation: none;
    background-position: 0 0;
  }
}

/* ── Focus Visible ── */
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ── Section headers ── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-tertiary);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Bottom padding for sticky CTA on mobile */
@media (max-width: 767px) {
  .footer {
    padding-bottom: 80px;
  }
}

/* ═══════════════════════════════════════════════════════════
   SPOTLIGHT — Efecto de luz integrado
   ═══════════════════════════════════════════════════════════ */

/* ── Spotlight Container ── */
.spotlight {
  position: relative;
  width: 100%;
  height: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  z-index: 20;
}

/* ── The light beam shining down ── */
.spotlight-beam {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10rem; /* Animates wider */
  height: 24rem; /* Downward reach */
  background: conic-gradient(from 180deg at 50% 0%, 
    transparent 0deg, 
    transparent 140deg, 
    rgba(255,255,255,0.45) 180deg, 
    transparent 220deg, 
    transparent 360deg
  );
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 100%);
  opacity: 0;
  pointer-events: none;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.lamp-active .spotlight-beam {
  width: 36rem;
  opacity: 1;
}

/* ── Diffuse glow at origin ── */
.spotlight-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.lamp-active .spotlight-glow {
  width: 20rem;
  opacity: 1;
}

/* ── Bright fixture line ── */
.spotlight-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 16px 4px rgba(255,255,255,0.4);
  opacity: 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.lamp-active .spotlight-line {
  width: 28rem;
  max-width: 80vw;
  opacity: 1;
}

@media (max-width: 767px) {
  .hero.lamp-active .spotlight-beam {
    width: 24rem;
  }
  .hero.lamp-active .spotlight-line {
    width: 18rem;
  }
  .hero.lamp-active .spotlight-glow {
    width: 12rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .spotlight-beam,
  .spotlight-glow,
  .spotlight-line {
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   PRECIOS (Pricing Interaction)
   ═══════════════════════════════════════════════════════════ */
.tickets-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
}

.tickets-vignette {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 12%, rgba(255,255,255,0.06), transparent 60%);
}

.tickets-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
}

.tickets-hline, .tickets-vline {
  position: absolute;
  background: rgba(255,255,255,0.06);
}

.tickets-hline {
  left: 0; right: 0; height: 1px;
  transform: scaleX(0); transform-origin: 50% 50%;
}
.tickets-vline {
  top: 0; bottom: 0; width: 1px;
  transform: scaleY(0); transform-origin: 50% 0%;
}

.tickets-section.is-visible .tickets-hline {
  animation: drawX 0.6s ease forwards;
}
.tickets-section.is-visible .tickets-vline {
  animation: drawY 0.7s ease forwards;
}

@keyframes drawX { to { transform: scaleX(1); } }
@keyframes drawY { to { transform: scaleY(1); } }

.tickets-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
}

.tickets-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card {
  width: 100%;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}

.pricing-options {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}

.pricing-row:hover {
  border-color: rgba(255,255,255,0.15);
}

.pricing-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.pricing-name {
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-badge {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-desc {
  font-size: 13px;
  color: var(--text-tertiary);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--text-primary);
  margin-right: 12px;
}

.price-currency {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 15px;
  align-self: baseline;
  line-height: 1;
}

.price-value {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.pricing-radio {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #3f3f46;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
  flex-shrink: 0;
}

.pricing-radio-dot {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}

.pricing-row.active .pricing-radio {
  border-color: #fff;
}
.pricing-row.active .pricing-radio-dot {
  opacity: 1;
}

.pricing-highlight {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), height 0.3s;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   HERO SHUTTER TEXT (Animación de Claim)
   ═══════════════════════════════════════════════════════════ */
.word-wrapper {
  display: inline-block;
  white-space: nowrap;
  margin-right: 0.22em;
}

.char-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0;
  margin: 0;
  vertical-align: top;
  line-height: inherit;
}

.hero-title {
  letter-spacing: -0.03em;
}

.char-base {
  display: inline-block;
  letter-spacing: inherit;
  opacity: 0;
  filter: blur(10px);
}

.hero-title .char-base {
  background: linear-gradient(180deg, #FFFFFF 0%, #C8C8C8 50%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.char-slice-top,
.char-slice-mid,
.char-slice-bot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  letter-spacing: inherit;
  user-select: none;
}

.char-slice-top {
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  color: #fff;
  text-shadow: 0 0 12px rgba(255,255,255,0.9);
}
.char-slice-mid {
  clip-path: polygon(0 35%, 100% 35%, 100% 65%, 0 65%);
  color: #666;
}
.char-slice-bot {
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
  color: #fff;
  text-shadow: 0 0 12px rgba(255,255,255,0.9);
}

/* Only trigger via IntersectionObserver (hero-title.shutter-play) */
.hero-title.shutter-play .char-base {
  animation: charFadeIn 0.8s ease-out var(--d0, 0.1s) forwards;
}

.hero-title.shutter-play .char-slice-top,
.hero-title.shutter-play .char-slice-bot {
  animation: sliceSlideX 0.65s ease-in-out var(--d1, 0s) forwards;
}

.hero-title.shutter-play .char-slice-mid {
  animation: sliceSlideXRev 0.65s ease-in-out var(--d2, 0.08s) forwards;
}

@keyframes charFadeIn {
  0%   { opacity: 0; filter: blur(10px); }
  100% { opacity: 1; filter: blur(0); }
}

@keyframes sliceSlideX {
  0%   { transform: translateX(-100%); opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateX(110%); opacity: 0; }
}

@keyframes sliceSlideXRev {
  0%   { transform: translateX(100%); opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateX(-110%); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  background: transparent;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-top: 60px;
  padding-bottom: 24px;
  text-align: center;
}

.footer-logo {
  width: 64px;
  opacity: 0.85;
  display: block;
  margin: 0 auto 16px;
}

.footer-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto;
}

.footer-text a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-text a:hover {
  color: #fff;
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════
   HOLOGRAPHIC BEAMS (Hero background)
   ═══════════════════════════════════════════════════════════ */
.holo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  filter: blur(4px);
  mix-blend-mode: screen;   /* additively blends over fondo.jpg */
  pointer-events: none;
}

/* CRT scanlines — subtle grid of horizontal + vertical lines */
.holo-scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(0,0,0,0) 50%, rgba(0,0,0,1) 50%),
    linear-gradient(90deg, rgba(255,0,0,0.06), rgba(0,255,0,0.02), rgba(0,0,255,0.06));
  background-size: 100% 4px, 3px 100%;
}

/* Radial vignette — keeps center content readable */
.holo-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.55) 100%);
}

/* ═══════════════════════════════════════════════════════════
   WHATSAPP FLOTANTE (FAB)
   ═══════════════════════════════════════════════════════════ */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 16px;
  border-radius: 99px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2e2e2e 50%, #1a1a1a 100%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 8px 32px rgba(0,0,0,0.6),
    0 0 20px rgba(255,255,255,0.06);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1),
              box-shadow 0.3s cubic-bezier(.4,0,.2,1),
              border-color 0.3s;
  /* Pulse animation on load */
  animation: waPulse 2.5s ease-in-out 1.5s 3;
}

.wa-fab:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(255,255,255,0.4);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.2),
    0 12px 40px rgba(0,0,0,0.7),
    0 0 32px rgba(255,255,255,0.12);
}

.wa-fab:active {
  transform: translateY(0) scale(0.97);
}

.wa-fab-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  /* Subtle chrome tint on the icon */
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
}

.wa-fab-label {
  background: linear-gradient(180deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 32px rgba(0,0,0,0.6), 0 0 20px rgba(255,255,255,0.06); }
  50%       { box-shadow: 0 0 0 4px rgba(255,255,255,0.12), 0 8px 32px rgba(0,0,0,0.6), 0 0 36px rgba(255,255,255,0.18); }
}

/* On mobile: icon only to save space */
@media (max-width: 480px) {
  .wa-fab { padding: 14px; }
  .wa-fab-label { display: none; }
}


/* ═══════════════════════════════════════════════════════════
   CORRECCIONES DE CAPAS Y ÁREA TÁCTIL
   ═══════════════════════════════════════════════════════════ */

/* El FAB de WhatsApp chocaba con dos cosas en móvil: se montaba sobre el botón
   de la barra sticky (52×50px de solape) y se paraba encima del título del hero.
   .sticky-cta.visible = el hero ya salió de pantalla. */
/* En el hero el FAB estorba (se paraba encima del título) y compite con
   "Apartar mi boleta". Aparece solo cuando el hero ya salió de pantalla. */
body.cta-in-view .wa-fab,
body:not(.hero-out) .wa-fab {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}

@media (max-width: 767px) {

  /* Pasado el hero aparece, por encima de la barra y colapsado a icono */
  .sticky-cta.visible ~ .wa-fab {
    bottom: calc(var(--sticky-h, 78px) + 16px);
    padding: 14px;
  }
  .sticky-cta.visible ~ .wa-fab .wa-fab-label {
    display: none;
  }

  /* La barra fija tapaba el final de la página (incluida la casilla legal) */
  body {
    padding-bottom: calc(var(--sticky-h, 78px) + 8px);
  }
}

/* Los anclas (#tickets, #formulario…) aterrizaban debajo del navbar fijo */
[id] {
  scroll-margin-top: 88px;
}

/* Área táctil mínima de 44px en los enlaces del footer */
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-text a {
  display: inline-block;
  padding: 6px 0;
}

/* El enlace del logo quedaba en 42×40 */
.navbar .container > a:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Nota de qué incluye la boleta — evita la pregunta obvia en WhatsApp */
.pricing-note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-tertiary);
  text-align: center;
}

/* Con 4 filas y precios de 7 cifras, la fila tiene que repartirse bien:
   la info puede encogerse, la columna del precio no. */
.pricing-row {
  gap: 10px;
}

.pricing-info {
  min-width: 0;
  flex: 1 1 auto;
}

.pricing-row .pricing-name {
  font-size: 17px;
}

.pricing-row .pricing-desc {
  font-size: 12px;
  white-space: nowrap;
}

.pricing-price {
  flex: 0 0 auto;
  white-space: nowrap;
}

.pricing-price .price-value {
  font-variant-numeric: tabular-nums;
  font-size: 17px;
}
