/* CursosIA Hero: separate, responsive, precise HTML composition */
body.home .hero {padding:38px 0 44px;background:radial-gradient(ellipse at 55% 50%,#edf8ff 0%,#f8fbff 37%,transparent 65%),linear-gradient(#fff,#fbfdff);overflow:hidden}
body.home .hero:before {width:18%;height:60%;top:19%;left:38%;background:linear-gradient(140deg,#c8efff,#d5e9ff 58%,#bad9ff);opacity:.8;transform:rotate(-27deg);filter:blur(2px);border-radius:45% 55% 50% 48%}
body.home .hero:after {width:21%;height:54%;right:0;bottom:4%;opacity:.6;z-index:0}
body.home .hero .hero-inner{width:min(89.5%,1320px);display:grid;grid-template-columns:minmax(0,41%) minmax(0,59%);gap:0;align-items:center;min-height:535px;position:relative;z-index:1}
body.home .hero .hero-copy{min-width:0;z-index:3;position:relative;padding:0 4px 0 0}
body.home .hero .eyebrow{font-size:14px;line-height:1.2;padding:8px 14px;border-radius:24px;font-weight:800;background:#e8f1ff;color:#568ce0}
body.home .hero h1{font-size:clamp(44px,3.8vw,56px);font-weight:900;letter-spacing:-1.8px;line-height:1.05;white-space:nowrap;max-width:none;margin:17px 0 18px}
body.home .hero h1 span{color:#4351ea}
body.home .hero-copy>p{font-size:17px;line-height:1.48;max-width:430px;margin:0 0 22px;color:#4d5974}
body.home .hero-ctas{gap:14px}
body.home .hero-ctas .btn{min-height:50px;font-size:14px;padding:11px 20px;border-radius:14px;justify-content:center}
body.home .hero-stats{margin-top:29px;gap:27px}
body.home .stat{gap:9px}
body.home .stat strong{font-size:19px;letter-spacing:-.2px}
body.home .stat small{font-size:11px;line-height:1.17;white-space:normal}
body.home .hero .hero-visual{position:relative;width:100%;height:100%;min-height:505px;display:flex;align-items:center;justify-content:flex-start;z-index:2;padding-left:0}
body.home .hero .dashboard-shell{position:relative;transform:none;margin:0;padding:10px;width:calc(100% - 95px);height:auto;overflow:visible;min-width:0;border:3px solid #fff;background:#ffffff66;border-radius:34px;box-shadow:0 18px 43px rgba(73,118,188,.12),0 0 0 4px #dfe9fc54;z-index:2}
body.home .hero .dashboard{width:100%;transform:none;zoom:1;min-height:445px;overflow:hidden;display:grid;grid-template-columns:20% 55% 25%;padding:17px 11px;border-radius:25px}
body.home .hero .dash-sidebar{padding-right:9px}
body.home .hero .dash-main{padding-inline:13px}
body.home .hero .mini-logo{font-size:12px}
body.home .hero .dash-nav span{font-size:11px;padding:9px 6px}
body.home .hero .dash-nav .icon{width:13px;height:13px}
body.home .hero .dash-main h3{font-size:19px}
body.home .hero .dash-sub{font-size:11px}
body.home .hero .dash-search{font-size:10px}
body.home .hero .dash-continue .line{font-size:10px}
body.home .hero .dash-small-title{font-size:12px}
body.home .hero .progress-cards div{font-size:9px;min-height:62px;padding:10px 5px}
body.home .hero .progress-cards strong{font-size:18px}
body.home .hero .lesson img{width:74px;height:45px}
body.home .hero .lesson-name{font-size:10px}
body.home .hero .reco strong{font-size:9px}
body.home .hero .teacher-panel{padding:12px 9px}
body.home .hero .teacher-panel h4{font-size:12px}
body.home .hero .teacher-panel .robot{width:95px;height:100px}
body.home .hero .teacher-panel p{font-size:9px}
body.home .hero .teacher-panel li{font-size:9px;padding:7px 4px;white-space:normal}
body.home .hero .dash-aside{padding-top:59px}
body.home .hero .side-note{position:absolute;right:0;top:116px;width:100px;color:#6961f4;transform:rotate(-10deg);font-family:'Comic Sans MS','Segoe Print',cursive;font-size:15px;font-style:italic;line-height:1.06;font-weight:600;z-index:3;display:block!important;pointer-events:none}
body.home .hero .side-note svg{display:block;position:relative;width:65px;height:72px;margin:0 auto;transform:rotate(15deg);overflow:visible}
body.home .hero .side-note svg path{stroke:#6961f4;stroke-width:3.3;stroke-linecap:round;stroke-linejoin:round;fill:none}
body.home .hero .side-sparks{position:absolute;right:2px;top:48px;width:45px;height:47px;transform:none;font-size:0;z-index:3;display:block!important}
body.home .hero .side-sparks span{display:block;position:absolute;width:2px;height:24px;background:#7166ff;border-radius:10px;transform:rotate(37deg)}
body.home .hero .side-sparks span:nth-child(1){top:0;right:25px}
body.home .hero .side-sparks span:nth-child(2){top:15px;right:12px;transform:rotate(50deg)}
body.home .hero .side-sparks span:nth-child(3){top:29px;right:0;transform:rotate(65deg)}
@media(min-width:701px) and (max-width:1199px){
 body.home .hero{padding:27px 0 32px}
 body.home .hero .hero-inner{grid-template-columns:minmax(0,41%) minmax(0,59%);min-height:355px}
 body.home .hero .hero-visual{min-height:345px}
 body.home .hero .eyebrow{font-size:11px;padding:6px 10px}
 body.home .hero h1{font-size:clamp(31px,3.7vw,44px);line-height:1.04;margin:13px 0 12px;letter-spacing:-1.25px}
 body.home .hero-copy>p{font-size:clamp(12px,1.15vw,15px);margin-bottom:14px}
 body.home .hero-ctas{gap:10px}
 body.home .hero-ctas .btn{font-size:12px;min-height:42px;padding:8px 12px}
 body.home .hero-stats{gap:12px;margin-top:19px}
 body.home .stat strong{font-size:14px}
 body.home .stat small{font-size:9px}
 body.home .hero .dashboard-shell{width:calc(100% - 51px);border-radius:25px;padding:7px;border-width:2px;overflow:hidden;height:auto}
 body.home .hero .dashboard{zoom:1;transform:scale(.71);transform-origin:top left;width:140.845%;height:465px;min-height:465px;padding:17px 11px}
 body.home .hero .dashboard-shell{height:345px}
 body.home .hero .side-note{top:74px;font-size:10px;width:58px;right:-4px}
 body.home .hero .side-note svg{width:43px;height:42px}
 body.home .hero .side-sparks{top:30px;right:-7px;transform:scale(.7)}
}
@media(max-width:700px){
 body.home .hero{padding:25px 0 32px}
 body.home .hero .hero-inner{grid-template-columns:1fr;gap:25px;min-height:0;width:min(92%,530px)}
 body.home .hero .hero-copy{padding:0}
 body.home .hero h1{font-size:clamp(30px,8.6vw,44px);line-height:1.06;letter-spacing:-1.25px;white-space:normal;margin:15px 0 16px}
 body.home .hero-copy>p{font-size:14px;max-width:490px}
 body.home .hero-ctas .btn{font-size:12px;min-height:46px;padding:9px 13px}
 body.home .hero-stats{margin-top:23px;gap:15px}
 body.home .stat strong{font-size:15px}
 body.home .stat small{font-size:10px}
 body.home .hero .hero-visual{width:100%;min-height:0;align-items:flex-start;display:block}
 body.home .hero .dashboard-shell{width:100%;height:auto;max-height:380px;padding:8px;border-radius:25px;overflow:hidden}
 body.home .hero .dashboard{zoom:1;transform:scale(.64);transform-origin:top left;width:156.25%;height:500px;min-height:500px;padding:16px 10px}
 body.home .hero .side-note,body.home .hero .side-sparks{display:none!important}
}
@media(max-width:420px){
 body.home .hero h1{font-size:clamp(29px,8.2vw,35px);letter-spacing:-.8px}
 body.home .hero .dashboard-shell{max-height:335px}
 body.home .hero .dashboard{transform:scale(.56);width:178.5714%}
}
@media(max-width:700px){
 body.home header .head-sign{display:none!important}
 body.home header .head-inner{min-width:0;gap:10px}
 body.home header .head-join{min-height:36px;font-size:10px;padding:8px 11px}
}
@media(max-width:420px){
 body.home header .head-join{display:none!important}
 body.home .hero .dashboard-shell{height:320px;max-height:320px}
}


/* Ajustes de composición HTML del panel */
/* Hero refinado: panel auténtico en HTML, anotación y robot independientes. */
body.home .hero{padding:10px 0 23px;background:transparent}
body.home .hero:before{content:none}
body.home .hero:after{content:none}
body.home .hero .hero-inner{width:min(89.5%,1550px);grid-template-columns:minmax(0,41%) minmax(0,59%);gap:0;min-height:455px}
body.home .hero h1{font-size:clamp(42px,3.8vw,64px);line-height:1.01;letter-spacing:-1.75px;margin:13px 0 15px}
body.home .hero-copy>p{font-size:clamp(15px,1.12vw,18px);line-height:1.44;max-width:500px;margin-bottom:20px}
body.home .hero-stats{margin-top:23px}
body.home .hero .hero-visual{min-height:435px}
body.home .hero .dashboard-shell{width:calc(100% - 92px);padding:9px;border-radius:32px}
body.home .hero .dashboard{min-height:367px;grid-template-columns:20% 55% 25%;padding:11px 10px}
body.home .hero .dash-sidebar{padding-right:8px}
body.home .hero .dash-nav span{font-size:10px;padding:7px 5px;gap:6px}
body.home .hero .mini-logo{font-size:12px;margin-bottom:12px}
body.home .hero .dash-aside{padding-top:38px}
body.home .hero .dash-main{padding-inline:12px}
body.home .hero .dash-top{height:35px}
body.home .hero .dash-main h3{font-size:18px}
body.home .hero .dash-sub{font-size:10px;margin-bottom:7px}
body.home .hero .dash-continue{padding:7px;margin-bottom:7px}
body.home .hero .dash-small-title{font-size:11px;margin:8px 0 5px}
body.home .hero .progress-cards div{min-height:51px;padding:7px 5px;font-size:8px}
body.home .hero .progress-cards strong{font-size:17px}
body.home .hero .lesson{margin-bottom:6px;padding:5px}
body.home .hero .lesson img{width:69px;height:38px}
body.home .hero .lesson-name{font-size:9px}
body.home .hero .reco .reco-icon{width:30px;height:32px}
body.home .hero .reco strong{font-size:8px}
body.home .hero .teacher-panel{padding:10px 9px}
body.home .hero .teacher-panel h4{font-size:12px;margin:0 0 6px}
body.home .hero .teacher-panel p{font-size:9px;margin:5px 0 6px}
body.home .hero .teacher-panel li{font-size:8.5px;padding:6px 4px}
body.home .hero .hero-robot-approved{display:block;width:112px;height:112px;object-fit:contain;object-position:center center;margin:2px auto 0;mix-blend-mode:normal;image-rendering:-webkit-optimize-contrast;filter:none}
body.home .hero .side-note{top:103px;right:0px;transform:rotate(-9deg);width:110px;line-height:1.06;font-size:13px;white-space:normal;overflow:visible}
body.home .hero .side-note .hero-side-note-copy{display:block;font-family:'Segoe Print','Bradley Hand','Comic Sans MS',cursive;font-weight:650;font-style:italic;font-size:13px;line-height:1.02;letter-spacing:-.1px}
body.home .hero .side-note svg{width:60px;height:62px;margin:3px 0 0 4px}
body.home .hero .side-sparks{top:44px;right:0}
@media(min-width:1200px){
 body.home .hero .hero-inner{min-height:465px}
 body.home .hero .dashboard-shell{width:calc(100% - 97px)}
 body.home .hero .dashboard{min-height:377px}
}
@media(min-width:701px) and (max-width:1199px){
 body.home .hero{padding:10px 0 19px}
 body.home .hero .hero-inner{min-height:310px}
 body.home .hero .hero-visual{min-height:305px}
 body.home .hero h1{font-size:clamp(29px,3.8vw,45px);line-height:1.02;margin:10px 0 10px}
 body.home .hero-copy>p{font-size:clamp(11px,1.24vw,15px);margin-bottom:11px}
 body.home .hero .dashboard-shell{height:294px;width:calc(100% - 49px);overflow:hidden;padding:6px}
 body.home .hero .dashboard{width:140.845%;min-height:398px;height:398px;transform:scale(.71);transform-origin:top left;padding:12px 10px}
 body.home .hero .side-note{top:69px;right:-2px;width:52px;font-size:9.5px}
 body.home .hero .side-note .hero-side-note-copy{font-size:9.5px}
 body.home .hero .side-note svg{width:34px;height:38px}
 body.home .hero .side-sparks{top:20px;right:-8px;transform:scale(.62)}
}
@media(max-width:700px){
 body.home .hero{padding:18px 0 30px}
 body.home .hero .hero-inner{grid-template-columns:1fr;min-height:0;gap:25px}
 body.home .hero h1{font-size:clamp(33px,8.6vw,44px);white-space:normal;line-height:1.08}
 body.home .hero .hero-visual{min-height:0}
 body.home .hero .dashboard-shell{width:100%;height:335px;max-height:none;overflow:hidden;padding:7px}
 body.home .hero .dashboard{width:156.25%;height:500px;min-height:500px;transform:scale(.64);transform-origin:top left;padding:16px 11px}
 body.home .hero .side-note,body.home .hero .side-sparks{display:none!important}
 body.home .hero .hero-robot-approved{width:96px;height:96px}
}
@media(max-width:420px){
 body.home .hero .dashboard-shell{height:309px;max-height:none}
 body.home .hero .dashboard{width:178.5714%;height:530px;min-height:530px;transform:scale(.56)}
}

body.dark.home .hero{background:transparent}
body.dark.home .hero:before,body.dark.home .hero:after{content:none}


/* CursosIA 2.4.6 — hero definitivo: imagen completa, texto real y sin fondo. */
body.home .hero{background:transparent;padding-block:32px 36px;overflow:hidden}
body.home .hero::before,body.home .hero::after{content:none!important;display:none!important}
body.home .hero .hero-inner{width:min(calc(100% - 2 * var(--ci-page-gutter)),var(--ci-page-width));max-width:var(--ci-page-width);grid-template-columns:minmax(0,41%) minmax(0,59%);gap:0;min-height:470px}
body.home .hero .hero-copy{min-width:0;padding:0 16px 0 0}
body.home .hero .hero-visual{min-height:430px;overflow:visible}
body.home .hero h1{font-size:clamp(40px,3.7vw,60px);line-height:1.04;letter-spacing:-1.7px;white-space:nowrap}
body.home .hero .dashboard-shell{width:calc(100% - 116px);transform:none;margin:0}
body.home .hero .dashboard{zoom:1}
body.home .hero .teacher-panel{display:flex;flex-direction:column;min-width:0}
body.home .hero .hero-robot-approved{display:block;width:min(100%,140px);height:137px;max-width:100%;object-fit:contain;object-position:center center;align-self:center;image-rendering:auto;mix-blend-mode:normal;margin:0 auto 2px;filter:none}
body.home .hero .side-note{right:-5px;top:102px;width:156px;transform:rotate(-10deg);z-index:5;color:#695cfa;display:block!important;white-space:normal;overflow:visible;line-height:1}
body.home .hero .side-note .hero-side-note-copy{display:block;color:#695cfa;font-size:17px;line-height:1.04;font-family:'Segoe Print','Bradley Hand','Comic Sans MS',cursive;font-weight:700;font-style:italic;letter-spacing:-.2px}
body.home .hero .side-note .hero-side-note-copy>span{display:block;white-space:nowrap}
body.home .hero .side-note svg{display:block;width:69px;height:70px;margin:4px 0 0 12px}
body.home .hero .side-note svg path{stroke:#695cfa;stroke-width:3.2;fill:none}
body.home .hero .side-sparks{right:2px;top:48px}
body.dark.home .hero{background:transparent}
body.dark.home .hero::before,body.dark.home .hero::after{content:none!important;display:none!important}
body.dark.home .hero h1,body.dark.home .hero .stat strong{color:#f2f6ff}
body.dark.home .hero-copy>p,body.dark.home .hero .stat small{color:#c0cce1}
body.dark.home .hero .dashboard-shell{background:rgba(224,235,255,.95);border-color:rgba(255,255,255,.94)}
body.dark.home .hero .dashboard{background:linear-gradient(160deg,#fbfdff,#f8faff);color:#0b1b48}
body.dark.home .hero .mini-logo,body.dark.home .hero .dash-main h3,body.dark.home .hero .dash-small-title,body.dark.home .hero .teacher-panel h4{color:#0b1b48}
@media (min-width:1200px) {
 body.home .hero .hero-inner{min-height:475px}
 body.home .hero .dashboard-shell{width:calc(100% - 130px)}
 body.home .hero .hero-visual{min-height:447px}
}
@media (min-width:701px) and (max-width:1199px){
 body.home .hero{padding:28px 0 33px}
 body.home .hero .hero-inner{grid-template-columns:minmax(0,41%) minmax(0,59%);min-height:350px}
 body.home .hero h1{font-size:clamp(29px,3.7vw,43px);white-space:nowrap}
 body.home .hero .hero-visual{min-height:320px}
 body.home .hero .dashboard-shell{width:calc(100% - 61px);height:306px;overflow:hidden;padding:7px}
 body.home .hero .dashboard{width:140.845%;height:420px;min-height:420px;transform:scale(.71);transform-origin:top left;zoom:1}
 body.home .hero .side-note{top:82px;right:-3px;width:87px}
 body.home .hero .side-note .hero-side-note-copy{font-size:clamp(10px,1.1vw,13px)}
 body.home .hero .side-note svg{width:43px;height:43px;margin:2px 0 0 3px}
 body.home .hero .side-sparks{top:26px;right:0;transform:scale(.65)}
}
@media(max-width:700px){
 body.home .hero{padding:24px 0 36px}
 body.home .hero .hero-inner{grid-template-columns:1fr;min-height:0;gap:24px}
 body.home .hero .hero-copy{padding:0}
 body.home .hero h1{font-size:clamp(32px,8.7vw,44px);white-space:normal}
 body.home .hero .hero-visual{min-height:0}
 body.home .hero .dashboard-shell{width:100%;height:335px;max-height:335px;overflow:hidden;padding:7px}
 body.home .hero .dashboard{zoom:1;transform:scale(.64);transform-origin:top left;width:156.25%;height:500px;min-height:500px}
 body.home .hero .side-note,body.home .hero .side-sparks{display:none!important}
 body.home .hero .hero-robot-approved{width:132px;height:128px}
}
@media(max-width:420px){
 body.home .hero .dashboard-shell{height:320px;max-height:320px}
 body.home .hero .dashboard{width:178.5714%;min-height:530px;height:530px;transform:scale(.56)}
}

/* Corrección final: las reglas heredadas de .side-note span daban 32px
   y rotaban cada línea. Esta anotación mantiene exactamente tres líneas HTML. */
body.home .hero .side-note .hero-side-note-copy>span{
 display:block!important;font-size:inherit!important;line-height:inherit!important;
 font-style:inherit!important;font-weight:inherit!important;letter-spacing:inherit!important;
 white-space:nowrap;transform:none!important;position:static!important;margin:0!important;
}
