



:root{
  --ink:#0B1A28;--ink-2:#33465C;--muted:#5B6775;--line:#E6EBF2;
  --soft:#F5F8FC;--azure:#465FFF;--azure-dk:#2F46D9;--cyan:#22D3EE;
  --ok:#067647;--ok-bg:#ECFDF3;--err:#B42318;--err-bg:#FEF3F2;--err-line:#FCCFCB;
  --side-1:#0A1E30;--side-2:#0c2c47;--side-3:#0e3a5e;--side-txt:#C9D4E2;--side-dim:#A9B7C9;
  --font:'IBM Plex Sans',system-ui,-apple-system,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{font-family:var(--font);color:var(--ink);background:#fff;font-size:15px;line-height:1.45}
a{color:var(--azure-dk)}
a:hover{color:#1E2FA8}
button,input,select{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--azure);outline-offset:3px}
[hidden]{display:none !important}

.shell{min-height:100vh;display:flex}
.side{width:400px;flex-shrink:0;padding:40px 40px 34px;display:flex;flex-direction:column;gap:38px;
  color:#fff;background:linear-gradient(160deg,var(--side-1),var(--side-2) 60%,var(--side-3))}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:20px;color:#fff;text-decoration:none}
.brand:hover{color:#fff}
.brand img{height:40px;width:auto;display:block}
.side-h{font-size:26px;font-weight:700;letter-spacing:-.01em}
.side-sub{font-size:15px;color:var(--side-txt);margin-top:6px}
.steps{list-style:none;display:flex;flex-direction:column;gap:6px}
.steps li{display:flex;align-items:center;gap:14px;padding:9px 0;font-size:16px;color:var(--side-dim)}
.steps .dot{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:700;flex-shrink:0;border:1.5px solid rgba(255,255,255,.35);color:var(--side-txt)}
.steps li.cur{color:#fff;font-weight:600}
.steps li.cur .dot{background:#fff;color:var(--ink);border-color:#fff}
.steps li.done{color:var(--side-txt)}
.steps li.done .dot{background:var(--cyan);color:var(--ink);border-color:var(--cyan)}
.perks{list-style:none;margin-top:auto;display:flex;flex-direction:column;gap:12px;font-size:14px;color:var(--side-txt)}
.perks li{padding-left:28px;position:relative}
.perks li::before{content:"";position:absolute;left:2px;top:3px;width:10px;height:6px;border-left:2px solid var(--cyan);
  border-bottom:2px solid var(--cyan);transform:rotate(-45deg)}
.side-foot{padding-top:14px;border-top:1px solid rgba(255,255,255,.15);font-size:14px;color:var(--side-txt)}
.side-foot a{color:#fff;font-weight:600}

.main{flex:1;display:flex;justify-content:center;padding:56px 64px;overflow:auto}
.col{width:100%;max-width:520px;display:flex;flex-direction:column;gap:22px}
.paso{font-size:13px;font-weight:600;color:var(--muted)}
section{display:flex;flex-direction:column;gap:18px}
h1{font-size:30px;font-weight:700;letter-spacing:-.01em;line-height:1.2}
.sub{font-size:16px;color:var(--ink-2);line-height:1.5;margin-top:-8px}
form{display:flex;flex-direction:column}
label,.lbl{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:7px}
input,select{width:100%;background:var(--soft);border:1px solid var(--line);border-radius:11px;padding:13px 14px;font-size:15px;
  color:var(--ink);margin-bottom:16px;transition:border-color .2s,box-shadow .2s,background .2s}
input:focus,select:focus{outline:none;border-color:var(--azure);background:#fff;box-shadow:0 0 0 4px rgba(70,95,255,.12)}
input.bad{border-color:var(--err)}
input.good{border-color:var(--ok)}
.hint{font-size:13px;color:var(--muted);margin:-10px 0 16px}
.hint.ok{color:var(--ok)}
.hint.err{color:var(--err)}
.meter{display:flex;gap:6px;align-items:center;margin:-8px 0 16px}
.meter i{flex:1;height:5px;border-radius:3px;background:var(--line)}
.meter i.on{background:var(--ok)}
.meter.weak i.on{background:var(--err)}
.meter b{font-size:13px;font-weight:600;color:var(--ok);margin-left:6px;min-width:56px}
.meter.weak b{color:var(--err)}
.trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.check{display:flex;gap:10px;align-items:flex-start;text-transform:none;letter-spacing:0;font-size:14px;color:var(--ink-2);
  font-weight:400;line-height:1.5;cursor:pointer;margin:2px 0 20px}
.check input{width:18px;height:18px;margin:2px 0 0;padding:0;flex-shrink:0;accent-color:var(--azure)}

.go{display:block;width:100%;border:0;border-radius:12px;padding:15px;background:var(--azure);color:#fff;font-weight:600;
  font-size:16px;cursor:pointer;text-align:center;text-decoration:none;transition:transform .18s,box-shadow .25s,background .2s}
.go:hover:not(:disabled){transform:translateY(-1px);background:var(--azure-dk);color:#fff;box-shadow:0 14px 30px rgba(70,95,255,.3)}
.go:disabled{opacity:.6;cursor:default}
.ghost{border:1px solid var(--line);border-radius:12px;padding:15px 20px;background:#fff;font-weight:600;font-size:16px;cursor:pointer}
.ghost:hover{border-color:var(--muted)}
.btns{display:flex;gap:12px}
.btns .go{flex:1}
.link{all:unset;cursor:pointer;color:var(--azure-dk);font-weight:600;font-size:14px}
.link:disabled{color:var(--muted);cursor:default;font-weight:400}
.link:focus-visible{outline:2px solid var(--azure);outline-offset:3px;border-radius:4px}
.row-links{display:flex;justify-content:space-between;gap:12px}
.ya-cuenta{margin-top:22px;font-size:14px;color:var(--ink-2)}
.ya-cuenta a{color:var(--azure-dk);font-weight:600}

.icon{width:56px;height:56px;border-radius:16px;background:rgba(70,95,255,.1);display:flex;align-items:center;justify-content:center}
.icon.ok{border-radius:50%;background:var(--ok-bg);width:60px;height:60px}
.otp{font-size:26px;font-weight:600;letter-spacing:.3em;text-align:center;padding:14px 0 14px .3em}

.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}
.seg button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:13px 8px;font-weight:600;font-size:15px;
  color:var(--ink-2);cursor:pointer;min-height:44px}
.seg button[aria-pressed="true"]{border:2px solid var(--azure);background:rgba(70,95,255,.07);color:var(--azure-dk)}
.box{border:1px solid var(--line);border-radius:16px;padding:16px 18px}
.box-h{font-size:15px;font-weight:600}
.box-sub{font-size:13px;color:var(--muted);margin-top:3px}
.stepper-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.stepper{display:flex;align-items:center;gap:4px;flex-shrink:0}
.stepper button{width:44px;height:44px;border-radius:11px;border:1px solid var(--line);background:#fff;font-size:22px;cursor:pointer}
.stepper button:disabled{opacity:.4;cursor:default}
.stepper output{width:40px;text-align:center;font-size:20px;font-weight:700}

.fine{font-size:13px;color:var(--muted);text-align:center}
.fine.izq{text-align:left;margin-top:-6px}

.first{list-style:none;display:flex;flex-direction:column;margin-top:-10px}
.first li{display:flex;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.first li:last-child{border-bottom:0}
.first .n{width:30px;height:30px;border-radius:50%;background:var(--soft);color:var(--ink-2);font-weight:700;font-size:14px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0}
.first li:first-child .n{background:var(--azure);color:#fff}
.first b{display:block;font-weight:600}
.first small{display:block;font-size:13px;color:var(--muted)}

.msg{font-size:14px;padding:12px 14px;border-radius:12px;display:none;line-height:1.5}
.msg.show{display:block}
.msg.info{background:rgba(70,95,255,.08);border:1px solid rgba(70,95,255,.25);color:var(--azure-dk)}
.msg.err{background:var(--err-bg);border:1px solid var(--err-line);color:var(--err)}
.msg a{color:inherit;font-weight:700}
.foot{margin-top:8px;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted)}
.foot a{color:var(--muted);text-decoration:none}
.foot a:hover{color:var(--ink)}
.lang button{all:unset;cursor:pointer;font-weight:700;padding:0 4px;color:var(--muted)}
.lang button.on{color:var(--ink)}

#veil{position:fixed;inset:0;background:rgba(255,255,255,.86);display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:14px;z-index:9;font-size:15px;color:var(--ink-2)}
.spin{width:34px;height:34px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--azure);animation:sp .8s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}

@media (max-width:900px){
  .shell{flex-direction:column}
  .side{width:auto;padding:22px 16px;gap:18px}
  .brand img{height:30px}
  .side-head,.perks,.side-foot{display:none}
  .steps{flex-direction:row;justify-content:space-between;gap:4px}
  .steps li{flex-direction:column;gap:6px;font-size:12px;padding:0;text-align:center}
  .main{padding:28px 16px 40px}
  h1{font-size:26px}
  .grid2{grid-template-columns:1fr;gap:0}
  .btns{flex-direction:column-reverse}
}
