/* Cúrcuma v5 — Home 0-Scroll: embudo por rubro (4 pasos estilo App / Stories).
   Reglas: tokens de v5 / v5-azul, sin negro puro, contraste AA, contenido visible sin esperar JS. */

[hidden] { display: none !important; }

/* ───────── Modo 0-Scroll solo en la Home con JS activo ───────── */
html.js body.page-home-app {
  height: 100dvh;
  overflow: hidden;
  background: var(--tinta);
}
html.js body.page-home-app .site-header,
html.js body.page-home-app .site-footer,
html.js body.page-home-app .wa-flotante {
  display: none;
}

.story-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  min-height: 100dvh;
  background: var(--tinta);
  color: #FFFFFF;
}
html.js .story-shell {
  height: 100dvh;
  overflow: hidden;
}

/* ───────── Barra superior tipo Stories ───────── */
.story-top {
  position: relative;
  z-index: 20;
  background: rgba(11, 16, 51, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px clamp(12px, 3vw, 32px);
}
.story-top__row {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
}
.story-brand {
  appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF;
}
.story-brand img { width: auto; height: 32px; }
.story-brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.story-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
}
.story-bar { appearance: none; border: 0; padding: 8px 0; background: transparent; cursor: pointer; }
.story-bar::after {
  content: ""; display: block; height: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .24);
  transition: background-color .25s var(--ease), transform .2s var(--ease);
}
.story-bar.is-done::after { background: rgba(215, 255, 61, .65); }
.story-bar.is-active::after { background: var(--lima); transform: scaleY(1.35); }
.story-bar:hover::after { background: #FFFFFF; }

.story-top__actions { display: flex; align-items: center; gap: 8px; }
.story-step-num { font-size: 12px; font-weight: 800; color: var(--lima); white-space: nowrap; }
.story-btn-icon, .story-btn-wa {
  appearance: none; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap;
}
.story-btn-icon { background: rgba(255, 255, 255, .1); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .24); }
.story-btn-icon:hover { border-color: var(--lima); color: var(--lima); }
.story-btn-wa { background: var(--lima); color: var(--tinta); border: 1px solid var(--lima); }
.story-btn-wa:hover { background: var(--wa-hover); }
.story-btn-icon .ico, .story-btn-wa .ico { width: 16px; height: 16px; }
@media (max-width: 639px) {
  .story-step-num { display: none; }
  .story-btn-wa span { display: none; }
  .story-btn-wa { min-width: 44px; justify-content: center; padding: 8px 11px; }
  .story-btn-icon { padding: 8px 12px; font-size: 12.5px; }
}

/* ───────── Escenario 0-Scroll ───────── */
.story-stage { position: relative; min-height: 0; height: 100%; overflow: hidden; }
.story-slide {
  position: relative; height: 100%; width: 100%; overflow-y: auto; overflow-x: hidden;
  display: grid; place-items: center;
  padding: clamp(14px, 2.5vh, 28px) clamp(16px, 3vw, 48px);
  animation: slide-in .3s var(--ease);
}
@keyframes slide-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.story-slide.is-back { animation: slide-back .3s var(--ease); }
@keyframes slide-back { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

.story-bg, .story-bg__img, .story-bg__video, .story-bg__scrim {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.story-bg { z-index: 0; overflow: hidden; }
.story-bg__img, .story-bg__video { object-fit: cover; object-position: center; }
.story-bg__video { opacity: 0; transition: opacity .6s var(--ease); }
.story-bg__video.is-ready { opacity: 1; }
.story-bg__img--soft { opacity: .34; }
.story-bg__scrim {
  background: radial-gradient(75% 75% at 50% 42%, rgba(20, 51, 255, .28), rgba(11, 16, 51, .84) 78%),
              linear-gradient(180deg, rgba(11, 16, 51, .56) 0%, rgba(11, 16, 51, .76) 100%);
}
.story-bg__scrim--deep {
  background: radial-gradient(80% 70% at 50% 25%, rgba(20, 51, 255, .24), rgba(11, 16, 51, .92) 78%);
}

.story-content { position: relative; z-index: 2; width: 100%; max-width: 920px; display: grid; gap: clamp(14px, 2.2vh, 24px); }
.story-content--center { max-width: 800px; justify-items: center; text-align: center; }

/* Pantalla 1: Hero */
.titular__linea { display: block; clip-path: inset(-.3em -.4em -.14em -.4em); }
.titular__linea > * { display: block; animation: m-subir .7s var(--ease) both; }
.titular__linea:nth-child(2) > * { animation-delay: .12s; }
.titular .palabra { display: inline-block; white-space: nowrap; }
@keyframes m-subir { from { transform: translateY(105%); } }

.story-h1 {
  font-size: clamp(36px, 5.8vw, 78px); line-height: .94; color: #FFFFFF;
  text-shadow: .05em .05em 0 var(--tinta);
}
.story-h1 .accent { color: var(--lima); }
.story-lead { font-size: clamp(16px, 1.6vw, 21px); line-height: 1.45; color: #E8ECFF; max-width: 32em; }
.story-cta-stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; margin-top: 6px; }
.btn--hero { min-height: 56px; padding: 14px 30px; font-size: clamp(16px, 1.4vw, 19px); box-shadow: 0 14px 36px rgba(215, 255, 61, .38); }
.story-slide .btn--ghost-light { border-color: rgba(255, 255, 255, .56); color: #FFFFFF; background: rgba(11, 16, 51, .45); }
.story-slide .btn--ghost-light:hover { border-color: var(--lima); color: var(--lima); background: rgba(11, 16, 51, .72); }
@media (max-width: 599px) { .story-cta-stack .btn { width: 100%; } }

/* Cabeceras y pie comunes */
.story-head { display: grid; gap: 6px; text-align: center; justify-items: center; }
.story-head h2 { font-size: clamp(28px, 3.8vw, 50px); line-height: .98; color: #FFFFFF; text-shadow: .04em .04em 0 var(--azul); }
.story-sub { font-size: clamp(15px, 1.35vw, 18px); color: #DDE3FF; max-width: 36em; }
.story-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px; }
.btn-story-nav {
  appearance: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .36); background: rgba(11, 16, 51, .5);
  color: #FFFFFF; font-family: var(--font-body); font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.btn-story-nav:hover { border-color: var(--lima); color: var(--lima); }
.btn-story-link { appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer; color: var(--azul); font-family: var(--font-body); font-size: 13.5px; font-weight: 700; }
.btn-story-link:hover { text-decoration: underline; }
.story-hint { font-size: 13.5px; color: var(--b-muted); }

/* ───────── Pantalla 2: 4 problemas cortos ───────── */
.choice-grid { display: grid; gap: 12px; }
@media (min-width: 768px) { .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.choice-card {
  appearance: none; width: 100%; text-align: left;
  display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 16px;
  padding: clamp(16px, 2.5vh, 26px) 20px; border-radius: var(--radius);
  border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(21, 28, 74, .76);
  color: #FFFFFF; font-family: var(--font-body); cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.choice-card:hover { transform: translateY(-2px); border-color: var(--lima); background: rgba(20, 51, 255, .46); }
.choice-card[aria-pressed="true"] { border-color: var(--lima); background: rgba(20, 51, 255, .66); box-shadow: 0 0 0 2px rgba(215, 255, 61, .4); }
.choice-card__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(215, 255, 61, .16); color: var(--lima); }
.choice-card__ico .ico { width: 24px; height: 24px; }
.choice-card strong { display: block; font-size: clamp(16px, 1.5vw, 19px); font-weight: 800; line-height: 1.25; }

/* ───────── Pantalla 3: 4 Escenas Visuales Antes / Después ───────── */
.contrast-card {
  width: 100%; max-width: 680px; margin-inline: auto;
  background: rgba(21, 28, 74, .84); border: 1.5px solid rgba(245, 163, 0, .55);
  border-radius: var(--radius-lg); padding: clamp(16px, 2.4vh, 26px);
  display: grid; gap: 16px; will-change: transform;
  transition: border-color .28s var(--ease), background-color .28s var(--ease);
}
.contrast-card.is-active {
  background: linear-gradient(155deg, rgba(20, 51, 255, .44), rgba(11, 16, 51, .94));
  border-color: var(--lima);
  box-shadow: 0 28px 60px -24px rgba(20, 51, 255, .6);
}
.contrast-card__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.contrast-badge {
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .06em;
  background: var(--curcuma); color: var(--tinta);
}
.contrast-card.is-active .contrast-badge { background: var(--lima); }
.contrast-switch {
  appearance: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--lima); color: var(--tinta);
  font-family: var(--font-body); font-size: 14px; font-weight: 900;
  box-shadow: 0 10px 26px rgba(215, 255, 61, .35);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.contrast-switch:hover { transform: scale(1.03); }
.contrast-switch .ico { width: 16px; height: 16px; color: var(--azul); }
.contrast-card.is-active .contrast-switch { background: rgba(255, 255, 255, .14); color: #FFFFFF; box-shadow: none; }
.contrast-card.is-active .contrast-switch .ico { color: var(--lima); }

.visual-scene { display: grid; gap: 12px; }
.mock-state { display: grid; gap: 10px; animation: app-in .22s var(--ease); }
@keyframes app-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Escena A: Buscador Google */
.mock-searchbar {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 999px;
  background: #FFFFFF; color: var(--tinta); font-weight: 700; font-size: 14.5px;
}
.mock-searchbar .ico { width: 18px; height: 18px; color: var(--azul); }
.mock-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 12px; font-size: 14.5px;
}
.mock-row--dim { background: rgba(255, 255, 255, .07); color: #C9CEE8; }
.mock-row--miss { background: rgba(245, 163, 0, .14); border: 1px dashed rgba(245, 163, 0, .5); color: #FFD27A; font-weight: 700; }
.mock-row--win { background: rgba(20, 51, 255, .55); border: 1.5px solid var(--lima); color: #FFFFFF; }
.mock-row--win strong { display: block; font-size: 15.5px; color: var(--lima); }
.mock-row--win small { font-size: 12.5px; color: #DDE3FF; }
.mock-pill {
  flex: none; padding: 5px 11px; border-radius: 999px; background: var(--lima); color: var(--tinta);
  font-size: 12px; font-weight: 900; white-space: nowrap;
}
.mock-caption { font-size: 14px; font-weight: 700; color: var(--lima); text-align: center; }
.mock-caption--warn { color: #FFD27A; }

/* Escena B: WhatsApp real */
.scene-bubble { padding: 11px 14px; border-radius: 12px; max-width: 88%; font-size: 15px; line-height: 1.38; }
.scene-bubble small { display: block; font-size: 11.5px; font-weight: 700; opacity: .8; margin-bottom: 2px; }
.scene-bubble--in { justify-self: start; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.scene-bubble--out { justify-self: end; background: rgba(245, 163, 0, .15); border: 1px solid rgba(245, 163, 0, .45); }
.contrast-card.is-active .scene-bubble--out { background: rgba(20, 51, 255, .55); border-color: var(--lima); }
.mock-gap {
  justify-self: center; padding: 4px 12px; border-radius: 999px;
  background: rgba(245, 163, 0, .18); color: #FFD27A; font-size: 12px; font-weight: 800;
}

/* Escena C: Preguntas sueltas vs Vidriera */
.mock-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 10px 0; }
.mock-cloud span {
  padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(245, 163, 0, .45); color: #FFD27A; font-weight: 700; font-size: 14.5px;
}
.mock-product {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 12px; border-radius: 14px; background: rgba(20, 51, 255, .45); border: 1.5px solid var(--lima);
}
.mock-product__ico { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: rgba(215, 255, 61, .16); color: var(--lima); }
.mock-product__ico .ico { width: 28px; height: 28px; }
.mock-product strong { display: block; font-size: 20px; font-weight: 900; }
.mock-product small { font-size: 12.5px; color: #DDE3FF; }

/* Escena D: Papelito → pedido ordenado */
.mock-paper {
  display: grid; gap: 8px; padding: 16px 18px; border-radius: 6px; transform: rotate(-1.2deg);
  background: #FFF6D8; color: #4A3B1E; box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .55);
  font-size: 15.5px; font-weight: 600;
}
.mock-paper span { border-bottom: 1px dashed rgba(74, 59, 30, .3); padding-bottom: 6px; }
.mock-paper .is-lost { color: rgba(74, 59, 30, .45); text-decoration: line-through; border-bottom: 0; }
.mock-order { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: rgba(20, 51, 255, .5); border: 1.5px solid var(--lima); }
.mock-order__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.mock-order__head strong { font-size: 16px; color: var(--lima); }
.mock-order__row { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; color: #DDE3FF; }
.mock-order__row strong { color: #FFFFFF; }

/* Antes → después automático */
.contrast-badge { font-size: 14px; padding: 6px 14px; }
.contrast-timer { flex: 1; max-width: 160px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.contrast-timer::after { content: ""; display: block; height: 100%; background: var(--lima); transform: scaleX(0); transform-origin: left; }
.contrast-timer.is-running::after { animation: contrast-fill 3.4s linear forwards; }
.contrast-card.is-active .contrast-timer { visibility: hidden; }
@keyframes contrast-fill { to { transform: scaleX(1); } }
.contrast-replay {
  appearance: none; justify-self: center; border: 0; background: transparent; cursor: pointer; padding: 4px 8px;
  color: #DDE3FF; font-family: var(--font-body); font-size: 13.5px; font-weight: 700; text-decoration: underline;
}
.contrast-replay:hover { color: var(--lima); }
.scene-bubble--out.is-win { background: rgba(20, 51, 255, .55); border-color: var(--lima); }

/* ───────── Pantalla 1: promesa + video real ───────── */
.hero-grid { gap: clamp(12px, 2vh, 22px); }
.hero-copy { display: grid; gap: 10px; justify-items: center; }
.story-slide--hero .story-h1 { font-size: clamp(30px, 8.4vw, 72px); }
.story-slide--hero .story-lead { font-size: clamp(15.5px, 1.5vw, 20px); max-width: 30em; }

/* Teléfono con video (portada y escenas) */
.phone-video { display: grid; justify-items: center; gap: 8px; margin: 0; }
.phone-video__frame {
  width: clamp(150px, 42vw, 250px); aspect-ratio: 480 / 936; overflow: hidden;
  border-radius: 26px; border: 6px solid var(--tinta); background: var(--tinta);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .22), 0 26px 50px -22px rgba(0, 0, 0, .7);
}
.phone-video__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone-video figcaption { font-size: 12.5px; color: #C9CEE8; }
.visual-scene .phone-video__frame { width: clamp(150px, 40vw, 220px); }
.hero-video .phone-video__frame { width: auto; height: clamp(220px, 41dvh, 560px); }

@media (min-width: 1024px) {
  .story-slide--hero .story-h1 { font-size: clamp(48px, 5vw, 72px); }
  .hero-grid { max-width: 1160px; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .7fr); align-items: center; text-align: left; justify-items: start; column-gap: 56px; }
  .hero-copy { justify-items: start; }
  .hero-grid .story-cta-stack { justify-content: flex-start; grid-column: 1; }
  .hero-video { grid-column: 2; grid-row: 1 / span 2; justify-self: center; }
  .hero-video .phone-video__frame { width: auto; height: clamp(380px, 62vh, 600px); }
}

/* Pantallas de WhatsApp ilustradas (colores propios de la ilustración) */
.wa-screen {
  --wa-head: #075E54; --wa-bg: #ECE5DD; --wa-card: #FFFFFF; --wa-text: #111B21; --wa-muted: #667781; --wa-green: #25D366;
  display: grid; border-radius: 16px; overflow: hidden; background: var(--wa-card); color: var(--wa-text);
  font-family: var(--font-body); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7);
}
.wa-screen--chat { background: var(--wa-bg); padding-bottom: 10px; }
.wa-screen__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--wa-head); color: #FFFFFF; }
.wa-screen__head strong { font-size: 16px; }
.wa-screen__head small { font-size: 12.5px; opacity: .9; }
.wa-chat { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid #EEF0F1; }
.wa-chat i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #DFE5E7; color: #54656F; font-style: normal; font-weight: 800; }
.wa-chat b { display: block; font-size: 15px; }
.wa-chat span { display: block; font-size: 14px; color: var(--wa-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-chat em { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--wa-green); color: #FFFFFF; font-style: normal; font-size: 12px; font-weight: 800; }
.wa-chat.is-order span { color: var(--wa-text); font-weight: 700; }
.wa-chat.is-order::after { content: "Pedido"; padding: 3px 9px; border-radius: 999px; background: #D9FDD3; color: #0B6B3A; font-size: 11.5px; font-weight: 800; }
.wa-msg {
  justify-self: start; position: relative; max-width: 86%; margin: 8px 12px 0; padding: 8px 12px 18px;
  background: var(--wa-card); border-radius: 0 10px 10px 10px; font-size: 15px; line-height: 1.4; white-space: pre-line;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .12);
}
.wa-msg time { position: absolute; right: 9px; bottom: 3px; font-size: 11px; color: var(--wa-muted); }
.wa-msg--long { font-size: 14.5px; min-width: 70%; }
.wa-msg b { display: block; margin-top: 4px; }

/* ───────── Pantalla 4: rubros con ícono grande ───────── */
.rubro-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .rubro-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.rubro-card {
  appearance: none; display: grid; grid-template-rows: 1fr auto; overflow: hidden; padding: 0;
  border-radius: var(--radius); border: 1.5px solid rgba(255, 255, 255, .24); background: #FFFFFF; color: var(--tinta);
  font-family: var(--font-body); text-align: center; cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.rubro-card img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rubro-card:hover { transform: translateY(-3px); border-color: var(--lima); box-shadow: 0 18px 36px -18px rgba(215, 255, 61, .45); }
.rubro-card[aria-pressed="true"] { border-color: var(--lima); box-shadow: 0 0 0 3px var(--lima); }
.rubro-card strong { display: block; padding: 10px 8px; font-size: clamp(15px, 1.4vw, 18px); font-weight: 800; line-height: 1.2; }

/* ───────── Pantalla 5: ejemplo real + un botón ───────── */
.final-card { max-width: 520px; justify-items: center; text-align: center; }
.final-shot {
  position: relative; display: block; width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, .24); text-decoration: none;
}
.final-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.final-shot__tag {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  background: rgba(11, 16, 51, .88); color: #FFFFFF; font-size: 13.5px; font-weight: 800;
}
.final-shot__tag .ico { width: 16px; height: 16px; color: var(--lima); }
.final-shot:hover { border-color: var(--lima); }
.final-desc { font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; line-height: 1.4; color: #FFFFFF; max-width: 26em; }
.final-wa { width: 100%; }
.final-wa .ico { width: 22px; height: 22px; }
.final-back { color: #DDE3FF; }

/* ───────── Cajón deslizable SEO & Menú ───────── */
.app-drawer { position: fixed; inset: 0; z-index: 90; display: grid; justify-items: end; }
.app-drawer__backdrop { position: fixed; inset: 0; background: rgba(11, 16, 51, .72); backdrop-filter: blur(4px); }
.app-drawer__panel {
  position: relative; z-index: 2; width: min(100%, 460px); height: 100dvh; overflow-y: auto;
  background: #FFFFFF; color: var(--tinta); padding: 20px; display: grid; align-content: start; gap: 20px;
  box-shadow: -20px 0 60px rgba(11, 16, 51, .45);
}
.app-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--a-border); }
.app-drawer__head .btn-story-nav { background: var(--gris); color: var(--tinta); border-color: var(--a-border); }
.app-drawer__label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--azul); margin-bottom: 10px; }
.app-drawer__body { display: grid; gap: 22px; }
.app-drawer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-drawer__links a { display: block; padding: 9px 11px; border-radius: 10px; background: var(--gris); color: var(--tinta); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.app-drawer__links a:hover { background: #E5E9FF; color: var(--azul); }
.app-drawer__foot { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 10px; border-top: 1px solid var(--a-border); font-size: 13px; }
.app-drawer__foot a { color: var(--a-muted-strong); text-decoration: none; }
.app-drawer__foot a:hover { color: var(--azul); }

@media (prefers-reduced-motion: reduce) {
  .titular__linea > *, .story-slide, .story-slide.is-back, .mock-state { animation: none; }
  .story-bar::after { transition: none; }
  .contrast-timer.is-running::after { animation: none; transform: scaleX(1); }
}

/* Estrellas de Google en las escenas */
.mock-stars { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.mock-stars .ico { width: 14px; height: 14px; fill: #FFC93C; stroke: #FFC93C; }

/* ═════════ Embudo por rubro ═════════ */
.story-content--narrow { max-width: 640px; }
.story-slide--hero h1.story-h1--ask { font-size: clamp(32px, 6vw, 60px); line-height: .98; text-shadow: .04em .04em 0 var(--azul); }
.story-slide--hero .rubro-card img { aspect-ratio: 16 / 10; }
@media (max-width: 767px) { .story-slide--hero .rubro-card strong { padding: 8px 6px; font-size: 14.5px; } }

/* Paso 2: problemas para marcar */
.pain-list { display: grid; gap: 10px; }
.pain-card {
  appearance: none; width: 100%; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius); text-align: left; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(21, 28, 74, .8); color: #FFFFFF; font-family: var(--font-body);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.pain-card:hover { border-color: var(--lima); }
.pain-card__check {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  border: 2px solid rgba(255, 255, 255, .5); color: transparent; transition: all .18s var(--ease);
}
.pain-card__check .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.pain-card[aria-pressed="true"] { border-color: var(--lima); background: rgba(20, 51, 255, .5); }
.pain-card[aria-pressed="true"] .pain-card__check { background: var(--lima); border-color: var(--lima); color: var(--tinta); }
.pain-card__txt strong { display: block; font-size: clamp(16px, 1.5vw, 18px); font-weight: 800; line-height: 1.25; }
.pain-card__txt small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.35; color: #C9CEE8; }

/* Paso 3: problema por problema */
.sol-head { display: grid; gap: 6px; text-align: center; justify-items: center; }
.sol-step { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #DDE3FF; font-size: 12.5px; font-weight: 800; }
.sol-title { font-family: var(--font-body); font-size: clamp(19px, 2.2vw, 26px); font-weight: 800; line-height: 1.2; color: #FFFFFF; text-shadow: none; text-transform: none; letter-spacing: 0; }
.sol-fix {
  justify-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--lima); color: var(--tinta); font-size: 14px; font-weight: 900; text-align: center;
}
.sol-fix .ico { width: 18px; height: 18px; flex: none; stroke-width: 2.6; }
.visual-scene .wa-screen, .visual-scene .mock-card, .visual-scene .mock-google, .visual-scene .mock-paper { width: 100%; max-width: 420px; justify-self: center; }

/* Chats: entrante, propio y respuesta automática */
.wa-msg--out { justify-self: end; background: #D9FDD3; border-radius: 10px 0 10px 10px; margin: 8px 12px 0 auto; }
.wa-msg--auto { justify-self: end; background: #D9FDD3; border-radius: 10px 0 10px 10px; margin: 8px 12px 0 auto; border: 1.5px solid #25D366; }
.wa-auto { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 800; color: #0B6B3A; }
.wa-gap { justify-self: center; margin: 10px auto 0; padding: 3px 10px; border-radius: 8px; background: #FFF3C4; color: #5C4B1A; font-size: 12px; font-weight: 700; }
.wa-screen--chat { display: flex; flex-direction: column; }
.wa-screen--chat .wa-msg--in { align-self: flex-start; }
.wa-screen--chat .wa-msg--out, .wa-screen--chat .wa-msg--auto { align-self: flex-end; }
.wa-screen--chat .wa-gap { align-self: center; }

/* Tarjetas ilustradas: formulario, recibo, producto, agenda, horarios */
.mock-card { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: #FFFFFF; color: var(--tinta); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7); }
.mock-card--warn { background: #FFF6E5; }
.mock-card__title { font-size: 16px; font-weight: 900; }
.mock-card__row { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid #EEF0F4; font-size: 14.5px; }
.mock-card__row span { color: #5B6178; }
.mock-card__row b { text-align: right; }
.mock-card--warn .mock-card__row:nth-child(3) b { color: #B3261E; }
.mock-card__price { font-size: 26px; font-weight: 900; line-height: 1; }
.mock-card__meta { font-size: 13px; color: #5B6178; }
.mock-card .mock-pill { justify-self: start; margin-top: 4px; padding: 8px 14px; font-size: 13.5px; }
.mock-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.mock-opts > span { min-width: 44px; color: #5B6178; font-weight: 700; }
.mock-opts i, .mock-times i { font-style: normal; padding: 5px 10px; border-radius: 8px; border: 1.5px solid #D5D9E6; font-weight: 700; }
.mock-opts i.is-sel, .mock-times i.is-sel { background: var(--tinta); border-color: var(--tinta); color: #FFFFFF; }
.mock-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; text-align: center; font-size: 14px; }
.mock-slot { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding-top: 8px; border-top: 1px solid #EEF0F4; font-size: 14.5px; }
.mock-slot em { font-style: normal; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #E6F6EC; color: #0B6B3A; }
.mock-slot--no span { text-decoration: line-through; color: #8A90A6; }
.mock-slot--no em { background: #FDE8E7; color: #B3261E; }
.mock-google { display: grid; gap: 10px; }

/* Paso 4: resumen */
.summary { justify-items: stretch; }
.summary__head { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 14px; }
.summary__head img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, .3); }
.summary__head small { display: block; font-size: 12.5px; color: #C9CEE8; }
.summary__head strong { font-size: 18px; }
.summary__title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1; color: #FFFFFF; }
.summary__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.summary__list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 12px; background: rgba(21, 28, 74, .8); border: 1px solid rgba(255, 255, 255, .16); }
.summary__list .ico { width: 28px; height: 28px; padding: 4px; border-radius: 8px; background: var(--lima); color: var(--tinta); stroke-width: 2.6; }
.summary__list b { display: block; font-size: 16px; }
.summary__list small { display: block; margin-top: 2px; font-size: 13.5px; color: #C9CEE8; }
.summary__wa { width: 100%; }
.summary__wa .ico { width: 22px; height: 22px; }
.summary__demo { justify-self: center; display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF; font-weight: 700; font-size: 14.5px; }
.summary__demo .ico { width: 18px; height: 18px; color: var(--lima); }
.summary .final-back { justify-self: center; }

/* Botones siempre a mano en celular, aunque la escena sea alta */
@media (max-width: 767px) {
  .story-slide[data-slide="2"] .story-foot, .story-slide[data-slide="3"] .story-foot {
    position: sticky; bottom: calc(-1 * clamp(14px, 2.5vh, 28px)); z-index: 3;
    margin-inline: -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(11, 16, 51, 0), rgba(11, 16, 51, .92) 28%);
  }
  .story-slide[data-slide="3"] .story-content { align-self: start; }
  .visual-scene .wa-msg { font-size: 14px; }
}
@media (max-width: 767px) {
  .story-slide[data-slide="2"] .story-foot, .story-slide[data-slide="3"] .story-foot { flex-wrap: nowrap; }
  .story-slide[data-slide="2"] .story-foot .btn, .story-slide[data-slide="3"] .story-foot .btn { flex: 1; min-height: 50px; padding: 10px 14px; font-size: 15px; }
  .contrast-card { gap: 12px; padding: 14px; }
  .contrast-card__top { padding-bottom: 8px; }
}

/* ═════════ Más imagen que texto: la foto del rubro de fondo y como portada ═════════ */
.story-bg__img--rubro { opacity: .5; filter: saturate(1.1); }
.story-slide--dark .story-bg__scrim--deep { background: linear-gradient(180deg, rgba(11, 16, 51, .45) 0%, rgba(11, 16, 51, .82) 55%, rgba(11, 16, 51, .94) 100%); }
.slide-hero {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg);
  height: clamp(170px, 30vh, 300px); border: 1.5px solid rgba(255, 255, 255, .22);
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, .8);
}
.slide-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 51, 0) 30%, rgba(11, 16, 51, .9) 100%); }
.slide-hero figcaption { position: absolute; inset: auto 0 0 0; z-index: 2; display: grid; gap: 4px; padding: 14px 16px; text-align: left; }
.slide-hero figcaption h2 { font-size: clamp(24px, 3.6vw, 40px); line-height: 1; color: #FFFFFF; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.slide-hero figcaption > span:not(.sol-step) { font-size: 14px; font-weight: 700; color: var(--lima); }
.slide-hero--slim { height: clamp(120px, 20vh, 200px); }
.slide-hero--slim .sol-step { justify-self: start; background: rgba(11, 16, 51, .7); }
.slide-hero--slim .sol-title { font-family: var(--font-body); font-size: clamp(18px, 2.2vw, 26px); font-weight: 800; line-height: 1.2; text-transform: none; letter-spacing: 0; }
.slide-hero--tall { height: clamp(200px, 36vh, 360px); }
.summary__list li { grid-template-columns: 28px minmax(0, 1fr); align-items: center; padding: 10px 14px; }
@media (max-width: 767px) {
  .slide-hero--slim { height: 112px; }
  .slide-hero figcaption { padding: 12px 14px; }
}
/* La botonera queda fija abajo también en compu */
@media (min-width: 768px) {
  .story-slide[data-slide="2"] .story-foot, .story-slide[data-slide="3"] .story-foot {
    position: sticky; bottom: calc(-1 * clamp(14px, 2.5vh, 28px)); z-index: 3;
    margin-inline: -24px; padding: 14px 24px;
    background: linear-gradient(180deg, rgba(11, 16, 51, 0), rgba(11, 16, 51, .92) 30%);
  }
  .story-slide[data-slide="3"] .story-content { align-self: start; }
  .slide-hero--slim { height: clamp(110px, 16vh, 160px); }
}

/* Foto propia de cada problema */
.pain-card { grid-template-columns: 30px minmax(0, 1fr) clamp(84px, 24vw, 150px); align-items: center; padding: 10px 10px 10px 14px; }
.pain-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); }
.pain-card[aria-pressed="true"] .pain-card__img { border-color: var(--lima); }
.story-slide[data-slide="3"] .story-bg__img--rubro { opacity: .42; }
@media (max-width: 767px) { .slide-hero--slim { height: 150px; } }

/* ═════════ Cierre: así queda + qué pasa después ═════════ */
.summary__title { text-align: center; }
.result-list { display: grid; gap: 10px; }
@media (min-width: 640px) { .result-list:not(.is-single) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.result-tile {
  display: grid; overflow: hidden; border-radius: var(--radius);
  border: 1.5px solid var(--lima); background: rgba(21, 28, 74, .85);
}
.result-tile__view { position: relative; height: 150px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.result-list.is-single .result-tile__view { height: 220px; }
.result-tile__view::after { content: ""; position: absolute; inset: auto 0 0 0; height: 36px; background: linear-gradient(180deg, rgba(21, 28, 74, 0), rgba(21, 28, 74, .9)); }
.result-tile__inner { width: 200%; margin-left: -50%; padding-top: 10px; transform: scale(.5); transform-origin: top center; display: grid; }
.result-list.is-single .result-tile__inner { width: 154%; margin-left: -27%; transform: scale(.65); }
.result-tile__inner .wa-screen, .result-tile__inner .mock-card, .result-tile__inner .mock-google { width: 100%; max-width: 420px; justify-self: center; }
.result-tile__inner .phone-video__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.result-tile__fix { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 15px; line-height: 1.25; }
.result-tile__fix .ico { flex: none; width: 24px; height: 24px; padding: 3px; border-radius: 7px; background: var(--lima); color: var(--tinta); stroke-width: 2.6; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.next-steps li { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border-radius: 12px; background: rgba(255, 255, 255, .08); text-align: center; font-size: 12.5px; font-weight: 700; line-height: 1.25; color: #E8ECFF; }
.next-steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--lima); color: var(--tinta); font-weight: 900; font-size: 13px; }
/* Varias soluciones: de a dos también en celular, más compactas */
.result-list:not(.is-single) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.result-list:not(.is-single) .result-tile__view { height: 112px; }
.result-list:not(.is-single) .result-tile__inner { width: 250%; margin-left: -75%; transform: scale(.4); }
.result-list:not(.is-single) .result-tile__fix { font-size: 13.5px; padding: 8px 10px; }
.result-list:not(.is-single) .result-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.result-list:not(.is-single) .result-tile:last-child:nth-child(odd) .result-tile__inner { width: 200%; margin-left: -50%; transform: scale(.5); }
@media (min-width: 768px) {
  .result-list:not(.is-single) .result-tile__view { height: 150px; }
  .result-list:not(.is-single) .result-tile__inner { width: 200%; margin-left: -50%; transform: scale(.5); }
}
/* El botón de WhatsApp siempre a la vista */
.summary__wa { position: sticky; bottom: 8px; z-index: 3; }

/* Producto del rubro en el cierre */
.product-tag { display: grid; justify-items: center; gap: 2px; text-align: center; }
.product-tag small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #C9CEE8; }
.product-tag strong { padding: 6px 16px; border-radius: 999px; background: var(--lima); color: var(--tinta); font-size: clamp(17px, 1.8vw, 21px); font-weight: 900; }
.product-tag span { margin-top: 4px; font-size: 12.5px; line-height: 1.35; color: #C9CEE8; max-width: 34em; }
.summary__extra { margin: 0; text-align: center; font-size: 13.5px; font-weight: 700; color: #E8ECFF; }
@media (max-width: 767px) {
  .summary .summary__title { font-size: 26px; }
  .summary { gap: 10px; }
}

/* Link a /probalo/ desde cada rama del embudo */
.sol-try { justify-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--lima); color: #FFFFFF; font-weight: 800; font-size: 14.5px; text-decoration: none; }
.sol-try:hover { background: rgba(215, 255, 61, .14); }
.sol-try .ico { width: 16px; height: 16px; }
a.result-tile { color: #FFFFFF; text-decoration: none; position: relative; }
a.result-tile:hover { box-shadow: 0 0 0 3px rgba(215, 255, 61, .35); }
.result-tile__try { position: absolute; top: 8px; right: 8px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--lima); color: var(--tinta); font-size: 12px; font-weight: 900; }

/* Aviso destacado de la primera pantalla: planes de pago único desde el 30/11 (antes, Black Friday) */
.bf-pill {
  display: inline-block; max-width: 100%; padding: 7px 14px; border-radius: 999px; text-align: center;
  background: var(--curcuma); color: var(--tinta); font-size: 13px; font-weight: 900; line-height: 1.3; text-decoration: none;
  box-shadow: 0 8px 20px -10px rgba(245, 163, 0, .7);
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.bf-pill:hover { transform: translateY(-1px); background: var(--lima); }
.bf-pill span { text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 599px) { .bf-pill { font-size: 12px; padding: 6px 12px; } }
.app-drawer__bf-item { grid-column: 1 / -1; }
.app-drawer__links a.app-drawer__bf { background: var(--curcuma); color: var(--tinta); font-weight: 900; text-align: center; }
.app-drawer__links a.app-drawer__bf:hover { background: var(--lima); color: var(--tinta); }

/* ───────── Black Friday (modo "bf" del embudo): sin naranja, todo en azul tinta + lima ───────── */
.bf-strip {
  justify-self: center; margin: 0 0 4px; padding: 6px 14px; border-radius: 999px;
  border: 1.5px solid rgba(215, 255, 61, .6); background: rgba(11, 16, 51, .6);
  color: var(--lima); font-size: 12.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; text-align: center;
}
.bf-close { display: grid; gap: 12px; }
.bf-close[hidden] { display: none; }
.bf-price {
  display: grid; justify-items: center; gap: 2px; padding: 14px 16px; border-radius: 18px; text-align: center;
  background: rgba(11, 16, 51, .82); border: 2px solid rgba(215, 255, 61, .55);
  box-shadow: 0 18px 44px rgba(20, 51, 255, .4);
}
.bf-price__top { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.bf-price__top del {
  position: relative; text-decoration: none; color: #C9D3FF; font-weight: 800; font-size: 15px;
}
.bf-price__top del::after {
  content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 2.5px; border-radius: 2px;
  background: var(--lima); transform: rotate(-4deg);
}
.bf-price__off { padding: 3px 10px; border-radius: 999px; background: var(--lima); color: var(--tinta); font-size: 13px; font-weight: 900; }
.bf-price__num {
  font-family: "Archivo", "Arial Black", system-ui, sans-serif; font-stretch: 120%; font-weight: 900;
  font-size: clamp(46px, 7vw, 64px); line-height: .95; letter-spacing: -.04em; color: var(--lima);
  text-shadow: .012em .025em 0 var(--azul), .03em .055em 0 #0F27C2, .05em .085em 0 #0A1878, 0 0 .45em rgba(215, 255, 61, .3);
}
.bf-price__per { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #FFFFFF; }

.bf-form { display: grid; gap: 10px; }
.bf-form__title { margin: 0; text-align: center; font-weight: 800; font-size: 15px; color: #FFFFFF; }
.bf-form__row { display: grid; gap: 10px; }
@media (min-width: 600px) { .bf-form__row { grid-template-columns: 1fr 1fr; } }
.bf-field { display: grid; gap: 4px; }
.bf-field label { font-size: 13px; font-weight: 800; color: #E8ECFF; }
.bf-field input {
  min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .96); color: var(--tinta); font: inherit; font-size: 16px;
}
.bf-field input:focus-visible { outline: 3px solid var(--lima); outline-offset: 1px; }
.bf-field.is-invalid input { border-color: #FF8A8A; box-shadow: 0 0 0 3px rgba(255, 138, 138, .3); }
.bf-field__err { font-size: 12.5px; font-weight: 700; color: #FFB3B3; }
.bf-form .bf-form__submit { width: 100%; background: var(--lima); color: var(--tinta); font-weight: 900; }
.bf-form .bf-form__submit .ico { width: 20px; height: 20px; }
.bf-form__status { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(215, 255, 61, .14); color: #FFFFFF; font-size: 14px; font-weight: 700; text-align: center; }
.bf-form__hint { margin: 0; text-align: center; font-size: 12px; color: #C9CEE8; }
.bf-form__hint a { color: #FFFFFF; }
.bf-wa-direct { font-size: 14px; }
.app-drawer__fine { margin: 0; font-size: 12px; line-height: 1.45; color: #5B6080; }
/* En Black Friday no va naranja: el problema ("HOY") en rojo suave, lo resuelto en lima */
.story-shell--bf .contrast-card { border-color: rgba(255, 138, 138, .5); }
.story-shell--bf .contrast-card.is-active { border-color: var(--lima); }
.story-shell--bf .contrast-badge { background: #FF8A8A; color: var(--tinta); }
.story-shell--bf .contrast-card.is-active .contrast-badge { background: var(--lima); }
.story-shell--bf .mock-caption--warn { color: #FFB3B3; }
.story-shell--bf .mock-row--miss { background: rgba(255, 138, 138, .14); border-color: rgba(255, 138, 138, .5); color: #FFB3B3; }
.story-shell--bf .scene-bubble--out { background: rgba(255, 138, 138, .14); border-color: rgba(255, 138, 138, .45); }
.story-shell--bf .contrast-card.is-active .scene-bubble--out { background: rgba(20, 51, 255, .55); border-color: var(--lima); }
.story-shell--bf .mock-gap { background: rgba(255, 138, 138, .16); color: #FFB3B3; }
.story-shell--bf .mock-cloud span { border-color: rgba(255, 138, 138, .45); color: #FFB3B3; }
/* Títulos con sombra azul (la sombra por defecto del sitio es naranja) */
.story-shell--bf { --sombra-titulo: var(--azul); }
/* Black Friday · rama "Consultorio o salud": foto de la médica en el paso 4 (solo si eligieron salud).
   Mobile first: en celular va la versión 9:16 recortada a 4:5 sin cortar a la médica ni la tablet. */
.bf-salud-hero { display: none; justify-self: center; width: min(100%, 420px); margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); background: #0B1033; }
.story-shell:has([data-pick-rubro="salud"][aria-pressed="true"]) .bf-salud-hero { display: block; }
.bf-salud-hero img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 42%; }
@media (min-width: 768px) {
  .bf-salud-hero { width: 100%; }
  .bf-salud-hero img { aspect-ratio: 16 / 9; object-position: 70% 40%; }
}
.bf-price__fine { max-width: 30em; margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: #C9CEE8; }
/* Botón de baja y arrepentimiento visibles en la primera pantalla del embudo */
.story-legal { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: #C9CEE8; }
.story-legal a { color: #E8ECFF; text-decoration: underline; text-underline-offset: 3px; }
.app-drawer__fine a { color: var(--azul); }
/* Confianza en el cierre del Black Friday (solo datos verdaderos) */
.bf-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 600px) { .bf-trust { grid-template-columns: 1fr 1fr; } }
.bf-trust li {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start;
  padding: 10px 12px; border-radius: 12px; background: rgba(21, 28, 74, .78); border: 1px solid rgba(255, 255, 255, .16);
  font-size: 13.5px; line-height: 1.35; color: #E8ECFF;
}
.bf-trust li b { color: #FFFFFF; }
.bf-trust .ico { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--lima); color: var(--tinta); stroke-width: 2.4; }
/* Casos de éxito: pasarela que se desliza sola (se frena al pasar el mouse o tocar; sin movimiento si el usuario lo pide) */
.casos { display: grid; gap: 8px; min-width: 0; }
.casos__title { margin: 0; text-align: center; font-size: 12.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--lima); }
.casos__viewport {
  --casos-gap: 10px;
  display: flex; overflow: hidden; margin-inline: -4px; padding: 2px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #fff 6%, #fff 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #fff 6%, #fff 94%, transparent);
}
.casos__track {
  display: flex; flex-shrink: 0; gap: var(--casos-gap); margin: 0; padding: 0 var(--casos-gap) 0 0; list-style: none;
  animation: casos-pasa 80s linear infinite;
}
.casos__viewport:hover .casos__track,
.casos__viewport:active .casos__track,
.casos__viewport:focus-within .casos__track { animation-play-state: paused; }
@keyframes casos-pasa { to { transform: translate3d(-100%, 0, 0); } }
.caso {
  display: grid; align-content: space-between; gap: 10px; width: 264px; padding: 12px 14px; border-radius: 14px;
  background: rgba(21, 28, 74, .78); border: 1px solid rgba(255, 255, 255, .16);
}
.caso__texto { margin: 0; font-size: 13.5px; line-height: 1.4; color: #E8ECFF; }
.caso__autor { display: flex; align-items: center; gap: 10px; margin: 0; }
.caso__inicial {
  display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--lima); color: var(--tinta); font-weight: 900; font-size: 14px;
}
.caso__autor b { display: block; font-size: 13.5px; color: #FFFFFF; }
.caso__autor small { display: block; font-size: 12px; color: #C9CEE8; }
@media (min-width: 768px) { .caso { width: 300px; } }
@media (prefers-reduced-motion: reduce) {
  .casos__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
  .casos__track { animation: none; }
  .casos__track--copia { display: none; }
  .caso { scroll-snap-align: start; }
}

/* Planes de pago único en el cierre del embudo (datos en _data/planes.json) */
.sum-planes { display: grid; gap: 8px; justify-items: center; }
.sum-planes__title { margin: 0; font-size: 12.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--lima); }
.sum-planes__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; }
.sum-planes__lista a {
  display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px; text-decoration: none;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #FFFFFF;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.sum-planes__lista a:hover { border-color: var(--lima); background: rgba(215, 255, 61, .1); }
.sum-planes__lista small { font-size: 12px; font-weight: 700; color: #C9CEE8; }
.sum-planes__lista strong { font-size: clamp(16px, 1.8vw, 20px); font-weight: 900; }
.sum-planes__lista .is-destacado a { background: var(--lima); border-color: var(--lima); color: var(--tinta); }
.sum-planes__lista .is-destacado small { color: var(--tinta); }
.sum-planes__ver { font-size: 13.5px; font-weight: 800; color: #FFFFFF; }
.sum-planes__ver:hover { color: var(--lima); }
