:root{--asfalto:#111111;--asfalto-2:#2C3336;--amarillo:#FCC726;--amarillo-oscuro:#D6A31C;--amarillo-claro:#FDECBF;--rojo:#8A6A0E;--verde:#1E8E4A;--papel:#FFFFFF;--papel-2:#EAEAEB;--papel-3:#DBDBDB;--tinta:#2C3336;--gris:#5B6265;--linea:#DBDBDB;--claro:#E9E9E9;--claro-2:#B8BCBE;}
/* Talento Vial — hoja de estilos. Las variables de color se anteponen en build.py desde datos.COLORES. */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fuentes/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fuentes/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --titulos: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --texto: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radio: 18px;
  --radio-chico: 10px;
  --sombra: 0 18px 40px -22px rgba(0, 0, 0, .45);
  --ancho: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 1.0625rem/1.65 var(--texto); overflow-x: clip; }
body.sin-scroll { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, .h3 { overflow-wrap: break-word; hyphens: auto; font-family: var(--titulos); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--asfalto); }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.3rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 750; }
h3, .h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 4px; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.romper { overflow-wrap: anywhere; }
.caja { width: 100%; max-width: calc(var(--ancho) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.centro { text-align: center; margin-top: 2.5rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amarillo); color: var(--asfalto); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.saltar:focus { top: 12px; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn .ico { transition: transform .15s; }
.btn:hover .ico { transform: translateX(3px); }
.btn--amarillo { background: var(--amarillo); color: var(--asfalto); box-shadow: 0 6px 0 -1px var(--amarillo-oscuro); }
.btn--amarillo:hover { box-shadow: 0 8px 0 -1px var(--amarillo-oscuro); }
.btn--linea { border-color: currentColor; color: var(--asfalto); background: transparent; }
.btn--texto { background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; color: inherit; padding-inline: .6em; }
.btn--grande { min-height: 56px; padding: .85em 1.6em; font-size: 1.06rem; }
.btn--chico { min-height: 42px; padding: .5em 1.05em; font-size: .94rem; }
.btn--ancho { width: 100%; }
.enlace-flecha { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--asfalto); text-decoration: none; border-bottom: 3px solid var(--amarillo); padding-bottom: 2px; }
.enlace-flecha:hover .ico { transform: translateX(3px); }
.enlace { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.x { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--linea); background: #fff; color: var(--asfalto); }
.x:hover { background: var(--amarillo); border-color: var(--amarillo); }
.x--chica { width: 36px; height: 36px; }
.etiqueta { display: inline-flex; align-items: center; gap: .55em; margin: 0 0 .9rem; font: 700 .8rem/1 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--rojo); }
.etiqueta::before { content: ""; width: 26px; height: 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--amarillo) 0 8px, transparent 8px 12px); }
.etiqueta--clara { color: var(--amarillo); }

/* ---------- franja y cabecera ---------- */
.franja { background: var(--asfalto); color: var(--claro); font-size: .86rem; }
.franja__fila { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; justify-content: flex-end; padding-block: .45rem; }
.franja__fila > * { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; }
.franja .ico { color: var(--amarillo); width: 1em; height: 1em; }
.cabecera { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); }
.cabecera__fila { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.marca { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--asfalto); margin-right: auto; }
.marca__txt { display: flex; flex-direction: column; line-height: 1; }
.marca__txt b { font: 800 1.35rem/1 var(--titulos); letter-spacing: -.02em; }
.marca__txt small { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin-top: .3em; }
.marca--chica b { font: 800 1.15rem/1 var(--titulos); }
.marca--clara { color: #fff; }
.marca--clara small { color: var(--claro-2); }
.nav ul { display: flex; gap: .2rem; }
.nav a { display: block; padding: .5rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { background: var(--papel-2); }
.nav a[aria-current="page"] { background: var(--asfalto); color: #fff; }
.hamburguesa { display: none; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--asfalto); color: var(--amarillo); place-items: center; }
.hamburguesa .ico { width: 26px; height: 26px; }
@media (max-width: 1060px) {
  .nav { display: none; }
  .hamburguesa { display: inline-grid; }
}
@media (max-width: 560px) {
  .cabecera__cta { display: none; }
  .franja__dir { display: none !important; }
  .franja__fila { justify-content: space-between; }
}
@media (max-width: 360px) {
  .marca__txt small { display: none; }
  .logo-marca { width: 34px; height: 34px; }
}

/* ---------- panel lateral ---------- */
.velo { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .55); }
.velo[hidden] { display: none; }
.panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(380px, calc(100% - 48px)); background: var(--papel); padding: 1.1rem 1.4rem 2rem; display: flex; flex-direction: column; gap: 1.2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; }
.panel.abierto { transform: none; visibility: visible; transition: transform .28s ease; }
.panel__cabeza { display: flex; align-items: center; justify-content: space-between; }
.panel__nav a { display: flex; justify-content: space-between; padding: .85rem .2rem; border-bottom: 1px dashed var(--linea); font: 700 1.3rem/1.2 var(--titulos); text-decoration: none; color: var(--asfalto); }
.panel__nav a[aria-current="page"] { color: var(--rojo); }
.panel__contacto { display: grid; gap: .7rem; font-size: .95rem; color: var(--gris); }
.panel__contacto > * { display: flex; gap: .55em; align-items: center; text-decoration: none; }

/* ---------- héroe ---------- */
.heroe { position: relative; padding: clamp(2.2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem); background:
  radial-gradient(900px 400px at 100% 0, var(--amarillo-claro), transparent 70%); }
.heroe__rejilla { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.heroe__lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--tinta); max-width: 34em; }
.subrayado { position: relative; white-space: nowrap; z-index: 0; }
.subrayado::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .32em; background: var(--amarillo); z-index: -1; border-radius: 4px; transform: skewX(-12deg); }
.heroe__btns { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1.6rem; }
.heroe__datos { display: flex; flex-wrap: wrap; gap: .55rem 1.3rem; font-weight: 600; font-size: .96rem; }
.heroe__datos li { display: inline-flex; align-items: center; gap: .4em; }
.heroe__datos .ico { color: var(--verde); }
.heroe__foto { position: relative; margin: 0; }
.heroe__foto img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 55% 30%; border-radius: 120px 26px 26px 26px; box-shadow: var(--sombra); }
.heroe__foto::before { content: ""; position: absolute; inset: auto -14px -14px 40px; height: 70%; border-radius: 26px; background: repeating-linear-gradient(-45deg, var(--asfalto) 0 14px, var(--amarillo) 14px 28px); z-index: -1; }
.heroe__foto { isolation: isolate; }
.placa { position: absolute; left: -10px; bottom: 24px; display: grid; background: var(--asfalto); color: #fff; padding: .8rem 1.1rem; border-radius: 14px; border: 3px solid var(--amarillo); box-shadow: var(--sombra); }
.placa b { font: 800 1.5rem/1 var(--titulos); color: var(--amarillo); }
.placa span { font-size: .85rem; }
@media (max-width: 900px) {
  .heroe__rejilla { grid-template-columns: 1fr; }
  .heroe__foto { margin-inline: 6px 14px; }
  .placa { left: 10px; }
}

/* ---------- secciones ---------- */
.seccion { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.seccion--corta { padding-bottom: 1.5rem; }
.seccion--sin-arriba { padding-top: 1rem; }
.seccion--papel { background: var(--papel-2); }
.seccion--asfalto { background: var(--asfalto); color: var(--claro); position: relative; }
.seccion--asfalto h2, .seccion--asfalto h3 { color: #fff; }
.titular { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; align-items: end; margin-bottom: 2.6rem; }
.titular h2 { margin: 0; }
.titular > p { color: var(--gris); margin: 0; }
.titular--claro > p { color: var(--claro-2); }
@media (max-width: 800px) { .titular { grid-template-columns: 1fr; } }

/* valores */
.valores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.valor { position: relative; padding: 1.6rem 1.4rem 1.4rem; border-radius: var(--radio); background: #fff; border: 1px solid var(--linea); }
.valor__ico { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1rem; border-radius: 12px; background: var(--amarillo); color: var(--asfalto); transform: rotate(45deg); }
.valor__ico .ico { transform: rotate(-45deg); width: 26px; height: 26px; }
.valor p { color: var(--gris); margin: 0; font-size: .98rem; }
@media (max-width: 1000px) { .valores { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .valores { grid-template-columns: 1fr; } }

/* tarjetas de curso */
.cursos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.tcurso { display: flex; flex-direction: column; background: #fff; border-radius: var(--radio); padding: 1.6rem; border: 1px solid var(--linea); transition: transform .18s, box-shadow .18s; }
.tcurso:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.tcurso .senal { width: 56px; height: 56px; margin-bottom: .9rem; }
.tcurso h3 { margin-bottom: .35rem; }
.tcurso__para { font-weight: 600; color: var(--asfalto); margin: .8rem 0 .5rem; }
.tcurso p { color: var(--gris); }
.tcurso__pie { margin-top: auto; padding-top: .4rem; }
.tcurso--cta { background: var(--asfalto); border-color: var(--asfalto); justify-content: center; }
.tcurso--cta h3 { color: #fff; }
.tcurso--cta p { color: var(--claro-2); }
.tcurso--cta .btn { align-self: flex-start; }
@media (max-width: 1000px) { .cursos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cursos { grid-template-columns: 1fr; } }
.medidor { display: inline-flex; align-items: center; gap: .5em; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gris); }
.medidor__b { display: inline-flex; gap: 3px; align-items: flex-end; }
.medidor i { width: 6px; border-radius: 2px; background: var(--linea); }
.medidor i:nth-child(1) { height: 8px; } .medidor i:nth-child(2) { height: 12px; } .medidor i:nth-child(3) { height: 16px; }
.medidor i.on { background: var(--verde); }

/* carretera (etapas) */
.carretera { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: km; }
.carretera::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 6px; background: repeating-linear-gradient(90deg, var(--amarillo) 0 34px, transparent 34px 54px); }
.carretera li { position: relative; padding-top: 4.4rem; }
.carretera h3 { font-size: 1.15rem; }
.carretera p { color: var(--claro-2); font-size: .96rem; margin: 0; }
.km { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 12px; background: #fff; color: var(--asfalto); font: 800 1.5rem/1 var(--titulos); border: 4px solid var(--verde); }
@media (max-width: 1000px) {
  .carretera { grid-template-columns: 1fr; gap: 0; }
  .carretera::before { left: 27px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; background: repeating-linear-gradient(180deg, var(--amarillo) 0 30px, transparent 30px 48px); }
  .carretera li { padding: .4rem 0 2rem 5.2rem; min-height: 80px; }
}

/* dúo foto + texto */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.duo__foto { margin: 0; position: relative; }
.duo__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radio); box-shadow: var(--sombra); }
.duo__foto::after { content: ""; position: absolute; top: -12px; right: -12px; width: 64px; height: 64px; border-radius: 12px; background: var(--amarillo); z-index: -1; }
.duo__foto { isolation: isolate; }
.duo--invertido .duo__foto { order: 2; }
.duo__texto > p { color: var(--tinta); }
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; }
  .duo--invertido .duo__foto { order: 0; }
  .duo__foto { margin-right: 12px; }
}
.lista-ok { display: grid; gap: .6rem; margin: 1.2rem 0 1.8rem; }
.lista-ok li { display: flex; gap: .65em; align-items: flex-start; }
.lista-ok .ico { margin-top: .22em; color: #fff; background: var(--verde); border-radius: 50%; padding: 3px; width: 1.25em; height: 1.25em; }
.direccion { display: flex; gap: .6em; align-items: flex-start; }
.direccion .ico { margin-top: .25em; color: var(--rojo); }

/* mosaico + visor */
.mosaico { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mosaico li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaico__item { position: relative; display: block; height: 100%; border-radius: var(--radio); overflow: hidden; }
.mosaico__item picture, .mosaico__item img { height: 100%; }
.mosaico__item img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .35s; }
.mosaico__item:hover img { transform: scale(1.04); }
.mosaico__lupa { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--amarillo); color: var(--asfalto); }
@media (max-width: 700px) {
  .mosaico { grid-template-columns: 1fr 1fr; }
  .mosaico li:nth-child(1) { grid-column: span 2; grid-row: auto; }
}
.visor { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 10, 10, .94); color: #fff; }
.visor::backdrop { background: rgba(10, 10, 10, .6); }
.visor__fig { margin: 0; height: 100%; display: grid; place-items: center; align-content: center; gap: .8rem; padding: 70px 16px 60px; }
.visor__fig img { max-width: min(1200px, 100%); max-height: calc(100dvh - 170px); width: auto; height: auto; border-radius: 12px; }
.visor__fig figcaption { text-align: center; font-size: .95rem; color: var(--claro); max-width: 60ch; }
.visor__x { position: absolute; top: 14px; right: 14px; }
.visor__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--amarillo); color: var(--asfalto); display: grid; place-items: center; }
.visor__ant { left: 12px; } .visor__sig { right: 12px; }
.visor__cuenta { position: absolute; top: 24px; left: 20px; margin: 0; font-weight: 700; }
@media (max-width: 600px) { .visor__nav { top: auto; bottom: 10px; transform: none; } }

/* preguntas */
.preguntas-inicio { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
@media (max-width: 860px) { .preguntas-inicio { grid-template-columns: 1fr; gap: 1.5rem; } }
.pregunta { border-bottom: 2px solid var(--linea); }
.pregunta summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; cursor: pointer; list-style: none; font: 700 1.12rem/1.3 var(--titulos); color: var(--asfalto); }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta__signo { position: relative; flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--amarillo); transform: rotate(45deg); transition: transform .2s; }
.pregunta__signo::before, .pregunta__signo::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 3px; background: var(--asfalto); transform: translate(-50%, -50%) rotate(-45deg); }
.pregunta__signo::after { transform: translate(-50%, -50%) rotate(45deg); transition: opacity .2s; }
.pregunta[open] .pregunta__signo::after { opacity: 0; }
.pregunta[open] .pregunta__signo { background: var(--asfalto); }
.pregunta[open] .pregunta__signo::before { background: var(--amarillo); }
.pregunta div p { color: var(--tinta); padding-right: 2.5rem; }
.preguntas-pagina { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .preguntas-pagina { grid-template-columns: 1fr; } }

.tarjeta-contacto { display: grid; gap: .65rem; padding: 1.6rem; border-radius: var(--radio); background: var(--asfalto); color: var(--claro); position: sticky; top: 100px; }
.tarjeta-contacto h2, .tarjeta-contacto .h3 { color: #fff; margin: 0; }
.tarjeta-contacto p { margin: 0; display: flex; gap: .5em; align-items: flex-start; font-size: .95rem; }
.tarjeta-contacto a { display: flex; align-items: center; gap: .55em; color: #fff; text-decoration: none; font-weight: 700; }
.tarjeta-contacto .ico { color: var(--amarillo); }

/* CTA */
.cta { padding: 0 0 clamp(3.5rem, 7vw, 6rem); }
.cta__caja { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; padding-block: clamp(2.2rem, 4vw, 3.4rem); padding-inline: clamp(1.4rem, 4vw, 3.4rem); max-width: var(--ancho); width: calc(100% - 2 * var(--gutter)); border-radius: 28px; color: var(--claro);
  background: linear-gradient(135deg, var(--asfalto), var(--asfalto-2)); position: relative; overflow: hidden; }
.cta__caja::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 30px; transform: rotate(45deg); border: 18px solid var(--amarillo); opacity: .25; }
.cta__caja > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta__caja > div:first-child { flex: 1 1 380px; }
.cta__caja p { margin: 0; }
.cta__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; }
.cta__tel { display: inline-flex; align-items: center; gap: .6em; color: #fff; text-decoration: none; font: 700 1.3rem/1.1 var(--titulos); }
.cta__tel small { display: block; font: 500 .8rem/1.2 var(--texto); color: var(--claro-2); }
.cta__tel .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--amarillo); }

/* portadilla de páginas internas */
.portadilla { position: relative; padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.6rem); background: var(--asfalto); color: var(--claro); }
.portadilla h1 { color: #fff; max-width: 18em; font-size: clamp(2.1rem, 5vw, 3.6rem); }
.portadilla__txt { font-size: 1.12rem; max-width: 40em; color: var(--claro-2); margin: 0; }
.carril { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: repeating-linear-gradient(90deg, var(--amarillo) 0 60px, var(--asfalto) 60px 92px); }
.migas { display: flex; flex-wrap: wrap; gap: .3rem; font-size: .88rem; margin-bottom: 1.5rem; color: var(--claro-2); }
.migas li + li::before { content: "›"; margin-right: .3rem; }
.migas a { text-decoration: none; }
.migas a:hover { color: var(--amarillo); }
.migas li:last-child a { color: #fff; font-weight: 600; }

/* página cursos */
.indice-cursos ul { display: flex; flex-wrap: wrap; gap: .6rem; }
.indice-cursos a { display: inline-flex; align-items: center; gap: .55em; padding: .45rem 1rem .45rem .45rem; border-radius: 999px; background: #fff; border: 1px solid var(--linea); text-decoration: none; font-weight: 700; }
.indice-cursos b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--amarillo); font-family: var(--titulos); }
.guia { margin-top: 2rem; padding: 1.6rem; border-radius: var(--radio); background: var(--papel-2); }
.guia__lista { display: grid; gap: .4rem; }
.guia__lista li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .8rem; align-items: center; padding: .55rem 0; border-bottom: 1px dashed var(--linea); }
.guia__lista .ico { color: var(--rojo); }
.guia__lista a { font-weight: 700; color: var(--asfalto); }
@media (max-width: 600px) {
  .guia__lista li { grid-template-columns: 1fr; gap: .1rem; }
  .guia__lista .ico { display: none; }
}
.cursos-lista { display: grid; gap: 2rem; }
.curso { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.4rem, 3.5vw, 2.8rem); border-radius: 26px; background: #fff; border: 1px solid var(--linea); scroll-margin-top: 100px; }
.curso:nth-child(even) .curso__foto { order: -1; }
.curso__cabeza { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.curso__cabeza h2 { margin: 0 0 .2rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.curso__cabeza .senal { width: 64px; height: 64px; flex: none; }
.curso__para { padding: .8rem 1rem; border-left: 5px solid var(--amarillo); background: var(--papel); border-radius: 0 10px 10px 0; }
.curso h3 { margin-top: 1.5rem; font-size: 1.1rem; }
.curso .lista-ok { margin-top: .6rem; }
.curso__nota { display: flex; gap: .55em; align-items: flex-start; font-size: .95rem; color: var(--gris); }
.curso__nota .ico { margin-top: .2em; color: var(--rojo); }
.curso__foto { margin: 0; }
.curso__foto img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: var(--radio); }
.curso__foto picture { height: 100%; }
@media (max-width: 900px) {
  .curso { grid-template-columns: minmax(0, 1fr); }
  .curso__cabeza .senal { width: 52px; height: 52px; }
  .curso__foto, .curso:nth-child(even) .curso__foto { order: -1; }
  .curso__foto img { aspect-ratio: 16 / 9; min-height: 0; }
}

/* método */
.metodo { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.pasos { display: grid; gap: 1.2rem; }
.paso { display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem; padding: 1.4rem; border-radius: var(--radio); background: #fff; border: 1px solid var(--linea); }
.paso__num { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--asfalto); color: var(--amarillo); font: 800 1.7rem/1 var(--titulos); border: 4px dashed var(--amarillo); }
.paso p { margin: 0; color: var(--gris); }
.metodo__lado { position: sticky; top: 100px; display: grid; gap: 1.2rem; }
.metodo__lado figure { margin: 0; }
.metodo__lado img { border-radius: var(--radio); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nota { display: flex; gap: .8rem; padding: 1.2rem; border-radius: var(--radio); background: var(--amarillo-claro); }
.nota .ico { width: 28px; height: 28px; color: var(--verde); }
.nota p { margin: 0; }
@media (max-width: 900px) {
  .metodo { grid-template-columns: 1fr; }
  .metodo__lado { position: static; }
  .paso { grid-template-columns: 48px 1fr; gap: .9rem; padding: 1.1rem; }
  .paso__num { width: 48px; height: 48px; font-size: 1.3rem; }
}
.tarjetas-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: t; }
.tarjetas-4 li { padding: 1.5rem; border-radius: var(--radio); background: #fff; border-top: 6px solid var(--amarillo); }
.tarjetas-4 li::before { counter-increment: t; content: "0" counter(t); display: block; font: 800 .9rem/1 var(--titulos); color: var(--rojo); margin-bottom: .8rem; }
.tarjetas-4 p { margin: 0; color: var(--gris); font-size: .98rem; }
.tarjetas-4--oscuras li { background: var(--asfalto-2); }
.tarjetas-4--oscuras p { color: var(--claro-2); }
@media (max-width: 1000px) { .tarjetas-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tarjetas-4 { grid-template-columns: 1fr; } }

/* contacto */
.contacto-tarjetas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.contacto-tarjetas li { padding: 1.6rem; border-radius: var(--radio); background: #fff; border: 1px solid var(--linea); display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.contacto-tarjetas a { font-weight: 700; color: var(--asfalto); }
.contacto-tarjetas p { margin: 0; color: var(--gris); }
.tc__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--amarillo); color: var(--asfalto); margin-bottom: .8rem; }
@media (max-width: 1000px) { .contacto-tarjetas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contacto-tarjetas { grid-template-columns: 1fr; } }
.plano { margin: 0; }
.plano svg { width: 100%; border-radius: var(--radio); box-shadow: var(--sombra); }
.plano figcaption { font-size: .85rem; color: var(--gris); margin-top: .6rem; }

/* formulario */
.inscripcion { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 960px) { .inscripcion { grid-template-columns: 1fr; } .inscripcion__lado .tarjeta-contacto { position: static; } }
.formulario { padding: clamp(1.3rem, 3.5vw, 2.6rem); border-radius: 26px; background: #fff; border: 1px solid var(--linea); min-width: 0; }
fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; min-width: 0; }
legend { font: 750 1.4rem/1.2 var(--titulos); color: var(--asfalto); margin-bottom: 1rem; padding: 0; }
.campo { margin-bottom: 1.2rem; min-width: 0; }
.campo label, .campo__titulo { display: block; font-weight: 700; margin: 0 0 .4rem; }
.campo i, .casilla i { color: var(--rojo); font-style: normal; }
.opcional { font-weight: 400; color: var(--gris); }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; min-height: 50px; padding: .7rem .95rem; border: 2px solid var(--linea); border-radius: 12px; background: var(--papel); font: inherit; color: var(--tinta); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--asfalto); outline: none; box-shadow: 0 0 0 4px var(--amarillo-claro); }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 620px) { .dos { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .55rem 1rem; border-radius: 999px; border: 2px solid var(--linea); background: var(--papel); font-weight: 600; }
.chip input:checked + span { background: var(--asfalto); border-color: var(--asfalto); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--amarillo); outline-offset: 2px; }
.casilla { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; margin: .4rem 0 1rem; }
.casilla input { width: 22px; height: 22px; margin: .15em 0 0; flex: none; accent-color: var(--asfalto); }
.campo__error { display: none; margin: .4rem 0 0; color: var(--rojo); font-weight: 600; font-size: .92rem; }
.mal .campo__error { display: block; }
.mal input:not([type=checkbox]):not([type=radio]), .mal select { border-color: var(--rojo); background: #fff5f4; }
.mal .chip span { border-color: var(--rojo); }
.formulario__aviso { padding: .8rem 1rem; border-radius: 10px; background: #fde7e5; color: #8f1d14; font-weight: 600; }
.formulario__nota { font-size: .9rem; color: var(--gris); margin: 1rem 0 0; }
.formulario .btn[disabled] { opacity: .6; }
.inscripcion__lado { display: grid; gap: 1.5rem; }
.mini-pasos { display: grid; gap: 1rem; counter-reset: mp; }
.mini-pasos li { position: relative; padding-left: 3.2rem; color: var(--gris); }
.mini-pasos li::before { counter-increment: mp; content: counter(mp); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--amarillo); color: var(--asfalto); font: 800 1.1rem/1 var(--titulos); }
.mini-pasos b { display: block; color: var(--asfalto); }
.mini-pasos--fila { grid-template-columns: repeat(3, 1fr); text-align: left; margin: 2rem 0; }
@media (max-width: 700px) { .mini-pasos--fila { grid-template-columns: 1fr; } }

/* gracias y 404 */
.gracias { padding: clamp(3rem, 8vw, 6rem) 0; background: radial-gradient(700px 360px at 50% 0, var(--amarillo-claro), transparent 70%); }
.gracias__caja { max-width: 820px; text-align: center; }
.gracias__caja .etiqueta { justify-content: center; }
.gracias__senal { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 1.6rem; border-radius: 22px; background: var(--verde); color: #fff; transform: rotate(45deg); box-shadow: var(--sombra); }
.gracias__senal .ico { width: 46px; height: 46px; transform: rotate(-45deg); stroke-width: 3; }
.gracias__txt { font-size: 1.15rem; color: var(--tinta); }
.gracias__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 1.5rem; }
.resumen { text-align: left; margin: 2rem auto; padding: 1.5rem; border-radius: var(--radio); background: #fff; border: 1px solid var(--linea); }
.resumen dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .5rem 1.2rem; margin: 0; }
.resumen dt { font-weight: 700; color: var(--asfalto); }
.resumen dd { margin: 0; color: var(--tinta); overflow-wrap: anywhere; }
@media (max-width: 480px) { .resumen dl { grid-template-columns: 1fr; gap: .1rem; } .resumen dd { margin-bottom: .6rem; } }
.aviso-local { display: flex; gap: .7rem; align-items: flex-start; text-align: left; padding: 1rem 1.2rem; border-radius: 12px; background: var(--amarillo-claro); }
.aviso-local .ico { margin-top: .2em; }
.aviso-local a { font-weight: 700; }
.senal-alto { display: grid; place-items: center; width: 150px; height: 150px; margin: 0 auto 1.8rem; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); background: var(--rojo); color: #fff; font: 800 2.6rem/1 var(--titulos); }

/* documentos legales */
.documento { overflow-wrap: anywhere; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 3rem; align-items: start; }
.documento__indice { position: sticky; top: 100px; padding: 1.3rem; border-radius: var(--radio); background: var(--papel-2); font-size: .94rem; }
.documento__indice ol { display: grid; gap: .45rem; list-style: decimal; padding-left: 1.2rem; }
.documento__indice a { text-decoration: none; }
.documento__indice a:hover { text-decoration: underline; }
.documento__texto { max-width: 760px; }
.documento__texto section { scroll-margin-top: 100px; margin-bottom: 2.2rem; }
.documento__texto h2 { font-size: 1.45rem; }
.documento__texto ul { display: grid; gap: .4rem; margin: 0 0 1em; }
.documento__texto li { position: relative; padding-left: 1.4rem; }
.documento__texto li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; background: var(--amarillo); transform: rotate(45deg); }
@media (max-width: 860px) { .documento { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } .documento__indice { position: static; } }

/* pie */
.pie { background: var(--asfalto); color: var(--claro-2); font-size: .96rem; }
.pie__carril { height: 12px; background: repeating-linear-gradient(90deg, var(--amarillo) 0 60px, var(--asfalto-2) 60px 92px); }
.pie__rejilla { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2.2rem; padding-block: 3.5rem 2.5rem; }
.pie__marca p { margin: 1rem 0 0; max-width: 26em; }
.pie__redes b { color: #fff; }
.pie__titulo { font: 700 .82rem/1 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--amarillo); margin: 0 0 1.1rem; }
.pie ul { display: grid; gap: .55rem; }
.pie a { text-decoration: none; }
.pie a:hover { color: #fff; text-decoration: underline; }
.pie__contacto li, .pie__contacto a { display: flex; gap: .55em; align-items: flex-start; }
.pie__contacto .ico { margin-top: .25em; color: var(--amarillo); }
.pie__contacto span { min-width: 0; }
.pie__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.4rem 2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.pie__legal p { margin: 0; }
.pie__legal ul { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.pie__legal .enlace:hover { color: #fff; }
@media (max-width: 1000px) { .pie__rejilla { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pie__rejilla { grid-template-columns: 1fr; } }
body.con-aviso .pie { padding-bottom: 150px; }

/* aviso de cookies */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; padding: 1.1rem 3.6rem 1.1rem 1.3rem; border-radius: 20px; background: #fff; border: 2px solid var(--asfalto); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
.cookies[hidden] { display: none; }
.cookies .x { position: absolute; top: 10px; right: 10px; }
.cookies__txt { display: flex; gap: .8rem; align-items: center; flex: 1 1 300px; }
.cookies__txt p { margin: 0; font-size: .95rem; }
.cookies__ico { width: 34px; height: 34px; color: #b77b00; }
.cookies__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 480px) { .cookies { left: 10px; right: 10px; bottom: 10px; padding-right: 1.2rem; } .cookies__txt { padding-right: 2.4rem; } .cookies__ico { display: none; } }

/* diálogo */
.dialogo { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: var(--papel); color: var(--tinta); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.dialogo::backdrop { background: rgba(0, 0, 0, .6); }
.dialogo__caja { position: relative; padding: 1.8rem clamp(1.2rem, 4vw, 2rem); }
.dialogo__caja > .x { position: absolute; top: 14px; right: 14px; }
.dialogo h2 { font-size: 1.6rem; padding-right: 3rem; }
.opciones { display: grid; gap: .7rem; margin: 1.2rem 0 1.5rem; }
.opciones label { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--linea); cursor: pointer; }
.opciones input { width: 22px; height: 22px; margin: .1em 0 0; flex: none; accent-color: var(--verde); }
.opciones small { display: block; color: var(--gris); font-size: .88rem; }
.dialogo__btns { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: flex-end; }
@media (max-width: 420px) { .dialogo__btns .btn { width: 100%; } }

/* ================= v2: elementos del sitio original ================= */
.marca__logo { height: 52px; width: auto; }
.marca--chica .marca__logo { height: 40px; }
.marca--clara .marca__logo { height: 84px; }
@media (max-width: 400px) { .marca__logo { height: 42px; } }
.franja__cel { }
@media (max-width: 760px) { .franja__cel { display: none !important; } }
.ico-sitio { width: 56px; height: 56px; object-fit: contain; }
.btn--negro { background: var(--asfalto); color: #fff; box-shadow: 0 6px 0 -1px var(--amarillo); }
.btn--negro:hover { box-shadow: 0 8px 0 -1px var(--amarillo); }
.etiqueta--oscura { color: var(--asfalto); }
.etiqueta--oscura::before { background: repeating-linear-gradient(90deg, var(--asfalto) 0 8px, transparent 8px 12px); }
.seccion--gris { background: var(--papel-2); }
.seccion--gris-2 { background: var(--papel-3); }
.seccion--negra { background: var(--asfalto); color: var(--claro); }
.seccion--negra h2 { color: #fff; }
.seccion--negra p { color: var(--claro-2); }
.seccion--amarilla { background: var(--amarillo); }
.seccion--amarilla .titular > p { color: var(--asfalto); }
.heroe { background: radial-gradient(900px 420px at 100% 0, var(--amarillo-claro), transparent 70%); }

/* intro con el auto */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.intro__foto { margin: 0; }
.intro__foto img { width: 100%; height: auto; }
.intro p { color: var(--tinta); }
@media (max-width: 900px) { .intro { grid-template-columns: minmax(0, 1fr); } }

/* cursos destacados */
.destacados { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.destacado { display: flex; flex-direction: column; align-items: flex-start; padding: 1.6rem; border-radius: var(--radio); background: #fff; border-top: 8px solid var(--amarillo); }
.destacado__foto { width: 150px; margin-bottom: 1.1rem; border-radius: 50%; padding: 6px; background: var(--amarillo); }
.destacado__foto img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.destacado__sub { margin: 0 0 .3rem; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rojo); }
.destacado p:not(.destacado__sub) { color: var(--gris); }
.destacado .btn { margin-top: auto; }
@media (max-width: 900px) { .destacados { grid-template-columns: minmax(0, 1fr); } .destacado { flex-direction: column; } }

/* trámite de licencia */
.tramite { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tramite__foto { margin: 0; }
.tramite__foto img { width: 100%; height: auto; border-radius: var(--radio); }
@media (max-width: 900px) { .tramite { grid-template-columns: minmax(0, 1fr); } }

/* ventajas */
.ventajas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.ventaja { padding: 1.6rem 1.4rem; border-radius: var(--radio); background: var(--asfalto); color: var(--claro); }
.ventaja h3 { color: #fff; margin-top: 1rem; }
.ventaja p { margin: 0; color: var(--claro-2); font-size: .97rem; }
.ventaja__ico { width: 64px; height: 64px; object-fit: contain; }
@media (max-width: 1000px) { .ventajas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ventajas { grid-template-columns: minmax(0, 1fr); } }

/* reseñas */
.resenas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.resena { position: relative; display: block; border-radius: var(--radio); overflow: hidden; background: #fff; box-shadow: var(--sombra); }
.resena img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.resena:hover img { transform: scale(1.03); }
.resena__lupa { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--amarillo); color: var(--asfalto); }
@media (max-width: 900px) { .resenas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.visor__fig img { background: #fff; }

/* pasos */
.pasos4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.paso4 { position: relative; padding: 1.6rem 1.4rem; border-radius: var(--radio); background: #fff; border: 1px solid var(--linea); }
.paso4__ico { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--amarillo); margin-bottom: 1rem; }
.paso4__ico img { width: 48px; height: 48px; object-fit: contain; }
.paso4__n { display: block; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rojo); margin-bottom: .3rem; }
.paso4 p { margin: 0; color: var(--gris); font-size: .97rem; }
.pasos4--linea .paso4 { border-top: 8px solid var(--asfalto); }
@media (max-width: 1000px) { .pasos4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pasos4 { grid-template-columns: minmax(0, 1fr); } }

/* página de cursos */
.seguridad { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.seguridad figure { margin: 0; }
.seguridad img { width: 100%; height: auto; }
@media (max-width: 900px) { .seguridad { grid-template-columns: minmax(0, 1fr); } }
.indice-cursos a { padding: .55rem 1.1rem; }
.grupos { display: grid; gap: clamp(3rem, 6vw, 4.5rem); }
.grupo { scroll-margin-top: 100px; }
.grupo__cabeza { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 1.6rem; align-items: center; margin-bottom: 1.6rem; }
.grupo__cabeza h2 { margin-bottom: .3rem; }
.grupo__cabeza p:last-child { color: var(--gris); margin: 0; max-width: 46em; }
.grupo__foto { border-radius: 50%; padding: 6px; background: var(--amarillo); }
.grupo__foto img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
@media (max-width: 600px) { .grupo__cabeza { grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; } }
.cursos-rejilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.cursos-rejilla .curso { display: flex; flex-direction: column; grid-template-columns: none; gap: 0; padding: 1.5rem; border-radius: var(--radio); background: #fff; border: 1px solid var(--linea); border-top: 8px solid var(--amarillo); }
.cursos-rejilla .curso__cabeza { display: flex; gap: .9rem; align-items: center; margin-bottom: .9rem; }
.curso__horas { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 14px; background: var(--asfalto); color: var(--amarillo); font: 800 1.15rem/1 var(--titulos); }
.cursos-rejilla h3 { margin: 0 0 .2rem; font-size: 1.2rem; }
.curso__dur { display: flex; align-items: center; gap: .35em; margin: 0; font-size: .9rem; color: var(--gris); font-weight: 600; }
.cursos-rejilla .curso__para { font-size: .95rem; }
.cursos-rejilla .curso > p { color: var(--tinta); }
.lista-ok--chica { margin: .4rem 0 1rem; gap: .4rem; font-size: .95rem; }
.curso__frase { font-weight: 800; color: var(--asfalto); font-family: var(--titulos); margin-top: auto; }
.cursos-rejilla .btn { align-self: flex-start; }
@media (max-width: 1000px) { .cursos-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cursos-rejilla { grid-template-columns: minmax(0, 1fr); } }

/* portadilla negra */
.portadilla { background: var(--asfalto); }
.portadilla__txt { color: var(--claro-2); }

/* dúo con imágenes del sitio */
.duo__foto--banner img { aspect-ratio: auto; height: auto; }
.duo__foto--recorte img { aspect-ratio: auto; height: auto; box-shadow: none; border-radius: 0; max-width: 460px; margin-inline: auto; }
.duo__foto--recorte::after { display: none; }
.banner { margin: 0; }
.banner img { width: 100%; height: auto; border-radius: var(--radio); }

/* misión */
.mision { position: relative; overflow: hidden; background: var(--asfalto); color: var(--claro); }
.mision__fondo { position: absolute; inset: 0; }
.mision__fondo picture, .mision__fondo img { width: 100%; height: 100%; object-fit: cover; }
.mision__fondo::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 10, .82); }
.mision__caja { position: relative; }
.mision__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.mision__lista li { padding: 1.6rem; border-radius: var(--radio); border: 2px solid var(--amarillo); background: rgba(0, 0, 0, .35); }
.mision__lista h3 { color: var(--amarillo); margin-top: 1rem; }
.mision__lista p { margin: 0; color: var(--claro); }
.mision__ico { width: 60px; height: 60px; object-fit: contain; }
@media (max-width: 900px) { .mision__lista { grid-template-columns: minmax(0, 1fr); } }

/* tarjeta de contacto con asesora */
.tarjeta-contacto__foto { width: 96px; border-radius: 50%; overflow: hidden; background: var(--amarillo); }
.tarjeta-contacto__foto img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.contacto-tarjetas p + p { margin-top: .4rem; }

/* pie con carretera */
.pie__carretera { height: clamp(70px, 12vw, 150px); background: var(--asfalto) url("../img/carretera-1920.webp") center 40% / cover no-repeat; border-top: 6px solid var(--amarillo); }
.pie__carril { display: none; }

.grupo--uno { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.grupo--uno .grupo__cabeza { grid-template-columns: minmax(0, 1fr); }
.grupo--uno .grupo__foto { width: 200px; }
.grupo--uno .cursos-rejilla { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 800px) { .grupo--uno { grid-template-columns: minmax(0, 1fr); gap: 0; } .grupo--uno .grupo__cabeza { grid-template-columns: 96px minmax(0, 1fr); } .grupo--uno .grupo__foto { width: auto; } }
.marca__logo { height: 60px; }
.pie__contacto { font-size: .92rem; }
.pie__contacto .romper { overflow-wrap: anywhere; word-break: normal; }

.heroe__rejilla > * { min-width: 0; }
.etiqueta { max-width: 100%; flex-wrap: wrap; }

.subrayado { white-space: normal; background: linear-gradient(transparent 68%, var(--amarillo) 68% 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.subrayado::after { display: none; }
