/* Strike Latam — custom CSS (Brand 2026)
 * Paleta oficial:
 * - Azul Strike #146af4 (principal)
 * - Gris Strike #878787 (secundario)
 * - Blanco #FFFFFF
 * - Negro/Navy #0A0F1E (dark)
 */

:root {
  --strike-blue: #146af4;
  --strike-blue-hover: #2c7eff;
  --strike-blue-soft: #e8f0fe;
  --strike-blue-deep: #0d4cb5;
  --strike-gray: #878787;
  --strike-gray-soft: #f3f4f6;
  --strike-gray-line: #e6e7ea;
  --strike-dark: #0A0F1E;
  --strike-dark-2: #141a2e;
  --strike-dark-3: #1d2440;
}

* { scroll-margin-top: 80px; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: #0A0F1E; }

/* Selection */
::selection { background: var(--strike-blue); color: #fff; }

/* ===== Hero slider ===== */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1s ease, transform 1.4s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1; transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.hero-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(255,255,255,0.35);
  transition: all .35s ease;
  cursor: pointer;
  border: 0;
}
.hero-dot.is-active { background: var(--strike-blue); width: 36px; border-radius: 6px; }

/* ===== Soft gradient overlays ===== */
.gradient-dark {
  background: linear-gradient(135deg, #0A0F1E 0%, #141a2e 60%, #1d2440 100%);
}

/* ===== Logo cards / partner grid ===== */
.logo-card {
  background: #fff;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem 1rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  min-height: 110px;
  border: 1px solid var(--strike-gray-line);
}
.logo-card:hover {
  transform: translateY(-6px);
  border-color: var(--strike-blue);
  box-shadow: 0 18px 40px -16px rgba(20, 106, 244, 0.25);
}
.logo-card img {
  max-height: 64px; max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .8;
  transition: filter .3s, opacity .3s;
}
.logo-card:hover img { filter: none; opacity: 1; }

/* ===== Track pills ===== */
.track-pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all .3s ease;
  cursor: default;
}
.track-pill:hover {
  background: rgba(20,106,244,0.18);
  border-color: var(--strike-blue);
  transform: translateY(-2px);
  color: #fff;
}

/* ===== Speaker cards ===== */
.speaker-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px -12px rgba(10,15,30,0.15);
  border: 1px solid var(--strike-gray-line);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.speaker-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 50px -18px rgba(20,106,244,0.28);
  border-color: var(--strike-blue);
}
.speaker-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #0A0F1E 0%, #1d2440 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 3rem; font-weight: 700;
  position: relative;
  overflow: hidden;
}
.speaker-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(20,106,244,0.25), transparent 60%);
}

/* ===== Pricing cards ===== */
.price-card {
  background: #fff;
  border-radius: 22px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--strike-gray-line);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
}
.price-card:hover {
  transform: translateY(-8px);
  border-color: var(--strike-blue);
  box-shadow: 0 28px 50px -18px rgba(20,106,244,0.25);
}
.price-card.featured {
  background: linear-gradient(160deg, #141a2e 0%, #0A0F1E 100%);
  color: #fff;
  transform: scale(1.04);
  border-color: var(--strike-blue);
  box-shadow: 0 24px 56px -18px rgba(20,106,244,0.45);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-8px); }

/* ===== Agenda rows ===== */
.agenda-row { transition: background .2s ease, padding-left .25s ease; }
.agenda-row:hover { background: rgba(20,106,244,0.05); padding-left: 8px; }

.agenda-tab-btn {
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: all .3s ease;
  background: transparent;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
}
.agenda-tab-btn.is-active {
  background: var(--strike-blue);
  color: #fff;
  border-color: var(--strike-blue);
}
.agenda-tab-panel { display: none; }
.agenda-tab-panel.is-active { display: block; }

/* ===== Buttons ===== */
.btn-primary {
  background: var(--strike-blue);
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  transition: all .3s ease;
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--strike-blue);
}
.btn-primary:hover {
  background: var(--strike-blue-hover);
  border-color: var(--strike-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(20,106,244,0.55);
}

.btn-outline {
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  border: 2px solid #fff;
  font-weight: 600;
  transition: all .3s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover {
  background: #fff;
  color: var(--strike-blue);
}

.btn-outline-blue {
  background: transparent;
  color: var(--strike-blue);
  padding: 14px 32px;
  border-radius: 999px;
  border: 2px solid var(--strike-blue);
  font-weight: 600;
  transition: all .3s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-blue:hover {
  background: var(--strike-blue);
  color: #fff;
}

.btn-ghost-dark {
  background: transparent;
  color: var(--strike-dark);
  padding: 14px 32px;
  border-radius: 999px;
  border: 2px solid var(--strike-dark);
  font-weight: 600;
  transition: all .3s ease;
}
.btn-ghost-dark:hover { background: var(--strike-dark); color: #fff; }

/* ===== Stars ===== */
.stars { color: var(--strike-blue); letter-spacing: 3px; }

/* ===== Badges ===== */
.badge-soldout {
  background: rgba(135,135,135,0.18); color: #4a4a4a;
  border: 1px solid rgba(135,135,135,0.4);
  padding: 4px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  display: inline-block; letter-spacing: 0.05em; text-transform: uppercase;
}
.badge-soon {
  background: rgba(20,106,244,0.12); color: var(--strike-blue);
  border: 1px solid rgba(20,106,244,0.4);
  padding: 4px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  display: inline-block; letter-spacing: 0.05em; text-transform: uppercase;
}

/* ===== Stat card icon circle ===== */
.stat-icon {
  width: 64px; height: 64px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--strike-blue-soft);
  color: var(--strike-blue);
}

/* ===== WhatsApp floating button ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 999;
  width: 60px; height: 60px; border-radius: 999px;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: wa-pulse 2.4s infinite;
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

@keyframes wa-pulse {
  0% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55), 0 0 0 22px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Mobile nav drawer ===== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(10,15,30,0.98);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.25rem;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a { color: #fff; font-size: 1.2rem; font-weight: 600; }
.mobile-menu a:hover { color: var(--strike-blue); }

/* ===== Past edition image cards ===== */
.past-edition {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  box-shadow: 0 14px 30px -16px rgba(10,15,30,0.3);
  background: #f3f4f6;
}
.past-edition img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.past-edition:hover img { transform: scale(1.06); }
.past-edition .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,15,30,0.92) 100%);
  display: flex; align-items: flex-end; padding: 1.25rem;
  color: #fff;
}

/* Photos are clickable to open in lightbox */
.past-edition[data-lightbox] { cursor: zoom-in; }
.past-edition[data-lightbox]:hover .overlay::after {
  content: '↗';
  position: absolute; top: 12px; right: 16px;
  width: 32px; height: 32px; border-radius: 999px;
  background: rgba(20, 106, 244, 0.95);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* Poster style: object-fit contain, padded, no zoom */
.past-edition.is-poster { aspect-ratio: 3/4; background: #0A0F1E; cursor: default; }
.past-edition.is-poster img { object-fit: contain; padding: 8px; transition: none; }
.past-edition.is-poster:hover img { transform: none; }
.past-edition.is-poster .overlay {
  background: linear-gradient(180deg, transparent 60%, rgba(10,15,30,0.85) 100%);
}

/* Icon style: contained on white card */
.past-edition.is-icon {
  aspect-ratio: 1/1;
  background: #f7f9fc;
  cursor: default;
}
.past-edition.is-icon img {
  object-fit: contain;
  padding: 28px;
  transition: none;
}
.past-edition.is-icon:hover img { transform: none; }
.past-edition.is-icon .overlay {
  background: linear-gradient(180deg, transparent 55%, rgba(10,15,30,0.85) 100%);
}

/* Featured (large hero photo at top of gallery) */
.past-edition.is-featured { aspect-ratio: 16/9; }
@media (min-width: 768px) {
  .past-edition.is-featured { grid-column: span 2; grid-row: span 2; aspect-ratio: 4/3; }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,15,30,0.96);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(6px);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-stage {
  position: relative; max-width: min(92vw, 1200px); max-height: 88vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox-img {
  max-width: 100%; max-height: 78vh;
  object-fit: contain; border-radius: 12px;
  box-shadow: 0 30px 80px -10px rgba(0,0,0,0.6);
  transform: scale(0.96); transition: transform .35s ease;
}
.lightbox.is-open .lightbox-img { transform: scale(1); }
.lightbox-caption {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem; font-weight: 500;
  text-align: center; max-width: 80ch;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; z-index: 2;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--strike-blue);
  border-color: var(--strike-blue);
  transform: scale(1.05);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-counter {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
body.lightbox-locked { overflow: hidden; }

/* ===== Marquee (sponsors infinite) ===== */
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  align-items: center;
}
.marquee-track img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .3s, opacity .3s;
}
.marquee-track img:hover { filter: none; opacity: 1; }

/* ===== Glass nav bar ===== */
.glass-nav {
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(20, 106, 244, 0.08);
}

/* ===== Reveal placeholders (GSAP fallback if no JS) ===== */
.no-js [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ===== Text gradient ===== */
.text-gradient-blue {
  background: linear-gradient(135deg, #146af4 0%, #2c7eff 50%, #146af4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Animated underline on links ===== */
.nav-link {
  position: relative;
  padding-bottom: 4px;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--strike-blue);
  transition: width .3s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: var(--strike-blue); }

/* ===== Dropdown (mega menu) ===== */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0; pointer-events: none;
  background: #fff;
  border: 1px solid var(--strike-gray-line);
  border-radius: 18px;
  padding: 16px;
  min-width: 640px;
  box-shadow: 0 28px 60px -20px rgba(10,15,30,0.3);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-col h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--strike-blue);
  padding: 8px 12px 6px;
  margin: 0;
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--strike-dark);
  font-weight: 500;
  font-size: 0.88rem;
  line-height: 1.35;
  transition: background .2s, color .2s, padding-left .2s;
}
.nav-dropdown-menu a:hover {
  background: var(--strike-blue-soft);
  color: var(--strike-blue);
  padding-left: 16px;
}
.nav-dropdown-menu a small {
  display: block;
  font-size: 0.7rem;
  color: var(--strike-gray);
  margin-top: 1px;
  font-weight: 500;
}

@media (max-width: 1023px) {
  .nav-dropdown-menu { min-width: 320px; grid-template-columns: 1fr; }
}

/* ===== Section dividers ===== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--strike-gray-line), transparent);
}

/* ===== Number counter highlight ===== */
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--strike-blue);
}

/* ============================================================
   RESPONSIVE AUDIT FIXES
   ============================================================ */

/* Agenda grid: stackea en mobile <md */
@media (max-width: 767px) {
  .agenda-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }
  .agenda-row > * {
    grid-column: span 1 / span 1 !important;
  }
  .agenda-row .col-span-3 {
    font-size: 0.75rem;
    opacity: 0.7;
  }
  /* Tablas agenda específicas (el grid grid-cols-12 inline) */
  #agenda .grid.grid-cols-12 {
    grid-template-columns: 1fr;
  }
  #agenda .grid.grid-cols-12 > .col-span-3 {
    grid-column: span 1 / span 1;
    font-size: 0.85rem;
    color: #5b96ff;
    font-weight: 700;
  }
  #agenda .grid.grid-cols-12 > .col-span-9 {
    grid-column: span 1 / span 1;
  }
}

/* Countdown grid: 2x2 en pantallas muy angostas */
@media (max-width: 380px) {
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .countdown-num { font-size: 1.5rem; }
}

/* Promo bar más compacto en pantallas ultra-angostas */
@media (max-width: 380px) {
  .promo-bar {
    padding: 0 8px;
    font-size: 0.62rem;
    gap: 4px;
  }
  .promo-bar-left img { height: 16px; }
  .promo-bar-left span { display: none; }
  .promo-bar-center { font-size: 0.6rem; }
  .promo-bar-right a {
    padding: 5px 10px;
    font-size: 0.62rem;
  }
  .promo-bar-right a svg { display: none; }
}

/* Marquee headline en pantallas ultra-angostas */
@media (max-width: 360px) {
  .marquee-headline {
    font-size: clamp(2rem, 8vw, 5rem);
  }
}

/* Botones: padding adaptativo */
@media (max-width: 640px) {
  .btn-primary, .btn-outline, .btn-outline-blue, .btn-ghost-dark {
    padding: 12px 22px;
    font-size: 0.9rem;
  }
}

/* Hero content column: reset padding-right en mobile */
@media (max-width: 1023px) {
  .hero-content-col { padding-right: 0 !important; }
}

/* Next event card: padding más compacto en mobile */
@media (max-width: 640px) {
  .next-event-card { padding: 20px; border-radius: 22px; }
  .next-event-card h3 { font-size: 1.5rem; }
}

/* Timeline cards: ajustar mínimo y gap en mobile */
@media (max-width: 480px) {
  .timeline-card { flex: 0 0 260px; }
  .h-scroll { gap: 12px !important; }
}

/* Footer: reducir gap entre columnas stackeadas */
@media (max-width: 767px) {
  footer .grid.md\:grid-cols-4 { gap: 2rem !important; }
}

/* Nav dropdown menu: oculto en mobile (asegurado) */
@media (max-width: 1023px) {
  .nav-dropdown-menu { display: none !important; }
}

/* Prevenir overflow horizontal global (sin tocar imágenes individuales) */
html, body { overflow-x: hidden; }

/* Speaker card: padding interno reducido en mobile */
@media (max-width: 480px) {
  .speaker-card .p-5 { padding: 1rem; }
  .speaker-card h3 { font-size: 0.95rem; }
}

/* Logo card: altura mínima reducida en mobile (más logos visibles) */
@media (max-width: 480px) {
  .logo-card { min-height: 90px; padding: 0.875rem; }
  .logo-card img { max-height: 50px; }
}

/* Price card mejor en mobile */
@media (max-width: 640px) {
  .price-card { padding: 1.75rem 1.5rem; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
}

/* ===== Hero (new home) ===== */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* Hero slideshow: múltiples imágenes con crossfade */
.hero-bg-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform, opacity;
  opacity: 0;
  transition: opacity 1.6s ease;
  z-index: 0;
}
.hero-bg-slide.is-active { opacity: 1; }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,15,30,0.92) 0%, rgba(10,15,30,0.82) 55%, rgba(20,106,244,0.45) 100%);
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 70%);
  pointer-events: none;
}

/* ===== Next Event widget (hero right) ===== */
.next-event-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 26px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.next-event-card::before {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(20,106,244,0.42), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.next-event-card::after {
  content: '';
  position: absolute; bottom: -50%; left: -20%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(20,106,244,0.18), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.next-event-card > * { position: relative; z-index: 1; }
.next-event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20,106,244,0.45);
  box-shadow: 0 50px 90px -30px rgba(20,106,244,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Countdown grid - más aerodinámico */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 16px 0;
}
.countdown-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 4px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.countdown-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20,106,244,0.6), transparent);
}
.countdown-num {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.countdown-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

/* Hero responsive tweaks */
@media (min-width: 1024px) {
  .hero-content-col { padding-right: 2rem; }
}
@media (max-width: 1023px) {
  .next-event-card { padding: 22px; }
}

/* ===== Section pin (large title sticky) ===== */
.pin-title {
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* ===== Tilt card (3D hover) ===== */
.tilt-card { transform-style: preserve-3d; will-change: transform; }

/* ===== Scroll horizontal events ===== */
.h-scroll {
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; }

/* ===== Glass card ===== */
.glass {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 22px;
}
.glass-light {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(20,106,244,0.12);
  border-radius: 22px;
}

/* ===== Gradient ring (animated border) ===== */
.gradient-ring {
  position: relative;
  border-radius: 22px;
  padding: 1px;
  background: conic-gradient(from 0deg, #146af4, #2c7eff, #146af4, #0d4cb5, #146af4);
  animation: ring-spin 8s linear infinite;
}
.gradient-ring > * {
  background: #0A0F1E;
  border-radius: 21px;
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed; top: 44px; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #146af4, #2c7eff);
  z-index: 100;
  transition: width 0.1s linear;
}

/* ===== Promo banner sticky top (logo · fecha · auspiciar) ===== */
.promo-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 44px;
  z-index: 60;
  background:
    radial-gradient(circle at 0% 50%, rgba(20,106,244,0.45), transparent 35%),
    radial-gradient(circle at 100% 50%, rgba(20,106,244,0.35), transparent 35%),
    linear-gradient(135deg, #0A0F1E 0%, #131a2e 50%, #0A0F1E 100%);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid rgba(20,106,244,0.18);
  color: #fff;
  font-size: 0.78rem;
  overflow: hidden;
}
.promo-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(20,106,244,0.08) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: promo-shimmer 8s linear infinite;
  pointer-events: none;
}
@keyframes promo-shimmer {
  to { background-position: 200% 0; }
}
.promo-bar-left, .promo-bar-center, .promo-bar-right {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
}
.promo-bar-left img { height: 22px; width: auto; }
.promo-bar-center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.promo-bar-center .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: #146af4;
  box-shadow: 0 0 12px rgba(20,106,244,0.8);
  animation: promo-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* Long version on desktop · short on mobile */
.promo-text-long { display: inline; white-space: nowrap; }
.promo-text-short { display: none; }
@media (max-width: 767px) {
  .promo-text-long { display: none; }
  .promo-text-short { display: inline; white-space: nowrap; }
}
@keyframes promo-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.promo-bar-right { gap: 12px; }
.promo-bar-right .lang-toggle {
  display: inline-flex; align-items: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  color: rgba(255,255,255,0.8);
  gap: 2px;
}
.promo-bar-right .lang-toggle button {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.7);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.65rem;
  cursor: pointer;
  transition: all .2s ease;
  letter-spacing: 0.06em;
}
.promo-bar-right .lang-toggle button.is-active {
  background: rgba(20,106,244,0.85);
  color: #fff;
  box-shadow: 0 2px 8px rgba(20,106,244,0.3);
}
.promo-bar-right > a {
  background: linear-gradient(135deg, #146af4 0%, #2c7eff 100%);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  transition: transform .25s ease, box-shadow .25s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.promo-bar-right > a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -4px rgba(20,106,244,0.55);
}
@media (max-width: 480px) {
  .promo-bar-right .lang-toggle { display: none; }
}
@media (max-width: 767px) {
  .promo-bar {
    font-size: 0.66rem !important;
    padding: 0 10px !important;
    gap: 8px !important;
    justify-content: flex-start !important;
  }
  .promo-bar-left {
    flex-shrink: 0 !important;
    gap: 6px !important;
  }
  .promo-bar-left img { height: 18px !important; }
  .promo-bar-left .opacity-70 { display: none !important; }

  .promo-bar-center {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.66rem !important;
    color: #fff !important;
    gap: 6px !important;
    overflow: visible !important;
    display: flex !important;
  }
  .promo-bar-center .dot { flex-shrink: 0 !important; }
  .promo-bar-center .promo-text-short {
    display: inline !important;
    white-space: nowrap !important;
    color: #fff !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .promo-bar-center .promo-text-long { display: none !important; }

  .promo-bar-right {
    flex-shrink: 0 !important;
  }
}

/* Ajuste de header y body para acomodar el promo bar */
body { padding-top: 44px; }
header[data-header] { top: 44px !important; }
.mobile-menu { padding-top: 44px; }

/* ===== Marquee headline (huge text) ===== */
.marquee-headline {
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  white-space: nowrap;
  color: rgba(20,106,244,0.08);
  font-style: italic;
}

/* ===== Soft hover lift ===== */
.lift-on-hover { transition: transform .4s ease, box-shadow .4s ease; }
.lift-on-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(20,106,244,0.25);
}

/* ============================================================
   GRADIENTES MODERNOS · Sistema unificado
   ============================================================ */

/* Dark mesh: para CTAs, footers, secciones dark importantes */
.bg-mesh-dark {
  background:
    radial-gradient(circle at 18% 22%, rgba(20,106,244,0.35), transparent 45%),
    radial-gradient(circle at 88% 78%, rgba(20,106,244,0.22), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(20,106,244,0.06), transparent 60%),
    linear-gradient(180deg, #0A0F1E 0%, #0d1226 100%);
}
.bg-mesh-dark-soft {
  background:
    radial-gradient(circle at 85% 0%, rgba(20,106,244,0.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(20,106,244,0.12), transparent 50%),
    #0A0F1E;
}

/* Light mesh: para secciones claras suaves */
.bg-mesh-light {
  background:
    radial-gradient(circle at 0% 0%, rgba(20,106,244,0.05), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(20,106,244,0.04), transparent 45%),
    linear-gradient(180deg, #fafbfd 0%, #f3f6fc 100%);
}
.bg-soft-blue {
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fc 100%);
}

/* Aurora: para hero / sección destacada */
.bg-aurora {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(20,106,244,0.4), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(20,106,244,0.3), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(13,76,181,0.2), transparent 60%),
    #0A0F1E;
}

/* Hero veil mejorada (mesh feel) */
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(20,106,244,0.35), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(20,106,244,0.15), transparent 60%),
    linear-gradient(135deg, rgba(10,15,30,0.95) 0%, rgba(10,15,30,0.82) 55%, rgba(20,106,244,0.35) 100%);
  pointer-events: none;
}

/* Pure aurora hero (sin imagen, todo CSS) — para blog, contacto, etc */
.hero-aurora {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 12% 18%, rgba(20,106,244,0.55), transparent 55%),
    radial-gradient(ellipse 70% 60% at 88% 75%, rgba(20,106,244,0.45), transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(13,76,181,0.4), transparent 65%),
    radial-gradient(circle at 70% 30%, rgba(44,126,255,0.25), transparent 50%),
    linear-gradient(135deg, #0A0F1E 0%, #0d1428 40%, #0A0F1E 100%);
  pointer-events: none;
}
.hero-aurora::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
  mask-image: radial-gradient(ellipse at center, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 70%);
  pointer-events: none;
}
.hero-aurora::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 70%, rgba(10,15,30,0.4) 100%);
  pointer-events: none;
}

/* Floating animated blobs (slow drift) */
.hero-aurora-blobs {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-aurora-blobs::before,
.hero-aurora-blobs::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.hero-aurora-blobs::before {
  width: 480px; height: 480px;
  top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(20,106,244,0.5), transparent 70%);
  animation: blob-float-1 18s ease-in-out infinite;
}
.hero-aurora-blobs::after {
  width: 560px; height: 560px;
  bottom: -150px; right: -150px;
  background: radial-gradient(circle, rgba(44,126,255,0.4), transparent 70%);
  animation: blob-float-2 22s ease-in-out infinite;
}
@keyframes blob-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.1); }
}
@keyframes blob-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -50px) scale(0.95); }
}

/* Card con borde gradient (ring effect) */
.card-gradient-border {
  position: relative;
  background: #fff;
  border-radius: 22px;
}
.card-gradient-border::before {
  content: '';
  position: absolute; inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(20,106,244,0.6), rgba(20,106,244,0.05) 60%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Card hover glow (sutil aurora en card al hover) */
.card-hover-glow {
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.card-hover-glow::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(20,106,244,0.18), transparent 40%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.card-hover-glow:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -20px rgba(20,106,244,0.25); }
.card-hover-glow:hover::after { opacity: 1; }

/* Buttons: gradient en CTAs (más profundidad) */
.btn-primary {
  background: linear-gradient(135deg, #146af4 0%, #2c7eff 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition: background-position .4s ease, transform .3s ease, box-shadow .3s ease;
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 16px 32px -10px rgba(20,106,244,0.55);
}

/* Featured price card (mesh dark) */
.price-card.featured {
  background:
    radial-gradient(circle at 100% 0%, rgba(20,106,244,0.45), transparent 50%),
    linear-gradient(160deg, #141a2e 0%, #0A0F1E 100%);
}

/* Logo card hover blue ring */
.logo-card { position: relative; }
.logo-card::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(20,106,244,0.55), transparent 60%);
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}
.logo-card:hover::after { opacity: 1; }

/* Section divider con gradient blue */
.divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20,106,244,0.4), transparent);
}

/* Stat-icon con gradient */
.stat-icon {
  background: linear-gradient(135deg, rgba(20,106,244,0.18), rgba(20,106,244,0.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

/* Glass nav · gradient sutil */
.glass-nav {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.glass-nav.is-scrolled {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.85));
  box-shadow: 0 6px 24px -12px rgba(10,15,30,0.12);
}

/* ===== Filter chips (blog) ===== */
.filter-chip {
  background: #fff;
  border: 1px solid #e6e7ea;
  color: #0A0F1E;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-chip:hover {
  background: #f3f6fc;
  border-color: #146af4;
  color: #146af4;
}
.filter-chip.is-active {
  background: #146af4;
  border-color: #146af4;
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(20,106,244,0.45);
}

/* ===== Prose typography para blog posts (magazine 2-col layout) ===== */
.prose-content { width: 100%; }
.prose-lead { width: 100%; }

/* Magazine 2-column body at desktop */
@media (min-width: 1024px) {
  .prose-content {
    column-count: 2;
    column-gap: 4rem;
    column-rule: 1px solid #e6e7ea;
  }
  /* Headings, blockquotes, callouts span both columns */
  .prose-content h2,
  .prose-content h3,
  .prose-content blockquote,
  .prose-content hr {
    column-span: all;
    -webkit-column-span: all;
    break-after: avoid;
    break-before: auto;
  }
  /* Prevent orphans/widows */
  .prose-content p,
  .prose-content li {
    break-inside: avoid-column;
  }
}
.prose-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0A0F1E;
  margin-top: 2.5em;
  margin-bottom: 0.6em;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid #146af4;
}
.prose-content h2:first-child { margin-top: 0; }
.prose-content h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #0A0F1E;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}
.prose-content p {
  margin-bottom: 1.25em;
  color: #2a2e3a;
  font-size: 1.08rem;
  line-height: 1.8;
}
.prose-content > p:first-of-type::first-letter,
.prose-content p:first-of-type::first-letter {
  font-size: 3.5em !important;
  float: left !important;
  line-height: 0.85 !important;
  padding: 0.05em 0.15em 0 0 !important;
  color: #146af4 !important;
  font-weight: 800 !important;
  font-family: inherit;
}
@media (max-width: 1023px) {
  .prose-content > p:first-of-type::first-letter,
  .prose-content p:first-of-type::first-letter {
    font-size: 3em !important;
  }
  .prose-content .callout,
  .prose-content blockquote {
    padding: 1.25rem 1.5rem !important;
    margin: 1.5em 0 !important;
  }
  .prose-content h2 {
    margin-top: 1.8em !important;
    margin-bottom: 0.5em !important;
  }
}
.prose-content strong { color: #0A0F1E; font-weight: 700; }
.prose-content em { color: #146af4; font-style: italic; }
.prose-content a {
  color: #146af4;
  text-decoration: underline;
  text-decoration-color: rgba(20, 106, 244, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
.prose-content a:hover { text-decoration-color: #146af4; }
.prose-content ul, .prose-content ol {
  margin: 1.25em 0;
  padding-left: 1.5em;
}
.prose-content ul li {
  margin-bottom: 0.6em;
  list-style: none;
  position: relative;
  padding-left: 1.2em;
  line-height: 1.7;
}
.prose-content ul li::before {
  content: '';
  position: absolute; left: 0; top: 0.7em;
  width: 8px; height: 2px;
  background: #146af4;
}
.prose-content ol { list-style-position: outside; }
.prose-content ol li {
  margin-bottom: 0.7em;
  line-height: 1.7;
  padding-left: 0.3em;
}
.prose-content ol li::marker { color: #146af4; font-weight: 700; }
.prose-content blockquote {
  margin: 2em 0;
  padding: 1.5em 2em;
  border-left: 4px solid #146af4;
  background: rgba(20,106,244,0.05);
  font-size: 1.2em;
  font-style: italic;
  color: #0A0F1E;
  border-radius: 0 12px 12px 0;
}
.prose-content code {
  background: rgba(20,106,244,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: ui-monospace, monospace;
  color: #0A0F1E;
}
.prose-content hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20,106,244,0.4), transparent);
  margin: 2.5em 0;
}
.prose-content > *:last-child { margin-bottom: 0; }

/* Pull quote utility */
.pull-quote {
  margin: 2em 0;
  padding: 1.5em 0;
  border-top: 2px solid #146af4;
  border-bottom: 2px solid #146af4;
  font-size: 1.4em;
  font-weight: 600;
  font-style: italic;
  color: #0A0F1E;
  line-height: 1.4;
}

/* Callout box */
.callout {
  margin: 2em 0;
  padding: 1.5em;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20,106,244,0.06), rgba(20,106,244,0.02));
  border: 1px solid rgba(20,106,244,0.18);
}
.callout-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #146af4;
  margin-bottom: 0.5em;
  display: block;
}

/* Line clamp utility (Tailwind v4 might not include line-clamp by default) */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Past edition timeline card ===== */
.timeline-card {
  flex: 0 0 360px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 40px -20px rgba(10,15,30,0.35);
  transition: transform .35s ease;
}
.timeline-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.timeline-card:hover img { transform: scale(1.06); }
.timeline-card:hover { transform: translateY(-6px); }
.timeline-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,15,30,0.92) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; color: #fff;
}
@media (max-width: 640px) {
  .timeline-card { flex: 0 0 280px; }
}
