/* =============================================================
   pages.css — Andreina Martínez IFMCP
   1. Hero con imagen de fondo (index + páginas internas)
   2. Componentes de las páginas de producto
      (Consulta · Ebook · Masterclass)
   Usa exclusivamente los tokens definidos en style.css
   ============================================================= */

/* =============================================================
   1. HERO PARTIDO: texto sobre fondo claro + foto a la derecha
   ============================================================= */
.hero--split {
  color: var(--ink);
  background:
    radial-gradient(1000px 700px at 82% 18%, rgba(196, 181, 253, 0.30), transparent 62%),
    radial-gradient(800px 600px at 6% 88%, rgba(37, 99, 235, 0.07), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
}

/* La foto ocupa la mitad derecha, a sangre, y se funde hacia el blanco */
.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 56%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.45) 12%, #000 34%, #000 100%),
    linear-gradient(to bottom, #000 0%, #000 84%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.45) 12%, #000 34%, #000 100%),
    linear-gradient(to bottom, #000 0%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
/* Encuadre alternativo para retratos verticales */
.hero__bg--portrait { object-position: 50% 12%; }
/* Encuadre para imágenes de producto / render */
.hero__bg--contain { object-fit: contain; object-position: 60% 50%; }

/* Ya no hacen falta las capas oscuras del hero a pantalla completa */
.hero--split .hero__scrim,
.hero--split .hero__grain { display: none; }

/* La atmósfera CSS del fondo se concentra bajo la foto */
.hero--split .hero__atmos { z-index: 0; }
.hero--split .helix { display: none; }

/* El header de cristal gana algo de cuerpo para leerse siempre */
.header__inner { background: rgba(255, 255, 255, 0.82); }
.header.is-scrolled .header__inner { background: rgba(255, 255, 255, 0.92); }

/* Texto a la izquierda, mitad del ancho */
.hero--split .hero__grid { grid-template-columns: minmax(0, 52%); }
.hero--split .hero__title { font-size: clamp(2.3rem, 3.5vw, 3.7rem); }
.hero--split .hero__lead { max-width: 32rem; }
.hero--split .hero__content { position: relative; z-index: 3; }

/* Variante corta para páginas internas */
.hero--page { min-height: 92vh; padding-top: 170px; padding-bottom: 90px; }

/* Chip de precio / dato en el hero */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.7rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(124, 58, 237, 0.18);
}
.chip--price {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 10px 26px -12px rgba(109, 40, 217, 0.7);
}
.chip svg { flex-shrink: 0; }

/* Migas de pan */
.crumbs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  font-size: 0.78rem;
  color: var(--ink-mute);
}
.crumbs a { color: var(--ink-soft); transition: color 0.3s var(--ease); }
.crumbs a:hover { color: var(--purple); }

/* =============================================================
   2. RITMO DE SECCIONES
   ============================================================= */
.sec { padding-block: clamp(70px, 9vw, 130px); position: relative; }
.sec--soft { background: var(--bg-2); }
.sec--tight { padding-block: clamp(48px, 6vw, 80px); }
.sec--dark {
  color: #fff;
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(124, 58, 237, 0.28), transparent 62%),
    radial-gradient(760px 520px at 92% 92%, rgba(37, 99, 235, 0.22), transparent 62%),
    linear-gradient(160deg, var(--dark), var(--dark-2));
  overflow: hidden;
}

.sec__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: 1rem;
}
.sec--dark .sec__title { color: #fff; }
.sec__lead { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.7; max-width: 42rem; }
.sec--dark .sec__lead { color: rgba(255, 255, 255, 0.72); }
.sec__head--center .sec__lead { margin-inline: auto; }

/* =============================================================
   3. SPLIT (texto + medio)
   ============================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.split--narrow { grid-template-columns: 1.1fr 0.9fr; }
.split--wide-media { grid-template-columns: 0.85fr 1.15fr; }
.split--reverse .split__media { order: -1; }

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(196, 181, 253, 0.28);
  box-shadow: 0 40px 100px -40px rgba(124, 58, 237, 0.45);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame--dark { border-color: rgba(255, 255, 255, 0.12); }
.media-frame--tall { aspect-ratio: 4 / 5; }

/* =============================================================
   4. LISTA DE SÍNTOMAS / VERIFICACIÓN
   ============================================================= */
.check-list { display: grid; gap: 1rem; margin-top: 2rem; }
.check-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0.9rem;
  align-items: start;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.check-list li::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-top: 2px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%237c3aed' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 17px no-repeat,
    linear-gradient(160deg, rgba(124, 58, 237, 0.16), rgba(37, 99, 235, 0.1));
  border: 1px solid rgba(124, 58, 237, 0.22);
}
.sec--dark .check-list li { color: rgba(255, 255, 255, 0.75); }

/* =============================================================
   5. PILARES NUMERADOS (01–04)
   ============================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.pillar-card {
  position: relative;
  padding: 2rem 1.9rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid rgba(20, 20, 40, 0.07);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: var(--shadow-glow);
}
.pillar-card__num {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--purple-2);
  margin-bottom: 1rem;
}
.pillar-card h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.pillar-card p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.65; }
.pillar-card::after {
  content: "";
  position: absolute;
  left: 1.9rem;
  top: 0;
  width: 40px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.pillar-card:hover::after { opacity: 1; }

/* Variante en 3 columnas (ebook) */
.pillars--3 { grid-template-columns: repeat(3, 1fr); }

/* =============================================================
   6. BANDA BIOGRÁFICA OSCURA
   ============================================================= */
.bio-band__grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 2;
}
.bio-band__portrait {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: 50%;
}
.bio-band__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}
.bio-band__portrait::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(167, 139, 250, 0.65), rgba(34, 211, 238, 0.35), transparent 60%, rgba(124, 58, 237, 0.6));
  filter: blur(2px);
  opacity: 0.85;
  animation: spin 24s linear infinite;
}
.bio-band__kicker {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  font-style: italic;
  color: var(--lavender);
  margin-bottom: 1.2rem;
}
.bio-band__name {
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}
.bio-band__role {
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  color: var(--lavender);
  margin: 0.5rem 0 1.4rem;
}
.bio-band__text { font-size: 1rem; line-height: 1.75; color: rgba(255, 255, 255, 0.74); max-width: 46rem; }
.bio-band__text + .bio-band__text { margin-top: 1rem; }

/* =============================================================
   7. HISTORIA LARGA (masterclass)
   ============================================================= */
.story__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.story__label {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}
.story__name {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-2);
  padding-bottom: 0.9rem;
  margin-bottom: 1.8rem;
  border-bottom: 2px solid rgba(124, 58, 237, 0.25);
}
.story__body p { font-size: 1rem; line-height: 1.8; color: var(--ink-soft); margin-bottom: 1.15rem; }
.story__body p:last-child { margin-bottom: 0; }
.story__body strong { color: var(--ink); font-weight: 700; }
.story__creed {
  padding: 1.4rem 1.6rem;
  margin: 1.6rem 0;
  border-left: 3px solid var(--purple-2);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(100deg, rgba(124, 58, 237, 0.08), transparent);
}
.story__creed p { margin-bottom: 0.35rem; font-size: 0.98rem; color: var(--ink); }
.story__creed p:last-child { margin-bottom: 0; }

.story__aside { position: sticky; top: 130px; }

/* =============================================================
   8. TARJETA DE EVENTO (masterclass)
   ============================================================= */
.event-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.6rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(246, 247, 251, 0.7));
  border: 1px solid rgba(196, 181, 253, 0.4);
  box-shadow: 0 40px 100px -44px rgba(124, 58, 237, 0.5);
}
.event-card__poster {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
  transition: transform var(--dur) var(--ease);
}
.event-card:hover .event-card__poster { transform: rotate(0deg) translateY(-6px); }
.event-meta { display: grid; gap: 0.9rem; margin: 1.6rem 0; }
.event-meta li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  align-items: center;
}
.event-meta__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: var(--purple);
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.14), rgba(37, 99, 235, 0.08));
}
.event-meta strong { display: block; font-size: 0.96rem; }
.event-meta span { font-size: 0.8rem; color: var(--ink-mute); }

/* =============================================================
   9. BANDA DE EMPATÍA (día a día)
   ============================================================= */
.mood-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(700px 500px at 85% 15%, rgba(34, 211, 238, 0.22), transparent 60%),
    var(--grad-brand-soft);
}
.mood-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.mood-band__title {
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.4rem;
  color: #fff;
}
.mood-band__text { font-size: 1.02rem; line-height: 1.75; color: rgba(255, 255, 255, 0.88); }
.mood-band__text + .mood-band__text { margin-top: 1rem; }
.mood-band__text strong { color: #fff; font-weight: 700; }
.mood-band .media-frame { border-color: rgba(255, 255, 255, 0.3); }

/* =============================================================
   10. VALORACIÓN
   ============================================================= */
.rating {
  display: inline-grid;
  justify-items: center;
  gap: 0.3rem;
  padding: 1.8rem 3rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.rating__score {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.rating__stars { color: #fbbf24; letter-spacing: 3px; font-size: 1rem; }
.rating__label { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }

/* =============================================================
   11. PRECIO / CHECKOUT
   ============================================================= */
.price-card {
  position: relative;
  max-width: 34rem;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.2rem);
  border-radius: var(--radius-lg);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(600px 400px at 80% 120%, rgba(124, 58, 237, 0.55), transparent 62%),
    linear-gradient(160deg, var(--dark), var(--dark-2));
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.price-card > *:not(.orb--cta) { position: relative; z-index: 2; }
.price-card__access {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding-bottom: 1.6rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.price-card__label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 0.5rem;
}
.price-card__amount {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(3rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin-bottom: 1.6rem;
}
.price-card .btn { width: 100%; justify-content: center; }
.price-card .btn + .btn { margin-top: 0.7rem; }
.price-card__secure {
  display: block;
  margin-top: 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* Barra de oferta */
.offer-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--dark), var(--dark-2));
  color: rgba(255, 255, 255, 0.85);
}
.offer-strip__text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* =============================================================
   12. GARANTÍA
   ============================================================= */
.guarantee {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid rgba(20, 20, 40, 0.07);
  box-shadow: var(--shadow-md);
}
.guarantee__badge { width: 150px; height: auto; }
.guarantee h3 {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.guarantee p { font-size: 0.96rem; color: var(--ink-soft); line-height: 1.65; }
.guarantee strong { color: var(--ink); }

/* =============================================================
   13. PREGUNTAS FRECUENTES
   ============================================================= */
.faq { display: grid; gap: 0.8rem; max-width: 56rem; margin-inline: auto; }
.faq__item {
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid rgba(20, 20, 40, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.faq__item[open] { border-color: rgba(124, 58, 237, 0.3); box-shadow: var(--shadow-md); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%237c3aed' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 16px no-repeat,
    rgba(124, 58, 237, 0.09);
  transition: transform 0.4s var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(180deg); }
.faq__a { padding: 0 1.5rem 1.4rem; font-size: 0.94rem; color: var(--ink-soft); line-height: 1.7; }
.faq__a p + p { margin-top: 0.7rem; }
.faq__steps { margin-top: 0.8rem; display: grid; gap: 0.35rem; font-size: 0.9rem; }
.faq__steps li { display: grid; grid-template-columns: 32px 1fr; gap: 0.4rem; }
.faq__steps b { color: var(--purple-2); font-weight: 700; }

/* =============================================================
   14. CTA ANCHO + AVISO LEGAL
   ============================================================= */
.cta-wide {
  position: relative;
  padding: clamp(2.4rem, 5vw, 4.5rem);
  border-radius: var(--radius-lg);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(700px 460px at 78% 118%, rgba(124, 58, 237, 0.55), transparent 62%),
    radial-gradient(600px 400px at 10% -20%, rgba(37, 99, 235, 0.35), transparent 60%),
    linear-gradient(160deg, var(--dark), var(--dark-2));
  overflow: hidden;
}
.cta-wide__title {
  position: relative;
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.08;
  margin-inline: auto;
  margin-bottom: 1.2rem;
  max-width: 20ch;
  text-wrap: balance;
}
.cta-wide__text {
  position: relative;
  max-width: 40rem;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}
.cta-wide__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.legal-note {
  max-width: 52rem;
  margin: 2.4rem auto 0;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--ink-mute);
}
.sec--dark .legal-note { color: rgba(255, 255, 255, 0.42); }

/* Enlaces cruzados entre productos */
.cross-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.cross-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid rgba(20, 20, 40, 0.07);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cross-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cross-card__kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-2);
}
.cross-card h3 { font-family: var(--font-title); font-size: 1.35rem; font-weight: 600; }
.cross-card p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 0.6rem; }
.cross-card .link-arrow { margin-top: auto; }

/* Evita el scroll horizontal en móvil (el overflow del body se propaga
   al viewport, así que hay que declararlo también en html) */
html { overflow-x: hidden; }

/* =============================================================
   15. RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .hero--split { min-height: auto; padding-top: 140px; padding-bottom: 70px; }
  .hero--page { min-height: auto; padding-top: 140px; padding-bottom: 60px; }
  .hero--split .hero__grid { grid-template-columns: minmax(0, 56%); }
  .hero--split .hero__content { text-align: left; }
  .hero--split .eyebrow,
  .hero--split .hero__actions,
  .hero--split .hero__meta { justify-content: flex-start; }
  .hero--split .hero__lead { margin-inline: 0; }
  .hero__media { width: 50%; }
  .hero--split .eyebrow { flex-wrap: wrap; row-gap: 0.2rem; }

  .split,
  .split--narrow,
  .split--wide-media,
  .bio-band__grid,
  .story__grid,
  .event-card,
  .mood-band__grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .bio-band__grid { justify-items: center; text-align: center; }
  .bio-band__text { margin-inline: auto; }
  .story__aside { position: static; max-width: 420px; }
  .pillars--3 { grid-template-columns: repeat(2, 1fr); }
}

/* Móvil / tablet estrecha: la foto pasa arriba y el texto debajo */
@media (max-width: 780px) {
  .hero--split,
  .hero--page { padding-top: calc(64vw + 115px); }
  .hero__media {
    left: 0;
    right: 0;
    width: 100%;
    height: calc(64vw + 85px);
    bottom: auto;
  }
  .hero__bg,
  .hero__bg--portrait {
    object-position: 50% 8%;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
  }
  .hero__bg--contain { object-fit: contain; }
  .hero--split .hero__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .pillars,
  .pillars--3,
  .cross-links { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .offer-strip { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .orbit { max-width: 268px; --r: 114px; }
  .hero--split .eyebrow { font-size: 0.68rem; letter-spacing: 0.12em; }
  .node { font-size: 0.62rem; padding: 0.3rem 0.55rem; }
  .hero--split .hero__actions .btn { width: 100%; }
  .hero__meta { gap: 0.45rem; }
  .rating { padding: 1.4rem 2rem; }
  .event-card__poster { transform: none; }
  .faq__q { padding: 1.05rem 1.15rem; font-size: 0.94rem; }
  .faq__a { padding: 0 1.15rem 1.2rem; }
}

/* =============================================================
   3. HERO CARRUSEL + MÁQUINA DE ESCRIBIR (index)
   ============================================================= */
.hero--carousel .hero__content { position: relative; z-index: 3; }

/* Tinte de color que cambia con cada slide */
.hero__tint {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(900px 620px at 78% 22%, var(--hero-accent-soft, rgba(196,181,253,.30)), transparent 62%);
  transition: background 1.1s var(--ease);
}

/* Pila de slides: todas ocupan la misma celda del grid */
.hero__slides {
  display: grid;
  align-items: start;
}
.hero__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .75s var(--ease), transform .75s var(--ease), visibility .75s;
  pointer-events: none;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.hero__slide .hero__actions { margin-bottom: 1.6rem; }

/* Gradientes de acento por slide */
.hero__slide[data-accent="violet"] .text-grad { background: linear-gradient(120deg, #6d28d9 0%, #7c3aed 45%, #2563eb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__slide[data-accent="emerald"] .text-grad { background: linear-gradient(120deg, #0f766e 0%, #10b981 50%, #22d3ee 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__slide[data-accent="indigo"] .text-grad { background: linear-gradient(120deg, #1d4ed8 0%, #4f46e5 50%, #22d3ee 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__slide[data-accent="magenta"] .text-grad { background: linear-gradient(120deg, #a21caf 0%, #7c3aed 55%, #4f46e5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Máquina de escribir */
.tw { display: block; }
.tw-line { display: block; min-height: 1px; }
.tw-caret {
  display: inline-block;
  width: 3px;
  height: 0.92em;
  margin-left: 0.06em;
  vertical-align: -0.08em;
  border-radius: 2px;
  background: var(--hero-accent, var(--purple-2));
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* Tabs / navegación del carrusel */
.hero-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.2rem;
  position: relative;
  z-index: 3;
}
.hero-tab {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(124, 58, 237, 0.14);
  backdrop-filter: blur(10px);
  transition: color .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.hero-tab:hover { color: var(--ink); transform: translateY(-2px); }
.hero-tab.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(124, 58, 237, 0.34);
  box-shadow: 0 12px 30px -18px rgba(109, 40, 217, 0.6);
}
.hero-tab__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--grad-brand);
}
.hero-tab.is-active .hero-tab__bar { animation: tabProgress var(--tab-dur, 9s) linear forwards; }
@keyframes tabProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Flechas discretas */
.hero-arrows { display: inline-flex; gap: 0.45rem; margin-left: 0.35rem; }
.hero-arrow {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(124, 58, 237, 0.14);
  backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.hero-arrow:hover { color: var(--purple); border-color: rgba(124,58,237,.4); transform: translateY(-2px); }

/* Tarjeta flotante de producto sobre la foto */
.hero__promo {
  position: absolute;
  right: 6%;
  bottom: 12%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1.1rem 0.7rem 0.7rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.hero__promo.is-visible { opacity: 1; transform: none; }
.hero__promo img {
  width: 54px;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 24px -14px rgba(20, 20, 40, 0.6);
}
.hero__promo strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.hero__promo span { display: block; font-size: 0.74rem; color: var(--ink-mute); }
@media (max-width: 1180px) { .hero__promo { display: none; } }

/* =============================================================
   4. BOTÓN FLOTANTE DE WHATSAPP
   ============================================================= */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.15rem 0.85rem 0.9rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 18px 40px -14px rgba(18, 140, 126, 0.75);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .35s var(--ease);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -14px rgba(18, 140, 126, 0.9); }
.wa-float svg { flex-shrink: 0; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, 0.7);
  animation: waPulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.85; }
  70% { transform: scale(1.32); opacity: 0; }
  100% { transform: scale(1.32); opacity: 0; }
}
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; padding: 0.85rem; }
  .wa-float__label { display: none; }
}

/* =============================================================
   5. CONTACTO EN FOOTER / CTA
   ============================================================= */
.footer__contact { display: grid; gap: 0.55rem; margin: 1.2rem 0 0.2rem; }
.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color .3s var(--ease);
}
.footer__contact a:hover { color: #fff; }
.footer__contact svg { flex-shrink: 0; opacity: 0.8; }

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.contact-chip:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }

/* =============================================================
   6. AJUSTES RESPONSIVE DEL CARRUSEL
   ============================================================= */
@media (max-width: 900px) {
  .hero-tabs { margin-top: 1.6rem; gap: 0.4rem; }
  .hero-tab { padding: 0.5rem 0.85rem; font-size: 0.72rem; }
  .hero-arrows { display: none; }
}
@media (max-width: 560px) {
  .hero-tabs { width: 100%; gap: 0.45rem; }
  .hero-tab { flex: 1 1 calc(50% - 0.45rem); justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .tw-caret { display: none; }
  .hero-tab.is-active .hero-tab__bar { animation: none; transform: scaleX(1); }
  .wa-float::before { animation: none; }
}

/* Texto y chips dentro del CTA final oscuro */
.cta-final__text {
  position: relative;
  max-width: 34ch;
  margin: -0.6rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.6;
}
.cta-final .contact-chips { position: relative; justify-content: flex-start; }

/* =============================================================
   7. AJUSTE: sección Recursos sin hueco vacío
   ============================================================= */
@media (min-width: 1025px) {
  .resources__grid {
    grid-template-areas:
      "products products"
      "newsletter cta";
    align-items: start;
  }
  .resources__products .products__list {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  .resources__products .product-card {
    grid-template-columns: 72px 1fr;
    column-gap: 1rem;
  }
  .resources__products .product-card__thumb { width: 72px; height: 72px; }
  .resources__products .product-card__thumb span {
    font-size: 0.54rem;
    line-height: 1.15;
    text-align: center;
    padding: 0 4px;
    word-break: break-word;
  }
  .newsletter, .cta-final { height: 100%; }
}

/* =============================================================
   8. TARJETAS ANIMADAS DEL HERO (masterclass · ebook · consulta)
   ============================================================= */

/* La foto de portada sólo se ve en el primer slide */
.hero--carousel .hero__media {
  transition: opacity .8s var(--ease);
}
.hero--carousel.is-card-mode .hero__media { opacity: 0; }
/* La esfera lavanda baja de intensidad para que la tarjeta destaque */
.hero--carousel .orb--main { transition: opacity .8s var(--ease); }
.hero--carousel.is-card-mode .orb--main { opacity: 0.3; }

.hero__cards {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero__card {
  grid-area: 1 / 1;
  position: relative;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(42px) scale(0.9) rotate(-4deg);
  transition: opacity .8s var(--ease), transform .9s var(--ease), visibility .8s;
}
.hero__card.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  animation: cardFloat 7s ease-in-out 0.9s infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(-1.2deg); }
}

/* Anchos por tipo de imagen */
.hero__card--mc       { width: min(400px, 32vw); }
.hero__card--ebook    { width: min(350px, 28vw); }
.hero__card--consulta { width: min(520px, 40vw); }
.hero__card--pd       { width: min(380px, 30vw); }

/* Marco con borde, sombra y brillo */
.hero__card-frame {
  position: relative;
  display: block;
  border-radius: 26px;
  overflow: hidden;
  padding: 8px;
  background: linear-gradient(150deg, rgba(255,255,255,.95), rgba(255,255,255,.55));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 50px 90px -40px rgba(20, 20, 40, 0.5),
    0 18px 40px -24px rgba(109, 40, 217, 0.45);
  backdrop-filter: blur(6px);
}
.hero__card-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
  border-radius: 19px;
}

/* Destello diagonal que recorre la tarjeta */
.hero__card-shine {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  overflow: hidden;
  pointer-events: none;
}
.hero__card-shine::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 55%;
  height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(18deg);
  animation: cardShine 5.5s ease-in-out 1.4s infinite;
}
@keyframes cardShine {
  0%       { left: -80%; }
  55%, 100% { left: 160%; }
}

/* Halo de color detrás de la tarjeta */
.hero__card-glow {
  position: absolute;
  inset: -14% -12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--hero-accent, #7c3aed), transparent 68%);
  filter: blur(52px);
  opacity: 0.45;
  z-index: -1;
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.32; transform: scale(0.95); }
  50%      { opacity: 0.58; transform: scale(1.06); }
}

/* Chip flotante sobre la tarjeta */
.hero__card-badge {
  position: absolute;
  left: 26px;
  bottom: -18px;
  z-index: 2;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--hero-accent, #7c3aed), #1e1b4b);
  box-shadow: 0 16px 34px -16px rgba(20, 20, 40, 0.8);
  animation: badgeBob 4.2s ease-in-out 0.6s infinite;
}
@keyframes badgeBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* ---- Responsive de las tarjetas ---- */
@media (max-width: 1024px) {
  .hero__cards { width: 50%; }
  .hero__card--mc       { width: min(320px, 31vw); }
  .hero__card--ebook    { width: min(280px, 27vw); }
  .hero__card--consulta { width: min(410px, 39vw); }
  .hero__card--pd       { width: min(310px, 29vw); }
  .hero__card-frame img { max-height: 52vh; }
}

@media (max-width: 780px) {
  .hero__cards {
    left: 0;
    right: 0;
    width: 100%;
    height: calc(64vw + 85px);
    bottom: auto;
    padding-top: 92px;
  }
  .hero__card--mc,
  .hero__card--ebook,
  .hero__card--pd       { width: min(190px, 44vw); }
  .hero__card--consulta { width: min(280px, 62vw); }
  .hero__card-frame { border-radius: 20px; padding: 6px; }
  .hero__card-frame img { border-radius: 14px; max-height: 42vh; }
  .hero__card-badge { left: 50%; bottom: -14px; transform: translateX(-50%); font-size: 0.72rem; padding: 0.5rem 0.9rem; }
  @keyframes badgeBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-6px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__card,
  .hero__card.is-active { transition: opacity .3s linear; animation: none; transform: none; }
  .hero__card-shine::after,
  .hero__card-glow,
  .hero__card-badge { animation: none; }
}

/* =============================================================
   9. TARJETA FIJA EN LOS HERO DE PÁGINAS INTERNAS
   ============================================================= */
.hero__cards--static .hero__card {
  opacity: 0;
  transform: translateY(42px) scale(0.9) rotate(-4deg);
  animation: cardEnter .95s var(--ease) .25s forwards;
}
.hero__cards--static .hero__card.is-active {
  visibility: visible;
  animation: cardEnter .95s var(--ease) .25s forwards, cardFloat 7s ease-in-out 1.6s infinite;
}
@keyframes cardEnter {
  to { opacity: 1; transform: none; }
}

/* El hero interno ya no necesita la atmósfera pesada detrás de la tarjeta */
.hero--card .glow--purple { opacity: 0.55; }

@media (prefers-reduced-motion: reduce) {
  .hero__cards--static .hero__card,
  .hero__cards--static .hero__card.is-active {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* =============================================================
   10. MINIATURAS DE PRODUCTO CON IMAGEN REAL
   ============================================================= */
.product-card__thumb {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-shadow: 0 2px 10px rgba(10, 10, 24, 0.6);
  transition: background-size .6s var(--ease);
}
/* La imagen ya identifica el producto: la etiqueta queda sólo para lectores de pantalla */
.product-card__thumb span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.product-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(109, 40, 217, 0.08), rgba(10, 10, 24, 0.28));
  transition: background .5s var(--ease);
}
.product-card:hover .product-card__thumb::after {
  background: linear-gradient(160deg, rgba(109, 40, 217, 0.02), rgba(10, 10, 24, 0.12));
}
.product-card:hover .product-card__thumb { background-size: 118%; }

.product-card__thumb--1 {
  background-color: #4c1d95;
  background-image: url("../images/epigfit-cocina-1.jpg");
  background-position: 50% 40%;
}
.product-card__thumb--2 {
  background-color: #1e1b4b;
  background-image: url("../images/pd-ebook-onco.jpg");
  background-position: 50% 26%;
}
.product-card__thumb--3 {
  background-color: #0f172a;
  background-image: url("../images/consulta-red-neuronal.jpg");
  background-position: 50% 45%;
}

/* Miniaturas a lo ancho en móvil: encuadre y altura de banner */
@media (max-width: 560px) {
  .product-card__thumb { height: 120px; }
  .product-card__thumb--1 { background-position: 50% 22%; }
  .product-card__thumb--2 { background-position: 50% 20%; }
  .product-card__thumb--3 { background-position: 50% 50%; }
}


/* =============================================================
   20. NAV · SUBMENÚ DESPLEGABLE (Consultas)
   ============================================================= */
.nav__item { position: relative; }
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color 0.35s var(--ease), background 0.35s var(--ease);
}
.nav__trigger:hover,
.nav__item.is-open > .nav__trigger { color: var(--ink); background: rgba(124, 58, 237, 0.07); }
.nav__trigger.is-active { color: var(--purple); background: rgba(124, 58, 237, 0.1); }
.nav__trigger svg { transition: transform 0.3s var(--ease); }
.nav__item.is-open > .nav__trigger svg { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 264px;
  padding: 0.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 26px 60px -22px rgba(20, 20, 40, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  z-index: 40;
}
.nav__item.is-open > .nav__menu,
.nav__item:hover > .nav__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav__menu a {
  display: block;
  padding: 0.62rem 0.85rem;
  border-radius: 13px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav__menu a small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-mute);
  margin-top: 2px;
}
.nav__menu a:hover { background: rgba(124, 58, 237, 0.09); color: var(--purple); }
.nav__menu hr { border: 0; height: 1px; background: rgba(20, 20, 40, 0.08); margin: 0.35rem 0.5rem; }

.mobile-menu .mm-group { margin: 0.2rem 0 0.4rem; }
.mobile-menu .mm-group__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 0.6rem 0 0.2rem;
}
.mobile-menu .mm-group a { font-size: 0.98rem; padding-left: 0.9rem; }

@media (max-width: 1180px) {
  .nav__link, .nav__trigger { padding: 0.5rem 0.6rem; font-size: 0.8rem; }
  .header__inner { padding-left: 18px; }
}

/* =============================================================
   21. OPCIONES DE CITA (Calendly)
   ============================================================= */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.booking-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.7rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(20, 20, 40, 0.07);
  box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.booking-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: var(--shadow-glow);
}
.booking-card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--grad-brand);
  margin-bottom: 0.3rem;
}
.booking-card__mode {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--purple);
}
.booking-card h3 { font-family: var(--font-title); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.booking-card p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.65; flex: 1; }
.booking-card .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }

/* =============================================================
   22. PRODUCTOS DIGITALES
   ============================================================= */
.pd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.4rem, 2.4vw, 2.2rem);
}
.pd-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.6rem;
  align-items: start;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(20, 20, 40, 0.07);
  box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.pd-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.24);
  box-shadow: var(--shadow-glow);
}
.pd-card__cover {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #0a0a18, #12122a);
  box-shadow: 0 20px 44px -18px rgba(20, 20, 40, 0.5);
}
.pd-card__cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.pd-card__type {
  position: absolute;
  top: 10px; left: 10px;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10, 10, 24, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pd-card__body { display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; }
.pd-card__edition {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--purple);
}
.pd-card__body h3 {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.12;
}
.pd-card__body > p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.65; }
.pd-card__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pd-card__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.2rem; }
.pd-card__actions .btn { flex: 1 1 auto; justify-content: center; }

.pd-more { margin-top: 0.3rem; border-top: 1px solid rgba(20, 20, 40, 0.08); padding-top: 0.8rem; }
.pd-more > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--purple);
}
.pd-more > summary::-webkit-details-marker { display: none; }
.pd-more > summary::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s var(--ease);
}
.pd-more[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.pd-more[open] > summary .pd-more__show { display: none; }
.pd-more:not([open]) > summary .pd-more__hide { display: none; }
.pd-more__panel { padding-top: 0.9rem; animation: pdFade 0.45s var(--ease); }
.pd-more__panel h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.6rem;
}
.pd-more__panel h4 + .check-list { margin-bottom: 1.1rem; }
.pd-more__panel .check-list li { font-size: 0.9rem; }
.pd-more__panel p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.68; }
.pd-more__panel p + h4 { margin-top: 1.1rem; }
@keyframes pdFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Tamaños de tarjeta del hero para productos digitales */
.hero__card--pd { width: min(340px, 27vw); }

@media (max-width: 1080px) {
  .pd-grid { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pd-card { grid-template-columns: 1fr; }
  .pd-card__cover { max-width: 220px; }
}
@media (max-width: 900px) {
  .hero__card--pd { width: min(200px, 46vw); }
}

/* =============================================================
   23. ESTUDIOS PRESENCIALES
   ============================================================= */
.study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.study-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.7rem 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(20, 20, 40, 0.07);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.study-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.study-card__media {
  margin: -1.7rem -1.5rem 0.4rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}
.study-card__media img { width: 100%; height: 100%; object-fit: cover; }
.study-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem; }
.study-card h3 { font-family: var(--font-title); font-size: 1.4rem; font-weight: 600; line-height: 1.15; }
.study-card__value {
  flex: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--purple);
  white-space: nowrap;
}
.study-card p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.65; }

.included-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 1.6rem;
  padding: 1.3rem 1.6rem;
  border-radius: 999px;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--shadow-glow);
}
.included-strip svg { flex: none; }
.included-strip p { font-size: 1rem; line-height: 1.5; }
.included-strip strong { font-weight: 700; }

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  padding: 1.7rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.flow-step__num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-brand);
  margin-bottom: 0.9rem;
}
.flow-step h3 { font-size: 1.02rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.flow-step p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }
.flow-step .check-list { margin-top: 0.7rem; }
.flow-step .check-list li { font-size: 0.86rem; }

.invest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.invest-card {
  padding: 1.9rem 1.7rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(20, 20, 40, 0.07);
  box-shadow: var(--shadow-md);
}
.invest-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--purple);
}
.invest-card__amount {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  margin: 0.5rem 0 0.8rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.invest-card p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.65; }

@media (max-width: 980px) {
  .study-grid, .flow-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .study-grid, .flow-grid, .invest-grid { grid-template-columns: 1fr; }
  .included-strip { border-radius: var(--radius); }
}

/* =============================================================
   24. MÉTODO EPIGFIT
   ============================================================= */
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 1.5rem;
}
.hero__proof li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero__proof li svg { flex: none; color: var(--purple); }

.not-list { display: grid; gap: 0.55rem; margin-bottom: 1.4rem; }
.not-list li {
  position: relative;
  padding-left: 1.9rem;
  font-family: var(--font-title);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.not-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--purple);
  opacity: 0.5;
}

.dim-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.dim-card {
  padding: 1.5rem 1.2rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(20, 20, 40, 0.07);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.dim-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.dim-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--purple);
  border: 1.5px solid rgba(124, 58, 237, 0.3);
  margin-bottom: 0.9rem;
}
.dim-card h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 0.4rem; }
.dim-card p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.6; }

.goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2.2rem; }
.goal-grid li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.goal-grid li svg { flex: none; margin-top: 3px; color: var(--lavender); }

.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.fit-card {
  padding: 2rem 1.8rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(20, 20, 40, 0.07);
  box-shadow: var(--shadow-md);
}
.fit-card--no { background: var(--bg-2); box-shadow: none; }
.fit-card h3 { font-family: var(--font-title); font-size: 1.6rem; font-weight: 600; margin-bottom: 1.2rem; }
.fit-card ul { display: grid; gap: 0.75rem; }
.fit-card li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.fit-card li::before {
  position: absolute;
  left: 0; top: -1px;
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
}
.fit-card--yes li::before { content: "✓"; color: #fff; background: var(--grad-brand); }
.fit-card--no li::before { content: "✕"; color: var(--ink-mute); background: rgba(20, 20, 40, 0.08); }

.steps-rail { display: grid; gap: 0; }
.step-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.6rem;
  align-items: start;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(20, 20, 40, 0.09);
}
.step-row:last-child { border-bottom: 1px solid rgba(20, 20, 40, 0.09); }
.step-row__num {
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-row h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 0.3rem; }
.step-row p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.65; }

@media (max-width: 1080px) {
  .dim-grid { grid-template-columns: repeat(3, 1fr); }
  .goal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .dim-grid { grid-template-columns: repeat(2, 1fr); }
  .goal-grid, .fit-grid { grid-template-columns: 1fr; }
  .step-row { grid-template-columns: 60px 1fr; gap: 1rem; }
  .step-row__num { font-size: 2rem; }
  .not-list li { font-size: 1.12rem; }
}

/* =============================================================
   25. GALERÍA DE IMÁGENES (Inicio)
   ============================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}
.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
  box-shadow: var(--shadow-md);
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #fff;
  background: rgba(10, 10, 24, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.gallery__wide { grid-column: span 2; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery__wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .gallery { grid-auto-rows: 140px; }
}

/* Enlaces pendientes de configurar */
a[data-pending] { position: relative; }

/* =============================================================
   26. MODAL DE DETALLE DE PRODUCTO
   ============================================================= */
.pd-dialog {
  width: min(760px, calc(100vw - 2.5rem));
  max-height: min(86vh, 900px);
  /* El reset global (`* { margin: 0 }`) anula el `margin: auto` con el que
     el navegador centra los <dialog> nativos, así que lo reponemos. */
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 50px 120px -30px rgba(20, 20, 40, 0.45);
  overflow: hidden;
}
.pd-dialog::backdrop {
  background: rgba(10, 10, 24, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pd-dialog[open] { animation: dlgIn 0.4s var(--ease); }
.pd-dialog[open]::backdrop { animation: dlgFade 0.4s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes dlgFade { from { opacity: 0; } to { opacity: 1; } }

.pd-dialog__inner { display: grid; grid-template-rows: auto 1fr auto; max-height: inherit; }

.pd-dialog__head {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1.5rem 1.6rem;
  border-bottom: 1px solid rgba(20, 20, 40, 0.08);
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.06), rgba(37, 99, 235, 0.04));
}
.pd-dialog__cover {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px -12px rgba(20, 20, 40, 0.45);
  background: var(--dark);
}
.pd-dialog__cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.pd-dialog__titles { min-width: 0; }
.pd-dialog__kicker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.3rem;
}
.pd-dialog__title {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.12;
}
.pd-dialog__close {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink-soft);
  background: rgba(20, 20, 40, 0.05);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.pd-dialog__close:hover { background: rgba(124, 58, 237, 0.12); color: var(--purple); transform: rotate(90deg); }
.pd-dialog__close:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

.pd-dialog__body {
  padding: 1.6rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pd-dialog__body h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.7rem;
}
.pd-dialog__body h4:not(:first-child) { margin-top: 1.6rem; }
.pd-dialog__body .check-list li { font-size: 0.92rem; }
.pd-dialog__body > p { font-size: 0.9rem; color: var(--ink-mute); line-height: 1.65; margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid rgba(20, 20, 40, 0.08); }

.pd-dialog__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem 1.6rem;
  border-top: 1px solid rgba(20, 20, 40, 0.08);
  background: var(--bg-2);
}
.pd-dialog__price { display: flex; align-items: baseline; gap: 0.5rem; }
.pd-dialog__price strong {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pd-dialog__price span { font-size: 0.82rem; color: var(--ink-mute); }

html.is-locked { overflow: hidden; }

@media (max-width: 620px) {
  .pd-dialog { width: 100%; max-width: 100%; max-height: 92vh; border-radius: var(--radius) var(--radius) 0 0; margin: auto auto 0; }
  .pd-dialog__head { grid-template-columns: 60px 1fr auto; padding: 1.1rem 1.1rem; gap: 0.8rem; }
  .pd-dialog__body, .pd-dialog__foot { padding: 1.1rem; }
  .pd-dialog__foot .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-dialog[open], .pd-dialog[open]::backdrop { animation: none; }
  .pd-dialog__close:hover { transform: none; }
}

/* =============================================================
   27. PROCESO DE ESTUDIOS · iconos, botón y nota de cierre
   ============================================================= */

/* La tarjeta pasa a columna para poder empujar el botón al fondo:
   así todos los botones de la fila quedan a la misma altura aunque
   los pasos tengan distinta cantidad de texto. */
.flow-step {
  display: flex;
  flex-direction: column;
}

.flow-step__icon {
  position: absolute;
  top: 1.6rem;
  right: 1.4rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--violet-200, #c4b5fd);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
}
.flow-step:hover .flow-step__icon {
  color: #fff;
  background: rgba(124, 58, 237, 0.35);
  transform: translateY(-2px);
}

/* Deja sitio al icono para que no choque con el título */
.flow-step h3 { padding-right: 3.2rem; }

/* `margin-top: auto` empuja el bloque de acción al fondo de la tarjeta, de
   modo que los botones de una misma fila quedan alineados aunque los pasos
   tengan distinta cantidad de texto. */
.flow-step__action {
  margin-top: auto;
  padding-top: 1.3rem;
}
.flow-step__cta {
  padding-top: 0.62rem;
  padding-bottom: 0.62rem;
}

.flow-step__qr {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  width: max-content;
  margin-top: 0.9rem;
  padding: 0.7rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.flow-step__qr a {
  display: block;
  border-radius: 8px;
  transition: transform 0.35s var(--ease);
}
.flow-step__qr a:hover { transform: scale(1.04); }
.flow-step__qr a:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.flow-step__qr img {
  width: 104px;
  height: 104px;
  display: block;
  border-radius: 6px;
}
.flow-step__qr figcaption {
  max-width: 118px;
  font-size: 0.64rem;
  line-height: 1.3;
  text-align: center;
  color: var(--ink-mute, #6b7280);
  word-break: break-word;
}

.flow-note {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  flex-wrap: wrap;
  max-width: 62rem;
  margin: 2.4rem auto 0;
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.flow-note__tag {
  flex: none;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-brand);
}

/* Aviso sobre fondo claro (bloque de Kits y tests) */
.flow-note--light {
  color: var(--ink-soft);
  background: rgba(109, 40, 217, 0.055);
  border: 1px solid rgba(109, 40, 217, 0.16);
}
.flow-note--light strong { color: var(--ink); font-weight: 700; }

@media (max-width: 620px) {
  .flow-step__icon { top: 1.3rem; right: 1.1rem; width: 34px; height: 34px; }
  .flow-step__icon svg { width: 20px; height: 20px; }
  .flow-step h3 { padding-right: 2.6rem; }
  .flow-step__cta { width: 100%; justify-content: center; }
  .flow-step__qr { width: 100%; }
  .flow-step__qr img { width: 120px; height: 120px; }
  .flow-note { flex-direction: column; gap: 0.6rem; }
}

/* Paso cuyo enlace aún no está configurado: se ve la estructura, pero el
   botón no es pulsable para no llevar a ningún sitio. */
.flow-step__cta--pending {
  cursor: default;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
  border: 1px dashed rgba(255, 255, 255, 0.28);
  box-shadow: none;
}
.flow-step__cta--pending:hover { transform: none; box-shadow: none; }
.flow-step__action.is-pending .flow-step__qr { opacity: 0.75; }