/* Bienvenida, paywall y acceso: pantalla completa encima de la app */
#flujo {
  position: fixed; inset: 0; z-index: 200; overflow-y: auto;
  background: linear-gradient(180deg, #c9a9ff 0%, #dc83c4 100%);
  color: #fff; -webkit-overflow-scrolling: touch;
}
#flujo[hidden] { display: none; }
.flujo-abierto .app, .flujo-abierto .nav { display: none; }
.flujo-abierto { overflow: hidden; }

.fl-caja {
  max-width: 440px; margin: 0 auto; min-height: 100%;
  display: flex; flex-direction: column; gap: 14px;
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom));
}
@keyframes fl-entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

#flujo h1 { font-size: 1.9rem; margin: 10px 0 4px; line-height: 1.15; }
#flujo h2 { font-size: 1.55rem; margin: 6px 0 0; line-height: 1.2; }
.fl-sub { margin: 0; font-size: 1.05rem; opacity: .95; }
.fl-nota { margin: 0; font-size: .92rem; opacity: .9; }
.fl-centro { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 4vh; }
.fl-centro .fl-sub, .fl-centro h2, .fl-centro h1 { text-align: center; }
.fl-logo { border-radius: 24px; box-shadow: 0 10px 30px rgba(60, 20, 110, .35); }
.fl-gran-emoji { font-size: 4rem; line-height: 1; }
.fl-chips-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.fl-chips-info span { background: rgba(255,255,255,.28); padding: 7px 12px; border-radius: 99px; font-weight: 700; font-size: .9rem; }

/* Cabecera con progreso */
.fl-top { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.fl-atras { width: 40px; height: 40px; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; flex-shrink: 0; }
.fl-atras.vacio { visibility: hidden; }
.fl-prog { flex: 1; height: 10px; border-radius: 99px; background: rgba(255,255,255,.35); overflow: hidden; }
.fl-prog i { display: block; height: 100%; background: #fff; border-radius: 99px; transition: width .5s; }
.fl-prog.grande { width: 100%; max-width: 280px; flex: none; height: 12px; }
.fl-logo-chico { margin: 0 auto; display: block; }
.fl-top:has(.fl-logo-chico) { justify-content: space-between; }

/* Botones y enlaces */
.fl-pie { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.fl-pie.suave { margin-top: 4px; align-items: center; gap: 6px; }
.fl-boton {
  font: inherit; font-weight: 800; font-size: 1.08rem; cursor: pointer; border: 0; border-radius: 99px;
  padding: 16px 24px; background: #4a2590; color: #fff; box-shadow: 0 8px 20px rgba(50, 15, 100, .35);
  transition: transform .15s, opacity .15s; width: 100%;
}
@media (hover: hover) { .fl-boton:hover:not(:disabled) { transform: translateY(-2px); } } /* solo con mouse: en táctil se quedaba pegado */
.fl-boton:disabled { opacity: .55; cursor: not-allowed; }
.fl-boton.claro { background: rgba(255,255,255,.9); color: #4a2590; box-shadow: none; font-size: .9rem; padding: 12px 18px; }
.fl-enlace { font: inherit; background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; padding: 10px; font-size: 1rem; opacity: .95; }

/* Preguntas */
.fl-form { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.fl-input {
  font: inherit; font-size: 1.2rem; width: 100%; padding: 16px 18px; border-radius: 16px; border: 2px solid transparent;
  background: #fff; color: #34194f;
}
.fl-input:focus { outline: none; border-color: #4a2590; }
.fl-opciones, .fl-tonos { display: grid; gap: 10px; }
.fl-opcion, .fl-tono {
  font: inherit; text-align: left; cursor: pointer; border-radius: 16px; padding: 15px 16px; border: 2px solid transparent;
  background: rgba(255,255,255,.88); color: #34194f; font-weight: 700;
}
.fl-opcion.on, .fl-tono.on { border-color: #4a2590; background: #fff; box-shadow: 0 0 0 3px rgba(74, 37, 144, .25); }
.fl-opcion.on::after { content: ""; display: inline-block; width: 16px; height: 16px; margin-left: 8px; vertical-align: -2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='%234a2590' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.fl-tono b { display: block; font-size: 1.05rem; }
.fl-tono small { display: block; font-weight: 600; color: #6d5688; margin-top: 3px; font-size: .9rem; }
.fl-eco { min-height: 3em; margin: 0; font-size: .98rem; background: rgba(255,255,255,.22); border-radius: 14px; padding: 10px 14px; }
.fl-eco:empty { display: none; }
.fl-error { margin: 0; color: #fff; background: rgba(120, 20, 60, .55); border-radius: 12px; padding: 10px 14px; font-size: .95rem; }
.fl-error:empty { display: none; }

/* Carga */
.fl-carga { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; font-weight: 700; min-height: 8em; text-align: left; }
.fl-carga li { animation: fl-entra .4s ease both; }

/* Tu plan está listo */
.fl-maceta { width: min(300px, 80%); background: radial-gradient(ellipse at 50% 70%, rgba(255,255,255,.95), rgba(255,240,255,.55) 72%); border-radius: 28px; padding: 8px; box-shadow: 0 16px 40px rgba(60, 20, 110, .3); }
.fl-maceta svg { display: block; width: 100%; height: auto; }
.fl-identidad { font-weight: 800; font-size: 1.1rem; margin: 4px 0 0; text-align: center; }
.fl-etiqueta { margin: 6px 0 -4px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.fl-resumen { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fl-resumen li { background: rgba(255,255,255,.88); color: #34194f; border-radius: 14px; padding: 11px 14px; font-weight: 700; display: flex; gap: 10px; align-items: flex-start; }

/* Paywall */
.fl-banner { margin: 0; background: rgba(255,255,255,.9); color: #4a2590; border-radius: 14px; padding: 10px 14px; font-weight: 700; }
.fl-titulo-p { text-align: center; }
.fl-sub { text-align: center; }
.fl-beneficios { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 10px; }
.fl-beneficios li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: .98rem; }
.fl-planes { display: grid; gap: 10px; margin-top: 4px; }
.fl-plan {
  position: relative; font: inherit; text-align: left; cursor: pointer; border-radius: 18px; padding: 14px 16px; border: 2px solid transparent;
  background: rgba(255,255,255,.88); color: #34194f; display: grid; grid-template-columns: 1fr auto; row-gap: 2px; align-items: center;
}
.fl-plan.on { border-color: #4a2590; background: #fff; box-shadow: 0 0 0 3px rgba(74, 37, 144, .25); }
.fl-plan-nombre { font-weight: 800; }
.fl-plan b { font-size: 1.35rem; text-align: right; }
.fl-plan small { grid-column: 1 / -1; color: #6d5688; font-weight: 600; }
.fl-plan em { position: absolute; top: -11px; right: 14px; font-style: normal; font-weight: 900; font-size: .75rem; background: #4a2590; color: #fff; padding: 4px 12px; border-radius: 99px; }
.fl-cobro { text-align: center; margin: 2px 0 0; font-size: .92rem; font-weight: 700; }
.fl-confianza { text-align: center; margin: 0; font-size: .85rem; opacity: .95; }
.fl-legal { text-align: center; font-size: .8rem; margin: 0; opacity: .85; }
.fl-legal a { color: #fff; }

/* Aviso */
.fl-aviso { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: #2d1646; color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 700; max-width: min(92vw, 420px); text-align: center; transition: .25s; z-index: 300; }
.fl-aviso.ver { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .fl-entra, .fl-carga li { animation: none; }
  .fl-prog i, .fl-boton { transition: none; }
}

/* Capa 1: sugerencias, campo "otra cosa", hora y agregadas */
.fl-sugerencias { display: flex; flex-wrap: wrap; gap: 8px; }
.fl-sug { font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; border-radius: 99px; padding: 9px 14px; border: 2px solid rgba(255,255,255,.7); background: rgba(255,255,255,.2); color: #fff; }
.fl-fila { display: flex; gap: 8px; }
.fl-fila .fl-input { flex: 1; min-width: 0; }
.fl-fila .fl-hora { flex: 0 0 38%; font-size: 1rem; }
.fl-boton.chico { padding: 11px 18px; font-size: .98rem; align-self: flex-start; width: auto; box-shadow: none; }
.fl-agregadas { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fl-agregadas li { background: rgba(255,255,255,.88); color: #34194f; border-radius: 14px; padding: 10px 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fl-quitar { background: none; border: 0; color: #6d5688; cursor: pointer; font-size: 1.05rem; padding: 4px 8px; }

/* Capa 2: carga con anillo y líneas con estados */
.fl-anillo-caja { position: relative; width: 112px; height: 112px; }
.fl-anillo-caja svg { width: 100%; height: 100%; display: block; }
.fl-anillo-caja circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.fl-anillo-caja .pista { stroke: rgba(255,255,255,.3); }
.fl-anillo-caja .relleno { stroke: #fff; }
.fl-pct { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.fl-pasos { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; width: 100%; text-align: left; }
.fl-pasos li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: .98rem; transition: opacity .25s; }
.fl-pasos li.pendiente { opacity: .4; }
.fl-pasos .marca { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 900; margin-top: 1px; }
.fl-pasos .pendiente .marca { border: 2px solid rgba(255,255,255,.7); }
.fl-pasos .activa .marca { background: #fff; animation: fl-pulso 1s ease-in-out infinite; }
.fl-pasos .hecha .marca { background: #fff; color: #4a2590; animation: fl-pop .3s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes fl-pulso { 50% { transform: scale(.7); opacity: .6; } }
@keyframes fl-pop { from { transform: scale(.5); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .fl-pasos .activa .marca, .fl-pasos .hecha .marca { animation: none; } }

/* Capa 3: paywall */
.fl-top-paywall { justify-content: space-between; }
.fl-cerrar { width: 44px; height: 44px; flex-shrink: 0; background: none; border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.fl-titulo-p { font-size: 1.75rem; line-height: 1.2; }
.acento { background: #fff; color: #4a2590; padding: 0 .28em; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.fl-visual { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px; }
.fl-visual figure { margin: 0; }
.fl-vis-maceta { display: block; width: 100%; height: auto; background: radial-gradient(ellipse at 50% 70%, rgba(255,255,255,.95), rgba(255,240,255,.55) 72%); border-radius: 20px; padding: 4px; box-shadow: 0 10px 24px rgba(60, 20, 110, .25); }
.fl-vis-maceta svg { display: block; width: 100%; height: auto; }
.fl-visual figcaption { text-align: center; font-size: .8rem; font-weight: 800; margin-top: 6px; }
.fl-vis-flecha { color: #fff; display: grid; place-items: center; }
.fl-vis-nota { text-align: center; margin-top: -4px; }
.fl-beneficios .chk { flex: 0 0 22px; color: #fff; display: grid; place-items: center; }
.fl-plan em { top: -13px; font-size: .82rem; padding: 6px 14px; letter-spacing: .04em; box-shadow: 0 4px 10px rgba(50, 15, 100, .3); }
.fl-fijo { position: sticky; bottom: 0; z-index: 5; margin: auto -20px 0; padding: 18px 20px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to bottom, rgba(220,131,196,0), #dc83c4 22%); display: flex; flex-direction: column; gap: 8px; }
.fl-fijo .fl-cobro { margin: 0; }
.fl-fijo .fl-cta { font-size: 1.1rem; padding: 17px 24px; }
.fl-confianza { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: .82rem; margin: 0; }
.fl-confianza .esc { display: inline-grid; place-items: center; flex-shrink: 0; }
.fl-salidas { display: flex; justify-content: center; align-items: center; gap: 2px; }
.fl-salidas .sep { opacity: .7; }
.fl-salidas .fl-enlace { padding: 10px 12px; font-size: .95rem; min-height: 44px; }
@media (max-height: 700px) { .fl-visual, .fl-vis-nota { display: none; } }

/* Capa 3 (ajuste): todo lo esencial cabe en la primera pantalla a 375x812 */
.fl-visual { grid-template-columns: 128px auto 128px; justify-content: center; gap: 8px; }
.fl-visual figure { width: 128px; }
.fl-vis-maceta { border-radius: 16px; padding: 3px; }
.fl-visual figcaption { font-size: .74rem; margin-top: 4px; }
.fl-paywall-caja .fl-beneficios { gap: 8px; margin: 0; }
.fl-plan { padding: 10px 14px; }
.fl-plan b { font-size: 1.25rem; }
.fl-planes { gap: 12px; margin-top: 6px; }

/* Capa 3 (ajuste 2): compacto para que plan, precio y botón se vean sin desplazarse */
.fl-paywall-caja { gap: 10px; }
.fl-paywall-caja .fl-beneficios { gap: 8px; }
.fl-paywall-caja .fl-beneficios li { font-size: .95rem; line-height: 1.3; }
.fl-visual { grid-template-columns: 112px auto 112px; }
.fl-visual figure { width: 112px; }
.fl-fijo { gap: 6px; padding-top: 16px; }
.fl-fijo .fl-cobro { font-size: .85rem; }
.fl-confianza { font-size: .78rem; }

/* ===== Capa 4: animaciones y micro-interacciones ===== */
/* Pantalla: sale 180 ms; la nueva entra deslizando (atrás: desde la izquierda) y sus elementos suben escalonados cada 60 ms */
.fl-entra { animation: fl-entra-d .3s cubic-bezier(.16, 1, .3, 1) both; }
.fl-entra.atras { animation-name: fl-entra-i; }
.fl-caja.sale { animation: fl-sale-d .18s ease-in both; }
.fl-caja.sale.atras { animation-name: fl-sale-i; }
@keyframes fl-entra-d { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes fl-entra-i { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes fl-sale-d { to { opacity: 0; transform: translateX(-24px); } }
@keyframes fl-sale-i { to { opacity: 0; transform: translateX(24px); } }
.fl-entra > * { animation: fl-sube .32s ease-out both; }
.fl-entra > :nth-child(1) { animation-delay: 0s; }
.fl-entra > :nth-child(2) { animation-delay: .06s; }
.fl-entra > :nth-child(3) { animation-delay: .12s; }
.fl-entra > :nth-child(4) { animation-delay: .18s; }
.fl-entra > :nth-child(5) { animation-delay: .24s; }
.fl-entra > :nth-child(6) { animation-delay: .3s; }
.fl-entra > :nth-child(7) { animation-delay: .36s; }
.fl-entra > :nth-child(n+8) { animation-delay: .42s; }
@keyframes fl-sube { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Opciones: entran una a una (solo la primera vez que se dibuja la lista) */
.fl-lista-entra > * { animation: fl-sube .3s ease-out both; }
.fl-lista-entra > :nth-child(1) { animation-delay: .2s; }
.fl-lista-entra > :nth-child(2) { animation-delay: .25s; }
.fl-lista-entra > :nth-child(3) { animation-delay: .3s; }
.fl-lista-entra > :nth-child(4) { animation-delay: .35s; }
.fl-lista-entra > :nth-child(5) { animation-delay: .4s; }
.fl-lista-entra > :nth-child(n+6) { animation-delay: .45s; }

/* Toque: se hunde un poquito (97 %) en menos de 150 ms */
.fl-opcion, .fl-tono, .fl-plan, .fl-sug, .fl-boton, .fl-enlace, .fl-cerrar { transition: transform .12s ease, background .2s, border-color .2s, box-shadow .2s, opacity .15s; }
.fl-opcion:active, .fl-tono:active, .fl-plan:active, .fl-sug:active, .fl-boton:active:not(:disabled) { transform: scale(.97); }

/* Lo recién elegido: la tarjeta rebota suave y el check aparece con resorte */
.fl-opcion.on.recien, .fl-tono.on.recien { animation: fl-sel .25s ease-out; }
.fl-opcion.on.recien::after { display: inline-block; animation: fl-check .22s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes fl-sel { 0% { transform: scale(.97); } 60% { transform: scale(1.02); } 100% { transform: scale(1); } }
@keyframes fl-check { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Resultado: la maceta "brota" */
.fl-maceta { animation: fl-brota .6s cubic-bezier(.34, 1.56, .64, 1) .2s both; }
@keyframes fl-brota { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* Paywall: la selección del plan se transiciona; la insignia entra al final con resorte; un solo pulso del botón */
.fl-plan { transition: border-color .2s, background .2s, box-shadow .2s, transform .12s; }
.fl-plan em { animation: fl-badge .4s cubic-bezier(.34, 1.56, .64, 1) .6s both; }
@keyframes fl-badge { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
.fl-cobro .num { font-variant-numeric: tabular-nums; }
.fl-cta.pulso { animation: fl-pulso-cta .6s ease-in-out 1; }
@keyframes fl-pulso-cta { 50% { transform: scale(1.03); } }

/* Celebración al llegar al paywall */
.fl-confeti { position: fixed; left: 50%; top: 34%; width: 0; height: 0; z-index: 210; pointer-events: none; }
.fl-chispa { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; animation: fl-chispa .95s cubic-bezier(.2, .7, .3, 1) both; }
.fl-chispa.brillo { width: auto; height: auto; left: -8px; top: -8px; font-size: 1.1rem; line-height: 1; background: none; }
@keyframes fl-chispa { from { transform: translate(0, 0) scale(.4); opacity: 1; } 70% { opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(1.1); opacity: 0; } }

/* Reducir movimiento: solo fundidos suaves, sin deslizar, rebotar ni chispas */
@keyframes fl-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .fl-entra, .fl-entra.atras { animation: fl-fade .2s both; }
  .fl-entra > *, .fl-lista-entra > * { animation: none; }
  .fl-caja.sale { animation: none; }
  .fl-opcion.on.recien, .fl-tono.on.recien, .fl-opcion.on.recien::after, .fl-maceta, .fl-plan em, .fl-cta.pulso { animation: none; }
  .fl-opcion:active, .fl-tono:active, .fl-plan:active, .fl-sug:active, .fl-boton:active:not(:disabled) { transform: none; }
  .fl-confeti { display: none; }
}

/* ===== Capa 5: contraste y zonas táctiles =====
   Antes: texto BLANCO sobre el degradado lila-rosa (contraste 1.98 a 2.60; la norma AA pide 4.5 en texto normal y 3 en grande).
   Ahora: texto MORADO OSCURO #34194f sobre el MISMO degradado (5.78 a 7.58), como ya se ve el resto de la app.
   Para volver al texto blanco (con un fondo más profundo) basta cambiar estas variables y el fondo de #flujo. */
#flujo { --ft: #34194f; --ft-acento: #4a2590; --ft-pista: rgba(74, 37, 144, .2); --ft-borde: rgba(52, 25, 79, .55); --ft-vidrio: rgba(255, 255, 255, .6); color: var(--ft); }
.fl-chips-info span { background: var(--ft-vidrio); display: inline-flex; align-items: center; gap: 6px; }
.fl-chips-info .ic, .fl-resumen .ic { display: inline-grid; place-items: center; flex: 0 0 20px; color: var(--ft-acento); }
.fl-resumen .ic { margin-top: 1px; }
.fl-sub, .fl-nota { opacity: 1; }
.fl-atras { color: var(--ft); width: 44px; height: 44px; }
.fl-prog { background: var(--ft-pista); }
.fl-prog i { background: var(--ft-acento); }
.fl-enlace { color: var(--ft); opacity: 1; min-height: 44px; }
.fl-eco { background: var(--ft-vidrio); }
.fl-error { background: #8a1f45; color: #fff; }
.fl-boton:disabled { opacity: .65; }
.fl-boton.chico { min-height: 44px; }
.fl-sug { color: var(--ft); border-color: var(--ft-borde); background: var(--ft-vidrio); min-height: 44px; }
.fl-quitar { min-width: 44px; min-height: 44px; color: var(--ft); }
.fl-anillo-caja .pista { stroke: var(--ft-pista); }
.fl-anillo-caja .relleno { stroke: var(--ft-acento); }
.fl-pasos li.pendiente { opacity: .85; }
.fl-pasos .pendiente .marca { border-color: var(--ft-borde); }
.fl-pasos .activa .marca { background: var(--ft-acento); }
.fl-pasos .hecha .marca { background: var(--ft-acento); color: #fff; }
.fl-cerrar { color: var(--ft); }
.fl-vis-flecha { color: var(--ft-acento); }
.fl-beneficios .chk { color: var(--ft-acento); }
.fl-legal a { color: var(--ft); }
.fl-confianza, .fl-cobro { opacity: 1; }
.fl-opcion, .fl-tono { min-height: 56px; }
.fl-salidas .sep { opacity: 1; }
.fl-chips-info .ic { background: none; padding: 0; border-radius: 0; }
/* Alineación consistente: en las preguntas el título y su frase van a la izquierda; solo se centra en el paywall y en las pantallas centradas */
.fl-caja:not(.fl-paywall-caja) .fl-sub { text-align: left; }
.fl-caja .fl-centro .fl-sub, .fl-paywall-caja .fl-sub { text-align: center; }
/* Capa 5 (ajuste): que la zona fija del paywall no roce las tarjetas de plan a 375x812 */
.fl-visual { grid-template-columns: 100px auto 100px; }
.fl-visual figure { width: 100px; }
.fl-paywall-caja { gap: 8px; }
.fl-fijo { padding-top: 12px; }
.fl-paywall-caja .fl-beneficios { gap: 6px; }
.fl-prueba { font-size: .72rem; padding: 0 4px; min-width: 44px; opacity: .8; line-height: 1.1; text-align: right; }

/* ===== Capa 5b: correcciones tras la revisión independiente ===== */
/* Pie de las pantallas: Continuar / Omitir siempre visibles, aunque la pantalla sea larga */
.fl-pie { position: sticky; bottom: 0; z-index: 4; margin: auto -20px 0; padding: 14px 20px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to bottom, rgba(220, 131, 196, 0), #dc83c4 30%); }
.fl-form .fl-pie { margin-top: auto; }
/* Tarjetas de tono con ícono de línea */
.fl-tono b { display: flex; align-items: center; gap: 8px; }
.fl-tono .ic { display: inline-grid; place-items: center; color: var(--ft-acento); }
/* Ícono grande en pantallas de apoyo */
.fl-gran-ic { display: inline-grid; place-items: center; color: var(--ft-acento); background: var(--ft-vidrio); width: 96px; height: 96px; border-radius: 28px; }
.fl-gran-ic svg { width: 52px; height: 52px; }
/* Campo de hora legible */
.fl-hora { text-align: center; font-weight: 700; color: var(--ft); min-height: 56px; }
.fl-hora::-webkit-datetime-edit { color: var(--ft); }
/* Errores dentro de la paleta: tarjeta clara con borde vino y el campo marcado */
.fl-error { background: #fff; color: #7a1a3c; border: 2px solid #8a1f45; font-weight: 700; }
.fl-input.error { border-color: #8a1f45; box-shadow: 0 0 0 3px rgba(138, 31, 69, .22); }
/* Paywall: marca, hairline degradé y jerarquía */
.fl-hairline { height: 2px; margin: -4px 0 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #7b4ed8 25%, #d160b8 75%, transparent); }
.fl-kicker { text-align: center; margin: 4px 0 -4px; opacity: 1; }
.acento { white-space: nowrap; }
.fl-titulo-p { text-wrap: balance; }
.fl-paywall-caja .fl-beneficios li { font-weight: 600; }
.fl-paywall-caja .fl-planes { margin-top: 10px; }
.fl-confianza { font-size: .85rem; }
.fl-visual figcaption { font-size: .8rem; }
.fl-prueba { font-size: .8rem; }
.fl-opcion { min-height: 50px; padding-top: 12px; padding-bottom: 12px; }
.fl-eco { min-height: 0; }

/* Capa 5c: correcciones de la ronda 2 */
@media (hover: hover) { .fl-sug:hover { background: rgba(255, 255, 255, .85); } .fl-cerrar:hover { background: rgba(52, 25, 79, .1); } }
.fl-atras, .fl-quitar { display: grid; place-items: center; }
.fl-quitar { padding: 0; }
.fl-brote { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ft-acento); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.fl-brote svg { width: 26px; height: 26px; }
.fl-fijo-ya .fl-brote { display: none; }
.fl-opcion, .fl-tono, .fl-resumen li, .fl-agregadas li { box-shadow: 0 6px 16px rgba(74, 37, 144, .16); }
.fl-opcion.on, .fl-tono.on { box-shadow: 0 0 0 3px rgba(74, 37, 144, .25), 0 6px 16px rgba(74, 37, 144, .16); }
.fl-otra { align-self: center; background: none; border: 0; font: inherit; font-weight: 700; color: var(--ft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; padding: 0 12px; }
.fl-chispa.brillo { width: 10px; height: 10px; border-radius: 2px; background: #fff; rotate: 45deg; }
.fl-pasos .marca svg { display: block; }
.fl-resumen { padding-bottom: 88px; }
/* paywall */
.fl-plan em { right: auto; left: 14px; }
.fl-paywall-caja .fl-beneficios { background: rgba(255, 255, 255, .62); border-radius: 18px; padding: 14px 16px; box-shadow: 0 8px 20px rgba(74, 37, 144, .16); }
.fl-fijo { border-top: 1px solid rgba(52, 25, 79, .18); background: linear-gradient(to bottom, rgba(220, 131, 196, .96), #dc83c4); box-shadow: 0 -8px 18px rgba(74, 37, 144, .12); }
.fl-confianza { font-size: .9rem; line-height: 1.25; text-align: left; }
.fl-confianza b { display: block; font-weight: 800; font-size: .95rem; }
.fl-confianza small { display: block; font-size: .8rem; font-weight: 600; }

/* Capa 5d: correcciones de la ronda 3 */
.fl-brote { flex-basis: 48px; width: 48px; height: 48px; }
.fl-brote svg { width: 36px; height: 36px; }
.fl-maceta { width: min(220px, 62%); }
.fl-resumen { padding-bottom: 76px; }
.fl-fijo .fl-cta { min-height: 54px; }
.fl-plan { padding-top: 20px; }
.fl-vis-maceta, .fl-visual figure { }
.fl-visual { grid-template-columns: 92px auto 92px; }
.fl-visual figure { width: 92px; }
.fl-paywall-caja .fl-beneficios { padding: 10px 14px; gap: 6px; }
.fl-paywall-caja { gap: 8px; }
.fl-visual { grid-template-columns: 76px auto 76px; }
.fl-visual figure { width: 76px; }
.fl-visual figcaption { font-size: .7rem; margin-top: 2px; }
.fl-fijo { padding-top: 10px; gap: 6px; }
.fl-fijo .fl-cta { padding: 14px 24px; }
.fl-planes { gap: 14px; }

/* Capa 5e: correcciones de la ronda 4 */
.fl-resumen { padding-bottom: 12px; }
.fl-brote { flex-basis: 48px; width: 48px; height: 48px; }
.fl-brote svg { width: 40px; height: 40px; }
.fl-visual figcaption { font-size: .75rem; }
.fl-plan small { font-size: .8rem; }
.fl-confianza small { font-size: .8rem; }
.fl-paywall-caja { gap: 6px; }
.fl-paywall-caja .fl-sub { margin: 0; }
.fl-maceta { width: min(168px, 46%); padding: 6px; }
.fl-paywall-caja .fl-sub { font-size: .92rem; line-height: 1.3; }
.fl-visual { grid-template-columns: 66px auto 66px; }
.fl-visual figure { width: 66px; }
.fl-paywall-caja .fl-beneficios { padding: 8px 14px; }
.fl-resumen { padding-bottom: 0; }
