
:root{
  --purple:#39145B; --burgundy:#771947; --red:#E5243B; --navy:#000066; --night:#140a33;
  --ink:#1d1338; --muted:#655d80; --line:#e8e4f1; --soft:#f7f5fb; --white:#fff; --ok:#1f9d63;
  --display:'League Spartan','Segoe UI',sans-serif; --body:'Outfit','Segoe UI',sans-serif;
  --ease:cubic-bezier(.2,.8,.2,1);
}
*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--body);color:var(--ink);background:var(--white);-webkit-font-smoothing:antialiased;min-height:100vh}
button,input,select{font:inherit;color:inherit}
:focus-visible{outline:3px solid #8f7dff;outline-offset:2px;border-radius:8px}

/* ---------- Cabecera ---------- */
.top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px clamp(16px,4vw,48px);background:#fff;position:relative;z-index:5}
.top::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--purple),var(--burgundy) 55%,var(--red))}
.top img{height:clamp(40px,6vw,58px);width:auto;display:block}
.top .tag{text-align:right}
.top .tag b{display:block;font:600 .74rem var(--body);letter-spacing:.2em;color:var(--purple)}
.top .tag span{font-size:.85rem;color:var(--muted)}

/* ---------- Estructura ---------- */
.shell{display:grid;grid-template-columns:minmax(300px,380px) 1fr;min-height:calc(100vh - 80px)}
.side{position:relative;color:#fff;padding:44px 36px 36px;background:var(--purple) url('fondo.jpg') left center/cover;overflow:hidden;isolation:isolate}
.side::before{content:"";position:absolute;inset:-10%;background:url('fondo.jpg') left center/cover;opacity:.9;z-index:-2;animation:drift 38s ease-in-out infinite alternate}
.side::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(57,20,91,.86),rgba(30,10,60,.9));z-index:-1}
@keyframes drift{from{transform:translate3d(0,0,0) scale(1.05)}to{transform:translate3d(-3%,2%,0) scale(1.12)}}
#stars{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.kicker{font:600 .72rem var(--body);letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.7)}
.side .side-title{font-family:var(--display);font-weight:800;font-size:clamp(1.9rem,2.6vw,2.35rem);line-height:1.02;letter-spacing:-.015em;margin:.8rem 0 .7rem}
.side .side-title em{font-style:normal;color:#ff7d89}
.side .sub{color:rgba(255,255,255,.82);font-size:1rem;line-height:1.5;max-width:28ch}

/* Constelación de pasos */
.constel{position:relative;margin:34px 0 30px}
.constel svg.lines{position:absolute;left:0;top:0;width:44px;height:100%;overflow:visible}
.constel svg.lines line{stroke:rgba(255,255,255,.28);stroke-width:2;stroke-linecap:round}
.constel svg.lines line.lit{stroke:#ff9aa4;filter:drop-shadow(0 0 4px rgba(255,120,135,.9));stroke-dasharray:var(--len);stroke-dashoffset:var(--len);animation:draw .7s var(--ease) forwards}
@keyframes draw{to{stroke-dashoffset:0}}
.constel ol{list-style:none;display:grid;gap:22px;position:relative}
.constel li{display:flex;align-items:center;gap:14px;min-height:44px}
.star{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex:none;position:relative;border:1.5px solid rgba(255,255,255,.28);background:rgba(20,8,50,.55);transition:all .5s var(--ease)}
.star svg{width:18px;height:18px;stroke:rgba(255,255,255,.7);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.star::after{content:"";position:absolute;inset:-7px;border-radius:50%;background:radial-gradient(circle,rgba(255,90,110,.45),transparent 65%);opacity:0;transition:opacity .5s}
li.done .star{background:#fff;border-color:#fff}
li.done .star svg{stroke:var(--purple)}
li.now .star{background:var(--red);border-color:#ff8d98;box-shadow:0 0 0 6px rgba(229,36,59,.18)}
li.now .star svg{stroke:#fff}
li.now .star::after{opacity:1;animation:glow 2.4s ease-in-out infinite}
@keyframes glow{50%{transform:scale(1.25);opacity:.4}}
li.lighting .star{animation:pop .6s var(--ease)}
@keyframes pop{40%{transform:scale(1.18)}}
.constel li span{font-weight:500;color:rgba(255,255,255,.72);font-size:.98rem}
.constel li.now span,.constel li.done span{color:#fff}
.constel li .now-badge{margin-left:auto;font:600 .68rem var(--body);letter-spacing:.08em;text-transform:uppercase;padding:.3rem .55rem;border-radius:99px;background:rgba(255,255,255,.14);color:#fff}

.proof{border-top:1px solid rgba(255,255,255,.16);padding-top:24px;display:flex;gap:16px;align-items:flex-start}
.proof strong{font:800 2.6rem/1 var(--display);letter-spacing:-.02em}
.proof p{font-size:.9rem;color:rgba(255,255,255,.8);line-height:1.35}
.proof p b{display:block;font:700 1.05rem/1.2 var(--display);color:#fff;margin-top:.15rem}

/* ---------- Formulario ---------- */
.main{padding:clamp(24px,4vw,56px) clamp(16px,5vw,72px) 40px;display:flex;justify-content:center}
.wrap{width:100%;max-width:640px}
.meta{display:flex;justify-content:space-between;align-items:baseline;font-size:.82rem}
.meta b{font-weight:700;letter-spacing:.16em;color:var(--burgundy);text-transform:uppercase}
.meta span{color:var(--muted)}
.bar{height:6px;background:#eeebf5;border-radius:99px;margin:12px 0 30px;overflow:hidden;position:relative}
.bar i{position:absolute;inset:0 auto 0 0;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--purple),var(--burgundy),var(--red));transition:width .9s var(--ease)}
.bar i::after{content:"";position:absolute;right:0;top:50%;width:10px;height:10px;margin-top:-5px;border-radius:50%;background:#fff;box-shadow:0 0 12px 3px rgba(229,36,59,.8)}
.view{animation:enter .55s var(--ease)}
@keyframes enter{from{opacity:0;transform:translateY(14px)}}
.view h2{font-family:var(--display);font-weight:800;font-size:clamp(1.9rem,4vw,2.6rem);line-height:1.02;letter-spacing:-.02em;color:var(--purple)}
.view .lead{color:var(--muted);margin:.6rem 0 1.4rem;font-size:1.02rem;line-height:1.5}

.lyanna{display:flex;gap:12px;align-items:flex-start;background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin-bottom:24px}
.lyanna .av{width:38px;height:38px;flex:none;border-radius:50%;display:grid;place-items:center;font:700 1rem var(--display);color:#fff;background:linear-gradient(135deg,var(--purple),var(--red));box-shadow:0 0 0 3px #fff,0 0 0 4px #e7defa}
.lyanna b{display:block;font-weight:600;font-size:.95rem}
.lyanna small{color:var(--muted);font-size:.85rem}
.typing{display:inline-flex;gap:4px;padding:6px 0}
.typing i{width:6px;height:6px;border-radius:50%;background:#b5a9d6;animation:dot 1s infinite}
.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}
@keyframes dot{50%{transform:translateY(-4px);opacity:.5}}

.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 16px}
.grid .wide{grid-column:1/-1}
.grid .name{grid-column:1/2}
.f label{display:block;font-weight:600;font-size:.9rem;margin-bottom:7px}
.f label sup{color:var(--red);font-size:.8em;margin-left:2px}
.f input,.f select{width:100%;min-height:52px;padding:0 16px;border:1.5px solid var(--line);border-radius:14px;background:#fff;font-size:1rem;transition:border-color .2s,box-shadow .2s,transform .2s}
.f select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23655d80' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center no-repeat}
.f input:hover,.f select:hover{border-color:#cfc6e6}
.f input:focus,.f select:focus{outline:none;border-color:var(--purple);box-shadow:0 0 0 4px rgba(57,20,91,.12)}
.f.ok input{border-color:#bfe5d1;background:#fbfffd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231f9d63' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") right 14px center no-repeat}
.f.err input,.f.err select{border-color:var(--red);animation:shake .38s}
.f .msg{font-size:.82rem;color:var(--red);margin-top:6px;min-height:1.1em}
.hint{font-size:.85rem;color:var(--muted);margin-top:-6px}
@keyframes shake{20%{transform:translateX(-5px)}60%{transform:translateX(5px)}}
.three{display:grid;grid-template-columns:1fr 118px;gap:16px}

.program{display:flex;align-items:center;gap:14px;margin-top:22px;padding:16px 18px;border-radius:16px;background:linear-gradient(120deg,#faf7ff,#fff3f5);border:1px solid #eadff5;position:relative;overflow:hidden}
.program .ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#fff;box-shadow:0 4px 14px -6px rgba(57,20,91,.35)}
.program small{display:block;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.program b{font:800 1.35rem/1.1 var(--display);color:var(--purple)}
.program .pill{margin-left:auto;font-size:.78rem;font-weight:600;padding:.4rem .7rem;border-radius:99px;background:#fff;border:1px solid #eadff5;color:var(--burgundy)}
.program::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.8) 50%,transparent 70%);transform:translateX(-100%);animation:shine 4.5s 1.2s ease-in-out infinite}
@keyframes shine{30%,100%{transform:translateX(100%)}}

.actions{display:flex;justify-content:space-between;align-items:center;margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}
.btn{white-space:nowrap;min-height:52px;border:0;border-radius:999px;padding:0 26px;display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:1rem;cursor:pointer;transition:transform .2s var(--ease),box-shadow .2s,background .2s,opacity .2s}
.btn svg{width:18px;height:18px;transition:transform .25s var(--ease)}
.btn-main{color:#fff;background:linear-gradient(120deg,var(--purple),var(--burgundy));box-shadow:0 12px 28px -12px rgba(57,20,91,.8)}
.btn-main:hover{transform:translateY(-2px);box-shadow:0 16px 32px -12px rgba(119,25,71,.85)}
.btn-main:hover svg{transform:translateX(3px)}
.btn-main:active{transform:translateY(0) scale(.98)}
.btn-red{background:var(--red);box-shadow:0 12px 28px -12px rgba(229,36,59,.9)}
.btn-ghost{background:transparent;color:var(--muted);padding:0 12px}
.btn-ghost:disabled{opacity:.4;cursor:default}
.demo-fill{display:block;margin:16px auto 0;background:none;border:0;color:var(--muted);font-size:.88rem;text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:0 10px;cursor:pointer}
.demo-note{display:block;text-align:center;color:var(--muted);font-size:.8rem;margin-top:-6px}
.help{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:26px}
.help a,.help button{min-height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:500;text-decoration:none;cursor:pointer;transition:transform .2s,box-shadow .2s}
.help button{background:var(--soft);border:1px solid var(--line);color:var(--ink)}
.help a{background:#effaf4;border:1px solid #cdeedd;color:#126b43}
.help a:hover,.help button:hover{transform:translateY(-2px);box-shadow:0 10px 20px -14px rgba(0,0,0,.4)}
.help svg{width:20px;height:20px}

/* Programas por edad */
.ages{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-top:10px}
.ages span{font-size:.74rem;text-align:center;padding:.5rem .2rem;border-radius:10px;background:var(--soft);color:var(--muted);border:1px solid transparent;transition:all .35s var(--ease);line-height:1.2}
.ages span b{display:block;font:700 .82rem var(--display);color:var(--ink)}
.ages span.on{background:#fff;border-color:var(--purple);color:var(--purple);transform:translateY(-2px);box-shadow:0 8px 18px -12px rgba(57,20,91,.6)}
.ages span.on b{color:var(--purple)}
.program b.flip{animation:flip .45s var(--ease)}
@keyframes flip{0%{opacity:0;transform:translateY(8px)}}
/* Respaldo */
.backing{display:inline-flex;align-items:center;gap:8px;margin-top:16px;min-height:44px;background:none;border:0;color:#fff;font-weight:600;font-size:.95rem;cursor:pointer;border-bottom:1.5px solid rgba(255,255,255,.5);padding:0}
.backing:hover{border-color:#ff8d98}
.backing svg{width:16px;height:16px;transition:transform .25s var(--ease)}
.backing:hover svg{transform:translate(2px,-2px)}
.modal{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:16px;background:rgba(12,6,32,.6);backdrop-filter:blur(6px);opacity:0;visibility:hidden;transition:opacity .35s,visibility .35s}
.modal.open{opacity:1;visibility:visible}
.sheet{width:100%;max-width:600px;max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:22px;box-shadow:0 30px 80px -20px rgba(0,0,0,.5);transform:translateY(24px) scale(.97);transition:transform .45s var(--ease)}
.modal.open .sheet{transform:none}
.sheet-head{position:relative;padding:28px 28px 22px;color:#fff;background:linear-gradient(120deg,var(--navy),var(--purple) 55%,var(--burgundy));overflow:hidden}
.sheet-head h3{font:800 1.6rem/1.08 var(--display);letter-spacing:-.01em;max-width:18ch}
.sheet-head p{color:rgba(255,255,255,.82);margin-top:.5rem;font-size:.95rem}
.sheet-head .x{position:absolute;top:14px;right:14px;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:1.3rem;cursor:pointer}
.sheet-body{padding:24px 28px 28px}
.awards{display:grid;gap:12px}
.award{display:flex;gap:14px;align-items:center;padding:14px 16px;border-radius:14px;background:#fbf8f1;border:1px solid #efe6d3}
.award .medal{width:42px;height:42px;flex:none;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#f3d27a,#c79a2e);box-shadow:inset 0 -2px 0 rgba(0,0,0,.12)}
.award b{display:block;font-weight:600}
.award .yrs{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.award .yrs i{font-style:normal;font-size:.78rem;font-weight:600;padding:.2rem .5rem;border-radius:99px;background:#fff;border:1px solid #eadcbc;color:#7a5a12}
.sedes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.sede{padding:14px 16px;border-radius:14px;border:1px solid var(--line)}
.sede b{display:flex;align-items:center;gap:8px;color:var(--purple)}
.sede b svg{width:18px;height:18px;stroke:var(--red);fill:none;stroke-width:2}
.sede p{font-size:.9rem;color:var(--muted);margin-top:6px;line-height:1.45}
.sede .soon{display:inline-block;margin-top:8px;font-size:.78rem;font-weight:600;padding:.25rem .6rem;border-radius:99px;background:#fff6e0;color:#8a6200}
.sheet-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line);font-size:.92rem;color:var(--muted)}
.sheet-foot a{color:var(--burgundy);font-weight:600;min-height:44px;display:inline-flex;align-items:center}
@media (max-width:560px){.sedes{grid-template-columns:1fr}.ages{grid-template-columns:repeat(5,minmax(0,1fr))}.ages span{font-size:.66rem}.ages span b{font-size:.74rem}}

/* Resumen paso 6 */
.sum{border:1px solid var(--line);border-radius:18px;overflow:hidden}
.sum .row{display:flex;align-items:center;gap:14px;padding:15px 18px;border-top:1px solid var(--line);opacity:0;transform:translateY(8px);animation:row .5s var(--ease) forwards}
.sum .row:first-child{border-top:0}
@keyframes row{to{opacity:1;transform:none}}
.sum .row .ic{width:36px;height:36px;border-radius:10px;background:var(--soft);display:grid;place-items:center;flex:none}
.sum .row .ic svg{width:17px;height:17px;stroke:var(--purple);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sum .row small{display:block;font-size:.8rem;color:var(--muted)}
.sum .row b{font-weight:600;font-size:1rem}
.sum .row button{margin-left:auto;background:none;border:0;color:var(--burgundy);font-weight:600;font-size:.88rem;min-height:44px;padding:0 10px;cursor:pointer;border-radius:10px}
.sum .row button:hover{background:var(--soft)}
.sum .row.pay b{color:var(--ok)}

/* ---------- Celular ---------- */
@media (max-width:860px){
  .shell{grid-template-columns:1fr}
  .side{padding:26px 20px 22px}
  .side .side-title{font-size:1.75rem;margin:.5rem 0 0}
  .side .sub,.proof strong,.proof p,.kicker{display:none}
  .proof{border:0;padding:0}
  .backing{margin-top:14px;font-size:.88rem}
  .constel{margin:20px 0 0}
  .constel svg.lines{display:none}
  .constel ol{grid-auto-flow:column;grid-template-columns:repeat(6,1fr);gap:0;position:relative}
  .constel ol::before{content:"";position:absolute;left:8%;right:8%;top:22px;height:2px;background:rgba(255,255,255,.18)}
  .constel ol::after{content:"";position:absolute;left:8%;top:22px;height:2px;width:calc(var(--p,0)*84%);background:linear-gradient(90deg,#fff,#ff8d98);transition:width .8s var(--ease)}
  .constel li{flex-direction:column;gap:6px;min-height:0;position:relative;z-index:1}
  .constel li span{font-size:.68rem;text-align:center;line-height:1.15;display:none}
  .constel li.now span{display:block}
  .constel li .now-badge{display:none}
  .grid{grid-template-columns:1fr}
  .grid .name{grid-column:auto}
  .help{grid-template-columns:1fr}
  .main{padding-bottom:90px}
  .sum .row{padding:14px}
  .actions{gap:8px}
  .actions .btn{white-space:nowrap}
  .actions .btn-main{flex:1;justify-content:center;padding:0 18px;font-size:.95rem}
  .actions .btn-ghost{padding:0 6px}
}
@media (max-width:400px){.three{grid-template-columns:1fr 100px;gap:12px}.top .tag span{display:none}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* ---------- Añadidos del formulario ---------- */
.skiplink{position:absolute;left:-999px;top:8px;z-index:60;background:#fff;padding:10px 14px;border-radius:10px}
.skiplink:focus{left:8px}
.guide{margin:22px 0 0;border-radius:16px;overflow:hidden;background:rgba(10,4,30,.55);border:1px solid rgba(255,255,255,.14);box-shadow:0 18px 40px -22px rgba(0,0,0,.7)}
.guide video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#1a0b3d}
.guide .cap{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;font-size:.84rem;color:rgba(255,255,255,.85)}
.guide .cap b{font-weight:600}
.guide .cap button{min-height:36px;padding:0 12px;border-radius:99px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;font-size:.8rem;cursor:pointer}
.help-sheet .sheet-body ol{margin:16px 0 0 0;padding:0;list-style:none;display:grid;gap:10px;counter-reset:h}
.help-sheet .sheet-body li{counter-increment:h;display:flex;gap:12px;align-items:flex-start;line-height:1.45;font-size:.95rem}
.help-sheet .sheet-body li::before{content:counter(h);flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--purple);font:700 .85rem var(--display)}
.help-sheet video{width:100%;aspect-ratio:16/9;border-radius:14px;background:#1a0b3d;display:block}
.help-sheet .wa-admin{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:20px;min-height:52px;border-radius:14px;background:#effaf4;border:1px solid #cdeedd;color:#126b43;font-weight:600;text-decoration:none}
.f .msg:empty{min-height:0;margin:0}
.f input[aria-invalid="true"],.f select[aria-invalid="true"]{border-color:var(--red)}
.program[hidden]{display:none}
.soon-card{border:1px dashed #d9cff0;border-radius:18px;padding:28px;text-align:center;background:var(--soft)}
.soon-card b{display:block;font:800 1.3rem var(--display);color:var(--purple)}
.soon-card p{color:var(--muted);margin-top:6px}
.foot{display:flex;align-items:center;justify-content:center;gap:8px;padding:22px 16px;border-top:1px solid var(--line);font-size:.85rem;color:var(--muted)}
.foot svg{width:16px;height:16px}
.reprise{display:inline-flex;align-items:center;gap:6px;background:none;border:0;color:rgba(255,255,255,.7);font-size:.82rem;cursor:pointer;min-height:40px;margin-top:10px;text-decoration:underline;text-underline-offset:3px}
@media (max-width:860px){.guide{display:none}.reprise{display:none}}

/* ---------- Paso 2 · Contacto ---------- */
.section-label{display:flex;align-items:center;gap:10px;font:700 1.02rem var(--display);color:var(--purple);margin:6px 0 16px}
.section-label svg{width:18px;height:18px;stroke:var(--red);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.contact-card{margin-top:26px;padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff;display:grid;gap:16px;box-shadow:0 14px 34px -28px rgba(57,20,91,.5)}
.contact-card .section-label{margin:0}
.f.mail{margin-top:18px}
.f input:disabled{background:var(--soft);color:var(--muted);border-style:dashed;cursor:not-allowed}
.fhint{font-size:.82rem;color:var(--muted);margin-top:7px;line-height:1.4}
.supporting{font-size:.92rem;color:var(--muted);background:var(--soft);border-radius:12px;padding:12px 14px;line-height:1.45}
.choice{border:0;padding:0;margin:0;min-width:0}
.choice legend{font-weight:600;font-size:.9rem;margin-bottom:8px;padding:0}
.seg{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.seg label{position:relative;cursor:pointer}
.seg input{position:absolute;opacity:0;width:1px;height:1px}
.seg span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:50px;padding:8px 12px;border:1.5px solid var(--line);border-radius:14px;font-size:.92rem;font-weight:500;color:var(--ink);transition:all .2s var(--ease);line-height:1.25}
.seg label:hover span{border-color:#cfc6e6}
.seg input:checked+span{border-color:var(--purple);background:linear-gradient(120deg,#faf7ff,#fff3f5);color:var(--purple);font-weight:600;box-shadow:0 8px 18px -14px rgba(57,20,91,.7)}
.seg input:focus-visible+span{outline:3px solid #8f7dff;outline-offset:2px}
.check{display:flex;align-items:flex-start;gap:12px;cursor:pointer;font-size:.93rem;line-height:1.4;margin-top:16px;min-height:44px}
.contact-card .check{margin-top:0}
.check input{position:absolute;opacity:0;width:1px;height:1px}
.check .box{flex:none;width:22px;height:22px;border-radius:7px;border:1.5px solid #cfc6e6;background:#fff;display:grid;place-items:center;transition:all .2s;margin-top:1px}
.check input:checked+.box{background:var(--purple);border-color:var(--purple);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23fff' stroke-width='3' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center}
.check input:focus-visible+.box{outline:3px solid #8f7dff;outline-offset:2px}
@media (max-width:860px){.contact-card{padding:18px 16px}.seg span{font-size:.86rem;min-height:48px}}

/* ---------- Paso 3 · Programa y pago ---------- */
#c3>*+*{margin-top:24px}
.mode-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mode,.opt{position:relative;cursor:pointer;display:block}
.mode input,.opt input{position:absolute;opacity:0;width:1px;height:1px}
.mode>span{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:14px;row-gap:3px;align-items:center;padding:18px;border:1.5px solid var(--line);border-radius:18px;background:#fff;transition:all .25s var(--ease);height:100%}
.mode .m-ico{grid-row:1/3;width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:var(--soft);color:var(--purple);font-style:normal;transition:all .25s var(--ease)}
.mode .m-ico svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mode .abc{font:800 .95rem var(--display);letter-spacing:.04em}
.mode b{font:700 1.04rem var(--display);color:var(--ink)}
.mode small{font-size:.85rem;color:var(--muted);line-height:1.35}
.mode:hover>span{border-color:#cfc6e6;transform:translateY(-1px)}
.mode input:checked+span{border-color:var(--purple);background:linear-gradient(130deg,#fbf9ff,#fff4f6);box-shadow:0 16px 30px -22px rgba(57,20,91,.75)}
.mode input:checked+span .m-ico{background:linear-gradient(135deg,var(--purple),var(--burgundy));color:#fff}
.mode input:focus-visible+span,.opt input:focus-visible+span{outline:3px solid #8f7dff;outline-offset:2px}
.opt-list{display:grid;gap:10px}
.opt-list.many{grid-template-columns:1fr 1fr}
.opt>span{display:flex;align-items:center;gap:12px;min-height:56px;padding:12px 16px;border:1.5px solid var(--line);border-radius:14px;background:#fff;transition:all .2s var(--ease)}
.opt svg{flex:none;width:19px;height:19px;stroke:var(--muted);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.opt b{font-weight:500;font-size:.92rem;line-height:1.3;color:var(--ink)}
.opt:hover>span{border-color:#cfc6e6}
.opt input:checked+span{border-color:var(--purple);background:linear-gradient(120deg,#faf7ff,#fff3f5)}
.opt input:checked+span svg{stroke:var(--red)}
.opt input:checked+span b{font-weight:600;color:var(--purple)}
.choice.err .opt>span{border-color:#f0a2ab}
.choice .msg{margin-top:8px}
.info-box{display:flex;gap:12px;align-items:flex-start;background:var(--soft);border-radius:14px;padding:13px 15px;font-size:.88rem;color:var(--muted);line-height:1.45}
.info-box svg{flex:none;width:19px;height:19px;stroke:var(--purple);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin-top:1px}
.price{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:22px 24px;border-radius:20px;color:#fff;background:radial-gradient(120% 140% at 100% 0,#7a1d4f 0,transparent 55%),linear-gradient(135deg,#2a0f49,#39145B 55%,#4b1650);box-shadow:0 22px 40px -26px rgba(40,10,70,.9)}
.price::after{content:"";position:absolute;inset:0;background-image:radial-gradient(1.2px 1.2px at 20% 30%,rgba(255,255,255,.7),transparent),radial-gradient(1px 1px at 70% 70%,rgba(255,141,152,.8),transparent),radial-gradient(1px 1px at 45% 85%,rgba(255,255,255,.5),transparent),radial-gradient(1.4px 1.4px at 88% 22%,rgba(255,255,255,.6),transparent);pointer-events:none}
.price span{font:700 .72rem var(--display);letter-spacing:.16em;color:#ff9aa6}
.price p{margin:6px 0 4px;font-size:1rem;font-weight:500}
.price small{font-size:.8rem;opacity:.75}
.price strong{font:800 2.6rem/1 var(--display);white-space:nowrap;position:relative;z-index:1}
.price strong small{font-size:1rem;font-weight:700;opacity:.8;vertical-align:.9em}
.receipt{border:1px solid var(--line);border-radius:20px;padding:22px;background:#fff}
.receipt .section-label{margin:0 0 6px}
.supporting-copy{font-size:.9rem;color:var(--muted);line-height:1.45}
.refund{padding-left:2px}
#receiptBox{display:grid;gap:14px;margin-top:16px}
.upload{position:relative;display:grid;justify-items:center;gap:6px;text-align:center;padding:24px 16px;border:1.8px dashed #cbbfe6;border-radius:16px;background:linear-gradient(180deg,#fcfbff,#f7f4fd);cursor:pointer;transition:all .2s var(--ease)}
.upload svg{width:28px;height:28px;stroke:var(--purple);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.upload b{color:var(--purple);font-weight:600}
.upload span{font-size:.8rem;color:var(--muted)}
.upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.upload:hover,.upload:focus-within{border-color:var(--purple);background:#f6f2ff}
.upload:focus-within{outline:3px solid #8f7dff;outline-offset:2px}
.upload.has{padding:14px 16px}
.upload.err{border-color:var(--red);background:#fff6f7}
#receipt-msg:empty{display:none}
#receipt-msg{color:var(--red);font-size:.84rem;margin-top:-6px}
.r-preview{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid var(--line);border-radius:14px}
.r-preview img{width:56px;height:56px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
.r-ico{width:56px;height:56px;border-radius:10px;background:var(--soft);display:grid;place-items:center}
.r-ico svg{width:26px;height:26px;stroke:var(--purple);fill:none;stroke-width:1.7}
.r-preview>div{flex:1;min-width:0}
.r-preview b{display:block;font-size:.92rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.r-preview small{font-size:.8rem;color:var(--muted)}
.r-x{width:44px;height:44px;border-radius:12px;border:0;background:transparent;cursor:pointer;display:grid;place-items:center}
.r-x:hover{background:var(--soft)}
.r-x svg{width:18px;height:18px;stroke:var(--muted);fill:none;stroke-width:2;stroke-linecap:round}
.r-status{display:flex;gap:10px;align-items:center;font-size:.88rem;color:var(--purple);font-weight:500}
.r-status svg{flex:none;width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round}
.r-status.busy svg{animation:pulse 1.2s ease-in-out infinite}
@keyframes pulse{50%{opacity:.35}}
.r-sum{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.r-sum div{background:#fff;padding:11px 12px;min-width:0}
.r-sum small{display:block;font-size:.72rem;color:var(--muted);margin-bottom:3px}
.r-sum strong{display:block;font-size:.88rem;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.r-sum strong.pending{color:#a59fb8;font-weight:500}
.r-mismatch{font-size:.86rem;line-height:1.45;color:#8a4b00;background:#fff6e6;border:1px solid #f4dcae;border-radius:12px;padding:11px 13px}
.text-action{justify-self:start;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 2px;border:0;background:none;color:var(--purple);font:600 .9rem var(--body);cursor:pointer;text-decoration:underline;text-decoration-color:rgba(57,20,91,.3);text-underline-offset:4px}
.text-action svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.text-action:hover{text-decoration-color:var(--red)}
.r-edit{display:grid;gap:16px;padding:16px;border-radius:14px;background:var(--soft)}
.r-edit .f input,.r-edit .f select{background-color:#fff}
.f-check .check{margin-top:0}
.check.off{cursor:not-allowed;color:var(--muted)}
.check.off .box{background:var(--soft)}
.check em{font-style:normal;font-size:.82rem;color:#a59fb8}
@media (max-width:860px){
  .mode-list{grid-template-columns:1fr}
  .opt-list.many{grid-template-columns:1fr}
  .price{padding:20px;align-items:flex-end}
  .price strong{font-size:2.2rem}
  .receipt{padding:18px 14px}
  .r-sum{grid-template-columns:1fr 1fr}
  .r-sum div:last-child{grid-column:1/3}
}
.view h2[tabindex="-1"]:focus{outline:none}
.opt-list.tri{grid-template-columns:1.45fr 1fr 1fr}
.f-check label.check{display:flex;font-weight:400;font-size:.93rem;margin:0;color:inherit}
.f-check label.check.off{color:var(--muted)}
.f-check.err .box{border-color:var(--red)}
@media (max-width:860px){.opt-list.tri{grid-template-columns:1fr}}

/* ---------- Paso 4 · Tu ciudad ---------- */
#c4>*+*{margin-top:24px}
.map-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 18px 36px -30px rgba(57,20,91,.6)}
.map-card.err{border-color:var(--red);box-shadow:0 0 0 3px rgba(229,36,59,.12)}
.map-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border-bottom:1px solid var(--line)}
.map-tools>span{display:flex;align-items:center;gap:8px;font-weight:600;font-size:.9rem;color:var(--purple)}
.map-tools svg{width:17px;height:17px;stroke:var(--red);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.map-tools>div{display:flex;gap:6px;flex-wrap:wrap}
.map-tools button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 13px;border:1px solid var(--line);border-radius:11px;background:#fff;font-size:.86rem;font-weight:500;color:var(--ink);cursor:pointer;transition:all .2s}
.map-tools button svg{stroke:var(--purple)}
.map-tools button:hover{border-color:var(--purple);background:var(--soft)}
.map-tools button:disabled{opacity:.55;cursor:wait}
.zone-map{height:340px;background:#eef0f4;cursor:crosshair}
.zone-map .leaflet-tile-pane{filter:saturate(.8) contrast(1.02)}
.zone-map .leaflet-control-zoom a{width:36px;height:36px;line-height:36px;color:var(--purple)}
.zone-map .leaflet-control-attribution{font-size:10px}
.bhi-pin{background:none;border:0}
.bhi-pin .pin-dot{position:absolute;left:50%;top:0;width:26px;height:26px;margin-left:-13px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:linear-gradient(135deg,#ff4d61,var(--red));box-shadow:0 6px 14px -4px rgba(229,36,59,.7);animation:pinDrop .45s var(--ease)}
.bhi-pin .pin-dot::after{content:"";position:absolute;inset:8px;border-radius:50%;background:#fff}
@keyframes pinDrop{from{transform:translateY(-14px) rotate(-45deg);opacity:0}}
.map-status{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;padding:12px 14px 4px}
.map-status p{font-size:.88rem;color:var(--purple);font-weight:500;line-height:1.4;flex:1 1 260px}
.map-fallback{display:flex;gap:8px}
.btn-sec{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 14px;border-radius:11px;border:1.5px solid var(--purple);background:#fff;color:var(--purple);font-weight:600;font-size:.86rem;cursor:pointer}
.btn-sec svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.map-status .text-action{font-size:.84rem;font-weight:500}
#location-map-msg{padding:0 14px;color:var(--red);font-size:.84rem}
#location-map-msg:empty{display:none}
.map-attr{padding:4px 14px 14px;font-size:.76rem;color:var(--muted);line-height:1.4}
.map-attr a{color:var(--purple)}
.loc-fields{display:grid;gap:16px}
.src legend sup{color:var(--red);font-size:.8em;margin-left:2px}
.src-group+.src-group{margin-top:14px}
.src-group>p{font:700 .7rem var(--display);letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.src-list{display:flex;flex-wrap:wrap;gap:8px}
.chip{position:relative;cursor:pointer}
.chip input{position:absolute;opacity:0;width:1px;height:1px}
.chip>span{display:inline-flex;align-items:center;gap:9px;min-height:46px;padding:0 16px;border:1.5px solid var(--line);border-radius:999px;background:#fff;font-size:.9rem;font-weight:500;transition:all .2s var(--ease)}
.chip img{width:18px;height:18px}
.chip svg{width:18px;height:18px;stroke:var(--purple);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.chip:hover>span{border-color:#cfc6e6}
.chip input:checked+span{border-color:var(--purple);background:linear-gradient(120deg,#faf7ff,#fff3f5);color:var(--purple);font-weight:600;box-shadow:0 8px 18px -14px rgba(57,20,91,.7)}
.chip input:focus-visible+span{outline:3px solid #8f7dff;outline-offset:2px}
.choice.err .chip>span{border-color:#f0a2ab}
@media (max-width:860px){.zone-map{height:300px}.map-tools{padding:10px}.chip>span{min-height:44px;padding:0 14px;font-size:.88rem}}
.choice.err>.msg,.choice.err .msg{color:var(--red)}

/* Desplegable de procedencia (agrupado, con logos) */
.dd{position:relative}.dd-box{position:relative}
.dd label sup{color:var(--red)}
.dd-btn{width:100%;display:flex;align-items:center;gap:10px;min-height:52px;padding:0 14px 0 16px;border:1.5px solid var(--line);border-radius:14px;background:#fff;font:inherit;font-size:.95rem;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.dd-btn:hover{border-color:#cfc6e6}
.dd-btn:focus-visible,.dd.open .dd-btn{outline:none;border-color:var(--purple);box-shadow:0 0 0 4px rgba(57,20,91,.1)}
.dd-val{flex:1;display:flex;align-items:center;gap:10px;min-width:0}
.dd-val img,.dd-val svg{width:20px;height:20px;flex:none}
.dd-ph{color:var(--muted)}
.dd-chev{width:18px;height:18px;flex:none;stroke:var(--purple);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s var(--ease)}
.dd.open .dd-chev{transform:rotate(180deg)}
.f.err .dd-btn{border-color:var(--red);animation:shake .38s}
.dd-list{position:absolute;left:0;right:0;top:100%;z-index:30;margin-top:6px;padding:6px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 48px -20px rgba(30,10,60,.45);max-height:340px;overflow:auto;outline:none;animation:ddIn .18s var(--ease)}
@keyframes ddIn{from{opacity:0;transform:translateY(-6px)}}
.dd-group{padding:10px 12px 4px;font:700 .68rem var(--display);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.dd-group:not(:first-child){margin-top:4px;border-top:1px solid var(--line);padding-top:12px}
.dd-opt{display:flex;align-items:center;gap:11px;min-height:44px;padding:0 12px;border-radius:10px;font-size:.93rem;cursor:pointer}
.dd-opt img,.dd-opt .dd-sym{width:20px;height:20px;flex:none}
.dd-sym{stroke:var(--purple);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dd-opt span{flex:1}
.dd-tick{width:16px;height:16px;stroke:var(--purple);fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.dd-opt.act{background:var(--soft)}
.dd-opt[aria-selected="true"]{color:var(--purple);font-weight:600}
.dd-opt[aria-selected="true"] .dd-tick{opacity:1}

/* ---------- Paso 5 · Tus clases ---------- */
#c5>*+*{margin-top:26px}
.choice legend sup{color:var(--red);margin-left:2px}
.choice legend small{font-weight:400;color:var(--muted);font-size:.84rem;margin-left:4px}
.dev-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.dev{position:relative;cursor:pointer}
.dev input{position:absolute;opacity:0;width:1px;height:1px}
.dev>span{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:112px;padding:16px 8px;border:1.5px solid var(--line);border-radius:16px;background:#fff;transition:all .22s var(--ease)}
.dev-ic{width:34px;height:34px;stroke:var(--purple);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ease)}
.dev b{font-weight:500;font-size:.92rem}
.dev-tick{position:absolute;top:9px;right:9px;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--line);background:#fff;display:grid;place-items:center;transition:all .2s}
.dev-tick svg{width:13px;height:13px;stroke:#fff;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.dev:hover>span{border-color:#cfc6e6}
.dev input:checked+span{border-color:var(--purple);background:linear-gradient(150deg,#faf7ff,#fff3f5);box-shadow:0 12px 24px -18px rgba(57,20,91,.8)}
.dev input:checked+span .dev-ic{stroke:var(--red);transform:translateY(-2px)}
.dev input:checked+span b{font-weight:600;color:var(--purple)}
.dev input:checked+span .dev-tick{background:var(--red);border-color:var(--red)}
.dev input:checked+span .dev-tick svg{opacity:1}
.dev input:focus-visible+span{outline:3px solid #8f7dff;outline-offset:2px}
.choice.err .dev>span,.choice.err .seg span,.choice.err .opt>span{border-color:#f0a2ab}
.support-block .section-label{margin-bottom:12px}
.support-visual{display:flex;gap:16px;align-items:flex-start;padding:18px;border-radius:18px;background:linear-gradient(135deg,#f7f3ff,#fff5f6);border:1px solid #ece4fb}
.sv-ic{flex:none;width:46px;height:46px;border-radius:14px;background:#fff;display:grid;place-items:center;box-shadow:0 8px 18px -12px rgba(57,20,91,.6)}
.sv-ic svg{width:22px;height:22px;stroke:var(--red);fill:none;stroke-width:1.8;stroke-linejoin:round}
.support-visual p{font-size:.92rem;line-height:1.5;color:var(--ink)}
.support-visual p+p{margin-top:6px;color:var(--muted);font-size:.86rem}
.opt-dot{flex:none;width:20px;height:20px;border-radius:50%;border:1.5px solid #cfc6e6;background:#fff;transition:all .2s}
.opt input:checked+span .opt-dot{border:6px solid var(--purple)}
.support-more{display:grid;gap:14px;padding:18px;border:1px dashed #d9cdf2;border-radius:18px;animation:ddIn .25s var(--ease)}
.support-more textarea{width:100%;min-height:104px;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;font:inherit;font-size:.93rem;line-height:1.45;resize:vertical;background:#fff;color:var(--ink)}
.support-more textarea:focus{outline:none;border-color:var(--purple);box-shadow:0 0 0 4px rgba(57,20,91,.1)}
.opt-tag{font-weight:400;font-size:.78rem;color:var(--muted);margin-left:4px}
.count{text-align:right;margin-top:4px}
@media (max-width:860px){.dev-grid{grid-template-columns:1fr 1fr}.dev>span{min-height:96px}.support-visual{padding:14px;gap:12px}.sv-ic{width:40px;height:40px}}
.support-visual{align-items:center;padding:14px;gap:20px}
.sv-img{flex:none;width:168px;height:168px;object-fit:cover;border-radius:14px;background:#fff;box-shadow:0 14px 28px -20px rgba(57,20,91,.7)}
.sv-text p:first-child{font-weight:600;color:var(--purple);font-size:.98rem}
@media (max-width:860px){.support-visual{flex-direction:row;align-items:flex-start;padding:12px;gap:12px}.sv-img{width:92px;height:92px;border-radius:12px;object-position:50% 50%}.sv-text p:first-child{font-size:.92rem}}

/* ---------- Paso 6 · Confirma y finaliza ---------- */
#c6>*+*{margin-top:22px}
.review-list{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}
.review-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px}
.review-row+.review-row{border-top:1px solid var(--line)}
.review-row small{display:block;font-size:.74rem;letter-spacing:.04em;color:var(--muted);margin-bottom:2px}
.review-row b{font-weight:600;font-size:.94rem;color:var(--ink);word-break:break-word}
.review-row .edit{flex:none;min-height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--purple);font:600 .82rem var(--body);cursor:pointer;transition:all .2s}
.review-row .edit:hover{border-color:var(--purple);background:var(--soft)}
.review-total{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-radius:16px;background:linear-gradient(120deg,var(--purple),var(--burgundy));color:#fff}
.review-total span{font-size:.88rem;opacity:.85}
.review-total strong{font:800 1.5rem var(--display)}
.tutor{padding:20px;border-radius:20px;border:1px solid #ece4fb;background:linear-gradient(160deg,#fbf9ff,#fff7f8)}
.tutor-intro{display:flex;gap:14px;align-items:center}
.tutor-ic{flex:none;width:48px;height:48px;border-radius:14px;background:#fff;display:grid;place-items:center;box-shadow:0 8px 18px -12px rgba(57,20,91,.6)}
.tutor-ic svg,.btn-sec svg{width:22px;height:22px;stroke:var(--purple);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tutor h3{font:800 1.12rem var(--display);color:var(--purple)}
.tutor-intro p{font-size:.9rem;color:var(--muted);margin-top:2px}
.tutor-number{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px;margin:16px 0;padding:12px 16px;border-radius:14px;background:#fff;border:1px dashed #d9cdf2}
.tutor-number span{font-size:.84rem;color:var(--muted)}
.tutor-number b{font:800 1.18rem var(--display);color:var(--ink);letter-spacing:.02em}
.tutor-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.tutor-step{padding:14px;border-radius:16px;background:#fff;border:1.5px solid var(--line);transition:border-color .25s}
.tutor-step.done{border-color:#bfe5d1}
.ts-title{display:flex;align-items:center;gap:8px;font-size:.88rem;color:var(--ink);margin-bottom:10px}
.tutor-step.done .ts-title::after{content:"Listo";margin-left:auto;font-size:.72rem;font-weight:700;color:var(--ok);background:#e9f7ef;padding:2px 8px;border-radius:99px}
.btn-sec.wide{width:100%;justify-content:center;min-height:48px}
.btn-sec .arr,.wa-btn .arr{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;margin-left:auto}
.wa-btn{display:flex;align-items:center;gap:10px;justify-content:center;min-height:48px;padding:0 16px;border-radius:12px;background:#1fa855;color:#fff;font-weight:700;font-size:.92rem;text-decoration:none;box-shadow:0 10px 22px -14px rgba(31,168,85,.9);transition:transform .2s,background .2s}
.wa-btn:hover{background:#178f47;transform:translateY(-1px)}
.wa-btn img{filter:brightness(0) invert(1)}
.f.err .btn-sec,.f.err .wa-btn{animation:shake .38s}
.f.err.tutor-step{border-color:var(--red)}
.validation-summary{margin-top:18px;padding:12px 16px;border-radius:12px;background:#fff1f3;color:#a3142a;font-size:.9rem;font-weight:500}
@media (max-width:860px){.tutor{padding:16px}.tutor-actions{grid-template-columns:1fr}.review-row{padding:12px 14px}}

/* ---------- Pantalla final ---------- */
.done-view{text-align:left}
.done-badge{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--purple),var(--red));box-shadow:0 16px 30px -14px rgba(229,36,59,.8);margin-bottom:16px;animation:pop .5s var(--ease)}
.done-badge svg{width:30px;height:30px;stroke:#fff;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:24;stroke-dashoffset:24;animation:draw .5s .3s forwards}
@keyframes pop{from{transform:scale(.5);opacity:0}}
@keyframes draw{to{stroke-dashoffset:0}}
.eyebrow{display:inline-block;font:700 .72rem var(--display);letter-spacing:.16em;color:var(--red);margin-bottom:6px}
.done-code{font-family:var(--display);letter-spacing:.08em;color:var(--purple)}
.handoff{display:grid;grid-template-columns:1fr 1.1fr;gap:20px;align-items:center;margin-top:22px;padding:16px;border-radius:20px;background:#fff;border:1px solid var(--line)}
.handoff figure{margin:0;position:relative}
.handoff img{width:100%;height:auto;border-radius:14px;display:block}
.handoff figcaption{position:absolute;left:10px;bottom:10px;font-size:.72rem;font-weight:600;color:#fff;background:rgba(20,10,51,.6);padding:4px 10px;border-radius:99px;backdrop-filter:blur(4px)}
.handoff h3{font:800 1.15rem var(--display);color:var(--purple);margin-bottom:8px}
.handoff p{font-size:.92rem;line-height:1.5;color:var(--ink)}
.handoff p+p{margin-top:6px}
.exam-card{margin-top:22px;padding:20px;border-radius:20px;border:1.5px solid #ead9f5;background:linear-gradient(160deg,#fff,#fbf7ff)}
.exam-card h3{font:800 1.15rem var(--display);color:var(--purple)}
.exam-card>p{font-size:.9rem;color:var(--muted);margin-top:4px}
.exam-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}
.exam-options button{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;text-align:left;padding:14px 16px;border-radius:16px;border:1.5px solid var(--line);background:#fff;cursor:pointer;transition:all .2s var(--ease);font:inherit;color:var(--ink)}
.exam-options button svg{grid-row:span 2;width:22px;height:22px;stroke:var(--purple);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.exam-options b{font-size:.94rem}
.exam-options small{font-size:.8rem;color:var(--muted)}
.exam-options button:hover{border-color:#cfc6e6}
.exam-options button[aria-pressed="true"]{border-color:var(--purple);background:linear-gradient(120deg,#faf7ff,#fff3f5);box-shadow:0 10px 22px -16px rgba(57,20,91,.8)}
.exam-options button[aria-pressed="true"] svg{stroke:var(--red)}
.exam-copy{margin-bottom:14px}
.exam-delivery{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.exam-delivery .btn{min-height:48px}
.exam-delivery .btn svg{width:17px;height:17px;stroke:#fff;fill:none;stroke-width:2}
.exam-rules{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}
.exam-rules li{font-size:.82rem;font-weight:600;color:#a3152a;background:#fff4f6;border:1px solid #f6c9d0;border-radius:999px;padding:5px 12px}
.exam-delivery .btn-sec{min-height:48px;text-decoration:none}
.exam-delivery .btn-sec svg{width:17px;height:17px}
.exam-url{margin-top:12px;padding:10px 12px;border-radius:10px;background:var(--soft);font:500 .8rem ui-monospace,monospace;color:var(--ink);word-break:break-all;user-select:all}
.exam-status:empty{display:none}
.exam-status{color:var(--ok);font-weight:600}
.test-note{margin-top:22px;padding:12px 14px;border-radius:12px;background:#fff8e6;border:1px solid #f3e1ae;color:#7a5a00;font-size:.84rem;line-height:1.45}
@media (max-width:860px){.handoff{grid-template-columns:1fr;padding:12px}.exam-options{grid-template-columns:1fr}.exam-delivery>*{flex:1 1 100%;justify-content:center}.exam-card{padding:16px}}
.exam-delivery a{text-decoration:none}

/* ===== Examen: ventana previa de condiciones ===== */
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.exam-pre .sheet{max-width:640px}
.sheet-kicker{display:block;font:700 .7rem var(--display);letter-spacing:.18em;color:#ffb3bf;margin-bottom:8px}
.ep-list{display:grid;gap:8px}
.ep-item{margin-top:0;padding:12px 14px;border-radius:14px;border:1.5px solid var(--line);background:#fff;transition:border-color .2s,background .2s}
.ep-item:hover{border-color:#cfc6e6}
.ep-item:has(input:checked){border-color:var(--purple);background:#faf7ff}
.ep-item.hot{border-color:#f6c9d0;background:#fff7f8}
.ep-item.hot b{color:#a3152a;text-transform:uppercase;letter-spacing:.02em}
.ep-item.hot:has(input:checked){border-color:var(--red)}
.ep-count{margin-top:14px;font-size:.86rem;font-weight:600;color:var(--muted)}
.ep-count.ok{color:var(--ok)}
.ep-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.ep-actions .btn{text-decoration:none}
.ep-actions .btn-ghost{border:1.5px solid var(--line);color:var(--purple)}
.btn.off{opacity:.42;box-shadow:none;cursor:not-allowed;transform:none!important}
.ep-hint{margin-top:10px}
.btn-wa{color:#fff;background:#1f9d63;box-shadow:0 12px 26px -14px rgba(31,157,99,.9);text-decoration:none}
.btn-wa:hover{transform:translateY(-2px)}
.btn-wa img{filter:brightness(0) invert(1)}
.exam-live{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0 10px;font-size:.9rem;color:var(--muted)}
.exam-live b{color:var(--purple)}
.live-dot{width:10px;height:10px;border-radius:50%;background:var(--red);box-shadow:0 0 0 0 rgba(229,36,59,.5);animation:livePulse 1.8s infinite}
@keyframes livePulse{70%{box-shadow:0 0 0 10px rgba(229,36,59,0)}100%{box-shadow:0 0 0 0 rgba(229,36,59,0)}}
.exam-timer{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.exam-timer div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px}
.exam-timer small{display:block;font-size:.74rem;color:var(--muted)}
.exam-timer b{font:800 1.2rem var(--display);color:var(--purple)}
.exam-timer b.late{color:var(--red)}
.exam-step-t{margin:16px 0 8px;font-weight:700;color:var(--purple)}
.exam-ok{margin-top:12px;background:#e9f7f0;border:1px solid #bfe6d2;color:#17603f;border-radius:12px;padding:10px 12px;font-size:.88rem}

/* ===== Cierre: Comunidad y Referidos (según diseño original) ===== */
.closing-card{margin-top:24px;padding:24px;border-radius:14px;border:1px solid #e0e6f0;position:relative}
.closing-card .eyebrow{display:block;margin:0;font:700 .72rem var(--body);letter-spacing:.18em;color:#e62444}
.closing-card h3{font:500 1.35rem/1.3 var(--body);color:#1b326e;margin:10px 0 8px;letter-spacing:-.01em}
.closing-card p{color:#657a9b;font-size:.9rem;line-height:1.75}
.closing-card strong{color:#162b59;font-weight:650}
.guide-video{margin:0}
.guide-video video{display:block;width:100%;background:#101d53;border:1px solid #e0e6f0;border-radius:12px;object-fit:contain}
.guide-video.portrait video{aspect-ratio:9/16}
.guide-video.landscape{margin-top:14px}
.guide-video.landscape video{aspect-ratio:4/3}
/* Comunidad */
.community{display:grid;grid-template-columns:minmax(150px,.48fr) minmax(0,1fr);gap:22px;align-items:start;background:linear-gradient(130deg,#fff,#f4f7ff)}
.community-media{min-width:0}
.community-content{min-width:0}
.community-content>svg{display:block;width:30px;height:30px;stroke:#ed1935;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin-bottom:12px}
.raffle-bonus{list-style:none;margin:14px 0 0;padding:6px 16px;background:#fff;border:1px solid #e4e8ef;border-radius:10px}
.raffle-bonus li{display:flex;align-items:center;gap:14px;padding:10px 0;color:#41557a;font-size:.92rem;line-height:1.35}
.raffle-bonus li+li{border-top:1px solid #edf0f5}
.raffle-bonus b{flex:none;display:grid;place-items:center;min-width:46px;height:38px;border-radius:8px;background:#eef1fa;color:#14285f;font:800 1.15rem var(--display)}
.raffle-bonus li.total b{background:#ed1935;color:#fff}
.raffle-bonus li.total span{color:#14285f;font-weight:650}
.raffle-note{margin-top:10px!important;font-size:.78rem!important;line-height:1.5!important;color:#7a879c!important}
.social-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:19px}
.social-links a{flex:1 1 110px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 10px;border-radius:6px;background:#14285f;color:#fff;font-size:.8rem;font-weight:600;text-decoration:none;border:1px solid transparent}
.social-links a img{width:20px;height:20px;filter:brightness(0) invert(1)}
.social-links a svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.social-links a.pending{transform-origin:50% 70%;animation:socialCoquette 4.8s ease-in-out infinite}
.social-links a.pending:nth-child(2){animation-delay:.25s}
.social-links a.pending:nth-child(3){animation-delay:.5s}
.social-links a.pending:hover,.social-links a.pending:focus-visible{animation-play-state:paused}
.social-links a.opened{color:#145c3c;background:#f0faf4;border-color:#70b995;box-shadow:inset 0 0 0 1px #70b995}
.social-links a.opened img{filter:none}
.social-links a.opened svg{width:18px;height:18px}
@keyframes socialCoquette{0%,12%,100%{transform:translateY(0) rotate(0)}3%{transform:translateY(-3px) rotate(-2deg)}6%{transform:translateY(-3px) rotate(2deg)}9%{transform:translateY(-1px) rotate(-1deg)}}
.social-status{color:#61718b!important;font-size:.82rem!important;margin-top:15px}
/* Frases que rotan */
.promo-words{text-align:center;color:#542575;margin-top:14px}
.promo-words button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;width:100%;min-height:126px;padding:12px 0;border:0;background:none;color:inherit;cursor:pointer;font:800 clamp(1.65rem,2.5vw,2rem)/1.12 var(--display);letter-spacing:-.02em;text-wrap:balance;overflow-wrap:break-word}
.promo-words button:focus-visible{outline:2px solid #e82242;outline-offset:3px;border-radius:7px}
.pw-text.prize{color:#ed1935}
.pw-text.in{animation:pwIn .65s cubic-bezier(.2,.7,.25,1) both}
@keyframes pwIn{from{opacity:.75;transform:translateY(5px)}to{opacity:1;transform:none}}
.pw-dots{display:flex;align-items:center;gap:5px}
.pw-dots i{width:4px;height:4px;border-radius:4px;background:#c6cede;transition:width .45s,background .45s}
.pw-dots i.on{width:16px;background:#ed1935}
/* Referidos */
.referral{background:#fff}
.ref-heading{display:flex;align-items:center;gap:12px}
.ref-heading svg{width:26px;height:26px;stroke:#1b326e;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ref-showcase{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin:28px auto 0;max-width:732px}
.ref-phone{aspect-ratio:9/16;isolation:isolate;position:relative;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;width:100%;min-height:0;padding:19px 18px 14px;border-radius:12px;border:1px solid #e0e6f0;background:radial-gradient(at 65% 54%,#9950b0 0%,#6b2c87 48%,#4b1d67 100%)}
.rp-heading{text-align:center;color:#fff;position:relative;z-index:1}
.rp-heading span{display:block;margin-bottom:7px;font-size:.72rem;font-weight:650;letter-spacing:.09em;color:#8aefda}
.rp-heading strong{display:block;max-width:270px;margin:auto;font:800 clamp(20px,2.1vw,26px)/1.1 var(--display);letter-spacing:-.02em;color:#fff;text-wrap:balance}
.rp-space{position:relative;display:flex;align-items:center;justify-content:center;min-height:0}
.rp-device{position:relative;height:100%;max-width:100%;aspect-ratio:442/912;filter:drop-shadow(0 10px 14px rgba(40,18,55,.44))}
.rp-hardware{position:absolute;pointer-events:none;max-width:none;width:212.67%;height:103.07%;top:-1.5351%;left:-56.3348%;z-index:0}
.rp-display{position:absolute;inset:1.974% 4.0724%;border-radius:14.8%/6.85%;overflow:hidden;background:#f5f6f5;z-index:1}
.rp-screen{display:flex;flex-direction:column;height:100%;background:#f5f6f5}
.rp-screen svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.rp-status{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:24px;padding:6px 9px;color:#14231e;flex:none}
.rp-status b{font-size:9px}
.rp-island{position:absolute;left:50%;top:5px;transform:translateX(-50%);width:29%;height:12px;border-radius:12px;background:#101013}
.rp-icons{display:flex;align-items:center;gap:2px}
.rp-icons svg{width:9px;height:9px}
.rp-header{display:flex;align-items:center;gap:5px;padding:5px 6px 7px;border-bottom:1px solid #d6dfd8;color:#176c4b;flex:none}
.rp-header>div{flex:1;min-width:0}
.rp-header b{display:block;font-size:11px;font-weight:650;color:#203d31;line-height:1.15}
.rp-header small{display:block;font-size:9px;color:#6e8177}
.rp-header svg{width:13px;height:13px}
.rp-chat{flex:1;min-height:0;overflow:auto;padding:7px 7px 10px;background:#eae6df;scrollbar-width:thin;scrollbar-color:#8ab88c transparent}
.rp-chat:focus-visible{outline:2px solid #168557;outline-offset:-2px}
.rp-today{display:block;width:max-content;margin:0 auto 7px;padding:2px 8px;border-radius:6px;background:rgba(255,255,255,.6);font-size:9px;color:#586c60}
.rp-bubble{margin-left:7px;padding:4px;border-radius:9px 0 9px 9px;background:#d9fdd3;box-shadow:0 1px 1px rgba(21,45,41,.1)}
.rp-bubble img{display:block;width:100%;height:96px;object-fit:contain;background:#fff;border-radius:6px}
.rp-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;color:#243c30!important;margin:0;padding:7px 5px!important;font-size:11px!important;line-height:1.5!important}
.rp-time{display:flex;justify-content:flex-end;align-items:center;gap:3px;padding:2px 4px;font-size:9px;color:#768679}
.rp-time svg{width:12px;height:12px;stroke:#43a4d8;fill:none;stroke-width:2.2}
.rp-composer{display:flex;align-items:center;gap:5px;min-height:32px;padding:5px;background:#f6f7f5;color:#466b5a;flex:none}
.rp-composer>svg{width:13px;height:13px}
.rp-input{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:3px;padding:3px 6px;border-radius:19px;border:1px solid #dce3de;background:#fff;font-size:9px;color:#8a978f}
.rp-input svg{width:11px;height:11px}
.rp-home{display:block;width:34%;height:3px;margin:3px auto 5px;border-radius:8px;background:#111;flex:none}
.rp-read{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;margin:0 auto;padding:9px 13px;border-radius:20px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.07);color:#fff;font-size:.8rem;font-weight:600;cursor:pointer}
.rp-read:hover{background:rgba(255,255,255,.16)}
.rp-read:focus-visible{outline:2px solid #8aefda;outline-offset:3px}
.rp-read svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
.referral>.promo-words{max-width:732px;margin:22px auto 12px}
.referral>.promo-words button{min-height:108px;gap:14px;font-size:clamp(1.8rem,3vw,2.35rem)}
.ref-actions{max-width:732px;margin:0 auto}
.ref-share{width:100%;justify-content:center;white-space:normal;text-align:center;min-height:56px;line-height:1.4;border-radius:10px;font-size:.95rem}
.ref-share svg{width:19px;height:19px;stroke:#fff;fill:none;stroke-width:2;flex:none}
.ref-share:disabled{opacity:.6;cursor:progress}
.share-status{max-width:732px;margin:10px auto 0;font-size:.86rem;color:var(--purple)!important;font-weight:600}
.share-status:empty{display:none}
.share-help{max-width:732px;margin:10px auto 0;border:1px solid var(--line);border-radius:12px;padding:10px 14px;background:var(--soft)}
.share-help summary{cursor:pointer;font-weight:600;color:var(--purple);font-size:.88rem}
.share-fallback{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.share-fallback a{text-decoration:none}
.ref-manual{display:block;max-width:732px;margin:10px auto 0;font-size:.84rem;font-weight:600;color:var(--purple)}
.ref-manual textarea{display:block;width:100%;margin-top:6px;border:1.5px solid var(--line);border-radius:12px;padding:10px;font:inherit;font-size:.84rem;font-weight:400;color:var(--ink);resize:vertical}
.rm-flyer{display:block;width:100%;max-width:340px;height:auto;margin:0 auto 14px;border-radius:14px}
.rm-copy{white-space:pre-line;font-size:.92rem;line-height:1.5;background:#d9fdd3;border-radius:14px;padding:12px 14px;overflow-wrap:anywhere}
@media (max-width:760px){
  .community{grid-template-columns:1fr;padding:20px 16px}
  .community-media{width:100%;max-width:260px;margin:0 auto 8px}
  .ref-showcase{grid-template-columns:1fr;gap:24px}
  .ref-showcase>*{justify-self:center;width:100%;max-width:330px}
  .referral{padding:20px 16px}
  .referral>.promo-words button{font-size:1.8rem}
  .promo-words button{font-size:1.75rem}
  .rp-heading strong{font-size:24px}
  .exam-timer{gap:6px}.exam-timer div{padding:8px;text-align:center}.exam-timer b{font-size:1rem}.exam-timer small{font-size:.68rem}
  .ep-actions{flex-direction:column-reverse;align-items:stretch}
  .ep-actions .btn{justify-content:center}
}
@media (prefers-reduced-motion:reduce){.live-dot,.social-links a.pending{animation:none}.pw-text.in{animation:none}.pw-dots i{transition:none}}

/* Horarios en lista vertical */
.opt-list.stack{grid-template-columns:1fr!important;gap:8px}
.opt b.sch{flex:1;display:flex;align-items:baseline;justify-content:space-between;gap:6px 16px;flex-wrap:wrap}
.sch-d{font-weight:inherit}
.sch-t{font-weight:600;color:var(--purple);white-space:nowrap;font-variant-numeric:tabular-nums}
@media (max-width:560px){.opt b.sch{flex-direction:column;gap:2px}}

.raffle-bonus li span{display:block}
.raffle-bonus li span strong{display:block;color:#14285f;font-weight:650;font-size:.92rem;margin-bottom:1px}
.raffle-bonus li.total span{color:#41557a;font-weight:400}

/* ===== Seleccionado = verde tenue (rojo solo para errores) ===== */
:root{--ok:#1d7a52;--ok-line:#86cfa9;--ok-soft:#effaf4;--ok-soft2:#f6fcf8}
.seg input:checked+span,.chip input:checked+span{border-color:var(--ok-line);background:linear-gradient(120deg,var(--ok-soft),var(--ok-soft2));color:var(--ok);box-shadow:0 8px 18px -14px rgba(29,122,82,.55)}
.mode input:checked+span{border-color:var(--ok-line);background:linear-gradient(130deg,var(--ok-soft),#fff);box-shadow:0 16px 30px -22px rgba(29,122,82,.6)}
.mode input:checked+span .m-ico{background:linear-gradient(135deg,#2f9a6a,var(--ok));color:#fff}
.opt input:checked+span{border-color:var(--ok-line);background:linear-gradient(120deg,var(--ok-soft),var(--ok-soft2))}
.opt input:checked+span svg{stroke:var(--ok)}
.opt input:checked+span b,.opt input:checked+span .sch-t{color:var(--ok)}
.opt input:checked+span .opt-dot{border-color:var(--ok)}
.dev input:checked+span{border-color:var(--ok-line);background:linear-gradient(150deg,var(--ok-soft),var(--ok-soft2));box-shadow:0 12px 24px -18px rgba(29,122,82,.6)}
.dev input:checked+span .dev-ic{stroke:var(--ok)}
.dev input:checked+span b{color:var(--ok)}
.dev input:checked+span .dev-tick{background:var(--ok);border-color:var(--ok)}
.check input:checked+.box{background-color:var(--ok);border-color:var(--ok)}
.ep-item:has(input:checked),.ep-item.hot:has(input:checked){border-color:var(--ok-line);background:var(--ok-soft)}
/* Estado de cada pregunta */
fieldset.choice>legend::after{content:"Por responder";display:inline-block;vertical-align:2px;margin-left:10px;padding:2px 9px;border-radius:20px;background:#f1eff6;color:#6b6380;font:600 .7rem/1.5 var(--body);letter-spacing:.01em}
fieldset.choice.answered>legend::after{content:"✓ Listo";background:var(--ok-soft);color:var(--ok);box-shadow:inset 0 0 0 1px var(--ok-line)}
fieldset.choice.err>legend::after{content:"Falta responder";background:#fdecee;color:#b3192e;box-shadow:inset 0 0 0 1px #f0a2ab}
fieldset.choice.err{scroll-margin:110px}
.choice.err .seg span,.choice.err .opt>span,.choice.err .dev>span,.choice.err .mode>span{border-color:#f0a2ab;background:#fffafa}
/* Resumen de pendientes junto al botón */
.err-summary{margin:18px 0 0;padding:12px 16px;border-radius:12px;background:#fff6f7;border:1px solid #f3c2c9;color:#7a1626;font-size:.88rem;line-height:1.45}
.err-summary ul{margin:6px 0 0;padding-left:18px}
.err-summary a{color:#b3192e;font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* ===== Panel lateral: morado liso + espacio para tu imagen =====
   Para poner tu propio fondo, guarda la imagen como img/panel-lateral.jpg (sin cambiar nada más).
   Medida recomendada: 720 x 1800 px (vertical). En celular se usa la parte central. */
.side{background:linear-gradient(180deg,#3a1562 0%,#3c1660 55%,#43185d 100%)}
.side::before{inset:0;opacity:1;background:url('img/panel-lateral.jpg') center top/cover no-repeat;animation:none;filter:none}
.side::after{background:none}
.exam-next{margin:6px 0 14px;padding-left:20px;display:grid;gap:6px;font-size:.9rem;color:var(--ink)}
.exam-next b{color:var(--purple)}

/* ===== Celular: el panel superior da paso al tutorial animado ===== */
.m-guide,.m-dots{display:none}
.gv-anim,.help-anim{display:none}
.help-sheet .help-anim{width:100%;aspect-ratio:16/9;border-radius:14px;background:#1a0b3d;object-fit:contain}
html.touch .help-sheet .help-anim:not([hidden]){display:block}
html.touch .guide-video video{display:none!important}
html.touch .guide-video .gv-anim{display:block;width:100%;background:#101d53;border:1px solid #e0e6f0;border-radius:12px;object-fit:contain}
.guide-video.portrait .gv-anim{aspect-ratio:9/16}.guide-video.landscape .gv-anim{aspect-ratio:4/3}
html.touch .guide-video:has(.yt-facade) .gv-anim{display:none}
@media (max-width:860px){
  .side{padding-bottom:54px}
  .side>.side-title,.side .constel,.side .proof{transition:transform .65s var(--ease),opacity .45s ease}
  .side.hero-guide>.side-title,.side.hero-guide .constel,.side.hero-guide .proof{transform:translateX(-108%);opacity:0;pointer-events:none}
  .m-guide{display:flex;flex-direction:column;gap:8px;position:absolute;left:20px;right:20px;top:18px;bottom:50px;margin:0;transform:translateX(108%);opacity:0;transition:transform .65s var(--ease),opacity .45s ease;pointer-events:none}
  .side.hero-guide .m-guide{transform:none;opacity:1;pointer-events:auto}
  .m-guide-media{flex:1;min-height:0;display:grid;place-items:center;border-radius:14px;overflow:hidden;background:rgba(10,4,30,.55);border:1px solid rgba(255,255,255,.16)}
  .m-guide-media img{width:100%;height:100%;object-fit:contain;display:block}
  .m-guide-media .yt-facade{width:100%;height:100%;aspect-ratio:auto}
  .m-guide figcaption{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.84rem;color:rgba(255,255,255,.9)}
  .m-guide figcaption b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .m-guide figcaption button{flex:none;min-height:34px;padding:0 12px;border-radius:99px;border:1px solid rgba(255,255,255,.3);background:transparent;color:#fff;font-size:.8rem;cursor:pointer}
  .m-dots{display:flex;gap:6px;position:absolute;left:50%;bottom:14px;transform:translateX(-50%);z-index:2}
  .m-dots button{min-height:30px;padding:0 12px;border-radius:99px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.06);color:rgba(255,255,255,.85);font-size:.76rem;font-weight:600;cursor:pointer}
  .m-dots button[aria-pressed="true"]{background:rgba(159,216,185,.22);border-color:#9fd8b9;color:#fff}
}
@media (max-width:860px) and (prefers-reduced-motion:reduce){.side>.side-title,.side .constel,.side .proof,.m-guide{transition:none}}

/* ===== Examen completado (pantalla final) ===== */
.exam-finished{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:14px;background:#effaf4;border:1.5px solid #9fd8b9;margin:4px 0 10px}
.exam-finished .ef-ic svg{width:26px;height:26px;fill:none;stroke:#1d7a52;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;display:block}
.exam-finished b{display:block;color:#1d7a52;font-family:var(--display);font-size:1.02rem}
.exam-finished small{display:block;color:var(--muted);font-size:.88rem;margin-top:2px}

/* ===== Cierre: terminé mi admisión ===== */
.finish-all{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px;padding:22px 24px;border-radius:20px;background:var(--soft);border:1.5px solid var(--line)}
.finish-all h3{font:700 1.12rem/1.25 var(--display);color:var(--purple);margin:2px 0 4px}
.finish-all p{color:var(--muted);font-size:.92rem}
@media (max-width:860px){.finish-all{flex-direction:column;align-items:stretch}.finish-all .btn{justify-content:center}}

/* ===== Guardar contacto ===== */
.vc-steps{list-style:none;display:grid;gap:10px;margin:0}
.vc-steps li{display:flex;gap:12px;align-items:flex-start;font-size:.95rem;line-height:1.4}
.vc-steps li>b{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--soft);border:1.5px solid var(--line);color:var(--purple);font-size:.86rem}
.vc-steps strong{color:var(--purple)}
.vc-alt{margin-top:18px;padding:14px 16px;border-radius:14px;background:var(--soft);display:grid;gap:10px;font-size:.9rem;color:var(--muted)}
.vc-alt .wa-btn,.vc-alt .btn-sec{justify-self:start}
.vc-done{margin-top:18px;display:flex;justify-content:flex-end}
.vc-qr{display:grid;grid-template-columns:200px 1fr;gap:20px;align-items:center}
.vc-code{width:200px;height:200px;border-radius:16px;border:1.5px solid var(--line);padding:10px;display:grid;place-items:center;background:#fff}
.vc-code svg{width:100%;height:100%;display:block}
.vc-info>b{display:block;font-family:var(--display);color:var(--purple);font-size:1.05rem}
.vc-info>span{display:block;color:var(--muted);margin:2px 0 12px}
.spin-s{width:26px;height:26px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--purple);animation:spinS .8s linear infinite}
@keyframes spinS{to{transform:rotate(360deg)}}
@media (max-width:600px){.vc-qr{grid-template-columns:1fr;justify-items:center}.vc-done .btn{width:100%;justify-content:center}}

/* ===== Felicitaciones: pantalla completa ===== */
.congrats{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:20px;background:radial-gradient(900px 600px at 50% 0,#5a2387 0,transparent 70%),linear-gradient(160deg,#2a0f4a,#1c0a36);opacity:0;transition:opacity .35s ease;overflow:auto}
.congrats.in{opacity:1}
.cg-fx{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.cg-fx i{position:absolute;top:-14px;width:9px;height:14px;border-radius:2px;opacity:.95;animation:cgFall linear forwards}
@keyframes cgFall{to{transform:translate(var(--x),105vh) rotate(var(--r));opacity:.9}}
.cg-box{position:relative;z-index:1;width:100%;max-width:520px;text-align:center;color:#fff;transform:translateY(16px) scale(.98);transition:transform .5s var(--ease)}
.congrats.in .cg-box{transform:none}
.cg-seal{width:88px;height:88px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:#9fd8b9;color:#14523a;box-shadow:0 0 0 10px rgba(159,216,185,.18),0 20px 40px -16px rgba(0,0,0,.6)}
.congrats:not(.all) .cg-seal{background:rgba(255,255,255,.14);color:#fff}
.cg-seal svg{width:44px;height:44px}
.congrats.in.all .cg-seal svg path{stroke-dasharray:24;stroke-dashoffset:24;animation:cgDraw .7s .25s ease forwards}
@keyframes cgDraw{to{stroke-dashoffset:0}}
.cg-kicker{display:block;font:700 .74rem var(--body);letter-spacing:.2em;color:#ff8d98}
.cg-box h2{font:800 clamp(2rem,6vw,2.7rem)/1.05 var(--display);margin:8px 0 10px;letter-spacing:-.01em}
.cg-lead{font-size:1.06rem;color:rgba(255,255,255,.88);max-width:36ch;margin:0 auto}
.cg-list{list-style:none;display:grid;gap:8px;margin:22px 0 0;text-align:left}
.cg-list li{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12)}
.cg-list li>span{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:2px solid rgba(255,255,255,.35)}
.cg-list li.ok>span{border:0;background:#9fd8b9}
.cg-list li.ok>span svg{width:28px;height:28px;fill:none;stroke:#14523a;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.cg-list li.ok>span svg circle{display:none}
.cg-list b{display:block;font-size:.98rem}
.cg-list small{display:block;font-size:.84rem;color:rgba(255,255,255,.72)}
.cg-list li.todo small{color:#ffd166}
.cg-next{margin-top:16px;font-size:.92rem;color:rgba(255,255,255,.78)}
.cg-next:empty{display:none}
.cg-actions{margin-top:22px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.cg-actions .btn-main{background:#fff;color:var(--purple)}
.cg-actions .btn-ghost{color:rgba(255,255,255,.85);border:1px solid rgba(255,255,255,.3)}
@media (prefers-reduced-motion:reduce){.congrats,.cg-box{transition:none}.cg-fx{display:none}}

/* Sexo (paso 2) */
.sex-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px 22px;margin:4px 0 18px}
.sex-f .seg{grid-template-columns:repeat(3,1fr)}
.sex-f .seg:focus{outline:none}
.sex-f.err .seg span{border-color:#f0a2ab}
