/* Onboarding de Estudio: tarjeta cálida sobre el paisaje de puntos (mismo tono que la app). */
body.onb { min-height: 100svh; margin: 0; display: grid; background-attachment: fixed; }
.onb-main { display: grid; place-items: center; min-height: 100svh; padding: 28px 16px 90px; }
.onb-caja { width: min(640px, 100%); padding: 36px 40px 30px; position: relative; animation: caja-entra .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes caja-entra { from { opacity: 0; transform: translateY(18px) scale(.985); filter: blur(6px); } }
.onb-caja .atras-c { margin-bottom: 22px; }
.cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cab h1, .etapa h1 { font: 700 clamp(22px, 3vw, 27px)/1.2 "Manrope"; letter-spacing: -.02em; margin: 0; }
.bajada-c { color: var(--muted); margin: 10px 0 22px; font-size: 16px; }
.pregunta { font: 600 16px "DM Sans"; margin: 0 0 12px; }
.etapa.entrando { animation: paso-entra .5s cubic-bezier(.2,.8,.2,1) both; }
.etapa.entrando.atras { animation-name: paso-vuelve; }
@keyframes paso-entra { from { opacity: 0; transform: translateX(26px); filter: blur(5px); } }
@keyframes paso-vuelve { from { opacity: 0; transform: translateX(-26px); filter: blur(5px); } }
.tiles { display: grid; gap: 14px; }
.tiles.dos { grid-template-columns: 1fr 1fr; }
.tiles.dos .tile { padding-top: 40px; min-height: 210px; align-content: center; }
.tiles.tres { grid-template-columns: repeat(3, 1fr); margin-bottom: 16px; }
.tile.chico { padding: 18px 10px 16px; gap: 6px; } .tile.chico svg { width: 26px; height: 26px; } .tile.chico b { font-size: 14.5px; }
.campo-c { height: 54px; border-radius: 12px; border-color: var(--borde); background: #fff; font-size: 17px; }
.campo-c:focus { border-color: var(--ink); }
.enlace { display: block; margin: 16px auto 0; background: none; border: 0; color: var(--muted); font: 500 14px "DM Sans"; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.onb-error { text-align: center; }
.pie-caja { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.puntos-prog { display: flex; gap: 6px; }
.puntos-prog i { width: 22px; height: 4px; border-radius: 4px; background: var(--borde); transition: background .35s, width .35s cubic-bezier(.2,.8,.2,1); }
.puntos-prog i.on { background: var(--ink); width: 34px; } .puntos-prog i.hecho { background: #9a958c; }
.onb-seguir { height: 46px; padding: 0 20px; border-radius: 12px; font-size: 15px; }
.onb-seguir svg { width: 17px; height: 17px; transition: transform .2s; } .onb-seguir:hover svg { transform: translateX(3px); }
.volver-pill { position: fixed; right: 22px; bottom: 22px; background: #fff; color: var(--ink); text-decoration: none; font: 500 15px "DM Sans"; padding: 11px 20px; border-radius: 999px;
  box-shadow: 0 10px 30px -14px rgba(0,0,0,.45); transition: transform .2s; }
.volver-pill:hover { transform: translateY(-2px); }

/* tu precio */
.aviso-compra { border-radius: 12px; padding: 12px 14px; font-size: 14.5px; margin: 16px 0 0; }
.aviso-compra.ok { background: #e7f6ee; color: #12643a; } .aviso-compra.no { background: var(--crema); color: #6a4a12; }
.aviso-compra button { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; text-decoration: underline; color: inherit; cursor: pointer; }
.precio-pix { margin: 18px 0 22px; border-radius: 14px; padding: 26px 20px 22px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: #2a7fe0 url(img/paisaje.webp) center 30% / cover no-repeat; image-rendering: pixelated; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.precio-pix::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,40,110,.35), rgba(10,40,110,.55)); }
.precio-pix > * { position: relative; }
.monto-final { font: 800 clamp(54px, 9vw, 72px)/1 "Manrope"; letter-spacing: -.06em; text-shadow: 0 2px 18px rgba(0,20,70,.4); }
.monto-final small { font: 600 18px "DM Sans"; letter-spacing: 0; opacity: .9; margin-left: 4px; }
.ahorro { margin: 8px 0 0; } .ahorro s { opacity: .75; }

/* ya es tuyo */
.check-grande { display: grid; place-items: center; margin: 8px 0 16px; }
.check-grande svg { width: 76px; height: 76px; }
.check-grande rect { fill: var(--ink); transform-origin: center; animation: check-c .5s cubic-bezier(.34,1.56,.64,1) both; }
.check-grande path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: check-p .45s .35s ease-out forwards; }
@keyframes check-c { from { transform: scale(0) rotate(-12deg); } }
@keyframes check-p { to { stroke-dashoffset: 0; } }
.centro { text-align: center; }
.acciones-listo { display: flex; gap: 10px; justify-content: center; margin-top: 8px; flex-wrap: wrap; }
.confeti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.confeti i { position: absolute; top: -20px; width: 9px; height: 9px; animation: cae linear forwards; }
@keyframes cae { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--rot)); } }

@media (max-width: 600px) {
  .onb-caja { padding: 26px 20px 22px; }
  .tiles.dos { grid-template-columns: 1fr; } .tiles.dos .tile { min-height: 0; padding-top: 34px; }
  .tiles.tres { grid-template-columns: 1fr 1fr; }
  .volver-pill { right: 50%; transform: translateX(50%); bottom: 16px; }
  .volver-pill:hover { transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) { .onb *, .onb *::before, .onb *::after { animation: none !important; transition: none !important; } .check-grande path { stroke-dashoffset: 0; } }

.aviso-cobro { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--crema); color: #6a4a12; font-size: 14.5px; line-height: 1.45; }

/* casilla de términos y cobro, nota de la IA, otro correo, "a qué te dedicas" al final, links legales */
.nota-ia { font-size: 13px; color: var(--muted); margin: 14px 2px 0; }
.acepto { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 14px 16px; border-radius: 16px; background: #fbfaf8; box-shadow: inset 0 0 0 1px #e7e3dc;
  font: 400 14px/1.45 "DM Sans"; color: var(--ink); cursor: pointer; }
.acepto input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.acepto a { color: inherit; text-underline-offset: 3px; }
.otro-correo { font-size: 13px; color: var(--muted); margin: 12px 2px 0; }
.otro-correo .enlace { display: inline; margin: 0; font-size: 13px; }
.dedica-despues { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e7e3dc; }
.dedica-despues .pregunta small { font-weight: 400; color: var(--muted); }
.dedica-despues .tiles.tres { margin-bottom: 0; }
.pie-legal { position: fixed; left: 22px; bottom: 30px; margin: 0; font-size: 12px; color: rgba(255,255,255,.9); }
.pie-legal a { color: inherit; }
@media (max-width: 640px) { .pie-legal { position: static; text-align: center; padding: 0 16px 90px; } }
