/* ============================================================================
   components.css — Hero, cards, botones, sticky bars, carousel, timeline...
   ============================================================================ */

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: var(--fs-base);
  letter-spacing: .01em;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
  min-height: 48px;
  border: 2px solid transparent;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-2));
  color: var(--c-bg);
  box-shadow: var(--sh-gold);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 48px rgba(232,200,106,.5); }

.btn--ghost {
  background: rgba(255,255,255,.08);
  color: var(--c-white);
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,.14); }

.btn--wa {
  background: var(--c-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn--wa:hover { background: #1ebe58; }
/* Ícono oficial de WhatsApp (auricular) vía pseudo-element — reemplaza 💬 */
.btn--wa::before {
  content: '';
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347zM12.005 21.796h-.005a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.511-5.26c.001-5.45 4.436-9.884 9.889-9.884a9.825 9.825 0 0 1 6.988 2.899 9.818 9.818 0 0 1 2.896 6.994c-.003 5.45-4.437 9.884-9.887 9.884zm8.413-18.297A11.815 11.815 0 0 0 12.005 0C5.495 0 .196 5.298.193 11.807a11.83 11.83 0 0 0 1.582 5.914L.057 24l6.403-1.68a11.81 11.81 0 0 0 5.645 1.437h.005c6.51 0 11.81-5.298 11.813-11.807a11.75 11.75 0 0 0-3.504-8.41z'/></svg>") center/contain no-repeat;
}

.btn--lg { padding: var(--s-4) var(--s-6); font-size: var(--fs-md); min-height: 56px; }
.btn--block { width: 100%; }

/* ===== TOP BAR ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(11,30,63,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-3) var(--s-4);
  max-width: var(--container-max);
  margin: 0 auto;
}
.topbar__logo {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-title);
  font-weight: 800;
  font-size: var(--fs-md);
  color: var(--c-white);
}
.topbar__logo span { color: var(--c-gold); }
.topbar__nav { display: none; gap: var(--s-5); font-size: var(--fs-sm); }
.topbar__nav a { color: var(--c-gray-1); transition: color var(--t-fast); }
.topbar__nav a:hover { color: var(--c-gold); }
@media (min-width: 768px) { .topbar__nav { display: flex; } }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: var(--s-8) 0 var(--s-7);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at 50% 0%, var(--c-bg-3), var(--c-bg) 60%);
}
.hero__bg-img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
  filter: saturate(1.1) contrast(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11,30,63,.35) 0%, rgba(11,30,63,.9) 75%);
}
.hero__content { position: relative; z-index: 1; display: grid; gap: var(--s-5); }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  align-self: flex-start;
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--c-gold);
  border-radius: var(--r-full);
  background: rgba(232,200,106,.08);
  color: var(--c-gold);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero__h1 {
  font-size: var(--fs-3xl);
  line-height: 1.05;
}
.hero__h1 .highlight {
  color: var(--c-gold);
  display: inline-block;
}
.hero__sub { color: var(--c-gray-1); font-size: var(--fs-md); max-width: 56ch; }

.hero__cta-row {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
@media (min-width: 640px) {
  .hero__cta-row { flex-direction: row; flex-wrap: wrap; }
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-xs);
  color: var(--c-gray-2);
  margin-top: var(--s-3);
}
.hero__trust::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--c-gray-3);
}

/* ===== COUNTDOWN ===== */
.countdown {
  display: inline-flex;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(232,200,106,.3);
  border-radius: var(--r-md);
  align-self: flex-start;
}
.countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}
.countdown__num {
  font-family: var(--f-title);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--c-gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown__lbl {
  font-size: 10px;
  color: var(--c-gray-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: 4px;
}
.countdown__sep { color: var(--c-gold); align-self: center; font-size: var(--fs-xl); font-weight: 800; }

/* ===== SECTION TITLES ===== */
.section__eyebrow {
  display: inline-block;
  padding: var(--s-1) var(--s-3);
  background: rgba(232,200,106,.1);
  color: var(--c-gold);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-radius: var(--r-full);
  margin-bottom: var(--s-3);
}
.section__title {
  font-size: var(--fs-2xl);
  max-width: 22ch;
  margin-bottom: var(--s-3);
}
.section__title--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__lead {
  color: var(--c-gray-1);
  font-size: var(--fs-md);
  max-width: 56ch;
  margin-bottom: var(--s-6);
}

/* ===== CARDS ===== */
.card {
  background: linear-gradient(180deg, var(--c-surface), rgba(22,50,90,.6));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  transition: transform var(--t-mid), border-color var(--t-mid);
}
.card:hover { transform: translateY(-4px); border-color: rgba(232,200,106,.4); }
.card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,200,106,.1);
  color: var(--c-gold);
  font-size: 26px;
  margin-bottom: var(--s-3);
}
.card__title { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.card__text  { color: var(--c-gray-1); font-size: var(--fs-sm); line-height: 1.6; }

/* Card demo (grande, clicable) */
.card--demo {
  background: linear-gradient(135deg, rgba(76,155,230,.1), rgba(232,200,106,.06));
  border: 1px solid rgba(232,200,106,.25);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.card--demo:hover { background: linear-gradient(135deg, rgba(76,155,230,.18), rgba(232,200,106,.12)); }

/* PAS blocks */
.pas__block {
  padding: var(--s-5);
  border-left: 3px solid var(--c-red);
  background: rgba(230,57,70,.06);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-bottom: var(--s-4);
}
.pas__block--solution {
  border-left-color: var(--c-gold);
  background: rgba(232,200,106,.08);
}
.pas__block h3 { margin-bottom: var(--s-2); font-size: var(--fs-lg); }
.pas__block p  { font-size: var(--fs-md); }

/* ===== CAROUSEL (prueba social) ===== */
.carousel {
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--s-3) var(--s-1) var(--s-4);
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel__track {
  display: inline-flex;
  gap: var(--s-4);
  padding: 0 var(--s-3);
}
.carousel__card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 200px;
  background: var(--c-surface);
  border-radius: var(--r-md);
  padding: var(--s-3);
  border: 1px solid rgba(232,200,106,.2);
}
.carousel__img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  object-fit: cover;
  background: var(--c-bg-2);
  margin-bottom: var(--s-2);
}
.carousel__name { font-size: var(--fs-sm); font-weight: 700; color: var(--c-white); }
.carousel__rank { font-size: var(--fs-xs); color: var(--c-gold); margin-top: 2px; }

@media (min-width: 768px) {
  .carousel__card { width: 220px; }
}

/* ===== TIMELINE FASES ===== */
.timeline {
  position: relative;
  display: grid;
  gap: var(--s-4);
}
.timeline__phase {
  position: relative;
  padding: var(--s-4) var(--s-4) var(--s-4) var(--s-7);
  background: var(--c-surface);
  border-radius: var(--r-md);
  border-left: 4px solid var(--c-gold);
}
.timeline__num {
  position: absolute;
  left: var(--s-3);
  top: var(--s-4);
  font-family: var(--f-title);
  font-weight: 800;
  font-size: var(--fs-xl);
  color: var(--c-gold);
  line-height: 1;
}
.timeline__title { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.timeline__text  { font-size: var(--fs-sm); color: var(--c-gray-1); }
.timeline__items { margin-top: var(--s-2); padding-left: var(--s-4); }
.timeline__items li { font-size: var(--fs-sm); color: var(--c-gray-1); margin: var(--s-1) 0; list-style: disc; }

@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: var(--s-3); }
}

/* ===== 5 ÁREAS ===== */
.area {
  text-align: center;
  padding: var(--s-4) var(--s-3);
  background: var(--c-surface);
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.06);
}
.area__icon { font-size: 36px; margin-bottom: var(--s-2); }
.area__name { font-size: var(--fs-sm); font-weight: 700; line-height: 1.3; }

/* ===== HORARIO ===== */
.schedule {
  background: var(--c-surface);
  border-radius: var(--r-md);
  padding: var(--s-4);
  overflow-x: auto;
}
.schedule table { width: 100%; border-collapse: collapse; font-size: var(--fs-xs); min-width: 640px; }
.schedule th, .schedule td {
  padding: var(--s-2) var(--s-3);
  text-align: center;
  border: 1px solid rgba(255,255,255,.08);
}
.schedule th { background: var(--c-bg-3); color: var(--c-gold); font-weight: 700; text-transform: uppercase; font-size: 10px; }
/* Fallback neutral — las reglas .sched-row--async .hl / .sched-row--sync .hl
   sobrescriben el color según modalidad (celeste o rojo). */
.schedule .hl { font-weight: 700; }
.schedule .sched-row--async .hl,
.schedule .sched-row--sync .hl { color: #fff !important; }

/* ===== ASESORES ===== */
.advisor {
  text-align: center;
  padding: var(--s-3);
}
.advisor__photo {
  width: 96px; height: 96px;
  border-radius: var(--r-full);
  margin: 0 auto var(--s-2);
  object-fit: cover;
  border: 3px solid var(--c-gold);
  background: var(--c-bg-2);
}
.advisor__name { font-size: var(--fs-sm); font-weight: 700; line-height: 1.2; }
.advisor__rank { font-size: var(--fs-xs); color: var(--c-gold); margin-top: var(--s-1); }

/* ===== PRICING ===== */
.pricing {
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 1024px) { .pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

.plan {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-5);
  border: 2px solid rgba(255,255,255,.08);
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan--featured {
  border-color: var(--c-gold);
  background: linear-gradient(180deg, rgba(232,200,106,.08), var(--c-surface));
  box-shadow: var(--sh-gold);
  transform: scale(1.02);
}
.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-gold);
  color: var(--c-bg);
  padding: var(--s-1) var(--s-4);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.plan__name { font-size: var(--fs-lg); color: var(--c-gold); text-transform: uppercase; letter-spacing: .06em; }
.plan__price { font-family: var(--f-title); font-size: var(--fs-3xl); font-weight: 800; color: var(--c-white); margin: var(--s-3) 0; line-height: 1; }
.plan__price small { font-size: var(--fs-base); color: var(--c-gray-2); font-weight: 400; }
.plan__price-old { color: var(--c-gray-3); text-decoration: line-through; font-size: var(--fs-sm); display: block; margin-bottom: var(--s-1); }
.plan__features { list-style: none; padding: 0; margin: var(--s-4) 0; flex: 1; }
.plan__features li { padding: var(--s-2) 0; font-size: var(--fs-sm); color: var(--c-gray-1); border-bottom: 1px solid rgba(255,255,255,.06); }
.plan__features li::before { content: "✓"; color: var(--c-gold); margin-right: var(--s-2); font-weight: 800; }
.plan .btn { margin-top: var(--s-4); }

/* ===== INVERSIÓN BLOQUE ===== */
.invest {
  background: linear-gradient(135deg, var(--c-bg-3), var(--c-surface));
  border-radius: var(--r-lg);
  padding: var(--s-6);
  text-align: center;
  border: 1px solid rgba(232,200,106,.25);
}
.invest__price {
  font-family: var(--f-title);
  font-size: var(--fs-3xl);
  color: var(--c-gold);
  font-weight: 800;
}
.invest__note { color: var(--c-gray-2); font-size: var(--fs-sm); margin-top: var(--s-2); }
.invest__banks {
  display: flex;
  justify-content: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-top: var(--s-4);
  color: var(--c-gray-1);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.invest__banks span { padding: var(--s-2) var(--s-3); background: rgba(255,255,255,.05); border-radius: var(--r-sm); }

/* ===== FAQ ===== */
.faq-item {
  background: var(--c-surface);
  border-radius: var(--r-md);
  margin-bottom: var(--s-3);
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  padding: var(--s-4) var(--s-5);
  cursor: pointer;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  color: var(--c-white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--c-gold); font-size: var(--fs-xl); transition: transform var(--t-fast); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > div { padding: 0 var(--s-5) var(--s-5); color: var(--c-gray-1); font-size: var(--fs-sm); line-height: 1.7; }

/* ===== FOOTER ===== */
.footer {
  background: #071327;
  padding: var(--s-7) 0 var(--s-5);
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: var(--fs-sm);
}
.footer__grid { display: grid; gap: var(--s-4); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer a { color: var(--c-gray-1); transition: color var(--t-fast); }
.footer a:hover { color: var(--c-gold); }
.footer__heading { color: var(--c-gold); font-size: var(--fs-sm); font-weight: 700; margin-bottom: var(--s-2); text-transform: uppercase; letter-spacing: .08em; }
.footer__list { list-style: none; padding: 0; }
.footer__list li { margin: 4px 0; line-height: 1.35; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.06); margin-top: var(--s-4); padding-top: var(--s-3); text-align: center; color: var(--c-gray-3); font-size: var(--fs-xs); }

/* Logos sobre fondo oscuro — brightness + sombra para resaltar (2026-04-17) */
.footer__brand p {
  color: var(--c-gray-2);
  font-size: var(--fs-sm);
  max-width: 38ch;
  margin: 8px 0 12px;
  line-height: 1.45;
}
.footer__logo {
  width: 110px;
  height: auto;
  display: block;
  filter: brightness(1.45) contrast(1.08) drop-shadow(0 4px 12px rgba(232, 200, 106, 0.35));
}
.footer__logo--secondary {
  width: 78px;
  margin-top: 10px;
  opacity: 0.92;
  filter: brightness(1.6) contrast(1.1) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.2));
}

@media (max-width: 767px) {
  .footer__grid { gap: var(--s-3) !important; }
  .footer__brand p { font-size: 13px !important; margin: 6px 0 8px !important; }
  .footer__logo { width: 90px !important; }
  .footer__logo--secondary { width: 64px !important; margin-top: 6px !important; }
  .footer__heading { margin-bottom: 6px !important; font-size: 12px !important; }
  .footer__list li { margin: 2px 0 !important; font-size: 14px !important; }
  .footer__bottom { margin-top: var(--s-3) !important; padding-top: 10px !important; }
}

/* ===== WHATSAPP FLOATING ===== */
.wa-float {
  position: fixed;
  right: var(--s-4);
  bottom: calc(env(safe-area-inset-bottom, 0) + 80px);
  width: 56px;
  height: 56px;
  background: var(--c-green);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
  z-index: var(--z-float);
  transition: transform var(--t-fast);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float--bounce { animation: wabounce 1.2s ease-in-out; }
@keyframes wabounce {
  0%,100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}
@media (min-width: 1024px) {
  .wa-float { bottom: var(--s-5); right: var(--s-5); width: 64px; height: 64px; font-size: 32px; }
}

/* ===== STICKY BOTTOM BAR MOBILE ===== */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11,30,63,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(232,200,106,.25);
  display: flex;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-3) calc(env(safe-area-inset-bottom, 0) + var(--s-3));
  z-index: var(--z-float);
}
.sticky-bar .btn { flex: 1; padding: var(--s-3); font-size: var(--fs-sm); min-height: 44px; }
@media (min-width: 1024px) { .sticky-bar { display: none; } }

/* Padding inferior al body en mobile para que sticky bar no tape contenido */
@media (max-width: 1023px) {
  body { padding-bottom: 80px; }
}

/* ===== UTILITY: stat counter ===== */
.stat {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: var(--s-3) var(--s-5);
}
.stat__num { font-family: var(--f-title); font-weight: 800; font-size: var(--fs-2xl); color: var(--c-gold); line-height: 1; }
.stat__lbl { font-size: var(--fs-xs); color: var(--c-gray-2); text-transform: uppercase; letter-spacing: .1em; margin-top: var(--s-1); }

/* ===== FINAL CTA ===== */
.final-cta {
  text-align: center;
  padding: var(--s-8) var(--s-4);
  background: radial-gradient(ellipse at center, var(--c-bg-3), var(--c-bg));
  border-radius: var(--r-xl);
  border: 1px solid rgba(232,200,106,.25);
}
.final-cta h2 { font-size: var(--fs-2xl); max-width: 20ch; margin: 0 auto var(--s-4); }
.final-cta .btn { margin: var(--s-2); }

/* ============================================================================
   HORARIO · Colores distintivos por tipo de evento (desktop table + mobile)
   Coinciden con las variantes de sched-card en fx-mobile-final.css
   ============================================================================ */
/* (Legacy — no se usan. Ahora el color del highlight lo decide la fila) */

/* Highlight "hoy" — se activa via JS (sched-today.js) */
.schedule td.is-today,
.sched-card.is-today {
  position: relative;
  box-shadow: 0 0 0 2px #FFD700, 0 0 24px rgba(255, 215, 0, .45);
  animation: sched-pulse 2.4s ease-in-out infinite;
}
.sched-card.is-today::after,
.schedule td.is-today::after {
  content: "HOY";
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #FFD700, #FFA000);
  color: #1a1100;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  padding: 3px 10px;
  border-radius: 99px;
  box-shadow: 0 4px 10px rgba(0,0,0,.35), 0 0 14px rgba(255,215,0,.55);
  z-index: 3;
}
/* Asegurar que el card NO recorte el badge HOY */
.sched-card {
  overflow: visible !important;
}
@keyframes sched-pulse {
  0%,100% { transform: translateZ(0) scale(1); }
  50%     { transform: translateZ(0) scale(1.015); }
}

/* ============================================================================
   FASES-STEPPER · Trencito interactivo con flechas y estados narrados
   ============================================================================
   Narrativa: click en una fase → anteriores = completadas (verde ✓), actual
   = activa (dorado brillante + pulso), siguientes = pendientes (gris).
   Flechas SVG entre steps refuerzan el sentido izquierda→derecha.
   ============================================================================ */
.fases-stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-3);
  margin: var(--s-6) 0 var(--s-4);
  position: relative;
}
/* Riel base del trencito (fondo apagado) */
.fases-stepper::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: rgba(255, 255, 255, .08);
  border-radius: 99px;
  z-index: 0;
}
/* Riel lleno: crece según data-current (0..4) */
.fases-stepper::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 10%;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #22c55e 0%, #4ade80 70%, #E8C86A 100%);
  box-shadow: 0 0 10px rgba(76, 222, 128, .5);
  z-index: 0;
  transition: width .6s cubic-bezier(.22, 1, .36, 1);
  width: 0%;
}
.fases-stepper[data-current="0"]::after { width: 0%; }
.fases-stepper[data-current="1"]::after { width: 20%; }
.fases-stepper[data-current="2"]::after { width: 40%; }
.fases-stepper[data-current="3"]::after { width: 60%; }
.fases-stepper[data-current="4"]::after { width: 80%; }

.fase-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 10px 14px;
  background: var(--c-bg-2);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  cursor: pointer;
  color: var(--c-text);
  font-family: inherit;
  transition: transform .3s ease, border-color .3s ease, background .3s ease,
              box-shadow .3s ease, opacity .3s ease;
  z-index: 1;
  outline: none;
}
/* Flecha trencito entre steps — doble chevron con degradado y glow,
   claramente "izquierda a derecha". Cambia de color según estado. */
.fase-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -22px;
  width: 36px;
  height: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='none'><defs><linearGradient id='ag' x1='0' x2='1' y1='0' y2='0'><stop offset='0%25' stop-color='%23E8C86A' stop-opacity='0.45'/><stop offset='55%25' stop-color='%23FFD54F' stop-opacity='0.9'/><stop offset='100%25' stop-color='%23FFE082' stop-opacity='1'/></linearGradient></defs><path d='M8 10l8 8-8 8' stroke='url(%23ag)' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' fill='none' opacity='0.55'/><path d='M16 10l8 8-8 8' stroke='url(%23ag)' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .55))
          drop-shadow(0 0 10px rgba(232, 200, 106, .55));
  z-index: 3;
  opacity: .7;
  transition: filter .4s ease, transform .4s ease, opacity .4s ease;
  animation: fase-arrow-slide 2.4s ease-in-out infinite;
}
@keyframes fase-arrow-slide {
  0%, 100% { transform: translateX(0);   opacity: .65; }
  50%      { transform: translateX(3px); opacity: 1;  }
}
/* Flecha después de fase completada — verde, sin animación (ya "llegó") */
.fase-step.is-completed:not(:last-child)::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='none'><defs><linearGradient id='ag' x1='0' x2='1' y1='0' y2='0'><stop offset='0%25' stop-color='%2322c55e' stop-opacity='0.45'/><stop offset='55%25' stop-color='%234ade80' stop-opacity='0.95'/><stop offset='100%25' stop-color='%2386efac' stop-opacity='1'/></linearGradient></defs><path d='M8 10l8 8-8 8' stroke='url(%23ag)' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' fill='none' opacity='0.55'/><path d='M16 10l8 8-8 8' stroke='url(%23ag)' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .55))
          drop-shadow(0 0 14px rgba(74, 222, 128, .8));
  opacity: 1;
  animation: none;
  transform: translateX(2px);
}

.fase-step:hover {
  transform: translateY(-3px);
  border-color: var(--c-gold);
  background: var(--c-bg-3);
}
.fase-step:focus-visible {
  box-shadow: 0 0 0 3px rgba(232, 200, 106, .45);
}

.fase-step__num {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-bg-3);
  color: var(--c-gray-2);
  font-weight: 900;
  font-size: 18px;
  font-family: var(--ff-display, inherit);
  border: 2px solid var(--c-border);
  transition: all .35s ease;
  z-index: 2;
}
.fase-step__label {
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.2;
  text-align: center;
  transition: color .3s ease;
}
.fase-step__dur {
  font-size: 10px;
  color: var(--c-gray-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  transition: color .3s ease;
}

/* ── Estado: pendiente (fases futuras) ── */
.fase-step.is-pending { opacity: .55; }
.fase-step.is-pending:hover { opacity: .95; }

/* ── Color INICIAL distintivo por fase (David 2026-04-17) ──
   Cada fase tiene un color base antes de ser marcada como completada.
   Cuando se clickea, .is-completed gana (verde check). */
.fase-step--0 { --f-color: #4FC3F7; } /* Diagnóstico — azul info */
.fase-step--1 { --f-color: #22C55E; } /* Entrenamiento — verde starter */
.fase-step--2 { --f-color: #F59E0B; } /* Superintensivo — naranja intensidad */
.fase-step--3 { --f-color: #EF4444; } /* Semana final — rojo crunch */
.fase-step--4 { --f-color: #E8C86A; } /* Adjudicación — oro recompensa */

.fase-step:not(.is-completed):not(.is-pending) .fase-step__num,
.fase-step.is-active .fase-step__num {
  background: color-mix(in srgb, var(--f-color, #E8C86A) 18%, var(--c-bg-3));
  color: var(--f-color);
  border-color: color-mix(in srgb, var(--f-color, #E8C86A) 55%, transparent);
}
.fase-step:not(.is-completed) {
  border-color: color-mix(in srgb, var(--f-color, var(--c-border)) 30%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--f-color, transparent) 8%, transparent) 0%, var(--c-bg-2) 60%);
}
.fase-step:not(.is-completed) .fase-step__label {
  color: var(--f-color, var(--c-text));
}

/* ── Estado: completado (fases anteriores con ✓) ── */
.fase-step.is-completed {
  border-color: rgba(74, 222, 128, .55);
  background: linear-gradient(180deg, rgba(74, 222, 128, .12), rgba(74, 222, 128, .02));
  box-shadow: 0 4px 18px rgba(74, 222, 128, .22);
}
.fase-step.is-completed .fase-step__num {
  background: linear-gradient(180deg, #86efac, #4ade80);
  color: #0a2818;
  border-color: #22c55e;
  box-shadow: 0 0 18px rgba(74, 222, 128, .55);
  position: relative;
}
/* Overlay ✓ por encima del número */
.fase-step.is-completed .fase-step__num::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #86efac, #4ade80);
  color: #0a2818;
  font-size: 22px;
  font-weight: 900;
  border-radius: 50%;
}
.fase-step.is-completed .fase-step__label { color: #86efac; }
.fase-step.is-completed .fase-step__dur { color: rgba(134, 239, 172, .7); }

/* ── Estado: activo (fase actual con glow dorado pulsante) ── */
.fase-step.is-active {
  border-color: var(--c-gold);
  background: linear-gradient(180deg, rgba(232, 200, 106, .18), rgba(232, 200, 106, .04));
  box-shadow:
    0 10px 32px rgba(232, 200, 106, .38),
    0 0 0 1px rgba(232, 200, 106, .5);
  transform: translateY(-4px);
  opacity: 1;
}
.fase-step.is-active .fase-step__num {
  background: linear-gradient(180deg, #FFE082, #E8C86A);
  color: #1a1100;
  border-color: #FFD54F;
  transform: scale(1.14);
  box-shadow:
    0 0 26px rgba(255, 213, 79, .75),
    0 0 0 3px rgba(255, 213, 79, .2);
  animation: fase-active-pulse 2.2s ease-in-out infinite;
}
@keyframes fase-active-pulse {
  0%, 100% {
    box-shadow:
      0 0 26px rgba(255, 213, 79, .75),
      0 0 0 3px rgba(255, 213, 79, .2);
  }
  50% {
    box-shadow:
      0 0 40px rgba(255, 213, 79, .95),
      0 0 0 6px rgba(255, 213, 79, .32);
  }
}
.fase-step.is-active .fase-step__label {
  color: var(--c-gold);
  font-weight: 800;
}
.fase-step.is-active .fase-step__dur { color: var(--c-gold); opacity: .9; }

/* Mobile: stack compacto, flecha más chica */
@media (max-width: 749px) {
  .fases-stepper {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }
  .fases-stepper::before,
  .fases-stepper::after { top: 22px; height: 2px; }
  .fase-step { padding: 8px 4px 10px; }
  .fase-step__num { width: 34px; height: 34px; font-size: 14px; }
  .fase-step.is-completed .fase-step__num::after { font-size: 17px; }
  .fase-step__label { font-size: 10px; line-height: 1.15; }
  .fase-step__dur { display: none; }
  .fase-step:not(:last-child)::after {
    right: -12px;
    top: 15px;
    width: 22px;
    height: 22px;
  }
}

/* ─── Panel de detalle ─────────────────────────────────────────────────────── */
.fase-panel {
  min-height: 260px;
  position: relative;
}
.fase-panel__card {
  background: linear-gradient(180deg, var(--c-bg-2), var(--c-bg-3));
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-5) var(--s-5);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.fase-panel__card.is-entering {
  animation: fase-panel-in .45s cubic-bezier(.22,1,.36,1) both;
}
@keyframes fase-panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fase-panel__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
  flex-wrap: wrap;
}
.fase-panel__badge {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, #FFE082, #E8C86A);
  color: #1a1100;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .1em;
  border-radius: 99px;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(232,200,106,.4);
}
.fase-panel__title {
  margin: 0;
  font-size: var(--fs-xl);
  color: var(--c-text);
  line-height: 1.2;
}
.fase-panel__desc {
  color: var(--c-gray-2);
  font-size: var(--fs-base);
  line-height: 1.6;
  margin-bottom: var(--s-3);
}
.fase-panel__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.fase-panel__bullets li {
  padding: 10px 14px;
  background: rgba(232,200,106,.06);
  border-left: 3px solid rgba(232,200,106,.45);
  border-radius: 8px;
  font-size: var(--fs-sm);
  color: var(--c-text);
  line-height: 1.5;
}

/* No-JS fallback: si JS no carga, hidden no funciona sin polyfill,
   pero el ordenamiento natural asegura que se vea todo apilado. */
@media (max-width: 749px) {
  .fase-panel__card { padding: var(--s-4); }
  .fase-panel__title { font-size: var(--fs-lg); }
}

/* ============================================================================
   RAZON "featured" · Variante destacada con CTA (razón 6 app SERUMS)
   ============================================================================ */
.razon.razon--featured {
  border: 1.5px solid rgba(232,200,106,.4);
  background: linear-gradient(180deg, rgba(232,200,106,.08) 0%, transparent 60%), var(--c-bg-2);
  box-shadow: 0 8px 28px rgba(232,200,106,.12);
  position: relative;
}
html body .razones .razon.razon--featured::before {
  content: "NUEVO" !important;
  position: absolute !important;
  top: 12px !important;
  right: 14px !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  background: linear-gradient(135deg, #FFE082, #E8C86A) !important;
  color: #1a1100 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  padding: 4px 10px !important;
  border-radius: 99px !important;
  box-shadow: 0 4px 12px rgba(232,200,106,.45) !important;
  opacity: 1 !important;
  z-index: 3 !important;
  line-height: 1 !important;
}
.razon__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-3);
  padding: 10px 18px;
  background: linear-gradient(135deg, #FFE082, #E8C86A);
  color: #1a1100;
  font-weight: 800;
  font-size: var(--fs-sm);
  text-decoration: none;
  border-radius: 99px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 14px rgba(232,200,106,.35);
}
.razon__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232,200,106,.5);
}

/* ============================================================================
   ADVISOR clickeable · Highlight + badge "Clase muestra"
   ============================================================================ */
.advisor.advisor--clickable {
  background: transparent;
  border: 2px solid rgba(232,200,106,.35);
  position: relative;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.advisor.advisor--clickable:hover,
.advisor.advisor--clickable:focus-visible {
  transform: translateY(-4px);
  border-color: var(--c-gold);
  box-shadow: 0 10px 30px rgba(232,200,106,.3);
  outline: none;
}
.advisor.advisor--clickable::before {
  content: "▶";
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFE082, #E8C86A);
  color: #1a1100;
  font-size: 11px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(232,200,106,.5);
  z-index: 2;
}
.advisor__badge {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  background: rgba(232,200,106,.16);
  border: 1px solid rgba(232,200,106,.4);
  color: var(--c-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 99px;
}

/* ============================================================================
   CLASE MODAL · Video Drive embed
   ============================================================================ */
.clase-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 32px);
  opacity: 0;
  transition: opacity .25s ease;
}
.clase-modal.is-open {
  display: flex;
  opacity: 1;
  animation: modal-fade-in .3s ease;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.clase-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.clase-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 880px;
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #16140F, #0C0B08);
  border: 1.5px solid rgba(232,200,106,.4);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(232,200,106,.15);
  padding: var(--s-5);
  animation: modal-slide-in .35s cubic-bezier(.22,1,.36,1);
}
@keyframes modal-slide-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.clase-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
  z-index: 2;
}
.clase-modal__close:hover { background: rgba(255,255,255,.16); }
.clase-modal__eyebrow {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.clase-modal__title { margin: 0 0 4px; font-size: var(--fs-xl); color: var(--c-text); }
.clase-modal__sub { margin: 0 0 var(--s-3); color: var(--c-gray-2); font-size: var(--fs-sm); }

.clase-modal__video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #000;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(232,200,106,.15);
}
.clase-modal__video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.clase-modal__footer {
  display: flex;
  gap: var(--s-2);
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: var(--s-4);
}
@media (max-width: 599px) {
  .clase-modal__footer .btn { flex: 1 1 auto; text-align: center; }
}

/* ============================================================================
   MEGA STATS CTA · Link desde "60%" a estadísticas verificables
   ============================================================================ */
.mega-stats-cta {
  margin-top: var(--s-5);
  text-align: center;
}
.btn.btn--stats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(79, 195, 247, .14), rgba(79, 195, 247, .06));
  border: 1.5px solid rgba(79, 195, 247, .6);
  color: #82D5F9;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
  border-radius: 99px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 4px 16px rgba(79, 195, 247, .2);
}
.btn.btn--stats:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(79, 195, 247, .22), rgba(79, 195, 247, .1));
  box-shadow: 0 8px 24px rgba(79, 195, 247, .4);
}
.mega-stats-cta__hint {
  margin-top: 10px;
  font-size: 11px;
  color: var(--c-gray-2);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================================================
   HORARIO · Filas unificadas por modalidad (Asincrónico / Sincrónico)
   Cada fila tiene color BASE propio; las celdas con evento son MÁS
   brillantes pero con misma altura (solo cambia color/peso).
   ============================================================================ */
.schedule tbody .sched-row td {
  vertical-align: middle;
  height: 64px;
  position: relative;
}
.schedule .sched-row__label {
  text-align: left;
  padding-left: var(--s-3);
  font-weight: 700;
}
.schedule .sched-row__label small {
  font-weight: 400;
  color: var(--c-gray-2);
  display: block;
  margin-top: 2px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ──────────────────────────────────────────────────────────────────────
   2026-04-17 David (iter 3):
   Fila ASINCRÓNICO: celeste tenue en toda la fila, celeste intenso en .hl
   Fila SINCRÓNICO:  rojo tenue en toda la fila, rojo intenso en .hl + LIVE
   ────────────────────────────────────────────────────────────────────── */
.schedule .sched-row--async td {
  background: linear-gradient(180deg, rgba(79, 195, 247, .10), rgba(79, 195, 247, .04));
  border-top: 1px solid rgba(79, 195, 247, .25);
  border-bottom: 1px solid rgba(79, 195, 247, .25);
  color: #BAE6FD;
}
.schedule .sched-row--async .sched-row__label {
  background: linear-gradient(135deg, rgba(79, 195, 247, .24), rgba(79, 195, 247, .10));
  border-left: 4px solid #4FC3F7;
  color: #E0F2FE;
  box-shadow: inset 0 0 18px rgba(79, 195, 247, .18);
}
.schedule .sched-row--async .sched-row__label small { color: rgba(186, 230, 253, .7); }
.schedule .sched-row--async .hl {
  background: linear-gradient(135deg, #29B6F6 0%, #0277BD 100%);
  color: #F5FBFE;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 0 0 1px rgba(79, 195, 247, .8),
    0 3px 14px rgba(79, 195, 247, .55);
}

.schedule .sched-row--sync td {
  background: linear-gradient(180deg, rgba(239, 68, 68, .10), rgba(239, 68, 68, .04));
  border-top: 1px solid rgba(239, 68, 68, .25);
  border-bottom: 1px solid rgba(239, 68, 68, .25);
  color: #FECACA;
}
.schedule .sched-row--sync .sched-row__label {
  background: linear-gradient(135deg, rgba(239, 68, 68, .24), rgba(239, 68, 68, .10));
  border-left: 4px solid #EF4444;
  color: #FEE2E2;
  box-shadow: inset 0 0 18px rgba(239, 68, 68, .18);
  position: relative;
}
/* LIVE dot pulsante en el label de la fila sincrónico */
.schedule .sched-row--sync .sched-row__label::before {
  content: "●";
  position: absolute;
  top: 8px;
  right: 10px;
  color: #EF4444;
  font-size: 10px;
  animation: sched-live 1.4s ease-in-out infinite;
}
@keyframes sched-live {
  0%, 100% { opacity: .4; text-shadow: 0 0 0 transparent; }
  50%      { opacity: 1; text-shadow: 0 0 10px #EF4444; }
}
.schedule .sched-row--sync .sched-row__label small { color: rgba(254, 202, 202, .7); }
.schedule .sched-row--sync .hl {
  background: linear-gradient(135deg, #F87171 0%, #B91C1C 100%);
  color: #FFF5F5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .25),
    0 0 0 1px rgba(239, 68, 68, .8),
    0 3px 14px rgba(239, 68, 68, .55);
}

/* Estilo común para highlights — mismo padding/radius en ambas filas para
   que no cambien la altura de la celda (solo pigmento + peso) */
.schedule .sched-row .hl {
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .3s ease;
}
/* Animación de "llenado" en hover — el color se intensifica y crece
   un halo. 2026-04-17 David feedback. */
.schedule .sched-row .hl::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.35) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  border-radius: inherit;
}
.schedule .sched-row .hl:hover {
  transform: scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .4),
    0 0 0 2px rgba(255, 255, 255, .3),
    0 8px 24px rgba(0, 0, 0, .4);
}
.schedule .sched-row .hl:hover::before {
  opacity: 1;
  animation: hl-fill 0.7s ease;
}
@keyframes hl-fill {
  0%   { transform: scale(0.6); opacity: 0; }
  50%  { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* ============================================================================
   ADVISOR · Variantes: audio-only + placeholder (foto pendiente)
   ============================================================================ */
.advisor.advisor--audio::before {
  content: "🎧";
  font-size: 14px;
  background: linear-gradient(135deg, #4FC3F7, #0288D1);
  color: #021a26;
}
.advisor__badge.advisor__badge--audio {
  background: rgba(79, 195, 247, .16);
  border-color: rgba(79, 195, 247, .5);
  color: #A9E1FB;
}

/* Placeholder sin foto aún (Q.F. Vázquez) — grandes iniciales sobre gradient */
.advisor.advisor--placeholder .advisor__photo--initials {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a2416 0%, #473a1f 50%, #2a2416 100%);
  border: 2px dashed rgba(232, 200, 106, .45);
  border-radius: var(--r-md);
  font-family: var(--f-title, inherit);
  font-size: 56px;
  font-weight: 900;
  color: var(--c-gold);
  text-shadow: 0 2px 8px rgba(232, 200, 106, .3);
  box-shadow: inset 0 0 24px rgba(232, 200, 106, .12);
}
.advisor.advisor--placeholder::after {
  content: "Foto pronto";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(232, 200, 106, .15);
  color: var(--c-gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  opacity: .8;
  pointer-events: none;
}

/* ============================================================================
   CLASE-MODAL · Audio player (cover + visual pulse)
   ============================================================================ */
.clase-modal__audio {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: stretch;
}
.clase-modal__audio-cover {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(232, 200, 106, .25);
}
.clase-modal__audio-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Pulso de audio (8 barras animadas al fondo de la cover) */
.clase-modal__audio-pulse {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .65) 40%, rgba(0, 0, 0, .85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 0 24px 18px;
  pointer-events: none;
}
.clase-modal__audio-pulse span {
  flex: 1;
  max-width: 18px;
  height: 100%;
  background: linear-gradient(180deg, #4FC3F7 0%, #E8C86A 100%);
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  animation: audio-bar 1.25s ease-in-out infinite;
  opacity: .85;
}
.clase-modal__audio-pulse span:nth-child(1) { animation-delay: .00s; }
.clase-modal__audio-pulse span:nth-child(2) { animation-delay: .10s; }
.clase-modal__audio-pulse span:nth-child(3) { animation-delay: .20s; }
.clase-modal__audio-pulse span:nth-child(4) { animation-delay: .30s; }
.clase-modal__audio-pulse span:nth-child(5) { animation-delay: .22s; }
.clase-modal__audio-pulse span:nth-child(6) { animation-delay: .14s; }
.clase-modal__audio-pulse span:nth-child(7) { animation-delay: .06s; }
.clase-modal__audio-pulse span:nth-child(8) { animation-delay: .00s; }
@keyframes audio-bar {
  0%, 100% { transform: scaleY(.25); }
  50%      { transform: scaleY(1);    }
}
.clase-modal__audio audio {
  width: 100%;
  margin-top: 4px;
}

/* Aviso cuando el audio todavía no está cargado / en post-producción */
.clase-modal__audio-note {
  display: none;
  padding: 14px 18px;
  background: rgba(79, 195, 247, .1);
  border: 1px dashed rgba(79, 195, 247, .45);
  border-radius: var(--r-md);
  color: #A9E1FB;
  font-size: var(--fs-sm);
  text-align: center;
  line-height: 1.5;
}
.clase-modal__audio-note.is-pending { display: block; }
