html{scroll-behavior:smooth}body{background:#fff;font-size:16px;min-height:100vh;display:flex;flex-direction:column}a{color:inherit;text-decoration:none}a:not(.btn):hover{text-decoration:underline}button,input,select{font:inherit}button,a.btn,select{cursor:pointer}button:disabled{cursor:default;opacity:.64}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #337dc2;outline-offset:4px}[hidden]{display:none!important}
.skip{position:absolute;left:14px;top:10px;padding:10px;background:white;transform:translateY(-180%);z-index:10}.skip:focus{transform:none}
header.top{gap:20px;flex:none}.brand{color:var(--navy)}.nav{white-space:nowrap}.btn{line-height:1.4;min-height:42px}.form .input input,.input{font-size:14px}input.input,select.input{max-width:100%;min-width:0}.input:focus{color:var(--navy)}.stack>.btn{width:100%}.catalog-filters input{width:185px}
body>main,body>.shell{flex:1;width:100%}.site-footer{padding:20px clamp(20px,4vw,55px);border-top:1px solid var(--line);background:#fff;color:var(--muted);font-size:13px;display:flex;justify-content:space-between;gap:14px}.site-footer nav{display:flex;gap:16px;flex-wrap:wrap}.wrapcat{padding-bottom:36px}.wrapcat>.between{margin-bottom:18px}
.hero{min-height:350px;height:auto}.hero>.photo{background-position:center 38%}.herotext{align-self:center}.cover.p1,.dashcover.p1{background-position:center 32%}.cover.p4,.dashcover.p4{background-position:center 28%}.cc .cover{height:clamp(110px,13vw,170px)}.cc a{color:var(--blue);font-weight:700}.cc a::after{content:''}
.shell{min-height:calc(100vh - 135px);height:auto}.work{min-width:0}.work h1{font-size:clamp(32px,3.6vw,44px)}.work>.between .title{margin-bottom:16px}.work .t{min-width:540px}.work .card:has(>.t){overflow-x:auto}.railitem{min-height:42px}.shell .section-actions{margin-bottom:16px}.container .card,.work .card{min-width:0}
.coursebody nav,.tabs{flex-wrap:wrap}.tabs button{background:none;color:inherit;padding:0 2px 8px;font-size:14px;font-weight:700;text-align:left}.tabs button.active{color:var(--navy);border-bottom:2px solid var(--red)}.module .sm{flex-shrink:0}.module>strong{min-width:0}
.video{height:auto;aspect-ratio:16/9;background-position:center 26%;display:block}.video-player{width:100%;height:100%;display:block;object-fit:cover}.video-caption{display:block;margin:8px 0 0}
.answer{cursor:pointer}.answer input{margin:0;accent-color:var(--blue);width:18px;height:18px}.form label,.answer label{display:block;font-size:14px}.form .stack .input,.field-input{width:100%}.form select.input{display:block}
.result-box{margin-top:16px}.admin-label{padding:8px 14px;border-radius:8px;background:var(--pale);color:var(--navy);font-size:13px}.notice{margin-bottom:16px}.catalog-empty{margin-top:20px}.verify-layout{min-height:calc(100vh - 135px);height:auto!important}.text-link{color:var(--blue);font-weight:700;font-size:14px}.player-actions{margin-top:15px}.clip-input{max-width:100%}.form-grid .input{width:100%}
@media(max-width:950px){.hero h1{font-size:43px}.herotext,.container,.wrapcat,.courselead,.routehead{padding-left:30px;padding-right:30px}.videogrid{grid-template-columns:minmax(0,1fr) 280px}.shell{grid-template-columns:184px 1fr}.work{padding:25px 22px}.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.cert img{max-width:100%}}
@media(max-width:700px){header.top{height:auto;min-height:69px;padding:12px 16px;flex-wrap:wrap;gap:10px}.brand{gap:8px}.brand img{width:80px}.brand span{padding-left:8px;font-size:13px}.nav{gap:13px;max-width:100%;font-size:13px;flex-wrap:wrap}.nav .on{height:auto;padding:7px 0}.btn{padding:9px 12px;font-size:13px}.hero{grid-template-columns:1fr}.herotext{padding:27px 20px}.hero h1{font-size:39px}.hero>.photo{min-height:195px}.container,.wrapcat,.courselead,.routehead{padding:25px 17px}.title h1,.courselead h1,.routehead h1{font-size:36px}.grid3,.grid2,.split,.videogrid{grid-template-columns:1fr!important}.grid4{gap:9px}.grid4 .price{font-size:23px}.wrapcat .between:has(.catalog-filters),.work>.between,.player-actions{align-items:flex-start;flex-wrap:wrap}.catalog-filters{flex-wrap:wrap}.catalog-filters input{width:160px}.shell{grid-template-columns:1fr}.rail{display:flex;align-items:center;gap:4px;padding:8px 10px;border-right:0;border-bottom:1px solid var(--line);overflow-x:auto}.railhead,.rail>.line{display:none}.railitem{white-space:nowrap;padding:6px 9px}.work{padding:22px 17px}.site-footer{flex-direction:column;padding:15px 17px}.routeitem{grid-template-columns:39px 1fr;gap:10px}.routeitem .tag{grid-column:2;justify-self:start}.routeitem .step{width:38px;height:38px}.verify-layout .row{flex-wrap:wrap}.verify-layout .row .input{min-width:180px}.cert{min-height:0;padding:22px 15px}.cert h2{font-size:34px}.cert h3{font-size:27px}.work .card.pad{padding:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.mobile-aula,.mobile-toggle,.mobile-fallback,.nav-mobile-only{display:none}
.home-section{padding:42px clamp(19px,4vw,55px);border-top:1px solid var(--line)}
.home-heading{margin-bottom:20px}
.home-heading p{margin-top:7px}
.home-faq{display:grid;gap:9px;max-width:850px}
.home-faq details{padding:13px 15px;border:1px solid var(--line);border-radius:9px}
.home-faq summary{cursor:pointer;font-weight:700}
.home-faq p{margin-top:8px}
.home-propose{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px;background:var(--navy);color:white}
.home-propose p{margin-top:7px;color:#deebf5}
@media(max-width:760px){
  header.responsive-top{position:relative;z-index:10;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:9px;min-height:64px;height:auto;padding:10px 15px}
  header.responsive-top .brand{margin-right:auto;flex:none}
  header.responsive-top .brand img{width:83px}
  header.responsive-top .brand>span,header.responsive-top>.row{display:none}
  header.responsive-top .mobile-aula{display:inline-flex;font-size:14px;padding:8px 12px;min-height:42px}
  header.responsive-top .mobile-toggle{display:grid;place-items:center;width:44px;height:44px;border:1px solid #b8c9d7;border-radius:8px;color:var(--navy);background:#fff;flex:none}
  .hamburger-icon{display:grid;gap:4px;width:19px}
  .hamburger-icon i{display:block;width:19px;height:2px;background:currentColor;border-radius:2px}
  header.responsive-top>#site-navigation{display:none;position:absolute;top:100%;left:0;right:0;align-items:stretch;gap:2px;padding:8px 15px 13px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 8px 14px #102b4620}
  header.responsive-top.menu-open>#site-navigation{display:flex;flex-direction:column}
  header.responsive-top>#site-navigation a[href="/acceso.html"],header.responsive-top>#site-navigation a[href$="campus.html"],header.responsive-top>#site-navigation a[href="mi-aula.html"]{display:none}
  header.responsive-top>#site-navigation a{padding:10px 7px;min-height:44px;height:auto;border:0;border-radius:6px;color:var(--navy);display:flex;justify-content:flex-start;align-items:center;font-size:15px}
  header.responsive-top>#site-navigation a:hover,header.responsive-top>#site-navigation a.on{background:var(--pale)}
  .home-section{padding-top:27px;padding-bottom:28px}
}
body[data-screen="inicio"] .hero>.photo.p1{background-image:url('/assets/photo-1.webp')}
.home-faq{max-width:900px;gap:0;border-top:1px solid var(--line)}
.home-faq details{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:14px 0}
.home-faq summary{color:var(--navy)}
.home-faq summary::marker{color:var(--red)}
.hero-quote{margin:20px 0 24px;padding-left:15px;border-left:2px solid #e65a66}
.hero-quote blockquote{margin:0;max-width:39ch;color:#eef4fa;font-size:clamp(17px,2vw,21px);line-height:1.4}
.hero-quote figcaption{margin-top:7px;color:#c7daee;font-size:13px}
.wrapcat:has(+.home-stats){padding-bottom:14px}
.home-stats{
  display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:clamp(14px,3vw,35px);
  margin:0 clamp(17px,4vw,55px) 15px;padding:13px clamp(14px,2.3vw,28px);
  background:linear-gradient(110deg,var(--navy),#153d68);color:white;border-radius:10px
}
.home-stats h2{font-size:clamp(17px,2vw,22px);font-weight:650;white-space:nowrap;padding-inline-start:9px;border-inline-start:2px solid #ee6573}
.home-stats-list{display:grid;grid-template-columns:1.2fr 1fr 1fr;list-style:none;margin:0;padding:0}
.home-stats-list li{display:flex;min-width:0;align-items:center;gap:10px;padding-inline:clamp(9px,1.6vw,22px);border-inline-start:1px solid #ffffff28}
.home-stat-value{display:grid;gap:2px;white-space:nowrap}
.home-stat-value strong{font-size:clamp(22px,3vw,31px);line-height:1;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.home-stat-value span{color:#d9e7f5;font-size:clamp(12px,1.4vw,14px);line-height:1.2}
.home-stat-year{align-self:center}
.home-stat-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:8px;background:#ffffff12;color:#ecf3fa}
.home-stat-icon i{position:relative;display:block;width:18px;height:18px}
.home-stat-icon i::before,.home-stat-icon i::after{content:"";position:absolute;box-sizing:border-box}
.stat-cap::before{width:13px;height:9px;border:1.4px solid currentColor;left:2px;top:3px;transform:rotate(-34deg) skew(18deg,17deg);border-radius:1px}
.stat-cap::after{width:10px;height:6px;left:4px;bottom:2px;border:1.4px solid currentColor;border-top:0;border-radius:0 0 4px 4px}
.stat-book::before,.stat-book::after{width:8px;height:13px;top:3px;border:1.4px solid currentColor}
.stat-book::before{left:1px;border-radius:2px 3px 0 2px;transform:skewY(9deg)}
.stat-book::after{right:1px;border-left:0;border-radius:3px 2px 2px 0;transform:skewY(-9deg)}
.stat-calendar::before{inset:4px 1px 1px;border:1.4px solid currentColor;border-radius:3px;background:linear-gradient(currentColor,currentColor) 0 3px/100% 1px no-repeat}
.stat-calendar::after{width:1.4px;height:5px;top:1px;left:5px;background:currentColor;box-shadow:7px 0 currentColor;border-radius:1px}
@media(max-width:760px){
  .home-stats{grid-template-columns:1fr;gap:8px;padding:10px 14px}
  .home-stats-list li:first-child{padding-inline-start:0;border-inline-start:0}
}
@media(max-width:530px){
  .home-stats{margin-inline:12px;padding:9px 10px}
  .home-stats-list{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.78fr)}
  .home-stats-list li{gap:5px;padding-inline:5px}
  .home-stats-list li:last-child{padding-inline-end:0}
  .home-stat-value strong{font-size:clamp(16px,4.9vw,22px)}
  .home-stat-value span{font-size:clamp(10px,2.55vw,12px)}
  .home-stat-icon{width:20px;height:20px;border-radius:5px}
  .home-stat-icon i{transform:scale(.82)}
}
@media(max-width:340px){
  .home-stats-list li{gap:4px;padding-inline:4px}
  .home-stat-icon{width:17px;height:19px}
  .home-stat-icon i{transform:scale(.72)}
}

.blog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:1.25rem;max-width:64rem}
.blog-grid h3{margin:.5rem 0}
.blog-grid h3 a{color:var(--navy);text-decoration:underline;text-underline-offset:.16em}
.blog-entry{max-width:48rem;margin:auto;padding:clamp(2rem,5vw,4rem) 1.25rem}
.blog-entry .kicker{margin-top:2rem}
.blog-entry h1{font-size:clamp(2rem,5vw,3rem);line-height:1.12}
.blog-entry h2{margin-top:2rem;font-size:1.45rem}
.blog-entry article>p{margin-top:.8rem;line-height:1.65}

.portada-fotos{position:relative;overflow:hidden;min-height:clamp(230px,28vw,385px);background:#16364c}
.portada-fotos>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .65s ease}
.portada-fotos>img[aria-hidden=true]{opacity:0}
.portada-controles:not([hidden]){position:absolute;bottom:12px;right:14px;display:flex;align-items:center;background:#08294eea;color:white;border-radius:24px;padding:0 3px;font-size:13px}
.portada-controles button{width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:white;font:22px/1 system-ui;cursor:pointer}
.portada-controles button:focus-visible{outline:2px solid white;outline-offset:-4px}
@media(max-width:700px){.portada-fotos{min-height:0;aspect-ratio:2/1}}
@media(prefers-reduced-motion:reduce){.portada-fotos>img{transition:none}}

.portada-mensajes{display:grid}
.portada-mensajes>div{grid-area:1/1;align-self:center}
.portada-mensajes>[aria-hidden="true"]{visibility:hidden}
.hero .portada-mensajes p{max-width:40ch;margin:18px 0 24px;padding-left:14px;border-left:2px solid #e65a66;color:#eef4fa;font-size:clamp(17px,2vw,21px);line-height:1.4}
