/* Identidad visual de Alejoqqta para la Academia */
@font-face {font-family:Inter; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/fonts/inter-400.woff2') format('woff2')}
@font-face {font-family:Inter; font-style:normal; font-weight:600; font-display:swap; src:url('/assets/fonts/inter-600.woff2') format('woff2')}
@font-face {font-family:Inter; font-style:normal; font-weight:700; font-display:swap; src:url('/assets/fonts/inter-700.woff2') format('woff2')}
@font-face {font-family:Montserrat; font-style:normal; font-weight:700; font-display:swap; src:url('/assets/fonts/montserrat-700.woff2') format('woff2')}
@font-face {font-family:Montserrat; font-style:normal; font-weight:800; font-display:swap; src:url('/assets/fonts/montserrat-800.woff2') format('woff2')}
:root {--night:#061B2C; --panel:#0D2D3E; --deep:#041521; --turquoise:#00B8B5; --teal-text:#00716F; --gold:#E9B44C; --paper:#F6F9FC; --white:#fff; --text-muted:#536171; --light-muted:#BDD0DD; --dark-line:#345466; --line:#DCE3E9; --tint:#E7F5F4; --radius:8px}
h1,h2,h3 {font-family:Montserrat,Inter,system-ui,sans-serif}
.brand-logo {width:105px; height:auto; display:block; flex-shrink:0}
.brand-text {color:var(--paper)}
.search-label:focus-within {outline:3px solid var(--teal-text); outline-offset:2px}
#contenido a,#contenido button,#contenido input {scroll-margin-block:16px}
* {box-sizing:border-box}
html {scroll-behavior:smooth; scroll-padding-top:90px}
body {margin:0; font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif; color:var(--night); background:var(--paper); line-height:1.55}
a {color:inherit; text-decoration:none}
button,input {font:inherit}
.icon {display:inline-block; flex-shrink:0; vertical-align:-.22em}
.container {width:min(1200px,calc(100% - 48px)); margin:0 auto}
.skip-link {position:fixed; z-index:999; top:-80px; left:16px; background:var(--white); padding:12px 22px; border-radius:6px}
.skip-link:focus {top:12px}
a:focus-visible,button:focus-visible,input:focus-visible {outline:3px solid var(--teal-text); outline-offset:3px}
.site-header {height:76px; position:sticky; top:0; z-index:100; background:var(--night); border-bottom:1px solid var(--dark-line)}
.nav-shell {height:100%; width:min(1280px,calc(100% - 48px)); margin:auto; display:flex; align-items:center; justify-content:space-between; gap:24px}
.brand {display:inline-flex; align-items:center; gap:12px; color:var(--white); flex-shrink:0}
.brand-text {font-weight:790; letter-spacing:-.03em; font-size:20px; display:flex; flex-direction:column; line-height:1.1}
.brand-desc {font-size:11px; font-weight:400; letter-spacing:0; color:var(--light-muted); margin-top:5px}
.main-nav {display:flex; align-items:center; gap:24px; color:var(--paper); font-size:13px; font-weight:600}
.main-nav a:hover,.main-nav a[aria-current=page] {color:var(--turquoise)}
.menu-toggle {display:none; background:none; border:0; color:white; cursor:pointer}
.course-hero,.hub-hero {background:var(--night); color:var(--paper); position:relative; border-bottom:1px solid var(--dark-line)}
.hero-grid {display:grid; grid-template-columns:minmax(0,1.65fr) minmax(270px,.8fr); width:min(1200px,88%); margin:auto; min-height:545px; gap:clamp(25px,5vw,80px)}
.hero-copy {padding:48px 0 58px; align-self:center}
.breadcrumbs {display:flex; gap:10px; align-items:center; color:var(--light-muted); font-size:12px; margin-bottom:36px}
.breadcrumbs a:hover {text-decoration:underline}
.eyebrow,.section-kicker {font-size:12px; letter-spacing:.13em; font-weight:700; color:var(--teal-text); margin:0 0 16px; text-transform:uppercase}
.course-hero h1 {font-size:clamp(34px,3.8vw,57px); letter-spacing:-.045em; line-height:1.12; max-width:835px; margin:0 0 24px; font-weight:800}
.lead {font-size:clamp(16px,1.55vw,20px); color:var(--light-muted); line-height:1.55; max-width:780px}
.hero-actions {display:flex; gap:13px; flex-wrap:wrap; margin-top:30px}
.button {border:1px solid transparent; border-radius:var(--radius); display:inline-flex; align-items:center; justify-content:center; gap:10px; font-size:14px; font-weight:750; padding:13px 18px; transition:background .15s,transform .15s,color .15s}
.button:hover,.resource-download:hover,.social-feature:hover {transform:translateY(-2px)}
.button.bright {background:var(--turquoise); color:var(--night)}
.button.bright:hover {background:#55D8D0}
.button.ghost {border-color:var(--dark-line); color:var(--paper); background:transparent}
.button.ghost:hover {background:rgba(255,255,255,.1)}
.button.outline {border-color:var(--line); color:var(--teal-text)}
.button.outline:hover {background:var(--tint)}
.course-meta {display:flex; flex-wrap:wrap; gap:12px 23px; color:var(--light-muted); margin-top:43px; font-size:12px}
.course-meta span {display:inline-flex; gap:6px; align-items:center}
.course-meta .icon {width:16px; height:16px}
.hero-aside {padding:30px; background:var(--panel); border:1px solid var(--dark-line); border-bottom:3px solid var(--turquoise); border-radius:var(--radius); align-self:center; display:flex; flex-direction:column; gap:15px}
.aside-label {font-size:11px; letter-spacing:.15em; color:var(--light-muted); font-weight:800; position:relative; z-index:1}
.orbit {height:110px; display:grid; place-items:center}
.orbit-core {width:84px; height:84px; border:1px solid var(--dark-line); border-radius:50%; display:grid; place-items:center; background:var(--night); color:var(--turquoise)}
.orbit-core .icon {width:43px; height:43px; stroke-width:1.5}
.aside-foci {display:flex; gap:8px; flex-wrap:wrap}
.topic-chip {font-size:11px; background:var(--night); border:1px solid var(--dark-line); padding:6px 9px; border-radius:30px; color:var(--paper)}
.aside-note {color:var(--light-muted); font-size:11px; line-height:1.5}
.social-in-hero {grid-column:1/-1; background:var(--deep)}
.social-strip {display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:9px 12px; padding:18px 20px; border-top:1px solid rgba(255,255,255,.08); color:var(--paper)}
.social-caption {font-size:10px; font-weight:800; letter-spacing:.13em; color:var(--light-muted); margin-right:10px}
.social-link {font-size:11px; font-weight:700; display:inline-flex; align-items:center; gap:7px; padding:6px 8px; border-radius:8px; border:1px solid transparent}
.social-link.highlight {background:var(--panel); border-color:var(--dark-line)}
.social-link:hover {background:rgba(255,255,255,.1); color:white}
.social-link .icon {width:16px; height:16px}
.social-link .mini-out {width:11px; height:11px; opacity:.6}
.content-section {padding:90px 0}
.content-section.soft {background:var(--white); border-block:1px solid var(--line)}
.content-intro {padding:84px 0}
.intro-grid {display:grid; grid-template-columns:1fr 1.15fr; gap:80px; align-items:start}
.content-section h2,.related-course h2,.social-section h2 {font-size:clamp(29px,3.45vw,44px); font-weight:790; letter-spacing:-.045em; line-height:1.16; margin:0}
.content-section h2 span,.social-section h2 span {color:var(--teal-text)}
.body-large {font-size:16px; line-height:1.85; color:var(--text-muted); margin:8px 0 22px}
.info-note {display:flex; align-items:flex-start; gap:12px; border:1px solid var(--line); background:var(--tint); color:var(--night); border-radius:var(--radius); padding:18px 20px; font-size:13px; line-height:1.6}
.info-note .icon {margin-top:2px; color:var(--teal-text)}
.section-heading {display:flex; justify-content:space-between; align-items:end; gap:25px; margin-bottom:35px}
.section-heading .section-kicker {color:var(--teal-text); margin-bottom:10px}
.section-description {max-width:690px; color:var(--text-muted); font-size:15px; margin:12px 0 0; line-height:1.65}
.section-side {font-size:12px; color:var(--text-muted); text-align:right; max-width:210px}
.units-grid {display:grid; grid-template-columns:1fr 1fr; gap:16px}
.unit {background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:27px; display:flex; gap:20px; min-height:168px}
.unit-index {font-weight:800; font-size:34px; line-height:1; color:var(--teal-text); letter-spacing:-.06em}
.unit h3 {font-size:19px; line-height:1.3; margin:2px 0 11px}
.unit p,.exercise p {color:var(--text-muted); font-size:14px; margin:0; line-height:1.7}
.resources-count {font-size:12px; font-weight:800; background:var(--tint); border:1px solid var(--line); padding:8px 14px; color:var(--teal-text); border-radius:20px; white-space:nowrap}
.resource-filter {display:flex; flex-direction:column; gap:16px; margin-bottom:20px}
.search-label {display:flex; align-items:center; gap:10px; border-radius:var(--radius); border:1px solid var(--line); padding:0 16px; max-width:520px}
.search-label .icon {color:var(--teal-text)}
.search-label input {border:0; outline:0; background:transparent; width:100%; height:47px; font-size:14px; color:var(--night)}
.filter-tags {display:flex; gap:8px; flex-wrap:wrap}
.filter-tag {border:1px solid var(--line); background:var(--white); color:var(--text-muted); padding:8px 13px; border-radius:20px; cursor:pointer; font-size:12px; font-weight:750}
.filter-tag.active,.filter-tag:hover {background:var(--panel); color:var(--white); border-color:var(--panel)}
.resource-list {display:grid; gap:12px}
.resource[hidden],.no-results[hidden] {display:none!important}
.resource {border:1px solid var(--line); border-radius:var(--radius); padding:20px 22px; display:flex; align-items:center; gap:19px; background:var(--white)}
.resource-symbol {width:49px; height:49px; display:grid; place-items:center; background:var(--tint); border-radius:var(--radius); color:var(--teal-text); flex-shrink:0}
.resource-symbol .icon {width:25px; height:25px}
.resource-content {flex:1; min-width:0}
.resource-top {display:flex; align-items:center; gap:12px; font-size:11px; color:var(--text-muted)}
.resource-type {font-weight:800; color:var(--teal-text)}
.resource h3 {font-size:16px; margin:5px 0 5px; line-height:1.35}
.resource p {font-size:13px; color:var(--text-muted); margin:0; line-height:1.55}
.resource-download {display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:800; background:var(--panel); color:var(--white); border-radius:var(--radius); padding:11px 15px; white-space:nowrap; transition:transform .16s}
.resource-download:hover {background:var(--teal-text)}
.resource-download .icon {width:16px; height:16px}
.no-results {font-size:14px; text-align:center; padding:30px; color:var(--text-muted)}
.source-note {color:var(--text-muted); font-size:12px; margin-top:23px; line-height:1.7}
.exercises-grid {display:grid; grid-template-columns:1fr 1fr; gap:16px}
.exercise {background:var(--white); border:1px solid var(--line); padding:24px; display:flex; gap:16px; border-radius:var(--radius)}
.exercise-badge {width:35px; height:35px; border:1px solid var(--line); background:var(--tint); border-radius:var(--radius); display:grid; place-items:center; flex-shrink:0; font-size:12px; font-weight:850; color:var(--teal-text)}
.exercise h3 {font-size:16px; line-height:1.4; margin:0 0 8px}
.small-text {display:inline-block; font-size:11px; font-weight:750; color:var(--teal-text); margin-top:10px}
.assessment-grid {display:grid; grid-template-columns:1fr 1fr; gap:90px; align-items:center}
.assessment-card {border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:0 8px 28px #061B2C0D}
.assessment-header {display:flex; justify-content:space-between; align-items:center; background:var(--night); color:white; padding:20px 25px; font-size:14px; font-weight:800}
.assessment-row {display:flex; justify-content:space-between; align-items:center; gap:17px; border-bottom:1px solid var(--line); padding:15px 25px; font-size:13px}
.assessment-row:last-child {border-bottom:0}
.assessment-row strong {color:var(--teal-text); white-space:nowrap}
.text-link {display:inline-flex; gap:6px; align-items:center; color:var(--teal-text); font-weight:800; font-size:14px; border-bottom:1px solid currentColor; padding-bottom:3px}
.social-section {background:var(--night); color:var(--white); padding:85px 0}
.social-section-grid {display:grid; grid-template-columns:1fr 1fr; gap:90px}
.social-section h2 span {color:var(--turquoise)}
.social-section p:not(.section-kicker) {color:var(--light-muted); max-width:440px; line-height:1.7}
.social-actions {display:grid; gap:12px}
.social-feature {display:flex; align-items:center; gap:17px; background:var(--panel); border:1px solid var(--dark-line); padding:17px 20px; border-radius:var(--radius); transition:transform .15s}
.social-feature>.icon:first-child {width:29px; height:29px; color:var(--turquoise)}
.social-feature>div {display:flex; flex-direction:column; flex:1}
.social-feature strong {font-size:15px}
.social-feature span {font-size:12px; color:var(--light-muted)}
.social-mini {display:flex; gap:12px; flex-wrap:wrap; margin-top:12px}
.social-mini a {display:inline-flex; align-items:center; gap:6px; color:var(--light-muted); font-size:12px}
.social-mini .icon {width:15px; height:15px}
.related-course {background:var(--tint); padding:48px 0}
.related-inner {display:flex; align-items:center; justify-content:space-between; gap:20px}
.related-course h2 {font-size:26px}
.related-course p:not(.section-kicker) {color:var(--text-muted); margin:10px 0 0; font-size:14px}
.site-footer {background:var(--deep); color:var(--light-muted); padding:56px 0 26px}
.footer-inner {max-width:1200px; margin:0 auto; display:flex; justify-content:space-between; gap:35px; padding:0 24px 35px}
.footer-brand .brand-text {font-size:19px}
.footer-inner p {font-size:12px; color:var(--light-muted); max-width:410px}
.foot-nav {display:flex; gap:23px; align-items:start; font-size:12px}
.foot-nav a:hover {color:var(--white)}
.footer-rule {border-top:1px solid var(--dark-line); max-width:1200px; padding:22px 24px 0; margin:0 auto; font-size:11px; color:var(--light-muted)}
.footer-rule p {margin:4px 0; line-height:1.6}
.hub-hero {min-height:390px; display:flex; align-items:center; padding:66px 0 72px}
.hub-hero-content {position:relative}
.hub-hero h1 {font-size:clamp(42px,5.5vw,76px); font-weight:800; line-height:1.09; letter-spacing:-.052em; margin:0 0 24px}
.hub-hero h1 em {font-style:normal; color:var(--turquoise)}
.hub-hero .lead {max-width:690px}
.hub-hero-links {display:flex; gap:12px; flex-wrap:wrap; margin-top:31px}
.hub-hero-links-small {display:flex; align-items:center; gap:8px; margin-top:32px; color:var(--light-muted); font-size:12px}
.hub-hero-links-small .icon {width:18px; height:18px}
.hub-social {background:var(--deep)}
.hub-social .social-strip {border:0}
.hub-cards {display:grid; grid-template-columns:1fr 1fr; gap:23px}
.hub-card {min-height:343px; color:var(--paper); padding:clamp(24px,3.2vw,38px); display:flex; flex-direction:column; background:var(--panel); border:1px solid var(--dark-line); border-bottom:3px solid var(--turquoise); border-radius:var(--radius); transition:background .18s,border-color .18s}
.hub-card:hover {background:#123749; border-color:var(--turquoise)}
.hub-card-top {display:flex; justify-content:space-between; align-items:center; color:var(--gold); font-size:11px; font-weight:800; letter-spacing:.15em}
.hub-card-top .icon {width:49px; height:49px; opacity:.75}
.hub-card h3 {font-size:clamp(30px,3.2vw,42px); letter-spacing:-.04em; line-height:1.1; margin:28px 0 17px; max-width:400px}
.hub-card p {font-size:15px; color:var(--light-muted); max-width:420px; line-height:1.7}
.hub-tags {display:flex; gap:8px; flex-wrap:wrap; margin-top:19px}
.hub-tags span {font-size:11px; background:var(--night); border:1px solid var(--dark-line); border-radius:20px; padding:7px 10px}
.hub-card-footer {display:flex; justify-content:space-between; gap:10px; align-items:center; margin-top:auto; padding-top:28px; font-size:12px; color:var(--light-muted)}
.hub-card-footer strong {display:inline-flex; align-items:center; gap:6px; color:var(--turquoise)}
.hub-card-footer .icon {width:16px; height:16px}
.hub-info {margin-top:25px}
.hub-hero .eyebrow,.course-hero .eyebrow,.social-section .section-kicker,.aside-label {color:var(--gold)}
.site-header a:focus-visible,.site-header button:focus-visible,.site-footer a:focus-visible,.course-hero a:focus-visible,.hub-hero a:focus-visible,.hub-card:focus-visible,.hub-social a:focus-visible,.social-in-hero a:focus-visible,.social-section a:focus-visible {outline-color:var(--turquoise)}
.course-hero .hero-copy {min-width:0}
.course-hero .hero-grid,.course-hero .hero-copy {overflow-wrap:break-word}
.hub-cards {grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.main-nav a[aria-current=page] {text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:6px}
.menu-toggle {min-width:44px; min-height:44px}
.button.bright {border-color:var(--turquoise)}
.assessment-card {background:var(--white)}
.resource-download,.filter-tag {min-height:44px}
.hub-card h3 {margin-top:18px}
.related-course .button.outline,.search-label {border-color:#8CA2B0}
.outcomes {padding-inline-start:1.3rem; color:var(--text-muted)}
.outcomes li + li {margin-top:.7rem}
.syllabus-method {margin:0 0 26px}
.syllabus-sources a {color:var(--teal-text); text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere}
.syllabus-criteria {margin-top:24px}
.syllabus-criteria summary {cursor:pointer; font-weight:700; color:var(--teal-text)}
.syllabus-criteria summary:focus-visible {outline:3px solid var(--teal-text); outline-offset:3px}
#sectoriales .hub-card {min-height:0}
@media (max-width: 950px) {
  .hero-grid {grid-template-columns:1fr; min-height:0}
  .hero-aside {display:none}
  .content-section {padding:64px 0}
  .intro-grid,.assessment-grid,.social-section-grid {grid-template-columns:1fr; gap:28px}
  .social-caption {width:100%; text-align:center}
}
@media (max-width: 820px) {
  html {scroll-padding-top:16px}
  .container,.nav-shell,.hero-grid {width:calc(100% - 32px)}
  .site-header {height:auto; position:static}
  .nav-shell {height:auto; min-height:60px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0 12px; padding-block:6px}
  .brand {min-width:0; gap:8px}
  .brand-logo {width:64px}
  .brand-text {font-size:17px}
  .brand-desc {font-size:10px}
  .menu-toggle {display:block}
  .main-nav {grid-column:1/-1; display:none; flex-direction:column; align-items:stretch; gap:0; padding:6px 0; border-top:1px solid var(--dark-line)}
  .main-nav.open {display:flex}
  .main-nav a {padding:12px 5px}
  .course-hero h1 {font-size:clamp(30px,7.3vw,50px)}
  .hero-copy {padding:36px 0 42px}
  .breadcrumbs,.course-meta {margin-bottom:22px}
  .course-meta {margin-top:25px; margin-bottom:0}
  .social-strip {justify-content:start; padding:14px 0; gap:6px}
  .social-in-hero .social-strip {padding:14px 16px}
  .social-caption {text-align:left; margin-bottom:4px}
  .social-link .mini-out {display:none}
  .content-section,.social-section {padding:48px 0}
  .section-heading,.related-inner,.footer-inner {flex-direction:column; align-items:start}
  .section-side {text-align:left}
  .units-grid,.exercises-grid,.hub-cards {grid-template-columns:1fr}
  .unit {padding:20px; min-height:auto}
  .resource {flex-wrap:wrap; padding:16px; gap:12px}
  .resource-content {flex:1 1 65%}
  .resource-download {width:100%; justify-content:center}
  .assessment-row {padding:13px 16px}
  .footer-inner {padding-inline:16px}
  .foot-nav,.hub-card-footer {flex-wrap:wrap}
  .hub-hero {min-height:0; padding:52px 0}
  .hub-hero h1 {font-size:clamp(35px,9.5vw,62px)}
  .hub-card {min-height:0}
}
@media (prefers-reduced-motion: reduce) {
  html {scroll-behavior:auto}
  *,*:before,*:after {transition:none!important; animation:none!important}
}
