/* ============================================================================
   «Empieza ahora» — cobro + quiz
   Oscuro, con el agua como hilo visual (progreso, selección) y el
   naranja Krysion reservado para la acción principal.
   ========================================================================== */

.kf-onboarding {
	--kf-orange: #f2600c;
	--kf-orange-hi: #ff8c42;
	--kf-aqua: #f2600c;
	--kf-blue: #ff8c42;
	--kf-bg: #070707;
	--kf-surface: #101010;
	--kf-surface-2: #151515;
	--kf-line: #232323;
	--kf-line-hi: #3a3a3a;
	--kf-text: #f2f2f2;
	--kf-muted: #9a9a9a;
	--kf-danger: #ff8e8e;
	--kf-radius: 16px;
	--kf-ease: cubic-bezier(.2, .8, .2, 1);
	background:
		radial-gradient(ellipse 80% 50% at 50% -10%, rgba(242, 96, 12, .16), transparent 60%),
		radial-gradient(ellipse 60% 40% at 100% 100%, rgba(242, 96, 12, .10), transparent 60%),
		var(--kf-bg);
	color: var(--kf-text);
	min-height: 100vh;
	min-height: 100dvh;
	padding: 16px 16px 40px;
	font-family: inherit;
	-webkit-tap-highlight-color: transparent;
}
body.kf-onboarding-page > nav, body.kf-onboarding-page > .mobile-menu { display: none !important; }
/* La página trae su propia cabecera: se oculta el título que pinta el tema. */
body.kf-onboarding-page .page-header { display: none; }
.kf-onboarding *, .kf-onboarding *::before, .kf-onboarding *::after { box-sizing: border-box; }
.kf-onboarding [hidden] { display: none !important; }
.kf-onboarding .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }
.kf-onboarding__shell { width: min(100%, 560px); margin-inline: auto; }
.kf-onboarding__form { display: flex; flex-direction: column; }
.kf-onboarding__honeypot { height: 1px; left: -10000px; overflow: hidden; position: absolute; top: auto; width: 1px; }

/* ── Barra superior: volver · progreso · marca ───────────────────────────── */
.kf-quiz__top { align-items: center; display: flex; gap: 14px; min-height: 44px; }
.kf-quiz__top--plain { justify-content: center; margin-bottom: 20px; }
.kf-quiz__brand { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.kf-quiz__brand span { color: var(--kf-orange); }
.kf-quiz__back { align-items: center; background: transparent; border: 0; border-radius: 12px; color: var(--kf-muted); cursor: pointer; display: inline-flex; height: 44px; justify-content: center; margin-left: -10px; padding: 0; width: 44px; transition: color .15s, background .15s; }
.kf-quiz__back:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.kf-quiz__back:disabled { opacity: .4; cursor: not-allowed; }
.kf-quiz__progress { background: #17212c; border-radius: 99px; flex: 1; height: 14px; overflow: hidden; }
.kf-quiz__progress-fill { background: linear-gradient(90deg, var(--kf-blue), var(--kf-aqua)); border-radius: inherit; display: block; height: 100%; position: relative; transition: width .5s var(--kf-ease); width: 4%; }
/* Brillo superior + onda que recorre el relleno: la barra «fluye». */
.kf-quiz__progress-fill::before { background: rgba(255, 255, 255, .28); border-radius: 99px; content: ""; height: 4px; left: 8px; position: absolute; right: 8px; top: 3px; }
.kf-quiz__progress-fill::after { animation: kf-flow 2.4s linear infinite; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); content: ""; inset: 0; position: absolute; transform: translateX(-100%); }
.kf-quiz__cheer { color: var(--kf-aqua); font-size: 13px; font-weight: 700; letter-spacing: .02em; margin: 10px 0 0; min-height: 20px; text-align: center; }

/* ── Pregunta ────────────────────────────────────────────────────────────── */
.kf-quiz__step { animation: kf-step-in .32s var(--kf-ease) both; padding-top: 18px; }
.kf-quiz__step.is-back { animation-name: kf-step-back; }
.kf-quiz__step.is-shaking, .kf-checkout.is-shaking { animation: kf-shake .32s ease both; }
.kf-quiz__eyebrow { color: var(--kf-aqua); font-size: 12px; font-weight: 800; letter-spacing: .14em; margin: 0 0 10px; text-transform: uppercase; }
/* Doble clase a propósito: el kit de Elementor fija tamaño y color de h1/h2. */
.kf-onboarding .kf-quiz__question { color: #fff; font-family: inherit; font-size: clamp(24px, 6.2vw, 32px); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; margin: 0 0 8px; text-transform: none; text-wrap: balance; }
.kf-onboarding .kf-quiz__question:focus { outline: none; }
.kf-quiz__help { color: var(--kf-muted); font-size: 15px; line-height: 1.5; margin: 0 0 22px; }
.kf-quiz__help--center { margin-inline: auto; max-width: 420px; text-align: center; }
.kf-quiz__question + .kf-quiz__options, .kf-quiz__question + .kf-quiz__stack { margin-top: 22px; }

/* ── Tarjetas de opción ──────────────────────────────────────────────────── */
.kf-quiz__options { display: grid; gap: 12px; }
.kf-quiz__card { align-items: center; background: var(--kf-surface); border: 2px solid var(--kf-line); border-bottom-width: 4px; border-radius: var(--kf-radius); cursor: pointer; display: flex; gap: 14px; min-height: 68px; padding: 12px 16px; position: relative; transition: border-color .15s, background .15s, transform .1s; user-select: none; }
.kf-quiz__card input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.kf-quiz__card:hover { border-color: var(--kf-line-hi); }
.kf-quiz__card:active { border-bottom-width: 2px; transform: translateY(2px); }
.kf-quiz__card:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; }
.kf-quiz__card:has(input:checked) { animation: kf-pop .28s var(--kf-ease); background: rgba(242, 96, 12, .10); border-color: var(--kf-aqua); }
.kf-quiz__card:has([aria-invalid="true"]) { border-color: var(--kf-danger); }
.kf-quiz__card-icon { align-items: center; background: var(--kf-surface-2); border-radius: 12px; display: inline-flex; flex: 0 0 44px; font-size: 22px; height: 44px; justify-content: center; }
.kf-quiz__card-copy { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.kf-quiz__card-copy strong { color: #fff; font-size: 16px; font-weight: 700; line-height: 1.25; }
.kf-quiz__card-copy small { color: var(--kf-muted); font-size: 13px; line-height: 1.35; }
.kf-quiz__card-check { border: 2px solid var(--kf-line-hi); border-radius: 50%; flex: 0 0 22px; height: 22px; position: relative; transition: background .15s, border-color .15s; }
.kf-quiz__card:has(input:checked) .kf-quiz__card-check { background: var(--kf-aqua); border-color: var(--kf-aqua); }
.kf-quiz__card:has(input:checked) .kf-quiz__card-check::after { border: solid #140700; border-width: 0 2.5px 2.5px 0; content: ""; height: 10px; left: 6px; position: absolute; top: 2px; transform: rotate(45deg); width: 5px; }

/* Variante compacta: números (días, comidas). */
/* Todas las opciones en una sola fila, sea cual sea su número. */
.kf-quiz__options--chips { gap: 8px; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
.kf-quiz__options--chips .kf-quiz__card { justify-content: center; min-height: 72px; padding: 8px; }
.kf-quiz__options--chips .kf-quiz__card-copy { align-items: center; flex: 0 1 auto; }
.kf-quiz__options--chips .kf-quiz__card-copy strong { font-size: 26px; font-variant-numeric: tabular-nums; font-weight: 800; }
.kf-quiz__options--chips .kf-quiz__card-check { display: none; }

/* ── Campos ──────────────────────────────────────────────────────────────── */
.kf-quiz__stack { display: grid; gap: 18px; }
.kf-quiz__pair { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kf-quiz__big-field { align-items: baseline; background: var(--kf-surface); border: 2px solid var(--kf-line); border-radius: var(--kf-radius); display: flex; gap: 8px; justify-content: center; padding: 18px 16px; transition: border-color .15s; }
.kf-quiz__big-field:focus-within { border-color: var(--kf-aqua); }
.kf-quiz__big-field:has([aria-invalid="true"]) { border-color: var(--kf-danger); }
.kf-quiz__big-field input { appearance: textfield; -moz-appearance: textfield; background: transparent; border: 0; color: #fff; font: inherit; font-size: 40px; font-variant-numeric: tabular-nums; font-weight: 800; min-width: 0; outline: none; padding: 0; text-align: right; width: 3.2ch; }
.kf-quiz__pair .kf-quiz__big-field input { width: 3.6ch; }
.kf-quiz__big-field input::-webkit-outer-spin-button, .kf-quiz__big-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kf-quiz__big-field input::placeholder { color: #3b4b5c; }
.kf-quiz__unit { color: var(--kf-muted); font-size: 16px; font-weight: 700; }

.kf-onboarding__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kf-onboarding__field > span { color: #e4e4e4; font-size: 14px; font-weight: 700; }
.kf-onboarding__field input, .kf-onboarding__field textarea {
	appearance: none; background: var(--kf-surface); border: 2px solid var(--kf-line); border-radius: 12px; color: #fff;
	font: inherit; font-size: 16px; line-height: 1.4; min-height: 52px; padding: 12px 14px; transition: border-color .15s; width: 100%;
}
.kf-onboarding__field textarea { min-height: 104px; resize: vertical; }
.kf-onboarding__field input::placeholder, .kf-onboarding__field textarea::placeholder { color: #6f6f6f; }
.kf-onboarding__field input:hover, .kf-onboarding__field textarea:hover { border-color: var(--kf-line-hi); }
.kf-onboarding__field input:focus-visible, .kf-onboarding__field textarea:focus-visible { border-color: var(--kf-aqua); outline: 2px solid rgba(242, 96, 12, .3); outline-offset: 1px; }
.kf-onboarding__field [aria-invalid="true"] { border-color: var(--kf-danger); }
.kf-onboarding__field input[type="date"] { color-scheme: dark; }
.kf-onboarding__field-error { color: var(--kf-danger); display: block; font-size: 13px; font-weight: 600; margin-top: 8px; }
.kf-onboarding__field-error:empty { display: none; }
.kf-onboarding__field .kf-onboarding__field-error { margin-top: 0; }
.kf-onboarding__field-hint { color: var(--kf-muted); font-size: 13px; line-height: 1.45; }

.kf-quiz__quick { background: transparent; border: 2px dashed var(--kf-line-hi); border-radius: 12px; color: var(--kf-aqua); cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; margin-top: 12px; min-height: 48px; padding: 10px 16px; transition: background .15s, border-color .15s; width: 100%; }
.kf-quiz__quick:hover { background: rgba(242, 96, 12, .08); border-color: var(--kf-aqua); }
.kf-quiz__quick:focus-visible { outline: 2px solid var(--kf-aqua); outline-offset: 2px; }

.kf-onboarding__health, .kf-onboarding__commitment { border: 1px solid var(--kf-line); border-radius: 14px; display: grid; gap: 12px; margin: 22px 0 0; min-width: 0; padding: 14px 16px 16px; }
.kf-onboarding__health legend, .kf-onboarding__commitment legend { color: #e4e4e4; font-size: 14px; font-weight: 700; padding: 0 6px; }
.kf-quiz__toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.kf-quiz__toggle { cursor: pointer; position: relative; }
.kf-quiz__toggle input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.kf-quiz__toggle span { background: var(--kf-surface); border: 1.5px solid var(--kf-line); border-radius: 99px; color: #e4e4e4; display: inline-flex; font-size: 14px; font-weight: 600; min-height: 40px; align-items: center; padding: 8px 14px; transition: background .15s, border-color .15s, color .15s; }
.kf-quiz__toggle:hover span { border-color: var(--kf-line-hi); }
.kf-quiz__toggle input:checked + span { background: var(--kf-aqua); border-color: var(--kf-aqua); color: #140700; }
.kf-quiz__toggle input:focus-visible + span { outline: 2px solid var(--kf-aqua); outline-offset: 2px; }

.kf-onboarding__check { align-items: flex-start; color: #e4e4e4; cursor: pointer; display: flex; font-size: 14px; gap: 12px; line-height: 1.5; }
.kf-onboarding__check input { accent-color: var(--kf-aqua); flex: 0 0 22px; height: 22px; margin: 0; width: 22px; }
.kf-onboarding__check input:focus-visible { outline: 2px solid var(--kf-aqua); outline-offset: 2px; }

/* ── Videollamada ────────────────────────────────────────────────────────── */
.kf-onboarding__date-field { max-width: 300px; }
.kf-onboarding__slots { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.kf-onboarding__slot { background: var(--kf-surface); border: 2px solid var(--kf-line); border-radius: 12px; color: #e8f0f6; cursor: pointer; font: inherit; font-variant-numeric: tabular-nums; font-weight: 700; min-height: 46px; min-width: 78px; padding: 9px 13px; transition: border-color .15s, background .15s; }
.kf-onboarding__slot:hover { border-color: var(--kf-line-hi); }
.kf-onboarding__slot:focus-visible { outline: 2px solid var(--kf-aqua); outline-offset: 2px; }
.kf-onboarding__slot[aria-pressed="true"] { background: var(--kf-aqua); border-color: var(--kf-aqua); color: #140700; }
.kf-onboarding__slots-message { color: var(--kf-muted); font-size: 14px; width: 100%; }

/* ── Paso 1: cobro ───────────────────────────────────────────────────────── */
.kf-checkout { gap: 18px; }
.kf-onboarding .kf-checkout .kf-quiz__eyebrow, .kf-onboarding .kf-checkout .kf-quiz__question, .kf-onboarding .kf-checkout .kf-quiz__help { margin-bottom: 0; }
.kf-onboarding .kf-checkout .kf-quiz__question { margin-top: -8px; }
.kf-checkout .kf-onboarding__field-error { margin-top: -10px; }
.kf-checkout .kf-onboarding__field .kf-onboarding__field-error { margin-top: 0; }
.kf-checkout__path { counter-reset: none; display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.kf-checkout__path li { align-items: center; background: var(--kf-surface); border: 1px solid var(--kf-line); border-radius: 99px; color: var(--kf-muted); display: flex; flex: 1; font-size: 13px; font-weight: 700; gap: 8px; justify-content: center; min-height: 38px; padding: 6px 10px; white-space: nowrap; }
.kf-checkout__path li span { align-items: center; background: var(--kf-surface-2); border-radius: 50%; display: inline-flex; flex: 0 0 22px; font-size: 12px; height: 22px; justify-content: center; }
.kf-checkout__path li.is-current { border-color: var(--kf-aqua); color: #fff; }
.kf-checkout__path li.is-current span { background: var(--kf-aqua); color: #140700; }
.kf-onboarding__plans { display: grid; gap: 12px; }
.kf-onboarding__plan { align-items: flex-start; background: var(--kf-surface); border: 2px solid var(--kf-line); border-bottom-width: 4px; border-radius: var(--kf-radius); cursor: pointer; display: flex; gap: 13px; padding: 16px; transition: border-color .15s, background .15s; }
.kf-onboarding__plan:hover { border-color: var(--kf-line-hi); }
.kf-onboarding__plan:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; }
.kf-onboarding__plan:has(input:checked) { background: rgba(242, 96, 12, .10); border-color: var(--kf-aqua); }
.kf-onboarding__plan input { accent-color: var(--kf-aqua); flex: 0 0 20px; height: 20px; margin: 2px 0 0; width: 20px; }
.kf-onboarding__plan-copy { display: flex; flex: 1; flex-wrap: wrap; gap: 4px 14px; justify-content: space-between; min-width: 0; }
.kf-onboarding__plan-copy strong { color: #fff; font-size: 16px; }
.kf-onboarding__plan-copy b { color: var(--kf-aqua); font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kf-onboarding__plan-copy small { color: var(--kf-muted); flex-basis: 100%; font-size: 14px; line-height: 1.45; }
.kf-checkout__referral summary { color: var(--kf-aqua); cursor: pointer; font-size: 14px; font-weight: 700; min-height: 32px; }
.kf-checkout__referral summary:focus-visible { outline: 2px solid var(--kf-aqua); outline-offset: 4px; }
.kf-checkout__referral .kf-onboarding__field { margin-top: 10px; }

.kf-onboarding__plan-copy em { color: var(--kf-aqua); flex-basis: 100%; font-size: 13px; font-style: normal; font-weight: 700; }
.kf-checkout__unlocks { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.kf-checkout__unlocks li { align-items: center; display: flex; gap: 12px; }
.kf-checkout__unlocks li > span { align-items: center; background: var(--kf-surface-2); border-radius: 12px; display: inline-flex; flex: 0 0 40px; font-size: 20px; height: 40px; justify-content: center; }
.kf-checkout__unlocks strong { color: #fff; display: block; font-size: 15px; line-height: 1.3; }
.kf-checkout__unlocks small { color: var(--kf-muted); font-size: 13px; }

/* ── Pago incrustado (Card Payment Brick de Mercado Pago) ────────────────── */
.kf-pay { animation: kf-step-in .32s var(--kf-ease) both; display: flex; flex-direction: column; gap: 14px; }
.kf-onboarding .kf-pay .kf-quiz__eyebrow, .kf-onboarding .kf-pay .kf-quiz__question { margin-bottom: 0; }
.kf-pay__summary { align-items: center; background: var(--kf-surface); border: 1px solid var(--kf-line); border-radius: var(--kf-radius); display: flex; gap: 14px; justify-content: space-between; padding: 14px 16px; }
.kf-pay__summary span { color: #fff; display: block; font-size: 15px; font-weight: 700; }
.kf-pay__summary small { color: var(--kf-muted); display: block; font-size: 13px; overflow-wrap: anywhere; }
.kf-pay__summary strong { color: var(--kf-aqua); font-size: 22px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kf-pay__edit, .kf-pay__alt { background: transparent; border: 0; color: var(--kf-aqua); cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; min-height: 44px; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }
.kf-pay__edit { align-self: flex-start; margin-top: -10px; }
.kf-pay__alt { align-self: center; }
.kf-pay__edit:focus-visible, .kf-pay__alt:focus-visible { outline: 2px solid var(--kf-aqua); outline-offset: 2px; }
.kf-pay__alt:disabled { cursor: progress; opacity: .6; }
.kf-pay__brick { background: var(--kf-surface); border: 1px solid var(--kf-line); border-radius: var(--kf-radius); min-height: 120px; overflow: hidden; }
.kf-pay__loading { color: var(--kf-muted); font-size: 14px; line-height: 1.5; margin: 0; padding: 28px 18px; text-align: center; }
.kf-onboarding .kf-pay .kf-onboarding__notice { margin-top: 0; }
.kf-pay__check { animation: kf-reveal .6s var(--kf-ease) both; background: linear-gradient(160deg, var(--kf-aqua), var(--kf-blue)); border-radius: 50%; box-shadow: 0 0 50px rgba(242, 96, 12, .4); height: 88px; margin-bottom: 30px; position: relative; width: 88px; }
.kf-pay__check::after { border: solid #140700; border-width: 0 6px 6px 0; content: ""; height: 38px; left: 33px; position: absolute; top: 18px; transform: rotate(45deg); width: 19px; }

/* ── Avisos y acciones ───────────────────────────────────────────────────── */
.kf-onboarding__notice { background: rgba(255, 255, 255, .05); border: 1px solid var(--kf-line-hi); border-radius: 12px; color: #fff; font-size: 14px; line-height: 1.5; margin-top: 18px; padding: 13px 15px; }
.kf-checkout .kf-onboarding__notice { margin-top: 0; }
.kf-onboarding__notice.is-error { background: rgba(200, 50, 50, .14); border-color: #b94545; color: #ffe1e1; }
.kf-onboarding__notice a { color: var(--kf-aqua); font-weight: 700; }
.kf-quiz__actions { display: flex; margin-top: 26px; }
.kf-checkout .kf-quiz__actions { margin-top: 4px; }
.kf-quiz__actions--center { justify-content: center; }
.kf-quiz__retry { margin-top: 12px; }
.kf-onboarding .kf-btn { align-items: center; border: 0; border-radius: 14px; cursor: pointer; display: inline-flex; font: inherit; font-size: 16px; font-weight: 800; justify-content: center; letter-spacing: .01em; min-height: 54px; padding: 12px 24px; text-decoration: none; transition: transform .1s, box-shadow .1s, filter .15s; width: 100%; }
.kf-quiz__actions--center .kf-btn { width: auto; min-width: 240px; }
.kf-onboarding .kf-btn--primary { background: linear-gradient(180deg, var(--kf-orange-hi), var(--kf-orange)); box-shadow: none; color: #1a0a00; }
.kf-onboarding .kf-btn--primary:hover:not(:disabled) { filter: brightness(1.07); }
.kf-onboarding .kf-btn--primary:active:not(:disabled) { box-shadow: none; transform: translateY(1px); }
.kf-onboarding .kf-btn--secondary { background: var(--kf-surface); border: 2px solid var(--kf-line-hi); color: #e8f0f6; }
.kf-onboarding .kf-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.kf-onboarding .kf-btn:disabled { cursor: not-allowed; opacity: .6; }
.kf-onboarding .kf-btn.is-loading { cursor: progress; }
.kf-onboarding__fineprint { color: var(--kf-muted); font-size: 12px; line-height: 1.5; margin: 0 auto; max-width: 440px; text-align: center; }

/* ── Estados (espera / creando cuenta) ───────────────────────────────────── */
.kf-status { align-items: center; display: flex; flex-direction: column; padding-top: 12vh; text-align: center; }
.kf-quiz__finale .kf-status { padding-top: 8vh; }
.kf-status__drop { animation: kf-drop 1.5s ease-in-out infinite; background: linear-gradient(160deg, var(--kf-aqua), var(--kf-blue)); border-radius: 0 50% 50% 50%; box-shadow: 0 0 40px rgba(242, 96, 12, .35); height: 56px; margin-bottom: 34px; transform: rotate(45deg); width: 56px; }


@keyframes kf-flow { to { transform: translateX(100%); } }
@keyframes kf-step-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes kf-step-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes kf-pop { 0% { transform: scale(1); } 45% { transform: scale(1.025); } 100% { transform: scale(1); } }
@keyframes kf-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes kf-drop { 0%, 100% { transform: rotate(45deg) scale(1); } 50% { transform: rotate(45deg) scale(1.14); } }
@keyframes kf-reveal { 0% { opacity: 0; transform: scale(.3) rotate(-25deg); } 60% { opacity: 1; transform: scale(1.12) rotate(4deg); } 100% { transform: none; } }
@keyframes kf-ripple { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.75); } }

@media (max-width: 380px) {
	.kf-checkout__path li { font-size: 12px; gap: 6px; padding: 6px; }
	.kf-quiz__big-field input { font-size: 34px; }
}
@media (min-width: 720px) {
	.kf-onboarding { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	.kf-onboarding *, .kf-onboarding *::before, .kf-onboarding *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ───────── Checkout compacto (una sola pantalla) ───────── */
.kf-checkout--compact { gap: 14px; }
.kf-onboarding .kf-checkout--compact .kf-quiz__question { font-size: clamp(24px, 6vw, 30px); margin: 0; }
.kf-onboarding .kf-checkout--compact .kf-quiz__help { font-size: 14px; margin: -6px 0 0; }
.kf-co__group { display: flex; flex-direction: column; gap: 12px; }
.kf-co__label { color: var(--kf-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; margin: 2px 0 -4px; text-transform: uppercase; }
.kf-co__methods { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.kf-co__method { cursor: pointer; display: block; position: relative; }
.kf-co__method input { opacity: 0; position: absolute; }
.kf-co__method-body { align-items: center; background: var(--kf-surface); border: 2px solid var(--kf-line); border-radius: 14px; display: flex; flex-direction: column; gap: 6px; justify-content: center; min-height: 82px; padding: 10px; text-align: center; transition: border-color .15s, box-shadow .15s, background .15s; }
.kf-co__method-body strong { color: #fff; font-size: 14px; }
.kf-co__method:hover .kf-co__method-body { border-color: var(--kf-line-hi); }
.kf-co__method input:checked + .kf-co__method-body { background: rgba(242, 96, 12, .09); border-color: var(--kf-aqua); box-shadow: 0 0 0 3px rgba(242, 96, 12, .18), 0 0 22px rgba(242, 96, 12, .28); }
.kf-co__method input:focus-visible + .kf-co__method-body { outline: 3px solid #fff; outline-offset: 2px; }
.kf-co__logos { align-items: center; display: flex; gap: 8px; height: 22px; }
.kf-co__logos svg { background: #fff; border-radius: 4px; padding: 2px 4px; }
.kf-co__logos svg:last-child { background: transparent; padding: 0; }
.kf-co__yape { background: #742284; border-radius: 7px; color: #fff; font-size: 14px; font-weight: 900; letter-spacing: -.02em; line-height: 1; padding: 4px 9px 5px; }
.kf-co__plans { display: grid; gap: 8px; }
.kf-co__plan { align-items: center; background: var(--kf-surface); border: 2px solid var(--kf-line); border-radius: 12px; cursor: pointer; display: flex; gap: 12px; min-height: 56px; padding: 8px 14px; transition: border-color .15s, background .15s; }
.kf-co__plan:hover { border-color: var(--kf-line-hi); }
.kf-co__plan:has(input:checked) { background: rgba(242, 96, 12, .08); border-color: var(--kf-aqua); }
.kf-co__plan:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; }
.kf-co__plan input { accent-color: var(--kf-aqua); flex: 0 0 20px; height: 20px; margin: 0; width: 20px; }
.kf-co__plan-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.kf-co__plan-copy strong { color: #fff; font-size: 15px; }
.kf-co__plan-copy em { color: #4ade80; font-size: 13px; font-style: normal; font-weight: 800; }
.kf-co__plan > b { color: #fff; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kf-co__row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.kf-co__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kf-co__flabel { color: var(--kf-text); font-size: 14px; font-weight: 700; }
.kf-co__secure { background: var(--kf-surface); border: 1px solid var(--kf-line-hi); border-radius: 12px; height: 48px; overflow: hidden; padding: 0 12px; }
.kf-co__secure:focus-within, .kf-co__secure.mp-focus { border-color: var(--kf-aqua); box-shadow: 0 0 0 3px rgba(242, 96, 12, .2); }
.kf-co__cta { font-size: 18px; min-height: 56px; width: 100%; }
.kf-co__secure-note { color: var(--kf-muted); font-size: 13px; margin: 0; text-align: center; }
.kf-co__badges { color: var(--kf-muted); display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.kf-co__badges li { align-items: center; background: var(--kf-surface); border: 1px solid var(--kf-line); border-radius: 12px; display: flex; flex-direction: column; font-size: 11.5px; font-weight: 700; gap: 5px; line-height: 1.25; padding: 10px 6px; text-align: center; }
.kf-co__badges svg { color: #4ade80; }
@media (max-width: 380px) { .kf-co__row { grid-template-columns: 1fr; } }

/* ═════════ Pulido premium: Dark Luxury + glassmorphism ═════════ */
.kf-onboarding {
	--kf-bg: #070707;
	--kf-surface: #101010;
	--kf-surface-2: #151515;
	--kf-line: rgba(255, 255, 255, .09);
	--kf-line-hi: rgba(255, 255, 255, .2);
	--kf-gold: #f2600c;
	--kf-gold-hi: #ff8c42;
	--kf-muted: #9a9a9a;
	background:
		radial-gradient(ellipse 70% 45% at 50% -8%, rgba(242, 96, 12, .16), transparent 62%),
		radial-gradient(ellipse 50% 40% at 100% 0%, rgba(242, 96, 12, .09), transparent 60%),
		radial-gradient(ellipse 60% 40% at 0% 100%, rgba(242, 96, 12, .07), transparent 60%),
		#070707;
}
/* Tarjeta central de cristal oscuro. */
.kf-onboarding .kf-checkout--compact {
	-webkit-backdrop-filter: blur(22px) saturate(140%);
	backdrop-filter: blur(22px) saturate(140%);
	background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 26px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 0 0 1px rgba(242, 96, 12, .05), 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 70px -30px rgba(242, 96, 12, .35);
	padding: 24px 20px 22px;
	position: relative;
}
.kf-onboarding .kf-checkout--compact::before {
	background: linear-gradient(90deg, transparent, rgba(242, 96, 12, .7), rgba(242, 96, 12, .7), transparent);
	content: ""; height: 1px; left: 12%; opacity: .75; position: absolute; right: 12%; top: -1px;
}
.kf-onboarding .kf-checkout--compact .kf-quiz__question { letter-spacing: -.02em; }
.kf-onboarding .kf-checkout--compact .kf-co__label { color: #9a9a9a; letter-spacing: .12em; }

/* Lo que desbloqueas al instante. */
.kf-co__unlock { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 2px 0 4px; padding: 0; }
.kf-co__unlock li { align-items: center; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; color: var(--kf-aqua); display: flex; flex-direction: column; gap: 3px; padding: 11px 6px 10px; text-align: center; }
.kf-co__unlock li:nth-child(2) { color: var(--kf-gold); }
.kf-co__unlock b { color: #fff; font-size: 12.5px; font-weight: 800; line-height: 1.2; }
.kf-co__unlock small { color: var(--kf-muted); font-size: 11px; line-height: 1.25; }

/* Métodos y planes: cristal fino con brillo al seleccionar. */
.kf-co__method-body, .kf-co__plan { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .1); }
.kf-co__method input:checked + .kf-co__method-body { background: rgba(242, 96, 12, .08); border-color: rgba(242, 96, 12, .85); box-shadow: 0 0 0 3px rgba(242, 96, 12, .14), 0 0 26px -4px rgba(242, 96, 12, .45); }
.kf-co__plan:has(input:checked) { background: rgba(242, 96, 12, .07); border-color: rgba(242, 96, 12, .85); box-shadow: 0 0 22px -8px rgba(242, 96, 12, .5); }
.kf-co__plan { position: relative; }
.kf-co__plan.is-featured { border-color: rgba(242, 96, 12, .55); margin-top: 8px; }
.kf-co__plan.is-featured:has(input:checked) { background: rgba(242, 96, 12, .07); border-color: var(--kf-gold); box-shadow: 0 0 26px -6px rgba(242, 96, 12, .55); }
.kf-co__badge { background: linear-gradient(135deg, var(--kf-gold-hi), var(--kf-gold)); border-radius: 99px; box-shadow: 0 4px 14px -4px rgba(242, 96, 12, .7); color: #070707; font-size: 10.5px; font-weight: 900; letter-spacing: .08em; padding: 3px 10px; position: absolute; right: 14px; top: -10px; }

/* Inputs tipo Stripe: fondo #101010, borde fino que se ilumina al escribir. */
.kf-onboarding .kf-onboarding__field input,
.kf-onboarding .kf-onboarding__field textarea,
.kf-onboarding .kf-co__secure {
	background: #101010;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
	color: #f2f2f2;
	font-size: 16px;
	letter-spacing: .01em;
	transition: border-color .18s, box-shadow .18s, background .18s;
}
.kf-onboarding .kf-onboarding__field input:hover, .kf-onboarding .kf-co__secure:hover { border-color: rgba(255, 255, 255, .22); }
.kf-onboarding .kf-onboarding__field input:focus, .kf-onboarding .kf-onboarding__field input:focus-visible,
.kf-onboarding .kf-co__secure:focus-within, .kf-onboarding .kf-co__secure.mp-focus {
	background: #151515;
	border-color: rgba(242, 96, 12, .9);
	box-shadow: 0 0 0 3px rgba(242, 96, 12, .18), 0 0 18px -4px rgba(242, 96, 12, .45);
	outline: none;
}
.kf-onboarding .kf-onboarding__field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #101010 inset; -webkit-text-fill-color: #f2f2f2; caret-color: #f2f2f2; }
.kf-onboarding .kf-onboarding__field > span, .kf-onboarding .kf-co__flabel { color: #d6d6d6; font-size: 13px; font-weight: 600; letter-spacing: .02em; }

/* CTA: texto negro profundo en negrita sobre dorado con brillo al pasar el mouse. */
.kf-onboarding .kf-btn--primary,
.kf-onboarding .kf-btn--primary:visited {
	background: linear-gradient(180deg, #ff8c42 0%, #f2600c 55%, #d94f06 100%) !important;
	border: 0 !important;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 30px -8px rgba(242, 96, 12, .65) !important;
	color: #070707 !important;
	font-weight: 900 !important;
	letter-spacing: .01em;
	overflow: hidden;
	position: relative;
	text-shadow: none !important;
	-webkit-text-fill-color: #070707;
}
.kf-onboarding .kf-btn--primary::after {
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .65) 50%, transparent 70%);
	content: ""; inset: 0; position: absolute; transform: translateX(-120%); transition: transform .7s var(--kf-ease); pointer-events: none;
}
.kf-onboarding .kf-btn--primary:hover:not(:disabled)::after, .kf-onboarding .kf-btn--primary:focus-visible::after { transform: translateX(120%); }
.kf-onboarding .kf-btn--primary:hover:not(:disabled) { filter: none; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 14px 38px -8px rgba(242, 96, 12, .85) !important; }
.kf-onboarding .kf-btn--primary:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset !important; }
.kf-onboarding .kf-btn--primary:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.kf-onboarding .kf-btn--primary:disabled { filter: saturate(.6) brightness(.85); }

.kf-co__badges li { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); }
.kf-co__secure-note { color: #9a9a9a; }
@media (max-width: 380px) { .kf-co__unlock b { font-size: 11.5px; } .kf-onboarding .kf-checkout--compact { padding: 20px 14px; } }
@media (prefers-reduced-motion: reduce) { .kf-onboarding .kf-btn--primary::after { transition: none; } }

/* ═════════ Checkout: microanimaciones (sobrias, sin distraer del pago) ═════════ */
@keyframes kf-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes kf-card-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes kf-breathe { 0%, 100% { box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 0 0 1px rgba(242,96,12,.05), 0 30px 80px -20px rgba(0,0,0,.8), 0 0 70px -34px rgba(242,96,12,.35); } 50% { box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 0 0 1px rgba(242,96,12,.12), 0 30px 80px -20px rgba(0,0,0,.8), 0 0 90px -26px rgba(242,96,12,.55); } }
@keyframes kf-edge { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@keyframes kf-pop { 0% { transform: scale(1); } 45% { transform: scale(1.025); } 100% { transform: scale(1); } }
@keyframes kf-shine { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes kf-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

.kf-onboarding .kf-checkout--compact { animation: kf-card-in .6s var(--kf-ease) both, kf-breathe 6s ease-in-out 1s infinite; }
/* El filo de luz superior se desplaza despacio. */
.kf-onboarding .kf-checkout--compact::before { animation: kf-edge 7s linear infinite; background: linear-gradient(90deg, transparent, rgba(242,96,12,.9), rgba(255,179,71,.9), rgba(242,96,12,.9), transparent); background-size: 200% 100%; }
/* Cada bloque entra en cascada. */
.kf-checkout--compact > * { animation: kf-rise .55s var(--kf-ease) both; }
.kf-checkout--compact > *:nth-child(2) { animation-delay: .05s; } .kf-checkout--compact > *:nth-child(3) { animation-delay: .10s; }
.kf-checkout--compact > *:nth-child(4) { animation-delay: .16s; } .kf-checkout--compact > *:nth-child(5) { animation-delay: .22s; }
.kf-checkout--compact > *:nth-child(6) { animation-delay: .28s; } .kf-checkout--compact > *:nth-child(7) { animation-delay: .34s; }
.kf-checkout--compact > *:nth-child(n+8) { animation-delay: .40s; }
/* Beneficios: se elevan al pasar y su icono flota. */
.kf-co__unlock li { transition: transform .25s var(--kf-ease), border-color .25s, box-shadow .25s; }
.kf-co__unlock li:hover { border-color: rgba(242,96,12,.55); box-shadow: 0 12px 26px -14px rgba(242,96,12,.7); transform: translateY(-3px); }
.kf-co__unlock li svg { animation: kf-bob 3.4s ease-in-out infinite; }
.kf-co__unlock li:nth-child(2) svg { animation-delay: .5s; } .kf-co__unlock li:nth-child(3) svg { animation-delay: 1s; }
/* Método y plan: respuesta táctil al elegir. */
.kf-co__method-body, .kf-co__plan { transition: transform .18s var(--kf-ease), border-color .18s, box-shadow .25s, background .18s; }
.kf-co__method:hover .kf-co__method-body, .kf-co__plan:hover { transform: translateY(-2px); }
.kf-co__method:active .kf-co__method-body, .kf-co__plan:active { transform: scale(.985); }
.kf-co__method input:checked + .kf-co__method-body, .kf-co__plan:has(input:checked) { animation: kf-pop .32s var(--kf-ease); }
.kf-co__plan > b { transition: color .2s, transform .2s var(--kf-ease); }
.kf-co__plan:has(input:checked) > b { color: #ffb37a; transform: scale(1.06); }
/* Insignia «MÁS ELEGIDO» con destello. */
.kf-co__badge { overflow: hidden; }
.kf-co__badge::after { animation: kf-shine 3.6s ease-in-out infinite; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.8) 50%, transparent 70%); content: ""; inset: 0; position: absolute; }
/* Paneles de tarjeta / Yape: aparecen con suavidad al cambiar de método. */
[data-kf-panel]:not([hidden]) { animation: kf-rise .35s var(--kf-ease) both; }
/* CTA: un destello cada pocos segundos invita a continuar; el total cambia con un pulso. */
.kf-onboarding .kf-co__cta::after { animation: kf-shine 4.2s ease-in-out 1.2s infinite; transition: none; }
.kf-onboarding .kf-co__cta.is-bump { animation: kf-pop .35s var(--kf-ease); }
.kf-onboarding .kf-co__cta.is-loading::after { animation-duration: 1.1s; }
/* Sellos de confianza: se elevan al pasar. */
.kf-co__badges li { transition: transform .2s var(--kf-ease), border-color .2s; }
.kf-co__badges li:hover { border-color: rgba(74,222,128,.45); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
	.kf-onboarding .kf-checkout--compact, .kf-onboarding .kf-checkout--compact::before, .kf-checkout--compact > *, .kf-co__unlock li svg, .kf-co__badge::after, .kf-onboarding .kf-co__cta::after, [data-kf-panel]:not([hidden]), .kf-co__method input:checked + .kf-co__method-body, .kf-co__plan:has(input:checked) { animation: none !important; }
}

/* ══ Yape: panel guiado (pasos, monto, avisos, salida a tarjeta) ══ */
.kf-co__yape-logo { display: block; width: 24px; height: 24px; border-radius: 6px; }
.kf-yape { border: 1px solid rgba(116, 34, 132, .55); border-radius: 18px; padding: 18px; background: linear-gradient(160deg, rgba(116, 34, 132, .22), rgba(116, 34, 132, .04) 60%); }
.kf-yape__head { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.kf-yape__logo { display: block; width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 6px 18px rgba(116, 34, 132, .45); }
.kf-yape__title { margin: 0; color: #fff; font-size: 17px; font-weight: 800; }
.kf-yape__amount { margin: 2px 0 0; color: #d4d4d8; font-size: 14px; }
.kf-yape__amount b { color: #fff; font-variant-numeric: tabular-nums; }
.kf-yape__steps { counter-reset: kfy; display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.kf-yape__steps li { counter-increment: kfy; display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; color: #d4d4d8; font-size: 14px; line-height: 1.45; }
.kf-yape__steps li::before { content: counter(kfy); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #742284; color: #fff; font-size: 12px; font-weight: 800; }
.kf-yape__steps b { color: #fff; }
.kf-yape__phone { display: flex; align-items: stretch; }
.kf-yape__prefix { display: grid; place-items: center; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .14); border-right: 0; border-radius: 12px 0 0 12px; background: rgba(255, 255, 255, .04); color: #a1a1aa; font-weight: 700; font-size: 15px; }
.kf-yape__phone input { flex: 1; min-width: 0; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.kf-yape__otp { font: 700 22px/1 ui-monospace, SFMono-Regular, Menlo, monospace !important; letter-spacing: .5em !important; text-align: center; font-variant-numeric: tabular-nums; }
.kf-yape__otp::placeholder { letter-spacing: .5em; color: #52525b; }
.kf-yape__note { margin: 4px 0 0; color: #a1a1aa; font-size: 12.5px; line-height: 1.5; }
.kf-yape__fallback { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(251, 191, 36, .1); }
.kf-yape__fallback p { margin: 0; flex: 1 1 220px; color: #fde68a; font-size: 13.5px; line-height: 1.45; }
.kf-yape__to-card { min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; background: none; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.kf-yape__to-card:hover { border-color: #fff; }
.kf-yape__to-card:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 480px) { .kf-yape { padding: 14px; } .kf-yape__otp { font-size: 20px !important; letter-spacing: .4em !important; } }
