/* KIRU Design System v1: identidad original inspirada en interfaces educativas gamificadas. */
:root{--green:#58cc02;--green-deep:#43a900;--lime:#a5ed6e;--pale:#e8ffd5;--blue:#1cb0f6;--navy:#042c60;--midnight:#000437;--text:#112754;--muted:#64748b;--gold:#ffd338;--paper:#fff;--background:#f2f8ff;--line:#dbe8f5;--radius:18px;--radius-lg:30px;--font:Nunito,'Trebuchet MS',system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font);font-weight:600;color:var(--text);background:var(--background);font-size:15px}a{text-decoration:none;color:inherit}button,input{font:inherit}button{cursor:pointer}img{max-width:100%}.skip{position:absolute;top:-70px;left:10px;background:#fff;padding:12px;z-index:999}.skip:focus{top:10px}.topbar{height:88px;background:linear-gradient(110deg,#063669,#052755 60%,#084a86);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 30px;gap:18px;border-bottom:3px solid var(--lime);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:11px;min-width:0}.brand img{width:57px;height:62px;filter:drop-shadow(0 2px 2px #002c54)}.brand-name{font-size:40px;line-height:1;font-weight:1000;letter-spacing:-2px}.brand-separator{height:38px;width:2px;background:#fff8;display:block}.brand-caption{font-size:17px;line-height:1.07;font-weight:900}.top-actions{display:flex;align-items:center;gap:10px}.header-pill{padding:10px 16px;border-radius:40px;border:2px solid #77c9ff;color:#fff;font-weight:900;font-size:15px;white-space:nowrap}.header-pill.guide{border-color:var(--lime);box-shadow:inset 0 -3px 0 #50a900}.avatar{background:var(--gold);width:47px;height:47px;color:#0d2b52;display:grid;place-items:center;border-radius:50%;font-weight:1000;border:3px solid white}.menu-toggle{display:none;background:transparent;border:0;color:#fff;font-size:30px}.shell{display:grid;grid-template-columns:275px minmax(0,1fr);min-height:calc(100vh - 88px)}.sidebar{background:#fff;border-right:2px solid #dbe7f4;padding:26px 14px 18px;position:sticky;top:88px;height:calc(100vh - 88px);overflow:auto}.sidebar-title{font-size:11px;letter-spacing:2px;color:#8592a9;font-weight:1000;padding:0 16px 14px}.sidebar nav{display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:12px;min-height:49px;padding:10px 13px;border-radius:15px;font-weight:900;color:#29436d}.nav-link:hover{background:#e9f9ff}.nav-link.active{background:var(--green);color:#fff;box-shadow:0 4px 0 #44a906}.nav-icon{font-size:23px;width:29px;text-align:center}.pill-mini{margin-left:auto;background:#1685ec;color:#fff;padding:3px 8px;border-radius:14px;font-size:10px}.sidebar-foot{margin-top:24px;padding:18px;background:#effde5;border:2px solid #b5ea92;border-radius:18px}.sidebar-foot p{margin-bottom:0;font-size:13px;color:#4c6c50}.main{min-width:0;background:linear-gradient(145deg,#f6fbff,#eaf4ff 70%,#f7fbff);position:relative;overflow:hidden}.main::before{content:'';position:absolute;top:0;left:0;right:0;height:385px;background:linear-gradient(#d6edff99,transparent),url('../img/paisaje-peru.svg') center top/cover;opacity:.15;pointer-events:none}.content-wrap{max-width:1570px;margin:auto;padding:28px 32px 35px;position:relative}.pageheading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:25px}.pageheading h1{font-size:35px;font-weight:1000;letter-spacing:-1px;margin:3px 0 0}.eyebrow{font-size:11px;letter-spacing:1.2px;font-weight:1000;color:#188d8b}.date-label{background:white;border:1px solid var(--line);padding:9px 14px;border-radius:20px;font-size:12px}.hero{position:relative;display:flex;align-items:center;gap:10px;min-height:370px;overflow:hidden;background:url('../img/paisaje-peru.svg') center/cover;border:2px solid #fff;outline:1px solid #b7d7f1;border-radius:35px;box-shadow:0 5px 0 #c2e0ef;padding:25px 29px}.hero::after{content:'';position:absolute;inset:auto -8% -50px auto;width:45%;height:92px;border-radius:70% 0 0 0;background:linear-gradient(#e71b38 50%,#fff 50%);transform:rotate(-9deg);opacity:.95}.hero-kiru{width:30%;min-width:230px;max-height:346px;object-fit:contain;align-self:flex-end;filter:drop-shadow(0 8px 0 #015c8340);z-index:2;animation:float 4s ease-in-out infinite}.hero-message{flex:1;z-index:2;min-width:0;background:linear-gradient(112deg,#083c71f5,#052653f5);border:2px solid #62cbff40;border-radius:32px;padding:27px 32px;color:white;box-shadow:0 8px 20px #002e5960}.hero-kicker{font-size:13px;letter-spacing:1px;color:#ffdb42;font-weight:1000}.hero-message h2{font-size:clamp(30px,3.3vw,51px);line-height:1.08;margin:11px 0;font-weight:1000;letter-spacing:-1.3px}.hero-message p{font-size:16px;line-height:1.6;max-width:720px;margin:0 0 18px}.hero-message strong{color:var(--lime)}.metrics{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:19px}.metric{color:#173c6c;background:#fff;border:2px solid #d9ffb5;border-radius:22px;padding:8px 11px;font-size:12px;font-weight:800}.metric b{font-size:16px}.hero-mark{position:absolute;z-index:3;right:39px;top:24px;font-size:32px;font-weight:1000;color:white;text-shadow:2px 3px #003c70;transform:rotate(7deg)}.hero-mark small{display:block;background:var(--gold);color:#172944;text-shadow:none;font-size:10px;text-align:center;padding:5px;border-radius:8px;transform:rotate(-4deg)}.btn{border-radius:14px;border:2px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:12px 17px;font-weight:1000;font-size:14px;transition:transform .12s,filter .12s;min-height:47px}.btn:hover{filter:brightness(1.05);transform:translateY(-1px)}.btn:active{transform:translateY(3px)}.btn-primary{background:var(--green);color:#102c3b;border-color:#a5f56b;border-bottom:5px solid #379400}.btn-outline{background:#fff;color:#20598c;border-color:#c9e0f0;border-bottom:4px solid #b3c7db}.btn-blue{background:#1cb0f6;color:white;border-bottom:5px solid #0876be}.cards-six{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px;margin:25px 0}.shortcut{position:relative;text-align:center;min-height:155px;background:linear-gradient(150deg,#fff,#f7ffef);border:2px solid #82e75a;border-bottom:5px solid #47b50d;border-radius:22px;padding:20px 10px 14px;display:flex;align-items:center;justify-content:center;gap:8px;flex-direction:column;transition:transform .15s}.shortcut:hover{transform:translateY(-5px)}.shortcut-icon{font-size:47px;line-height:1.2}.shortcut strong{font-size:14px;font-weight:1000;line-height:1.25}.shortcut .arrow{position:absolute;top:8px;right:11px;color:#9ac990}.lower-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:18px}.panel{border:2px solid #d5e5f4;border-bottom:4px solid #bfdaed;border-radius:24px;background:#fff;padding:23px;box-shadow:0 4px 11px #0b57900b}.panel h3{font-size:19px;margin:0 0 12px;font-weight:1000}.panel h2{margin:0 0 12px;font-size:29px;font-weight:1000}.panel p{color:#526982;line-height:1.55}.inline-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.inline-actions code{font-size:13px;color:#0b65cc;font-family:inherit;font-weight:900}.inline-actions .btn{font-size:12px;padding:8px 10px;min-height:40px}.demo-label{font-size:10px;background:#fff3cc;border-radius:6px;padding:3px 6px;color:#81610a}.progress-row{display:flex;align-items:center;gap:15px}.progress{flex:1;background:#d6f6c3;height:24px;border-radius:50px;overflow:hidden}.progress span{height:100%;display:block;border-radius:40px;background:linear-gradient(90deg,#54d600,#20b800)}.progress-row strong{font-size:27px;color:#12873b}.muted{font-size:12px;color:#7a8796!important}.learning-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:24px;background:linear-gradient(110deg,#fff,#e1fcf2)}.learning-preview>div{max-width:650px}.learning-preview img{width:155px;height:150px;object-fit:contain}.footer{font-size:12px;color:#7487a1;margin-top:27px;padding:15px 0;border-top:1px solid #d9e7f4}.route-head,.lesson-title,.guide-panel{display:flex;align-items:center;gap:22px}.route-head img,.lesson-title img,.guide-panel>img{width:160px;max-height:180px}.route-head{background:linear-gradient(120deg,#fff,#e6fff4)}.path{max-width:800px;margin:35px auto;display:grid;gap:15px}.lesson-node{display:flex;align-items:center;gap:19px;position:relative;background:#fff;border:2px solid #9ae87b;border-bottom:5px solid #40b10b;border-radius:25px;padding:18px 22px}.lesson-node:hover{background:#f6fff2}.node-circle{width:76px;height:76px;display:grid;place-items:center;background:#efffdc;border:3px solid #89e05a;border-radius:50%;font-size:38px}.node-content{display:flex;flex-direction:column;gap:3px;flex:1}.node-content small{font-size:11px;color:#208b5c;font-weight:1000}.node-content strong{font-size:21px;font-weight:1000}.node-content>span{color:#627992}.node-action{font-size:28px;color:#52ba0d}.locked{opacity:.72;border-color:#d9e3e7;border-bottom-color:#b7c6d3}.lesson-card{max-width:820px;margin:auto}.lesson-title{margin-bottom:22px}.lesson-title img{width:130px}.option{display:flex;gap:13px;align-items:center;border:2px solid #dce8f3;border-bottom:4px solid #cadae8;padding:16px;border-radius:14px;margin:10px 0;font-weight:800;cursor:pointer}.option:has(input:checked){border-color:#66d448;background:#f2ffe9}.option input{width:19px;height:19px;accent-color:#58cc02}.lesson-card form .btn{margin-top:14px}.achievements{text-align:center}.badge-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:27px}.badge-grid>div{font-size:56px;border:2px solid #b6e3fd;border-bottom:5px solid #a5cbe5;background:#f6fcff;border-radius:20px;padding:18px 10px;display:grid;gap:6px}.badge-grid strong{font-size:16px}.badge-grid small{font-size:12px;color:#63839a}.guide-panel{max-width:950px;margin:auto}.guide-panel>img{width:240px}.checklist{line-height:2.3;color:#136d8c;margin-bottom:18px}.module-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(115deg,#074d8b,#032957);border:2px solid #58b8e4;border-radius:30px;padding:36px 40px;color:#fff;min-height:290px}.module-banner h2{font-size:35px;margin:9px 0}.module-banner p{line-height:1.6;max-width:690px}.module-banner img{width:210px;max-height:230px}.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:20px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 22px;border-radius:15px;background:#062c5a;color:white;z-index:99;display:none}.toast.show{display:block}@keyframes float{50%{transform:translateY(-9px)}}:focus-visible{outline:3px solid #ffbd12;outline-offset:3px}@media(max-width:1250px){.cards-six{grid-template-columns:repeat(3,1fr)}.hero-mark{display:none}.hero-kiru{min-width:175px}.hero-message{padding:24px}.topbar{padding:0 18px}}@media(max-width:900px){.menu-toggle{display:block}.shell{grid-template-columns:1fr}.sidebar{position:fixed;top:88px;left:-290px;width:270px;height:calc(100vh - 88px);z-index:19;box-shadow:15px 0 20px #0c2b4830;transition:left .2s}.sidebar.open{left:0}.content-wrap{padding:22px 18px}.hero{min-height:360px}.hero-kiru{min-width:150px}.brand-caption{font-size:13px}.brand-name{font-size:32px}.brand img{width:46px}.date-label{display:none}.lower-grid{grid-template-columns:1fr}}@media(max-width:620px){.topbar{height:70px;padding:0 12px;gap:6px}.shell{min-height:calc(100vh - 70px)}.sidebar{top:70px;height:calc(100vh - 70px)}.brand{gap:5px}.brand img{width:40px;height:45px}.brand-name{font-size:29px}.brand-caption{display:none}.brand-separator{display:none}.top-actions{gap:5px}.header-pill{font-size:11px;padding:8px 9px}.header-pill.role span{display:none}.avatar{width:37px;height:37px}.pageheading h1{font-size:29px}.hero{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:9px 12px 15px}.hero-kiru{width:145px;height:155px;align-self:center;position:relative;z-index:3;margin-bottom:-13px}.hero-message{border-radius:21px;padding:18px;position:relative}.hero-message h2{font-size:29px}.hero-message p{font-size:14px}.metrics{gap:6px}.metric{font-size:10px;padding:7px}.metric b{font-size:12px}.cards-six{grid-template-columns:repeat(2,1fr);gap:10px}.shortcut{min-height:132px;padding:14px 7px}.shortcut-icon{font-size:38px}.shortcut strong{font-size:12px}.panel{padding:18px}.learning-preview img{width:100px}.learning-preview h3{font-size:17px}.route-head,.lesson-title,.guide-panel{flex-direction:column;text-align:center}.route-head img,.guide-panel img{max-width:150px}.module-banner{padding:20px;gap:8px}.module-banner img{width:95px}.module-banner h2{font-size:24px}.module-grid{grid-template-columns:1fr}.badge-grid{grid-template-columns:repeat(2,1fr)}.node-circle{width:55px;height:55px;font-size:28px}.lesson-node{padding:12px;gap:10px}.node-content strong{font-size:16px}.node-content>span{font-size:12px}.node-action{font-size:16px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
