:root {
  color-scheme: light;
  --papel: #f7f8f3;
  --tarjeta: #fff;
  --texto: #173b34;
  --secundario: #435c53;
  --borde: #d0dacf;
  --marca: #123633;
  --acento: #d9f6a6;
  --tinta-enlace: #225f4b;
  --tinta-suave: #e8f0e2;
  --resalte: #974423;
  --ancho: 75rem;
  font-family: "DM Sans", "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --papel: #112521;
    --tarjeta: #19322b;
    --texto: #eef5e9;
    --secundario: #c2cec3;
    --borde: #3f584d;
    --tinta-enlace: #b6e6b3;
    --tinta-suave: #294a3c;
    --resalte: #ffcabc;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--papel); color: var(--texto); }
img { display: block; max-width: 100%; }
h1,h2,h3,p,ul,dl,dd,figure { margin: 0; }
h1,h2,h3 { line-height: 1.12; letter-spacing: -.025em; overflow-wrap: break-word; }
h1,h2,h3,.marca b { font-family: "Bricolage Grotesque", "DM Sans", "Segoe UI", system-ui, sans-serif; }
a { color: var(--tinta-enlace); text-underline-offset: .2em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .13em; }
:where(a,summary,main):focus-visible { outline: 3px solid var(--resalte); outline-offset: 4px; border-radius: .25rem; }
[hidden] { display: none !important; }
.saltar { position: absolute; z-index: 2; top: .6rem; left: .6rem; padding: .63rem 1rem; background: var(--tarjeta); border: 1px solid var(--borde); transform: translateY(-180%); }
.saltar:focus { transform: translateY(0); }
.limite { width: min(calc(100% - clamp(2rem,7vw,8rem)),var(--ancho)); margin-inline: auto; }
.cabecera { border-bottom: 1px solid var(--borde); }
.linea-cabecera,.linea-pie { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.linea-cabecera { min-height: 5.4rem; }
.marca { display: inline-flex; align-items: center; gap: .62rem; text-decoration: none; color: var(--texto); }
.marca img { border-radius: .64rem; }
.marca b { display: block; font-size: 1.54rem; line-height: 1; letter-spacing: -.045em; font-weight: 850; }
.marca small { display: block; margin-top: .18rem; font-size: .73rem; line-height: 1.15; letter-spacing: .005em; color: var(--secundario); }
.nav-principal,.nav-pie { display: flex; align-items: center; flex-wrap: wrap; }
.nav-principal { column-gap: clamp(.5rem,3vw,2.4rem); }
.nav-principal a,.nav-pie a { display: inline-flex; align-items: center; min-height: 44px; color: var(--texto); font-weight: 610; }
.nav-principal a { font-size: .94rem; text-decoration: none; }
.nav-principal a:hover,.nav-pie a:hover,.nav-principal a[aria-current] { text-decoration: underline; }
.nav-cuenta { gap: .45rem; padding: .36rem .9rem; border: 1px solid var(--borde); border-radius: 2rem; background: var(--tarjeta); }
.cuenta-marca { width: 1.1rem; height: 1.1rem; position: relative; overflow: hidden; color: var(--tinta-enlace); }
.cuenta-marca::before,.cuenta-marca::after { content:""; border: 1.7px solid currentColor; position: absolute; box-sizing: border-box; }
.cuenta-marca::before { width: .45rem; height: .45rem; border-radius: 50%; top: .03rem; left: .32rem; }
.cuenta-marca::after { width: .92rem; height: .55rem; bottom: .05rem; left: .08rem; border-radius: .6rem .6rem .15rem .15rem; }
.hero { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); margin-top: clamp(1.2rem,3vw,2.55rem); background: var(--marca); color: #f4f6e8; border-radius: 1.45rem; overflow: hidden; }
.hero-copy { padding: clamp(2rem,4.5vw,4.8rem) clamp(1.5rem,4.2vw,4rem); align-self: center; }
.contexto { display: flex; align-items: center; gap: .6rem; font-size: .9rem; letter-spacing: .02em; color: #c9ddce; font-weight: 580; }
.mini-via { display: inline-block; width: 1.5rem; height: 2px; background: #b2d5a3; }
.hero h1 { font-size: clamp(2.6rem,5.1vw,5.05rem); line-height: 1.05; font-weight: 700; letter-spacing: -.055em; margin: clamp(1.2rem,2.3vw,2rem) 0 1.15rem; }
.hero h1 em { font-style: normal; color: var(--acento); }
.entradilla { color: #e1ebe0; font-size: clamp(1.02rem,1.22vw,1.18rem); line-height: 1.55; max-width: 37ch; }
.acciones { display: flex; align-items: stretch; flex-wrap: wrap; gap: .65rem; margin-top: clamp(1.5rem,3vw,2.35rem); }
.boton { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; text-decoration: none; border: 1px solid transparent; border-radius: .58rem; font: inherit; font-weight: 660; line-height: 1.25; padding: .83rem .98rem; min-height: 46px; text-align: center; }
.boton span,.enlace span { font-weight: 500; }
.boton-fuerte { background: var(--acento); color: #19392d; }
.boton-fuerte:hover { background: #e6ffbc; }
.boton-inverso { border-color: #8caaa0; color: #f5f8ec; }
.boton-inverso:hover { background: #204946; }
.boton-verde { color: #fff; background: #18513f; }
.boton-verde:hover { background: #21664f; }
.hero :is(a,button):focus-visible { outline-color: #ffcb8c; }
.invitacion { margin-top: .9rem; color: #cfddd1; font-size: .9rem; }
.hero-ilustracion { position: relative; min-height: 28.5rem; background: #9cc6ab; }
.hero-ilustracion img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 60% 56%; }
.recorrer { padding: clamp(3.3rem,7vw,5.5rem) 0; }
.intro-seccion { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; align-items: end; margin-bottom: 1.6rem; }
.intro-seccion h2,.intro-preguntas h2 { font-size: clamp(1.75rem,3.2vw,2.72rem); line-height: 1.12; }
.intro-seccion p,.tarjeta p,.intro-preguntas,.acordeones p,.introduccion-articulo>p,.indice { color: var(--secundario); }
.intro-seccion p { justify-self: end; max-width: 35ch; }
.tarjetas { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.7rem,1.7vw,1.45rem); }
.tarjeta { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.18rem,2.55vw,2rem); border-radius: 1rem; background: var(--tarjeta); border: 1px solid var(--borde); }
.tarjeta h3 { font-size: clamp(1.25rem,1.9vw,1.55rem); margin: 1.4rem 0 .65rem; }
.tarjeta p { margin-bottom: 1.25rem; }
.enlace { display: inline-flex; gap: .5rem; align-items: center; padding: .22rem 0; min-height: 42px; font-weight: 660; text-decoration: underline; }
.tarjeta .enlace { margin-top: auto; }
.pictograma { position: relative; display: block; width: 2.6rem; height: 2.6rem; color: var(--tinta-enlace); background: var(--tinta-suave); border-radius: .64rem; }
.pictograma::before,.pictograma::after { content:""; position: absolute; }
.icono-libro::before,.icono-libro::after { width: .51rem; height: .9rem; top: .84rem; border: 1.5px solid currentColor; }
.icono-libro::before { left: .72rem; border-radius: .18rem .06rem .05rem .14rem; transform: skewY(9deg); }
.icono-libro::after { right: .70rem; border-radius: .06rem .18rem .14rem .05rem; transform: skewY(-9deg); }
.icono-examen::before { width: .92rem; height: 1.22rem; left: .86rem; top: .66rem; border: 1.6px solid currentColor; border-radius: .15rem; }
.icono-examen::after { width: .24rem; height: .44rem; left: 1.2rem; top: .97rem; border: solid currentColor; border-width: 0 1.7px 1.7px 0; transform: rotate(42deg); }
.icono-progreso::before { left: .75rem; bottom: .73rem; width: .18rem; height: .47rem; background: currentColor; box-shadow: .39rem 0 currentColor; }
.icono-progreso::after { left: 1.14rem; bottom: .73rem; width: .18rem; height: .8rem; background: currentColor; box-shadow: .39rem -.16rem currentColor; }
.preguntas { border-top: 1px solid var(--borde); display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(1.5rem,5vw,5rem); padding: clamp(2rem,5.5vw,4.5rem) 0; }
.intro-preguntas h2 { color: var(--texto); margin: 0 0 .75rem; }
.acordeones details { border-bottom: 1px solid var(--borde); }
.acordeones summary { padding: 1rem 2.25rem 1rem 0; position: relative; cursor: pointer; min-height: 48px; list-style: none; font-weight: 640; }
.acordeones summary::-webkit-details-marker { display: none; }
.acordeones summary::after { content:"+"; position: absolute; right: .3rem; top: .6rem; color: var(--tinta-enlace); font-size: 1.48rem; }
.acordeones details[open] summary::after { content:"−"; }
.acordeones p { padding: .1rem .4rem 1rem 0; }
.pie { border-top: 1px solid var(--borde); padding: 1.8rem 0 1.25rem; }
.nav-pie { gap: .3rem 1.35rem; }
.nav-pie a { font-size: .9rem; font-weight: 550; }
.final-pie { display: flex; justify-content: space-between; gap: 1.45rem; padding-top: 1.25rem; margin-top: 1.1rem; border-top: 1px solid var(--borde); color: var(--secundario); font-size: .82rem; }
.final-pie p { max-width: 85ch; }
.final-pie span { white-space: nowrap; }
.pagina-articulo { padding: 1.8rem 0 clamp(3rem,7vw,6rem); }
.miga { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; font-size: .9rem; color: var(--secundario); }
.miga a { display: inline-flex; align-items: center; min-height: 44px; }
.introduccion-articulo { padding: clamp(1rem,4vw,3rem) 0 clamp(1.7rem,5vw,3rem); border-bottom: 1px solid var(--borde); }
.introduccion-articulo h1 { font-size: clamp(2.4rem,5vw,4.4rem); line-height: 1.05; margin-bottom: .7rem; }
.introduccion-articulo>p { font-size: clamp(1.03rem,1.7vw,1.18rem); max-width: 55ch; }
.columnas-articulo { display: grid; grid-template-columns: minmax(12rem,.34fr) minmax(0,1fr); gap: clamp(1.3rem,5.5vw,5rem); padding-top: clamp(1.5rem,4vw,3.2rem); }
.indice { border-left: .22rem solid var(--tinta-enlace); padding-left: 1.12rem; }
.indice p { font-weight: 700; color: var(--texto); }
.indice ul { padding: .35rem 0 0; list-style: none; }
.indice a { display: flex; align-items: center; min-height: 44px; font-size: .93rem; }
.texto-articulo { max-width: 70ch; }
.bloque { padding: 0 0 1.8rem; margin: 0 0 1.9rem; border-bottom: 1px solid var(--borde); scroll-margin: 1.6rem; }
.bloque:last-child { border: 0; margin: 0; padding: 0; }
.bloque h2 { font-size: clamp(1.4rem,2.55vw,2rem); margin-bottom: .8rem; }
.bloque p+p,.bloque dl+p,.bloque p+.boton { margin-top: 1rem; }
.identificacion { display: grid; grid-template-columns: minmax(8rem,.7fr) 1.4fr; gap: .6rem 1rem; background: var(--tinta-suave); padding: 1rem; border-radius: .5rem; overflow-wrap: anywhere; }
.identificacion dt,.conceptos dt { font-weight: 700; }
.conceptos dd+dt { margin-top: .9rem; }
.conceptos dd { margin-top: .15rem; }
kbd { font-family: "IBM Plex Mono",monospace; font-size: .86em; background: var(--tarjeta); border: 1px solid var(--borde); border-radius: .22rem; padding: .06rem .22rem; }
@media (max-width: 52rem) {
  .hero { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
  .hero-copy { padding: 2.1rem 1.55rem; }
  .hero-ilustracion { min-height: 25rem; }
  .tarjetas { gap: .72rem; }
  .tarjeta { padding: 1rem; }
  .nav-conocer { display: none !important; }
}
@media (max-width: 39.99rem) {
  .limite { width: min(100% - 2rem,var(--ancho)); }
  .linea-cabecera { min-height: 4.6rem; }
  .marca img { width: 36px; height: 36px; }
  .marca b { font-size: 1.29rem; }
  .marca small { font-size: .62rem; }
  .nav-principal { column-gap: .55rem; }
  .nav-cuenta { padding-inline: .65rem; }
  .nav-principal a { font-size: .85rem; }
  .cuenta-marca { display: none; }
  .hero { grid-template-columns: 1fr; border-radius: 1rem; margin-top: 1rem; }
  .hero h1 { font-size: clamp(2.5rem,9.8vw,3.4rem); max-width: 13ch; }
  .hero-copy { padding: 1.65rem 1.25rem 1.52rem; }
  .corte-desktop { display: none; }
  .hero-ilustracion { min-height: 0; height: clamp(9rem,39vw,14rem); }
  .hero-ilustracion img { object-position: 50% 56%; }
  .acciones { margin-top: 1.25rem; }
  .intro-seccion,.tarjetas,.preguntas,.columnas-articulo { grid-template-columns: 1fr; }
  .intro-seccion p { justify-self: initial; }
  .recorrer { padding: 2.4rem 0; }
  .tarjeta { padding: 1.15rem; }
  .tarjeta h3 { margin: .8rem 0 .5rem; }
  .tarjeta p { margin-bottom: .6rem; }
  .preguntas { gap: .5rem; }
  .linea-pie,.final-pie { align-items: flex-start; flex-direction: column; }
  .final-pie { gap: .7rem; }
  .nav-pie { gap: .1rem .9rem; }
  .columnas-articulo { gap: 1.8rem; }
  .identificacion { grid-template-columns: 1fr; gap: .12rem; }
  .identificacion dd+dt { margin-top: .5rem; }
}
@media (max-width: 23rem) {
  .linea-cabecera { gap: .4rem; }
  .linea-cabecera .marca small { max-width: 10ch; }
  .hero .acciones a { width: 100%; }
  .hero-ilustracion { height: 8.5rem; }
}
@media (forced-colors: active) {
  .boton,.tarjeta,.nav-cuenta { border: 1px solid ButtonText; }
  .pictograma { border: 1px solid CanvasText; }
  .mini-via,.pictograma::before,.pictograma::after { forced-color-adjust: auto; }
}
@media print {
  .cabecera nav,.nav-pie,.pie,.saltar,.indice,.hero-ilustracion,.preguntas { display:none; }
  .limite { width:100%; }
  .hero,.tarjeta { background:white; color:black; border:1px solid #aaa; }
  .hero h1 em,.hero p,.hero a { color:black; }
  .columnas-articulo,.hero { display:block; }
}
.invitacion a { color: var(--acento); margin-inline-start: .3em; }
