/* ==========================================================================
   Motion Graphics System — Un Sábado Más Bonito · Navidad 2026
   Capa modular nativa (CSS + SVG + Canvas ligero + WAAPI) sin dependencias.
   Respeta prefers-reduced-motion y conserva los 10 assets originales.
   ========================================================================== */

html, body {
  overflow-x: clip;
}

/* 1. Transiciones fluidas entre páginas (Multipágina con View Transitions API) */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: motion-page-out 240ms cubic-bezier(.4, 0, .2, 1) both;
}
::view-transition-new(root) {
  animation: motion-page-in 360ms cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes motion-page-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-6px) scale(.994); }
}
@keyframes motion-page-in {
  from { opacity: 0; transform: translateY(10px) scale(.996); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 2. Barra de progreso de lectura navideña */
.motion-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 95;
  pointer-events: none;
  background: transparent;
}
.motion-scroll-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #00bfc5, #ffe28a 52%, #ff6262);
  box-shadow: 0 0 12px #00bfc5aa, 0 0 18px #ffe28a80;
  will-change: transform;
}

/* Ocultar temporalmente a Santi bailando en esquina (conservando el asset en el proyecto) */
.santi-corner {
  display: none !important;
}

/* 3. Cabecera unificada con Glassmorfismo (logos amplios y alineados + 7 enlaces + luces acopladas) */
.topbar {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 12px 16px 0;
  z-index: 45;
  transition: padding .3s ease;
}
.topbar > .shell {
  width: min(1540px, 100%);
  max-width: 1540px !important;
  margin: 0 auto;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(10, 48, 92, .56), rgba(4, 30, 64, .64));
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  box-shadow: 0 12px 34px rgba(0, 12, 30, .34), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.topbar.is-scrolled > .shell {
  background: linear-gradient(135deg, rgba(5, 32, 66, .82), rgba(2, 22, 48, .88));
  border-color: rgba(255, 227, 154, .32);
  box-shadow: 0 16px 42px rgba(0, 10, 26, .52), inset 0 1px 0 rgba(255, 255, 255, .22);
}
@media (min-width: 1201px) {
  .topbar > .shell {
    min-height: 102px;
    display: grid;
    grid-template-columns: 192px minmax(0, 1fr) 216px;
    align-items: center;
    gap: 14px;
    padding: 8px 26px;
  }
  .topbar .brand {
    justify-self: start;
    width: 100%;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
  }
  .topbar .brand-logo {
    width: 186px;
    height: 86px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
  }
  .topbar .brand-logo img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
  }
  .topbar .institutional-brand {
    justify-self: end;
    width: 100%;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .topbar .institutional-brand img {
    width: auto;
    height: 52px;
    max-width: 214px;
    object-fit: contain;
  }
  /* Los 7 enlaces integrados directamente dentro de la barra de vidrio en una sola línea */
  .topbar .nav {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .topbar .nav a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px clamp(9px, .82vw, 13px);
    font-size: clamp(12.5px, .88vw, 14px);
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 12px;
    color: rgba(235, 245, 255, .88);
    background: transparent;
    border: 1px solid transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  html { scroll-padding-top: 140px; }
}
@media (min-width: 1201px) and (max-width: 1520px) {
  .topbar > .shell {
    min-height: 96px;
    grid-template-columns: 168px minmax(0, 1fr) 190px;
    gap: 10px;
    padding: 8px 18px;
  }
  .topbar .brand,
  .topbar .institutional-brand {
    height: 80px;
  }
  .topbar .brand-logo {
    width: 164px;
    height: 80px;
  }
  .topbar .institutional-brand img {
    height: 46px;
    max-width: 186px;
  }
  .topbar .nav {
    gap: 2px;
  }
  .topbar .nav a {
    padding: 8px 8.5px;
    font-size: 12.6px;
  }
}
@media (min-width: 1201px) and (max-width: 1360px) {
  .topbar > .shell {
    min-height: 90px;
    grid-template-columns: 150px minmax(0, 1fr) 168px;
    gap: 6px;
    padding: 8px 14px;
  }
  .topbar .brand,
  .topbar .institutional-brand {
    height: 74px;
  }
  .topbar .brand-logo {
    width: 146px;
    height: 74px;
  }
  .topbar .institutional-brand img {
    height: 40px;
    max-width: 164px;
  }
  .topbar .nav {
    gap: 1px;
  }
  .topbar .nav a {
    padding: 8px 7px;
    font-size: 11.8px;
  }
}
@media (max-width: 1200px) {
  .topbar {
    padding: 8px 10px 0;
  }
  .topbar > .shell {
    min-height: 84px;
    padding: 8px 14px;
    border-radius: 18px;
    gap: 10px;
  }
  .topbar .brand {
    display: flex;
    align-items: center;
    height: 74px;
  }
  .topbar .brand-logo {
    width: 148px;
    height: 74px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
  }
  .topbar .brand-logo img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
  .topbar .institutional-brand {
    height: 74px;
    justify-content: flex-end;
  }
  .topbar .institutional-brand img {
    height: 44px;
    width: auto;
    max-width: 182px;
  }
  .topbar .nav {
    top: calc(100% + 6px);
    left: 10px;
    right: 10px;
    border-radius: 18px;
    background: rgba(5, 34, 68, .92);
    border: 1px solid rgba(255, 255, 255, .24);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
    box-shadow: 0 18px 40px rgba(0, 12, 30, .55);
  }
}
@media (max-width: 710px) {
  .topbar {
    padding: 8px 8px 0;
  }
  .topbar > .shell {
    min-height: 74px;
    padding: 6px 10px;
    gap: 6px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .topbar .brand,
  .topbar .institutional-brand {
    height: 64px;
  }
  .topbar .brand-logo {
    width: min(124px, 34vw);
    height: 64px;
  }
  .topbar .nav-toggle {
    min-width: 42px;
    min-height: 42px;
    padding: 6px 9px;
    font-size: 19px;
  }
  .topbar .institutional-brand img {
    height: auto;
    max-height: 36px;
    max-width: min(142px, 37vw);
  }
}
.topbar .nav a {
  position: relative;
  overflow: visible;
  transition: background-color .2s ease, color .2s ease;
}
.topbar .nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, .07);
  border-color: transparent;
}
/* Estado activo minimalista: fondo sutil y línea fija Brandbook Cyan sin brillos ni arcoíris */
.topbar .nav a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, .11);
  border-color: transparent;
  box-shadow: none;
  text-shadow: none;
}
.topbar .nav a.active::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 24px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #01C5C6;
  box-shadow: none;
  animation: nav-indicator-in .26s cubic-bezier(.22, 1, .36, 1) both;
}
.topbar .nav a.active::after {
  content: none;
  display: none;
}
@keyframes nav-indicator-in {
  from { transform: translateX(-50%) scaleX(.35); opacity: .5; }
  to { transform: translateX(-50%) scaleX(1); opacity: 1; }
}

/* Guirnalda exactamente acoplada al ancho de la barra de vidrio (nunca flota en 27") */
.christmas-garland {
  width: min(1490px, calc(100% - 64px));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  top: calc(100% - 3px);
}

/* 4. Hero Principal con imágenes de fondo (imagenes fondo/) + reserva oculta de animación Dakar */
.dakar-animation-reserve[hidden] {
  display: none !important;
}
.hero {
  isolation: isolate;
}
.hero-fondo {
  background: #001f44;
  position: relative;
  overflow: hidden;
  z-index: 6;
  margin-top: -116px;
  padding-top: 116px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-fondo::before {
  content: none;
  display: none;
}
.hero-bg-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #001f44;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.2s cubic-bezier(.37, 0, .23, 1), transform 7.5s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.hero-bg-slide-1 {
  z-index: 0;
  opacity: 1;
  object-position: 62% 38%;
}
.hero-bg-slide-2 {
  z-index: 1;
  object-position: 54% 36%;
}
.hero-bg-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(94deg, rgba(0, 27, 62, .72) 0%, rgba(0, 34, 76, .40) 28%, rgba(0, 34, 76, .06) 50%, transparent 72%),
    linear-gradient(180deg, rgba(0, 24, 56, .52) 0%, transparent 20%, transparent 82%, #032c54 100%);
}
.hero-bg-scrim::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  background:
    linear-gradient(96deg, rgba(0, 24, 58, .92) 0%, rgba(0, 35, 78, .78) 34%, rgba(0, 35, 78, .28) 54%, transparent 74%),
    linear-gradient(180deg, rgba(0, 24, 56, .58) 0%, transparent 22%, transparent 82%, #032c54 100%);
}
.hero-fondo[data-active-bg="1"] .hero-bg-scrim::after {
  opacity: 1;
}
.hero-fondo .hero-fondo-shell {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: min(1440px, 100%);
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: calc(100dvh - 116px);
  padding-top: 24px;
  padding-bottom: 56px;
}
.hero-fondo-copy {
  max-width: min(468px, 36.5%);
  flex: 0 1 auto;
}
/* Logo principal vistoso de campaña ubicado a la derecha en la portada con Motion Graphics */
.hero-featured-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin: 8px 0 0 auto;
  width: clamp(275px, 24.5vw, 375px);
  padding: 10px 14px 18px;
  flex: 0 0 auto;
  perspective: 760px;
  cursor: pointer;
  user-select: none;
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform .95s cubic-bezier(.22, 1.12, .36, 1), filter .6s ease;
  will-change: transform;
}
/* En la segunda imagen (IMG_1272.PNG), el logo desciende con motion graphics para despejar el rostro de Santi */
.hero-fondo[data-active-bg="1"] .hero-featured-logo {
  transform: translate3d(-44px, clamp(285px, 41dvh, 395px), 0) scale(.92);
}
.hero-featured-logo.is-repositioning .hfl-stage {
  animation: hfl-glide-bank .92s cubic-bezier(.22, 1, .36, 1);
}
.hero-featured-logo.is-repositioning .hfl-arc-cyan {
  animation-duration: 2.8s;
  opacity: 1;
}
@keyframes hfl-glide-bank {
  0% { transform: rotateX(0deg) rotateY(0deg) rotate(0deg) scale(1); }
  36% { transform: rotateX(4deg) rotateY(-8deg) rotate(-4deg) scale(.94); }
  72% { transform: rotateX(-2deg) rotateY(4deg) rotate(2deg) scale(1.04); }
  100% { transform: rotateX(0deg) rotateY(0deg) rotate(0deg) scale(1); }
}
.hfl-aura {
  position: absolute;
  inset: 8% 4% 14%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 50%, rgba(0, 32, 74, .58) 0%, rgba(1, 197, 198, .28) 46%, transparent 74%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
  animation: hfl-aura-pulse 4.8s ease-in-out infinite;
}
.hfl-orbit {
  position: absolute;
  inset: -8% -10% 2%;
  width: 120%;
  height: 106%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
.hfl-arc {
  transform-box: fill-box;
  transform-origin: center;
}
.hfl-arc-cyan {
  opacity: .72;
  animation: hfl-orbit-cw 11s linear infinite;
}
.hfl-arc-coral {
  opacity: .64;
  animation: hfl-orbit-ccw 15s linear infinite;
}
.hfl-star {
  transform-box: fill-box;
  transform-origin: center;
}
.hfl-star-1 {
  animation: hfl-star-twinkle 3.2s ease-in-out infinite;
}
.hfl-star-2 {
  animation: hfl-star-twinkle 3.8s 1.4s ease-in-out infinite;
}
.hfl-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  transform: rotateX(var(--hfl-rx, 0deg)) rotateY(var(--hfl-ry, 0deg));
  transition: transform .22s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.hfl-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(178px, 24dvh, 250px);
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 14, 36, .58)) drop-shadow(0 0 20px rgba(1, 197, 198, .26));
  animation: hfl-float 4.6s ease-in-out infinite;
  will-change: transform;
}
.hfl-shadow {
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 2px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 10, 28, .55) 0%, transparent 72%);
  pointer-events: none;
  z-index: 1;
  animation: hfl-shadow-breathe 4.6s ease-in-out infinite;
}
.motion-ready .hero-featured-logo .hfl-img {
  animation:
    hfl-enter .68s 0ms cubic-bezier(.22, 1.28, .36, 1) both,
    hfl-float 4.6s .7s ease-in-out infinite;
}
.hero-featured-logo.is-popped .hfl-img {
  animation: hfl-pop .56s cubic-bezier(.22, 1.35, .36, 1) both, hfl-float 4.6s .6s ease-in-out infinite;
}
.hero-featured-logo:hover .hfl-aura {
  opacity: 1;
  transform: scale(1.1);
}
@keyframes hfl-enter {
  0% { opacity: .88; transform: translate3d(0, 12px, 0) scale(.9) rotate(-2deg); }
  68% { opacity: 1; transform: translate3d(0, -4px, 0) scale(1.03) rotate(.8deg); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
}
@keyframes hfl-pop {
  0% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.09) translateY(-6px) rotate(-2.5deg); }
  70% { transform: scale(.98) translateY(1px) rotate(1.2deg); }
  100% { transform: scale(1) translateY(0) rotate(0deg); }
}
@keyframes hfl-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(0, -7px, 0) rotate(1.1deg); }
}
@keyframes hfl-shadow-breathe {
  0%, 100% { transform: scaleX(1); opacity: .65; }
  50% { transform: scaleX(.84); opacity: .38; }
}
@keyframes hfl-aura-pulse {
  0%, 100% { transform: scale(.96); opacity: .78; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes hfl-orbit-cw {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -610; }
}
@keyframes hfl-orbit-ccw {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 604; }
}
@keyframes hfl-star-twinkle {
  0%, 100% { transform: scale(.75) rotate(0deg); opacity: .55; }
  50% { transform: scale(1.18) rotate(45deg); opacity: 1; }
}

/* Titular principal Brandbook Caja Arequipa: recto (sin cursiva), paleta natural blanco + Cyan #01C5C6 + punto Coral #FF6262, con motion graphics tipográfico mate */
.hero-fondo .dakar-copy h1.hero-brand-title {
  margin-top: 0;
  margin-bottom: 18px;
  font-family: var(--font-primary);
  font-style: normal;
  font-size: clamp(36px, 3.85vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-transform: none;
  color: #ffffff;
  text-shadow: 0 6px 24px rgba(0, 18, 46, .42);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  cursor: default;
}
.hero-brand-title .hbt-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.24em;
  row-gap: 2px;
}
.hero-brand-title .hbt-mask {
  display: inline-block;
  overflow: visible;
  vertical-align: baseline;
}
.hero-brand-title .hbt-word {
  display: inline-block;
  font-style: normal;
  color: #ffffff;
  will-change: transform;
}
.hero-brand-title .hbt-word-accent {
  color: #01C5C6;
}
.hero-brand-title .hbt-dot {
  display: inline-block;
  color: #FF6262;
  margin-left: 0.02em;
  transform-origin: center 80%;
}

/* Motion graphics tipográfico mate: asentamiento cinético escalonado (visible desde el primer frame) + cadencia rítmica secuencial por palabra */
.motion-ready .hero-brand-title .hbt-w1 {
  animation:
    hbt-word-enter .5s 0ms cubic-bezier(.22, 1, .36, 1) both,
    hbt-word-cadence 5.6s 1.6s cubic-bezier(.34, 1.4, .64, 1) infinite;
}
.motion-ready .hero-brand-title .hbt-w2 {
  animation:
    hbt-word-enter .5s 65ms cubic-bezier(.22, 1, .36, 1) both,
    hbt-word-cadence 5.6s 1.74s cubic-bezier(.34, 1.4, .64, 1) infinite;
}
.motion-ready .hero-brand-title .hbt-w3 {
  animation:
    hbt-word-enter .52s 130ms cubic-bezier(.22, 1, .36, 1) both,
    hbt-word-cadence 5.6s 1.88s cubic-bezier(.34, 1.4, .64, 1) infinite;
}
.motion-ready .hero-brand-title .hbt-w4 {
  animation:
    hbt-word-enter .54s 195ms cubic-bezier(.22, 1, .36, 1) both,
    hbt-word-cadence 5.6s 2.02s cubic-bezier(.34, 1.4, .64, 1) infinite;
}
.motion-ready .hero-brand-title .hbt-dot {
  animation:
    hbt-dot-enter .46s 280ms cubic-bezier(.22, 1.4, .36, 1) both,
    hbt-dot-beat 5.6s 2.16s cubic-bezier(.34, 1.5, .64, 1) infinite;
}
.motion-ready .hero-brand-title.is-replaying .hbt-w1 {
  animation: hbt-word-enter .46s 0ms cubic-bezier(.22, 1, .36, 1) both;
}
.motion-ready .hero-brand-title.is-replaying .hbt-w2 {
  animation: hbt-word-enter .46s 60ms cubic-bezier(.22, 1, .36, 1) both;
}
.motion-ready .hero-brand-title.is-replaying .hbt-w3 {
  animation: hbt-word-enter .48s 120ms cubic-bezier(.22, 1, .36, 1) both;
}
.motion-ready .hero-brand-title.is-replaying .hbt-w4 {
  animation: hbt-word-enter .5s 180ms cubic-bezier(.22, 1, .36, 1) both;
}
.motion-ready .hero-brand-title.is-replaying .hbt-dot {
  animation: hbt-dot-enter .44s 260ms cubic-bezier(.22, 1.4, .36, 1) both;
}

@keyframes hbt-word-enter {
  from { opacity: .88; transform: translate3d(0, 14px, 0) scale(.97); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes hbt-word-cadence {
  0%, 84%, 100% { transform: translate3d(0, 0, 0); }
  90% { transform: translate3d(0, -5px, 0); }
  95% { transform: translate3d(0, 1px, 0); }
}
@keyframes hbt-dot-enter {
  0% { transform: scale(.72) translateY(-6px); }
  65% { transform: scale(1.26) translateY(0); }
  100% { transform: scale(1) translateY(0); }
}
@keyframes hbt-dot-beat {
  0%, 84%, 100% { transform: scale(1) translateY(0); }
  90% { transform: scale(1.3) translateY(-5px); }
  95% { transform: scale(.94) translateY(0); }
}
.hero-fondo .dakar-copy > p:not(.hero-cta-kinetic) {
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  line-height: 1.65;
  text-shadow: 0 2px 14px rgba(0, 14, 34, .45);
}
.hero-fondo .hero-cta-kinetic {
  max-width: 472px;
}
.hero-bg-controls {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(4, 30, 64, .58);
  border: 1px solid rgba(255, 255, 255, .26);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px rgba(0, 12, 30, .38);
}
.hero-bg-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  transition: width .28s cubic-bezier(.22, 1, .36, 1), background .28s ease, box-shadow .28s ease;
}
.hero-bg-dot:hover {
  background: rgba(255, 255, 255, .78);
}
.hero-bg-dot.is-active,
.hero-bg-dot[aria-pressed="true"] {
  width: 28px;
  background: linear-gradient(90deg, #01C5C6, #ffffff);
  box-shadow: 0 0 12px rgba(255, 255, 255, .48);
}
.hero-bg-dot:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.hero-dakar {
  background: #021c3c;
  position: relative;
  overflow: visible;
  z-index: 6;
  margin-top: -116px;
  padding-top: 116px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body[data-page='home'] main {
  position: relative;
  z-index: 2;
}
body[data-page='home'] main > .concept-section {
  padding-top: 64px;
}
.hero-dakar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(96deg, #001f44f2 0%, #002858cf 34%, #00285852 58%, #0028581a 82%, #001d3f44 100%),
    linear-gradient(180deg, #001f4478 0%, transparent 22%, transparent 78%, #032c54 100%);
  pointer-events: none;
}
.dakar-world-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.dakar-panorama {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 52%;
  z-index: 0;
  transition: opacity 2.2s cubic-bezier(.37, 0, .23, 1);
  will-change: opacity;
}
.dakar-world-slide {
  opacity: 0;
}
.dakar-world-slide.is-active {
  opacity: 1;
}
.dakar-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(36% 42% at 68% 46%, var(--world-glow, rgba(255, 210, 102, .22)), transparent 72%),
    radial-gradient(34% 38% at 18% 22%, var(--world-rim, rgba(0, 191, 197, .14)), transparent 70%);
  mix-blend-mode: screen;
  transition: background 2s ease;
}
.hero-dakar[data-active-world="rocas"] { --world-glow: rgba(240, 146, 86, .24); --world-rim: rgba(0, 191, 197, .16); }
.hero-dakar[data-active-world="montana"] { --world-glow: rgba(132, 224, 248, .22); --world-rim: rgba(255, 224, 140, .16); }
.hero-dakar[data-active-world="selva"] { --world-glow: rgba(128, 222, 130, .22); --world-rim: rgba(255, 216, 114, .18); }
.hero-dakar[data-active-world="valle"] { --world-glow: rgba(206, 228, 104, .22); --world-rim: rgba(0, 191, 197, .16); }
.hero-dakar[data-active-world="nieve"] { --world-glow: rgba(162, 238, 255, .28); --world-rim: rgba(255, 225, 138, .22); }
.hero-dakar-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Capa de pista con overflow visible para el efecto 3D de las motos saliendo del hero */
.dakar-road-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  overflow: visible;
  transition: opacity .35s ease;
}
.dakar-road-layer.is-switching {
  opacity: 0;
}

.hero-dakar .dakar-shell {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: min(1440px, 100%);
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  grid-template-areas: 'copy stage';
  gap: 24px 36px;
  align-items: center;
  min-height: calc(100dvh - 116px);
  padding-top: 28px;
  padding-bottom: 48px;
  pointer-events: none;
}
.dakar-copy,
.dakar-worlds-strip {
  pointer-events: auto;
}
.dakar-copy {
  grid-area: copy;
  align-self: center;
}
.hero-dakar .dakar-copy h1 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.05;
  letter-spacing: -.5px;
  text-transform: uppercase;
}
/* Llamado a la acción cinético sin recuadro (inspirado en acomodos tipográficos del Brandbook Caja Arequipa, pp. 15-16) */
.hero-cta-kinetic {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 12px;
  align-items: start;
  margin: 22px 0 4px;
  padding: 0;
  max-width: 540px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: var(--font-primary);
}
.cta-k-spark {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  color: #01C5C6;
  filter: drop-shadow(0 0 10px rgba(1, 197, 198, .75));
  animation: cta-spark-spin 5.4s cubic-bezier(.45, .05, .55, .95) infinite;
}
.cta-k-spark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.cta-k-text {
  grid-column: 2;
  grid-row: 1;
  display: block;
  font-size: clamp(17.5px, 1.48vw, 21.5px);
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: #eef9ff;
  text-shadow: 0 3px 16px rgba(0, 14, 34, .65);
  text-wrap: balance;
}
.cta-k-lead,
.cta-k-tail {
  font-weight: 500;
  display: inline;
}
.cta-k-highlight {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 2px 7px 0;
  font-style: italic;
  font-weight: 900;
  max-width: 100%;
  white-space: nowrap;
}
.cta-k-highlight-word {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: linear-gradient(100deg, #01C5C6 0%, #62C1C6 28%, #ffffff 52%, #01C5C6 78%, #ffffff 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 14px rgba(1, 197, 198, .38));
  animation: cta-word-shimmer 4.6s linear infinite;
}
.cta-k-swoop {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0;
  width: 104%;
  height: 11px;
  overflow: visible;
  pointer-events: none;
}
.cta-k-swoop path {
  fill: none;
  stroke-linecap: round;
}
.cta-k-swoop-base {
  stroke: #01C5C6;
  stroke-width: 3;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  opacity: .92;
  filter: drop-shadow(0 0 7px rgba(1, 197, 198, .75));
}
.cta-k-swoop-glint {
  stroke: #ffffff;
  stroke-width: 3.4;
  stroke-dasharray: .22 1;
  stroke-dashoffset: 1.22;
  animation: cta-swoop-glint 3.8s 1.1s cubic-bezier(.4, 0, .2, 1) infinite;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .92));
}

/* Coreografía de entrada de la frase cinética (sin ocultar texto en el primer pintado) */
.motion-ready .hero-cta-kinetic .cta-k-spark {
  animation: cta-spark-pop .56s .05s cubic-bezier(.22, 1, .36, 1) both, cta-spark-spin 5.4s .8s cubic-bezier(.45, .05, .55, .95) infinite;
}
.motion-ready .hero-cta-kinetic .cta-k-text {
  animation: cta-phrase-rise .52s .08s cubic-bezier(.22, 1, .36, 1) both;
}
.motion-ready .hero-cta-kinetic .cta-k-highlight {
  animation: cta-phrase-rise .58s .14s cubic-bezier(.22, 1, .36, 1) both;
}
.motion-ready .hero-cta-kinetic .cta-k-swoop-base {
  stroke-dashoffset: 1;
  animation: cta-swoop-draw .82s .26s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* Pulso luminoso en blanco corporativo al interactuar con los botones CTA */
.hero-cta-kinetic.is-energized .cta-k-spark {
  color: #ffffff;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, .9));
}
.hero-cta-kinetic.is-energized .cta-k-highlight-word {
  animation-duration: 2.1s;
  filter: drop-shadow(0 4px 18px rgba(255, 255, 255, .62));
}

@keyframes cta-spark-pop {
  0% { opacity: .75; transform: scale(.6) rotate(-65deg); }
  70% { opacity: 1; transform: scale(1.16) rotate(10deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes cta-spark-spin {
  0%, 100% { transform: scale(1) rotate(0deg); color: #01C5C6; }
  45% { transform: scale(1.16) rotate(90deg); color: #ffffff; }
  72% { transform: scale(.96) rotate(180deg); color: #FF6262; }
}
@keyframes cta-phrase-rise {
  from { opacity: .82; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes cta-word-shimmer {
  from { background-position: 220% 50%; }
  to { background-position: -40% 50%; }
}
@keyframes cta-swoop-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes cta-swoop-glint {
  0%, 52% { stroke-dashoffset: 1.22; opacity: 0; }
  62% { opacity: 1; }
  92% { opacity: 1; }
  100% { stroke-dashoffset: -0.25; opacity: 0; }
}

/* Nueva forma de llamados a la acción en portada (curvas orgánicas Brandbook Caja Arequipa, pág. 27) */
.hero-fondo .hero-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.hero-fondo .btn-hero-cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 24px;
  border-radius: 999px 999px 999px 14px;
  background: linear-gradient(135deg, #FF6262 0%, #E74754 100%);
  color: #ffffff;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 20, 46, .25);
  box-shadow: 0 12px 28px rgba(231, 71, 84, .42), 0 0 0 1px rgba(255, 255, 255, .24) inset;
}
.hero-fondo .btn-hero-cta-primary .cta-btn-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ffffff;
  color: #00346D;
  box-shadow: 0 4px 12px rgba(0, 20, 46, .22);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), background-color .28s ease;
}
.hero-fondo .btn-hero-cta-primary .cta-btn-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}
.hero-fondo .btn-hero-cta-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff706e 0%, #ec4f5b 100%);
  box-shadow: 0 16px 34px rgba(255, 98, 98, .54), 0 0 0 2px rgba(255, 255, 255, .52);
}
.hero-fondo .btn-hero-cta-primary:hover .cta-btn-arrow {
  transform: scale(1.06);
  background: #ffffff;
}
.hero-fondo .btn-hero-cta-primary:hover .cta-btn-arrow svg {
  transform: translateX(3px);
}
.hero-fondo .btn-hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px 999px 999px 999px;
  background: rgba(4, 34, 72, .48);
  border: 1.5px solid rgba(1, 197, 198, .75);
  color: #ffffff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15.5px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px rgba(0, 14, 34, .32), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.hero-fondo .btn-hero-cta-secondary .cta-btn-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #01C5C6;
  transition: transform .26s cubic-bezier(.22, 1, .36, 1), color .26s ease;
}
.hero-fondo .btn-hero-cta-secondary .cta-btn-icon svg {
  width: 100%;
  height: 100%;
}
.hero-fondo .btn-hero-cta-secondary:hover:not(:disabled) {
  background: rgba(1, 197, 198, .22);
  border-color: #6df8f9;
  box-shadow: 0 14px 30px rgba(1, 197, 198, .3);
}
.hero-fondo .btn-hero-cta-secondary:hover .cta-btn-icon {
  color: #ffffff;
  transform: scale(1.1) rotate(-4deg);
}

/* Escena derecha limpia: selector de 6 mundos arriba y camino despejado abajo */
.hero-dakar .dakar-scene {
  grid-area: stage;
  align-self: stretch;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: clamp(440px, 64dvh, 660px);
  height: auto;
  padding-top: 8px;
  pointer-events: none;
}

/* Selector Glassmorfismo compacto de los 6 mundos en la parte superior derecha */
.dakar-worlds-strip.dakar-worlds-top {
  grid-area: auto;
  display: block;
  width: 100%;
  max-width: 610px;
  padding: 9px 11px;
  border-radius: 20px;
  background: rgba(8, 42, 82, .52);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 12px 30px rgba(0, 14, 34, .34);
}
.dakar-worlds-top .dakar-worlds {
  grid-area: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0;
}
.dakar-worlds-top .dakar-world-btn {
  padding: 6px 4px 4px;
  border-radius: 14px;
}
.dakar-worlds-top .dakar-worlds img {
  width: 100%;
  height: 58px;
  object-fit: contain;
}

/* Los 3 competidores posicionados sobre el spline exacto del camino (anclados en sus llantas) */
.dakar-road-layer .dakar-rider-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(235px, 21vw, 315px);
  transform-origin: 50% 94%;
  will-change: transform, opacity, filter;
  pointer-events: none;
}
.dakar-road-layer .dakar-rider-wrap.rider-a1 { z-index: 2; }
.dakar-road-layer .dakar-rider-wrap.rider-a2 { z-index: 3; }
.dakar-road-layer .dakar-rider-wrap.rider-santi { z-index: 4; }
.dakar-rider-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(0, 14, 34, .65)) drop-shadow(0 0 18px rgba(255, 206, 98, .18));
}
.dakar-rider-wrap.is-cruising .dakar-rider-img {
  animation: dakar-cruise-ride 2.1s ease-in-out infinite;
}
.dakar-rider-wrap.rider-a1.is-cruising .dakar-rider-img {
  animation: dakar-duel-left 2.75s ease-in-out infinite;
}
.dakar-rider-wrap.rider-a2.is-cruising .dakar-rider-img {
  animation: dakar-duel-right 3.05s -.7s ease-in-out infinite;
}
@keyframes dakar-cruise-ride {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25% { transform: translate3d(-2px, -4px, 0) rotate(-1deg); }
  50% { transform: translate3d(1px, -1px, 0) rotate(.6deg); }
  75% { transform: translate3d(-1px, -5px, 0) rotate(-.8deg); }
}
@keyframes dakar-duel-left {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  32% { transform: translate3d(-6px, -5px, 0) rotate(-1.8deg) scale(1.02); }
  65% { transform: translate3d(4px, -2px, 0) rotate(1deg) scale(.99); }
}
@keyframes dakar-duel-right {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  30% { transform: translate3d(5px, -4px, 0) rotate(1.4deg) scale(.99); }
  62% { transform: translate3d(-6px, -6px, 0) rotate(-1.9deg) scale(1.025); }
}

/* Haz de faro LED + destello en la torre Dakar */
.dakar-headlight-beam {
  position: absolute;
  left: -26%;
  top: 26%;
  width: 68%;
  height: 46%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 92% 45%, rgba(255, 244, 198, .55), rgba(255, 209, 102, .22) 38%, rgba(0, 191, 197, .06) 62%, transparent 78%);
  clip-path: polygon(100% 42%, 0% 8%, 0% 96%, 100% 56%);
  filter: blur(8px);
  opacity: .75;
  transform-origin: 95% 48%;
  animation: dakar-beam-pulse 2.4s ease-in-out infinite;
}
.dakar-headlight-flare {
  position: absolute;
  left: 25.5%;
  top: 27%;
  width: 74px;
  height: 74px;
  z-index: 4;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 252, 232, .95) 0%, rgba(255, 224, 130, .55) 28%, rgba(255, 192, 67, .16) 58%, transparent 76%);
  mix-blend-mode: screen;
  animation: dakar-flare-pulse 1.9s ease-in-out infinite;
}
@keyframes dakar-beam-pulse {
  0%, 100% { opacity: .62; transform: scaleX(.96); }
  50% { opacity: .94; transform: scaleX(1.06); }
}
@keyframes dakar-flare-pulse {
  0%, 100% { opacity: .72; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.16); }
}

.dakar-ground-shadow {
  position: absolute;
  left: 10%;
  right: 8%;
  bottom: -4px;
  height: 26px;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 12, 28, .72), rgba(0, 12, 28, .22) 55%, transparent 75%);
  filter: blur(5px);
  pointer-events: none;
}
.hero-dakar .dakar-flag-badge {
  position: absolute;
  left: 158px;
  right: auto;
  top: 22px;
  bottom: auto;
  z-index: 5;
  padding: 6px 13px;
  font-size: 12px;
  background: rgba(2, 27, 58, .72);
  border: 1px solid rgba(255, 224, 140, .42);
  color: #fff4d2;
}

/* Franja interactiva de 6 etapas/mundos Dakar en la base del hero */
.dakar-worlds-strip {
  grid-area: worlds;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(2, 27, 58, .84), rgba(4, 44, 84, .72));
  border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 38px rgba(0, 16, 36, .42);
}
.dakar-worlds-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, .22);
}
.dakar-worlds-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.7px;
  color: #ffe39a;
  white-space: nowrap;
  padding-right: 0;
  border-right: 0;
}
.dakar-worlds-meta small {
  font-size: 11px;
  color: #9ed9e8;
  font-weight: 700;
}
.dakar-worlds-strip .dakar-worlds {
  grid-area: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  padding: 0;
  width: 100%;
}
.dakar-world-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 6px 6px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  transition: transform .26s cubic-bezier(.22, 1, .36, 1), background .26s ease, border-color .26s ease, box-shadow .26s ease;
}
.dakar-world-btn:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 191, 197, .75);
  background: rgba(0, 191, 197, .14);
}
.dakar-world-btn.is-active,
.dakar-world-btn[aria-pressed='true'] {
  transform: translateY(-4px);
  border-color: #ffe39a;
  background: linear-gradient(150deg, rgba(0, 191, 197, .28), rgba(255, 227, 154, .18));
  box-shadow: 0 10px 24px rgba(0, 191, 197, .3), 0 0 0 1px rgba(255, 227, 154, .5);
}
.dakar-world-num {
  position: absolute;
  top: 5px;
  left: 7px;
  font-size: 10px;
  font-weight: 900;
  color: #9cd4e8;
  letter-spacing: .5px;
}
.dakar-world-btn.is-active .dakar-world-num {
  color: #ffe8a3;
}
.dakar-worlds-strip .dakar-worlds img {
  width: 100%;
  height: 76px;
  object-fit: contain;
  pointer-events: none;
}

/* Guirnalda navideña más discreta y nieve suave (complemento, no protagonista) */
.christmas-garland {
  height: 50px;
  opacity: .84;
}
.christmas-garland svg {
  height: 48px;
}
.falling-snow i {
  opacity: .42;
}

/* Concepto interactivo con estética Rally Dakar (sin trineo ni adornos flotantes) */
.dakar-concept-scene {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 12px;
}
.dakar-concept-moto {
  max-width: 340px;
  height: 270px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 14, 34, .65));
  animation: dakar-cruise-ride 2.6s ease-in-out infinite;
}
.dakar-concept-ring {
  position: absolute;
  width: 290px;
  height: 290px;
  top: 44%;
  left: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  border: 2px dashed rgba(0, 191, 197, .42);
  box-shadow: 0 0 42px rgba(0, 191, 197, .16), inset 0 0 36px rgba(255, 224, 140, .09);
  z-index: -1;
  pointer-events: none;
  animation: mi-spin 36s linear infinite;
}
.dakar-concept-speed {
  position: absolute;
  inset: 14% 6% 24%;
  background: repeating-linear-gradient(-16deg, transparent 0 22px, rgba(255, 227, 154, .06) 22px 24px);
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .hero-fondo {
    margin-top: -94px;
    padding-top: 94px;
  }
  .hero-fondo .hero-fondo-shell {
    min-height: calc(100dvh - 94px);
  }
  .hero-fondo-copy {
    max-width: min(440px, 42%);
  }
  .hero-featured-logo {
    width: clamp(235px, 23vw, 295px);
    margin: 4px 0 0 auto;
  }
}
@media (max-width: 1020px) {
  .hero-dakar {
    margin-top: -94px;
    padding-top: 106px;
    min-height: 100dvh;
  }
  .hero-dakar .dakar-shell {
    grid-template-columns: 1fr;
    grid-template-areas: 'copy' 'stage';
    min-height: calc(100dvh - 106px);
    padding-top: 22px;
    padding-bottom: 34px;
    gap: 18px;
  }
  .hero-dakar .dakar-scene {
    min-height: clamp(320px, 42dvh, 430px);
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
  }
}
@media (max-width: 860px) {
  .hero-fondo {
    margin-top: -92px;
    padding-top: 104px;
    min-height: auto;
    justify-content: flex-start;
  }
  .hero-fondo .hero-fondo-shell {
    order: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 20px;
  }
  .hero-fondo-copy {
    max-width: 100%;
  }
  .hero-featured-logo {
    order: -1;
    align-self: center;
    margin: 0 auto 2px;
    width: clamp(210px, 52vw, 275px);
    padding: 6px 10px 12px;
  }
  .hero-fondo[data-active-bg="1"] .hero-featured-logo {
    transform: none;
  }
  .hfl-img {
    max-height: 175px;
  }
  .hero-bg-scrim {
    display: none;
  }
  .hero-bg-layers {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 360px;
    min-height: 240px;
    margin-top: 2px;
  }
  .hero-bg-layers::before,
  .hero-bg-layers::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    pointer-events: none;
  }
  .hero-bg-layers::before {
    top: 0;
    height: 24%;
    background: linear-gradient(180deg, #001f44 0%, transparent 100%);
  }
  .hero-bg-layers::after {
    bottom: 0;
    height: 26%;
    background: linear-gradient(0deg, #032c54 0%, transparent 100%);
  }
  .hero-bg-slide-1 {
    object-position: 86% 42%;
  }
  .hero-bg-slide-2 {
    object-position: 66% 42%;
  }
  .hero-bg-controls {
    right: auto;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
  }
}
@media (max-width: 710px) {
  .hero-fondo {
    margin-top: -86px;
    padding-top: 96px;
  }
  .hero-fondo .dakar-copy h1.hero-brand-title {
    font-size: clamp(30px, 8.2vw, 42px);
    margin-bottom: 12px;
    gap: 2px;
  }
  .hero-featured-logo {
    width: clamp(195px, 54vw, 250px);
    margin: 0 auto 2px;
    padding: 4px 6px 10px;
  }
  .hfl-img {
    max-height: 158px;
  }
  .hero-fondo .dakar-copy > p:not(.hero-cta-kinetic) {
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
  }
  .hero-cta-kinetic {
    margin: 14px 0 0;
    column-gap: 9px;
  }
  .cta-k-spark {
    width: 20px;
    height: 20px;
    margin-top: 2px;
  }
  .cta-k-text {
    font-size: 16px;
    line-height: 1.44;
  }
  .cta-k-highlight {
    white-space: normal;
  }
  .hero-fondo .hero-cta-actions {
    margin-top: 16px;
    gap: 10px;
  }
  .hero-fondo .btn-hero-cta-primary {
    padding: 8px 8px 8px 18px;
    font-size: 14.5px;
    gap: 9px;
  }
  .hero-fondo .btn-hero-cta-primary .cta-btn-arrow {
    width: 28px;
    height: 28px;
  }
  .hero-fondo .btn-hero-cta-secondary {
    padding: 11px 16px;
    font-size: 14px;
  }
  .hero-dakar {
    margin-top: -86px;
    padding-top: 98px;
    min-height: 100dvh;
  }
  body[data-page='home'] main > .concept-section {
    padding-top: 44px;
  }
  .hero-dakar .dakar-shell {
    min-height: calc(100dvh - 98px);
    padding-top: 16px;
    padding-bottom: 24px;
    gap: 14px;
  }
  .hero-dakar .dakar-copy h1 {
    font-size: clamp(27px, 7.8vw, 38px);
    margin-bottom: 10px;
  }
  .hero-dakar .dakar-copy > p:not(.hero-cta-kinetic) {
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
  }
  .hero-dakar .actions {
    margin-top: 14px;
    gap: 8px;
  }
  .hero-dakar .actions .btn {
    padding: 11px 12px;
    font-size: 14px;
  }
  .hero-dakar .dakar-scene {
    min-height: clamp(275px, 38dvh, 360px);
    padding-top: 0;
  }
  .dakar-road-layer .dakar-rider-wrap {
    width: min(176px, 44vw);
  }
  .dakar-worlds-strip.dakar-worlds-top {
    padding: 5px;
    border-radius: 14px;
  }
  .dakar-worlds-top .dakar-worlds {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 3px;
  }
  .dakar-worlds-top .dakar-world-btn {
    padding: 4px 2px;
    border-radius: 9px;
  }
  .dakar-worlds-top .dakar-world-num {
    display: none;
  }
  .dakar-worlds-top .dakar-worlds img {
    height: 34px;
  }
  .dakar-panorama {
    object-position: 68% 50%;
  }
  .hero-dakar::before {
    background: linear-gradient(180deg, #001f44ef 0%, #002858c8 45%, #00285848 76%, #032c54 100%);
  }
}

/* Coreografía de entrada del Hero (sin ocultar LCP ni dejar huecos en blanco) */
.motion-ready .hero .eyebrow,
.motion-ready .hero h1,
.motion-ready .hero .dakar-copy > p,
.motion-ready .hero .hero-christmas-actions,
.motion-ready .hero .actions,
.motion-ready .hero .scene-logo,
.motion-ready .hero .flag-badge {
  animation: hero-stage-in .52s cubic-bezier(.22, 1, .36, 1) both;
}
.motion-ready .hero .eyebrow { animation-delay: 0ms; }
.motion-ready .hero h1 { animation-delay: 45ms; }
.motion-ready .hero .dakar-copy > p { animation-delay: 90ms; }
.motion-ready .hero .hero-christmas-actions { animation-delay: 130ms; }
.motion-ready .hero .actions { animation-delay: 165ms; }
.motion-ready .hero .scene-logo { animation-delay: 60ms; }
.motion-ready .hero .flag-badge { animation-delay: 180ms; }

@keyframes hero-stage-in {
  from { opacity: .82; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes hero-title-reveal {
  from { opacity: .82; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Eyebrow con barrido luminoso */
.hero .eyebrow {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px #00162f45, inset 0 1px 0 #ffffff33;
}
.hero .eyebrow::after {
  content: '';
  position: absolute;
  inset: -4px auto -4px -45%;
  width: 38%;
  background: linear-gradient(90deg, transparent, #fff6d070, transparent);
  transform: skewX(-22deg);
  animation: sheen-sweep 4.6s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes sheen-sweep {
  0%, 62% { transform: translateX(0) skewX(-22deg); }
  100% { transform: translateX(460%) skewX(-22deg); }
}

/* Degradado dorado animado en "Más Bonita" */
.hero h1 em {
  background: linear-gradient(105deg, #ffe799 0%, #fff7d6 28%, #f8bf44 52%, #fff5c8 76%, #ffe799 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 22px #ffcf5c35);
  animation: gold-shimmer 6s linear infinite;
}
@keyframes gold-shimmer {
  from { background-position: 200% 50%; }
  to { background-position: -40% 50%; }
}

/* Escena Hero con capas de profundidad e insignias coleccionables */
.hero .scene {
  perspective: 900px;
}
.hero .scene > * {
  pointer-events: auto;
}
.hero .scene .moon {
  animation: moon-breathe 7s ease-in-out infinite;
  box-shadow: 0 0 90px #ffe89e7a, 0 0 36px #fff3c755;
  pointer-events: none;
}
@keyframes moon-breathe {
  0%, 100% { transform: translate3d(var(--px-moon, 0px), var(--py-moon, 0px), 0) scale(1); opacity: .34; }
  50% { transform: translate3d(var(--px-moon, 0px), var(--py-moon, 0px), 0) scale(1.09); opacity: .48; }
}
.hero .scene-logo {
  transform: translate3d(var(--px-mid, 0px), var(--py-mid, 0px), 0);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  filter: drop-shadow(0 14px 26px #00142a66);
  pointer-events: none;
}
.hero .santi-hero {
  position: relative;
  z-index: 3;
  animation: hero-santi-float 4.8s ease-in-out infinite;
  filter: drop-shadow(0 18px 26px #00142a70) drop-shadow(0 0 26px #00bfc538);
  will-change: transform;
  pointer-events: none;
}
@keyframes hero-santi-float {
  0%, 100% { transform: translate3d(var(--px-front, 0px), calc(var(--py-front, 0px) + 0px), 0) rotate(0deg); }
  50% { transform: translate3d(var(--px-front, 0px), calc(var(--py-front, 0px) - 10px), 0) rotate(1.2deg); }
}

.scene-worlds img {
  transition: transform .34s cubic-bezier(.22, 1, .36, 1), filter .34s ease;
  cursor: pointer;
  will-change: transform;
}
.motion-ready .scene-worlds img {
  animation: badge-pop-in .48s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: calc(80ms + var(--badge-i, 0) * 45ms);
}
@keyframes badge-pop-in {
  from { opacity: .82; transform: translateY(10px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.scene-worlds img:hover {
  transform: translateY(-10px) scale(1.16) rotate(-3deg);
  filter: drop-shadow(0 14px 18px #00142899) drop-shadow(0 0 18px #ffe39a88);
  z-index: 5;
}

.hero .flag-badge {
  overflow: hidden;
  box-shadow: 0 8px 24px #00142b52, inset 0 1px 0 #ffffff40;
  pointer-events: none;
}
.hero .flag-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, #ffffff38 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen-sweep 6.2s 1.2s ease-in-out infinite;
}

/* 5. Botones táctiles con brillo diagonal y micro-física */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), box-shadow .24s ease, background-color .24s ease, filter .24s ease;
}
.btn::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -45%;
  width: 34%;
  height: 120%;
  background: linear-gradient(90deg, transparent, #ffffff4d, transparent);
  transform: skewX(-22deg);
  transition: transform .62s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
.btn:hover:not(:disabled) {
  transform: translateY(-2.5px);
  box-shadow: 0 14px 28px rgba(0, 28, 62, .24);
}
.btn:hover:not(:disabled)::after {
  transform: translateX(420%) skewX(-22deg);
}
.btn:active:not(:disabled) {
  transform: translateY(0) scale(.98);
}
.btn-primary:hover:not(:disabled) {
  box-shadow: 0 12px 28px #ff626259, 0 0 0 1px #ff9a9a50;
}
.hero-christmas-actions a {
  position: relative;
  overflow: hidden;
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), background .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.hero-christmas-actions a:hover {
  transform: translateY(-2px);
  border-color: #ffe39a;
  box-shadow: 0 10px 26px #00142a66, 0 0 18px #ffe39a2e;
}

/* 6. Cabeceras de páginas interiores con brillo orbital */
.pagehero {
  isolation: isolate;
}
.pagehero::before {
  content: '';
  position: absolute;
  inset: -30% -10% auto;
  height: 140%;
  background:
    radial-gradient(38% 60% at 82% 30%, #00bfc533, transparent 70%),
    radial-gradient(32% 50% at 15% 15%, #ffe18c22, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: hero-aurora-drift 14s ease-in-out infinite alternate;
}
.pagehero .shell {
  position: relative;
  z-index: 1;
}
.motion-ready .pagehero .crumb {
  animation: hero-stage-in .55s cubic-bezier(.22, 1, .36, 1) both;
}
.motion-ready .pagehero h1 {
  animation: hero-title-reveal .72s 90ms cubic-bezier(.22, 1, .36, 1) both;
}
.motion-ready .pagehero p {
  animation: hero-stage-in .7s 180ms cubic-bezier(.22, 1, .36, 1) both;
}

/* 7. Divisores SVG orgánicos entre bloques oscuros y claros */
.motion-wave-divider {
  display: block;
  width: 100%;
  height: clamp(32px, 4.4vw, 62px);
  margin: -1px 0;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}
.motion-wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}
.motion-wave-divider .wave-glow {
  stroke: #00bfc566;
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 180 1200;
  animation: wave-spark 7.5s linear infinite;
}
@keyframes wave-spark {
  from { stroke-dashoffset: 1380; }
  to { stroke-dashoffset: 0; }
}

/* 8. Scroll Reveal escalonado (progresivo y seguro) */
.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(.985);
  transition: opacity .68s cubic-bezier(.22, 1, .36, 1), transform .68s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-ready [data-reveal="left"] {
  transform: translate3d(-28px, 0, 0);
}
.motion-ready [data-reveal="right"] {
  transform: translate3d(28px, 0, 0);
}
.motion-ready [data-reveal="zoom"] {
  transform: scale(.93);
}
.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* 9. Tarjetas con Spotlight dinámico, elevación 3D e Iconos SVG Motion */
.card, .scene-card, .world-card, .feature, .festive-glass {
  position: relative;
}
.motion-spotlight {
  --mx: 50%;
  --my: 50%;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), box-shadow .32s ease, border-color .32s ease, background-color .32s ease;
}
.motion-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(0, 191, 197, .14), transparent 65%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0;
}
.festive-glass.motion-spotlight::before,
.world-card.motion-spotlight::before,
body[data-page='juegos'] .game-card.motion-spotlight::before {
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(255, 227, 148, .18), transparent 65%);
}
.motion-spotlight:hover::before {
  opacity: 1;
}
.motion-spotlight > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #9edde0;
  box-shadow: 0 22px 44px rgba(0, 40, 88, .13), 0 0 0 1px rgba(0, 191, 197, .22);
}
.card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s cubic-bezier(.22, 1, .36, 1), color .25s ease;
}
.card:hover .link {
  gap: 11px;
  color: #0e7c86;
}

/* Iconos SVG Motion Graphics (reemplazan emojis genéricos en cards) */
.card .emoji.motion-icon-box {
  background: linear-gradient(145deg, #e7f8f7, #fff7e2);
  border: 1px solid #ccebe8;
  box-shadow: 0 10px 22px rgba(0, 40, 88, .08);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
}
.card:hover .emoji.motion-icon-box {
  transform: translateY(-4px) scale(1.08) rotate(-3deg);
  border-color: #00bfc5;
  box-shadow: 0 14px 28px rgba(0, 191, 197, .24);
}
.motion-svg-icon {
  width: 34px;
  height: 34px;
  display: block;
  overflow: visible;
}
.card:hover .mi-bounce { animation: mi-bounce .65s cubic-bezier(.22, 1, .36, 1); }
.card:hover .mi-spin { animation: mi-spin 1.1s cubic-bezier(.22, 1, .36, 1); transform-origin: center; }
.card:hover .mi-wave { animation: mi-wave .7s ease-in-out; transform-origin: 20% 80%; }
.card:hover .mi-pulse { animation: mi-pulse .8s ease-in-out; transform-origin: center; }
.card:hover .mi-draw { stroke-dasharray: 60; animation: mi-draw .85s ease forwards; }

@keyframes mi-bounce { 0%,100% { transform: translateY(0); } 40% { transform: translateY(-5px); } 70% { transform: translateY(1px); } }
@keyframes mi-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes mi-wave { 0%,100% { transform: rotate(0deg); } 30% { transform: rotate(-12deg); } 65% { transform: rotate(10deg); } }
@keyframes mi-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes mi-draw { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }

/* Tarjetas de escenarios de campaña (Rocas, Montaña, Selva, Desierto) */
.scene-card {
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
}
.scene-card img {
  transition: transform .48s cubic-bezier(.22, 1, .36, 1), filter .48s ease;
}
.scene-card:hover {
  transform: translateY(-7px);
  border-color: #00bfc5;
  box-shadow: 0 22px 44px rgba(0, 40, 88, .15);
}
.scene-card:hover img {
  transform: scale(1.09) translateY(-4px);
  filter: drop-shadow(0 12px 18px rgba(0, 40, 88, .22));
}

/* 10. Transiciones de contenido (Concepto, Participación, Historia, Experiencias) */
.motion-swap {
  animation: motion-content-swap .44s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes motion-content-swap {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.motion-badge-pop {
  animation: motion-badge-spin-in .58s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes motion-badge-spin-in {
  from { opacity: 0; transform: scale(.68) rotate(-14deg); filter: brightness(1.35); }
  to { opacity: 1; transform: scale(1) rotate(0deg); filter: brightness(1); }
}

/* Concepto interactivo en Inicio */
.concept-options button {
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), background .24s ease, color .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.concept-options button:hover {
  transform: translateY(-2px);
  border-color: #00bfc5;
  background: #ffffff18;
}
.concept-options button[aria-pressed='true'] {
  box-shadow: 0 8px 24px #00bfc555, inset 0 1px 0 #ffffff85;
}
.concept-santi {
  animation: sleigh-float 4.8s ease-in-out infinite;
  filter: drop-shadow(0 14px 20px #00152e70);
}
.concept-world {
  filter: drop-shadow(0 10px 18px #00142a66);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.concept-world:hover {
  transform: scale(1.12) rotate(4deg);
}

/* 11. Historia: ruta progresiva luminosa + estela de chispas en el trineo */
.roadmap-progress-track {
  fill: none;
  stroke: url(#roadmap-gold-gradient);
  stroke-width: 7;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px #ffe07caa);
  transition: stroke-dashoffset 1s cubic-bezier(.22, 1, .36, 1);
}
.roadmap-traveler.is-gliding {
  transition: none !important;
}
.roadmap-traveler img {
  transition: transform .35s ease;
}
.roadmap-stop {
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), background .28s ease, box-shadow .28s ease;
}
.roadmap-stop:hover {
  transform: translate(-50%, -50%) scale(1.14);
}
.roadmap-stop[aria-pressed='true'] {
  animation: stop-beacon 2.4s ease-in-out infinite;
}
@keyframes stop-beacon {
  0%, 100% { box-shadow: 0 0 0 4px #ffe1a038, 0 0 22px #ffdc7e66; }
  50% { box-shadow: 0 0 0 10px #ffe1a014, 0 0 32px #ffdc7eaa; }
}
.roadmap-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8d6, #ffd464 60%, transparent);
  box-shadow: 0 0 10px #ffd86d;
  pointer-events: none;
  z-index: 3;
  animation: roadmap-spark-fade .75s ease-out forwards;
}
@keyframes roadmap-spark-fade {
  from { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(0) translateY(-12px); }
}

/* 12. Cómo participar: ramas y convoy */
.step-tree-list button {
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), background .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.step-tree-list button:hover {
  transform: translateX(6px) scale(1.02);
  border-color: #ffe2a4;
}
.step-tree-list button[aria-pressed='true'] {
  transform: translateX(8px) scale(1.03);
}
.dimension-sled {
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.dimension-sled:hover {
  border-color: #ffe2a4;
  box-shadow: 0 12px 26px #00142a66;
}
.dimension-sled .motion-svg-icon {
  margin: 0 auto 12px;
  width: 36px;
  height: 36px;
}
.dimension-caravan.is-boosting .convoy-santi,
.dimension-caravan.is-boosting .dimension-sled {
  animation: convoy-boost .55s cubic-bezier(.22, 1, .36, 1);
}
@keyframes convoy-boost {
  0% { transform: translateX(0); }
  35% { transform: translateX(10px) rotate(1.5deg); }
  100% { transform: translateX(0); }
}

/* 13. Árbol de Experiencias Bonitas: ripple luminoso y brillo */
.tree-bauble-ripple {
  position: absolute;
  left: var(--rx);
  top: var(--ry);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ffe7a3;
  box-shadow: 0 0 18px #ffd875;
  transform: translate(-50%, -50%) scale(.4);
  pointer-events: none;
  z-index: 4;
  animation: bauble-ripple .7s cubic-bezier(.2, .8, .2, 1) forwards;
}
@keyframes bauble-ripple {
  from { opacity: 1; transform: translate(-50%, -50%) scale(.5); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(3.8); }
}

/* 14. Nuestros Momentos Más Bonitos: mundos y anillos elípticos animados */
.world-card {
  transition: transform .34s cubic-bezier(.22, 1, .36, 1), border-color .34s ease, background .34s ease, box-shadow .34s ease;
}
.world-card > img {
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), filter .42s ease;
}
.world-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 46px #00112580, 0 0 24px #ffe1a024;
}
.world-card:hover > img {
  transform: scale(1.1) translateY(-4px);
  filter: drop-shadow(0 16px 20px #00112599) drop-shadow(0 0 16px #ffe1a055);
}
.world-dialog[open] {
  animation: dialog-pop-in .38s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes dialog-pop-in {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.photo-tree-rings ellipse {
  stroke-dasharray: 22 10;
  animation: orbit-flow 26s linear infinite;
}
.photo-tree-rings ellipse:nth-child(2) {
  animation-direction: reverse;
  animation-duration: 32s;
}
@keyframes orbit-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -320; }
}
.photo-orbit {
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, box-shadow .3s ease;
}
.photo-orbit:hover {
  transform: translate(-50%, -50%) scale(1.14);
  z-index: 4;
}
.photo-orbit[aria-pressed='true'] {
  transform: translate(-50%, -50%) scale(1.12);
  z-index: 3;
}
.photo-preview-frame > img.motion-photo-swap {
  animation: photo-crossfade .42s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes photo-crossfade {
  from { opacity: .25; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

/* 15. Retos Destacados: entrada animada al filtrar */
.reto-card {
  animation: reto-enter .46s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: calc(var(--reto-i, 0) * 65ms);
}
@keyframes reto-enter {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.reto-card .reto-cover {
  transition: transform .48s cubic-bezier(.22, 1, .36, 1);
}
.reto-card:hover .reto-cover {
  transform: scale(1.07);
}
.filter {
  transition: transform .22s cubic-bezier(.22, 1, .36, 1), background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.filter:hover {
  transform: translateY(-2px);
  border-color: #00bfc5;
}
.filter.active {
  box-shadow: 0 8px 20px rgba(33, 110, 57, .28);
}

/* 16. Juegos: tarjetas de selección + Memoria 3D + Carrera viva + Trivia */
body[data-page='juegos'] .game-card {
  transition: transform .34s cubic-bezier(.22, 1, .36, 1), border-color .34s ease, box-shadow .34s ease;
}
body[data-page='juegos'] .game-card .game-cover {
  transition: transform .42s cubic-bezier(.22, 1, .36, 1);
}
body[data-page='juegos'] .game-card:hover {
  transform: translateY(-8px);
  border-color: #00bfc5;
  box-shadow: 0 24px 48px #00112688, 0 0 22px #00bfc52e;
}
body[data-page='juegos'] .game-card:hover .game-cover {
  transform: scale(1.09) translateY(-4px);
}

/* Memoria Mi Bonito: flip 3D real, celebración y shake */
.memory-grid {
  perspective: 1000px;
}
.memory-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .26s cubic-bezier(.22, 1, .36, 1), box-shadow .26s ease, border-color .26s ease, background .26s ease;
  box-shadow: 0 10px 22px rgba(0, 40, 88, .12);
}
.memory-card:hover:not(.revealed):not(.matched) {
  transform: translateY(-4px) scale(1.02);
  border-color: #00bfc5;
  box-shadow: 0 14px 28px rgba(0, 40, 88, .22), 0 0 16px rgba(0, 191, 197, .28);
}
.memory-card.motion-flip-in {
  animation: memory-card-flip .44s cubic-bezier(.22, 1, .36, 1) both;
}
.memory-card.motion-flip-out {
  animation: memory-card-unflip .36s cubic-bezier(.22, 1, .36, 1) both;
}
.memory-card.motion-match-pop {
  animation: memory-match-pop .56s cubic-bezier(.22, 1, .36, 1) both;
}
.memory-card.motion-mismatch {
  animation: memory-mismatch-shake .42s ease-in-out;
}
@keyframes memory-card-flip {
  0% { transform: perspective(700px) rotateY(-95deg) scale(.94); }
  65% { transform: perspective(700px) rotateY(8deg) scale(1.03); }
  100% { transform: perspective(700px) rotateY(0deg) scale(1); }
}
@keyframes memory-card-unflip {
  0% { transform: perspective(700px) rotateY(85deg) scale(.95); }
  100% { transform: perspective(700px) rotateY(0deg) scale(1); }
}
@keyframes memory-match-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); box-shadow: 0 0 0 6px #42b67538, 0 12px 28px #278b4540; }
  100% { transform: scale(1); box-shadow: 0 6px 18px #278b4522; }
}
@keyframes memory-mismatch-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px) rotate(-1.5deg); }
  45% { transform: translateX(7px) rotate(1.5deg); }
  70% { transform: translateX(-4px); }
}

/* Carrera Navideña: pista viva en movimiento, inclinación y feedback */
.race-lanes i + i {
  border-left: 0;
  position: relative;
}
.race-lanes i + i::before {
  content: '';
  position: absolute;
  top: -64px;
  bottom: 0;
  left: -2px;
  width: 4px;
  background: repeating-linear-gradient(to bottom, #e6f2f1a8 0 22px, transparent 22px 48px);
  animation: race-road-scroll var(--road-speed, .8s) linear infinite;
  animation-play-state: paused;
}
.race-track.is-racing .race-lanes i + i::before {
  animation-play-state: running;
}
@keyframes race-road-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(48px); }
}
.race-player {
  transition: left .18s cubic-bezier(.22, 1, .36, 1), transform .18s cubic-bezier(.22, 1, .36, 1);
}
.race-track.is-racing .race-player {
  animation: race-santi-stride .34s ease-in-out infinite;
}
.race-player.lean-left {
  transform: translate(-50%, -25%) rotate(-12deg) scale(1.04) !important;
}
.race-player.lean-right {
  transform: translate(-50%, -25%) rotate(12deg) scale(1.04) !important;
}
@keyframes race-santi-stride {
  0%, 100% { transform: translate(-50%, -25%) translateY(0); }
  50% { transform: translate(-50%, -25%) translateY(-4px); }
}
.race-track.race-hit-rock {
  animation: race-shake .36s ease-in-out;
  box-shadow: inset 0 0 0 4px #ff6262cc;
}
.race-track.race-hit-gift {
  box-shadow: inset 0 0 0 3px #ffe28acc;
}
@keyframes race-shake {
  0%, 100% { transform: translateX(0); }
  22% { transform: translateX(-8px); }
  48% { transform: translateX(8px); }
  72% { transform: translateX(-4px); }
}
.race-popup {
  position: absolute;
  top: 72%;
  transform: translate(-50%, 0);
  font-weight: 900;
  font-size: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 5;
  animation: race-popup-rise .78s cubic-bezier(.22, 1, .36, 1) forwards;
}
.race-popup.gift {
  background: #ffe39a;
  color: #002858;
  box-shadow: 0 6px 18px #ffe39a66;
}
.race-popup.rock {
  background: #ff6262;
  color: white;
  box-shadow: 0 6px 18px #ff626266;
}
@keyframes race-popup-rise {
  from { opacity: 1; transform: translate(-50%, 0) scale(.85); }
  30% { opacity: 1; transform: translate(-50%, -18px) scale(1.08); }
  to { opacity: 0; transform: translate(-50%, -44px) scale(.95); }
}

/* Trivia: barra luminosa y opciones animadas */
.bar > div {
  background: linear-gradient(90deg, #278b45, #00bfc5, #ffe082);
  background-size: 200% 100%;
  animation: gold-shimmer 4s linear infinite;
}
.answer {
  transition: transform .22s cubic-bezier(.22, 1, .36, 1), border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.answer:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #00bfc5;
  box-shadow: 0 10px 22px rgba(0, 40, 88, .09);
}
.answer.correct {
  animation: memory-match-pop .48s cubic-bezier(.22, 1, .36, 1);
}
.answer.incorrect {
  animation: memory-mismatch-shake .38s ease-in-out;
}
.quiz-feedback {
  animation: motion-content-swap .35s cubic-bezier(.22, 1, .36, 1) both;
}

/* 17. FAQ interactivo */
.faqs details {
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), border-color .25s ease, box-shadow .25s ease;
}
.faqs details:hover {
  border-color: #9ddcde;
  box-shadow: 0 10px 26px rgba(0, 40, 88, .07);
}
.faqs details[open] {
  border-color: #00bfc5;
  box-shadow: 0 14px 32px rgba(0, 40, 88, .1);
}
.faqs summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faqs summary::-webkit-details-marker {
  display: none;
}
.faqs summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf7f7;
  color: #0e7c86;
  font-size: 20px;
  line-height: 1;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), background .28s ease, color .28s ease;
}
.faqs details[open] summary::after {
  transform: rotate(45deg);
  background: #00bfc5;
  color: #002858;
}
.faqs details[open] p {
  animation: motion-content-swap .32s ease both;
}

/* 18. Barra de música VERTICAL y discreta con Glassmorfismo */
body {
  padding-bottom: 0 !important;
}
.festive-dock {
  position: fixed;
  left: auto !important;
  right: 16px !important;
  bottom: 22px !important;
  transform: none !important;
  width: 56px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px !important;
  padding: 10px 6px !important;
  border-radius: 20px !important;
  color: white;
  background: rgba(8, 42, 82, .56) !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  backdrop-filter: blur(18px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
  box-shadow: 0 12px 30px rgba(0, 12, 30, .38), inset 0 1px 0 rgba(255, 255, 255, .16) !important;
}
.festive-dock .music-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.festive-dock .music-label > div {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.festive-dock .music-note {
  width: 34px;
  height: 24px;
  background: transparent !important;
  color: #ffe7a2;
}
.festive-dock .music-toggle.music-compact {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border-radius: 13px !important;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #00244d !important;
  background: #ffe39a !important;
  border: 1px solid rgba(255, 255, 255, .45) !important;
  box-shadow: 0 4px 14px rgba(255, 227, 154, .28);
}
.festive-dock .music-settings-toggle {
  width: 38px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border-radius: 12px !important;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .10) !important;
  border: 1px solid rgba(255, 255, 255, .20) !important;
}
.festive-dock .music-settings-toggle:hover,
.festive-dock .music-settings-toggle[aria-expanded='true'] {
  background: rgba(0, 191, 197, .24) !important;
  border-color: rgba(255, 232, 160, .48) !important;
}
.festive-dock .music-settings-panel {
  position: absolute;
  right: calc(100% + 10px);
  bottom: 0;
  width: 244px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px !important;
  border-radius: 18px;
  border-top: 0 !important;
  background: rgba(8, 42, 82, .76);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  box-shadow: 0 16px 38px rgba(0, 12, 30, .46), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.festive-dock .music-volume {
  width: 100%;
}
.festive-dock .snow-toggle {
  width: 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
}
@media (max-width: 710px) {
  .festive-dock {
    width: 50px !important;
    right: 10px !important;
    bottom: 16px !important;
    padding: 9px 5px !important;
    gap: 7px !important;
  }
  .festive-dock .music-toggle.music-compact {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }
  .festive-dock .music-settings-toggle {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
  }
  .festive-dock .music-settings-panel {
    width: 220px;
    right: calc(100% + 8px);
  }
}

.music-eq {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 18px;
  width: 22px;
}
.music-eq i {
  display: block;
  width: 3px;
  height: 6px;
  border-radius: 99px;
  background: #ffe7a2;
  transition: height .2s ease;
}
.music-eq i:nth-child(2) { height: 11px; }
.music-eq i:nth-child(3) { height: 8px; }
.music-eq i:nth-child(4) { height: 5px; }
body.music-playing .music-eq i {
  animation: eq-bars .95s ease-in-out infinite alternate;
}
body.music-playing .music-eq i:nth-child(1) { animation-duration: .62s; animation-delay: -.1s; }
body.music-playing .music-eq i:nth-child(2) { animation-duration: .48s; animation-delay: -.35s; }
body.music-playing .music-eq i:nth-child(3) { animation-duration: .72s; animation-delay: -.2s; }
body.music-playing .music-eq i:nth-child(4) { animation-duration: .54s; animation-delay: -.45s; }
@keyframes eq-bars {
  0% { height: 4px; opacity: .75; }
  100% { height: 18px; opacity: 1; }
}
body.music-playing .garland-bulb {
  animation-duration: 1.9s;
}
body.music-playing .festive-dock {
  border-color: rgba(255, 232, 160, .68) !important;
  box-shadow:
    inset 0 1.5px 1.5px rgba(255, 255, 255, .58),
    0 14px 38px rgba(0, 14, 34, .48),
    0 0 24px rgba(255, 227, 154, .26) !important;
}

/* 19. Partículas de celebración reutilizables (chispas y confeti navideño) */
.motion-burst-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  overflow: hidden;
}
.motion-particle {
  position: fixed;
  left: var(--x);
  top: var(--y);
  width: var(--size, 8px);
  height: var(--size, 8px);
  background: var(--color, #ffe39a);
  border-radius: var(--radius, 50%);
  box-shadow: 0 0 10px var(--color, #ffe39a);
  pointer-events: none;
  will-change: transform, opacity;
  animation: motion-particle-fly var(--dur, 760ms) cubic-bezier(.16, .84, .32, 1) forwards;
}
@keyframes motion-particle-fly {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(.4) rotate(0deg);
  }
  20% {
    opacity: 1;
    transform: translate(calc(-50% + var(--dx) * .35), calc(-50% + var(--dy) * .35)) scale(1.15) rotate(calc(var(--rot) * .4));
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 38px)) scale(.2) rotate(var(--rot));
  }
}

/* 19b. Sección Body Inicio: Mi Bonito te ayuda a anticipar tu gestión (Línea de tiempo alternada + Santi en moto + Motion Graphics) */
body[data-page='home'] main > .mibonito-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 6.2vw, 90px) 0 clamp(54px, 5.8vw, 84px);
  background:
    radial-gradient(46% 56% at 14% 12%, rgba(0, 135, 174, .28), transparent 70%),
    radial-gradient(40% 50% at 86% 28%, rgba(1, 197, 198, .18), transparent 70%),
    linear-gradient(180deg, #032c54 0%, #002858 52%, #032c54 100%);
  color: #e6f2fa;
}
.mb-shell {
  position: relative;
  z-index: 1;
}
.mb-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px 42px;
  margin-bottom: clamp(32px, 3.8vw, 48px);
}
.mb-header-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}
.mb-title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  font-family: var(--font-primary);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(26px, 2.95vw, 43px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  text-transform: uppercase;
  color: #ffffff;
}
.mb-title-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 2px 4px;
}
.mb-title-logo-wrap::before {
  content: '';
  position: absolute;
  inset: 6% -6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 197, 198, .28) 0%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}
.mb-title-logo {
  position: relative;
  z-index: 1;
  display: block;
  height: clamp(68px, 6.2vw, 94px);
  width: auto;
  max-width: min(210px, 54vw);
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 14, 34, .48));
  animation: mb-logo-float 4.8s ease-in-out infinite;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.mb-title-logo:hover {
  transform: scale(1.06) rotate(-1.8deg);
}
.mb-title-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.mb-t-word {
  display: inline-block;
  color: #ffffff;
  will-change: transform;
}
.mb-t-accent {
  color: #01C5C6;
}
.mb-t-dot {
  display: inline-block;
  color: #FF6262;
  margin-left: 2px;
  transform-origin: center 80%;
}
.motion-ready .mibonito-section.is-inview .mb-title-logo {
  animation:
    mb-logo-pop .64s 0ms cubic-bezier(.22, 1.3, .36, 1) both,
    mb-logo-float 4.8s .7s ease-in-out infinite;
}
.motion-ready .mibonito-section.is-inview .mb-tw1 {
  animation:
    mb-word-rise .52s 70ms cubic-bezier(.22, 1, .36, 1) both,
    hbt-word-cadence 6.2s 1.8s cubic-bezier(.34, 1.4, .64, 1) infinite;
}
.motion-ready .mibonito-section.is-inview .mb-tw2 {
  animation:
    mb-word-rise .56s 150ms cubic-bezier(.22, 1, .36, 1) both,
    hbt-word-cadence 6.2s 1.98s cubic-bezier(.34, 1.4, .64, 1) infinite;
}
.motion-ready .mibonito-section.is-inview .mb-t-dot {
  animation:
    hbt-dot-enter .46s 280ms cubic-bezier(.22, 1.4, .36, 1) both,
    hbt-dot-beat 6.2s 2.16s cubic-bezier(.34, 1.5, .64, 1) infinite;
}
@keyframes mb-logo-pop {
  from { opacity: .88; transform: scale(.86) translateY(10px) rotate(-3deg); }
  70% { opacity: 1; transform: scale(1.04) translateY(-3px) rotate(1deg); }
  to { opacity: 1; transform: scale(1) translateY(0) rotate(0deg); }
}
@keyframes mb-logo-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.8deg); }
  50% { transform: translate3d(0, -5px, 0) rotate(.9deg); }
}
@keyframes mb-word-rise {
  from { opacity: .86; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.mb-desc {
  margin: 0;
  max-width: 720px;
  font-family: var(--font-secondary);
  font-size: clamp(16px, 1.22vw, 18px);
  font-weight: 500;
  line-height: 1.7;
  color: #d7e9f6;
}

/* Santi en moto al costado del título dentro del emblema circular animado */
.mb-santi-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(200px, 19vw, 256px);
  height: clamp(200px, 19vw, 256px);
  flex-shrink: 0;
}
.mb-santi-circle {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(1, 197, 198, .28) 0%, rgba(0, 135, 174, .22) 48%, rgba(0, 32, 74, .75) 100%);
  border: 1.5px solid rgba(1, 197, 198, .36);
  box-shadow:
    0 18px 40px rgba(0, 14, 34, .45),
    inset 0 0 28px rgba(1, 197, 198, .18);
  animation: mb-circle-breathe 5.4s ease-in-out infinite;
}
.mb-santi-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.mb-so-ring {
  transform-box: fill-box;
  transform-origin: center;
}
.mb-so-r1 {
  animation: mb-orbit-spin 18s linear infinite;
}
.mb-so-r2 {
  animation: mb-orbit-spin-rev 24s linear infinite;
}
.mb-santi-moto {
  position: relative;
  z-index: 2;
  width: 92%;
  height: auto;
  max-height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 12, 30, .58));
  animation: mb-santi-ride 3.8s ease-in-out infinite;
  will-change: transform;
}
.mb-santi-speed {
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 22px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(1, 197, 198, .48) 0%, transparent 74%);
  filter: blur(4px);
  z-index: 1;
  animation: mb-santi-shadow 3.8s ease-in-out infinite;
}
@keyframes mb-circle-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes mb-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes mb-orbit-spin-rev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
@keyframes mb-santi-ride {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.5deg); }
  50% { transform: translate3d(4px, -7px, 0) rotate(1.4deg); }
}
@keyframes mb-santi-shadow {
  0%, 100% { transform: scaleX(1); opacity: .7; }
  50% { transform: scaleX(.84); opacity: .4; }
}

/* Línea de tiempo alternada (impares 1 y 3 abajo, pares 2 y 4 arriba) */
.mb-timeline {
  position: relative;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.mb-timeline-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 16px;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}
.mb-timeline-rail svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.mb-track-base {
  stroke: rgba(255, 255, 255, .18);
  stroke-width: 3.5;
  stroke-linecap: round;
}
.mb-track-fill {
  stroke: #01C5C6;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 8px rgba(1, 197, 198, .65));
}
.mb-track-trail {
  stroke: #ffffff;
  stroke-width: 4.2;
  stroke-linecap: round;
  opacity: .92;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .9));
}
.mb-track-head {
  fill: #ffffff;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, .95)) drop-shadow(0 0 12px rgba(1, 197, 198, .85));
}

.mb-timeline-grid {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 20px;
}
.mb-tl-item {
  display: grid;
  grid-template-rows: 1fr 78px 1fr;
  align-items: stretch;
  justify-items: center;
}
.motion-ready .mibonito-section.is-inview .mb-tl-item {
  animation: mb-card-enter .56s calc(var(--mb-i, 0) * 90ms) cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes mb-card-enter {
  from { opacity: .82; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Nodo numerado único (1, 2, 3, 4) sobre la línea central */
.mb-tl-node-wrap {
  grid-row: 2;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 78px;
}
.mb-tl-stem {
  position: absolute;
  left: 50%;
  width: 2.5px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(1, 197, 198, .75), rgba(255, 255, 255, .24));
  pointer-events: none;
  z-index: 0;
  transition: background .3s ease, box-shadow .3s ease;
}
.mb-tl-bottom .mb-tl-stem {
  top: 50%;
  height: calc(50% + 16px);
}
.mb-tl-top .mb-tl-stem {
  bottom: 50%;
  height: calc(50% + 16px);
  background: linear-gradient(0deg, rgba(1, 197, 198, .75), rgba(255, 255, 255, .24));
}
.mb-tl-item.is-active .mb-tl-stem {
  background: #01C5C6;
  box-shadow: 0 0 10px rgba(1, 197, 198, .65);
}
.mb-tl-item[data-mb-step="3"].is-active .mb-tl-stem {
  background: #FF6262;
  box-shadow: 0 0 10px rgba(255, 98, 98, .65);
}

.mb-tl-node {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  background: #022a57;
  border: 2.5px solid rgba(1, 197, 198, .55);
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0, 12, 30, .45);
  transition: transform .32s cubic-bezier(.22, 1.4, .36, 1), background-color .3s ease, border-color .3s ease, color .3s ease;
}
.mb-tl-node-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(1, 197, 198, .55);
  opacity: 0;
  pointer-events: none;
}
.mb-tl-item.is-passed .mb-tl-node {
  border-color: #01C5C6;
  background: #064270;
  color: #01C5C6;
}
.mb-tl-item.is-active .mb-tl-node {
  background: #01C5C6;
  border-color: #ffffff;
  color: #002858;
  transform: scale(1.14);
}
.mb-tl-item.is-active .mb-tl-node-ring {
  opacity: 1;
  animation: mb-node-ripple 2.2s ease-out infinite;
}
.mb-tl-item[data-mb-step="3"].is-active .mb-tl-node {
  background: #FF6262;
  border-color: #ffffff;
  color: #ffffff;
}
.mb-tl-item[data-mb-step="3"].is-active .mb-tl-node-ring {
  border-color: rgba(255, 98, 98, .75);
}
@keyframes mb-node-ripple {
  0% { transform: scale(.92); opacity: .85; }
  100% { transform: scale(1.42); opacity: 0; }
}

/* Tarjetas alternadas arriba (pares 2 y 4) y abajo (impares 1 y 3) */
.mb-tl-top .mb-step-card {
  grid-row: 1;
  align-self: end;
  margin-bottom: 14px;
}
.mb-tl-bottom .mb-step-card {
  grid-row: 3;
  align-self: start;
  margin-top: 14px;
}
.mb-step-card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 20px 20px 22px;
  border-radius: 24px 10px 24px 24px;
  border: 1.5px solid rgba(255, 255, 255, .15);
  background: linear-gradient(155deg, rgba(6, 54, 104, .84) 0%, rgba(2, 34, 72, .9) 100%);
  color: #e6f2fa;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(0, 14, 34, .3);
  transition:
    transform .36s cubic-bezier(.22, 1, .36, 1),
    border-color .3s ease,
    background .3s ease,
    box-shadow .36s ease;
}
.mb-step-card:hover {
  border-color: rgba(1, 197, 198, .6);
}
.mb-tl-top .mb-step-card:hover,
.mb-tl-top.is-active .mb-step-card {
  transform: translateY(-6px);
}
.mb-tl-bottom .mb-step-card:hover,
.mb-tl-bottom.is-active .mb-step-card {
  transform: translateY(6px);
}
.mb-tl-item.is-passed .mb-step-card {
  border-color: rgba(1, 197, 198, .34);
}
.mb-tl-item.is-active .mb-step-card {
  border-color: #01C5C6;
  background: linear-gradient(155deg, rgba(0, 102, 146, .54) 0%, rgba(0, 44, 92, .94) 100%);
  box-shadow:
    0 20px 40px rgba(0, 14, 34, .46),
    0 0 0 1px rgba(1, 197, 198, .4) inset;
}
.mb-tl-item[data-mb-step="3"].is-active .mb-step-card {
  border-color: #FF6262;
  box-shadow:
    0 20px 40px rgba(0, 14, 34, .46),
    0 0 0 1px rgba(255, 98, 98, .38) inset;
}

.mb-step-top {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
}
.mb-step-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(1, 197, 198, .22);
  transition: background-color .3s ease, transform .34s cubic-bezier(.22, 1, .36, 1), border-color .3s ease;
}
.mb-tl-item.is-active .mb-step-icon {
  background: rgba(1, 197, 198, .16);
  border-color: rgba(1, 197, 198, .55);
  transform: scale(1.06);
}
.mb-step-svg {
  width: 38px;
  height: 38px;
  display: block;
  overflow: visible;
}

/* Motion Graphics continuos en los 4 iconos vectoriales */
/* 1. Consulta: barras en onda + lupa escaneando + radar sutil */
.mb-icon-radar {
  transform-box: fill-box;
  transform-origin: center;
  animation: mb-radar-ping 3.2s ease-out infinite;
}
.mb-svg-bar {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: mb-bar-wave 2.2s ease-in-out infinite;
}
.mb-b2 { animation-delay: .28s; }
.mb-b3 { animation-delay: .56s; }
.mb-svg-lens-group {
  transform-box: fill-box;
  transform-origin: center;
  animation: mb-lens-scan 3.6s ease-in-out infinite;
}

/* 2. Prioriza: aros de objetivo pulsando + punto focal coral + flecha acertando */
.mb-svg-ring-outer {
  transform-box: fill-box;
  transform-origin: center;
  animation: mb-ring-pulse 2.8s ease-in-out infinite;
}
.mb-svg-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: mb-ring-pulse 2.8s .35s ease-in-out infinite;
}
.mb-svg-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: mb-dot-pulse 2.2s ease-in-out infinite;
}
.mb-svg-arrow {
  animation: mb-arrow-strike 2.6s cubic-bezier(.22, 1, .36, 1) infinite;
}

/* 3. Gestiona: pines animados + trazo de check auto-dibujándose en ciclo + halo */
.mb-svg-pin {
  animation: mb-pin-bob 2.8s ease-in-out infinite;
}
.mb-p2 { animation-delay: .35s; }
.mb-svg-check {
  stroke-dasharray: 1;
  animation: mb-check-loop 3.2s cubic-bezier(.22, 1, .36, 1) infinite;
}
.mb-svg-check-halo {
  transform-box: fill-box;
  transform-origin: center;
  animation: mb-halo-pop 3.2s ease-out infinite;
}

/* 4. Suma: energía ascendente por enlaces + nodos de equipo + pulso comité */
.mb-svg-link {
  animation: mb-link-flow 1.8s linear infinite;
}
.mb-svg-member {
  transform-box: fill-box;
  transform-origin: center;
  animation: mb-member-pulse 2.8s ease-in-out infinite;
}
.mb-m2 { animation-delay: .45s; }
.mb-svg-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: mb-node-pop 2.4s cubic-bezier(.34, 1.4, .64, 1) infinite;
}

@keyframes mb-radar-ping {
  0% { transform: scale(.78); opacity: .55; }
  80%, 100% { transform: scale(1.12); opacity: 0; }
}
@keyframes mb-bar-wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.28); }
}
@keyframes mb-lens-scan {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  35% { transform: translate(-3px, -2.5px) rotate(-8deg); }
  70% { transform: translate(2px, -1px) rotate(6deg); }
}
@keyframes mb-ring-pulse {
  0%, 100% { transform: scale(1); opacity: .88; }
  50% { transform: scale(1.09); opacity: .52; }
}
@keyframes mb-dot-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.26); }
}
@keyframes mb-arrow-strike {
  0%, 100% { transform: translate(0, 0); }
  45% { transform: translate(3.5px, -3.5px); }
  65% { transform: translate(-1.2px, 1.2px); }
}
@keyframes mb-pin-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes mb-check-loop {
  0% { stroke-dashoffset: 1; opacity: .45; }
  32%, 82% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes mb-halo-pop {
  0%, 28% { transform: scale(.75); opacity: 0; }
  48% { transform: scale(1.08); opacity: .65; }
  80%, 100% { transform: scale(1.26); opacity: 0; }
}
@keyframes mb-link-flow {
  from { stroke-dashoffset: 14; }
  to { stroke-dashoffset: 0; }
}
@keyframes mb-member-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
@keyframes mb-node-pop {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.14) translateY(-2px); }
}

.mb-step-title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(19px, 1.45vw, 22px);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  transition: color .26s ease;
}
.mb-tl-item.is-active .mb-step-title {
  color: #01C5C6;
}
.mb-tl-item[data-mb-step="3"].is-active .mb-step-title {
  color: #ffffff;
}
.mb-step-desc {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 14.8px;
  font-weight: 500;
  line-height: 1.6;
  color: #cde3f2;
}

/* Bloque destacado: El rol del analista */
.mb-analyst-role {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 24px 10px 24px 24px;
  background: linear-gradient(108deg, rgba(0, 135, 174, .22) 0%, rgba(4, 42, 84, .82) 55%, rgba(0, 40, 88, .92) 100%);
  border: 1px solid rgba(1, 197, 198, .32);
  border-left: 5px solid #01C5C6;
  box-shadow: 0 16px 34px rgba(0, 14, 34, .32);
}
.mb-role-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}
.mb-role-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.mb-role-needle {
  transform-box: fill-box;
  transform-origin: center;
  animation: mb-compass-sway 5.2s ease-in-out infinite;
}
@keyframes mb-compass-sway {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(12deg); }
}
.mb-role-kicker {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #01C5C6;
}
.mb-role-copy p {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  font-weight: 500;
  line-height: 1.65;
  color: #e4f2fb;
}
.mb-role-copy strong {
  color: #ffffff;
  font-weight: 800;
}

/* Línea de tiempo vertical limpia en tablet y móvil (<= 900px) */
@media (max-width: 900px) {
  .mb-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mb-santi-stage {
    justify-self: center;
    width: 190px;
    height: 190px;
  }
  .mb-timeline-rail {
    display: none;
  }
  .mb-timeline-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    position: relative;
  }
  .mb-timeline-grid::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 24px;
    bottom: 24px;
    width: 3px;
    border-radius: 99px;
    background: linear-gradient(180deg, #01C5C6 0%, rgba(1, 197, 198, .35) 75%, rgba(255, 98, 98, .55) 100%);
    pointer-events: none;
  }
  .mb-tl-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 16px;
  }
  .mb-tl-node-wrap {
    grid-column: 1;
    grid-row: 1;
    height: auto;
  }
  .mb-tl-stem {
    display: none;
  }
  .mb-tl-top .mb-step-card,
  .mb-tl-bottom .mb-step-card {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    margin: 0;
  }
  .mb-tl-top .mb-step-card:hover,
  .mb-tl-top.is-active .mb-step-card,
  .mb-tl-bottom .mb-step-card:hover,
  .mb-tl-bottom.is-active .mb-step-card {
    transform: translateX(4px);
  }
}
@media (max-width: 710px) {
  .mb-header-copy {
    gap: 14px;
  }
  .mb-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: clamp(24px, 7vw, 32px);
  }
  .mb-title-logo {
    height: 68px;
  }
  .mb-santi-stage {
    width: 170px;
    height: 170px;
  }
  .mb-step-card {
    padding: 18px 16px 20px;
  }
  .mb-analyst-role {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }
  .mb-role-icon {
    width: 46px;
    height: 46px;
  }
}

/* 19c. Sección Body Inicio: ¿Cómo se define el mundo de tu comité? (Brandbook Caja Arequipa + Visualización clara 50/25/25) */
body[data-page='home'] main > .committee-world-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 6vw, 88px) 0 clamp(58px, 6.2vw, 90px);
  background:
    radial-gradient(46% 52% at 88% 12%, rgba(0, 135, 174, .24), transparent 70%),
    radial-gradient(40% 48% at 12% 84%, rgba(1, 197, 198, .14), transparent 72%),
    linear-gradient(180deg, #032c54 0%, #01244d 50%, #032c54 100%);
  color: #e6f2fa;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.cw-shell {
  position: relative;
  z-index: 1;
}
.cw-header {
  max-width: 840px;
  margin-bottom: clamp(30px, 3.6vw, 44px);
}
.cw-daily-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(1, 197, 198, .12);
  border: 1px solid rgba(1, 197, 198, .35);
  color: #e6f9fa;
  font-family: var(--font-primary);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cw-daily-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #01C5C6;
  animation: cw-dot-pulse 2.2s ease-in-out infinite;
}
@keyframes cw-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: .55; }
}
.cw-title {
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.28em;
  row-gap: 4px;
  font-family: var(--font-primary);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
}
.cw-t-white { color: #ffffff; }
.cw-t-cyan { color: #01C5C6; }
.cw-t-coral { color: #FF6262; }
.cw-desc {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: clamp(16px, 1.22vw, 18px);
  font-weight: 500;
  line-height: 1.7;
  color: #d7e9f6;
}
.cw-desc strong {
  color: #ffffff;
  font-weight: 800;
}

.cw-block-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-family: var(--font-primary);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ec5df;
}
.cw-block-label strong {
  color: #01C5C6;
  font-weight: 800;
}

/* Bloque 1: 3 tarjetas de criterios del ponderado (50% + 25% + 25% = 100%) */
.cw-weights-block {
  margin-bottom: clamp(32px, 4vw, 48px);
}
.cw-criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cw-criterion-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 22px 24px;
  border-radius: 24px 10px 24px 24px;
  background: linear-gradient(155deg, rgba(6, 52, 100, .82) 0%, rgba(2, 32, 68, .9) 100%);
  border: 1.5px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 28px rgba(0, 14, 34, .28);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .28s ease, opacity .28s ease, box-shadow .3s ease;
  cursor: pointer;
}
.cw-card-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--cw-color);
  transform-origin: left center;
}
.cw-card-bar::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent);
  animation: cw-bar-glint 4.8s calc(var(--cw-i, 0) * .9s) ease-in-out infinite;
}
@keyframes cw-bar-glint {
  0%, 62% { transform: translateX(0); opacity: 0; }
  74% { opacity: .9; }
  94% { opacity: .9; }
  100% { transform: translateX(460%); opacity: 0; }
}
.motion-ready .committee-world-section.is-inview .cw-criterion-card {
  animation: cw-card-rise .54s calc(var(--cw-i, 0) * 90ms) cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes cw-card-rise {
  from { opacity: .84; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.cw-criterion-card:hover,
.cw-criterion-card:focus-visible,
.cw-criterion-card.is-focused {
  transform: translateY(-5px);
  border-color: var(--cw-color);
  box-shadow: 0 18px 36px rgba(0, 14, 34, .42);
}
.cw-criterion-card:hover .cw-donut,
.cw-criterion-card.is-focused .cw-donut {
  transform: scale(1.06);
}
.cw-weights-block.has-focus .cw-criterion-card:not(.is-focused) {
  opacity: .68;
}
.cw-crit-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  width: 100%;
}
.cw-donut {
  position: relative;
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: transform .3s cubic-bezier(.22, 1.3, .36, 1);
}
.cw-donut svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.cw-donut-bg {
  fill: none;
  stroke: rgba(255, 255, 255, .12);
  stroke-width: 6;
}
.cw-donut-fill {
  fill: none;
  stroke: var(--cw-color);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--cw-dash));
  transition: stroke-dashoffset .85s cubic-bezier(.22, 1, .36, 1);
  animation: cw-donut-breathe 4.4s calc(var(--cw-i, 0) * .6s) ease-in-out infinite;
}
.motion-ready .committee-world-section.is-inview .cw-donut-fill {
  animation:
    cw-donut-draw .9s calc(80ms + var(--cw-i, 0) * 100ms) cubic-bezier(.22, 1, .36, 1) both,
    cw-donut-breathe 4.4s calc(1.1s + var(--cw-i, 0) * .6s) ease-in-out infinite;
}
@keyframes cw-donut-draw {
  from { stroke-dashoffset: calc(100 - var(--cw-dash) * .55); opacity: .7; }
  to { stroke-dashoffset: calc(100 - var(--cw-dash)); opacity: 1; }
}
@keyframes cw-donut-breathe {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 6px var(--cw-color)); }
}
.cw-donut-val {
  position: absolute;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
}
.cw-crit-titles {
  min-width: 0;
}
.cw-crit-sub {
  display: block;
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ec5df;
  margin-bottom: 3px;
}
.cw-crit-titles h3 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(18px, 1.45vw, 21px);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}
.cw-crit-desc {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.66;
  color: #d4e8f6;
}

/* Bloque 2: Proceso paso a paso 1 -> 2 -> 3 */
.cw-process-block {
  margin-bottom: clamp(28px, 3.6vw, 40px);
}
.cw-process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.cw-process-item {
  position: relative;
  display: flex;
}
.cw-process-item:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -19px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 800;
  color: #01C5C6;
  pointer-events: none;
  animation: cw-arrow-flow 2.4s calc(var(--cw-i, 0) * .35s) ease-in-out infinite;
}
@keyframes cw-arrow-flow {
  0%, 100% { transform: translate(0, -50%); opacity: .65; }
  50% { transform: translate(4px, -50%); opacity: 1; }
}
.cw-process-card {
  width: 100%;
  padding: 22px 22px 24px;
  border-radius: 22px 10px 22px 22px;
  background: rgba(5, 44, 88, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 10px 24px rgba(0, 12, 30, .24);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), border-color .28s ease;
}
.cw-process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 197, 198, .55);
}
.cw-process-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.cw-process-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #01C5C6;
  color: #002858;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 900;
}
.cw-process-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.cw-step-svg {
  width: 34px;
  height: 34px;
  display: block;
}
.cw-svg-result {
  transform-box: fill-box;
  transform-origin: center;
  animation: mb-dot-pulse 2.4s ease-in-out infinite;
}
.cw-rank-bar {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: mb-bar-wave 2.4s ease-in-out infinite;
}
.cw-rb2 { animation-delay: .25s; }
.cw-rb3 { animation-delay: .5s; }
.cw-rank-arrow {
  animation: mb-arrow-strike 2.6s ease-in-out infinite;
}
.cw-split-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: mb-dot-pulse 2.4s ease-in-out infinite;
}
.cw-sd2 { animation-delay: .25s; }
.cw-sd3 { animation-delay: .5s; }

.cw-process-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-primary);
  font-size: clamp(18px, 1.4vw, 20px);
  font-weight: 800;
  color: #ffffff;
}
.cw-process-card p {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 14.8px;
  font-weight: 500;
  line-height: 1.62;
  color: #cde3f2;
}

/* Bloque 3: Selector interactivo y escenario animado Dakar de los 6 mundos */
.cw-worlds-panel {
  padding: 24px 26px 26px;
  border-radius: 26px 10px 26px 26px;
  background: linear-gradient(115deg, rgba(0, 135, 174, .18) 0%, rgba(4, 38, 78, .82) 55%, rgba(0, 34, 74, .92) 100%);
  border: 1px solid rgba(1, 197, 198, .28);
  box-shadow: 0 14px 32px rgba(0, 12, 30, .3);
}
.cw-worlds-head {
  margin-bottom: 18px;
}
.cw-worlds-kicker {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #01C5C6;
}
.cw-worlds-head p {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.58;
  color: #dcebf7;
}
.cw-worlds-bar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.cw-world-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1.5px solid rgba(255, 255, 255, .13);
  color: #dcebf7;
  text-align: left;
  transition: transform .26s cubic-bezier(.22, 1, .36, 1), border-color .26s ease, background-color .26s ease, box-shadow .26s ease;
}
.cw-world-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 197, 198, .55);
  background: rgba(1, 197, 198, .12);
}
.cw-world-tab.is-active,
.cw-world-tab[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(1, 197, 198, .24), rgba(0, 135, 174, .28));
  border-color: #01C5C6;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 12, 30, .35), inset 0 1px 0 rgba(255, 255, 255, .24);
  transform: translateY(-2px);
}
.cw-world-tab img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0, 12, 30, .4));
  transition: transform .26s cubic-bezier(.22, 1, .36, 1);
}
.cw-world-tab.is-active img {
  transform: scale(1.08);
}
.cw-world-tab-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cw-world-tab-text small {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ec5df;
  line-height: 1.2;
}
.cw-world-tab.is-active .cw-world-tab-text small {
  color: #01C5C6;
}
.cw-world-tab-text strong {
  font-family: var(--font-primary);
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Escenario Dakar reutilizado dentro de la sección de 6 mundos */
.hero-dakar.cw-dakar-stage {
  margin-top: 0;
  padding: 0;
  min-height: clamp(460px, 56dvh, 560px);
  border-radius: 22px 10px 22px 22px;
  overflow: hidden;
  border: 1.5px solid rgba(1, 197, 198, .28);
  box-shadow: 0 22px 48px rgba(0, 10, 28, .48);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
}
.hero-dakar.cw-dakar-stage::before {
  background:
    linear-gradient(96deg, rgba(0, 28, 66, .88) 0%, rgba(0, 36, 80, .68) 32%, rgba(0, 36, 80, .14) 52%, transparent 72%),
    linear-gradient(180deg, rgba(0, 24, 56, .22) 0%, transparent 20%, transparent 80%, rgba(0, 24, 56, .52) 100%);
}
.hero-dakar.cw-dakar-stage .dakar-panorama {
  z-index: 0;
  transform: scale(1.03);
  transition: opacity .85s ease .12s, transform 1.25s cubic-bezier(.22, 1, .36, 1);
}
.hero-dakar.cw-dakar-stage .dakar-world-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  transition: opacity .75s cubic-bezier(.25, .1, .25, 1), transform 1.25s cubic-bezier(.22, 1, .36, 1);
}
.hero-dakar.cw-dakar-stage .dakar-road-layer {
  overflow: hidden;
  z-index: 4;
}
.hero-dakar.cw-dakar-stage .dakar-rider-wrap {
  width: clamp(160px, 15.5vw, 208px);
}
.cw-dakar-copy {
  position: relative;
  z-index: 6;
  max-width: min(468px, 45%);
  margin: 34px 36px;
  padding: 26px 28px;
  border-radius: 22px 10px 22px 22px;
  background: linear-gradient(145deg, rgba(2, 34, 74, .76), rgba(0, 24, 56, .66));
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 38px rgba(0, 10, 28, .38);
  transition: opacity .26s ease, transform .34s cubic-bezier(.22, 1, .36, 1);
}
.cw-dakar-copy.is-swapping {
  opacity: .22;
  transform: translate3d(0, 8px, 0);
}
.cw-dakar-copy-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cw-dakar-badge {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 14px rgba(0, 12, 30, .48));
}
.cw-dakar-tramo {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(1, 197, 198, .18);
  border: 1px solid rgba(1, 197, 198, .55);
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cw-dakar-title {
  margin: 0 0 10px;
  font-family: var(--font-primary);
  font-size: clamp(19.5px, 1.65vw, 24px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: #ffffff;
}
.cw-dakar-desc {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: clamp(15px, 1.12vw, 16.5px);
  font-weight: 500;
  line-height: 1.66;
  color: #dcebf7;
}

/* Bloque final: ¿Qué debes tener claro sobre la clasificación? */
.cw-clarity-block {
  margin-top: 40px;
}
.cw-clarity-head {
  margin-bottom: 22px;
}
.cw-clarity-title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(23px, 2.3vw, 32px);
  font-weight: 800;
  font-style: normal;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: #ffffff;
}
.cw-clarity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.cw-clarity-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 20px 10px 20px 20px;
  background: linear-gradient(155deg, rgba(6, 46, 94, .68), rgba(2, 30, 68, .58));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 26px rgba(0, 12, 32, .24);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .28s ease, box-shadow .3s ease;
  animation: cw-card-enter .65s calc(var(--cw-i, 0) * 90ms) cubic-bezier(.22, 1, .36, 1) both;
}
.cw-clarity-card:hover {
  transform: translateY(-4px);
  border-color: var(--cw-cl-accent, #01C5C6);
  box-shadow: 0 18px 34px rgba(0, 10, 28, .36);
}
.cw-clarity-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cw-cl-accent, #01C5C6);
  opacity: .88;
  overflow: hidden;
}
.cw-clarity-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
}
.cw-clarity-svg {
  width: 38px;
  height: 38px;
}
.cw-clarity-body {
  min-width: 0;
}
.cw-clarity-body h4 {
  margin: 0 0 6px;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}
.cw-clarity-body p {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.62;
  color: #cde1f2;
}
/* Motion graphics sutiles de los 4 íconos clave */
.cw-cl-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: cw-cl-breathe 3.4s ease-in-out infinite;
}
.cw-cl-n2 { animation-delay: .55s; }
.cw-cl-n3 { animation-delay: 1.1s; }
.cw-cl-spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: cw-cl-rotate 10s linear infinite;
}
.cw-cl-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: cw-cl-breathe 2.6s ease-in-out infinite;
}
.cw-cl-star {
  transform-box: fill-box;
  transform-origin: center;
  animation: cw-cl-star-beat 3.2s ease-in-out infinite;
}
.cw-cl-rdot {
  transform-box: fill-box;
  transform-origin: center;
  animation: cw-cl-route-wave 3.6s ease-in-out infinite;
}
.cw-rd1 { animation-delay: 0s; }
.cw-rd2 { animation-delay: .35s; }
.cw-rd3 { animation-delay: .7s; }
.cw-rd4 { animation-delay: 1.05s; }
.cw-rd5 { animation-delay: 1.4s; }
.cw-rd6 { animation-delay: 1.75s; }
@keyframes cw-cl-breathe {
  0%, 100% { transform: scale(1); opacity: .88; }
  50% { transform: scale(1.1); opacity: 1; }
}
@keyframes cw-cl-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes cw-cl-star-beat {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.12) rotate(8deg); }
}
@keyframes cw-cl-route-wave {
  0%, 70%, 100% { transform: scale(1); opacity: .72; }
  25% { transform: scale(1.38); opacity: 1; }
}

/* Bloques finales: En simple + Importante */
.cw-takeaways {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.cw-note {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 12px 26px rgba(0, 12, 32, .24);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), border-color .28s ease;
}
.cw-note:hover {
  transform: translateY(-2px);
}
.cw-note-simple {
  background: linear-gradient(145deg, rgba(1, 197, 198, .15), rgba(3, 38, 82, .74));
  border-color: rgba(1, 197, 198, .42);
  border-left: 4px solid #01C5C6;
}
.cw-note-important {
  background: linear-gradient(145deg, rgba(255, 98, 98, .13), rgba(3, 34, 74, .78));
  border-color: rgba(255, 98, 98, .42);
  border-left: 4px solid #FF6262;
}
.cw-note-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  display: grid;
  place-items: center;
}
.cw-note-icon svg {
  width: 28px;
  height: 28px;
}
.cw-note-spark {
  transform-box: fill-box;
  transform-origin: center;
  animation: cw-cl-star-beat 3.6s ease-in-out infinite;
}
.cw-note p {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.66;
  color: #dcebf7;
}
.cw-note p strong {
  font-family: var(--font-primary);
  font-weight: 800;
  color: #ffffff;
}
.cw-note-simple p strong {
  color: #7bf6f7;
}
.cw-note-important p strong {
  color: #ff9c9c;
}

/* 19c. Sección «Mi Bonito: qué consultar y cómo aprovecharlo» */
.mibonito-guide-section {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6.2vw, 88px) 0;
  background:
    radial-gradient(48% 58% at 14% 12%, rgba(1, 197, 198, .12), transparent 70%),
    radial-gradient(42% 52% at 88% 82%, rgba(0, 135, 174, .16), transparent 72%),
    linear-gradient(180deg, #02254d 0%, #032c54 100%);
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #e6f2fa;
}
.mbg-shell {
  position: relative;
  z-index: 2;
}
.mbg-header {
  max-width: 820px;
  margin-bottom: clamp(28px, 3.6vw, 42px);
}
.mbg-title {
  margin: 0 0 14px;
  font-family: var(--font-primary);
  font-size: clamp(28px, 3.1vw, 42px);
  font-weight: 800;
  font-style: normal;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.mbg-t-white {
  color: #ffffff;
}
.mbg-t-cyan {
  color: #01C5C6;
}
.mbg-desc {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: clamp(15.5px, 1.25vw, 17.5px);
  font-weight: 500;
  line-height: 1.66;
  color: #cde1f2;
}

.mbg-route {
  position: relative;
}
.mbg-steps-grid {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
}
.mbg-step-item {
  position: relative;
  display: flex;
}
.mbg-arrow {
  position: absolute;
  right: -32px;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  color: #01C5C6;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(1, 197, 198, .35));
}
.mbg-arrow svg {
  width: 24px;
  height: 22px;
  animation: mbg-connector-flow 2.8s calc(var(--mbg-i, 0) * .45s) ease-in-out infinite;
}
@keyframes mbg-connector-flow {
  0%, 100% { transform: translateX(-2px); opacity: .65; }
  45% { transform: translateX(3px); opacity: 1; }
}
.mbg-step-card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 22px 26px;
  border-radius: 22px 10px 22px 22px;
  background: linear-gradient(155deg, rgba(6, 46, 94, .78), rgba(2, 30, 68, .68));
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 14px 30px rgba(0, 12, 32, .28);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .28s ease, box-shadow .3s ease;
  animation: cw-card-enter .65s calc(var(--mbg-i, 0) * 100ms) cubic-bezier(.22, 1, .36, 1) both;
}
.mbg-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--mbg-accent, #01C5C6);
  opacity: .9;
}
.mbg-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--mbg-accent, #01C5C6);
  box-shadow: 0 20px 38px rgba(0, 10, 28, .4);
}
.mbg-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mbg-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(2, 30, 68, .92);
  border: 2px solid var(--mbg-accent, #01C5C6);
  box-shadow: 0 6px 16px rgba(0, 10, 28, .35);
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), background-color .28s ease, color .28s ease;
}
.mbg-step-card:hover .mbg-step-num {
  transform: scale(1.08);
  background: var(--mbg-accent, #01C5C6);
  color: #002858;
}
.mbg-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
}
.mbg-step-svg {
  width: 36px;
  height: 36px;
}
.mbg-step-text {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.64;
  color: #dcebf7;
}

/* Motion graphics sutiles en los 4 íconos de ruta práctica */
.mbg-svg-enter {
  animation: mbg-arrow-nudge 2.8s ease-in-out infinite;
}
.mbg-svg-tile {
  transform-box: fill-box;
  transform-origin: center;
  animation: cw-cl-breathe 3.2s ease-in-out infinite;
}
.mbg-svg-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: cw-cl-breathe 2.4s ease-in-out infinite;
}
.mbg-svg-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: cw-cl-breathe 3s .4s ease-in-out infinite;
}
.mbg-svg-loop {
  transform-box: fill-box;
  transform-origin: center;
  animation: cw-cl-rotate 11s linear infinite;
}
.mbg-svg-check {
  transform-box: fill-box;
  transform-origin: center;
  animation: cw-cl-breathe 3.2s ease-in-out infinite;
}
@keyframes mbg-arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

/* Catálogos de autoservicios: Analistas (6) y Analistas sénior (4) */
.mbg-catalog {
  margin-top: clamp(36px, 4.4vw, 52px);
}
.mbg-catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}
.mbg-catalog-title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 800;
  font-style: normal;
  line-height: 1.2;
  color: #ffffff;
}
.mbg-catalog-count {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(1, 197, 198, .14);
  border: 1px solid rgba(1, 197, 198, .42);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7bf6f7;
}
.mbg-tools-grid {
  display: grid;
  gap: 16px;
}
.mbg-tools-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mbg-tools-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mbg-tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  border-radius: 20px 10px 20px 20px;
  background: linear-gradient(155deg, rgba(6, 46, 94, .74), rgba(2, 30, 68, .64));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 26px rgba(0, 12, 32, .25);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .28s ease, box-shadow .3s ease;
  animation: cw-card-enter .65s calc(var(--mbg-i, 0) * 75ms) cubic-bezier(.22, 1, .36, 1) both;
}
.mbg-tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--mbg-accent, #01C5C6);
  box-shadow: 0 18px 34px rgba(0, 10, 28, .38);
}
.mbg-tool-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--mbg-accent, #01C5C6);
  opacity: .9;
}
.mbg-tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.mbg-tool-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mbg-accent, #01C5C6);
}
.mbg-tool-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .11);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), border-color .28s ease;
}
.mbg-tool-icon svg {
  width: 24px;
  height: 24px;
}
.mbg-tool-card:hover .mbg-tool-icon {
  transform: scale(1.08);
  border-color: var(--mbg-accent, #01C5C6);
}
.mbg-tool-title {
  margin: 0 0 8px;
  font-family: var(--font-primary);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.24;
  color: #ffffff;
}
.mbg-tool-desc {
  margin: 0 0 16px;
  font-family: var(--font-secondary);
  font-size: 14.8px;
  font-weight: 500;
  line-height: 1.62;
  color: #cde1f2;
}
.mbg-tool-use {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #e6f3fc;
}
.mbg-tool-use strong {
  font-family: var(--font-primary);
  font-weight: 800;
  color: #7bf6f7;
}

.mbg-important {
  margin-top: 28px;
}

/* Botones CTA de cierre de guía */
.mbg-cta-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.mbg-btn-primary,
.mbg-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-primary);
  font-size: 15.5px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .26s cubic-bezier(.22, 1, .36, 1), background-color .26s ease, border-color .26s ease, box-shadow .26s ease;
}
.mbg-btn-primary {
  border-radius: 999px 999px 999px 14px;
  background: #01C5C6;
  color: #002858;
  border: 1.5px solid #01C5C6;
  box-shadow: 0 12px 26px rgba(1, 197, 198, .28);
}
.mbg-btn-primary:hover {
  transform: translateY(-2px);
  background: #23d8d9;
  border-color: #6df8f9;
  box-shadow: 0 16px 32px rgba(1, 197, 198, .38);
}
.mbg-btn-secondary {
  border-radius: 14px 999px 999px 999px;
  background: rgba(4, 34, 72, .62);
  color: #ffffff;
  border: 1.5px solid rgba(1, 197, 198, .75);
  box-shadow: 0 10px 24px rgba(0, 12, 32, .28);
}
.mbg-btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(1, 197, 198, .2);
  border-color: #6df8f9;
  box-shadow: 0 14px 30px rgba(1, 197, 198, .26);
}
.mbg-btn-icon,
.mbg-btn-arrow {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.mbg-btn-icon svg,
.mbg-btn-arrow svg {
  width: 100%;
  height: 100%;
}
.mbg-btn-secondary .mbg-btn-icon {
  color: #01C5C6;
}
.mbg-btn-arrow {
  transition: transform .24s cubic-bezier(.22, 1, .36, 1);
}
.mbg-btn-primary:hover .mbg-btn-arrow,
.mbg-btn-secondary:hover .mbg-btn-arrow {
  transform: translateX(3px);
}

/* 19d. Página Retos grupales: hero de comité y fórmula visual del puntaje grupal */
body[data-page='retos'] {
  background: #02244c;
  color: #e6f2fa;
}
.rg-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 6vw, 84px) 0 clamp(36px, 4.5vw, 56px);
  background:
    radial-gradient(50% 65% at 14% 20%, rgba(1, 197, 198, .16), transparent 72%),
    radial-gradient(46% 62% at 86% 24%, rgba(0, 135, 174, .2), transparent 74%),
    linear-gradient(180deg, #002858 0%, #02244c 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.rg-hero-shell {
  max-width: 1180px;
}
.rg-kicker {
  margin-bottom: 18px;
}
.rg-title {
  margin: 0 0 14px;
  font-family: var(--font-primary);
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 800;
  font-style: normal;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: #ffffff;
}
.rg-t-dot {
  color: #FF6262;
}
.rg-lead {
  margin: 0;
  max-width: 740px;
  font-family: var(--font-secondary);
  font-size: clamp(16.5px, 1.35vw, 19px);
  font-weight: 500;
  line-height: 1.66;
  color: #d0e4f5;
}
.rg-main {
  background: linear-gradient(180deg, #02244c 0%, #032c54 100%);
}
.rg-formula-section {
  padding: clamp(44px, 5.2vw, 72px) 0 clamp(58px, 6.5vw, 88px);
}
.rg-block-head {
  margin-bottom: 26px;
}
.rg-section-title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 800;
  font-style: normal;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.rg-equation {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 1.15fr) auto minmax(0, .95fr);
  align-items: stretch;
  gap: 16px;
}
.rg-term-card,
.rg-result-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 24px;
  border-radius: 22px 10px 22px 22px;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .28s ease, box-shadow .3s ease;
  animation: cw-card-enter .65s cubic-bezier(.22, 1, .36, 1) both;
}
.rg-term-card {
  background: linear-gradient(155deg, rgba(6, 46, 94, .78), rgba(2, 30, 68, .68));
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 14px 30px rgba(0, 12, 32, .28);
}
.rg-term-card:hover {
  transform: translateY(-4px);
  border-color: var(--rg-accent, #01C5C6);
  box-shadow: 0 20px 38px rgba(0, 10, 28, .4);
}
.rg-term-ind {
  --rg-accent: #01C5C6;
}
.rg-term-com {
  --rg-accent: #3197C9;
  animation-delay: 110ms;
}
.rg-term-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--rg-accent, #01C5C6);
}
.rg-term-icon,
.rg-result-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
}
.rg-term-icon svg,
.rg-result-icon svg {
  width: 34px;
  height: 34px;
}
.rg-term-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-primary);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7bf6f7;
}
.rg-term-com .rg-term-label {
  color: #8dd6f5;
}
.rg-term-desc {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.56;
  color: #ffffff;
}

.rg-op {
  display: grid;
  place-items: center;
  align-self: center;
}
.rg-op span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  background: rgba(1, 197, 198, .18);
  border: 1.5px solid rgba(1, 197, 198, .65);
  box-shadow: 0 8px 20px rgba(0, 12, 32, .32);
  animation: cw-cl-breathe 3.2s ease-in-out infinite;
}
.rg-op-eq span {
  background: #01C5C6;
  color: #002858;
  border-color: #6df8f9;
  animation-delay: .55s;
}

.rg-result-card {
  align-items: flex-start;
  background: linear-gradient(145deg, rgba(1, 197, 198, .22), rgba(0, 135, 174, .28) 55%, rgba(2, 30, 68, .82));
  border: 1.5px solid #01C5C6;
  box-shadow: 0 18px 38px rgba(0, 14, 36, .42), inset 0 1px 0 rgba(255, 255, 255, .22);
  animation-delay: 220ms;
}
.rg-result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(1, 197, 198, .22), 0 16px 36px rgba(0, 10, 28, .45);
}
.rg-result-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #01C5C6, #ffffff 55%, #01C5C6);
}
.rg-result-icon {
  background: rgba(1, 197, 198, .16);
  border-color: rgba(1, 197, 198, .55);
}
.rg-result-title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 800;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.rg-svg-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: cw-cl-breathe 3.4s ease-in-out infinite;
}
.rg-svg-chart {
  stroke-dasharray: 28;
  animation: rg-chart-trace 4.2s ease-in-out infinite;
}
.rg-svg-star {
  transform-box: fill-box;
  transform-origin: center;
  animation: cw-cl-star-beat 3.4s ease-in-out infinite;
}
@keyframes rg-chart-trace {
  0%, 100% { stroke-dashoffset: 0; opacity: .9; }
  50% { stroke-dashoffset: 6; opacity: 1; }
}

.rg-ref-note {
  margin-top: 24px;
}

/* Catálogo filtrable con cápsulas: Todos, Comercial, Riesgo, Navegación, Especiales */
.rg-catalog-section {
  padding: 0 0 clamp(64px, 7vw, 96px);
}
.rg-catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.rg-capsules {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.rg-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid rgba(255, 255, 255, .18);
  color: #dcebf7;
  font-family: var(--font-primary);
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), background-color .24s ease, border-color .24s ease, color .24s ease, box-shadow .24s ease;
}
.rg-capsule small {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, .11);
  color: #9ed4ee;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition: background-color .24s ease, color .24s ease;
}
.rg-capsule:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 197, 198, .7);
  background: rgba(1, 197, 198, .14);
  color: #ffffff;
}
.rg-capsule.is-active,
.rg-capsule[aria-pressed='true'] {
  background: #01C5C6;
  border-color: #6df8f9;
  color: #002858;
  box-shadow: 0 10px 24px rgba(1, 197, 198, .3);
  transform: translateY(-2px);
}
.rg-capsule.is-active small,
.rg-capsule[aria-pressed='true'] small {
  background: rgba(0, 40, 88, .18);
  color: #002858;
}

.rg-retos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.rg-reto-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 26px;
  border-radius: 22px 10px 22px 22px;
  background: linear-gradient(155deg, rgba(6, 46, 94, .78), rgba(2, 30, 68, .68));
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 14px 30px rgba(0, 12, 32, .28);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .28s ease, box-shadow .3s ease;
  animation: rg-card-pop .38s calc(var(--rg-i, 0) * 45ms) cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes rg-card-pop {
  from { opacity: .88; transform: translate3d(0, 10px, 0) scale(.99); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
.rg-reto-card:hover {
  transform: translateY(-4px);
  border-color: var(--rg-card-accent, #01C5C6);
  box-shadow: 0 20px 38px rgba(0, 10, 28, .4);
}
.rg-reto-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--rg-card-accent, #01C5C6);
}
.rg-reto-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.rg-reto-cat {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--font-primary);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #cde6f7;
}
.rg-reto-score {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.rg-tone-positive .rg-reto-score,
.rg-tone-special .rg-reto-score {
  background: rgba(1, 197, 198, .18);
  border: 1px solid rgba(1, 197, 198, .62);
  color: #7bf6f7;
}
.rg-tone-mixed .rg-reto-score,
.rg-tone-formula .rg-reto-score {
  background: rgba(49, 151, 201, .2);
  border: 1px solid rgba(49, 151, 201, .62);
  color: #a9e2ff;
}
.rg-tone-penalty .rg-reto-score {
  background: rgba(255, 98, 98, .18);
  border: 1px solid rgba(255, 98, 98, .65);
  color: #ff9c9c;
}
.rg-reto-title {
  margin: 0 0 10px;
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 800;
  font-style: normal;
  line-height: 1.24;
  color: #ffffff;
}
.rg-reto-desc {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.62;
  color: #cde1f2;
}

/* 19e. Página Videos y novedades: reproductor destacado + comunicados del rally */
body[data-page='videos'] {
  background: #02244c;
  color: #e6f2fa;
}
.vn-stage-section {
  padding: clamp(40px, 5vw, 68px) 0 clamp(64px, 7vw, 96px);
}
.vn-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .95fr);
  gap: 24px;
  align-items: stretch;
}
.vn-video-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px 12px 24px 24px;
  background: linear-gradient(155deg, rgba(6, 46, 94, .82), rgba(2, 30, 68, .72));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 20px 44px rgba(0, 10, 28, .42);
  overflow: hidden;
}
.vn-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 50% 45%, rgba(1, 197, 198, .18), #001633 74%);
  overflow: hidden;
}
.vn-video-el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #001633;
}
.vn-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: radial-gradient(circle at 50% 50%, rgba(0, 22, 52, .22), rgba(0, 22, 52, .56));
  transition: background-color .28s ease, opacity .28s ease;
}
.vn-play-overlay[hidden] {
  display: none;
}
.vn-play-overlay:hover {
  background: radial-gradient(circle at 50% 50%, rgba(1, 197, 198, .18), rgba(0, 22, 52, .45));
}
.vn-play-disc {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #01C5C6;
  color: #002858;
  border: 3px solid rgba(255, 255, 255, .85);
  box-shadow: 0 14px 32px rgba(0, 12, 32, .5), 0 0 0 10px rgba(1, 197, 198, .22);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease;
  animation: cw-cl-breathe 3.2s ease-in-out infinite;
}
.vn-play-disc svg {
  width: 30px;
  height: 30px;
  margin-left: 2px;
}
.vn-play-overlay:hover .vn-play-disc {
  transform: scale(1.09);
  box-shadow: 0 18px 38px rgba(1, 197, 198, .38), 0 0 0 14px rgba(1, 197, 198, .28);
}

.vn-video-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.vn-video-meta {
  min-width: 0;
}
.vn-video-title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 800;
  font-style: normal;
  line-height: 1.2;
  color: #ffffff;
}
.vn-play-btn {
  cursor: pointer;
}

.vn-news-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.vn-news-card {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 20px 10px 20px 20px;
  background: linear-gradient(155deg, rgba(6, 46, 94, .78), rgba(2, 30, 68, .68));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 26px rgba(0, 12, 32, .26);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .28s ease, box-shadow .3s ease;
  animation: cw-card-enter .65s calc(var(--vn-i, 0) * 90ms) cubic-bezier(.22, 1, .36, 1) both;
}
.vn-news-card:hover {
  transform: translateY(-4px);
  border-color: var(--vn-accent, #01C5C6);
  box-shadow: 0 18px 34px rgba(0, 10, 28, .38);
}
.vn-news-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--vn-accent, #01C5C6);
}
.vn-news-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
}
.vn-item-svg {
  width: 34px;
  height: 34px;
}
.vn-news-body {
  min-width: 0;
}
.vn-news-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-primary);
  font-size: 19px;
  font-weight: 800;
  font-style: normal;
  line-height: 1.24;
  color: #ffffff;
}
.vn-news-body p {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.58;
  color: #cde1f2;
}
.vn-svg-play,
.vn-svg-wave,
.vn-svg-clap {
  transform-box: fill-box;
  transform-origin: center;
  animation: cw-cl-breathe 3.2s ease-in-out infinite;
}
.vn-svg-wave { animation-delay: .5s; }
.vn-svg-clap { animation-delay: 1s; }

/* 19f. Página Preguntas frecuentes: guía interactiva con cápsulas y acordeones */
body[data-page='faq'] {
  background: #02244c;
  color: #e6f2fa;
}
.fq-section {
  padding: clamp(38px, 4.8vw, 62px) 0 clamp(68px, 7vw, 98px);
}
.fq-shell {
  max-width: 980px;
}
.fq-capsules {
  margin-bottom: 24px;
}
.fq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fq-item {
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(6, 46, 94, .76), rgba(2, 30, 68, .66));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 10px 24px rgba(0, 12, 32, .24);
  overflow: hidden;
  transition: border-color .26s ease, box-shadow .28s ease, background-color .26s ease;
  animation: rg-card-pop .34s calc(var(--fq-i, 0) * 30ms) cubic-bezier(.22, 1, .36, 1) both;
}
.fq-item:hover {
  border-color: rgba(1, 197, 198, .55);
}
.fq-item[open] {
  border-color: #01C5C6;
  background: linear-gradient(155deg, rgba(8, 54, 106, .88), rgba(2, 34, 76, .78));
  box-shadow: 0 16px 32px rgba(0, 10, 28, .38);
}
.fq-summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  user-select: none;
}
.fq-summary::-webkit-details-marker {
  display: none;
}
.fq-num {
  min-width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(1, 197, 198, .14);
  border: 1px solid rgba(1, 197, 198, .42);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #7bf6f7;
  transition: background-color .24s ease, color .24s ease, border-color .24s ease;
}
.fq-item[open] .fq-num {
  background: #01C5C6;
  border-color: #6df8f9;
  color: #002858;
}
.fq-q {
  font-family: var(--font-primary);
  font-size: clamp(16.5px, 1.35vw, 19px);
  font-weight: 800;
  line-height: 1.32;
  color: #ffffff;
}
.fq-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #01C5C6;
  transition: transform .26s cubic-bezier(.22, 1, .36, 1), background-color .24s ease, color .24s ease;
}
.fq-toggle svg {
  width: 18px;
  height: 18px;
}
.fq-item[open] .fq-toggle {
  transform: rotate(45deg);
  background: rgba(1, 197, 198, .2);
  color: #ffffff;
}
.fq-answer {
  padding: 0 22px 22px 72px;
}
.fq-answer p {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.68;
  color: #d2e6f7;
}

/* 19g. Página Nuestros momentos más bonitos: murales mensuales + cierre diciembre */
body[data-page='momentos'] {
  background: #02244c;
  color: #e6f2fa;
}
.mm-gallery-section {
  padding: clamp(36px, 4.5vw, 56px) 0 clamp(68px, 7vw, 96px);
}
.mm-bar-wrap {
  margin-bottom: 30px;
}
.mm-months-container {
  display: flex;
  flex-direction: column;
  gap: 38px;
}
.mm-month-group {
  animation: rg-card-pop .38s calc(var(--mm-gi, 0) * 40ms) cubic-bezier(.22, 1, .36, 1) both;
}
.mm-month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}
.mm-month-title-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
}
.mm-month-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mm-accent, #01C5C6);
  box-shadow: 0 0 0 4px rgba(1, 197, 198, .18);
}
.mm-month-group.is-december .mm-month-dot {
  box-shadow: 0 0 0 4px rgba(255, 98, 98, .22);
}
.mm-month-title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 800;
  font-style: normal;
  line-height: 1.15;
  color: #ffffff;
}
.mm-month-count {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  font-family: var(--font-primary);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b7daf1;
}

.mm-murals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mm-mural-card {
  display: flex;
  border-radius: 22px 10px 22px 22px;
  background: linear-gradient(155deg, rgba(6, 46, 94, .78), rgba(2, 30, 68, .68));
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 14px 30px rgba(0, 12, 32, .28);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .28s ease, box-shadow .3s ease;
}
.mm-mural-card:hover {
  transform: translateY(-4px);
  border-color: var(--mm-accent, #01C5C6);
  box-shadow: 0 20px 38px rgba(0, 10, 28, .42);
}
.mm-mural-card.is-video-card {
  border-color: rgba(1, 197, 198, .35);
}
.mm-mural-trigger {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.mm-media-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 45%, rgba(1, 197, 198, .15), rgba(0, 24, 56, .92) 76%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 12px, transparent 12px 24px);
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}
.mm-media-img,
.mm-media-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .48s cubic-bezier(.22, 1, .36, 1);
}
.mm-mural-card:hover .mm-media-img,
.mm-mural-card:hover .mm-media-video {
  transform: scale(1.05);
}
.mm-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
}
.mm-placeholder.is-video {
  background: radial-gradient(58% 65% at 50% 48%, rgba(255, 98, 98, .16), rgba(1, 197, 198, .1) 52%, transparent 80%);
}
.mm-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(1, 197, 198, .48);
  border-style: solid;
  border-width: 0;
  transition: border-color .28s ease, transform .28s ease;
}
.mm-c-tl { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 4px; }
.mm-c-tr { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 4px; }
.mm-c-bl { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 4px; }
.mm-c-br { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 4px; }
.mm-mural-card:hover .mm-corner {
  border-color: #01C5C6;
}
.mm-ph-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(2, 30, 68, .72);
  border: 1px solid rgba(255, 255, 255, .15);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .28s ease;
}
.mm-ph-icon svg {
  width: 34px;
  height: 34px;
}
.mm-mural-card:hover .mm-ph-icon {
  transform: scale(1.08);
  border-color: var(--mm-accent, #01C5C6);
}
.mm-ph-badge {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #a9d5ee;
}
.mm-slot-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 24, 56, .82);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #7bf6f7;
}
.mm-month-group.is-december .mm-slot-tag {
  color: #ffadad;
  border-color: rgba(255, 98, 98, .45);
}
.mm-mural-body {
  padding: 18px 20px 20px;
}
.mm-mural-title {
  margin: 0 0 6px;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 800;
  font-style: normal;
  line-height: 1.25;
  color: #ffffff;
}
.mm-mural-desc {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.55;
  color: #c5dcf0;
}

/* Banner de cierre: Diciembre · Reto del nacimiento + Video recopilatorio */
.mm-dec-banner {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .96fr);
  align-items: center;
  gap: 32px;
  padding: clamp(26px, 3.6vw, 40px);
  border-radius: 26px 12px 26px 26px;
  background:
    radial-gradient(48% 72% at 88% 20%, rgba(1, 197, 198, .2), transparent 70%),
    radial-gradient(42% 65% at 10% 85%, rgba(255, 98, 98, .14), transparent 72%),
    linear-gradient(145deg, rgba(6, 48, 98, .88), rgba(2, 28, 64, .88));
  border: 1.5px solid rgba(1, 197, 198, .48);
  box-shadow: 0 22px 46px rgba(0, 10, 28, .44);
}
.mm-dec-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff9c9c;
}
.mm-dec-title {
  margin: 0 0 12px;
  font-family: var(--font-primary);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 800;
  font-style: normal;
  line-height: 1.15;
  color: #ffffff;
}
.mm-dec-desc {
  margin: 0 0 22px;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.66;
  color: #d4e8f8;
}
.mm-recap-btn {
  cursor: pointer;
}
.mm-recap-play {
  font-size: 13px;
  line-height: 1;
}

.mm-recap-visual {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
}
.mm-recap-stack-a,
.mm-recap-stack-b {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(4, 38, 82, .65);
  pointer-events: none;
  transition: transform .36s cubic-bezier(.22, 1, .36, 1);
}
.mm-recap-stack-a {
  transform: rotate(-2.4deg) translate(-6px, 5px);
}
.mm-recap-stack-b {
  transform: rotate(2.1deg) translate(6px, -4px);
}
.mm-recap-visual:hover .mm-recap-stack-a {
  transform: rotate(-4deg) translate(-10px, 7px);
}
.mm-recap-visual:hover .mm-recap-stack-b {
  transform: rotate(3.6deg) translate(10px, -6px);
}
.mm-recap-screen {
  position: relative;
  z-index: 2;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(62% 72% at 50% 45%, rgba(1, 197, 198, .22), rgba(0, 22, 52, .94) 76%);
  border: 1.5px solid rgba(1, 197, 198, .55);
  box-shadow: 0 18px 36px rgba(0, 10, 28, .48);
}
.mm-recap-chip {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 98, 98, .18);
  border: 1px solid rgba(255, 98, 98, .55);
  font-family: var(--font-primary);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffb0b0;
}
.mm-recap-disc {
  width: 66px;
  height: 66px;
}
.mm-recap-caption {
  font-family: var(--font-secondary);
  font-size: 13.5px;
  font-weight: 600;
  color: #cfe4f5;
}

/* Visor modal multimedia (listo para fotos y videos reales) */
.mm-lightbox {
  width: min(820px, calc(100% - 28px));
  padding: 0;
  border: 1px solid rgba(1, 197, 198, .48);
  border-radius: 24px;
  background: linear-gradient(155deg, #052c5e, #021d42);
  color: #e6f2fa;
  box-shadow: 0 28px 64px rgba(0, 8, 22, .68);
}
.mm-lightbox::backdrop {
  background: rgba(0, 12, 30, .78);
  backdrop-filter: blur(8px);
}
.mm-lb-shell {
  padding: 24px;
}
.mm-lb-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.mm-lb-title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}
.mm-lb-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
}
.mm-lb-close:hover {
  background: rgba(1, 197, 198, .22);
  border-color: #01C5C6;
}
.mm-lb-stage {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #001633;
  border: 1px solid rgba(255, 255, 255, .14);
  display: grid;
  place-items: center;
}
.mm-lb-img,
.mm-lb-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mm-lb-empty {
  max-width: 480px;
  padding: 24px;
  text-align: center;
}
.mm-lb-empty-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(1, 197, 198, .16);
  border: 1px solid rgba(1, 197, 198, .5);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 800;
  color: #7bf6f7;
}
.mm-lb-empty p {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 1.62;
  color: #cde1f2;
}
.mm-lb-desc {
  margin: 14px 0 0;
  font-family: var(--font-secondary);
  font-size: 14.5px;
  color: #bdd7ec;
}

/* 19h. Desafíos y juegos, Trivia de Variables y Memoria de autoservicios (5×4) */
body[data-page='juegos'],
body[data-page='trivia'],
body[data-page='memoria'] {
  background: #02244c;
  color: #e6f2fa;
}
.jg-access-section {
  padding: clamp(32px, 4vw, 52px) 0 12px;
}
.jg-games-section {
  padding: clamp(28px, 3.6vw, 44px) 0;
}
.jg-ranking-section {
  padding: clamp(24px, 3.4vw, 44px) 0 clamp(68px, 7vw, 96px);
}
.jg-play-section {
  padding: clamp(32px, 4vw, 54px) 0 clamp(68px, 7vw, 96px);
}
.jg-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-family: var(--font-primary);
  font-size: 13.5px;
  font-weight: 800;
  color: #7bf6f7;
  text-decoration: none;
}
.jg-back-link:hover {
  color: #ffffff;
}

.jg-auth-card,
.jg-session-bar,
.jg-ranking-card,
.jg-board-card {
  border-radius: 24px 12px 24px 24px;
  background: linear-gradient(155deg, rgba(6, 46, 94, .82), rgba(2, 30, 68, .72));
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 18px 40px rgba(0, 10, 28, .36);
}
.jg-auth-card {
  padding: clamp(22px, 3vw, 32px);
}
.jg-auth-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.jg-auth-status {
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  font-family: var(--font-secondary);
  font-size: 14.5px;
  font-weight: 600;
}
.jg-auth-status.is-error {
  background: rgba(255, 98, 98, .15);
  border: 1px solid rgba(255, 98, 98, .58);
  color: #ffb4b4;
}
.jg-auth-status.is-success {
  background: rgba(1, 197, 198, .16);
  border: 1px solid rgba(1, 197, 198, .55);
  color: #8df8f9;
}
.jg-fields {
  display: grid;
  gap: 14px;
}
.jg-fields-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.jg-fields-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.jg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.jg-field span {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 800;
  color: #cce3f5;
}
.jg-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1.5px solid rgba(255, 255, 255, .18);
  background: rgba(0, 22, 52, .72);
  color: #ffffff;
  font-family: var(--font-secondary);
  font-size: 15px;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.jg-field input::placeholder {
  color: rgba(186, 214, 236, .55);
}
.jg-field input:focus {
  outline: none;
  border-color: #01C5C6;
  box-shadow: 0 0 0 3px rgba(1, 197, 198, .22);
}
.jg-form-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.jg-text-link {
  border: 0;
  background: transparent;
  padding: 6px 2px;
  color: #7bf6f7;
  font-family: var(--font-secondary);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.jg-text-link:hover {
  color: #ffffff;
}
.jg-form-hint {
  font-family: var(--font-secondary);
  font-size: 13.5px;
  color: #a9cbe4;
}

.jg-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 26px;
  border-color: rgba(1, 197, 198, .5);
}
.jg-session-bar[hidden],
.jg-auth-card[hidden],
.jg-form[hidden] {
  display: none;
}
.jg-session-user {
  display: flex;
  align-items: center;
  gap: 14px;
}
.jg-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #01C5C6, #0087AE);
  color: #002858;
  font-family: var(--font-primary);
  font-size: 19px;
  font-weight: 800;
  flex-shrink: 0;
}
.jg-session-name {
  margin: 2px 0 2px;
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}
.jg-session-email {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: #b7d7ee;
}
.jg-session-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.jg-stat-pill {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(1, 197, 198, .15);
  border: 1px solid rgba(1, 197, 198, .48);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 800;
  color: #7bf6f7;
}
.jg-logout-btn {
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
}

.jg-games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.jg-game-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px 12px 24px 24px;
  background: linear-gradient(155deg, rgba(6, 46, 94, .82), rgba(2, 30, 68, .72));
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 16px 36px rgba(0, 10, 28, .34);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .28s ease, box-shadow .3s ease;
}
.jg-game-card:hover {
  transform: translateY(-5px);
  border-color: #01C5C6;
  box-shadow: 0 22px 44px rgba(0, 10, 28, .45);
}
.jg-game-media {
  position: relative;
  height: 230px;
  display: grid;
  place-items: center;
  padding: 20px;
  background: radial-gradient(60% 75% at 50% 48%, rgba(1, 197, 198, .2), rgba(0, 22, 52, .92) 78%);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.jg-game-img {
  max-height: 185px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 10, 28, .5));
  transition: transform .36s cubic-bezier(.22, 1, .36, 1);
}
.jg-game-card:hover .jg-game-img {
  transform: scale(1.06) translateY(-3px);
}
.jg-game-tag {
  position: absolute;
  top: 14px;
  left: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 24, 56, .85);
  border: 1px solid rgba(1, 197, 198, .5);
  font-family: var(--font-primary);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #7bf6f7;
}
.jg-game-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px;
}
.jg-game-body h3 {
  margin: 0 0 10px;
  font-family: var(--font-primary);
  font-size: 23px;
  font-weight: 800;
  color: #ffffff;
}
.jg-game-body p {
  margin: 0 0 18px;
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 1.62;
  color: #cde1f2;
}
.jg-weeks-mini {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.jg-wk-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 800;
  color: #a9cbe4;
}
.jg-wk-chip.is-done {
  background: rgba(1, 197, 198, .22);
  border-color: #01C5C6;
  color: #ffffff;
}
.jg-play-link {
  margin-top: auto;
  align-self: flex-start;
}
.jg-lock-hint {
  margin-top: 10px;
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 600;
  color: #ffb2b2;
}
.jg-lock-hint[hidden],
.jg-player-strip[hidden],
.jg-access-gate[hidden],
#trivia-play-area[hidden],
#memory-play-area[hidden] {
  display: none;
}
.jg-auth-card.is-attention {
  border-color: #FF6262;
  box-shadow: 0 0 0 3px rgba(255, 98, 98, .28), 0 18px 40px rgba(0, 10, 28, .44);
  animation: memory-mismatch-shake .42s ease-in-out;
}
.jg-access-gate {
  max-width: 680px;
  margin: 12px auto 0;
  padding: clamp(28px, 4vw, 42px) clamp(22px, 3.5vw, 36px);
  border-radius: 24px 12px 24px 24px;
  text-align: center;
  background: linear-gradient(155deg, rgba(6, 46, 94, .88), rgba(2, 30, 68, .82));
  border: 1.5px solid rgba(255, 98, 98, .55);
  box-shadow: 0 20px 44px rgba(0, 10, 28, .44);
}
.jg-gate-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 98, 98, .12);
  border: 1px solid rgba(255, 98, 98, .45);
}
.jg-gate-icon svg {
  width: 36px;
  height: 36px;
}
.jg-access-gate h2 {
  margin: 0 0 10px;
  font-family: var(--font-primary);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  color: #ffffff;
}
.jg-access-gate p {
  margin: 0 0 22px;
  font-family: var(--font-secondary);
  font-size: 15.5px;
  line-height: 1.66;
  color: #d4e8f8;
}
.jg-gate-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.jg-ranking-card {
  padding: 12px 18px;
  overflow: hidden;
}
.jg-ranking-empty {
  margin: 0;
  padding: 26px 14px;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 15.5px;
  color: #bdd9ee;
}
.jg-table-scroll {
  overflow-x: auto;
}
.jg-rank-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.jg-rank-table th {
  padding: 14px 12px;
  text-align: left;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7bf6f7;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.jg-rank-table td {
  padding: 13px 12px;
  font-family: var(--font-secondary);
  font-size: 15px;
  color: #e6f2fa;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.jg-rank-table tr.is-me td {
  background: rgba(1, 197, 198, .12);
}
.jg-pos-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, .09);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}
.jg-pos-badge.is-p1 { background: #01C5C6; color: #002858; }
.jg-pos-badge.is-p2 { background: #3197C9; color: #ffffff; }
.jg-pos-badge.is-p3 { background: #FF6262; color: #ffffff; }
.jg-me-tag {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #01C5C6;
  color: #002858;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 800;
}
.jg-pts-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-primary);
  font-size: 13.5px;
  font-weight: 800;
}
.jg-pts-pill.is-100 {
  background: rgba(1, 197, 198, .22);
  border: 1px solid #01C5C6;
  color: #7bf6f7;
}
.jg-pts-pill.is-50 {
  background: rgba(49, 151, 201, .2);
  border: 1px solid rgba(49, 151, 201, .6);
  color: #b4e2ff;
}

/* Páginas internas de juego: Trivia de Variables + Memoria 5×4 */
.jg-player-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(6, 46, 94, .76);
  border: 1px solid rgba(255, 255, 255, .16);
}
.jg-player-strip.is-logged {
  border-color: rgba(1, 197, 198, .55);
  background: rgba(1, 197, 198, .12);
}
.jg-strip-text {
  font-family: var(--font-secondary);
  font-size: 14.5px;
  color: #dcebf7;
}
.jg-strip-btn {
  padding: 9px 16px;
  font-size: 13.5px;
}
.jg-week-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.jg-week-bar .rg-capsule.is-played {
  border-color: rgba(1, 197, 198, .62);
}
.jg-board-card {
  padding: clamp(20px, 2.8vw, 30px);
}
.jg-trivia-shell {
  max-width: 920px;
}
.jg-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.jg-hud-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.jg-hud-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  font-family: var(--font-secondary);
  font-size: 14px;
  color: #cfe4f5;
}
.jg-hud-pill strong {
  font-family: var(--font-primary);
  color: #ffffff;
  margin-left: 4px;
}
.jg-hud-timer {
  border-color: rgba(1, 197, 198, .55);
}
.jg-hud-timer strong {
  color: #7bf6f7;
}
.jg-hud-timer.is-urgent {
  border-color: #FF6262;
  background: rgba(255, 98, 98, .18);
}
.jg-hud-timer.is-urgent strong {
  color: #ffb2b2;
}
.jg-week-badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(1, 197, 198, .16);
  border: 1px solid rgba(1, 197, 198, .48);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 800;
  color: #7bf6f7;
}
.jg-progress-bar {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, .12);
}
.jg-q-title {
  margin: 0 0 20px;
  font-family: var(--font-primary);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.32;
  color: #ffffff;
}
.jg-options {
  display: grid;
  gap: 12px;
}
.jg-options .answer {
  padding: 15px 18px;
  border-radius: 15px;
  border: 1.5px solid rgba(255, 255, 255, .18);
  background: rgba(0, 24, 56, .72);
  color: #eef6fc;
  font-family: var(--font-secondary);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.jg-options .answer:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #01C5C6;
  background: rgba(1, 197, 198, .16);
}
.jg-options .answer.correct {
  border-color: #01C5C6;
  background: rgba(1, 197, 198, .26);
  color: #ffffff;
}
.jg-options .answer.incorrect {
  border-color: #FF6262;
  background: rgba(255, 98, 98, .22);
  color: #ffd0d0;
}
body[data-page='trivia'] .quiz-feedback {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 15px;
  background: rgba(0, 22, 52, .75);
  border: 1px solid rgba(1, 197, 198, .42);
  color: #dcebf7;
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 1.62;
}
.jg-board-actions {
  margin-top: 18px;
}

/* Memoria 5×4: barra lectora + 20 tarjetas */
.mem-reader {
  margin-bottom: 18px;
  padding: 15px 18px;
  border-radius: 16px;
  background: rgba(0, 22, 52, .78);
  border: 1px solid rgba(1, 197, 198, .42);
}
.mem-reader-tag {
  display: inline-block;
  margin-bottom: 5px;
  font-family: var(--font-primary);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7bf6f7;
}
.mem-reader p {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
}
.memory-grid-5x4 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
body[data-page='memoria'] .memory-card {
  min-height: 132px;
  padding: 12px 10px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(155deg, rgba(8, 52, 104, .92), rgba(2, 30, 68, .92));
  border: 1.5px solid rgba(255, 255, 255, .18);
  color: #ffffff;
  text-align: center;
  cursor: pointer;
}
.mc-back-mark {
  font-size: 22px;
  color: #01C5C6;
}
.mc-back-num {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 800;
  color: rgba(186, 214, 236, .75);
}
body[data-page='memoria'] .memory-card.revealed {
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  background: rgba(0, 24, 56, .95);
  border-color: #01C5C6;
}
body[data-page='memoria'] .memory-card.revealed.is-match {
  border-color: #3197C9;
  background: rgba(6, 52, 98, .95);
}
body[data-page='memoria'] .memory-card.matched {
  border-color: #01C5C6;
  background: linear-gradient(145deg, rgba(1, 197, 198, .26), rgba(0, 42, 86, .92));
}
.mc-kind {
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7bf6f7;
}
.mc-text {
  font-family: var(--font-secondary);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #f0f8ff;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jg-result-banner {
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(1, 197, 198, .18), rgba(2, 30, 68, .86));
  border: 1.5px solid #01C5C6;
}
.jg-result-banner h3 {
  margin: 0 0 8px;
  font-family: var(--font-primary);
  font-size: 21px;
  color: #ffffff;
}
.jg-result-banner p {
  margin: 0 0 10px;
  font-family: var(--font-secondary);
  font-size: 15px;
  color: #dcebf7;
}
.jg-save-note {
  font-weight: 700;
  color: #7bf6f7 !important;
}
.jg-result-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 19i. Panel independiente de Administración (admin.html) */
body[data-page='admin'] {
  min-height: 100vh;
  background: radial-gradient(50% 45% at 15% 10%, rgba(1, 197, 198, .12), transparent 70%), linear-gradient(180deg, #002858 0%, #02244c 45%, #032c54 100%);
  color: #e6f2fa;
}
.adm-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 0;
  background: rgba(2, 32, 70, .86);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(16px);
}
.adm-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.adm-brand,
.adm-top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.adm-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.adm-inst-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.adm-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(1, 197, 198, .16);
  border: 1px solid rgba(1, 197, 198, .55);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7bf6f7;
}
.adm-site-link {
  font-family: var(--font-primary);
  font-size: 13.5px;
  font-weight: 800;
  color: #cfe5f7;
  text-decoration: none;
}
.adm-site-link:hover {
  color: #01C5C6;
}
.adm-main {
  padding: clamp(32px, 4.5vw, 56px) 0 72px;
}
.adm-login-wrap {
  display: grid;
  place-items: center;
  min-height: 62vh;
}
.adm-login-wrap[hidden],
.adm-app[hidden],
.adm-panel[hidden],
.adm-editor[hidden] {
  display: none;
}
.adm-login-card {
  width: min(520px, 100%);
}
.adm-login-title,
.adm-title {
  margin: 6px 0 10px;
  font-family: var(--font-primary);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: #ffffff;
}
.adm-login-desc,
.adm-sub {
  margin: 0 0 20px;
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 1.62;
  color: #cde1f2;
}
.adm-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.adm-head-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.adm-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.adm-kpi-card {
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(6, 46, 94, .82), rgba(2, 30, 68, .72));
  border: 1px solid rgba(255, 255, 255, .15);
}
.adm-kpi-card span {
  display: block;
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 600;
  color: #a9cbe4;
}
.adm-kpi-card strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-primary);
  font-size: 30px;
  font-weight: 800;
  color: #01C5C6;
}
.adm-tabs {
  margin-bottom: 22px;
}
.adm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.adm-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.adm-search,
.adm-select,
.jg-field textarea {
  padding: 11px 14px;
  border-radius: 13px;
  border: 1.5px solid rgba(255, 255, 255, .18);
  background: rgba(0, 22, 52, .75);
  color: #ffffff;
  font-family: var(--font-secondary);
  font-size: 14.5px;
}
.adm-search {
  min-width: 280px;
}
.jg-field textarea {
  width: 100%;
  resize: vertical;
}
.adm-search:focus,
.adm-select:focus,
.jg-field textarea:focus {
  outline: none;
  border-color: #01C5C6;
  box-shadow: 0 0 0 3px rgba(1, 197, 198, .22);
}
.adm-editor {
  margin-bottom: 22px;
  border-color: rgba(1, 197, 198, .55);
}
.adm-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.adm-editor-head h2,
.adm-card-title {
  margin: 0 0 14px;
  font-family: var(--font-primary);
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
}
.adm-bank-list {
  display: grid;
  gap: 14px;
}
.adm-q-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(6, 46, 94, .78), rgba(2, 30, 68, .68));
  border: 1px solid rgba(255, 255, 255, .14);
}
.adm-q-card.is-inactive {
  opacity: .58;
  border-style: dashed;
}
.adm-q-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.adm-q-meta,
.adm-q-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.adm-q-wk {
  font-family: var(--font-primary);
  font-size: 12.5px;
  font-weight: 800;
  color: #b7daf1;
}
.adm-q-state {
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 800;
}
.adm-q-state.is-on { background: rgba(1, 197, 198, .18); color: #7bf6f7; }
.adm-q-state.is-off { background: rgba(255, 98, 98, .18); color: #ffadad; }
.adm-mini-btn {
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .07);
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}
.adm-mini-btn:hover {
  border-color: #01C5C6;
  background: rgba(1, 197, 198, .2);
}
.adm-q-title {
  margin: 0 0 10px;
  font-family: var(--font-primary);
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.32;
  color: #ffffff;
}
.adm-q-opts {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.adm-q-opts li {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0, 22, 52, .62);
  border: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--font-secondary);
  font-size: 14px;
  color: #d0e5f6;
}
.adm-q-opts li.is-correct {
  border-color: #01C5C6;
  background: rgba(1, 197, 198, .18);
  color: #ffffff;
}
.adm-q-exp,
.adm-q-match {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 1.55;
  color: #bdd9ee;
}
.adm-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.adm-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 600;
  color: #e6f2fa;
  cursor: pointer;
}
.adm-check input {
  width: 18px;
  height: 18px;
  accent-color: #01C5C6;
}

@media (max-width: 1120px) {
  .cw-worlds-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1040px) {
  .adm-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .adm-config-grid,
  .adm-q-opts {
    grid-template-columns: 1fr;
  }
  .jg-fields-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .jg-games-grid {
    grid-template-columns: 1fr;
  }
  .memory-grid-5x4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .mm-murals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mm-dec-banner {
    grid-template-columns: 1fr;
  }
  .vn-layout {
    grid-template-columns: 1fr;
  }
  .rg-retos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rg-equation {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .rg-op span {
    width: 40px;
    height: 40px;
    font-size: 23px;
  }
  .mbg-tools-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mbg-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 36px;
  }
  .mbg-step-item:nth-child(2) .mbg-arrow {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -31px;
    transform: translateX(-50%) rotate(90deg);
  }
  .cw-criteria-grid {
    grid-template-columns: 1fr;
  }
  .cw-process-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cw-process-item:not(:last-child)::after {
    content: '↓';
    right: auto;
    left: 50%;
    top: auto;
    bottom: -15px;
    transform: translateX(-50%);
    animation: none;
  }
}
@media (max-width: 860px) {
  .cw-clarity-grid,
  .cw-takeaways {
    grid-template-columns: 1fr;
  }
  .hero-dakar.cw-dakar-stage {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 520px;
  }
  .cw-dakar-copy {
    max-width: 100%;
    margin: 18px 18px auto;
    padding: 20px;
  }
  .hero-dakar.cw-dakar-stage::before {
    background: linear-gradient(180deg, rgba(0, 24, 58, .88) 0%, rgba(0, 32, 72, .56) 46%, rgba(0, 24, 58, .28) 100%);
  }
}
@media (max-width: 710px) {
  .jg-fields-2,
  .jg-fields-3 {
    grid-template-columns: 1fr;
  }
  .memory-grid-5x4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body[data-page='memoria'] .memory-card {
    min-height: 114px;
  }
  .mm-murals-grid {
    grid-template-columns: 1fr;
  }
  .mm-dec-banner {
    padding: 22px 18px;
  }
  .mm-recap-btn {
    width: 100%;
    justify-content: center;
  }
  .fq-summary {
    padding: 16px 16px;
    gap: 12px;
  }
  .fq-answer {
    padding: 0 16px 18px 16px;
  }
  .vn-video-bar {
    padding: 18px;
  }
  .vn-play-btn {
    width: 100%;
    justify-content: center;
  }
  .vn-play-disc {
    width: 62px;
    height: 62px;
  }
  .rg-retos-grid {
    grid-template-columns: 1fr;
  }
  .rg-capsule {
    padding: 8px 13px;
    font-size: 13.5px;
  }
  .mbg-tools-3,
  .mbg-tools-2 {
    grid-template-columns: 1fr;
  }
  .mbg-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .mbg-btn-primary,
  .mbg-btn-secondary {
    justify-content: center;
  }
  .mbg-steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mbg-step-item .mbg-arrow {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -30px;
    transform: translateX(-50%) rotate(90deg);
  }
  .mbg-step-card {
    padding: 20px 18px;
    gap: 14px;
  }
  .cw-worlds-panel {
    padding: 20px 14px;
  }
  .cw-worlds-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .cw-world-tab {
    padding: 8px 10px;
    gap: 8px;
  }
  .cw-world-tab img {
    width: 36px;
    height: 36px;
  }
  .hero-dakar.cw-dakar-stage {
    min-height: 490px;
  }
  .hero-dakar.cw-dakar-stage .dakar-rider-wrap {
    width: min(145px, 38vw);
  }
  .cw-dakar-badge {
    width: 50px;
    height: 50px;
  }
  .cw-dakar-title {
    font-size: 20px;
  }
}

/* 20. Accesibilidad: desactivar todo movimiento cuando el usuario lo solicita */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  .hero-bg-slide,
  .hero-bg-slide.is-active,
  .hero-bg-scrim::after,
  .topbar .nav a.active::before,
  .hero-featured-logo,
  .hero-featured-logo .hfl-stage,
  .hfl-aura,
  .hfl-arc,
  .hfl-star,
  .hfl-img,
  .hfl-shadow,
  .hero-brand-title .hbt-word,
  .hero-brand-title .hbt-dot,
  .cta-k-spark,
  .cta-k-text,
  .cta-k-lead,
  .cta-k-highlight,
  .cta-k-highlight-word,
  .cta-k-tail,
  .cta-k-swoop-base,
  .cta-k-swoop-glint,
  .mb-title-logo,
  .mb-t-word,
  .mb-t-dot,
  .mb-santi-circle,
  .mb-so-ring,
  .mb-santi-moto,
  .mb-santi-speed,
  .mb-track-fill,
  .mb-track-trail,
  .mb-track-head,
  .mb-tl-item,
  .mb-tl-node,
  .mb-tl-node-ring,
  .mb-step-card,
  .mb-icon-radar,
  .mb-svg-bar,
  .mb-svg-lens-group,
  .mb-svg-ring-outer,
  .mb-svg-ring,
  .mb-svg-dot,
  .mb-svg-arrow,
  .mb-svg-pin,
  .mb-svg-check,
  .mb-svg-check-halo,
  .mb-svg-link,
  .mb-svg-member,
  .mb-svg-node,
  .mb-role-needle,
  .cw-daily-dot,
  .cw-criterion-card,
  .cw-card-bar::after,
  .cw-donut-fill,
  .cw-process-item::after,
  .cw-svg-result,
  .cw-rank-bar,
  .cw-rank-arrow,
  .cw-split-dot,
  .cw-dakar-copy,
  .cw-clarity-card,
  .cw-cl-node,
  .cw-cl-spin,
  .cw-cl-pulse,
  .cw-cl-star,
  .cw-cl-rdot,
  .cw-note-spark,
  .mbg-arrow svg,
  .mbg-step-card,
  .mbg-tool-card,
  .rg-term-card,
  .rg-result-card,
  .rg-reto-card,
  .vn-play-disc,
  .vn-news-card,
  .vn-svg-play,
  .vn-svg-wave,
  .vn-svg-clap,
  .fq-item,
  .fq-toggle,
  .mm-month-group,
  .mm-mural-card,
  .mm-recap-stack-a,
  .mm-recap-stack-b,
  .rg-op span,
  .rg-svg-pulse,
  .rg-svg-chart,
  .rg-svg-star,
  .mbg-svg-enter,
  .mbg-svg-tile,
  .mbg-svg-dot,
  .mbg-svg-ring,
  .mbg-svg-loop,
  .mbg-svg-check,
  .dakar-panorama,
  .dakar-world-slide.is-active,
  .dakar-rider-wrap.is-charging,
  .dakar-rider-wrap.is-world-boost,
  .dakar-rider-wrap.is-cruising .dakar-rider-img,
  .dakar-hud-bar > i.is-running,
  .dakar-stage-flash.is-flashing,
  .dakar-headlight-beam,
  .dakar-headlight-flare,
  .dakar-concept-moto,
  .dakar-concept-ring,
  .hero .eyebrow::after,
  .hero h1 em,
  .scene-worlds img,
  .hero .flag-badge::after,
  .pagehero::before,
  .motion-wave-divider .wave-glow,
  .concept-santi,
  .roadmap-stop,
  .photo-tree-rings ellipse,
  .reto-card,
  .race-lanes i + i::before,
  .race-track.is-racing .race-player,
  .bar > div,
  body.music-playing .music-eq i {
    animation: none !important;
    transition: none !important;
  }
  .hero-dakar-canvas,
  .motion-burst-layer,
  .roadmap-spark,
  .tree-bauble-ripple,
  .cta-k-swoop-glint,
  .mb-track-trail,
  .mb-track-head {
    display: none !important;
  }
  .motion-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero h1 em {
    color: #fbe185;
    background: none;
    -webkit-text-fill-color: currentColor;
  }
  .cta-k-highlight-word {
    color: #7bf6f7;
    background: none;
    -webkit-text-fill-color: currentColor;
  }
  .cta-k-swoop-base {
    stroke-dashoffset: 0 !important;
  }
}

@media print {
  .motion-scroll-progress,
  .hero-motion-canvas,
  .hero-aurora,
  .motion-burst-layer {
    display: none !important;
  }
}
