*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,"Segoe UI",Arial,sans-serif;color:#171b21}body{min-height:100svh;background:#242629}.scene{position:fixed;inset:0;z-index:-1;background:#252525 url('../img/login-fondo.jpg') center center/cover no-repeat}.scene-video{width:100%;height:100%;object-fit:cover}.scene-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.56) 0%,rgba(0,0,0,.23) 47%,rgba(0,0,0,.08) 100%)}.layout{min-height:100svh;display:grid;grid-template-columns:minmax(0,1fr) minmax(370px,490px);align-items:center;gap:clamp(20px,5vw,100px);padding:clamp(20px,4vw,70px)}.story{min-height:min(740px,85svh);display:flex;flex-direction:column;justify-content:space-between;color:#fff;padding:25px 0 10px}.red-line{display:block;width:70px;height:5px;background:#d61120;margin-bottom:20px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;margin:0 0 18px}.story h1{font-size:clamp(34px,4.1vw,66px);line-height:1.07;letter-spacing:-1.7px;max-width:800px;margin:0;font-weight:800;text-shadow:0 2px 22px #0008}.story h1 span{display:block;color:#ff3847}.story-sub{font-size:clamp(16px,1.4vw,21px);line-height:1.45;max-width:620px;text-shadow:0 2px 12px #000a}.story-bottom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.story-bottom>div{border-left:1px solid #ffffff77;padding-left:17px;display:flex;flex-direction:column;gap:6px}.story-icon{font-size:27px;color:#ff3546}.story-bottom strong{font-size:14px}.story-bottom small{font-size:12px;color:#f4f4f4;line-height:1.5}.login-panel{background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(255,255,255,.83));border:1px solid #ffffffc9;box-shadow:0 28px 90px #0006;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:24px;padding:clamp(24px,3.1vw,44px);width:100%}.panel-inner{max-width:410px;margin:auto}.logo{display:block;width:min(100%,290px);max-height:110px;object-fit:contain;margin:0 auto 20px}.login-panel h2{text-align:center;font-size:29px;margin:0 0 8px;font-weight:800}.intro{text-align:center;color:#62646b;font-size:14px;line-height:1.55;margin:0 0 28px}.login-panel label{display:block;font-size:12px;font-weight:750;margin:14px 0 7px}.input-wrap{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid #d9dce1;border-radius:11px;height:53px;padding:0 14px;transition:.2s}.input-wrap:focus-within{border-color:#bf1321;box-shadow:0 0 0 3px #c90e211b}.input-wrap>span{color:#bd1120;font-size:22px}.input-wrap input{min-width:0;width:100%;height:100%;border:0;outline:0;background:transparent;font:inherit;font-size:14px}.eye{background:none;border:0;font-size:20px;cursor:pointer;color:#555;min-width:34px}.submit{margin-top:25px;width:100%;height:53px;background:#c70d20;color:#fff;border:0;border-radius:11px;font-size:16px;font-weight:800;cursor:pointer;transition:.2s;display:flex;align-items:center;justify-content:center;gap:15px}.submit:hover{background:#a90a19;transform:translateY(-1px)}.submit:focus-visible,.eye:focus-visible{outline:3px solid #ec7a83;outline-offset:2px}.submit span{font-size:23px}.divider{display:flex;align-items:center;gap:10px;margin:26px 0 18px;color:#777;font-size:10px;letter-spacing:1.5px;white-space:nowrap}.divider:before,.divider:after{content:"";height:1px;background:#d3d3d3;flex:1}.benefits{display:grid;grid-template-columns:repeat(3,1fr);text-align:center}.benefits>div{padding:0 7px;border-right:1px solid #d2d2d2}.benefits>div:last-child{border:0}.benefits b{display:block;color:#c70d20;font-size:24px;margin-bottom:7px}.benefits small{font-size:10px;line-height:1.4;color:#42454a}.error{background:#fff0f0;color:#98101c;border:1px solid #f0b7bd;border-radius:9px;padding:12px;margin-bottom:15px;font-size:13px}@media(max-width:900px){.layout{grid-template-columns:1fr;max-width:620px;margin:auto;padding:20px;gap:20px}.story{min-height:auto;padding:10px 4px}.story h1{font-size:clamp(28px,7vw,44px)}.story-sub{font-size:15px}.story-bottom{display:none}.login-panel{padding:25px}.scene-video{display:none}.scene-shade{background:linear-gradient(180deg,#0009,#0006)}}@media(max-width:450px){.layout{padding:14px}.story .eyebrow{font-size:10px}.story h1{font-size:28px}.story-sub{font-size:13px}.login-panel{border-radius:18px;padding:24px 18px}.logo{width:220px}.benefits small{font-size:9px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}.scene-video{display:none}}
/* AJUSTE FINAL: proporciones del mockup aprobado */
.layout{grid-template-columns:minmax(0,1fr) minmax(350px,480px);gap:clamp(20px,4vw,80px);padding:clamp(22px,3vw,52px)}
.story{min-height:min(690px,83svh)}
.story h1{font-size:clamp(32px,3.35vw,55px);letter-spacing:-1.2px;max-width:760px}
.story-sub{max-width:590px;font-size:clamp(15px,1.25vw,19px)}
.story-bottom{background:rgba(0,0,0,.28);border-radius:14px;padding:14px 8px;backdrop-filter:blur(3px)}
.story-bottom>div{padding-left:12px}.story-bottom strong{font-size:13px}.story-bottom small{font-size:11px}
.login-panel{padding:clamp(23px,2.5vw,37px);border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(255,255,255,.84))}
.logo{width:min(100%,260px);max-height:92px;margin-bottom:15px}
.login-panel h2{font-size:28px}.intro{margin-bottom:20px}
.input-wrap{height:50px}.input-wrap .field-icon{width:21px;height:21px;display:inline-flex;flex:0 0 21px;color:#c91f16}.field-icon svg{width:21px;height:21px}
.eye{display:flex;align-items:center;justify-content:center}.eye svg{width:21px;height:21px}
.submit{height:51px;margin-top:22px}.divider{margin:23px 0 16px}
.scene{background-position:center center}.scene-shade{background:linear-gradient(90deg,rgba(0,0,0,.45),rgba(0,0,0,.18) 55%,rgba(0,0,0,.08))}
@media(max-width:900px){.layout{grid-template-columns:1fr;padding:20px;gap:18px}.story{min-height:auto}.story h1{font-size:clamp(28px,6vw,42px)}.story-bottom{display:none}.login-panel{padding:25px}.scene-shade{background:linear-gradient(180deg,#0008,#0005)}}
@media(max-width:450px){.layout{padding:14px}.login-panel{padding:23px 18px}.logo{width:220px}}

/* Refinamiento fiel a la maqueta aprobada */
.layout{grid-template-columns:minmax(0,1fr) minmax(350px,455px);gap:clamp(25px,4vw,80px)}
.login-panel{padding:clamp(26px,2.7vw,40px);border-radius:22px;background:linear-gradient(155deg,rgba(255,255,255,.92),rgba(247,247,247,.80));}
.panel-inner{max-width:395px}
.logo{max-height:95px;width:min(100%,260px);margin-bottom:20px}
.login-panel h2{font-size:27px;margin-bottom:7px}
.intro{margin-bottom:23px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.input-wrap{height:52px;margin-bottom:13px;border-radius:10px;padding:0 14px;background:#fff}
.input-wrap>span.field-icon{width:20px;height:20px;flex:0 0 20px;display:flex;align-items:center;justify-content:center;color:#c90e21}
.field-icon svg{width:20px;height:20px;display:block;flex:none}
.input-wrap input{flex:1;width:100%;height:100%;padding:0;line-height:normal;appearance:none;border:0;box-shadow:none}
.input-wrap input:-webkit-autofill,.input-wrap input:-webkit-autofill:hover,.input-wrap input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px #fff inset!important;-webkit-text-fill-color:#252525!important}
.eye{display:flex;align-items:center;justify-content:center;padding:0;flex:0 0 28px;color:#5b6066}
.eye svg{width:19px;height:19px;display:block}
.submit{margin-top:20px;height:52px}
.divider{margin:23px 0 18px}
.divider span{display:flex;align-items:center;justify-content:center}
.divider svg{width:16px;height:16px;color:#8d939b}
.benefits b{display:flex;align-items:center;justify-content:center;height:30px;margin-bottom:6px;color:#c70d20}
.benefits b svg{width:25px;height:25px;display:block}
.story-icon{display:flex;align-items:center;justify-content:flex-start;height:33px}
.story-icon svg{width:29px;height:29px;display:block}
.story h1{font-size:clamp(32px,3.7vw,57px)}
.story-bottom{max-width:850px}
@media(max-width:900px){.layout{grid-template-columns:1fr}.login-panel{max-width:490px;margin:0 auto;width:100%}}
