/* ============================================================================
   fx-fixes.css — Correcciones críticas por feedback del usuario
   - Razones y Ventajas: forzar visibilidad (no depender de reveal-children)
   - Winner cards: fotos cuadradas bien contenidas con object-fit
   - Asesores: fotos contenidas correctamente
   - Toolbar no tapa topbar
   - Iconos PAS proporcionados
   - Canvas IA sin badge
   - Features IA con colores
   - Fases como flujo horizontal
   - 5 áreas con fill dinámico
   - Horario más grande
   Este archivo va al FINAL del orden de carga para ganarle a todas las reglas.
   ============================================================================ */

/* ==========================================================================
   FIX 1: Razones y Ventajas — forzar visibilidad sin depender de reveal
   ========================================================================== */
.razones,
.ventajas {
  opacity: 1 !important;
  visibility: visible !important;
}
.razones > *,
.ventajas > *,
.razones .razon,
.ventajas .ventaja {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  animation: fxFadeInUp 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.razones > *:nth-child(1) { animation-delay: 0.05s; }
.razones > *:nth-child(2) { animation-delay: 0.12s; }
.razones > *:nth-child(3) { animation-delay: 0.19s; }
.razones > *:nth-child(4) { animation-delay: 0.26s; }
.razones > *:nth-child(5) { animation-delay: 0.33s; }
.ventajas > *:nth-child(1) { animation-delay: 0.05s; }
.ventajas > *:nth-child(2) { animation-delay: 0.12s; }
.ventajas > *:nth-child(3) { animation-delay: 0.19s; }
.ventajas > *:nth-child(4) { animation-delay: 0.26s; }
.ventajas > *:nth-child(5) { animation-delay: 0.33s; }
.ventajas > *:nth-child(6) { animation-delay: 0.40s; }
@keyframes fxFadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Aún más robusto: nuclear los data-reveal-children */
html[data-mode="full"] [data-reveal-children] {
  opacity: 1 !important;
}
html[data-mode="full"] [data-reveal-children] > * {
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   FIX 2: Winner card photos — cuadrado perfecto con foto cover
   ========================================================================== */
.winner-card__photo {
  width: 130px !important;
  height: 130px !important;
  border-radius: 50% !important;
  margin: var(--s-4) auto !important;
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  padding: 0 !important;
  background: linear-gradient(135deg, #142e5f 0%, #0a1930 100%) !important;
  border: 4px solid transparent !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  background-image:
    linear-gradient(135deg, #142e5f 0%, #0a1930 100%),
    linear-gradient(135deg, #fff8d6 0%, #f4d882 30%, #E8C86A 60%, #b88f2f 100%) !important;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 0 0 6px rgba(232, 200, 106, 0.08),
    inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  font-size: 0 !important;
}
.winner-card__photo::before,
.winner-card__photo::after {
  display: none !important;
}
.winner-card__photo img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 50% !important;
  display: block !important;
}

/* Highlight circular sutil encima de la foto */
.winner-card__photo::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 8% !important;
  left: 15% !important;
  width: 28% !important;
  height: 22% !important;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.4), transparent 70%) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

/* ==========================================================================
   FIX 3: Advisor photos — cuadradas bien contenidas
   ========================================================================== */
.advisor__photo {
  width: 112px !important;
  height: 112px !important;
  border-radius: 50% !important;
  margin: 0 auto var(--s-3) !important;
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  padding: 0 !important;
  font-size: 0 !important;
  background: linear-gradient(135deg, #142e5f 0%, #0a1930 100%) !important;
  border: 3px solid var(--c-gold) !important;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.4),
    0 0 0 5px rgba(232, 200, 106, 0.08),
    inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease !important;
}
.advisor__photo img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 50% !important;
  display: block !important;
}
.advisor:hover .advisor__photo {
  transform: scale(1.08) rotate(-3deg);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 0 5px rgba(232, 200, 106, 0.15),
    0 0 40px rgba(232, 200, 106, 0.3),
    inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* ==========================================================================
   FIX 4: Toolbar (audio/tema) no debe tapar el topbar
   ========================================================================== */
.fx-toolbar {
  top: auto !important;
  bottom: var(--s-5) !important;
  left: var(--s-4) !important;
  right: auto !important;
  z-index: 25 !important;
}
@media (max-width: 1023px) {
  .fx-toolbar {
    bottom: calc(env(safe-area-inset-bottom, 0) + 80px) !important;
    left: var(--s-3) !important;
  }
}

/* ==========================================================================
   FIX 5: PAS iconos proporcionados (forzar tamaño del SVG)
   ========================================================================== */
.pas-icon {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  display: block !important;
  flex-shrink: 0 !important;
}
.pas__icon-wrap {
  flex: 0 0 88px !important;
  width: 88px !important;
  height: 88px !important;
  padding: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
@media (max-width: 640px) {
  .pas-icon {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
  }
  .pas__icon-wrap {
    flex: 0 0 68px !important;
    width: 68px !important;
    height: 68px !important;
    padding: 10px !important;
  }
}

/* ==========================================================================
   FIX 6: Canvas IA — quitar el badge central "⚡ IA"
   ========================================================================== */
.ai-canvas-center {
  display: none !important;
}

/* ==========================================================================
   FIX 7: Features IA con colores distintos usando CSS custom properties
   ========================================================================== */
.ai-feature {
  --ai-color: #E8C86A;
  border-left: 3px solid var(--ai-color) !important;
  transition: all 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
}
.ai-features .ai-feature:nth-child(1) { --ai-color: #4C9BE6; }
.ai-features .ai-feature:nth-child(2) { --ai-color: #f4d882; }
.ai-features .ai-feature:nth-child(3) { --ai-color: #B39DDB; }
.ai-features .ai-feature:nth-child(4) { --ai-color: #25D366; }
.ai-features .ai-feature:nth-child(5) { --ai-color: #ff6b7a; }

.ai-feature strong {
  color: var(--ai-color) !important;
  font-weight: 800 !important;
}
.ai-feature:hover {
  background: color-mix(in srgb, var(--ai-color) 12%, transparent) !important;
  transform: translateX(8px);
  border-left-width: 5px !important;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--ai-color) 20%, transparent);
}
.ai-feature__icon {
  color: var(--ai-color) !important;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--ai-color) 60%, transparent)) !important;
}

/* ==========================================================================
   FIX 8: Fases como FLUJO HORIZONTAL con conectores
   ========================================================================== */
.timeline {
  display: grid !important;
  gap: var(--s-4) !important;
  grid-template-columns: 1fr !important;
  position: relative;
}
@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: var(--s-3) !important;
    padding: var(--s-5) 0 !important;
    position: relative;
  }
  .timeline::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg,
      rgba(230, 57, 70, 0.6),
      rgba(255, 152, 0, 0.6),
      rgba(232, 200, 106, 0.8),
      rgba(76, 175, 80, 0.6),
      rgba(76, 155, 230, 0.6));
    border-radius: 2px;
    z-index: 0;
    transform: translateY(-50%);
  }
}

.timeline__phase {
  position: relative !important;
  padding: var(--s-5) var(--s-4) !important;
  border-radius: var(--r-lg) !important;
  background: linear-gradient(180deg, rgba(22, 50, 90, 0.9), rgba(11, 30, 63, 0.7)) !important;
  border: 2px solid rgba(232, 200, 106, 0.15) !important;
  backdrop-filter: blur(12px);
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
  overflow: hidden;
  text-align: center !important;
}
.timeline__phase::before {
  display: none !important;
}
.timeline__phase::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 24px;
  height: 24px;
  background: var(--phase-color, var(--c-gold));
  clip-path: polygon(0 20%, 60% 20%, 60% 0, 100% 50%, 60% 100%, 60% 80%, 0 80%);
  transform: translateY(-50%);
  display: none;
  z-index: 2;
}
@media (min-width: 900px) {
  .timeline__phase:not(:last-child)::after {
    display: block;
  }
}
.timeline__phase--0 { --phase-color: #E63946; border-color: rgba(230, 57, 70, 0.4) !important; }
.timeline__phase--1 { --phase-color: #FF9800; border-color: rgba(255, 152, 0, 0.4) !important; }
.timeline__phase--2 { --phase-color: #E8C86A; border-color: rgba(232, 200, 106, 0.4) !important; }
.timeline__phase--3 { --phase-color: #4CAF50; border-color: rgba(76, 175, 80, 0.4) !important; }
.timeline__phase--4 { --phase-color: #4C9BE6; border-color: rgba(76, 155, 230, 0.4) !important; }

.timeline__phase .timeline__num {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--phase-color, var(--c-gold)), rgba(11, 30, 63, 0.9));
  color: #fff !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  font-family: var(--f-title);
  margin: 0 auto var(--s-3);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--phase-color, #E8C86A) 40%, transparent),
              inset 0 2px 4px rgba(255, 255, 255, 0.2);
  border: 2px solid var(--phase-color, var(--c-gold));
}
html[data-mode="full"] .timeline__phase .timeline__num {
  animation: phaseNumPulse 3s ease-in-out infinite;
}
@keyframes phaseNumPulse {
  0%, 100% { box-shadow: 0 8px 24px color-mix(in srgb, var(--phase-color, #E8C86A) 40%, transparent), inset 0 2px 4px rgba(255, 255, 255, 0.2); }
  50% { box-shadow: 0 8px 40px color-mix(in srgb, var(--phase-color, #E8C86A) 70%, transparent), inset 0 2px 4px rgba(255, 255, 255, 0.3); }
}
.timeline__phase .timeline__title {
  color: var(--phase-color, var(--c-gold)) !important;
  font-size: var(--fs-md) !important;
  font-weight: 800 !important;
  margin-bottom: var(--s-2) !important;
}
.timeline__phase:hover {
  transform: translateY(-10px) scale(1.04);
  border-color: var(--phase-color, var(--c-gold)) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
              0 0 40px color-mix(in srgb, var(--phase-color, #E8C86A) 30%, transparent);
}

/* ==========================================================================
   FIX 9: 5 áreas del SERUMS — fill dinámico al hover
   ========================================================================== */
.area {
  background: linear-gradient(180deg, rgba(22, 50, 90, 0.85), rgba(11, 30, 63, 0.6)) !important;
  border-top-width: 4px !important;
  border-radius: var(--r-lg) !important;
  padding: var(--s-5) var(--s-3) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
  cursor: pointer !important;
}
.area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--area-color, #E8C86A);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}
.area::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, var(--area-color-rgba, rgba(232, 200, 106, 0.2)), transparent 70%);
  opacity: 0.3;
  transition: opacity 0.5s ease;
  z-index: 0;
}
.area > * {
  position: relative;
  z-index: 1;
}
.area:hover::before {
  opacity: 0.18;
}
.area:hover::after {
  opacity: 1;
}
.area:nth-child(1) { --area-color: #E63946; --area-color-rgba: rgba(230, 57, 70, 0.3); }
.area:nth-child(2) { --area-color: #FF9800; --area-color-rgba: rgba(255, 152, 0, 0.3); }
.area:nth-child(3) { --area-color: #E8C86A; --area-color-rgba: rgba(232, 200, 106, 0.3); }
.area:nth-child(4) { --area-color: #4CAF50; --area-color-rgba: rgba(76, 175, 80, 0.3); }
.area:nth-child(5) { --area-color: #4C9BE6; --area-color-rgba: rgba(76, 155, 230, 0.3); }

.area:hover {
  transform: translateY(-12px) scale(1.06) !important;
  border-color: var(--area-color) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5),
              0 0 60px var(--area-color-rgba) !important;
}
.area__icon {
  font-size: 52px !important;
  filter: drop-shadow(0 4px 12px var(--area-color-rgba));
  transition: all 0.4s ease !important;
}
.area:hover .area__icon {
  transform: scale(1.2) translateY(-6px) rotate(8deg) !important;
  filter: drop-shadow(0 8px 24px var(--area-color)) !important;
}
.area__name {
  transition: color 0.4s ease;
}
.area:hover .area__name {
  color: var(--area-color) !important;
  font-weight: 800 !important;
}

/* ==========================================================================
   FIX 10: Horario más grande, dinámico, interactivo
   ========================================================================== */
.schedule {
  background: linear-gradient(180deg, rgba(22, 50, 90, 0.9), rgba(11, 30, 63, 0.7)) !important;
  border: 1px solid rgba(232, 200, 106, 0.25) !important;
  border-radius: var(--r-lg) !important;
  padding: var(--s-5) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  overflow-x: auto;
}
.schedule table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 4px !important;
  font-size: var(--fs-sm) !important;
  min-width: 680px !important;
}
.schedule th,
.schedule td {
  padding: var(--s-4) var(--s-3) !important;
  border: 0 !important;
  border-radius: var(--r-sm) !important;
  background: rgba(11, 30, 63, 0.5) !important;
  transition: all 0.3s ease !important;
  min-height: 56px;
}
.schedule th {
  background: linear-gradient(135deg, var(--c-bg-3), var(--c-surface)) !important;
  color: var(--c-gold) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  border: 1px solid rgba(232, 200, 106, 0.3) !important;
}
.schedule td:first-child {
  background: rgba(232, 200, 106, 0.08) !important;
  border-left: 3px solid var(--c-gold) !important;
  color: var(--c-gold) !important;
  font-weight: 700 !important;
  text-align: left !important;
  padding-left: var(--s-4) !important;
}
.schedule .hl {
  background: linear-gradient(135deg, rgba(232, 200, 106, 0.25), rgba(232, 200, 106, 0.1)) !important;
  color: var(--c-gold) !important;
  font-weight: 800 !important;
  border: 1px solid rgba(232, 200, 106, 0.5) !important;
  box-shadow: 0 0 16px rgba(232, 200, 106, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
}
html[data-mode="full"] .schedule .hl {
  animation: scheduleHlPulse 3s ease-in-out infinite;
}
@keyframes scheduleHlPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(232, 200, 106, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
  50% { box-shadow: 0 0 32px rgba(232, 200, 106, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
}
.schedule tr:hover td:not(:first-child):not(.hl) {
  background: rgba(76, 155, 230, 0.08) !important;
  transform: scale(1.02);
}
.schedule .hl:hover {
  background: linear-gradient(135deg, rgba(232, 200, 106, 0.4), rgba(232, 200, 106, 0.2)) !important;
  transform: scale(1.05) !important;
}

/* ==========================================================================
   FIX 11: Red cibernética del hero — canvas interactivo SIN MARCO
   Canvas ocupa todo el hero; fade diagonal desvanece el lado izquierdo
   (donde está el H1/CTAs) y muestra plena la zona derecha/inferior.
   ========================================================================== */
.hero-web {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 0 !important;
  opacity: 1 !important;
  /* Máscara diagonal: desvanece el lado izquierdo (texto), full visible en la zona derecha-inferior */
  -webkit-mask-image: linear-gradient(105deg,
    transparent 0%,
    transparent 18%,
    rgba(0, 0, 0, 0.12) 28%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.75) 52%,
    #000 65%,
    #000 100%);
  mask-image: linear-gradient(105deg,
    transparent 0%,
    transparent 18%,
    rgba(0, 0, 0, 0.12) 28%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.75) 52%,
    #000 65%,
    #000 100%);
  mix-blend-mode: normal !important;
}
@media (max-width: 899px) {
  .hero-web {
    opacity: 0.6 !important;
    /* En móvil, fade vertical para no tapar el contenido */
    -webkit-mask-image: linear-gradient(180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.3) 40%,
      #000 70%) !important;
    mask-image: linear-gradient(180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.3) 40%,
      #000 70%) !important;
  }
}
html[data-mode="lite"] .hero-web {
  display: none !important;
}

/* Fallback SVG oculto cuando canvas está activo */
.hero-molecule.hero-molecule--fallback {
  display: none !important;
}
.hero-molecule {
  opacity: 0.6 !important;
}

/* Enlaces pulsando sutilmente */
html[data-mode="full"] .mol-bonds {
  animation: molBondsPulse 4s ease-in-out infinite;
}
@keyframes molBondsPulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.85; }
}

/* Átomos con breathing individual (vibrato sutil, NO rotación) */
html[data-mode="full"] .mol-atom {
  transform-origin: center center;
  transform-box: fill-box;
}
html[data-mode="full"] .mol-atom-1  { animation: molBreathe 3.2s ease-in-out infinite; }
html[data-mode="full"] .mol-atom-2  { animation: molBreathe 3.4s ease-in-out infinite 0.2s; }
html[data-mode="full"] .mol-atom-3  { animation: molBreathe 3.1s ease-in-out infinite 0.4s; }
html[data-mode="full"] .mol-atom-4  { animation: molBreathe 3.3s ease-in-out infinite 0.6s; }
html[data-mode="full"] .mol-atom-5  { animation: molBreathe 3.5s ease-in-out infinite 0.8s; }
html[data-mode="full"] .mol-atom-6  { animation: molBreathe 3.2s ease-in-out infinite 1.0s; }
html[data-mode="full"] .mol-atom-7  { animation: molBreathe 2.8s ease-in-out infinite 0.15s; }
html[data-mode="full"] .mol-atom-8  { animation: molBreathe 2.6s ease-in-out infinite 0.35s; }
html[data-mode="full"] .mol-atom-9  { animation: molBreathe 2.7s ease-in-out infinite 0.55s; }
html[data-mode="full"] .mol-atom-10 { animation: molBreathe 2.9s ease-in-out infinite 0.75s; }
html[data-mode="full"] .mol-atom-11 { animation: molBreathe 2.5s ease-in-out infinite 0.95s; }
html[data-mode="full"] .mol-atom-12 { animation: molBreathe 2.7s ease-in-out infinite 1.15s; }
html[data-mode="full"] .mol-atom-13 { animation: molBreathe 2.8s ease-in-out infinite 0.25s; }
html[data-mode="full"] .mol-atom-14 { animation: molBreathe 2.6s ease-in-out infinite 0.45s; }
html[data-mode="full"] .mol-atom-15 { animation: molBreathe 2.9s ease-in-out infinite 0.65s; }
html[data-mode="full"] .mol-atom-16 { animation: molBreathe 2.7s ease-in-out infinite 0.85s; }
html[data-mode="full"] .mol-atom-17 { animation: molBreathe 2.5s ease-in-out infinite 1.05s; }
html[data-mode="full"] .mol-atom-18 { animation: molBreathe 2.8s ease-in-out infinite 1.25s; }
html[data-mode="full"] .mol-atom-19 { animation: molBreathe 2.6s ease-in-out infinite 0.3s; }
html[data-mode="full"] .mol-atom-20 { animation: molBreathe 2.9s ease-in-out infinite 0.5s; }
html[data-mode="full"] .mol-atom-21 { animation: molBreathe 2.7s ease-in-out infinite 0.7s; }
html[data-mode="full"] .mol-atom-22 { animation: molBreathe 2.5s ease-in-out infinite 0.9s; }
html[data-mode="full"] .mol-atom-23 { animation: molBreathe 2.8s ease-in-out infinite 1.1s; }
html[data-mode="full"] .mol-atom-24 { animation: molBreathe 2.6s ease-in-out infinite 1.3s; }

@keyframes molBreathe {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(232, 200, 106, 0.3));
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(232, 200, 106, 0.7));
  }
}

/* ==========================================================================
   BANNER DE OFERTA FINAL 20% OFF + Countdown
   ========================================================================== */
.offer-banner {
  padding: var(--s-8) 0;
  position: relative;
  overflow: hidden;
}
.offer-banner__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--s-7) var(--s-5);
  background: linear-gradient(135deg,
    rgba(230, 57, 70, 0.15) 0%,
    rgba(11, 30, 63, 0.9) 40%,
    rgba(232, 200, 106, 0.15) 100%);
  border: 2px solid rgba(232, 200, 106, 0.4);
  border-radius: var(--r-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(232, 200, 106, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
html[data-mode="full"] .offer-banner__inner {
  animation: offerPulse 3s ease-in-out infinite;
}
@keyframes offerPulse {
  0%, 100% { box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5), 0 0 80px rgba(232, 200, 106, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
  50%      { box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5), 0 0 120px rgba(232, 200, 106, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
}
.offer-banner__inner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(232, 200, 106, 0.15) 25%, transparent 50%, rgba(230, 57, 70, 0.15) 75%, transparent 100%);
  pointer-events: none;
  opacity: 0.7;
}
html[data-mode="full"] .offer-banner__inner::before {
  animation: offerConicSpin 12s linear infinite;
}
@keyframes offerConicSpin {
  to { transform: rotate(360deg); }
}
.offer-banner__inner > * {
  position: relative;
  z-index: 1;
}

.offer-banner__label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-5);
  background: linear-gradient(135deg, #E63946, #ff6b7a);
  color: #fff;
  font-weight: 900;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--r-full);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  margin-bottom: var(--s-4);
}
html[data-mode="full"] .offer-banner__label {
  animation: offerLabelShake 4s ease-in-out infinite;
}
@keyframes offerLabelShake {
  0%, 94%, 100% { transform: rotate(0deg); }
  95%           { transform: rotate(-3deg); }
  97%           { transform: rotate(3deg); }
}

.offer-banner__headline {
  font-family: var(--f-title);
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 900;
  line-height: 1;
  margin: var(--s-3) 0;
  background: linear-gradient(135deg, #fff8d6 0%, #f4d882 30%, #ffffff 50%, #E8C86A 70%, #b88f2f 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
html[data-mode="full"] .offer-banner__headline {
  animation: offerHeadlineShift 4s ease-in-out infinite;
}
@keyframes offerHeadlineShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.offer-banner__sub {
  font-size: var(--fs-md);
  color: var(--c-white);
  margin-bottom: var(--s-5);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.offer-banner__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--s-4);
  margin: var(--s-4) 0;
}
.offer-banner__old {
  font-family: var(--f-title);
  font-size: var(--fs-xl);
  color: var(--c-gray-3);
  text-decoration: line-through;
  text-decoration-color: #E63946;
  text-decoration-thickness: 3px;
}
.offer-banner__new {
  font-family: var(--f-title);
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 900;
  color: var(--c-gold);
  text-shadow: 0 4px 20px rgba(232, 200, 106, 0.6);
  line-height: 1;
}
.offer-banner__save {
  display: inline-block;
  padding: var(--s-1) var(--s-3);
  background: #E63946;
  color: #fff;
  font-weight: 900;
  font-size: var(--fs-sm);
  border-radius: var(--r-sm);
  transform: rotate(-5deg);
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.5);
  margin-left: var(--s-2);
}

.offer-timer {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(230, 57, 70, 0.5);
  border-radius: var(--r-lg);
  margin: var(--s-5) auto;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
html[data-mode="full"] .offer-timer {
  animation: offerTimerGlow 2s ease-in-out infinite;
}
@keyframes offerTimerGlow {
  0%, 100% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(230, 57, 70, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
  50%      { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(230, 57, 70, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
}
.offer-timer__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
}
.offer-timer__num {
  font-family: var(--f-title);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 12px rgba(230, 57, 70, 0.8);
  letter-spacing: -0.02em;
}
.offer-timer__lbl {
  font-size: 10px;
  color: var(--c-gray-2);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: var(--s-1);
  font-weight: 700;
}
.offer-timer__sep {
  font-size: clamp(30px, 5vw, 44px);
  color: #E63946;
  font-weight: 900;
  font-family: var(--f-title);
}
html[data-mode="full"] .offer-timer__sep {
  animation: offerSepBlink 1s ease-in-out infinite;
}
@keyframes offerSepBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.3; }
}

.offer-banner__urgency {
  color: #ff6b7a;
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-top: var(--s-3);
  margin-bottom: var(--s-5);
}
.offer-banner__urgency::before,
.offer-banner__urgency::after {
  content: "⚠️";
  margin: 0 var(--s-2);
}

.offer-banner .btn {
  font-size: var(--fs-md) !important;
  padding: var(--s-4) var(--s-7) !important;
  min-height: 64px !important;
}

.offer-timer.expired {
  border-color: rgba(108, 108, 108, 0.5);
  background: rgba(40, 40, 40, 0.6);
  animation: none !important;
}
.offer-expired {
  font-size: var(--fs-md);
  color: #888;
  font-weight: 700;
  display: block;
  padding: var(--s-3);
}

/* ==========================================================================
   OFERTA HONESTA — cupos, returning badge, crítico
   ========================================================================== */
.offer-spots {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-5);
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.45);
  border-radius: var(--r-full);
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin: var(--s-4) auto;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.offer-spots strong {
  color: #ff6b7a;
  font-weight: 800;
}
.offer-spots__icon {
  font-size: 22px;
  flex-shrink: 0;
}
html[data-mode="full"] .offer-spots__icon {
  animation: spotsFireDance 1.8s ease-in-out infinite;
  display: inline-block;
}
@keyframes spotsFireDance {
  0%, 100% { transform: scale(1) rotate(-4deg); }
  50%      { transform: scale(1.18) rotate(4deg); }
}

.offer-returning-badge {
  display: inline-block;
  padding: var(--s-2) var(--s-4);
  background: linear-gradient(135deg, rgba(76, 155, 230, 0.18), rgba(76, 155, 230, 0.08));
  border: 1px solid rgba(76, 155, 230, 0.5);
  border-radius: var(--r-full);
  color: #9ec7f4;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--s-4);
  box-shadow: 0 6px 20px rgba(76, 155, 230, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
html[data-mode="full"] .offer-returning-badge {
  animation: returningPulse 2.5s ease-in-out infinite;
}
@keyframes returningPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(76, 155, 230, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
  50%      { box-shadow: 0 6px 30px rgba(76, 155, 230, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
}

/* Estado crítico cuando quedan menos de 6 horas */
html[data-mode="full"] .offer-timer.offer-critical {
  animation: offerCriticalShake 0.8s ease-in-out infinite;
  border-color: #E63946 !important;
}
@keyframes offerCriticalShake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-2px); }
  75%      { transform: translateX(2px); }
}
html[data-mode="full"] .offer-timer.offer-critical .offer-timer__num {
  color: #ff6b7a;
  text-shadow: 0 2px 12px rgba(230, 57, 70, 1);
}

/* ==========================================================================
   FIX 12: Topbar — asegurar contraste y proporciones
   ========================================================================== */
.topbar__inner {
  padding: var(--s-4) var(--s-5) !important;
  min-height: 72px;
}
.topbar__logo img {
  width: 60px !important;
  height: 60px !important;
  flex-shrink: 0 !important;
}
.topbar__logo {
  gap: var(--s-3) !important;
}
