:root{--red:#b40d13;--deep:#7d080d;--orange:#eba01c;--ink:#344253;--cream:#faf8f6;--line:#ece6e4}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}.shell{width:min(1380px,90%);margin:auto}button,a{font:inherit}button{cursor:pointer}.header{background:white;position:sticky;top:0;z-index:20;box-shadow:0 1px 8px #0000000c}.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:28px;text-decoration:none;color:#334258;white-space:nowrap}.brand img{width:222px;height:auto;display:block}.brand span{font-size:13px;letter-spacing:2.4px;border-left:1px solid #cdd1d7;padding-left:28px}.nav{display:flex;align-items:center;gap:34px}.nav a{text-decoration:none;color:#344253;font-size:15px;padding:10px 0}.nav a:hover,.nav a.active{color:var(--red)}.nav a.active{border-bottom:2px solid var(--red)}.login-button,.primary-button{border:0;border-radius:32px;background:var(--red);color:white;font-weight:600}.login-button{padding:14px 27px}.menu-toggle{display:none;background:transparent;border:0;font-size:27px;color:var(--red)}.hero{min-height:395px;background-image:linear-gradient(90deg,rgba(119,0,0,.95) 0%,rgba(151,9,9,.92) 38%,rgba(174,17,17,.72) 100%),url('assets/hero-workspace.webp');background-position:center,center right;background-size:cover;color:#fff}.hero-inner{display:flex;align-items:center;min-height:395px}.hero-copy{max-width:650px;padding:45px 0}.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(36px,4vw,59px);line-height:1.08;letter-spacing:-1px;margin:0 0 20px;font-weight:600}.hero p{font-size:19px;line-height:1.55;max-width:630px;margin:0 0 24px}.primary-button{background:var(--orange);padding:15px 29px;display:inline-flex;gap:17px;align-items:center;font-size:17px}.primary-button:hover,.login-button:hover{filter:brightness(1.08)}.resources{padding:26px 0 24px}.resource-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.resource-card{min-height:232px;background:linear-gradient(145deg,#fff,#fdfafa);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 20px #2000000a;display:flex;align-items:center;flex-direction:column;text-align:center;padding:19px 18px 15px;color:var(--ink);transition:transform .2s,box-shadow .2s}.resource-card:hover{transform:translateY(-3px);box-shadow:0 12px 22px #20000016}.card-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#fbe5e4;color:var(--red);font-size:36px;margin-bottom:15px}.resource-card strong{font-size:19px;color:var(--red);margin-bottom:7px}.resource-card>span:not(.card-icon):not(.card-arrow){font-size:15px;line-height:1.5;max-width:240px}.card-arrow{color:var(--red);border:2px solid #f6d3d1;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;margin-top:auto;font-size:21px}.closing{background:linear-gradient(160deg,#b50e13,#74070c);color:white;text-align:center;padding:30px 0 18px;position:relative;overflow:hidden}.closing:before,.closing:after{content:'';position:absolute;width:440px;height:440px;border:75px solid #e5373712;border-radius:48%;transform:rotate(35deg);pointer-events:none}.closing:before{left:-220px;top:-180px}.closing:after{right:-220px;bottom:-220px}.closing-inner{position:relative;z-index:1}.footer-logo{width:250px;max-width:65%;background:#fff;border-radius:8px;padding:6px;margin-bottom:18px}.closing h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,3vw,44px);font-weight:500;margin:6px 0}.closing h2 em{font-style:normal;color:var(--orange)}.short-line{height:1px;width:60px;background:#f6e3e3;margin:17px auto}.closing p{font-size:18px}.footer-bottom{margin-top:32px;padding:17px 0 0;border-top:1px solid #ffffff55;display:flex;justify-content:space-between;gap:16px;font-size:13px;color:#f9e7e7}.notice{border:0;border-radius:15px;max-width:400px;width:calc(100% - 40px);box-shadow:0 20px 80px #0005;padding:0}.notice::backdrop{background:#20080a77}.notice-content{padding:32px;position:relative}.notice h2{color:var(--red);margin:0 0 12px}.notice p{line-height:1.5}.close{position:absolute;right:12px;top:8px;background:none;border:0;font-size:28px}.notice-ok{background:var(--red);color:white;border:0;border-radius:8px;padding:11px 20px;margin-top:10px}@media(max-width:1100px){.brand span{font-size:11px;letter-spacing:1px;padding-left:15px}.brand{gap:15px}.brand img{width:185px}.nav{gap:18px}.resource-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.shell{width:90%}.header-inner{min-height:74px}.brand img{width:180px}.brand span{display:none}.menu-toggle{display:block}.nav{display:none;position:absolute;top:74px;left:0;right:0;background:white;box-shadow:0 10px 20px #0002;padding:16px 5% 24px;flex-direction:column;align-items:stretch;gap:12px}.nav.open{display:flex}.nav a{padding:9px}.login-button{width:100%}.hero,.hero-inner{min-height:430px}.hero{background-position:center,right center}.hero-copy{padding:44px 0}.hero p{font-size:17px}.resource-grid{grid-template-columns:repeat(2,1fr);gap:10px}.resource-card{min-height:220px;padding:16px 9px}.resource-card strong{font-size:16px}.resource-card>span:not(.card-icon):not(.card-arrow){font-size:13px}.footer-bottom{flex-direction:column;text-align:center}.closing{padding-top:34px}}@media(max-width:390px){.resource-grid{grid-template-columns:1fr}.resource-card{min-height:185px}.hero h1{font-size:36px}}

/* Portal de acceso */
.login-button,.primary-button{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.auth-body{min-height:100vh;background:#faf7f5}.auth-header{background:white;border-bottom:1px solid #eee}.auth-header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between}.auth-header img{width:220px;max-width:62vw}.back-link{color:#a30b11;text-decoration:none;font-size:14px}.auth-layout{min-height:calc(100vh - 82px);display:grid;grid-template-columns:1fr 1fr}.auth-side{padding:clamp(40px,6vw,110px);background:linear-gradient(130deg,#79080cde,#bd1119d9),url('assets/hero-workspace.webp') center/cover;color:white;display:flex;flex-direction:column;justify-content:center}.auth-side h1{font:normal clamp(38px,4vw,64px)/1.1 Georgia,serif;margin:0 0 20px}.auth-side p{max-width:510px;font-size:18px;line-height:1.6}.auth-tag{font-size:12px;letter-spacing:2.5px;color:#ffd183;font-weight:bold;margin-bottom:22px}.auth-side small{margin-top:40px;opacity:.8}.auth-panel{display:flex;align-items:center;justify-content:center;padding:40px 20px}.auth-card{width:min(430px,100%);background:white;border:1px solid #eee3e2;border-radius:18px;padding:clamp(26px,4vw,46px);box-shadow:0 18px 55px #57070b0b}.auth-card h2{font-size:29px;color:#262e3b;margin:0 0 10px}.auth-card .sub{color:#69707b;line-height:1.5;margin:0 0 28px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.field label{font-size:14px;font-weight:700;color:#374151}.field input{width:100%;padding:14px 15px;border:1px solid #d9dadd;border-radius:9px;font-size:16px}.field input:focus{outline:2px solid #e8a019;border-color:transparent}.auth-submit{background:#b40d13;color:#fff;width:100%;border:0;border-radius:9px;padding:15px;font-weight:bold;margin:6px 0 17px}.auth-submit:disabled{opacity:.65;cursor:wait}.auth-actions{display:flex;justify-content:center;gap:12px}.text-action{border:0;background:none;color:#a80c12;text-decoration:underline;padding:4px;font-size:14px}.auth-status{border-radius:8px;padding:12px;margin:10px 0 16px;line-height:1.5;font-size:14px;background:#fff3df;color:#704500}.auth-status.error{background:#fff0f0;color:#9b1016}.auth-status.success{background:#edf9f0;color:#20643a}.auth-status:empty{display:none}.auth-foot{font-size:13px;color:#69707b;margin-top:22px;text-align:center;line-height:1.5}.dash-body{background:#f9f8f7;min-height:100vh}.dash-header{background:white;border-bottom:1px solid #e9e3e3}.dash-header-inner{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:84px}.dash-header img{width:205px}.dash-logout{border:1px solid #c8b7b7;background:white;border-radius:8px;padding:10px 16px;color:#8f1015}.dash-main{padding:50px 0}.dash-kicker{color:#aa1418;letter-spacing:2px;font-size:12px;font-weight:bold}.dash-main h1{font:normal clamp(34px,4vw,48px) Georgia,serif;color:#292e38;margin:12px 0}.dash-main p{line-height:1.6;color:#68717b}.dash-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:32px}.dash-tile{background:white;border:1px solid #ece6e4;border-radius:14px;padding:25px;min-height:155px}.dash-tile h3{color:#ac0e15}.dash-tile p{font-size:14px}.dash-role{background:#fbe6e3;color:#a10d14;padding:7px 12px;border-radius:20px;display:inline-block;font-size:13px}.dash-notice{margin-top:30px;padding:20px;border-left:4px solid #e8a019;background:#fff9ed;color:#594b31;border-radius:5px}.hidden{display:none!important}@media(max-width:850px){.auth-layout{grid-template-columns:1fr}.auth-side{min-height:240px;padding:35px 6%}.auth-side h1{font-size:38px}.auth-side p{font-size:16px}.auth-side small{display:none}.auth-panel{padding:25px 5% 55px}.dash-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.auth-header img{width:160px}.back-link{font-size:12px}.dash-grid{grid-template-columns:1fr}.dash-header img{width:150px}}
